Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Comment: Re:Since encryption is the topic (Score 1) 261

by pesc (#38146346) Attached to: Of all my locally stored data, I encrypt ...

Doesn't OS X have any filesystem-level encryption like ecryptfs or encfs on Linux? Seems like a weird oversight.

Yes it does and it is built in. But it is not supported for the boot partition.

As the parent to your post said, you can easily create encrypted disk images that grow as they are used which you can mount by double-clicking on it. OS X will then ask for the key before the image is mounted.

Comment: Re:GOTO... (Score 1) 394

by pesc (#34474742) Attached to: Programming Mistakes To Avoid

There's nothing wrong with goto.

Correct. It is the labels that mess things up.

{ // long, long code //
a = 1;
b = 2;
return a*b;

When reading code, the label messes up what you know about the state of the program. What are we returning here? You have to scan the entire function and find the gotos to know.

Comment: Re:SSDs - when will TRIM come to OSX (Score 1) 356

by pesc (#34356756) Attached to: New MacBook Pros To Sport Light Peak Technology

Please mod the parent up!

The referenced article says nothing since they never did a proper reset on the SSD.

Of course OS X needs TRIM. Unfortunately, I don't know of any way to reset an SSD on a Mac. You have to remove the drive and put it in a Linux or Windows machine to reset it properly.

Comment: Because people suck at math (Score 1) 1140

by pesc (#33811740) Attached to: Why Are We Losing Vertical Pixels?

Most people believe that a widescreen 20" monitor gives you "more/better screen" than a "non--widescreen" 20" monitor.

The opposite is true. The 20" measurement is the diagonal of the screen. You get the largest area when the height/width is equal.
The more you increase the width (and reduce the height), the smaller area you get.

The manufacturers benefit because they can sell a 20" screen with less pixels and make it sound more desirable.

Think of a circle where the radius is the screen size...

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (2) Thank you for your generous donation, Mr. Wirth.