So, after working on the cool “Large image displaying library” in KHTML I decided to look into other parts of KHTML, and work on getting my lolcat page working in KJS/KHTML. It turned out quite easy, KHTML is very friendly, both the code base and the community around it.
And as usual, thanks to the KHTML developers for help with everything.
To celebrate that KHTML now has proper support for scaled, animated gifs (as of 35526c4ddc99e684a645d5c536cdaec513cc3103), above is a dancing banana. Many a thanks to Maksim Orlovich for helping me track down various bugs related to it.
So, I don’t blog too often, but I thought I’d blog and write down the most important stuff.
Since last time I blogged, I helped write a pure-Java, Android client for the Quassel IRC client, named QuasselDroid. Not strictly a KDE project, but Quassel has very good KDE integration, and many KDE users use it. It lacks some features compared to for example Konversation, but it’s distributed so the compromise is kind of worth it. I had to reimplement the whole QVariant/QDataStream based protocol with just Java, so that was kind of fun. And it’s still one of the most-used applications on my phone, so there’s that.
I also started using Spotify, and found the excellent KDE client Spokify, found it lacked some features, so I implemented those. I think you can see all of them in the screenshot (except for the last.fm scrobbling).
Then I got bored with Spotify not having the music I listen to, so I started using JuK again. I found it missed last.fm scrobbling, so I implemented that (unfortunately liblastfm seems to be a dead project, so I had to implement it more or less from scratch, but whatever). I also fixed cover fetching in it; Yahoo has discontinued their image search API, and Google has deprecated theirs, so I switched it to fetching covers from last.fm (then I could also reuse some code from the scrobbling I implemented. I also fixed a couple of paper cuts before I got bored.
Then I got bored with all the webpages working correctly, so I found my old love, Konqueror (with KHTML). Unfortunately I spend too much time looking at cat-pictures on reddit, and since imgur shows a downscaled image by default, and KHTML only did nearest neighbour scaling (which is fast, but looks kind of crappy), I implemented a semi-quick bilinear scaling (using a trick which I think Ariya blogged about forever ago). Looking at the before and after screenshots should explain. It still looks kind of crappy for ratios over 2-ish, but it’s more than adequate for my cat picture looking.
Then I got bored of my desktop being state of the art, and remembered that there is a very nice, KDE-based lightweight alternative to krunner and plasma-desktop called “Kor Testudo“. Basically a lightweight KDE desktop, with support for plasmoids and everything (much more feature rich and less buggy than Razor Qt in my experience, even if it’s just a one-guy project). Only problem I had was that with a transparent panel it got kind of hard to read, so I implemented optional blurring support. There is an even older and more lightweight desktop alternative called Blazer, but that’s kind of unmaintained and not as feature rich as Kor, and I haven’t really tried it in a while. Last time I had to hack a bit on it just to get it to build. Just thought I’d mention it if anyone was interested.
Lastly I’ve also been using an excellent launcher/krunner replacement called Mangonel for some time now. It’s inspired by Katapult, if anyone remembers that. The only thing I was missing was the ability to launch config modules directly from it, so I implemented that (and fixed a couple of bugs and paper cuts).
Lastly I’ve started writing on my master’s thesis. We’re using a software framework called LIDA which is a generic and customizable framework written in Java for implementing cognitive/conscious systems, and are using that as a basis for our StarCraft: Brood War bot written with the help of BWAPI (an excellent free software project, under LGPL 3).