<?xml version="1.0"?>
<!-- name="generator" content="blosxom/2.0.2" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>peteg's blog   </title>
    <link>http://peteg.org/blog</link>
    <description></description>
    <language>en</language>

  <item>
    <title>The &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt; 10.4.11 Upgrade Killed My &lt;a href=&quot;http://www.apple.com/macbook/&quot;&gt;MacBook&lt;/a&gt;.</title>
    <link>http://peteg.org/blog/2007/11/17#2007-11-17-Leopard</link>
    <category>/hacking/mac</category>
    <description>
&lt;p&gt;

That's a first, a &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt; update that screwed things up so badly
the &lt;a href=&quot;http://www.apple.com/macbook/&quot;&gt;MacBook&lt;/a&gt; ceased to function. Oh well, I now know where an &lt;a href=&quot;http://www.apple.com/&quot;&gt;Apple&lt;/a&gt; store is in &lt;a href=&quot;http://www.hochiminhcity.gov.vn/&quot;&gt;Hồ Chí Minh City&lt;/a&gt;; I went to:

&lt;/p&gt;
&lt;pre&gt;
Thuan My Co. Ltd - Apple Authorised Reseller
98 Nguyễn Công Trứ, District 1, &lt;a href=&quot;http://www.hochiminhcity.gov.vn/&quot;&gt;Hồ Chí Minh City&lt;/a&gt;.
Tel: 84 8 8218936, 8218937
Fax: 84 8 8218937
Email: thuanmy-sales@hcm.fpt.vn
&lt;/pre&gt;
&lt;p&gt;

and tried to buy a copy, nay a &lt;em&gt;licence&lt;/em&gt;, of &lt;a href=&quot;http://en.wikipedia.org/wiki/Mac_OS_X_v10.5&quot;&gt;Leopard&lt;/a&gt;. I'll
spare you that story. The &quot;update&quot; function failed to work any magic
(or didn't like the caf&amp;eacute;s I went to), but the &quot;archive and
install&quot; thing did the trick. I get the impression that some database
in my old 10.4 installation got trashed.

&lt;/p&gt;&lt;p&gt;

Here are some fix-ups for &lt;a href=&quot;http://en.wikipedia.org/wiki/Mac_OS_X_v10.5&quot;&gt;Leopard&lt;/a&gt; from around the net (sorry for
the lack of attribution). Let's fix the Dock (make it look more like
Tiger's):

&lt;/p&gt;
&lt;pre&gt;

defaults write com.apple.dock no-glass -boolean YES
killall Dock

&lt;/pre&gt;
&lt;p&gt;

and the transparent menubar (cut and paste this line, then &amp;mdash;
eek! &amp;mdash; reboot):

&lt;/p&gt;
&lt;pre&gt;

sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0.63

&lt;/pre&gt;
&lt;p&gt;

Time machine claims to have done something but I haven't tried to use
it yet. Spaces is clunkier than I'd expect; using an app that sprays
windows around like Finder and expecting some kind of mid-90s &quot;raise&quot;
functionality is apparently asking too much. The wifi widget on the
menubar finally works like what every user of open networks wants it
to. Worth the money? Probably not, but heh, anything to get the &lt;a href=&quot;http://www.apple.com/macbook/&quot;&gt;MacBook&lt;/a&gt; back on its feet. That's the last time I travel without a &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt; DVD.

&lt;/p&gt;</description>
  </item>
  <item>
    <title>Die, &lt;a href=&quot;http://x.org/&quot;&gt;X11&lt;/a&gt;, die...</title>
    <link>http://peteg.org/blog/2007/07/30#2007-07-30-X11</link>
    <category>/hacking/mac</category>
    <description>
&lt;p&gt;

This whole &lt;a href=&quot;http://unicode.org/&quot;&gt;Unicode&lt;/a&gt; fiasco has finally killed &lt;a href=&quot;http://x.org/&quot;&gt;X11&lt;/a&gt; as a viable
option for me. I wouldn't have thought it was so very hard to provide
a complete set of easily-usable &lt;a href=&quot;http://unicode.org/&quot;&gt;Unicode&lt;/a&gt; fonts, but there it is.

&lt;/p&gt;&lt;p&gt;

So, on &lt;a href=&quot;http://www.algorithm.com.au/&quot;&gt;Andr&amp;eacute;&lt;/a&gt;'s advice, I've switched to:

&lt;/p&gt;
&lt;ul&gt;

&lt;li&gt;
&lt;p&gt;

&lt;a href=&quot;http://aquamacs.org/&quot;&gt;Aquamacs&lt;/a&gt;, &lt;a href=&quot;http://www.gnu.org/&quot;&gt;GNU&lt;/a&gt; &lt;a href=&quot;http://www.gnu.org/software/emacs/emacs.html&quot;&gt;Emacs&lt;/a&gt; with a shiny-happy &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt;
face. Apart from a lot of minor irritations that come with losing
about a decade's worth of &lt;a href=&quot;http://www.xemacs.org/&quot;&gt;XEmacs&lt;/a&gt; configuration, it seems quite
slick. I tried &lt;a href=&quot;http://members.shaw.ca/akochoi-xemacs/Carbon%20XEmacs/Home.html&quot;&gt;Carbon XEmacs&lt;/a&gt; but it doesn't support &lt;a href=&quot;http://unicode.org/&quot;&gt;Unicode&lt;/a&gt; out
of the box, and I refuse to spend (more) hours fiddling with it.

&lt;/p&gt;
&lt;/li&gt;

&lt;li&gt;
&lt;p&gt;

&lt;a href=&quot;http://software.jessies.org/terminator/&quot;&gt;Terminator&lt;/a&gt;, an &lt;a href=&quot;http://dickey.his.com/xterm/xterm.html&quot;&gt;xterm&lt;/a&gt;-alike written in &lt;a href=&quot;http://java.sun.com/&quot;&gt;Java&lt;/a&gt;, is possibly
the best thing ever to run on the &lt;a href=&quot;http://java.sun.com/docs/books/vmspec/&quot;&gt;JVM&lt;/a&gt;.

&lt;/p&gt;
&lt;/li&gt;

&lt;li&gt;
&lt;p&gt;

A new &lt;a href=&quot;http://www.gnu.org/software/bash/&quot;&gt;bash&lt;/a&gt; from &lt;a href=&quot;http://www.macports.org/&quot;&gt;MacPorts&lt;/a&gt; that speaks &lt;a href=&quot;http://unicode.org/&quot;&gt;Unicode&lt;/a&gt; better than
the crusty old one that comes with &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt; 10.4.x.

&lt;/p&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

Of course I'll still need &lt;a href=&quot;http://x.org/&quot;&gt;X11&lt;/a&gt; for sundry old-school things like &lt;a href=&quot;http://isabelle.in.tum.de/&quot;&gt;Isabelle&lt;/a&gt;, but there the pain is much less.

&lt;/p&gt;&lt;p&gt;

So, why &lt;a href=&quot;http://aquamacs.org/&quot;&gt;Aquamacs&lt;/a&gt; rather than a fancy closed-source editor? Well,
&lt;a href=&quot;http://macromates.com/&quot;&gt;TextMate&lt;/a&gt; crashed on me after about twenty minutes of use &amp;mdash; I
tried to open a file while saving-as another one, and was madly
switching programs trying to navigate the directory tree &amp;mdash; and
so I recall the cardinal rule of editors: anything less than twenty
years old hasn't been tested enough. Whether the (relatively shallow)
differences that &lt;a href=&quot;http://aquamacs.org/&quot;&gt;Aquamacs&lt;/a&gt; has to &lt;a href=&quot;http://www.gnu.org/&quot;&gt;GNU&lt;/a&gt; &lt;a href=&quot;http://www.gnu.org/software/emacs/emacs.html&quot;&gt;Emacs&lt;/a&gt; matter is
something I will soon discover.

&lt;/p&gt;</description>
  </item>
  <item>
    <title>&lt;a href=&quot;http://www.apple.com/ilife/iphoto/&quot;&gt;iPhoto&lt;/a&gt; &lt;a href=&quot;http://www.n8gray.org/code/scriptexport/&quot;&gt;Script Export&lt;/a&gt;</title>
    <link>http://peteg.org/blog/2007/07/15#2007-07-15-iPhoto</link>
    <category>/hacking/mac</category>
    <description>
&lt;p&gt;

This thing is magic: one can readily write a little script to (in my case)
copy images from &lt;a href=&quot;http://www.apple.com/ilife/iphoto/&quot;&gt;iPhoto&lt;/a&gt; into a &lt;a href=&quot;http://blosxom.ookee.com/blog/&quot;&gt;Blosxom&lt;/a&gt;-friendly location, and output
the requisite tags.

&lt;/p&gt;</description>
  </item>
  <item>
    <title>Accessing the &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt; paste buffer from the command line.</title>
    <link>http://peteg.org/blog/2007/06/05#2007-06-05-pbcopy</link>
    <category>/hacking/mac</category>
    <description>
If you have ever wanted to ship data to or from your &lt;a href=&quot;http://x.org/&quot;&gt;X11&lt;/a&gt; environment,
check out &lt;code&gt;pbcopy&lt;/code&gt; and &lt;code&gt;pbpaste&lt;/code&gt;. Now, if only X had a
&lt;a href=&quot;http://www.jwz.org/doc/x-cut-and-paste.html&quot;&gt;sane cut-and-paste
model&lt;/a&gt;, we'd be home...</description>
  </item>
  <item>
    <title>&lt;a href=&quot;http://www.mozilla.org/products/firefox/&quot;&gt;FireFox&lt;/a&gt; 1.5.0.11 &lt;a href=&quot;http://apple.com/&quot;&gt;Mac&lt;/a&gt;-optimised builds.</title>
    <link>http://peteg.org/blog/2007/04/18#2007-04-18-Firefox15</link>
    <category>/hacking/mac</category>
    <description>
I'm not a huge fan of the new &lt;a href=&quot;http://www.mozilla.org/products/firefox/&quot;&gt;FireFox&lt;/a&gt; (v2.x) for reasons that slip my
mind now. Fortunately a kind soul is &lt;a
href=&quot;http://www.furbism.com/firefoxmac/&quot;&gt;still cranking out optimised
builds&lt;/a&gt; for the &lt;a href=&quot;http://apple.com/&quot;&gt;Mac&lt;/a&gt;, sans fancy widgets.

</description>
  </item>
  <item>
    <title>&lt;a href=&quot;http://www.algorithm.com.au/&quot;&gt;Andr&amp;eacute;&lt;/a&gt; on &lt;a href=&quot;http://www.apple.com/macosx/&quot;&gt;Mac OS X&lt;/a&gt; essentials.</title>
    <link>http://peteg.org/blog/2007/01/07#2007-01-07-Andre</link>
    <category>/hacking/mac</category>
    <description>
&lt;a href=&quot;http://www.algorithm.com.au/&quot;&gt;Andr&amp;eacute;&lt;/a&gt;'s been procrastinating about something, and so we all benefit
from his &lt;a href=&quot;http://www.algorithm.com.au/code/macosx/&quot;&gt;list of
tried-and-true Mac apps&lt;/a&gt;. Hmm... &lt;a href=&quot;http://www.xemacs.org/&quot;&gt;XEmacs&lt;/a&gt;-style Meta-/ for &lt;a href=&quot;http://developer.apple.com/cocoa/&quot;&gt;Cocoa&lt;/a&gt;
apps? It's all my Christmases come at once.</description>
  </item>
  <item>
    <title>&lt;a href=&quot;http://www.apple.com/ipodshuffle/&quot;&gt;iPod Shuffle&lt;/a&gt; Gripes</title>
    <link>http://peteg.org/blog/2006/12/18#2006-12-18-iPod-Gripes</link>
    <category>/hacking/mac</category>
    <description>
OK, I've owned the damn thing for about a month, time to put the boot
in. :-)

What I like:

&lt;ul&gt;

 &lt;li&gt;Unplugging the headphones makes it pause. Perhaps all &lt;a href=&quot;http://www.apple.com/ipod/&quot;&gt;iPod&lt;/a&gt;s do
 this, but my &lt;a href=&quot;http://www.iriver.com/&quot;&gt;iRiver&lt;/a&gt; didn't.
 &lt;/li&gt;

 &lt;li&gt;The control is much better designed than my old &lt;a href=&quot;http://www.iriver.com/&quot;&gt;iRiver&lt;/a&gt;.
 &lt;/li&gt;

&lt;/ul&gt;

What I'd like:

&lt;ul&gt;

 &lt;li&gt;Some audible warning that it's out of juice. The little all-purpose LED
 glows red, I think, and that's that.
 &lt;/li&gt;

 &lt;li&gt;A way to delete songs on the player itself, so I can fill it up with
 random crap and on-the-spot nuke the annoying stuff, rather than having to
 tediously go through it afterwards in &lt;a href=&quot;http://www.apple.com/itunes/&quot;&gt;iTunes&lt;/a&gt; at home.
 &lt;/li&gt;

&lt;/ul&gt;

What I don't like:

&lt;ul&gt;

 &lt;li&gt;The dinky dock. My old &lt;a href=&quot;http://www.iriver.com/&quot;&gt;iRiver&lt;/a&gt; had a standard mini-&lt;a href=&quot;http://www.usb.org/&quot;&gt;USB&lt;/a&gt; port,
 which happened to be the same as my &lt;a href=&quot;http://canon.com/&quot;&gt;Canon&lt;/a&gt; &lt;a href=&quot;http://consumer.usa.canon.com/ir/controller?act=ModelDetailAct&amp;amp;fcategoryid=145&amp;amp;modelid=9828&quot;&gt;PowerShot A75&lt;/a&gt;. One cable
 was all I needed. Moreover I have no way to recharge it without having the
 &lt;a href=&quot;http://www.apple.com/ibook/&quot;&gt;iBook&lt;/a&gt; plugged in &lt;em&gt;and running&lt;/em&gt; &amp;mdash; there's no juice on the
 &lt;a href=&quot;http://www.usb.org/&quot;&gt;USB&lt;/a&gt; bus when it's suspended.
 &lt;/li&gt;

&lt;/ul&gt;

&lt;a href=&quot;http://arstechnica.com/reviews/hardware/shuffle.ars&quot;&gt;Ars
Technica&lt;/a&gt; killed theirs by running a car over it. &lt;a
href=&quot;http://shuffle-db.sourceforge.net/&quot;&gt;This program&lt;/a&gt; may yet liberate
me from &lt;a href=&quot;http://www.apple.com/itunes/&quot;&gt;iTunes&lt;/a&gt; inanity.</description>
  </item>
  <item>
    <title>Powering the &lt;a href=&quot;http://www.apple.com/ibook/&quot;&gt;iBook&lt;/a&gt; from the car.</title>
    <link>http://peteg.org/blog/2006/12/16#2006-12-16-PowertechPlusCarPowerAdaptor</link>
    <category>/hacking/mac</category>
    <description>
&lt;p&gt;

I trudged all over Sydney CBD today looking for a new pair of &lt;a href=&quot;http://www.drmartens.com/&quot;&gt;Docs&lt;/a&gt; and
something that would let me recharge the &lt;a href=&quot;http://www.apple.com/ibook/&quot;&gt;iBook&lt;/a&gt; from the car. It seems
the old &lt;a href=&quot;http://www.drmartens.com/&quot;&gt;Docs&lt;/a&gt; shop on Pitt St Mall has folded, and the joint down George
St that for years proudly advertised cut-price &lt;a href=&quot;http://www.drmartens.com/&quot;&gt;Docs&lt;/a&gt; has gone for the
factory- (China-) direct brand instead. I'd forgotten what a hassle it is
shopping on the street.

&lt;/p&gt;
&lt;p&gt;

Anyway, to cut a long ramble short, I ended up buying a &quot;Powertech Plus
Cat. MP-3463 3.5 Amp Universal Step-up DC/DC Converter for Notebook
Computer&quot; from &lt;a href=&quot;http://www.jaycar.com.au/&quot;&gt;Jaycar&lt;/a&gt; on York St for &lt;$40 /&gt;. The sealed-in cardboard says
it was made in China and is distributed by &lt;a
href=&quot;http://electusdistribution.com.au/&quot;&gt;Electus Distribution&lt;/a&gt;, and I
can guarantee you that the cardboard was printed there too. I can't find it
in either of their catalogues. There is also a 6 Amp version for those who
have something hefty.

&lt;/p&gt;
&lt;p&gt;

It works, with one small wrinkle: the &lt;a href=&quot;http://www.apple.com/ibook/&quot;&gt;iBook&lt;/a&gt;-sized plug adaptor is wired
backwards! Fortunately the &lt;a href=&quot;http://www.apple.com/ibook/&quot;&gt;iBook&lt;/a&gt; is up to that game, simply ignoring a
reverse-polarity 24 volts. The solution is to wedge the plug adaptor onto
the cable backwards. For the curious &lt;a
href=&quot;http://www.faqintosh.com/risorse/en/guides/hw/ibook/pjack/&quot;&gt;these
Italians&lt;/a&gt; have the details, or you can try to figure out what &lt;a
href=&quot;http://developer.apple.com/qa/qa2001/qa1266.html&quot;&gt;Apple is on
about&lt;/a&gt;.

&lt;/p&gt;</description>
  </item>
  <item>
    <title></title>
    <link>http://peteg.org/blog/2006/11/29#2006-11-29-Terminator</link>
    <category>/hacking/mac</category>
    <description>&lt;a href=&quot;http://www.algorithm.com.au/&quot;&gt;Andr&amp;eacute;&lt;/a&gt; pointed out &lt;a href=&quot;http://software.jessies.org/terminator/&quot;&gt;Terminator&lt;/a&gt; to me, a cross-platform terminal
emulator written in &lt;a href=&quot;http://java.sun.com/&quot;&gt;Java&lt;/a&gt;. It sounds promising; the only things
tying me to &lt;a href=&quot;http://x.org/&quot;&gt;X.org&lt;/a&gt; are &lt;a href=&quot;http://www.xemacs.org/&quot;&gt;XEmacs&lt;/a&gt;, a DVI viewer and &lt;a href=&quot;http://dickey.his.com/xterm/xterm.html&quot;&gt;xterm&lt;/a&gt;.
</description>
  </item>
  <item>
    <title>Easing into the 21st Century.</title>
    <link>http://peteg.org/blog/2006/11/20#2006-11-20-iPod</link>
    <category>/hacking/mac</category>
    <description>
Met up with &lt;a href=&quot;http://www.algorithm.com.au/&quot;&gt;Andr&amp;eacute;&lt;/a&gt; in Newtown for a coffee and some lunch, and being the
unpaid ambassador for &lt;a href=&quot;http://www.apple.com/&quot;&gt;Apple&lt;/a&gt; that he is, we ended up in the &lt;a
href=&quot;http://www.nextbyte.com.au/&quot;&gt;Apple store on Broadway&lt;/a&gt; and I parted
with &lt;$119 /&gt; for an &lt;a href=&quot;http://www.apple.com/ipodshuffle/&quot;&gt;iPod Shuffle&lt;/a&gt;, a replacement for my venerable 256Mb &lt;a href=&quot;http://www.iriver.com/&quot;&gt;iRiver&lt;/a&gt; iFP-390T I bought in Boston at the end of 2003. I can't see why it
needs an on/off switch.</description>
  </item>
  </channel>
</rss>
