Jim Roepcke's weblog have browser, will travel (est. 1999)


Xcode 4.0.2 crash on startup

I just had a problem with Xcode 4.0.2 crashing on startup after installation, and thought I'd share the solution. I had just upgraded (in-place) from Xcode 4.0.1. I installed Xcode 4.0.1 in /Developer-4.0, not the default /Developer.

I looked at system logs in Console, they suggested Xcode crashed becaue dyld couldn't find (and thus load) CoreSymbolication.framework.

I figured the ran the uninstall script in Terminal.

sudo /Developer-4.0/Library/uninstall-devtools

After that completed successfully, I trashed the /Developer-4.0 folder (there were some useless leftovers), and re-installed Xcode 4.0.2. It worked!

Filed under: Uncategorized No Comments

What is PhoneGap?

Update: I've never advocated the use of PhoneGap over native SDKs for creating mobile apps. In my experience, native apps are superior in many ways. That said, there are some limited use cases for using HTML and bridged JavaScript for user interface elements in native apps.

I just explained PhoneGap to a client wanting an iPhone app. I thought the explanation was good enough to share. If you're trying to wrap your head around it, I hope this helps...

PhoneGap lets developers use web technologies to develop an iPhone app. Apple has a web browser object developers can use to display HTML content. Usually developers use it to display HTML from a remote web server. What PhoneGap does is let developers create their user interface using HTML in the web browser object instead of the built-in user interface objects (buttons, lists, text fields, etc).

Normally, this would be very limiting, since web browsers can't access most of the services a smartphone provides - what PhoneGap does is "bridge the gap" (hence the name) between the smartphone and the web browser by exposing smartphone services using JavaScript.

For developers that don't have experience with a smartphone's native development tools, using PhoneGap lets them leverage their knowledge of HTML and JavaScript to make an app. PhoneGap also makes it easier to support multiple smartphone platforms because much of the HTML and JavaScript can be reused between platforms which have this web browser object. (iPhone, Android, the newest Blackberry phones, and Palm webOS phones).

To clarify further, the HTML and JavaScript you put into a the web browser object in a PhoneGap app isn't served by a web server over the Internet - it is embedded into the app. That doesn't mean your app is forever limited to what is put into it when it ships - just as they would otherwise, the developer integrates the PhoneGap screens with your remote data sources (typically via JSON web services) - in this case the PhoneGap screens are like templates. If changes to the template are needed, the developer updates them and submits an updated app to the App Store. This is no different than for apps that don't use PhoneGap - any changes to apps must be re-submitted to the App Store before they can appear on people's phones.

Filed under: Uncategorized No Comments

Nitro-powered whining

This post is an edited version of a series of tweets in response to all the comments whining about the lack of Nitro in UIWebView and home screen apps, like the ones on this HN story...

As Apple grows, its growing community gives them the benefit of the doubt less and less. I understand why, but at least take the high road. Please stop bitching about Nitro not being available in all of iOS 4.3. These things take time.

Can you imagine the consequences if Apple enabled Nitro in UIWebView and it broke thousands of App Store apps? If you aren't inside Apple you have NO idea what their QA process for this is. Honestly, I think Nitro should be opt-in not opt-out for UIWebView unless Apple can guarantee there are no backward incompatibility bugs.

So MobileSafari is first for Nitro. Apple's eating their own dog food. Hopefully home screen apps and UIWebView come next. I wouldn't be surprised if iOS 4.3.1 or 4.3.2 saw enabled Nitro for home screen web apps. iOS 5.0 is more likely for Nitro'd UIWebView. Apple had to get iOS 4.3 out the door for the iPad 2 launch - there are likely hundreds of radars the engineers wished they could have closed for 4.3 just ran out of time for.

Filed under: Uncategorized No Comments

Warming up your car is unnecessary

Yahoo! Autos Canada: Winter driving tips - warming up the car

Good to know, because I've always been too impatient to warm up my car and worried that was bad for it - not so.


Palin is an idiot, and that’s being generous

Palin would never shoot an animal for its fur or for fashion. But it's okay for her to have a bearskin rug (I can only assume she didn't shoot it, doesn't wear it and doesn't consider it fashionable).

Filed under: Uncategorized No Comments

The problem with office work

YouTube - Jason Fried: Why work doesn't happen at work.

I watched listened to this video while working at home this evening. I'm working at home this evening because this is a time I'm able to be really productive.

Related, perhaps worth another read:

Me, November 2001: Why Offices Suck


Positive police story for a change

Most stories I see in the news about Police have been negative lately. Here's a nice positive story... glad to hear the guy didn't get arrested or tased!

Pantagraph.com: Break-in of B-N home fails … and what a break


The Plot Against Canada

The Globe and Mail: The Plot Against Canada: The enemies within... Alberta?.


Tom Brokaw Explains Canada To Americans

YouTube: Tom Brokaw Explains Canada To Americans (during the Vancouver 2010 Olympic Games)

Filed under: Uncategorized No Comments

The Ballad of G.I. Joe

Funny or Die: The Ballad of G.I. Joe

All I can say is... wow.

Filed under: Uncategorized No Comments