Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment That was dictated? (Score 2, Funny) 203

What'd he say, "so he was trying to do his job comma respectfully and arrested my ass exclamation point exclamation point exclamation point exclamation point exclamation point exclamation point exclamation point exclamation point exclamation point"?

Or was it more, "and then just dump a sh!tload of exclamation points down".

Comment Re:Can this be retroactively legalized (Score 1) 326

Does the constitutional prohibition of ex post facto laws prevent the legalization of illegal activity as a means to annul the culpability of preexisting perpetrators?

Despite beliefs to the contrary, society is nothing but a giant game of Nomic. There may be rules about what you can do, but if you play well enough you can change those rules. Playing well includes the ability to change them retroactively.

Comment Re:Raw- or OOP-base Lua? (Score 4, Interesting) 145

BTW, my personal opinion on Lua:

It's a fun language to learn, because at the core it is *so* simple. In less than a week a good scripter can fully wrap their head around everything that Lua has to offer from the scripting side (not the C++ side; that might be another week). It's rather elegant, really, with convenient syntax for integer-based for-loops that automatically create a new copy of the loop variable on each pass for simple closure creation.

However, when you get down to actually typing in itwell, it's not as verbose as Java, but there's some real RSI danger there. With it's simple core come decisions like "not only will we not give you foo++, we won't even give you foo+=1". Try typing things like "frameCounter = frameCounter + 1" many times and you'll start to scream. Every day I scripted in Lua at work I would long for the times when I could use Ruby to actually get something done.

For those who know JavaScript and want to get a glimpse of what Lua is like, I have a page on my site: Learning Lua from JavaScript.

Comment Raw- or OOP-base Lua? (Score 4, Interesting) 145

I'll be interested to see if they go for WoW-style "raw", imperative Lua (gobs of functions) or a more OOP-style Lua (NB: my site).

In designing the Lua interface for an old Game UI authoring product I originally went with OOP-style Lua. It was (IMHO) a rather elegant wrapper on our DOM. However, we soon found that the memory thrash of using Lua's lightweight userdata to go back and forth between C++ and Lua resulted in poor performance on consoles, and I ultimately had to redesign the interface to be more WoW-like for our next release.

It was a shame, putting more onus on the scripter to manage objects (tables of properties in Lua) based on a 'pointer' passed around to uniquely identify each element in the DOM, and passing that pointer to all relevant functions. But the performance increase was dramatic.

Submission + - Radio Controlled Car Runs on Soda Can Rings (engadget.com)

polyp2000 writes: A pair of Spanish engineers have recently unveiled the dAlH2Orean (see what they did there?), a R/C car that runs on aluminum. Dropping a few soda can tabs into a tank of sodium hydroxide produces enough hydrogen to power the little speedster for 40 minutes – at almost 20mph.

Comment Yes, of course...and some do. (Score 1) 486

Speakeasy.net cut me off in 1999 when a Windows server I had at home was exploited (MSSQL Server...grr) and infected. I called them, they explained what was up and how to fix it. I 'fixed' it, called them back, and they put me back online...and then offline again 12 hours later because I hadn't cleaned it all up properly. (My then-girlfriend-now-wire really wanted to play Quake 3 Team Arena...I didn't have time to fight Windows!) I fixed it for real, and they put me right online again.

It was frustrating at the time, but I knew then and I know now that what they did was what I wish more companies did.


The Virtual Choir Project 58

An anonymous reader writes "Conductor and composer Eric Whitacre has successfully created a virtual choir using the voices of 185 people who posted their performance on YouTube. The piece that's performed is called 'Sleep,' composed by the conductor himself in 2000. Anyone can join in — all you need is a webcam and a microphone."

Comment Re:Silly (Score 1) 482

What defines HUMAN$? Redefine the variable, the law is still satisfied. We hoomanz do it with brainwashing and conditioning. They're not humans, they're gooks. They don't even believe like we do. It's fine to kill them. Heathens anyway, right? But I'd like to think the robot might be able to work it even more subtly, subverting the law.

Or perhaps the robot will take the laws very seriously, to ill effect.