Wednesday, February 25, 2009

Memories fom yore

The man who counted was the first book that really got me interested in math. Great reading material for young and adults alike.

Tuesday, February 24, 2009

Safari 4 tweaks

Disable `Google Suggests':
defaults write com.apple.Safari \
DebugSafari4IncludeGoogleSuggest -bool NO
Also, Safari 4 breaks the GrowlMail bundle. Oh well.

Installing Opera from tarball without sudo priviledges

The online documentation in the Opera KB says to use
--prefix= to install everything to .
. That however is not enough I find, as the script won't create the necessary directories. Hobo solution: Check the error log from the install script and create them by hand.

PS: If you use Gnome (or at the very least gnome-terminal), don't forget to change the default browser in gnome-control-center (I tried the gconftool way first, but no dice).

Safari 4: First impressions

The tab bar has been moved to the top of the address bar. While this is space-saving in that it is now merged with the title bar, I see one major inconvenience with it: The `new tab' button is awfully close to the top right screen corner when Safari is maximized, and if you have that corner active it's rather annoying.

They certainly took a page out of the Firefox book with listing the top used sites first when you type into the address bar. I am not so happy, however, that Safari first lists the page title, then the actual address (and that one is grayed out so it's hard to see).

Rendering of new pages seems to work nicely so far. I'll have to fiddle around more to see what breaks and what doesn't.

It seems to be a bit more resource-greedy on startup, but not by a large margin, and I'd have to see how it behaves on the long term to really compare things.

Wednesday, February 18, 2009

Magenta DOES exist

It seems that it is necessary to help with the damage control.

Tuesday, February 3, 2009

Beginner instructions for OpenNLP

  • Build the tools, as per the readme.
  • Download the models and save them to
    [opennlpdir]/opennlp.models/[language]/[modeldir]/[model]
  • Make sure your classpath is set, e.g. before your run the tools, go to your opennlp dir and type
    CLASSPATH=`pwd`/output/opennlp-tools-1.4.3.jar:`pwd`/lib/maxent-2.5.2.jar:`pwd`/opennlp/lib/trove.jar:`pwd`opennlp/lib/jwnl-1.3.3.jar/
  • Now you can continue with the examples in the readme.

Script debugging

fork: Resource temporarily unavailable

Forget the top Google answers. Instead, check that your script doesn't go into an infinite recursion.