Check out (pun!) Giggle, a graphical frontend for the git distributed revision control system. Cute name and much lovelier than gitk. It’s pretty new but already does a lot, and more is planned. See the screeny.
-
Graphical Git on GNU/Linux with Giggle
April 27th, 2008Tags: git, gtk, revision control -
Making a staging database with sed
April 26th, 2008Tags: beta, database, development, mysql, sed, stagingQuick one - thought was was cute and useful. I take a copy of live databases once in a while for use in the staging environments, but some apps have references to the live url in the there (Wordpress does this and makes all its redirects using it, making it particularly difficult to test in staging).
This is a simple little way to change all the urls in the db as you clone it:
mysqldump -h live_db_host -u user -pmypass live_db | sed -e '{s/www.example.com/staging.example.com/g}' | mysql -h staging_db_host -u user -pmypass staging_dbThough depending on your MySQL table type you might want to dump to disk first, then pipe it through sed as your live tables might be locked (I’m not actually sure if mysqldump will block waiting for the other processes to catch up)
-
Broken Bus Window
April 20th, 2008 Tags: broken, bus, window -
Speaking at the Manchester Free Software Meeting
April 8th, 2008Tags: brightbox, comic, eler, free software, manchester, talk
I’m speaking next Tuesday (15th April 2008) at the Manchester Free Software about my geeky web comic, Everybody Loves Eric Raymond. Apparently people are still interested in it even though it hasn’t been updated since December! Hooray!It’ll be a bit of a mix of the two talks I’ve done before on ELER, so some stuff about the history of the comic and how I make it, plus some ranting about free software, free markets and leaders.
I was asked by the then organiser (and my friend) Matt Lee who was then extraordinarily renditioned to North America with his new wife, leaving the new organisers to pick up the pieces. Luckily most of the pieces were found and it’s all go, though I do now appear to be talking about my new Rails hosting company too and my name is spelt differently. If there is time, I’ll talk about some of the stuff we’re doing at Brightbox with Free Software.
Talk starts at 7pm at the Manchester DDA. More details on the Manchester Free Software website.
-
6 year old Gnome bug picks up pace
April 5th, 2008Tags: bugs, free software, gnome, nautilusThis bug regarding the Nautilus image thumbnailer performance was reported almost 6 years ago. It had input on it at the rate of around one message every two months, up until the end of 2003 - then nothing until 2006, where duplicate bug reports start coming in pretty regularly until the end of 2006. All pretty quiet until then, kind of suddenly, Michael Chudobiak writes a patch that speeds up Nautilus almost 3400%
I used a test folder that had four 15000x400 tif images and four 15000x400 png images (solid colors). Without the patch, it took Nautilus 4 minutes and 30 seconds to thumbnail the folder. With the patch, it took 8 seconds. I'm not clever enough to touch the actual pixop codebase. But these numbers suggest there is enormous room for improvement! This bug has been open for 6 years - nudge, nudge.
Because free software is forever we can just afford to get there in the end :)

John Leach is a human being living in Leeds, UK.