2008-03-29

Spafford Completeness

Eugene "Spaf" Spafford is a professor of computer science at Purdue University in West Lafayette, Indiana. He is well known for being an early researcher into computer security (and the lack thereof). Needless to say he doesn't suffer from a shortage of work.

If you make the mistake of sending Spaf an email with a Microsoft Word attachment you'll receive a quick (indeed both instant and automated) response admonishing you for using document formats that allow for code execution. It is quite foolish to mix the two. But it also strikes upon a more fundamental truth: executing code is the root of all computer insecurity.

Thus was born the concept of the Spaf machine. It is similar in conception to the Turing machine, but quite different. The first principle of a Spaf machine is that only read operations are allowed. The second, and final, principle of a Spaf machine is that the tape is initialized to a random value. How that randomness is selected, what constitutes sufficiently random data, and where socks go in a dryer are all fluff questions best saved for a hash bar in Amsterdam.

"So what?" you might say. "All it does is read random bits. That's useless!" Au contraire! You are apparently not familiar with the idea of the infinite monkeys. Our application states that given enough time a Spaf machine would successfully render every email you would ever receive. But it would not execute a single bit of code! It is the first truly secure machine!

2008-03-24

And Ye Shall Know Him by His Power Tie

Can't decide who to vote for yet in the American presidential election? I can! But for those of you less-able proles I'll provide you with a short list from which you can pick. Make your mark heavy and dark with your extra large crayons!

Lord Voldemort. Keeping it simple. Strong anti-muggle agenda. Doesn't listen to the Death Eater lobby.

Max. Psychotic lagomorph with a hound dog, crime-fighting partner. What's a lagomorph? I don't know either. But you're already on the Internet so why don't you go find out?

Cthulhu. You can't possible be able to pronounce this blasphemous name. But humans were never expect to comprehend the infinite horrors of the Ancients.

Darth Vader. In these uncertain times feel secure in knowing that that isn't a moon. It's a space station.

2008-03-16

Huxley Sez

Aldous Huxley once said:

And it seems to me perfectly in the cards that there will be within the next generation or so a pharmacological method of making people love their servitude, and producing … a kind of painless concentration camp for entire societies, so that people will in fact have their liberties taken away from them but will rather enjoy it, because they will be distracted from any desire to rebel by propaganda, brainwashing, or brainwashing enhanced by pharmacological methods.
I submit that he was referencing reality television. He was more prescient than H.G. Wells!

2008-02-13

Roger Clemens Versus the World

As I listened to NPR today report on the baseball steroid hearings I came to a conclusion. The problem right now is that Clemens' old physical trainer and also a former teammate are saying that The Rocket shot up with steroids and human growth hormone (HGH). But Roger comes right back with the untouchable, "No I didn't!" The problem comes down to the fact that the committee has (as far as I understand it) no legal power to compel the type of evidence discovery as is necessary to prove anything here. For instance, the trainer claims to have kept syringes and bloody cotton balls he used when injecting Roger. Can those be tested? Can the committee require Clemens to submit to a DNA test? No! So it all becomes one person's word against another. After realizing that I suddenly lost all interest.

2008-02-07

Cinco Anos

I have a theory I would like to put forward. My theory is that no television show should run longer than five seasons. The Japanese are much better at this than us Americans. The reason for this is that once you have a fixed frame of reference you can properly pace your story arc(s). Look at shows that violate my theory: Stargate, Star Trek: Voyager, et.al. Everything gets repetitive and cyclical. The freshness is lost. And speaking of Lost they're the one show above any other that influenced my development of this highly scientific piece of work. Ponder these thoughts and reflect in their truth.

2008-02-06

Language Multiplicity with Java

Java is the single greatest programming language in the history of mankind. One of the many reasons why is the way Java integrates with various other languages.

JRuby is a set of Java classes that implement the Ruby interpreter. This allows Ruby code to run within a Java application.

But Ruby's not the only interpreted language that gets to play with Java. Python also has libraries to run its code from within Java. Its creative name is Jython...

Moving on from interpreted to scripted languages, Perl can interface with Java too. A Perl module exists to allow Perl code to call Java byte code. Java's not the online language that Perl can call on this way. Typically for Perl its called "inlining".

Last, but not least, is the venerable Lisp language. Lisp is one of the oldest computer languages. But there is recent work that allows you to compile Lisp into the same byte code that Java gets compiled into. In addition to using the same virtual machine, Lisp compiled into the Java byte code can call other byte code.

With this variety of evidence how can you deny that Java is truly the best programming language out there?

2008-02-04

Wolverine Ain't So Tough Now

It seems logical to think that Wolverine's healing ability based on bone marrow. But his bones are all fused with adamantium metal. In the X-Men movie it looks like his bones are solid, polished metal now. Wouldn't that prevent the bone marrow from helping with his healing factor? Or instead is the metal porous? That just leaves him vulnerable to poisons, virii, and leukemia! Wolverine's a wuss!