Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:How do I buy a laptop without preloaded crap? (Score 1) 266

by spitzak (#49096689) Attached to: Lenovo To Wipe Superfish Off PCs

Assuming you want Windows (and not Apple or Linux or BSD or any of a bunch of other suggestions people will make)

From previous statements it sounds like buying the much more expensive "business model" will get this. You may have to do a bulk purchase of dozens of them.

Another suggestion was to buy a system at a Microsoft store. They do have an interest in making Windows not suck.

Comment: Re:Browser Makers Should Get The Message (Score 1) 353

by spitzak (#49081805) Attached to: Ask Slashdot: Most Useful Browser Extensions?

Because they want a reliable way to return to the previous page. If you use the new tab a lot there will be a huge number of history items you would have to back up over to go back to the original page.

I prefer opening the new tab in back, however. I probably want to keep reading the page I clicked.

I seem to remember earlier Android browser having two items on the pop-up, one for a foreground tab and another for a background tab. Either my memory is faulty or this was removed a few years ago.

Comment: Re:What's Unique To Goto? (Score 2) 677

by vadim_t (#49039873) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"

Error handling with multiple instances of allocation.

Eg, something like:

char *buf1 = malloc(...);
if (!buf1) goto abort1;

char *buf2 = malloc(...);
if (!buf1) goto abort2;

char *buf3 = malloc(...);
if (!buf1) goto abort3;

return;

abort3:
free(buf2);
abort2:
free(buf1);
abort1:
return;

Also, bailing out of multiple nested loops.

Comment: Re:Whatever you're used to seems simple (Score 1) 716

by spitzak (#49032567) Attached to: Is Modern Linux Becoming Too Complex?

That's a nice excuse for /usr/bin but it is not true. /usr was intended to be user-owned directories, and all the commands a user was expected to type would reside in /bin (and .). Early AT&T Unix systems had multiple disks and made "/usr" be the "big" one, since they mistakenly thought that documents and things users worked on would be far larger than the system. Then what happened is the system disk filled up as more and more commands were added, and they needed space to put more commands, and since $PATH meant the "/bin" was not hard-coded in most places so it was easy to search other directories, and the lack of symbolic links or union mounts at the time meant the only way to put something on the /usr disk was to make it a directory under /usr, they added /usr/bin and started populating that. Eventually this also happened with libraries and /usr/lib was added.

Some people then started the excuse that /bin was for "system binaries" as opposed to "user binaries" but the distinction was pretty random. Not only that, /bin eventually filled up with "system binaries" and they had to add /usr/sbin!

Eventually so much stuff was put in /usr that people stopped putting home directories there. A different directory allowed them to be on a different disk than the system which was now about 90% under /usr/bin and /usr/lib. Almost everybody used $HOME rather than any hard-coded values so this was possible to change. First /users was the new directory but this was changed to /home more recently).

Comment: Re:Give me a break (Score 1) 146

by spitzak (#49031835) Attached to: Building the Developer's Dream Keyboard

Actually the behavior of Home/End is one of the few things that still varies between Mac and PC and between various PC apps. Some have them move to the end of the line, some to the end of the document. A few that move to the end of the line move to the end of the document when you press them a second time.

Dreams are free, but you get soaked on the connect time.

Working...