Skip to content

Categories:

Launchpad Tasks Provider for IntelliJ

This summer I’m hacking on a re-implementation of netmap in HTML5/JavaScript (D3.JS) for Network Administration Visualized (NAV) at Uninett, and I’m really used to be able to use context switching in my IDE towards tickets/issues from either Redmine or Github. As NAV uses Launchpad I lost this awesome feature in the Jetbrains familiy of IDEs. This is of course a problem I had to solve…

I spent this Saturday hacking together something quickly which fetches ‘all’ bugs (first 75 at least for now) and makes em available to context switch on. Plugin is released on http://plugins.jetbrains.net/plugin/index?pluginId=7071 and my project page is of course available on Launchpad. Source code is hosted at github and I accept pull requests as the plugin certainly contains a bug or two ;-)

Oh, thanks again Jetbrains for the open source license we NAV-devs can use together with PyCharm!

Posted in /dev/random.

Tagged with , , , , , , , , .


Play! Framework – How to fix log4j to send logs by smtps

Last days I’ve been playing with Play! Framework, which really is a breeze to work with when it comes to rapid web development for Java. If you haven’t checked it out yet, you really should over at http://www.playframework.org/ .

Anyway, lets bump into how to fix log4j to send error logs by email to my “maintainer” email address by a SMTPS (SMTP SSL) server. In this example I’ll show you how to configure it using the log4j.properties file.

Continued…

Posted in /dev/random.

Tagged with , , , , , , , , , .


Hacking on BusBuddy API

We’ve all waited quite some time for some data access to AtB’s real time data for public bus transportation. AtB themselves promised an Internet service not long after their release of their real time data service over SMS. We’re now in late May and still not a word about it, and I know several people who have tried to get in touch with em to get access, but it’s all been a silent answer from em..

Sad thought is what I’m thinking, public transportation data should be open to the public – it’s for AtB’s own benefit that the data should be open and easy accessible  for nerdy geeks to create cool applications.  Continued…

Posted in /dev/random.

Tagged with , , , , .


BusBuddy for Android

https://market.android.com/details?id=no.norrs.busbuddy

After my release of BusBuddy API, I finally got the code pieced together and finally released as an early beta. I’ve decided to take 6NOK (ca 1 USD) for my application, due to the effort I’ve put into making the API and this application. My users are able to use Get Satisfaction ( http://getsatisfaction.com/norrs ) for questions/share an idea/report a problem or simple give me some praise for the application I’ve made. This will hopefully keep me on the toes to make an application my users want and keep the API under maintenance for everyone else. I’ve also have a Ads-version scheduled to be released in the nearest future for those who are not willing to pay those lousy 6 norwegian bucks for the poor student I’am. *hint hint*

I have some other features that will arrive soon(tm):

* Oracle support (Use natural language for asking about bus schedules)
* Your favorite bus stops (also with support of naming/put a nickname on em) (favorites tab?)
* Reverse map look up by street name
* Reverse look up by bus stop name
* Long press support on both real time tab, map tab for special context menu’s. (automagically generate an oracle phrase? etc)
* More settings for adjusting more details in my application (start up tab, local cache refresh (default is 20 seconds))
* Research for support on Oslo? Other cities? (I’ve gotto dig into more yummy data)

You got any other ideas? Share em with me on GetSatisfaction!

 

 

 

 

Posted in /dev/random.

Tagged with , , , , .


Setting up Thomson SpeedTouch 546v6 in bridge

Why would I bridge my SpeedTouch modem you say? Personally it’s due to the annoying fact that the network gets unstable if I don’t do it. The device(s) (I’ve had multiple modems, different vendors) simply can’t hold the network stress on my network. Bridging my SpeedTouch modem lets it only having to deal with communicating towards the DSLAM and forwarding packets as a dummy device to my other router which is capable of dealing with routing traffic on my local network. For this purpose, I got a Linksys WRT54G router running with Tomato firmware which gives me a handful of nice features. Read more to see how I did it…

Continued…

Posted in /dev/random.

Tagged with , , , , , , , , , , , , , .


Ubuntu 10.10 – My personal notes

Ubuntu 2010.10 is out, this time I did a clean install and had to reapply my customized settings. So here goes…

Rockj's Emerald Minimalistic theme

Continued…

Posted in /dev/random.

Tagged with , , , , , , , .


HTC Hero breaks my booting process

Stuck in POST, memory not found

After I got myself a HTC Hero for Christmas, I’ve noticed (the few times) when I’m rebooting my computer it often won’t go past POST. I thought this could be related to my computer’s PSU which got fried some months ago due to a power failure and thought it might have damaged my motherboard or any other  components in my computer.

I’ve tried various things as reset CMOS, letting computer cool off etc (with random results), until I one day just unplugged the USB cable to my HTC Hero as I had to take a call, and tried rebooting it right after I unplugged my phone – to my surprise – it worked. I finally got past POST and BIOS booted up successfully and found both my CPU and my memory. I have no clue why HTC Hero affects my current hardware, so I find it worth to create a tiny blog post about it, if anyone else have experienced the same weird stalling at POST, due to not  finding the processor or memory which might be your HTC Hero’s fault.

My current hardware is a Q6600 processor from Intel on a Gigabyte motherboard model P35C-DS3R and memory from Kingston.

I knew that USB pen drives can cause some motherboards to not get past the POST, but I’ve never had this issue as my USB pen drive is always plugged in.  To my surprise, it seems like HTC Hero actually affects my motherboard somehow.

Definitive learned something new today..

Posted in /dev/random.

Tagged with , , , , , , , , , , .


dhclient: classless static route, bug?

Lately (since Ubuntu 9.x) I’ve had issues with DHCP on my network, not really understanding why my DHCP client never assigned my standard gateway that I’ve configured my router to give out. Since I’ve just upgraded my system to Ubuntu 9.10 and problems were still there, I couldn’t continue to ignore this annoying problem. I tried to fire up Google and other search engines to see if I were able to find a solution to the problem, but I couldn’t find any solution to it, without setting a static network configuration which is NOT a solution. I had to get my hands dirty, and I fired up Wireshark and started digging..
EDIT: This problem is now solved! :-)

Continued…

Posted in /dev/random.

Tagged with , , , , , , , , , , , , , , , .


JavaZone 2009 Talks

If you were as unlucky as me, and couldn’t attend JavaZone 2009, take a trip over at http://tcs.java.no – here you have access to stream & download talks from JavaZone 2009 thanks to Tandberg.

NB: If you have issues streaming the talks in Ubuntu (linux), make sure you use Firefox 3.5, and disable the Windows Media Player addon in Firefox (even thought you might not be able to stream all the talks, you will be able to stream the talks which supports Adobe Flash). At least here at my computer,  totem-plugin-view really wouldn’t play along and was fighting..

Posted in /dev/random.

Tagged with , , , , .


Debian Lenny (5.0) gone stable!

Congratulations for finally releasing Debian Lenny as stable! This sunday will be a great day indeed.

If you encounter this:

W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems

You can safly ignore it and continune doing a dist-upgrade. This warning should go away after the upgrade, since the following key ID is Lenny’s stable public key which is not yet in use. As for now the etch key is still valid and release is signed with both Etch and Lenny keys and the package debian-archive-keyring is yet to be updated in the etch tree as far as I understand it, so that’s probably why we get the warning. This has todo with this post on the mailing list:
http://lists.debian.org/debian-devel-announce/2009/01/msg00008.html

We could import the Lenny key  even if Debian is not officially using it before Etch’s key has expired or Debian Lenny R1 is released. This is atleast how you fetch the fingerprint of the key ID:

gpg –keyserver wwwkeys.eu.pgp.net –fingerprint 4D270D06F42584E6
pub   1024D/F42584E6 2008-04-06 [expires: 2012-05-15]
Key fingerprint = 7F5A 4445 4C72 4A65 CBCD  4FB1 4D27 0D06 F425 84E6
uid                  Lenny Stable Release Key <debian-release@lists.debian.org>

Verify the fingerprint towards this page: http://ftp-master.debian.org/keys.html

If they match, go on and import it:

gpg –keyserver wwwkeys.eu.pgp.net –recv-keys 4D270D06F42584E6

gpg –keyserver wwwkeys.eu.pgp.net –recv-keys 4D270D06F42584E6
gpg: directory `/root/.gnupg’ created
gpg: can’t open `/gnupg/options.skel’: No such file or directory
gpg: keyring `/root/.gnupg/secring.gpg’ created
gpg: keyring `/root/.gnupg/pubring.gpg’ created
gpg: requesting key F42584E6 from hkp server wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key F42584E6: public key “Lenny Stable Release Key <debian-release@lists.debian.org>” imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1

gpg –armor –export 4D270D06F42584E6 | apt-key add -

Have a nice sunday upgrading!

Posted in /dev/random.

Tagged with , , , , , , , .