You are here

Python

Souren Consultancy

Kasper Souren is available for projects and for contract work related to free software. My specialties are Drupal, MediaWiki, search engine optimization and Python. I have a wide range of experience in working for NGOs as well as with profit companies across the globe, ranging from Geekcorps Mali to CouchSurfing to B'Tselem, a social network with over 5 million members in the Netherlands and with my SEO skills I've successfully attracted many customers to a furniture business, in a time of recession.

Recursively create lowercase symlinks to filenames with uppercase letters - in Python

I'm working on a project to convert a big ASP website into Drupal. On Windows OSes there is not really a distinction between upper and lower case characters in filenames. At first I thought to just leave the capitals, but on web pages links were sometimes with capitals and sometimes lowercase. So I added some stuff to the Apache configuration, usually inside the VirtualHost directive (this does not work in .htaccess):

        
        RewriteEngine on
        RewriteMap lc int:tolower
        RewriteCond %{REQUEST_URI} [A-Z]

wik2dict

wik2dict is a tool I wrote in Python. It converts MediaWiki SQL dumps into the DICT format.

I'm not actively maintaining this anymore, Aard Dictionary seems the way to go.

Google's issue tracker is not great

We're using Google Code for our trust metrics project, out of sheer convenience, and because of lack of political correctness. Well, I've given up on worrying about privacy a while ago anyway.  I just tried to use the issue tracker that comes with Google Code, but first I got a time-out, there were two identical issues because I refreshed.

numpy documentation

With trustlet, I'm finally getting to a point where we can do cool stuff, evaluating prediction graphs of trust metrics. Now I need to refresh my Python array stuff. Since last time I was using that stuff, in 2004, they have refactored it (once more) and called it numpy. That's fine. But, in order to read an important part of the documentation you need to pay 39.99 US$.