SSNA cottage

August 5, 2009

Once again the annual SSNA gathering in the summer cottage on Mols was conducted and it was a great success! I chose to bike once more and was accompanied by my girl from Århus to our destination. This time I had better knowledge of the route and departed at about 03:00 to be in good time for the ferry at Kalundborg. Last year Thomas and I arrived only 10 minutes before the ferry sailed which was a bit of a gamble, but this time I got there 1h 30min too early. It was preferable because I had time for a cup of coffee and a shopping tour in the local supermarket which drastically reduced the cost of the trip (last time we spent 300 kr as I recall at the ferry on food and snacks).
DSC00394

The tour to Kalundborg (111 km) took 6.5 – 7 hours. I had forgotten how boring the last 40 km towards Kalundborg is but I was well prepared having downloaded all the starcraft podcasts I could find on sc2gg.com and at blizzard. The rest of the trip was even better than the first time and also the way home didn’t seem as long. After some careful planning involving me being stubborn and know-it-all-ish we managed to arrive at the ferry in Ebeltoft in much better timing with only 2 minutes to go (it is 19 km away, not 13 as the first sign suggested). Thank god we made it, I almost ruined it completely being all too certain of my case.
Later we arrived at Sølager and after signaling the crew on the other side, we took the small ferry over Sølager-Kulhuse which was a funny 8 minute experience. We were the only two people on board not counting the two captains.DSC00445

At Mols Peter and I brought up the old agreement from last year and tried to kajak around Helgenæs. Unfortunately we didn’t make it past “the horn”. The wind was relentless and we had to yield, but next year I am certain we will accomplish it!
Also worth mentioning is that all of us played a lot of Magic the Gathering including the girls. I always enjoy when girls get geeky :D ..
I must remind myself to complete the Goblin deck that was so difficult to get going. I spent all night trying to beat Anders with absolutely no luck but we had a blast to Peters dismay (as he was trying to sleep right there in the living room).
Also homemade cherry pie was something we definitely have to do again next year.
DSC00424


Enough with the tools already!

August 5, 2009

I’ve just gotten home from a 12 day vacation on Iceland. I went there with my girlfriend and also Bjørn and Jens whom I have been running Helvede i Nord and Copenhagen Marathon with earlier this year. The main event for me was Laugavegurinn Ultra Marathon which is a 55 km run from the interior to the southern part of Iceland. Check out the routes (part1 part2) in Google Earth. I finished in approximately 8 hours which I found is quite a long time to spend on the move without any breaks other than stopping for water and taking pictures. But it was definitely worth it. The route is normally a 4 day hike and is very spectacular to behold with a lot of different beautiful landscapes.
Island 2009 129
Even though it was a tough run the following days I felt way better than I did after my previous marathon. Now I know that if you train and keep healthy your body can do almost anything. Your body is a miracle!!

Now that I have completed the run my mind is more at ease and I will be able to focus on other exciting stuff to do. I can’t wait to come up with another challenge. But not before I have gotten thoroughly wasted again 8)
beer-mug


Vim and Vimperator

August 5, 2009

Recently I’ve made the transition to VI Improved (Vim) and uninstalled jEdit, an editor I’ve been very happy with so far for all my programming tasks.

Even though Vim is as old as myself it is capable of doing almost anything when editing text. A lot of hardcore programmers swear to the tool and the rest use Emacs. These editors make the foundation of the editor war. One of the strengths of Vim is that it runs on any terminal with or without a GUI which makes it extremely light-weight and an excellent option for remote editing. Another great advantage is that because of the lack of GUI everything is possible to do with the keyboard. The learning curve is a bit steep but when you get the hang of it your editing speed will increase. The more I use Vim, the less I have to move my mouse (maybe I am a bit lazy).
Now that I have used Vim for some time and come to love it I have found a plugin for firefox which makes browsing simulate Vim. It goes by the name Vimperator

follow links by title or number

follow links by title or number


Vimperator is of course as Vim itself extendible so you can map all kinds of shortcuts and special behavior to your sites. Try it out!
My boss enjoyed it a lot as well – points for me right there.


JabRef

June 15, 2009

Today I installed a citation/reference manager called JabRef for my project.

JabRef reference manager

JabRef reference manager


It is an excellent tool that makes me able to keep track on all of my articles at the same time as well as export the lists to various formats, including HTML, which is a feature I find to be quite brilliant. Also (I haven’t tried this yet) I should be able to export it to OpenOffice which will probably save me a lot of time and tedious work. Of course this is because I should have made a lot of work today searching for more litterature and reading, but this is simply more fun I think. Kind of useful though also an excellent waste of time – I am working on my skills as a master procrastinator!


Subversion

June 12, 2009

I’ve just managed to install the file versioning system, Subversion, for my project that I am working on over summer. When I wrote my bachelor’s project I ended up being seriously confused with several versions of each and every file on different FTP servers, laptops and my stationary PC. Not being able to tell which version that is the most recent is such an annoyance and time-consumer, that I vowed to figure something out for next time. Well, the solution is simple.

  • sudo apt-get install subversion
Subversion

Subversion

The great advantage of having this program is that it transparently stores all versions of your files so that you don’t have to be afraid to overwrite anything. Also if properly set up it allows you to work at multiple computers easily and pain free by synchronizing the copies of the project at a central site. You simply do:

  • svn checkout (or: svn update)
  • edit your files
  • svn commit

Almost sound too great to be true? Try it out!


eggdrop IRC bot

June 7, 2009

dotascript is taking on new heights! For some time I’ve been thinking about restructuring our dotascript and possible simplifying it by using a bot. But the entire process of installing and configuring a bot, learning Tcl and finding a host for the bot have felt a bit overwhelming, so I’ve postponed it several times. But now that my exams are over I think I can find the time. I will take it stepwise and hopefully with perseverance I will have solved all my issues. Don’t worry – be happy!

I am now well on my way having read a couple of Tcl tutorials and installed and compiled the eggdrop bot.

Here is my cookbook:

  • download eggdrop
  • checkout ‘troubleshooting make’
  • sudo ./configure
  • sudo make configure
  • sudo make
  • sudo make install
  • cd ~/eggdrop
  • eggdrop -m config-file
  • chmod u+x config-file
  • (next time: ./config-file)
  • /msg bot hello (and follow instructions)
  • telnet localhost port
  • .chanset #channel need-key putserv “JOIN #channel password”
  • in config-file:
    bind EVNT -|- init-server init:server
    proc init:server {event} {
    global botnick
    putquick “PRIVMSG Q@Cserve.quakenet.org :AUTH “
    putquick “MODE $::botnick +x”
    }

Wow, that was a lot but I am happy that I got it working in just one evening. Now I just need to write my Tcl scripts.
Dotascript here we go!

eggheads

eggheads


UPDATE:
I love LAN. I have spent much of my time scripting the dota bot and finishing dotascript lite.
I am happy to announce that I have now finished the bot. It should run with most of the required features, such as addall, removeall and poweradd.. It even has support for both game types – hamachi and garena. The bot is written in Tcl, a very oldschool programming language while dotascript lite (the client side script) has been written for mIRC in mIRC’s own scripting language and for Xchat in Python. It has been a good experience. Now I only need to find a host for the bot so I can join in on the fun with my client :) .


Copenhagen Marathon

June 4, 2009

I’ve been training for this on and off for almost a year and its been a long journey. I ran most of the marathon with my training partner from the dormitory until he decided to leave me behind at 33 km :P .
Here we are after 12 km still very pleased with the situation.

12 km just outside GAHK

12 km just outside GAHK

Beneath we are at about 32 km with Sortedams Sø in the background. As can be seen from the photo it had rained quite a lot but from here on the weather improved. We stopped beside the lake for a break and took a good long piss. I’ve never felt better in my entire life.

Maraton 030

A short while later I really started to succumb to my exhaustion and I really just pushed myself to run as far as at all possible before I could slow down to a walk. I knew that if I stopped to soon I would never get to the end. At 39 km I stopped at the last water depot and I felt extremely dizzy. I walked 2 km and managed to increase the pace to a slow run for the final km. Thanks to the supporters on the side! I finished at 4:15 – here are my stats (open with Garmin Training Center)
Thanks to all the familiar faces along the way they really helped me on! :D

Next stop 55 km Laugavegur Ultra Marathon, Iceland


Vinhejk 5.0

June 4, 2009

Vinhejk was a blast!
A short description of the route: We started at Husum st., walked along Vestvolden to Vestskoven and ran up an old dump turned into a hill = Herstedhøje!

herstedhøje

After a short rest we rolled down the hill and continued towards Ballerup and Pederstrup. We walked along some rail tracks and through some allotments and made our way to the old Fuglehavehus site.
Somewhere along the route we happened upon some unknowing sheep and had a lot of fun with them. Silly animals. Also worth mentioning: we bathed in a small lake and made twistbread which was a big success.

sheep

I drank about 2.5 L of red wine and have a couple of blanks in my memory.
Here are some more photos
I’ve also bought the domain vinhejk.dk and expect to make some kind of portal for the community :P .
Look forward to Vinhejk 6.0


Negligence

June 2, 2009

Wow, its been a long time since last time. It is not because I haven’t done anything interesting, rather the opposite, I feel I have been a busy bee. Thanks to my good friend Google Calendar I can summarise May 2009 like this:

  • 1. – 31 km run
  • 2. – Brewing combined with Magic showdown among old friends.
  • 3. – My nephew’s 3. birthday
  • 9. – Vinhejk
  • 12. – 18 km run around Dyrehaven
  • 19. – exam in Statistical Planning of Experiments
  • 22. – my own birthday
  • 24. – Copenhagen Marathon
  • 2nd of June – exam in Molecular Biotechnology

Starcraft

Starcraft


and a lot of Starcraft casting from gomtv with some friends from the dorm and some physiotherapy (for my shin splints and lower back).


Java-plugin for firefox 3 in Ubuntu 64bit

April 21, 2009

Finally I managed to do it.
These past 3 months I have really seen how many sites use java code for different things. Not having the java plugin working in linux is a MAJOR issue and one of a few good reasons to boot up windows for me.
The problem is that the 64bit versions of java plugins for firefox doesn’t seem to work out-of-the-box as the 32bit version does. But there is a solution.
java
There are tons of sites out there that explain different procedures for installing the javaplugin for firefox.
Thank to this guide (robinbowes.com) and this guide (ubuntuforums.org).
First of I linked to the javaplugin to ~/.mozilla/plugins but that eliminated the browsers history. Ultimatively I linked it to /usr/lib/firefox-3.0.8/plugins
That restored the history functionality but I had to reinstall addons and retype all my logins. So now everything is working. At least until I upgrade my firefox I believe.