Blog

Android, nomedia and the audio library

2014-05-28

I recently bought a new Android Phone with KitKat. This is the first time I'm using Android for more than simple phone calls and the occasional route planning. It's a quite decent OS. However, one thing that happened to me was a usability nightmare. I use the phone to listen … more

Migrating Django projects with fixtures

2014-05-07

When migrating a Django project it's often useful to work with the built-in dumpdata and loaddata management commands. However, this can easily lead to errors like django.db.utils.IntegrityError: Problem installing fixture Could not load foo.Bar(pk=ba): (1062, "Duplicate entry for key 'app_label'"). Such errors indictate that a similar object already exists in … more

RuntimeError: App registry isn't ready yet

2014-04-13

The upcoming Django 1.7 has many interesting and welcomed changes. One of them is an update to how applications are loaded. The relase notes also mention potential problems with these changes. I ran into RuntimeError: App registry isn't ready yet while using the self-contained tests approach, but the fix is … more

Django-filter and custom querysets

2014-03-21

Django-filter is a powerful tool, but the documentation is a little sparse. If you want to see examples of custom Filters you have to dive into the source code. I recently wanted to add a filter for methods on a custom QuerySet. Unlike custom managers, custom QuerySets allow you to … more

Using django-tables2, django-filter and django-crispy-forms together

2014-03-18

Using django-tables2, django-filter and django-crispy-forms together I was recently working on a very CRUDy prototype and decided to use some Django applications and tools together I hadn't combined yet: Django-tables2, an excellent application that allows you to quickly build tables Django-filter for easy filtering Django-crispy-forms for easy form creation A view that uses all three apps … more

I use irssi for IRC and wanted to highlight various regexes in different channels. Unfortunately the help text wasn't very helpful, so here's an example. more

Django has had a setting for allowed hostnames for a while [1], but starting with the 1.5 release it was required [2] to set it. I'm not sure why I only started getting Invalid HTTP_HOST header emails after my upgrade to 1.6, but anyway, they started pouring in. It's a … more

Typo3, Formhander and the eval() of death

2014-02-07

I was working on a typo3 site again that uses formhandler. Formhandler advertises it's strength as being usable for building rock solid, state of the art forms in TYPO3 the easy way. I'll give the extension that you can build complex forms with it. I wouldn't exactly call it easy … more

Using Wayland/Weston in Debian

2013-10-26

As of today Weston is available in Debian sid/testing, and it is very usable, at least for me with an ATI card. I have been tinkering with it a bit. One of the things I did was to switch to a german keymap (see man 5 weston.ini and /usr/share/doc/weston/). Several … more

FBTC Exchange closed

2013-10-25

Anything to add? Please leave a comment or contact me. As I'm not involved with this exchange I can only use info readers send me. 2013-10-31 Coindesk seems to have access to new information: "Once the malicious software was able to obtain financial information from its victims, the four suspects … more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo