NSLU2 MacOSX Toolchain

I’ve just paid for (and expect to receive in the next couple of days) a large (160Gb) USB Hard Drive, and in the next week or so I’ll also buy a Linksys NSLU2 NAS device, to share the HDD with all devices in my network. One of the reasons I decided on this route is the extreme hackability of the NSLU2 - it comes with a cut-down version of Linux with only SMB sharing turned on, but by flashing a new ROM it’s possible to set it up as a complete server. I aim to use it for mainly sharing files, but just for fun I’ll try and build python for it. I had a whole lot of experience building python for BeOS/PPC a few years back. It started to run into problems when building sockets and anything that used mmap(), and after about 2.2 I’m not sure I ever got it to work correctly again. Building the cross compilation toolchain to allow me to do this from MacOS X is quite complicated: you have to download about 60Mb of source code, and then build it. More details on this page. My notes on the topic follow: Make sure you reference the nslu2/bin directory in your path before the other location where the tools you installed are. Bash looks in the order they appear in the environment library list, so if expr is in two places, the first one it is found in is used, for example. The good news is, if the files have been downloaded, and the build fails, it is smart enough not to try and re-download them. Make sure you follow the instructions carefully - I did a make install instead of the cp src/expr $HOME/local/nslu2, and it failed dismally.

Most Played Music Meme

Most Played Music Meme Originally uploaded by Michael Heilemann.

Follow the instructions…

Zire Screen part 2

Well, it didn’t seem to completely fix it. Ages ago, after reading some book (called something like “How to do Everything with Your Palm (TM) Handheld, Third Edition” (Dave Johnson, Rick Broida) I stuck some tape over the Graffiti area, and I think this was causing (or contributing to) the problem. Since some of it was almost under the lip surrounding the screen, it was a little hard to remove. Almost all gone now, and the problem seems to be gone. Or nearly, anyway.

Zire Screen Issues

I love my Palm Zire - I keep all of my contact details, expenses, etc on there. The only thing I don’t do with it right now is email - but that’s only because the Mail.app conduit doesn’t handle emails sent properly - and it’s usually easier to use Gmail. Imagine my chagrin, then when weird stuff began to happen - extra screen taps (that I didn’t make) interfering with my use of the handheld. It meant that I couldn’t read my eBooks under certain lighting (halogen downlights seem to worsen the problem). Same with driving at night - perhaps there is some flickering, or the sodium lights affected it too. It came to a head when it began to mark my To-Do items as ‘Done’. This is unbearable - how do I know if I’ve cleaned the car or not, if my Zire says I have? I searched through the PalmOne site and forums (by the way, they still haven’t acknowledged the Zire 21/Digital Mobile Phone resetting issue, apparently!) and finally found a post that said to re-calibrate the screen. Easier said than done, since the problem had become so bad as to cause other programs to be run, and when I finally managed to get into the Prefs, and then the Calibration section, random taps were causing the little red circles to jump willy-nilly from top to bottom. Eventually I got in three presses before the gremlins, and bingo, problem solved. Moral of this story: if you start having problems with extra screen taps, run the calibration program sooner, rather than later!

Safari in Dock

I don’t use Safari. I keep removing it from my Dock (right next to the Finder icon), yet it keeps reappearing! And not every time I restart/log-in.

Changing Signature in Mail.app

I wrote a script some time ago that puts a new fortune into my Mail.app signature. However, it doesn’t seem to save the signature between restarts of the application, unless I manually open and then close the Preferences window (and the Signatures pane of this window). How bizarre!

Year Old Post

Temporary Post.

Secret Window

We watched “Secret Window” the other day - Jaq has a thing about Johnny Depp. Jason had said somehting about it not really being that good, and I didn’t agree with him, until the very end. I just didn’t care if he killed his wife or not. In fact, I was kind of hoping he would. You just didn’t get the chance to care enough about her as a character, and in fact you didn’t like her much, so too bad if she carked it.