Founder and coder for Super + Fun, a social funware company. I also enjoy quilting, reading, and singing in the shower.

Things I fixed after upgrading to Snow Leopard

I finally installed Snow Leopard on my 3+ year old MacBook Pro and iMac this weekend. We’re updating to Java 1.6 at work and Snow Leopard was the best way to get that version on my old 32-bit machines. I’ve only found couple things that needed to be changed after the update.

Adium

My old Adium font settings were broken. It looked right in the settings, but chat I sent did not appear in the correct font. To fix, type cmd-T in any Adium window, choose your font, and click “Save This Setting As My Default Font”

Reference: http://trac.adium.im/ticket/12906


MySQL

MySQL is no longer found at /usr/local/mysql. Fix with a symlink.

$ sudo ln -s mysql-5.0.51a-osx10.5-x86 mysql
$ ls -ldt mysql*
lrwxr-xr-x   1 root  wheel   25 Nov  9 14:38 mysql -> mysql-5.0.51a-osx10.5-x86
drwxr-xr-x  19 root  wheel  646 Nov  8 21:40 mysql-5.0.51a-osx10.5-x86

Reference: http://planet-geek.com/archives/2009/09/osx-snow-leopar.html

Monday, November 9th, 2009

Getting started with github

I’m hosting my facebook actionscript demo source code at github. I’ve never used git before, so it’s been a fun learning experience. I managed to get the demo running on a github project page instead of being hosted on an ESC server. I’m not certain I’m taking the best approach, but I have the project setup now with these branches:

becarella/fb_as_connect
|-> master (the demo source code)
|-> gh-pages (the demo project page)
         |-> demo (submodule that pulls from the master branch so I can display the web files hosted there)

I updated the canvas and connect pages for the demo facebook app to pull from the demo submodule.

This post was really helpful in getting the demo submodule setup: http://woss.name/2008/04/09/using-git-submodules-to-track-vendorrails/

I’m going to continue tweaking it and probably frequently break things as I continue to figure out the checkout/commit/merge/push process.

Wednesday, October 28th, 2009

Using System.totalMemory to analyze flash memory usage

When looking for memory leaks on an application that loads many bitmaps, Internet Explorer showed much lower memory usage from System.totalMemory than FireFox.  The difference is because

not everything allocated in the player is allocated by the internal allocator, nor reported through totalMemory…namely anything allocated by OS system calls, memory associated with platform bitmap data, and the JIT buffer associated with the Actionscript VM.”

http://www.justsuppose.com/some-systemgc-and-systemtotalmemory-tips/

Thursday, October 22nd, 2009

Tuesday, August 4th, 2009