Je vends mon vieux G5

Date Arrow  February 14, 2009

Pour ceux qui seraient intéressés, je vends mon Power Mac G5 (acheté 2003) et son écran, plus toute une série d’accessoires, sur Anibis.ch et sur Ricardo.ch.

Tagged   Apple · SwitzerlandComments  Add Your Comment 

How to build ohcount on Leopard

Date Arrow  April 7, 2008

If you do not know ohcount, you should; the guys at ohloh.net have GPL’d one of their core components, namely the one that allows you to perform source code line counts in your own projects. Neat and useful!
However, the current ohcount distribution (which you can download from this link) does not build out-of-the-box in Leopard. [...]

Tagged   Apple · How to? · Open SourceComments  Add Your Comment (1)

Install MySQL_python in Leopard

Date Arrow  January 15, 2008

I wanted to make my Django blog engine work on Leopard using MySQL as a database engine. I had a hard time making it work, partially because of my lack of knowledge of Python, partially because I am using MAMP instead of a “/usr/local/mysql”-like MySQL installation, partially because of Leopard itself.
The problem is, basically, that [...]

Tagged   Apple · Django · How to?Comments  Add Your Comment (5)

Starting with Django in Leopard

Date Arrow  January 9, 2008

As I’ve written earlier, I’m playing with Django these days. It’s a refreshing change, I must say, even if I admit that I prefer Ruby’s syntax to Python’s. Of course that’s just a purely subjective impression (I’m writing this while I try to avoid the rotten tomatoes thrown by angry pythonistas reading this) that does [...]

Tagged   Books · Django · How to?Comments  Add Your Comment 

Django & Leopard & the UTF-8 error

Date Arrow  January 9, 2008

If you use Django on Leopard, you might encounter a strange “Locale UTF-8 not found” error when running your application. This is due to a bug in Terminal.app, albeit an easy to fix one: just go to the Preferences pane / “Settings” page / “Advanced” tab and uncheck the “Set LANG environment variable on startup” [...]

Tagged   Apple · Django · How to?Comments  Add Your Comment (3)

Updating RubyGems and Rails in Leopard

Date Arrow  December 14, 2007

If you just installed Leopard and the developer tools, you’ll find out that Ruby on Rails is there, ready to be used. But of course, it’s Rails 1.2.3, which is fine, but it turns out that last Friday Rails went 2.0. Not only that, but RubyGems was updated to 0.9.5 lately too… and you’re dying [...]

Tagged   Apple · How to? · Ruby on RailsComments  Add Your Comment (1)

git

Date Arrow  November 29, 2007

If you haven’t tried git, you should. Git is a “distributed version control” system, that is, similar to Subversion with the big difference that… you do not need a server. There are only clients, any of them, and you can pull and push changes to and from other repositories from your project colleagues. The git [...]

Tagged   How to? · Open Source · QualityComments  Add Your Comment (6)

Little terminal trick

Date Arrow  November 14, 2007

If you have to delete a folder which contains locked files, the Mac OS X Finder won’t let you (because the “locked” flag is used precisely for that!). If you want to remove such folder (typically folders coming from a Subversion checkout have this problem) run these commands:

sudo chflags -R nouchg to_destroy/
sudo rm -r to_destroy/

Where [...]

Tagged   How to?Comments  Add Your Comment