Blog from the Loft

Thoughts without walls

Blog from the Loft header image 4

Entries from January 2008

Emacs for OS X Leopard

January 30th, 2008 · No Comments · django, mac, technology

I have been using the text mode emacs up to now. On Windows (yikes!) I uses the xemacs with windows extension, which is pretty nice. Quick googling found me Carbon Emacs. It has been updated, universal binary and Leopard. Highly recommended !

[Read more →]

Tags:

gettext on Leopard for Django Internationalization

January 30th, 2008 · No Comments · django, mac

I started working on one of my internationalized applications on the new Mac. I realized I did not install “gettext”, which is required by the make-messages and compile-messages scripts. I want to avoid installing things into OS X if I can. Then I found the easy way out:
1. Install poedit for os x. I need [...]

[Read more →]

Tags:

Fighting spam in wordpress by bulk deleting comments awaiting moderation

January 26th, 2008 · No Comments · technology

I have lots of spammer breaking this blog and submitting comments. They are all held for moderation (i.e. delete). But deleting them using the wordpress admin interface manually is painful. Sometimes I let the comments build up, and then I end up having too many of them in the system. The admin interface cannot [...]

[Read more →]

Tags:

Unresponsive Keyboard on Leopard

January 26th, 2008 · No Comments · Uncategorized, mac

I started using Leopard, and I swore my keyboard froze once in a while. I thought it was iTerm or something. Until this morning Apple software upgrade told me that there is an upgrade, and it solves the problem. So I was not seeing things. It was a bug! Read and download the update here [...]

[Read more →]

Tags:

Django on Leopard

January 20th, 2008 · No Comments · Uncategorized, django, mac

Part of the reason I was waiting to switch from using Windows XP (gasp) as my Django development platform to OS X is that it is actually easier to install the platform on XP. Windows does not come with any of the tools, so it was a matter of installing the version that I need. [...]

[Read more →]

Tags:

Django 0.96 Internationalization

January 6th, 2008 · No Comments · django

I am trying out Django’s i18n support and found a few issues. This only applies if you are using newforms and Django 0.96.
Order of Middleware
First, the order of the middleware is important. It is defined in the documentation, but I missed it the first time around. You have to put the localeMiddleware after SessionMiddleware:
MIDDLEWARE_CLASSES = [...]

[Read more →]

Tags:

Snap Circuits SC 300

January 1st, 2008 · No Comments · review, technology

My love of electronics and computers, which defined my career, can be traceback partially to having a electronic building block toy when I was very young. Back then, we do not have Snap Circuits. The toy/kit that I had was more powerful and less user friendly. You can only buy that kit as a specialty [...]

[Read more →]

Tags: