It's been quite around here. That's mainly due to the fact that I had visitors from Canada over, and led them and two more visitors from Norway around beautiful Berlin and Potsdam. Being a tour guide sure is a full-time job.

I held a (not so small) talk on Git yesterday at the Ruby User Group Berlin meeting. The slides are up on slideshare.

I'm using git and git-svn on a daily basis these days, and like most of the people, I'm enjoying it. I'm using GitHub to host my first open source toy called Macistrano, a Mac OS X desktop frontend for Webistrano, written in RubyCocoa. Yes, it's a frontend for a frontend. Gotta be meta these days.

It's not yet feature complete in the sense of a 0.1 version, so if you check it out, there will be bugs. An official announcement will follow.

To get more out of git, don't forget to check out Scott Chacon's talk at the RailsConf 08, and his excellent PeepCode book "Git Internals". If you just started using git casually, this book will take you deeper into the internal workings of git and the repository. Well worth the $9. For me, it was of great help to understand and appreciate how git works internally.

Tags: git

If you ever see a list like this in your MySQL process list, run!

+---------+--------------------------------------------+--------------------------------+------------+-----------------+------------+-------------+------------+
| Id  | User                 | Host           | db   | Command | Time | State | Info |
+---------+--------------------------------------------+--------------------------------+------------+-----------------+------------+-------------+------------+
| 442 | unauthenticated user | 10.1.1.2:55885 | NULL | Killed  | NULL | login | NULL | 
| 443 | unauthenticated user | 10.1.1.1:48009 | NULL | Killed  | NULL | login | NULL | 
.....
| 444 | unauthenticated user | 10.1.1.1:58105 | NULL | Killed  | NULL | login | NULL | 
| 445 | unauthenticated user | 10.1.1.2:60799 | NULL | Killed  | NULL | login | NULL | 
+---------+--------------------------------------------+--------------------------------+------------+-----------------+------------+-------------+------------+

No seriously. Apparently it's something of a known bug which comes up at unpredictable points in time.

One proposed solution is to add all your internal hosts which can't be looked up through DNS to your /etc/hosts file:

10.1.1.1    appserver1
10.1.1.2    appserver2

Et voila. The exact same moment, all the users were authenticated. Scary? Yes. Weird? Yes. Problem solved? Yes.

Tags: mysql

I've been using xScope for a while now, and I highly recommend it for everyone pushing around pixels, divs and whatnot. Its rulers and the loupe have become invaluable for me.

The recent upgrade to 2.0 (current is 2.1) introduced a neat new feature which quickly measures the dimensions of anything under the cursor. It'll find the next border in every direction and give you nice and easy measurements.

Picture 1

Of course that's far from being all it does. Go check it out. It's a neat little gem. Available from the IconFactory.

In other news, I finally decided to go on the Twitters.

Tags: macosx