Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

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.

Image

The Virtual Choir Project Screenshot-sm 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.

Comment What was their intention again? (Score 1) 268

FTA:

"About: ... We use the term graffiti for our work since we are storing data in a way that non-network participants may regard as unsightly or unwanted vandalism. ..."

"Update: ... It was never our intention to maliciously deface sites, ..."

I don't blame them for changing their tune once they came under fire, but I'm surprised that they have both statements on the page at once. Or am I somehow seeing a contradiction where none exists?

Transportation

FAA Greenlights Satellite-Based Air Traffic Control System 138

coondoggie writes "As one of the massive flying seasons gets underway the government today took a step further in radically changing the way aircraft are tracked and moved around the country. Specifically the FAA gave the green light to deploy satellite tracking systems nationwide, replacing the current radar-based approach. The new, sometimes controversial system would let air traffic controllers track aircraft using a satellite network using a system known as Automatic Dependent Surveillance Broadcast (ADS-B), which is ten times more accurate than today's radar technology. ADS-B is part of the FAA's wide-reaching plan known as NextGen to revamp every component of the flight control system to meet future demands and avoid gridlock in the sky."
Programming

C# In-Depth 499

Bergkamp10 from ComputerWorld writes "Microsoft's leader of C# development, writer of the Turbo Pascal system, and lead architect on the Delphi language, Anders Hejlsberg, reveals all there is to know on the history, inspiration, uses and future direction of one of computer programming's most widely used languages — C#. Hejlsberg also offers some insight into the upcoming version of C# (C#4) and the new language F#, as well as what lies ahead in the world of functional programming."

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...