The “General” PreferencePane in Lion’s ‘System Preferences’ windows contains a “Restore windows when quitting and re-opening apps” item. However, sometimes this behaviour does’t make sense – after a reboot I found, for example, that the OS X Installer had re-launched and was asking for a package to install!
On Friday 8th April, ShairPort was released. Containing the private key from a reverse-engineered Apple AirPort Express, this allows unlicensed/homebrew devices to act as AirPlay target speakers – e.g. allows iTunes, iPods, iPads, and iPhones to use them as an output device.
Immediately, the obvious thought is to add AirPlay support to Logitech/Slim Devices’ Squeezebox Server software so that the excellent Squeezebox devices can be used as remote speakers.
(As an aside, I’ve had my 3rd generation Squeezeboxsince they were introduced in 2005, and it is without the highest quality and most used gadget I have, still going strong and as useful as ever more than five years later!)
After a few false-starts trying to configure ALSA to record the digital output of the host’s soundcard, the latest release of ShairPort provides a perfect solution to lossless audio reproduction, without even needing a soundcard.
It may have taken way too many hours, and may have descended into a maze of twisty little passages, all alike, but after fighting various permissions issues and procmail‘s general intransigence (I still can’t work out what determines whether procmail will perform variable-interpolation on shell commands, or why it doesn’t like even multi-escaped square brackets in shell invocations…) here it is in all it’s glory: A procmail-based auto-reply system.
The ALIX 2c3 system board the forms my traffic-shaper has one irksome weakness: it lacks an on-board CMOS/RTC battery to maintain the time when the system is shutdown.
This is a more significant problem than it sounds since, for starters, the fsck tools for the ext2 filesystem, by default, treat a timestamp in the future as a failure – and disk checks have to be performed almost immediately on system start, so there is no opportunity to raise networking and start an NTP dæmon.
I have a PC Engines alix2d3 single-board computer – a really nice compact system with an AMD Geode processor, 256MB RAM, compact flash storage and three 10/100MB network ports – acting as my traffic-shaper and network gateway. Since this machine is extremely reliable, always on, and has spare USB ports it seemed like a sensible place to plug in the USB cable from my new UPS. There have been several power-cuts recently (some due to external factors, and some due to a dodgy toaster!) and the time spent recovering filesystems from unexpected restarts was starting to become inconvenient…
This one may be a little esoteric, but I’ve always configured my ~/.bashrc to set $PS1 in bash to a simple ‘$ ‘, but show all relevant information in the terminal (or screen) window title.
This is generally fine but, on OS X at least, if a directory name contains an extended character such as ‘Æ‘ then what actually happens is that all characters are sent to the window title except for the extended character, which is pre-pended to the prompt for the following line. Being a double-byte character, this then confused the shell’s line-editing abilities, and characters have a tendency to disappear if the cursor keys are used for editing.
After suffering with this for several months, this interesting problem reached my needs-a-fix threshold and I decided to do something about it
There’s an irksome problem which I’ve encountered on a few Linux boxen recently, whereby directories under /tmp/.private, such as /tmp/.private/root, simply cannot be deleted – even as root, nothing seems to be able to shift them!
This may only be an issue on installations which make use of the PAM ‘mktemp‘ module…
So Steam has now been released for the Mac. Whilst this is a massive step forwards for the Mac as a platform – finally giving Apple a credible position regarding gaming (after the 2007 deal with Electronic Arts, which didn’t even promise Mac native games but merely wrappers around Windows titles
Having tried m0n0wall and pfSense without much success (I basically need a filtering bridge: with m0n0wall bridging WAN to OPT and with LAN disconnected, everything is fine until I enable traffic shaping, at which point the throughput reduces to almost nothing; with pfSense, I gave up on the third attempt at configuration because it had corrupted its own CompactFlash filesystem), I’ve decided to install Linux on my ALIX 2C3.
Having bought a Unibody MacBook Pro and running Mac OS 10.6, I decided to upgrade my Samsung NC10 from running Mac OS 10.5.8 to running the latest Ubuntu Netbook Remix (UNR) from Canonical.
Canonical have completely revolutionised the concept of Linux on the desktop by packaging a distribution that is lightweight, fast, attractive, functional, and is – above all – actually usable as a day-to-day computing environment by your average computer user: as with OS X, the powerful underpinnings aren’t exposed and so don’t scare away the casual user.