Posts categorized “Ramblings”.

A ongoing discussion about C and libmemcached – don’t censor me

And there I was, happy as a 4-year old who had just found a whole box of strawberries.

Then all of a sudden, along came a post about how Amir Salihefendic had made a little daemon in C, using libevent and memcached, that would allow him to cache a http request in memcached. I don’t quite get why one would like to reinvent a reverse http proxy like that, and stated my arguments on why I thought that this seemed like a really bad idea.

As you can tell from the comments, he did not agree. It ended up with him deleting my last comment. Good thing I kept a copy in my clipboard. So, here are the comments. More… »

DNS management done right (and without the crappy attitude)

I’ve been using GratisDNS A free danish dns provider to manage my dns for a long time. Using their management interface is no walk in the park. It also has a bat habit of sending the username and password as a hidden form variable for every page request, in cleartext mind you. Nothing like examining the source of a page (for instance, if you wanted to make an python api) and seeing your password in cleartext.

As far as their interface goes, I can deal with that. It works, and it seems to do what it’s supposed to do fairly easy. A thing that has pushed me over the top, is the admins inability to help diagnostic a technical issue related to using their system as a secondary dns in front of a hidden primary.

Yesterday a good friend of mine told me that there was a new player in the dns game, one started by some people that seem to care about usability, exciting features (multiple dns templates per domain) and external api’s (goodbuy BeautifulSoup). It’s called QuickDNS.

So I rushed to their site, created myself a user and started tinkering around. Let’s just say, the it was actually a pleasant experience to do, things just workedtm. So I setup a few templates and now have transfered a handful of my domains over there. Seems to work very well, just as expected.

So a very big congratulations to the whole QuickDNS team, you’ve done an excellent job, and made me a happy customer.

I seem to have agreed to give them a case of cola once they start implementing the axfr / hidden primary feature, and another one on completion. Can’t wait!

Mercurial trac commit hook

Having searched a lot around google, it does not seem that anyone has published their trac commit hooks for mercurial. Since I had to use just that, I’ve cooked up a little hook which is based on the hook from the timingandestimationplugin. I’ve created it as a changegroup hook, and it’s probably filled with bugs, but it seems to work and it catches the fixes #42 and such.

To use the hook you must place it somewhere inside your PYTHONPATH and tell mercurial to use it (I placed it in a module called trachook — don’t call your module trac):

[hooks]
changegroup = python:trachook.hook

And tell the hook where to find your trac installation:

[trac-hook]
root = /path/to/trac
url = http://url/to/trac

Grab your own copy of the source, and happy coding. And a big thank you to Jesper Nøhr.

Also, if you need a place to host your mercurial repository but don’t wan’t to set it up yourself, check out bitbucket.

What open source and dentists have in common

So this morning I went to the dentist. I have the most fair and lovely dentist in the whole world, but today, there were a new dentist in town. Now I really don’t mind dentists, going to the dentist or doctors in general, but what i don’t like is not being informed about what is going to happen next. The same goes for open source projects.

More… »

Stress a pigeon – the game

Seeing as Copenhagen (the city where I live) has a whole lot of fat, lazy pigeons, what better to use them for, than a little game giving them exercise and entertainment for yourself.

The pigeon’s of Copenhagen are quite lazy and probably won’t even move unless you are very close to stepping on them. You can easily walk very close to most of them, and you could hand feed them if you thought that was fun. I don’t. I’m more into stressing them.

More… »

I’m Mads Sülau Jørgensen – home owner

Having just entered the door to my current apartment, looked down at the floor located and opened an envelope from the reeltor “Estate mæglerne” it seems as though I’m now the proud owner of a 2 room apartment located at Vesterbro, Copenhagen.

All things considering I now just have to get the bank’s signature, and another signature from my lawyer before I can start thinking about the livingroom’s color and get someone to help me moving my wonderfull, red, crap ikea-couch.

Apparently I’m going to …

… become a part of some crazy VJ scheme. Either way, this odd looking but brave guy wants me to. I still have no clue what the devil he’s talking about. Sounds like fun tough.

As far as I know, it’s supposed to be playing with visual effects utilizing processing, papervision and box2d. I can’t wait to get started. If only the day had 242 hours.

Good news everyone

Guess what. I’ve got a brand new shiny wordpress weblog, with a theme i did not make myself. I actually like it very much, so a good thank you goes to the guy or girl who made it.

Hazaar, hazaar!

At work I’m getting a feeling for the wonders of Actionscript 3. I must say, in the past week I’ve seen a handfull of very odd errors from the compiler and the new vm. Basically I enjoy the new style of coding allot, but it is not all that easy to jump right into the conversion without any prior experience with Actionscript 3. Expect to see a list of the pitfalls I was dragged through some time next week. A sneak peak is that alpha is not an integer from 0-100, but a float from 0-1. I knew that, but still set alpha to 50 way too many times.

Oh yes, I’m on the facebook now. And please do go annoy bromer on linkedin. And Seph has a brand new shiny weblog aswell.