This is really ugly and you will absolutely need it if you'd like to json serialize form errors in Django. Why? Because you'd like to reply to an AJAX request and just pass trough the errors your form has generated. simplejson itself is not able to serialize the ErrorDict. But not the ErrorDict itself is the problem - the proxy objects within the ErrorDict are the problem. Those proxy objects represent a string (unicode here) and will be casted whenever needed. This ensures that you won't run into problems with internationalization.
posted by Jochen Breuer, 2010 February 18
If your Mac occasionally starts crashing with nice kernel panics and no fancy new kernel extensions are loaded, your RAM might have gone bad. But how to find out?
posted by Jochen Breuer, 2010 February 14
A while ago I was forced to create my own cloud solution, since nothing quite satisfied me. Here it is!
posted by Jochen Breuer, 2010 January 03
At least in OpenSuse gksu seems to be no more. After hitting a few pages and looking around I think some of you know the problem. I needed to execute a program with root privileges in gnome. No big deal if you can just fire up a console. But I needed this for my father, so I was looking for the good old gksu. But gksu is no longer part of the official repositories in OpenSuse. So I had to search the big old junkyard and found gnomesu.
posted by Jochen Breuer, 2009 December 28
Just a quick note on the wonderful Juno framework, which I've been using for a small project. Sadly the documentation isn't quite clear when it comes to deployment with mod_wsgi. At least I had some head scratching while reading through the documentation and just had to figure out how to do it.
posted by Jochen Breuer, 2009 October 11
** IMPORTANT UPDATE: Don't use SuperGenPass! ** ---- Like everyone else I have an enormous amount of passwords, because every website you register expects you to create a new pair of login credentials (since most websites don't support some sort of SSO or OpenID. It is no paranoia to choose a new password for every website, because you never know how they store the password and whether you can trust the website owner. So choosing the same password for your Gmail account and your XY blog is not very wise. But that generates a problem
posted by Jochen Breuer, 2009 September 25
A few days ago I found a really good blog post about Google Wave from Jason Kalb.
posted by Jochen Breuer, 2009 September 22
I'm using mercurial as my SCM of choice. It's really easy to use and I love the possibility of branching with clones, because it just suites my workflow perfectly. But cloning is not the only way to coders branching heaven.
posted by Jochen Breuer, 2009 September 07
Recently I've been thinking about an alternative for the widespread way of commenting to blogs or websites in general. Nowadays nearly everyone (including me) has a blog and writes uberimportant stuff to the world. That's nice and fine, but since we have web 2.0 we need to let others comment the stuff we write. This way we get a communication where everyone can participate - and I think that is the really important thing here. But can really everyone participate?
posted by Jochen Breuer, 2009 August 12
Back when I was coding with Ruby I mostly used Netbeans. It is a very nice IDE with lots of useful features. Code completion, VCS support, script debugging, aso. But the support for Python wasn't very good. This changed around Version. 6.7 of Netbeans and there is an "Early Access" version out with Python support.
posted by Jochen Breuer, 2009 July 06
So this is the first real post an it is done with the new Firefox 3.5. Looks really good. But still it tends to suck my battery dry...
posted by Jochen Breuer, 2009 July 02