November 23rd
I stole the following code off the internet some time ago and now I can't live without it. It's a hack that make your bash prompt show which git branch you are in in its prompt, by setting the PS1...
October 28th
The problem: I want to redefine some methods in a class and replace them with a methods that do the same (ie call the original method) plus a little more. Basically I want decorators, but without...
June 16th
Warning: what follows is arcane knowledge, but since I could not find a straight answer to it when googling around I thought it worth writing a dedicated entry for it.
The situation: I am...
June 14th
At last! A graphical editor for pure ascii charts :-)
http://www.asciiflow.com
March 22nd
I was doing a bit of research lately on the issue of 'technical debt'. This post will just summarize some of the more interesting things I came across.
Of first interest was a classification...
February 19th
I keep getting hurt at work because I put too much of my self into the code I write. Lately, I stumbled upon the ten commandments of egoless programming. They have been around for a while, since...
December 12th
I bought an oyo ebook reader a few weeks ago. This reader has recently appeared on the market in many countries across Europe and comes bound to a webshop (chapitre.com, thalia.de, you name it), a...
December 10th
A beautiful peace of wisdom on how to write good commit messages:
http://who-t.blogspot.com/2009/12/on-commit-messages.html
"Any software project is a collaborative project. It has at...
August 26th
Perl comes with a fantastic tool: prove. Prove searches for all the test files under a directory, runs them and reports the results. Anyone used to developing code and tests in parallel ends up...
February 16th
This is common knowledge but I found it so useful that I have to make sure it spreads even more :)
You can make bash register timestamps in its history:
export HISTTIMEFORMAT='[%F %T]...
August 26th
What comes now is the description of a hack I did to avoid the occurrence of splitbrain in a 2 node linux cluster running heartbeat and drbd for disk replication.
I am not going to detail how...
August 21st
I like my life right now.
I recently changed job and started working for a young IT firm, as a software developer. But before developing some code you need servers to run it on. So for the past...
March 27th
I was recently reading on JavaWorld a serie of 2 articles discussing the advantages of actor-based parallelism over traditional approaches involving shared objects and locking mechanisms. Those...
March 8th
I am a backup freak. My home setup encompasses a file server that has 2 disks mirrored against each other using RAID1 and a second server that rsyncs its content against the main file server every...
January 23rd
Oh My God! I just stumbled upon my first MAC OSX trojan! And mostly written in shell script! I am just amazed.
But let me tell you the full story. I was googling to find a specific ebook for...
January 21st
Sitting in a warm bath this morning, enjoying the peace before the storm, I came to realize a striking thing: software development goes very much like the law of the jungle. To survive in a...
November 5th
A few days ago, I wrote about some ideas on how to adapt Python decorators to Perl .
Well, the ideas grew and soon enough I couldn't keep them in my head anymore so it became a module:...
November 4th
The source holds the truth.
That's it, really. In the developer's world, there is no need to add anything else. No need for metaphor-filled rhetorics, no need for demagogy or opinion surveys,...
October 30th
I have been playing around with Python lately and this evening I stumbled upon this blog entry in which Bruce Eckel gives an excellent introduction of a Python feature called a 'decorator'....
May 24th
At last! Today is the first day of this year's Nordic Perl Workshop. About 50 attendees, the highest number ever reached in Sweden!
I am pretty sure me and Claes have forgotten tons of things...