Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:I like it (Score 1) 683

Precisely! Let me elaborate a bit on that. Danny Goodman said in his JavaScript book waaaay back before 2000 something like: "Test for features not version numbers."

The way PhrstBrn says it seems more like client side web-page scripting. For instance, peeking at the various members of the `event` object, see what exists.

This can also apply to plug-in type dev though. For example, when doing QueryInterface('ABDSFJSDLFJ234JOI4JF24J'), DO NOT just trust that you got a valid object back, based on the fact that you required a specific version of Firefox and that version declares "ABDSFJSDLFJ234JOI4JF24J". Instead, look at the value returned, see if it conforms to what you expect (without causing JS errors while doing so), and take appropriate steps if not (disable your plugin or just the feature that requires that interface).

Comment Re:Evolving to FPGA (Score 1) 499

Yeah I was going to post something similar. You don't get to just build an MPEG 4 decoder in an FPGA and "voila, instant hardware decoder". The biggest FPGAs only have a few million or so gates, it wouldn't fit and would have to be still mostly driven by software. You'd put the most CPU intensive pieces into the FPGA and do the rest through the step / instruction cycles of a processor.

I'd actually argue that NVidia type coprocessors are much more appropriate for the types of tasks you mention. They have multiple concurrent pipelines, access to hardware multipliers and are readily configurable by shader language, OpenCL, CUDA, etc.

You could of course build something similar inside an FPGA, but on an NV we're talking billions of gates. The FPGA would be much smaller, maybe you'd fit one programmable pipeline.

FPGAs are great for prototyping but nothing compares to what you can lay down manually on silicon.

Comment Been doing the lessons (Score 1) 240

Love the math curriculum, great fun. I did about 10 years of school math in 2 days. No wonder I hated math in school, it moved glacially slowly! Having so much packed into such a small time frame has been a great refresher course, and Khan rewards me with points and achievements. Holy cow, learning doesn't have to be painful! Who knew!?

Comment I'd pay $30 for streaming (Score 1) 722

... IF Netflix had at least same selection as the old video stores. Their current movie selection is terrible. Battle Los Angeles comes out on DVD, and so Battle of Los Angeles comes out on Netflix. This happens *often*, crappy rip-off D grade movies appear on streaming and the good stuff is available only on useless pieces of plastic.

It makes zero sense to me that the industry is hanging on so tooth-and-nail (vending machines? seriously?!) to the model of renting out physical media. If the movie worth the extra quality of having a good copy (e.g. LoTR), I WILL buy a DVD from amazon.

Renting plastic is an idea whose time has come and gone. The video stores all died but nothing has replaced them. No wonder piracy is reaching record levels...

Comment Re:The only "nasty consequences" require courage (Score 1) 932

Oh yeah! The failed economic policies of yesteryear. Great. Thanks.

Need more taxpayers - yeah right. You claim there's no class warfare but then plainly state that you think the middle class should pay.

AND STOP SAYING WE WANT TO INCREASE TAXES. All that needs to happen is that the Bush tax cuts that should have expired long ago, SHOULD ACTUALLY EXPIRE.

We don't want to raise the taxes you twonk, we JUST WANT THEM BACK AT REASONABLE LEVELS.

Comment Re:Plot? (Score 1) 244

Heh that's pretty funny but I'd be happy if Hollywood could put out movies with a plot anywhere near that good. Even with Card's freaky stance on copyright and his religious proselytizing, he did manage to write a couple good books there.

Thinking about it though, after the third one in the series though it does start to go downhill fast. I wonder if Card himself has Hollywood-itis, the tendency to beat a dead horse until money stops falling out.

Comment Plot! (Score 2) 244

4 regular old marines that have more personality than most military types you meet - the black guy, the hispanic guy, generic WASP white guy and butch (but still cute and wears lipstick) lesbian girl - are sent new orders to show up to a secret base. In the secret base there's fancy new laser beam weapons that the marines are going to have to learn (queue montage).

But wait! Evil Liam Neeson has made a deal with the aliens and sold out our greatest secret! The fact that we start to suck at shooting things when the targets move faster.

Suddenly there's alien spaceships in the sky! Oh no, and they start moving faster and faster! So fast in fact that you can't actually see what's happening on the screen! How did they know our greatest weakness (DAMN YOU LIAM NEESON). The hispanic guy gets wounded, then the black guy dies. The white guy saves the day (by finishing the level) and the lesbian goes straight and marries the white guy. The hispanic guy is the best man at their wedding.

The end.

Comment Re:Oh thank goodness... (Score 1) 188

I think that's overly simplistic

Pussies think everyone can get along and dicks just wanna fuck all the time without thinking it through.

But then you got your assholes, Chuck. And all the assholes want is to shit all over everything.

So pussies may get mad at dicks once in a while because pussies get fucked by dicks.

But dicks also fuck assholes, Chuck.

And if they didn't fuck the assholes, you know what you'd get?

You'd get your dick and your pussy all covered in shit!

Comment Re:Those aren't "programming" mistakes... (Score 1) 213

Well, sure, and that's why in more recent Drupal versions they switched to using PHP's PDO, which is much more explicit about what you need to do.

The point was, the tool works if you use it correctly. Using the car lock analogy from above, the place for the lock was there but the developer failed to put a lock in the hole.

Slashdot Top Deals

Get hold of portable property. -- Charles Dickens, "Great Expectations"

Working...