The new version of Mathematica (6.0) is really kind of fun. (UW students can get it here, use a faculty’s e-mail to have password sent to said faculty member (or yoshi)) I’m liking the debugging stuff and the color coded input. I’m having a blast playing with the new dynamic functions, especially the one called manipulate. The ability to rotate 3D figures in their window is long overdue, but pretty nice too. For some reason, they’ve also decided to include ridiculous amounts of data, including a giant database of chemical formulas and properties, stuff from almanacs, and an internal dictionary and thesaurus. It can also import html data easily–for instance, here’s a silly little function that imports the html code from a particular webpage and checks for the frequency of strings made up of letters (i.e. words, not code…hopefully). My apologies for the ugly code.

As you can see above, I’ve omitted words under 5 letters to get a better sense of what people are writing about and just took the top 20 hits:

Aha! the function lalala correctly inferred that Dan C. (blogroll) wrote about policies (4 times) in government (8 times) and had ideas (well, just 8 ideas). I like that Offends is #1. Hell, the output practically reads itself. Now let’s try Adam’s website:

looks about right. Again, it practically reads itself, in that stilted magnetic poetry sort of way. Just for kicks, let’s make the above input into a tag cloud thingy:

Advertisements