Follow Slashdot stories on Twitter


Forgot your password?

Comment Re:Kodak vs Instagram? Really? (Score 1) 754

I would fully expect to be working for the company that's building the software development machines, mostly since that's what I already do.

I do take your point, but the problem is that there are lots of people with non-transferable skills because they're not really skills. That's generally not true in any field that actually requires an education. (And no, business school and anthropology do not count as an education.)

Comment Re:Kodak vs Instagram? Really? (Score 4, Interesting) 754

I highly doubt displaced, former foundry workers, who spent the last 30 years mastering the art of steel production, would give a flying fuck that Samsung opened a new facility where they used to work and is now hiring software engineers.

Amusingly, I used to work in a foundry and I'm currently a software developer. (Employer keeps trying to call me an engineer, but I call it alchemy.)

I think you over estimate the time or skill required to master steel production. You could have a high-schooler trained to do it inside a year.

Such a shame that the American people allow the university (and medical) systems to hold them hostage instead of allowing the whole country to move into the 20th century.

Comment Re:Regular Expressions (Score 1) 598

This means that it only is useful if you can solve the problem faster by writing it with regular expressions than you can with whatever language you are using it form.

In my experience there is something close to a 10/1 ratio between gratuitous pointless uses of regular expressions and effective useful ones.

My favorite abuse case is where no real wildcarding is done and all they really want to know is, "does this string contain this substring". I find extreme cases in bad perl.

I found a build script that was attempting to prepare localization templates, it would build a regular expression for each variable it was trying to replace (with no real wildcarding of course) and then evaluate each line in the template with every expression. Since the number of lines in the template were directly proportional to the number of variables this was n^2 evaluations.

I replaced this with a simple linear approach where a look up table with all the translations are read into a lookup table in memory and each line of the template can be scanned character by character.

The resulting script went from O(n^2) with regular expressions to O(n) with simple character comparisons, our problem input went from 20 minutes to process to less than a second, 1200 times faster.

Regular expressions are very powerful, but they are no substitute for thinking or datastructures or algorithms.

Don't teach new programmers regular expressions, teach them to think. Teach them how to analyse algorithms. Teach them how to build datastructures.

Then, once you've done all that, then you can teach them regular expressions, but make sure they know what they're doing. (And it won't work, they'll immediately start abusing them, happens every time.)

Comment Re:Thus: (Score 1) 237

Why Apple's CEO? The Samsung Wrist Phone...

Are you kidding? I'm guessing the conversation around the bong was more along the lines of:

".... so dude... we managed to convince our competitors, the pundits and the market that we'd make a stupid fucking watch right?"


"... I know right ... and now Samsung have actually tried to compete with the damn thing .."

*more giggles* *at least one board member falls off his chair*

"... oh man ... I can't wait to retire and write this up... they'll never believe this shit..."

Comment Re:There is a Fix for This (Score 1) 237

Ah if only I had not already commented on this...

So I'll point out that step 4) should include a cover letter that clearly documents your actions in 1), 2) & 3)

Step 5) would be to document the above and any responses from NVIDIA somewhere in public on the web.

No profit here, but much satisfaction from righteous indignation.

Slashdot Top Deals

The universe is an island, surrounded by whatever it is that surrounds universes.