Follow Slashdot stories on Twitter


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:Perhaps a better method... (Score 1) 498

That's an eye chart. Asking someone to catch the greater than sign instead of a less than sign on paper in an interview is a downright nasty question. Of course people get tripped up on it. If it didn't catch my glance, I'd get tripped up on it and I've been programming for 30 years.

If you want to see how someone thinks through a problem, either give them a computer and watch or instruct them to "tell me what you'd do next to try to figure this out. I'll respond with the result you get each time you try."

Here's a better softball for computer science grads:

Your friend writes a program which receives messages. It adds each new message to a sorted array of messages. When a message is retrieved, it does a binary search on the sorted list to find the message.

What's wrong with this solution?

The candidate should be able to recognize that his "friend" has reinvented insertion sort and should be able to explain that the algorithm has a "big-oh" running time of O(n^2).

Comment noscript (Score 1) 1

Also, some of us surf with noscript. If you depend on javascript to load your advertisement, we won't see it. Not because we're trying to avoid your advertisement, we just don't trust your code.

Comment Re:Recursion is dead! (Score 1) 600

I've been coding in C professionally for a quarter of a century now. I still haven't run in to a situation where I thought, "Wow, that guy's use of goto makes things so much cleaner." Run in to plenty where I thought, "WTF is going on here?"

Goto breaks the pattern for control flow through a program. When you need to debug the program, goto makes it needlessly hard to figure out how you reached that piece of code.

And frankly, if you can't write a clean, efficient program without goto, you're not very good at programming.

Comment Re:Not a problem for satirists (Score 5, Interesting) 333

As the satirist who runs, I disagree. Satire has to be something that seems in character with what's happening but definitely wouldn't actually happen. If it's not in character, it's not funny. If there's a realistic chance it could happen, it's scary not funny.

Trump makes it really hard to find that sweet spot where it's something amusing you could actually see Trump doing yet definitely not something Trump will end up doing next week.

Comment Re:Firefox is slow and bloated. (Score 1) 352

I never have allowed the flash plugin to be installed in Firefox and I surf with Noscript so javascript only runs on sites where I accept it. My firefox is perfectly fast until it slams into a wall and is 100% unresponsive for several minutes. I don't mean slow. I mean does not respond to user input at all.

Comment Firefox is slow and bloated. (Score 1, Offtopic) 352

I don't run any antivirus software on my PC. I still have to kill firefox a couple times a day because it's "not responding" for five minutes or more doing some kind of background task across the 3 gigs of ram it's consuming.

You're not wrong about Antivirus software (your reasons are precisely why I don't have any installed) but that's no excuse for Firefox's poor code quality.

Comment Company Store (Score 1) 726

The only thing that concerned me in the article is that Uber is leasing the car. Uber should not be running a company store. That creates debt slavery.

If the self-employed want to get a jump on their competition by sleeping in their cars, that's their choice. If you don't want the low-skill self-employed life where you work your tail off, work a low-skill 9 to 5 job instead.

Slashdot Top Deals

I consider a new device or technology to have been culturally accepted when it has been used to commit a murder. -- M. Gallaher