This year I held my first talk on a major conference – JavaZone. It was about how we solved th problem of alerting users of FINN on new ads coming into the system without having to perform all searches each time. … Continue reading
I wanted an easy way to count a number of values and keep the distribution to print it, or to be a basis for a histogram. I first implemented it with fixed buckets, but later changed it to grow as … Continue reading
While working with our search solution at finn.no, we needed to split our querystring into each part, still supporting any phrases being passed on. While I’m sure this has been done before, and also that there are more effective ways … Continue reading
A couple of times I’ve wanted to sort files in a random fashion, and allways worked around it someway sorting for size, dates or other things. I needed a random sorting of pictures when making a slide-show for my mother. … Continue reading
I seem to end up doing the same searches on Google each time I want to set up a log4j-configuration; and mostly I want to be able to do the same things each time. Thought I’d just post an example … Continue reading
Not a very pretty script, but I guess I should take the time to re-format it, and delegate some of the code to functions. however – it seems to work… It loops forever through some servers calling uptime, and then … Continue reading
I’ve got several scripts that uses ‘seq’ to egenrate a sequence of numbers. This could be backups, looping over files, etc. I’ve also come to like the simplicity of this tool over the years. ‘seq’ is not a part of … Continue reading
A very good introductory book to the Python programming language: Dive Into Python. And it’s free!