Archive for February, 2010

February 16th

Timestamps in bash

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]...

Archive for August, 2009

August 26th

Avoiding splitbrain in a heartbeat/drbd setup

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

Born to be root

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...

Archive for March, 2009

March 27th

From good old batch systems to actor based parallelism

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

sshfs + encfs + rsync = encrypted remote backups

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...

Archive for January, 2009

January 23rd

My first OSX trojan!!

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

Darwinian software development

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...

Archive for November, 2008

November 5th

Welcoming Python::Decorator

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

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,...

Archive for October, 2008

October 30th

Python decorators in Perl

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'....

Archive for May, 2008

May 24th

D-Day

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...
May 6th

Nordic Perl Workshop 2008

The future is looking bright for this year's Nordic Perl Workshop. 17 talks registered so far and about 50 persons expected to attend, a third of them traveling to Sweden especially for the event....

Archive for April, 2008

April 25th

pushd and popd

It's amazing how one can keep on learning new bash tricks year after year. Today's candy is a pair of bash builtins: pushd and popd. pushd pushes a path on a stack, and popd pops the latest stacked...
April 21st

Logo for the Nordic Perl Workshop 2008

Lately I have been helping Claes Jakobsson to prepare the 6th edition of the Nordic Perl Workshop, to be held in Stockholm this year, at the end of may: http://conferences.yapceurope.org/npw2008/...
April 6th

Everything is impermanent

I had a shock yesterday when I realized that I could not remember the name of the software I was working on 5 years ago. 5 years ago I had been working for 3 years on developing a software...
April 4th

Developer motivation versus team growth

It seems hard to keep the motivation and engagement of a team of programmers at its top when their software's growth requires the team to expand. There is a fine line to walk there, along which...

Archive for March, 2008

March 14th

Painting keyboard keycaps

While switching to the dvorak/svorak keyboard, one issue I faced was that as long as I could see letters and signs on my keyboard's keycaps, I would keep on looking at them while typing. The only...
March 12th

Coding in music

Do you usually listen to music at work? Do you often look like a raving monk, sitting still in front of your screen(s), fingers dancing on your keyboard, a huge pair of stereo headphones crowning...
March 7th

E-factor

Today, Peopleware taught me about the E-Factor. The environmental factor is a simple measure: count the number of uninterupted hours you have at work during an average work week, and divide it...
March 6th

Peopleware

Today, I received it. It was waiting for me when I came home, humbly wrapped in a flat usps envelope. It had come to me at last, all the way from a second hand bookstore in a remote corner of the...