Cocoaism Redesign
April 24th, 2010

Just implemented the new design for for Cocoaism. Check it out if you’re so inclined. The name of the designer Nick hired escapes me at the moment but I’ll update this post when I find out.  WordPress themes turned out to be easier to write than I thought.

Upgrading 10.5 to 10.6; Funny Spam; New Job
March 15th, 2010

Upgrading OS X from Leopard to Snow Leopard – How to Make it Not Suck

I realize I’m about 6 months late to the party, but I finally coughed up the $29 for OS X 10.6.  Frankly I never saw the need for it, but the newer XCode versions require it, so I went ahead and upgraded.

Well there’s not much to say, other than it’s about the least impressive upgrade possible.  Even with the downplayed feature list (even the box just says it’s just “the Mac you know and love”) and low price point I’m kinda mad that Apple even charged for this.

Oh yeah, and don’t bother doing an upgrade.  Do a fresh install.  You’ll end up having to reinstall everything anyway.  So far every app has mostly worked, but everything is slow.  Even Flash tripled the time it takes to load.  Here’s the kicker though: If you reinstall the exact same version again but on 10.6, it’s way faster.  Faster even than 10.5.  I don’t understand the reason, but a lot software you installed under 10.5 that is now slow under 10.6 will work much better if you just re-install it on 10.6.

Funny Spam

I get a ton of spam comments on this blog, which I diligently clear out.  However lately I’ve noticed the domains take a funny twist.  Here’s a sample from today’s comment queue:

- hellzyea.com
- makemeasammich.com
-  yourbabyisanasshole.com

Anyway I’m sure there’s some reason for it; maybe spammers figure people are less likely to flag “funny” domains as spam or something.

New Job

I don’t normally post too much about my regular work here, due to various NDAs and the fact that it’s often not of general interest, but today I started my career as a contractor.   Here’s my site: thomasgraft.com. I pulled out / fleshed out content from tomgraft.com and then re-designed tomgraft.com as well.

Will It Rain v 1.1, Now in the App Store
January 29th, 2010

Hey everybody, quick update:

Will It Rain?” version 1.1 is now in the App Store. It includes some pretty cool updates, including a better looking UI, snow detection, and a better algorithm for determining the likelihood of rain/snow depending on what time you launch the app.

The price is now a firm “free, but ad supported”. I experimented briefly (under 48 hours) with selling this app at $0.99, but users were unwilling to pay for this product so I knocked it down to Free. Unfortunately Apple’s NDA prevents me from saying specific numbers, but a few, and I do mean few, users paid $0.99 for this.  If you’re one of the chosen less-than-a-dozen, I’m sorry.  I’m fairly certain almost everyone who paid for it is someone I know offline, so if you’re one of those, let me know.  I’ll buy you a drink or send you an Amazon gift card or something.

Well that’s it! It’s a pretty big update as far as being more accurate and supporting different weather types, plus I’ve got more features in the works for 1.2.

I Like the iPad (But I’ll Probably Never Use it)
January 27th, 2010

This post has moved here.

Visor for OS X (Quake-like Terminal.app View)
January 1st, 2010

It’s been a while since I posted so I thought I’d share a useful tool for OS X that can make your programming life a bit easier.

Visor for OS X

Visor for OS X is a SIMBL plugin that lets you quickly access your Terminal by use of a hotkey (I prefer the “ctl + ctl” one).  If you’re like me you probably hit the command line very frequently while developing to push or pull a file, or need to quickly look at a `tail -f` output.   Once you hit the hotkey you define, a shallow terminal drops down from the top of your screen and takes focus.  Hitting the hotkey again hides the terminal and returns focus to whatever you were working on.

It’s not a revolutionary app, but I’ve only used it for half a day and I already love it.  Just as a side-note: it seems to “take over” your Terminal.app, so if you want to also have a CLI that acts like Terminal.app does now, try a third party one like iTerm.

How I Installed Ubuntu 9.10 (Karmic Koala) on my iBook G4
November 5th, 2009

Ubuntu has made installing Linux so trivial that I almost don’t need to write anything.  However, if you’re like me you may have tried getting Linux up on this particular hardware and had dismal results, especially with the wireless card.  But not anymore! Wireless, among other things, now has full support.

The very first thing I did was backup all my files off of the laptop.  I planned to do a complete wipe.  Even if you plan to try to repartition, I recommend this step.  You never know what can go wrong.

Second thing I had to do was grab the 9.04 Jaunty Jackalope iso from here.  Why not the 9.10?  Well, for some reason, the 9.10 disk is 705MB, and the biggest CD I had around could only be overburnt to 702MB.  Dang!  So 9.04 it is.  I burnt the ISO with Toast, popped it in the CD drive, and rebooted the laptop.  You may have to hold down the ‘c’ key when the laptop reboots to get it to boot from CD.  [Note: If you can get a CD that will hold 9.10, go ahead and try it!]

I would like to stop for a second and point out that the main resource I used for this can be found here.  It’s fairly out of date and some of the things it just don’t apply anymore, but if you find yourself having some difficulties the author links to some good resources for specific problems.

Moving on:  The CD will boot and you’ll come to a prompt asking you to either hit ‘enter’ or type a boot command and hit ‘enter’.  Some iBooks will get a black screen if you just hit ‘enter’, so to avoid that, type “live-nosplash-powerpc” at the prompt, no quotes.  I didn’t try it without using that command, but you don’t really need a splash screen anyway.  Once you do that, it may give an error about ROM.  Ignore it.  It may also hang for a very long (5 mins?) time, once again, just let it do it’s thing.  After quite a while, you’ll see the usual Ubuntu login screen, and you’ll be dumped to a live desktop.  Sweet!

Uh-oh! Remember how I said wireless works now?  Well… I only sort of lied.  Wireless doesn’t work in the live CD environment.  My theory is that they don’t put proprietary drivers on live CDs, but that’s speculation.  Either way, I hope you brought a network cable. This step is the same as any other install: You click the “Install” icon, pick your options, go through the whole wizard, and let it install.  For me there were zero hiccups, although it did take a while to install.  While you’re waiting, have a beer.

If all has gone well up to this point, Ubuntu should prompt you to remove the CD and reboot.  Do that and after it reboots log in.  Have a network cable?  Good, because you’re going to need it.  Plug it in, or ideally already have it plugged in when you rebooted.  After a short period of time, Ubuntu should alert you that there are new drivers available.  Click the dialog box that alerts you of this and you should be prompted with a Hardware Drivers window that allows you to add the Broadcom wireless driver. I don’t recall the exact things to click, but I do remember it being extremely obvious (I think you select the driver and click “activate). Yay wireless!

Now at this point you’re probably thinking “sweet, Ubuntu and wireless, but this isn’t 9.10!”  Go to System -> Administration -> Synaptic Package Manager and at the top you’ll be given the option to upgrade to 9.10.  Click it, sit back for 40 minutes and have a beer.  When it finishes, you’ll have 9.10.

That’s it!  Everything should work: Wireless, Touchpad (F11, F12 are middle, right -clicks), sound, video, etc.  From here you can do almost anything you want, my plans include ditching GNOME for Fluxbox and figuring out a better way to right-click.  Keep in mind though that GNOME works great even given the age of the hardware.

This process is almost not deserving of a How-To, but as a guy who’s not very old and can still remember when it took some effort just to get a PCI ethernet card to be recognized, this is a pretty big deal!  The Ubuntu folks really have their shit together, big thanks to them and the thousands of contributors to all the software for making this installation so painless.

Oh and if you have any problems, check out the PowerPC FAQ. Good luck!

Updates

Some issues I’ve come across so far:

- Fluxbox is significantly snappier than GNOME, but is difficult to use without an external mouse.

Some Boring Stuff

This section used to be at the top, but given how much traffic this post gets and I can only assume everyone is interested in the iBook G4 Ubuntu install, I’ve moved it down here:

The other day I decided I wanted to “get back into Linux” so to speak.  I’ve been an avid user since 2002 but the last year or so I haven’t used it much outside of work.

I remember my first distro: SuSE.  Back then it wasn’t openSUSE and if I recall correctly wasn’t entirely open source.  I didn’t care at the time: I bought it off the shelf because it came with a book. I fiddled around with various distros since then on everything I could I install it on, finally settling on Gentoo at my desktop OS.  I loved it.  Sure, it took 3 days to get a graphical display running (not including compile time), but I learned a ton.  Even though Linux had advanced pretty far by the time I got into using it, it was still a pretty Big Deal if you could get it installed on your box on the first try without having to modify anything or go out and buy new (or more commonly: old), Linux-compatible, hardware.  Gentoo was a totally different deal because you build it from scratch, but because of it, I now know more than I’ll ever need to about handrolling init scripts and compiling a kernel from scratch and all that things that I could only learn to do because I was 17 and had nothing but time.

As I started college I switched over to Apple laptops starting with OS 10.2.  OS X had so many of the development features I liked without any of the hassle, so it soon became my main OS.  I kept my Linux servers going for a while, but as their hard drive size and computing powers became more trivial and my computing needs became more mobile, I phased them out.   Still, I never stopped using it: most of my work as an Assistant IT guy starting in my sophomore year of college was working with Linux boxes and I was even given time to resurrect an old iMac G3 and throw Yellow Dog on it.  Every job since has been working on a site powered by Linux, so I’ve never been too far away.  Still, tonight seemed like it was time.

Adobe Flash to be on Smartphones Except the iPhone
October 5th, 2009

From MocoNews:

Adobe has secured relationships will Research In Motion, Windows Mobile, Palm and Google to roll out full Flash capabilities to the various smartphone platforms. With such a complete line-up, the only obvious phone remaining is Apple’s iPhone.

This is of no surprise to me, and the reason should be obvious: the App Store is a cash cow.  To allow Flash on the iPhone would severely hurt App Store sales, reduce the number of developers for their platform, and severely reduce the number of downloaded apps.

From Apple’s point of view, adding Flash capability to the iPhone would need to bring in more sales than the inevitable reduction in App Store sales.  It’s very likely that they don’t believe it will.

I for one am not terribly bothered by this.  Flash support is far, far down the list on my “Things I’d Like To See on the iPhone”.  Some more important improvements could be being able to set custom text tones, being able to add content to the iPod App without needing to go through iTunes, garbage collection (Android can do it), customizable themes, or at least being able to change a few basic things, etc.  I say, make it a fully featured phone first, a mini-laptop second.  iPhone users only recently were given the ability to receive MMS, something my clunky phone circa 2002 could do (and with a similar quality camera, for what it’s worth).

TextMate: It is excellent and you might also enjoy it
April 17th, 2009

Let me preface this post by saying: I rarely pay for software.  I use open source tools for the vast majority of my work, and in cases where I need commercial software, I usually find a way to have the company I’m working for provide it, borrow a friend’s copy, or in some rare cases, begrudgingly pay the license fee.  As a software developer, this may seem contradictory: after all, how can I expect to both be paid for my work, and receive free software? Well friends, that’s a discussion for a different time.

That being said, when I say that I gladly paid the $50 licence fee for TextMate, you understand the full meaning behind this statement. TextMate, as it’s tagline states, really is the Missing Editor for OS X.  I could spend a few paragraphs gushing about how much I love the shortcuts, shell integration, optional vi bindings, its lightweight footprint, but why take my word for it, go try it for free.

Here’s some recommendations to improve the experience:

  • Install Proggy fonts and adjust your text size in TextMate as needed to make them look right.  I use ProggySquare, 11pt.
  • Install the Dominion Day theme, or another more suitable theme.  I find the default ones a bit lacking.
  • Read the Manual.  TextMade does a heck of a lot more than show pretty colored text.

That’s it!