Project 365

Oops ... hadn't taken into account that pictures take up diskspace. And that my diskspace on this account is running towards "full". I'm going to see what I can do about that (either host it myself, or work something out with the Freeflux people), but in the meantime I'll stop uploading pictures. I will keep making them, however!

Comments (1)  Permalink

PageUp to irssi in Terminal (OSX)

 Note to self: sending a PageUp to irssi running in an SSH session in Terminal on OSX Snow Leopard (as opposed to sending it to Terminal itself) is done via fn+shift+up.

That is all.

 Permalink

GPGMail on OS X Snow Leopard

With the upgrade from Leopard to Snow Leopard, and the included update for AppleMail, GPGMail was broken due to it using an undocumented API which has, of course, changed.

Fortunately, people more knowledgeable than I have fixed this by now, making it relatively easy to get things going again.

First of all, close AppleMail.

The next thing to do is to get gpg up and running again. There is an excellent explanation right here (http://macgpg.sourceforge.net/docs/howto-build-gpg-osx.txt.asc), which will allow you to copy/paste your way through the whole thing. It's your basic ./configure; make; make install; except that on Snow Leopard, you need to specify that you want to compile it for 32bit mode, like so : 

./configure CC="gcc -arch i386"

Next, download this GPGMail.bundle: http://dl.getdropbox.com/u/20215/GPGMail-1.2.1.mailbundle.zip (see the discussion thread, there is probably a newer one by now), unzip it and place the result in ~/Library/Mail/Bundles/ 

In my case, I had to open the bundle (Ctrl-click, "Show Package Contents") and edit Contents -> Info.plist (using Property List Editor). It was missing two GUIDs, which I found like so:

venefyxatu@Succubus$ grep -A 1 UUID /Applications/Mail.app/Contents/Info.plist 
 <key>PluginCompatibilityUUID</key>
 <string>2F0CF6F9-35BA-4812-9CB2-155C0FDB9B0F</string>

venefyxatu@Succubus$ grep -A1 UUID /System/Library/Frameworks/\
Message.framework/Resources/Info.plist 
 <key>PluginCompatibilityUUID</key>
 <string>0CB5F2A0-A173-4809-86E3-9317261F1745</string>

For each of those, copy the GUID (the bit in the <string> tag) and add it as a child to SupportedPluginCompatibilityUUID.

That's it. Start AppleMail and it should load the plugin, once again giving you access to the GPG settings.

 Permalink

TweetDeck on Gentoo with Awesome

After seeing it in action I wanted to give TweetDeck a try so, optimist that I am, I tried their installer. It didn't work, complaining about a corrupt .air file. So I figured I'd install the AIR framework first and then see where that would get me. All the way to this error message : 

Adobe AIR could not be installed because this is not a supported Linux distribution. Only RPM- and Debian-based Linux distributions are supported.

Gentoo? Source-based distros? Get lost! Fortunately, flashman already ran into the problem and figured out a way to get AIR applications running on his distro and documented it.

One more problem : I don't use Gnome. I don't use KDE. I'm an Awesome fan. AIR doesn't like it when people don't use Gnome or KDE on linux. It requires gnome-keyring or KWallet and it gets confused rather easily. According to the Adobe troubleshooting page, you can set it straight by exporting a variable.

For gnome-keyring:

$ export GNOME_DESKTOP_SESSION_ID=1

For KWallet:

$ export KDE_FULL_SESSION=1

If you've got a KDE4 based KWallet, you also want to do:

$ export KDE_SESSION_VERSION=4

Ka-boom! TweetDeck on Awesome on Gentoo. And I can start it with Winkey-F10 as well, like so : 

awful.key({ modkey }, "F10",
    function ()
        awful.util.spawn_with_shell("export GNOME_DESKTOP_SESSION_ID=1; 
        /opt/air-sdk/bin/adl -nodebug \
        /opt/air-apps/TweetDeck/META-INF/AIR/application.xml \
        /opt/air-apps/TweetDeck")
    end),
 Permalink

New category : stories

 Since I write stories every now and then, I decided to start posting them on my blog as well. More content, whee!

It's also a nice opportunity to experiment with a FluxCMS site in two languages...

I started off with a story (English and Dutch versions) I wrote based on the walk back to my car after a NaNoWriMo write-in in Ghent. A vivid imagination can be a scary thing sometimes ...

Comments (1)  Permalink

Those petty lights I see at night ...

... are flames that belong to some of the industries in the harbour of Antwerp. Sometimes they're really big flames, too. When seen by day, however, you see the less than pretty part as well : here

 Permalink

Another picture ...

Another picture in the Miscellaneous gallery - I've discovered that the screen on my Macbook has some ... interesting properties ;-)

I've liked pictures like this for quite a while now, so I figured it was time to make my own ...

 Permalink

Fall picture

 Added a picture in the Miscellaneous gallery with some nice fall colours as seen out of the window. Too bad about the crappy quality...

 Permalink

Mojo SDK getting up and running

Palm finally released their WebOS SDK to the public (to be found on http://developer.palm.com ).  Here's what I did to get things up and running on my Gentoo laptop:

  • Download the .deb file
  • Convert the .deb file to a tarball ( deb2targz )
  • Extract the thing to /
  • Try `palm-emulator` and swear some because "Palm Emulator requires that VirtualBox 2.2.0 or greater is installed."  2.2.4 > 2.2.0, right?
  • Some decompiling of the jar files reveals that on Linux, the virtualbox classes simply search for /usr/bin/VBoxManage.  If it's installed somewhere else, tough luck, you don't have virtualbox.  A symlink fixes this.
    Note: on Windows, `reg query HKLM\SOFTWARE\Sun\xVM VirtualBox /v InstallDir` is used to determine the installation directory.  On my Vista x64 box I can execute this query in a DOS prompt and get the correct result, even though the emulator complains.
  • Ignore the novacom warning for now and presto, one booting WebOS VBox machine.

The novacom warning : 

In order to install or debug applications in the Palm Emulator, the novacom 
service must be running on your desktop.

Please verify that you have the latest Palm SDK installed correctly.
`sudo /opt/Palm/novacom/novacomd` fixes this.  There's a /etc/event.d/palm-novacomd script which makes the novacom service start on rulevels 2, 3, 4 and 5.  This is probably a very debian-ish way to do things, but won't quite work for me ;-)
Anyway, I have a running virtual machine and I should be able to install and debug applications from Eclipse.  I'm happy.  For now :-)
 Permalink

Heat and flowers

Well, all this heat has one upside : one of my plants got a nice flower.  With a tealight next to it for size reference

Click for larger picture ...

 Permalink
Next1-10/37