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
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.
Leave a Comment » |
2009, july, june |
Permalink
Posted by diarrya
June 15, 2009
Today I installed a citation/reference manager called JabRef for my project.

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!
Leave a Comment » |
2009, june |
Permalink
Posted by diarrya
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
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!
Leave a Comment » |
2009, june |
Permalink
Posted by diarrya
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
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

.
1 Comment |
2009, july, june |
Permalink
Posted by diarrya
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
.
Here we are after 12 km still very pleased with the situation.

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.

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!
Next stop 55 km Laugavegur Ultra Marathon, Iceland
Leave a Comment » |
2009, may |
Permalink
Posted by diarrya
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!

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.

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
.
Look forward to Vinhejk 6.0
Leave a Comment » |
2009, may |
Permalink
Posted by diarrya
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
and a lot of
Starcraft casting from
gomtv with some friends from the dorm and some physiotherapy (for my shin splints and lower back).
Leave a Comment » |
2009, june, may |
Permalink
Posted by diarrya