my first CPAN module

| | Comments (0)

long time no posts here. it was a very busy time and the turn of the year was reserved for recreation. that meant no hacking, or at least near to no hacking. it is now well into january already and my new year resolutions include way more activities in the open source space. i use open source every day and contributed to some projects but never released stuff i wrote. that is partly due to the environments i worked in and partly pure laziness.
fighting the latter one i started to release my daemon framework that i use for event driven programming in perl for quite a while. this framework is a grown thing and it takes quite a bit to clean it up and make it a framework rather than a bunch of libraries that happen to be used together. the first step was to create a git repository on gitgub and import all the stuff initially. i cleaned it up a bit and packaged it as a CPAN package and viola, here is Net::Server::Framework.

this package is a complete event driven infrastructure that still needs heaps of documentation and misses quite some parts as i did not get around cleaning up all the parts i wanted to. it obviously includes some parts that just grew and should have been replaced ages ago. all in all you can, however, take the beast, unpack it and start writing daemons.

in a post that will come later on i'll explain the inner workings a bit more, the idea of it is, that you write a daemon per functionality and then let those daemons interact with each other. if you are familiar with erlang you will notice the parallels here and probably understand why i think that erlang is a perfect fit for my sick brain and the problems i try to solve. the stuff you find on the github repository contains two working daemons that you can use as templates.

go out and play with it, feel free to mail me with questions, have fun with event driven programming.

Leave a comment

Side Blog

erlang web framework

nitrogen looks like a very promising candidate for a coming small project. love the event driven way they do things.

denyhosts

a nice daemon that i found way too late. it hopefully helps me to make my security logs readable again (denyhosts). after enabling it i just wanted to check if the file is readable and had the first entry already. now after about 10 min i am up to 3 hosts ...

notes everywhere

a nice application for note taking: evernote. a really cool app that looks somehow promising. i'll test it.

jabber blog client

after some cleanup of the codebase we will release our jabber bot under a opensource license ... watch this space for news on this one

perl blog API

Net::Blogger is a nice perl interface for various blog engines

MacVim

i found a nive macified version of vim today: http://code.google.com/p/macvim/ really nice integration, could probably get me off the console :-)

4 day work week

this is a nice read about a really good experiment. google has its hack friday where everyone can work on his own project. 37signals killed the friday entirely. looks like productivity slowly gains over "hours worked".

iodine on Mac OS X

iodine seems to work fine on Mac OS X. i found a short intro here: http://www.brool.com/?p=94 and thanks to lev i have a working setup now. ... out for testing ...

a good friend is gone ...

i read about it today and still have a sms from him from last week. bernd luevelsmeyer, a good friend of mine, is gone. he was probably one of the most important influences in my work live and guided me on my way to UNIX and the console. he was the best sysadmin i ever had and was always a good friend.

sad to see the real geeks leaving this planet.

distributed computing setup

an interesting read about a openvpn deployment for distributed computing (http://www.linuxjournal.com/article/9915)