It’s official

March 7, 2008 · Posted in apple, iphone, mac · Comment 

I am the greatest. The iPhone said so:

teh-greatest-small.jpg

(Click for larger version

And I didn’t Photoshop it, either.

iPhone development

March 6, 2008 · Posted in apple, iphone, mac · 1 Comment 

Now this is very exciting.



(Click for larger version)

I predict that the iPhone SDK will be seen as a watershed in the history of computing, as important as the the first PC. For the first time, proper mobile computing will be a reality.

I can’t wait to get started developing my first app.

The river of news is diverted

January 28, 2008 · Posted in RSS, apple, mac · Comment 

I made the difficult decision to change my RSS reader the other day from the lovely NewsFire to the newly free NetNewsWire. As it happens I actually have a licence for NNW from before it was made free but I didn’t like it enough and went back to NewsFire.

Today, I achieved the nirvana of a news reader with no unread items in it. I feel like I’ve had my house steam cleaned or something. I’m still not 100% sold on NNW, but, like NewsFire, its integration with my blog editor MarsEdit and my del.icio.us client Pukka is great and it has the killer feature of synchronising with Newsgator Online so that I can read feeds from my iPhone and keep the unread/read status consistent on my MacBook Pro and the phone.

I miss the beautiful interface and animations of NewsFire, but I fought the three-pane RSS reader for too long. I think I’ll be with NWW for a while. Maybe when David releases NewsFire 2 I’ll give it another look.

Getting WordPress, mod_rewrite and Leopard to work together

December 25, 2007 · Posted in Apache, WordPress, apple, leopard, mac · 2 Comments 

I’ve been trying to get Leopard, Apache 2 and WordPress working together for a while now. I want to use the WordPress friendly URL feature, and this requires the Apache mod_rewrite module to work too. There are various places around the web that have partial solutions to these problems. Here’s the procedure I followed - YMMV

First off, WordPress is installed in /Users/jameshiggs/Sites/blog. Leopard comes with Apache 2.2 installed, but has PHP disabled by default. To correct this, go to the console and change directory to /etc/apache2 and open httpd.conf in your favourite editor. For me this means typing:

sudo mate httpd.conf

You’ll probably have to enter your admin password. Find the line that reads:

#LoadModule php5_module libexec/apache2/libphp5.so

and uncomment it so that it looks like this:

LoadModule php5_module libexec/apache2/libphp5.so

Next, we need to make sure that your user directory allows .htaccess rules. To do this, create a file called jameshiggs.conf (obviously, you’ll need to replace my user name with yours) in /etc/apache2/users. The contents of that file should read:

<Directory "/Users/jameshiggs/Sites">
	Options Indexes MultiViews
	AllowOverride All
	Order allow,deny
	Allow from all
</Directory>

Again, you’ll need to replace my user name with yours.

The final piece of the jigsaw is to configure WordPress to use friendly URLs - which you do from the Options > Permalinks page. I’ve selected the second option which makes URLs look like this: http://localhost/~jameshiggs/blog/2007/12/25/sample-post/. If WordPress can write to the site root then it will automatically create the .htaccess file. If not, you’ll need to create it yourself in the root of your blog site. On my machine, the file should look like this:

<IfModule mod_rewrite.c>
	Options +FollowSymLinks
	RewriteEngine On
	RewriteBase /~jameshiggs/blog/
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /~jameshiggs/blog/index.php [L]
</IfModule>

Finally, you need to restart Apache - the easiest way to do that is to go to System Preferences > Sharing panel and untick Web Sharing. Once Apache has stopped, tick it again and Apache should start up. And that’s it.

Let me know if you have any variants to this procedure.

Thanks to Bagelturf and Ariadoss for hints that helped me get this running.

Facebook and iPhoto

December 3, 2007 · Posted in Facebook, apple, iphoto, mac · Comment 

I’m probably the last person in the known universe to find out about this, but I’ve been very impressed recently with the Facebook iPhoto Exporter. It adds another tab to the Export dialog that lets you create albums, upload photos and tag your friends in them. Very slick.

Here’s what it looks like in practice (click for full-size):

A screenshot of the Facebook iPhoto plugin

Not loving Stacks on Leopard?

November 28, 2007 · Posted in apple, leopard, mac · Comment 

Via Matt Legend Gemmell I found Quay - a way to have Tiger-style hierarchical folder menus in your dock, in case Leopard’s Stacks aren’t doing it for you. It’s shareware and costs only €7.