Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

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

I half agree. Some of the items in the list are indeed design mistakes, but others really are programmer mistakes.

The SQL injection one is the primary one I'm thinking is really a programmer error. Take this case from Drupal/PHP:

db_query("SELECT * FROM {foo} WHERE bar='" . $_GET['bar'] . "'");

That is totally incorrect and SQL can easily be injected into the statement from outside. When the API is used *correctly* this is not an issue:

db_query('SELECT * FROM {foo} WHERE bar="%s"', $_GET['bar']);

The difference is pretty subtle here and can easily be lost on newbies. As parameters to the db_query function, untrusted inputs are cleaned. I have seen the former code on several sites that I took over from a former developer, they are certainly NOT design errors.

Comment Re:I heard LuLzSec was going to rig the elections. (Score 1) 412

We're getting offtopic here, but Bush wining the second time does NOT Prove that elections are rigged. What it actually caused Bush to get re-elected was a swift-boat campaign on John Kerry right before the election.

I'm replying not to just be pedantic and correct you, I just want to raise awareness of the power of lying TV advertisements - if you know what swiftboating is, you will have the mental tools to recognise it when it happens and respond accordingly.

Do democracy a favor and forward that Wiki article around ;-)

Comment Re:WebGL getting worse not better :( (Score 1) 282

I could see many games and tools for making games running in a web browser. Having done both - native apps and web dev, I have to disagree.

The text handling capabilities alone put the browser WAY ahead of the alternatives. Not to mention you can make the flat parts of your UI in HTML, SVG, whatever. It's a handy environment with a lot of facilities that make app dev simpler.

Comment WebGL getting worse not better :( (Score 1) 282

The WebGL news is pretty depressing. Found this recently (explained here)

I'm still very excited about having a real drawing API in the browser to work with that's not tied to MS or Adobe. Guess it'll still be a while until this tech is ready for prime time (sigh, been waiting YEARS already).

It's not helping that MS is slinging as much FUD as possible. Claiming that IE is "more secure than Chrome or Firefox" is laughable, but crap like this is not helping our case to the casual observer.

Comment MythTV / Input Dev (Score 1) 697

I installed MythTV because the interface is designed to be used with just a few keyboard commands. At first, the goal was to replace a dead TiVo with it, but we quickly realized that we had plenty to watch without capturing TV. So now we just use the streaming features of it, and access DVD images and downloads from a closet server.

Streaming in MythTV is a bit weak on this slightly older setup (about a year old) - the flash player loves to steal input focus, so I have to go over and click to get the remote working again. I'm hoping that irritation is fixed now. Browsing for streaming content isn't so great in the MythTV interface, might as well launch a browser really, you need to use a keyboard to accomplish anything - and the OSK is slow and clumsy. Hulu isn't working on this slightly older Ubuntu, though it is fine in my desktop's 11.04 (probably will update the TV box soon). Netflix actively refuses to work in Linux.

Input devices seem to be a weak point to me if you just want to plug in a random PC. Get yourself a remote that works like a keyboard. Personally, being a nerd, I used a micro-controller (Atmel USB capable AVR) and an IR receiver to fake a USB PC keyboard with my Sony TV remote - so everything (volume, TV power, full MythTV control) is available with one simple remote.

So, fair warning, you'll probably have an all around easier experience by buying a PC remote control and installing Windows Media Center on it, if you can stomach running such a thing.

Comment Missing option (Score 1) 266

All my files are under version control, you insensitive clod!

For a while now, I've been using a private git repository on a VPS (~$20 month). The only things I could possibly lose are only a few days old - the latest revisions. Worst possible case: I have to reinstall OS and a few free programs and lose ~2-3 days work. Since it's a private repo I can be sloppy and commit half-working branches, which I do when a patch is growing unwieldy.

Comment Re:HTML compliance is for wankers (Score 0) 298

Hah yeah except for the huge stupid hack you have to use for IE ;-)

Not long ago (within the past year) I've seen people *strongly* recommend targeting HTML 4.01, the most widely set of tags currently supported.

XHTML never really seemed to live up to the hype for me. Sure, it's easier to parse XHTML than HTML. But who cares? You should not be parsing web pages, it's the road to madness ;-) Always look for an API or a feed first.

Comment What's with all the hate? (Score 3, Informative) 298

Last I checked, anyone could submit ideas, corrections, feature requests *RIGHT THERE ON THE HTML5 WORKING DRAFT*. "Feedback Comments" right at the top of

Now, if they ignore your idea, that's almost certainly because it sucks and is badly written. No really, it does suck. Follow the instructions there *carefully*, really think about this feature or tag or whatever you're requesting, and your ideas will get consideration.

Comment Consanguinity (Score 1) 326

"So a newer Doctor is marrying an older Doctor's daughter, who is a clone of the newer doctor, but only has half the DNA of the older Doctor."

Dear god, someone please think of the 12 toed children! Actually, we've already seen the doctor's granddaughter, Susan. They forgot to mention the plot point about the Doctor being her father and her grandfather ;-) OMG Susan has 12 toes!


Company Seeks To Boost Linux Game Development With 3D Engine Giveaway 140

binstream writes "To support Linux game development, Unigine Corp. announced a competition: it will give a free license for its Unigine engine to a seasoned team willing to work on a native Linux game. The company has been Linux-friendly from the very start; it released advanced GPU benchmarks (Heaven, Tropics, Sanctuary) for Linux before and is working on the OilRush strategy game that supports Linux as well."

Slashdot Top Deals

What is now proved was once only imagin'd. -- William Blake