Basic Python course in Karlskona

I will be giving a course in basic Python in Karlskrona on March 27. This is a course for those who already know programming, and would like to learn Python from the ground up, or for the developer who has done some work in Python but wants a broader knowledge and...

I accidentally the server

Some of you may have noticed that BitSyncHub (and my company homepage) went down for almost three days this week. Now, I’m proud of my skills building highly available, fault-tolerant, state-of-the art and bleeding edge systems, deployed on OS, vendor and...

Synchronize Bitbucket to Github automatically

Introducing BitSyncHub Since I’m an automation nut, when I found Travis CI, I was understandably excited – automatic running of my testcases for hgapi from the repository as opposed to a pre-push hook (as I have had it set up since the beginning of time)...

See you in Florence this summer?

I’ll be in Florence for EuroPython 2013 and do (more or less) a follow-up to the training session I held last year – a very hands-on venture into Python lanugage and standard library features that will allow you to implement your bad ideas in awesome hacks...

WGS-84 distance calculations at the speed of C

When we started with fleet management at Visual Units, one thing was really hard to get right – distance calculations. There was no end of information available, but most-to-all of it was on a level of mathematics far beyond a poor developer who feels that...

pyRest part 5: You can actually use this

(part 1, part 2, part 3, part 4) I’m almost done with the parts to make this project PyPI ready – it can now work on your application as long as you implement the actual code to route calls to the right part of your API – this works: Listing 1....

pyRest part 4: Separating the parts

(part 1, part 2, part 3) I’ve now split the code into separate parts – pyrest.py now only has generic functionality for hooking and routing, along with a bunch of helpers to create responses with HTTP response types. In fact, it’s only 35 lines of...