May 16

I’ve been a fan of Wolfram’s A New Kind of Science when I first heard about it maybe 5 years ago.  The book was a very interesting read but I didn’t dive too much deeper into the material at the time.  CA (cellular automata) were interesting from the perspective of my CS background, and I still find it fascinating that complex systems such as fluid flow can be modeled with a set of simple equations rather then beast that are the Navier-Stokes equations.  But if I was a physics major I probably would have played with Mathematica substancially more and studied the concepts further, rather then let them sit in the back of my mind as mere curiosity.  Regardless, I kept an ear open for any more projects Steven was working on and when I first saw an glimpse of Wolfram|Alpha, I was seriously impressed.  (overview video)

Since then I’ve been patiently waiting for the public launch, and last night I spent watching the live webcast and finally playing around with the engine.  It is still very much in a beta stage as it can only understand certain branches of knowledge.  But for what it can do, wow.  I’m extremely interested to learn how Wolfram exactly accomlished all this, I understand it uses Mathematica as a backend but just the idea of expressing that depth and breath of data in a computing language is fascinating.  There were a few clips of the engineers talking about the infrastructure.  Hardware geeks would get their fill at the supercomputer they build to run this thing (44th largest @ 10,000 cores using Dell quad Xeon’s and nearly an exabyte of storage).  Oh, and they’ve opened up an API for developers!

There are lots of example queries to browse through, but here are some simple ones:

Weather on a particular date – http://www.wolframalpha.com/input/?i=weather+november+5+1955

…no thunderstorms predicted that night at 45 F and overcast (uses your current location).

The natural-language parser is fairly flexible.  You can enter queries like “weather day obama was born”.  It’s far from perfect and chokes on more complicated strings but useful nonetheless.

Playing around with the knowledge engine for a few minutes, I’ve learned that:

  • A 5 earth mass body orbiting a 10 solar mass star with a semi-major axis of 2.5 AU has a period of 1.251 years.
  • A 50 megaton explosion (TNT) is:
    • 1.2 times the total energy that hits earth every second from the sun
    • 1.0 times the energy released the Krakatoa eruption and the amount of energy
    • Has the same energy as a relativistic mass of 2.3 kg
  • Hurricane Andrew lasted 4 days longer then Katrina, but had the same maximum wind speed of 150 mph (on dates 5 calendar days apart)

You can also get nice visual representations of chords.  Or checkout the blackbody spectrum at the temperature of the surface of the sun.

Go give it a shot!  You can also download W|A toolbars, firefox search engine add-ons, gadgets, and more.

Apr 14

So I’ve decided to disable my weekly Twitter updates after seeing how annoying it would be to read.  I’ve been working on a few things lately, first is a “DIY radar” weather warning system with the help of NOAA WSR-88D radar data, libGD, and Perl.  I recall some very basic image processing algorithms and code I tinkered with in BASIC when I was much younger, but it was very simplistic and this was ages ago.  It’s fun to catch up on some old programming interests.  I’ll throw a post about it together once the code is a bit more complete.

My Linux-based SheevaPlug (embedded Linux in a wall-wart) has been occupying some time as well, tinkering with the Jaunty install and NFS and SSH.  I’m pretty impressed with the capabilities of this so far, despite the fact I managed to partially brick it for awhile. I eventually want to build a Tweet-A-Watt and use my plug for interfacing.  Wiring my 1-wire weather station to the plug makes sense as well.