Friday, January 9, 2009

Getting Started with Git on Ubuntu

I'm going to be taking a look at Git and how well/if it will fit in with an existing Subversion repository, so first thing to do is get it installed (I'm using Ubuntu 8.04 so your mileage may vary, but I followed the exact same steps on my laptop with 8.10)

First off - DON'T use the version in the Ubuntu repositories, it's out of date - but this is still super easy.

Grab the latest source tarball from the Git site. (was 1.6.1 at the time of writing this)

Open up a terminal.
$ sudo apt-get build-dep git-core git-doc
Go into the directory where you saved the git tarball.
$ tar -zxvf git-1.6.1.tar.gz
$ cd git-1.6.1/
$ sudo make prefix=/usr all doc

(Note: I'm installing it for all users, you could leave the 'prefix=/usr' part out to only install it for yourself. Also, this step will take a while...)
$ sudo make prefix=/usr install install-doc
$ git --version

Assuming all went well, you should see something like:
git version 1.6.1

Tuesday, January 6, 2009

Apple doesn't want iPhone developers?

Spent a little time over the holiday break thinking about potentially profitable applications for the iPhone... Finally came up with an idea I'm a little excited about. Ok, so it's probably not profitable, but at least it would be fun to write. Unfortunately, I hit a roadblock. I registered for the Apple Developer Connection to get the SDK to get started and couldn't find one for Linux.

A quick email to Apple returned:

"Thank you for contacting the Apple Developer Connection regarding the iPhone Developer Program.

The iPhone SDK requires an Intel processor-based Mac running Mac OS X Leopard. Please know that Apple does not offer a version of the iPhone SDK for Windows operating systems and we have not announced any plans to do so."

Have to admit I'm a little miffed about that - I'd love to have a nice Mac but if I don't have one by now, I'm sure not buying one just to develop an iPhone app. This seems a bit shortsighted on Apple's part. Oh well, Android seems pretty interesting too... hopefully there are some new Android-based phone offerings soon. In the meantime, here's a link to a recently published title from my favorite series:

Hello, Android

[edit: after thinking it over some more, it's pretty smart, albeit distasteful. The amount of sales that they're generating on the iPhone creates a large target for developers, who of course have no choice but to buy a Mac to develop an app for that market - a double win for Apple]