Category Archives: IT

Fix Django’s Unable to configure filter ‘require_debug_false’

Error on my ubuntu server:

ValueError: Unable to configure filter 'require_debug_false': Cannot resolve 'django.utils.log.RequireDebugFalse': No module named RequireDebugFalse

Fix:

apt-get install python-pip
pip install --upgrade django
[..]
You have just installed Django over top of an existing
installation, without removing it first. Because of this,
your install may now include extraneous files from a
previous version that have since been removed from
Django. This is known to cause a variety of problems. You
should manually remove the
/usr/lib/python2.7/dist-packages/django
directory and re-install Django.

Well okay..

rm -rf /usr/lib/python2.7/dist-packages/django
pip install --upgrade django

Done

 

 

 

 

Growl 2.1.2 Download / Binaries

The good people at growl provide the source code for growl on code.google.com and the binaries on the App Store. If you’re a cheapskate like me, you’ll save yourself 4 bucks and build the thing yourself.

Just in case anyone else wants the file, here you go Growl.app.

Building my own CNC Mill

In my effort to learn about electronics and mechanics, I decided it might be nice to build a CNC mill.

So here I go – I bought three stepper motors and a stepper driver board (sooner or later I want to be able to replace that, obviously) plus transformer.

While surfing the web for inspiration how to build the table, I stumbled upon Werkstattonline.ch by Dave. He basically did in a few hours what I want to do in the next few weeks 🙂

I wrote him a few lines - primarily about sourcing the components. Thankfully, he responded quickly and gave me some hints where to look.

Current state: Looking for (cheap) rigid couplings and other parts to build the “table”. Stepper Driver case assembled, emc2 is set up – still some issues with the real time kernel though.. my stepper motor seems to stutter a little. I am thinking about getting myself a cheap old pc, with 32bit Windows XP or the like.

Spring Roo not ready for google appengine (yet)

For all who haven’t seen Ben Alex‘s presentation on stage at Google I/O (full length video here) should do so now.

Spring Roo looks very promising for rapidly developing applications for Google AppEngine. SpringSource Tool Suite is the IDE I used to test the sample code and tried to write my own.

Unfortunately, Spring Roo is still a work in progress and (at least for me) not usable to do anything useful. In fact, I’ve not been able to run a hosted google appengine successfully.

  • GWT SDK is always missing (“No GWT SDK in classpath”) – you need to open the GWT settings dialog and then close it again (yes, really).
  • You need to enable Dependency Management (you’re expected to know this, the error is “Could not find any host pages in project“)
  • “perform” (to test and package – to run mvn commands) output is not shown, so you don’t know if your build has failed or not. (ROO-867) (Update: Fixed in 1.1.0.M2)
  • Roo together with Datanucleus’ data enhancer does not seem to work with GAE SDK 1.3.4 (“Found Meta-Data for… but this class is not enhanced!! Please enhance the class before running DataNucleus.“) (I have no idea to get around this)

So when SpringSource saidTight integration with SpringSource Tool Suite and Spring Roo to provide a polished, productive developer experience”, it was mere marketing speak.

Update: While I stand by me snarky remark – I will revisit Roo in the coming months.

Parsing Crontab Syntax With Java

I wrote a small piece of code I wanted to share: I wanted to parse/interpret crontab style syntax in java and found out that there is not a single simple way to do this available right now. So I wrote a very basic parser.

Allows you to parse syntax like: */15,12 7-11,13-17 * * 1-5

Download the source

Update: It seems this code is now to be found in certain IBM products (with my permission).

Xbox 360 Firmware boots backups!

Hey good news – even though I don’t own one (because there were no hacks available until now): It’s been done, the XBOX 360 boots backup discs!

Torrent

Switch.ch / NIC Blocking WHOIS Requests

Since 2002, when Microsoft abused Switch’s WHOIS Service they’ve introduced very strict policies and technical baffles.

Today I tried to lookup a .CH domain using whois.nic.ch – without success:

They seem to block requests based on subnets, not on IPs, so all I got was:

[Querying whois.nic.ch]
[whois.nic.ch]
The number of requests per client per time interval is
restricted. You have exceeded this limit.
Please wait a moment and try again.

Debug Your Remote Geek Style

As you may have read, I’ve bought a Logitech Harmony 885. Now the remote is good, but one single button does not seem to work: the Channel Up button. So what do we do? We test, try, let the remote learn IR commands and almost resign. But how can you be sure your remote does not a wrong command but doesn’t send any command at all?
Simple: Get you digital camera out and take some pictures:

Harmony885 IR working
working, you can see the light
above my thumb.
Harmony885 IR not working
no light, not working

Xara Xtreme is now Open Source!

Hooray for the GPLed Xara!

A big thank you to the creators and decision makers at Xara!

Click here for the good stuff

Playstation 3 In-Game Photos

During Phil Harrison’s keynote speech at GDC, a member of a Spanish forum snapped some pictures of some the games shown and posted them online.

Link