www.nowhere.dk is now IPv6 enabled

Just a quick note to let you know that www.nowhere.dk is now accessible through IPv6 $ host -t AAAA www.nowhere.dk www.nowhere.dk CNAME coredump.nowhere.dk coredump.nowhere.dk AAAA 2001:2010:0:2:0:0:0:DEAD The only thing I had to do was to enable IPv6 in Lighttpd, enable IPv6 in ufw (done in /etc/default/ufw) and then re-add any rules to ufw that affect IPv6 (like web and ssh). The last part is crucial and not very well documented.

March 13, 2010 · 1 min · alj

Irssi notifications in Windows using Growl and Minivan

After completing my script to deliver Irssi notifications to the Linux desktop using Perl (IPC::Message::Minivan and Desktop::Notify), I wondered if this framework could be extended to Windows (since I have a Windows desktop at work). I have previously looked at Growl (on Linux) and think it is cumbersome to get the notifications across the network – but ended up using it anyway since it’s an easy way to display notifications in Windows (and probably in MacOS as well). There is a another Growl script for Irssi but I wanted to make my own that plugs into Minivan because I wanted the pop ups to look the same on all computers (at least the wording). ...

March 6, 2010 · 2 min · alj

Irssi notifications using Desktop Notifications and Minivan

I was pretty happy with solution to get notifications from Irssi though it had some shortcomings. A couple of days ago a colleague made me aware of a Perl modules written by another colleague (Anton Berezin) called IPC::Message::Minivan which, it turns out, is perfect for my notification script. Basing the notifications on Minivan combine the speed of using something like Dbus locally (instant notifications) with the convenience of my previous script (notifications over the network, able to handle multiple clients). ...

March 6, 2010 · 3 min · alj

Facebook Chat in bitlbee

Facebook now supports XMPP. Yay. Using Facebook Chat in bitlbee is pretty straight forward (I am running 1.2.4, older versions of bitlbee require a bit more tweaking, consult the manual). For Facebook Chat through XMPP to work you need to set a Facebook username. In the &bitlbee channel account add jabber <username>@chat.facebook.com> <Facebook password> account on that’s it. Edit (04-03-2011): As some has pointed out, you need to input your username in lowercase. ...

February 12, 2010 · 1 min · alj

Yet another way to get Irssi notifications on your Linux desktop

For a better solution, see this article – I am keeping this post online because it makes it possible to implement distributed notifications with Perl modules included in the Ubuntu repositories. One of the things lacking (in my opinion at least) when using Irssi and GNU Screen is the lack of a way for Irssi to alert you when you are not looking at the terminal. I have looked at many implementations for libnotify (default in Ubuntu), Mumbles (Growl for Linux) and Dzen. ...

February 6, 2010 · 3 min · alj

Ubuntu: Fixing Java in Firefox 3.6

If you have installed Firefox 3.6, you will discover that Java is no longer working For i386 (32 bit Ubuntu): $ sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 50 For amd64 (64 bit Ubuntu): $ sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so 50

January 28, 2010 · 1 min · alj

The joys of outsourcing

I normally don’t post stuff written by others but I just had to share this one. It’s from Slashdot.org and sums up my experience with outsourcing to India really well. Hello there! Please refer to your opening on job posting site. I, Rajesh Sharma, would like to apply for the job.[…]My hourly rates are $ 9 USD. We all like to pretend this isn’t here and it isn’t happening, but I would say conservatively half the job market has disappeared in 10 years due to this currency/standard of living imbalance. ...

January 27, 2010 · 2 min · alj

Me. On StreetView

Yes. That’s me – in our French spaceship

January 26, 2010 · 1 min · alj

Datatalk ApS erklæret konkurs

Egentlig ikke en nyhed da virksomheden blev erklæret konkurs 24/12-2009, men jeg har først set det i dag. Som jeg tidligere har skrevet om har vi stadig et udestående på næsten 1700 kroner med dem. De penge er desværre nok tabt for evigt (der er altid mulighed for at gøre krav mod konkursboet, men umiddelbart skulle det krav have været fremsat til kurrator senest 16/01-2010, men vi vil forsøge alligevel, selvom chancerne er minimale). ...

January 24, 2010 · 1 min · alj

UFW: Blocking outgoing connections

Note: This is known to work for a machine acting as masquerading firewall for an entire network. I wanted to block connections to certain outbound ports. After some trial and errors I found something that works Add the following to /etc/ufw/before.rules: -A ufw-before-forward -s <SOURCE IP> ! -d <LOCAL NET>/24 -p tcp -m tcp --dport <DEST PORT> -j DROP it’s as simple as that. Remember to reload all the rules: $ sudo ufw reload

January 24, 2010 · 1 min · alj