Wordnet GUI Browser released

It took longer then I might have liked but I've just finished a preliminary version of the wordnet browser I wanted to build so I could see what's going on. Download it here, bzunzip2 and untar it, and run jeremy.py.

The GUI will pop up. Type the words you want to examine into the text box and hit "Refresh Tree" to refresh the tree. The weighting method can be selected, along with the sense decay. (The Weighting Weight is currently not used, but will be used to tweak the weighting method later.)

Algorithm for Building the Tree, Version 1

Algorithm for Building the Tree

For each processed word in the paragraph, each sense is taken in order and added to the tree. A configurable discount factor is applied to each weight in sequence. Using "1" will of course stop this behavior.

Each sense has the HYPERNYM relationship followed to the top, and that's stored in a list. The list is used to build the tree from the root down to the sense, and weight is added to each node according to some configurable scheme. (Constant, linear, and exponential are currently implemented.) This is done for each sense of each word.

Once done, each sense node has some number associated with it, the "weight". When it comes time to join the tree, the union of each tree is taken (discarding nodes that only appear in one but not the other), and a configurable function is applied to each matching node pair to determine the weight of the node in the union tree. I rewrote the code so this is much cleaner now, notably the union code which is no longer recursive.

Scroo yuoo tuu, Meecrusufft

Two weeks ago, Microsoft started intentionally feeding distorted stylesheets to Opera users on MSN.com. Today Opera strikes back. (139 words) [dive into mark]

Hilarious.

The Opera corporation also takes the opportunity in its press release to point something very importent out:

"Hergee berger snooger bork," says Mary Lambert, product line manager desktop, Opera Software. "This is a joke. However, we are trying to make an important point. The MSN site is sending Opera users what appear to be intentionally distorted pages. The Bork edition illustrates how browsers could also distort content, as the Bork edition does. The real point here is that the success of the Web depends on software and Web site developers behaving well and rising above corporate rivalry."

In this case, it's just a matter of extreme impoliteness on the part of Microsoft, since it's their own content they are screwing up, which they have a theoretical right to do. And technically, Opera shouldn't be doing what they are doing, because it isn't their content to muck up. However, the poetic justice is undeniable, and the demonstation of the power (and corresponding responsibility) of browser makers (and browser plug-in makers) to make sure they don't corrupt messages is well-taken.

Columbia observation

Now that the public discussion of the Columbia disaster seems to have abated, I would like to point out that very, very few people used this as an opportunity to try to dismantle the space program. The vast majority used it as an opportunity to re-affirm our national commitment to space.

Even the starry-eyed "Let's [magically] solve all the problems on Earth before spending anything on space" contingent was quieter then usual. I wasn't very old during the Challenger disaster but I seem to remember a lot more fear and resistence then this prompted. (Perhaps Challenger prepared us for this a bit more?)

The Job Search

I'm about to embark on that most scary of college experiences, the Job Search. I'm waiting on one last permission from someone to use them as a reference, then off I go.

The scariest part is Where will I go? One thing is certain, and that's that I'm not staying here. Michigan's a nice enough place to live, if you don't mind going weeks at a time under cloud cover; temperatures don't get too extreme in either direction as a rule (though there are exceptions), the only natural disaster that we are even remotely affected by are tornados, and it's nice green land with trees & stuff... but a bustling hive of tech activity it is not.

Google Factoid

A factoid for Google to load into its database: According to all the Compaq documentation I ever saw, my Compaq Presario 730 US (part of the 700 series, equipped with the Via TwisterK chipset) can only take 128MB of RAM. (Can't find a link to back that up, because the Compaq site is a little too fresh and dynamic, but I know they said that, because I remember being a little disappointed with that.) Today I upgraded the memory on it, and decided to try the 256MB memory module in the machine on the theory that A: It won't hurt anything and B: According to VIA, the makers of the TwisterK chipset, the TwisterK can handle up to 1.5GB. The 256MB memory module is working fine. And Crucial also seems to think that Presarios can take 256MB parts.

Fourth Amendment as Natural Law

Essay: The Fourth Amendment as Natural Law: Why the Fourth Amendment (protection against search and seizure) isn't just a good idea for a society that cares about Justice, but why in the light of modern technology, it's impossible to have Justice without it.

This is what I had meant to post Monday but I was fighting with Radio Userland, which kept crashing. (I now know why but have not had success creating a test case, which I will try to do tonight. It has something to do with having the outliner in HTML mode, pasting <a href="http\://something" </a> into the outliner, and having the formatter run on that. Note the missing >. That's not quite it though; that makes the handler definately misbehave but that exact thing doesn't crash it.)

Absolutely Outrageous

This is absolutely outrageous. It's worth reading the comments there, but frankly, I don't care whether the inspectors had the official power to save this man (though in a comment jeanne a e devoto says they did; sorry but I don't care to read the official UN resolution because it won't change my opinion either way). Sometimes morality calls for hard choices to be made, at personal risk to yourself.

Senate Severely Restricts TIA

"The Senate voted today to bar deployment of a Pentagon project to search for terrorists by scanning information in Internet mail and in the commercial databases of health, financial and travel companies here and abroad." [Scripting News]

It's not quite a total block, but most importently it shows the legislative branch has no intention of just letting the executive branch do whatever it feels like when it comes to surveillance. Checks and balances at work again. I have no doubt us civil libertatian types will still be unhappy with the final product, but we'll be much, much less unhappy then we would have been if TIA was started in its previously proposed form.