According to this quiz, I am Amiga OS, and I am flattered.
My head hurts
Spent the night out yesterday. A friend of a friend played at a pub where you can get a 33 cl bottle of Strongbow cider for 20 SEK (which is under 3 USD, which is really cheap by Swedish standards). Now that is not healthy, and after that we went to the local night club where you get two beers for the price of one. I ended up in a friend's apartment drinking rosé and Beck's. After I left, he apparently jumped from the balkony and wandered away. His girlfriend called me and we went looking for him, without any luck. Even later, she called and told me she'd found him sitting somewhere downtown, totally lost and confused. She dropped by earlier tonight and told me he had no recollection of what had happened after we left the night club. As for me, I spent the entire day sleeping and ignoring the constantly ringing cell phone that was disturbingly out of reach. For some reason, I had placed the laptop next to my bed, though. I guess Internet addictiveness doesn't wear off even when I'm hopelessly hammered.
I got an e-mail from someone using my program Nular Shell (Swedish only) on Linux. He gave me a very good bug report with screenshots showing how the program (not) worked in Linux/GTK. This gave me the incentive I needed to recode parts of the SWT GUI, which suffered badly from me not being very good at SWT programming at the time I wrote it. I couldn't figure out some layout tweaks, so I resorted to fixed positioning using setBounds(), which made the app really ugly on Linux since all the widgets had different sizes in SWT. Also, some widgets differ in functionality, too - for example, when using the ToolBar, you can create a SEPARATOR item and assign a widget to it (using setControl()) in order to embed it into the toolbar. This, however, doesn't seem to work in the GTK2 port of SWT, so I had to make a Linux-specifik hack for a small text box I wanted in the toolbar. Now, however, I rearranged the main window a bit, so I don't have to embed the text box in either Windows nor Linux (before and after), and with no stupid fixed-positioning code, it should look decent in Linux too.
Update: it seems that the SWT GTK2 ToolBar widget doesn't support the SWT.VERTICAL style either, and the Button widget in GTK2 lacks SWT.DOWN. Annoying.
Java class loaders
When publishing my development version of Nular to the web, I learned that you must explicitly assign a parent class loader when creating new ones, in order for class searches to be delegated upwards. I discovered this because the new version of Nular actually has a plugin API (which no one will ever use) which uses some class loader hacks to dynamically load class files dropped in a "modules" directory, either as JAR archives (with a property file in the JAR specifying which class to be loaded), or as plain .class files. In the latter case, the class must be in the anonymous package, or the class loader will fail. I never figured out how to determine a class' package from it's .class file.
Fiddler and MSN search
I did some random ego-searching on Microsoft's new search engine and discovered that the author of Fiddler had tried to communicate with me regarding my Fiddler plugin. I kind of expected that all those web boards sends an e-mail when someone replies to your post, so I never bothered to go back and check the forum.
Speking of MSN search, apparently they are getting back at Google. Makes you wonder if it really is a bizarre result of search engine ranking algorithms or playful engineers in action.
I'm thinking about registering a Freshmeat entry for web hammer, but I'm kind of hesitant since I tend to never update those things anyway. We'll see about that. The Freshmeat entry for Duper has 10 subscribers, which is kind of weird, but it sort of proves that some people actually wants me to tell them about new versions via Freshmeat. Compare to the Roxen Web Server which has 20 subscribers and conclude that my software is at least half as popular as an obscure web server. :-) Staffan is doing an impressive work with lagen.nu, a collection of all Swedish laws and more. MrFriday will (hopefully) proudly sponsor lagen.nu with web hosting when it gets out of beta.