Leopard a touch spotty
I've come across a few more (very minor) Leopard glitches.

The first is that if you have a Finder window with no horizontal scrollbar, and you then click on a file that's right at the bottom of a file list and which, by displaying it's preview, forces a horizontal scrollbar, then the file list doesn't get pushed up. That results in the image on the right - notice how you can just see the blue highlight of the X11 file poking above the horizontal scroll bar?

The second is with the dock and X11 (not sure if it's an issue with the app or the dock). If you put X11 in the dock, and then start it (from the dock), the icon you put in the dock bounces forever and a new X11 icon pops on the bottom of the dock (like it does for apps that are not in the dock already). you can see above I even sometimes get two extra icons. Note that I'm not starting any additional instances of X11 or any X apps besides the initial default xterm.
Update: The multiple X11 icons also appear in the Command-Tab bezel.
Update 2: It seems there are some pretty massive changes to X11 in Leopard. For the better Apple has switched to X.org, but that (and other) changes have been major and some bugs have slipped through. The change to launchd is interesting - while non-intuitive (in an X11 way) it makes X11 apps more intertwined with the main OS.
Anyhoo, thankfully the X11.app maintainer is on the ball and has posted an update to solve the two most glaring issues - the faulty three-button emulation (critical on a laptop) and multi-monitor support. Go to http://www.x.org/wiki/XDarwin for more. I still get some really wacky behaviour when my monitor resizes (eg. by plugging my 22" crt into my 12" powerbook) but it's better.
07:44 PM, 28 Oct 2007 by Mark Aufflick Permalink | Comments (0)
Leopard glitch unmounting disk images
It seems to be a Finder issue rather than with the disk image driver since a simple umount /Volumes/DiskImageName makes them disappear pronto.
Update: Further, Finder also gets terribly confused in some circumstances where you mount two (different) images with the same volume info. I got into one state where there was one volume showing in the sidebar that wasn't even mounted. A swift relaunch of the Finder sorted that out...
Update 2: Seems after relaunching the finder the original issue itself went away.
07:32 AM, 28 Oct 2007 by Mark Aufflick Permalink | Comments (1)
TimeMachine takes you back to a time before teh Internet
Well it's not that it can't, it actually does - but it won't show you any disks that it doesn't think are local (eg. disks served by Airport Express apparently work fine), so Apple evidently have decided that my net connection isn't fast enough for backups so I'm best off not even trying :(
So let's start hacking :) The TimeMachine preference pane binary has the following methods:
@interface AppleTMPref (Private)
- (BOOL)_isSupportedNetworkMountPoint:(id)fp8;
@interface AppleTMSettings : NSObject
{
...
}
- (BOOL)isNetworkBackup;
@interface TMBonjourBrowser : NSObject
{
NSNetServiceBrowser *_browser;
NSMutableArray *_netServices;
NSImage *_serverImage;
}
- (id)init;
- (void)dealloc;
- (id)_dictionaryFromAirPortDiskData:(id)fp8;
- (BOOL)_isLocalNetService:(id)fp8;
- (id)_volumesFromNetService:(id)fp8;
- (id)bonjourDisks;
- (void)netServiceBrowser:(id)fp8 didFindService:(id)fp12 moreComing:(BOOL)fp16;
- (void)netServiceBrowser:(id)fp8 didRemoveService:(id)fp12 moreComing:(BOOL)fp16;
- (void)netServiceDidResolveAddress:(id)fp8;
- (void)netService:(id)fp8 didNotResolve:(id)fp12;
@end
@interface SnapshotUtilities : NSObject
{
}
+ (BOOL)mountPointIsNetworkVolume:(id)fp8;
Time to crack out F-Script...
05:30 AM, 28 Oct 2007 by Mark Aufflick Permalink | Comments (2)
Leopard Amazon S3 network storage
- create an amazon web services account
- sign up for amazon S3
- download MacOS X S3 Browser
- install MacFUSE Core for OSX 10.5
- get your Amazon S3 key ID & secret (you'll get an email from Amazon with an url about that after signing up)
- login and create an Amazon S3 bucket using the S3 Browser you downloaded (I called my bucket "12inch-timemachine" for backing up my 12" Powerbook)
- download s3fs.cpp from the s3fs project
- you'll need to add the following line to the top of the file somewhere:
#define __off_t off_t
(props to Roberto Saccon for figuring this out) - compile s3fs.cpp with the following incantation:g++ -Wall -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -L/usr/local/lib -lfuse -pthread -lcurl -lcrypto `xml2-config --cflags --libs` -ggdb s3fs.cpp -o s3fs
- create the file /etc/passwd-s3fs with your amazon s3 key id and secret separated by a colon ie:
example-id:example-secret-key (note that you'll want to be careful about the permissions on this file) - mount the S3 bucket as an OSX directory like so eg:
mkdir ~/s3
where Flubber can be whatever you want the mounted volume to appear named as
./s3fs your-bucket-name ~/s3 -ovolname=Flubber - you can now access the mounted volume at your mount point (in the above example ~/s3) or as a Finder Volume which you can see by going to "Computer" in the Finder's "Go" menu. Not sure why it doesn't show up in the Sidebar)
Update: It seems Leopard, by default, doesn't show network volumes on the desktop by default. You can turn that on in finder preferences, but your volume still won't show up in the sidebar (under either Devices or Shared). A simple solution is to us the local option like so:
./s3fs your-bucket-name ~/s3 -olocal,volname=FlubberUnfortunately that still doesn't allow it to work with time machine. You also get a folder icon on the desktop instead of a disk icon, but it's in the sidebar under Devices now. The icon even has a working eject icon which is handy, but it leaves an annoying folder icon in the sidebar.
Update 2: the ping_diskarb option seems to help keeping the Devices icon current:
./s3fs your-bucket-name ~/s3 -olocal,ping_diskarb,volname=Flubber
Update 3: The previous must be in my imagination:
On Mac OS X 10.5.x, both these options [ping_diskarb, noping_diskarb] are no-ops
05:18 AM, 28 Oct 2007 by Mark Aufflick Permalink | Comments (7)
Leopard Finder Cocoa?
03:44 AM, 28 Oct 2007 by Mark Aufflick Permalink | Comments (0)
Leopard - first usability suck
The look and feel changes are mostly nice, but I have found one minor tweak that irritates me no end - and doesn't make sense to me from an HCI point of view.
If you have opened a drop down menu, and you decide you are happy with the existing selection, it used to be that you could "dismiss" the menu and leave it as it is by clicking anywhere on the screen outside the menu.
Now you need to either click on the selected option to re-select it, or if there happen to be unavailable options in the menu (ie. greyed out) you can click them as well.
Now that sucks from an HCI standpoint in two ways. First, to execute this relatively common action you now need to click in a quite small area instead of simply flicking your wrist and clicking. Secondly it is inconsistent with the menus in the menu bar, where you can click anywhere outside an open menu to dismiss it.
Update: It seems to have been another "glitch" because after a reboot I can no longer replicate it. Little bugs happen - at least it's not a change in the ui thinking.
03:35 AM, 28 Oct 2007 by Mark Aufflick Permalink | Comments (2)
Kimi Raikkonen - Champion of the World!
Kimi really deserves this championship. He's driven fantastically all season in what was a new car and new tyre for him. After years of unreliability with McLaren it must feel all the sweeter.
Well done Kimi, great job. Have a vodka for me :)
02:38 PM, 21 Oct 2007 by Mark Aufflick Permalink | Comments (0)
Mount Amazon S3 on your Mac
That + time machine in the upcoming MacOS X 10.5 will make for a very cost effective and scalable backup solution.
Sweet!
01:14 AM, 21 Oct 2007 by Mark Aufflick Permalink | Comments (0)
Consolation
By the way sorry everyone for the dearth in technical posts - been a bit busy lately with a few things (including working on my lap time down at Wakefield park - 1:24 is my best so far :).
11:28 PM, 20 Oct 2007 by Mark Aufflick Permalink | Comments (0)
Tragedy
Even the ITV boys thought he had a chance at Lewis for a win once the safety car period ended. If not, a dead certain second place - bettering his previous best of third.
Even throwing up in his own helmet didn't stop him.
But Sebastian Vettel smashing into him did.
Pity that Webber couldn't get a 10 place boost instead of Vettel recieving a 10 place penalty for the next race.
07:46 AM, 01 Oct 2007 by Mark Aufflick Permalink | Comments (0)
Archive
| October 2007 | ||||||
| S | M | T | W | T | F | S |
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
March 2012
February 2012
November 2011
October 2011
April 2011
March 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
Blog Categories
software (40)..cocoa (21)
..heads up 'tunes (5)
..ruby (6)
..lisp (4)
..perl (4)
..openacs (1)
mac (21)
embedded (2)
..microprocessor (2)
..avr (1)
electronics (3)
design (1)
photography (26)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
food (2)
Book Review (2)
Notifications
Request notifications






