Blue Static

Archive for the ‘leopard’ tag

Scrabbalize 1.0

Posted on December 22, 2007 at 08:28 UTC, filed under the category Cocoa. Tags: cheating, Cocoa, leopard, scrabbalize, scrabble, text twist,

Last weekend my friends and I discovered the Scrabulous application on Facebook. Personally, I am very bad at Scrabble, but my friends insisted that I play. The game was starting to hurt my head and I was getting frustrated, so I wrote a program to do the thinking for me. Enter Scrabbalize.

Scrabbalize is quite simple. You type in all the letters (“tiles”) for your game into the text box as one long string. Press go, and then the program will run through a dictionary, finding all the words that have some or all of your letters. It then sorts the words by length so you can see your best options.

It is written in Cocoa and it requires Mac OS X 10.5 beacuse I wanted to try garbage collection and fast enumeartion. Both of these things make my life significantly easier, so expect all future Mac OS X applications to require 10.5. Of course, the source code is available if you want to take a gander.

Scrabbalize 1.0 screen shot.

MySQL in Leopard

Posted on December 4, 2007 at 16:36 UTC, filed under the category Uncategorized. Tags: leopard, mac os x, mysql,

Many people have been reporting issues with MySQL under Leopard with this error:

mysqld: Can't create/write to file '/var/folders/2F/2FtguLeuG1ibx1X9tbDS0E+++TI/-Tmp-/ibYWBjEU' (Errcode: 13)
071204 11:15:48  InnoDB: Error: unable to create temporary file; errno: 13

I have discovered a fix for this particular issue. First, in the Terminal, go into your MySQL root directory (mine is /usr/local/mysql). Then type these commands:

sudo mkdir tmp
sudo chown _mysql:wheel tmp
sudo chmod 755 tmp

This will create a temporary directory that MySQL will use. Now we have to make sure MySQL knows about this new location for temporary information, so open up your my.cnf and add this line:

tmpdir=/usr/local/mysql/tmp

(Where the path after the equals sign is the path to your tmp directory).

After this, restart MySQL and all should run fine.

RGB Converter 2.2 Released

Posted on November 28, 2007 at 18:23 UTC, filed under the category RGB Converter. Tags: leopard, RGB Converter,

I have just updated RGB Converter to version 2.2. There’s relatively few changes involved. The first is a long-standing request to remove the gradient highlight over the color swatch so that there isn’t confusion over the hue. Secondly, a small drawing issue occurred under Leopard would cause the green RGB triad field to be moved to the next line.

Enjoy.