The Cave

Archive for November, 2008

30 Nov

Cocoa Programming

Very approachable, easy reading style by an author who obviously really knows his game, and solidly progresses building chapter by chapter to more advanced topics – without requiring you to read all earlier ones to understand later ones. Excellent resource if you’re looking to learn how to program for Mac OS X, and most especially (but not exclusively) the user interface (Cocoa).

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
30 Nov

Latest Git

That way I keep up to date, and I’m using git to get git, which just feels like the right thing to do. … (The first time I did this, of course, I downloaded the git source manually and built and installed it, to solve the obvious chicken-and-egg problem.)

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
30 Nov

CFUUIDCreate

How to create and formate a UUID on Mac OS X .

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
30 Nov

Resolving Objective-C Namespace Collisions

A flat namespace has its flaws but there’s several options to mitigate the pain .

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
29 Nov

Cool Disk Images

Someone’s been collecting Mac OS X disk image (.dmg) backgrounds . A good resource to paw thru for ideas when creating a disk image.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
29 Nov

Disk Image Backgrounds

Here’s what I did to create hHasher 1.0: Create the disk image including the background image at /.background/background.png ./pkg-dpkg –source ./diskimage –target ./hHasher-1.0.dmg –format UDBZ –volname hHasher-1.0 –resource ./license/sla.r –icon ./image/DiskImage.icns –idme –copy ./image/DiskImage_DS_Store:/. DS_Store –mkdir /.background –copy ./image/DiskImageBackground.png:/.background/background.png –symlink /Applications:/Applications Mount the disk image open hHasher-1.0.dmg Show the view options View/Show View Options (or Cmd-J if you prefer) Change to list view if not already there (View/as Icons, or Cmd-1 if you prefer) Check the ‘Always open in list view’ option Change the ‘Arrange by’ combo box to ‘None’ Change the ‘Background’ option to ‘Picture’ Select the background image via the ‘Select’ button, hit Cmd-Shift-G to change to the background directory (e.g.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
29 Nov

Quick Git Command Reference

Handy .

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
29 Nov

hHasher 1.0

My first Mac application! It generates hashes (MD5, SHA-1, and more…exotic ones) for text, files or a random stream of bytes. Something I’ve needed on occasion but couldn’t find a Mac OS X application I liked, and I wanted to learn Objective-C and Mac OS X so it made a good first project. It requires [...]

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
28 Nov

Quis custodiet ipsos custodes?

DC reissued the Watchmen hardback edition (the one that’s been out of print and only available in used book stores and eBay for $75+). Only $39.99 PLUS %20 off at Barnes’n’Noble (today at least). Plus the 10% membership discount and it’s almost affordable

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
28 Nov

Bolt

Rocks! OK, color me impressed. This was far better than Madagascar 2. Hey, I have a 4 and 6 year old. I’m lucky to see anything in the theaters. But I digress. Madagascar 2 was an animated Woody Allen movie – everyone’s got the ‘neurotic jew from New York’ attitude down pat. Entertaining, but not [...]

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
27 Nov

Malls/Hotels are Next

Finance and banking just get the first slots on the tour bus to hell.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
27 Nov

Star Fleet, Year One: Starfleet Briefing

I’ve called you all to this emergency “Starfleet Ultra” meeting to resolve a number of crises. … Standard security measures have been taken, and I encourage you all to speak freely during the discussion period.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
27 Nov

Happy Thanksgiving

I guess they delayed broadcast on the west coast, as no one would be watching it at 9am. … So she’s sated watching her parade, the kids are in the other room watching Fairly Odd Parents, and I’m peacefully sitting here with a hot cup of coffee in hand as I post this.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
27 Nov

Overcoming the Fear of Python

Another devotee to the non-church of Python :-) If you’ve not used Python yet, take a peek at this guy’s experience. … I came for the git tutorial and stayed for the Javascript associate arrays post :-)

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
24 Nov

Send Email via mailto: on Mac OS X

Simple enough on Mac OS X: NSString *content = @”subject=Hello&body=Peek-a-boo”; NSString *contentEscaped = [content stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; NSString *mailto = [NSString stringWithFormat:@"mailto:me@whatever.com?%@", contentEscaped]; NSURL *url = [NSURL URLWithString:mailto]; #if TARGET_OS_IPHONE [[UIApplication sharedApplication] openURL:url]; #else [[NSWorkspace sharedWorkspace] openURL:url]; #endif Hard part was the Mac OS X call (NSWorkspace). There’s plenty of information on the web how to do [...]

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
23 Nov

Palm Shrinking

Not surprising .

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
22 Nov

Quote of the Week

That GLOBAL_EXTERN thing should be held on the ground whilst farm animals poop on its head, but my attempts to remove it have thus far fallen on deaf inboxes. — Andrew Morton

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
21 Nov

Lewis Black on Atlanta

Heh .

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
20 Nov

Why Jakarta Commons-logging Was Born

Even more reason why JCL should die. I think slf4j is a better answer (assuming straight log4j isn’t good enough for you).

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
20 Nov

slf4j

Not a fan of commons-logging.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
20 Nov

PreferencePanes

Some handy Mac enhancements: Growl Perian SmartSleep smcFanControl2 Warp Witch

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
19 Nov

Quantum of Solace

But it’s not in the same league as Casino Royale (which I thought was brilliant — starting with the human-jackrabbit-chase from the opening sequence to the very end). … Hopefully the movie will come close to the trailer, though given the evidence at hand and J.J.Abrams at the helm (as both a proven outstanding entertainment maker and a genuine fan) I’m not going to worry too much.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
19 Nov

Java + Logging = ?

The ‘alternative’ choice is slf4j, which seems to have Apache’s strengths, but does static binding with its implementation plug-in thus avoiding Apache’s dynamic discovery behavior (including headaches). … That said, it seems to have one killer feature over Apache — if you use a log4j implementation, Apache doesn’t let MDC and NDC flow down to log4j.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
19 Nov

Bus Ride From Hell

Missed my 218 so I’m on the 554 (i.e. ‘local’ instead of ‘express’, for those of you not from Seattle), but for some reason the traffic reminds me of a bad day in Atlanta – lots of cars, none moving. … But at least I have my trusty laptop.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share
18 Nov

Android

Interesting .

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share

© 2013 The Cave | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo