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

 



Forgot your password?
typodupeerror
×

Comment Re:You're weak (Score 1) 15

Actually, the problem with Beck is twofold: One, his program is in the 9-12 slot for me, and I'm a late starter.

More importantly though, at some point after Fox kicked him to the curb he retooled his show into something more "Morning Zoo"-esque, and it's just not the same. Man's lost his park.

Comment Re:Use recursion when the problem is recursive (Score 1) 252

Yes, they did.

In another job interview I was asked to write a program to generate prime numbers. I clarified a couple of requirements ("is memory usage an issue?"), and implemented the Sieve of Eratosthenes. It works, you know why it works, any idiot can read the code and understand it, and if testing shows you need something better (in some sense), you know where to start.

...laura

Comment Use recursion when the problem is recursive (Score 1) 252

Regardless of the final implementation, there are problems where the simplest, clearest solution is a recursive one. You type it in to the computer as fast as you can type, it compiles and runs correctly the first time, and then, if you need to change it, you have a place to start.

On a job interview some years ago I was asked to write C code to reverse a string. I wrote it recursively: interchange the first and last elements, then reverse what's inside.

They liked my creativity. I got the job. :-)

...laura

User Journal

Journal Journal: Hunh 12

There's a joke that's been circulating in liberal circles for the past few years that posits that Obama should come out publicly in favour of some kind of basic but necessary human activity, such as breathing or eating, the punchline being that Republicans will then immediately come against it and suffer the obvious consequences.

So, over the weekend, Obama came out strongly in favour of getting your kids vaccinated.

Comment Re:Painted target (Score 5, Insightful) 127

I know the article says that these companies can't afford to ignore china

Well, big companies, like MS, Apple, Oracle, etc.

When you run a small (or more local) business, one of the nice things is being able to avoid certain markets and customers. In fact, unless your future growth (and corresponding funding) aren't a lock, you have to avoid them because all they'll do is destroy your business.

So if the big boys have to jump through ridiculous hoops in order to keep those profit margins sky-high, fuck 'em. That's how the game works.

Comment ST:TNG (Score 1) 480

Star Trek: The Next Generation was generally well-done, with interesting charcerters and only a few clunker episodes.

I found Deep Space 9 an interesting concept let down by unimaginative writing.

I found Voyager unwatchable. Janeway came across as an affirmative action bureaucrat. A Captain is a monarch, not a bureaucrat. Patrick Stewart had played Shakespearean kings, and played Picard the same way. It worked. What Janeway needed was a good desk.

Sliders was a really interesting premise that ran out of steam. The same story every week. Yawn.

The X Files also started out well and also ran out of steam, descending in to torture porn.

Didn't watch any of the others, so no comment.

...laura

Slashdot Top Deals

interlard - vt., to intersperse; diversify -- Webster's New World Dictionary Of The American Language

Working...