Archive for the ‘Technical’ Category

Django FormWizard best .. well .. useful practices

Django FormWizard usefulness: emulating decorators .. more to come

February 24, 2010  Tags: , ,   Posted in: All ENGLISH articles, Technical  No Comments

MP3 collection filesystem structure

A usable specification for naming conventions for MP3 collections. Coverart, track filenames, what to do? Well read this article :)

January 19, 2010  Tags: , , ,   Posted in: All ENGLISH articles, Technical  No Comments

Amarok kicked out the window. Hello Exaile!!

My god, what happend to Amarok. It used to be a great player. The latest version turned into a -non-intuitive-non-flexible-interface- audio player.
As Brian says it very eloquently in Songbird vs. Amarok: How not to design a GUI, and currently working on interface design myself. Amarok .. WTF?
After reading the Middle pane thread on the KDE [...]

January 4, 2010  Tags: , , ,   Posted in: All ENGLISH articles, Diepe zucht, Technical  One Comment

Django: get distinct field selection

A function for Django that is a simple and safe solution to get a distinct (group by) field selection from a model.

December 16, 2009  Tags: ,   Posted in: All ENGLISH articles, Technical  No Comments

Django: QueryScreener, a record level ownership development auditor

QueryScreener is a middleware development tool that helps to avoid unwanted data disclosure once you go into production. It monitors queries to the models and warns you when queries are executed that lack a ownership clause.

October 26, 2009  Tags: , ,   Posted in: All ENGLISH articles, Technical  No Comments

“Walk-around” for pre lighttpd-1.4.23 feature “fix-root-scriptname”

Walk-around should ofcourse be workaround but it feels more like a walk around …
Today I ‘moved’ the first version of my application from the Django development setup (run via “./manage runserver”) to a lighttpd/fcgi production setup. Been cleaning up code and concluded I wanted the app straight on the ‘/’ or docroot with [...]

August 15, 2009  Tags: , ,   Posted in: All ENGLISH articles, Technical  No Comments

Script goodies in Delicious toolbar

By mere coincidence i figured out that scripted bookmarks work just as well in the delicious bookmarks toolbar as they would do in your regular bookmarks toolbar. (That is .. tested with FF 3 on ubuntu
For example, if you put this:
javascript:void(location.href=’http://tinyurl.com/create.php?url=’+encodeURIComponent(location.href))
as a url target in a bookmark it redirects you to a page [...]

April 23, 2009  Tags: , , , ,   Posted in: All ENGLISH articles, Technical  No Comments

Using Open Office 3.0 (and make Ubuntu play nice)

UPDATE: Due to updates of the old 2.4 package this trick does not work anymore. But this installВ  guide says how you can make it work.
As an improvement on this post below a quick and clean Open Office 3.0 install (tested on Ubuntu 8.04).
Download the ‘Linux DEB’ based tar file from the OpenOffice website. Unpack [...]

November 21, 2008  Tags: , ,   Posted in: All ENGLISH articles, Technical  No Comments

Dirty hack for Wordpress to realize a hard return

Ever wanted to have an extra white line in your post just because it looks nice? Searched the forums and all you got was replies to go straight into the CSS code? … But I just want that 1 line d*mned …
Mind you, It’s beyond dirty but very effective. Here’s how:
Put a “.” [...]

August 9, 2008  Tags: , ,   Posted in: All ENGLISH articles, Technical  8 Comments

Solved python regex raising exception “unmatched group”

If your a regex guru, and you know why you came here, you can go straight to the brief explanation. If not just keep reading.
I found a workaround for python bug 1519638. It most definitely will not solve all of the puzzles out there but it stops breaking the sub method for replacing with the [...]

July 11, 2008  Tags: , , , ,   Posted in: All ENGLISH articles, Technical  10 Comments