Archive for the ‘IT’ Category

PHP curl – controlling multi concurrency

Wednesday, August 25th, 2010

Right, so I moved from downloading 50+ curl handles using the simple interface to using the curl_multi variant, and suddenly I bumbed into a few problems, firstly my downloads were incomplete by the time the code stopped looping (reference example code!) and the web server took some strain trying to serve 50+ severely CPU intensive queries at the same time (an individual download can take up to a few minutes depending on various things, thus why I need concurrency – multiple cores – can just as well utilize them).
(more…)

Cell C following in the footsteps of Vodacom?

Sunday, July 4th, 2010

Most people that know me well will know that I really don’t like the way Vodacom runs their firewalls for their 3G consumers. In fact, they’ve managed to make it onto my blog no less than 3 times now – and not once for anything they’ve done right. And now Cell C have decided to join the crowd of braindead arseholes who can’t run firewalls. I present to you the man-in-the-middle TCP connection reset. As it stands right now I can’t ssh. I can’t connect to my jabber server. I can’t even browse. At least, not using my Cell C internet connection.
(more…)

Capped, Uncapped and Unmetered

Sunday, July 4th, 2010

Recently we’ve seen an explosion of uncapped accounts entering the market. We’ve also seen that they are typically horribly slow in comparison to capped accounts – and if one goes and reads most of the acceptable use policies it becomes clear that they are in fact not uncapped, but rather, severely shaped capped accounts.
(more…)

Quasar – using git to manage your reports

Tuesday, June 29th, 2010

So after a recent minor bug I got mailed a new report.xml file … and now have to sift through the changes manually, or do I?

I realized that had I had an “upstream” git repository from which the changes came, I would simply have been able to “merge” this into my existing reports. And then came the idea … and then the simplification
(more…)