Categories
Etc

SqueezeCenter + Hardy

I upgraded my Ubuntu boxes to 8.04 last night and ran into but one issue: my SlimServer (now SqueezeCenter) would not start. Apparently I’m not the only one with this problem, and solution for now is to jam some more lines into your /etc/apparmor.d/usr.sbin.mysqld

/var/lib/squeezecenter/cache/ r,
/var/lib/squeezecenter/cache/my.cnf r,
/var/lib/squeezecenter/cache/mysql.startup rw,
/var/lib/squeezecenter/cache/mysql-error-log.txt rw,
/var/lib/squeezecenter/cache/squeezecenter-mysql.pid w,
/var/lib/squeezecenter/cache/squeezecenter-mysql.sock w,
/var/lib/squeezecenter/cache/MySQL/ r,
/var/lib/squeezecenter/cache/MySQL/** rwk,

According to the bug report, the installer is fixed in trunk, so with the next release (7.0.1?) this won’t be an issue.

Congrats to the Ubuntu guys for such a seamless upgrade! It was really smooth.

Categories
Computers

Commands

My contribution to the meme:

blowery@hermes:~$ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
170 cd
78 ls
55 sudo
31 svn
18 scons
18 nm
12 less
9 grep
8 rm
8 make

As for why these, here are some rough guesses:

cd
obviously we use a lot of directories and I end up moving around quite a bit.
ls
implicitly tied to cd usage I think. And I have a lousy memory for what file names in what dirs.
sudo
This meme caught me while I was setting up a new working vm instance, hence all the sudo. Normally, I don’t think I use it quite so much.
svn
svn is our source control management tool of choice
scons
scons is our build tool of choice
nm
nm lists the exported symbols in a library. I was tracking down a problem with MySQL and a broken exported symbol during the aforementioned instance install.
less
less is my pager of choice
grep
handy for finding things
rm

handy for removing things. I think this was related to MySQL causing me grief
make
everyone else’s built tool of choice and I was installing a lot of everyone else’s stuff
Categories
Etc

That random castle on the island in the Hudson (Bannerman’s)

Bannerman’s Island

There’s this ruined castle on an island just north of Cold Spring that I always wanted to get out and photograph, but never got the chance. However, I found an excellent write-up of what it is (Bannerman’s Island Arsenal), along with some wonderful photos by Shaun O’Boyle (buy here). Definitely worth a read and a look, and possibly a visit if you’re in the area.

Categories
Design

Painting with rainbows

Crayons

Wow. All 120 colors of Crayola crayons, with hex codes. Awesome.

Categories
Etc

Making cmd.exe pretty

Ah, finally. After years suffering with Lucida Console or that nasty raster font, there’s a way to switch to a decent monospaced font, Consolas, in the Windows cmd.exe windows.