follow up to my iPad predictions

So Apple has announced the iPad. This is a follow up to the predictions  I posted last week.

[youtube]http://www.youtube.com/watch?v=Msqc7I6rwLo[/youtube]

Things I was right about:

  • Apple will announce a tablet device
  • new version of the iPhone OS, 3.2.2
  • iPad will run on the iPhone OS
  • iPad will run iPhone applications
  • The iPad will have a 10 inch screen (9.7 inches is close enough)
  • 16, 32, 64 gig versions
  • Verizon will not be involved

Things I was wrong about:

  • There will be a new iPhone
  • The new iPhone will have a new camera. The iPad doesnt have any cameras!

Create WordPress Thumbnails Automatically

create wordpress thumbnails automaticallyWordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. This meta-data can be used by theme authors to do some pretty cool things.

The theme I am currently using allows for a custom field named “thumb”. If you create the “thumb” custom field in a post and pass in the path to an image, for example “wp-content/uploads/2008/12/wordpress_logo.png”, a thumb nail version of the image will appear next the posts title on the home page of my blog. Awesome stuff.

When I discovered this theme and the “thumb” custom field, I already had 225 posts in my blog. I didn’t want to go back and manually create all the custom fields for the existing posts, so I wrote a PHP script to do it for me.

The PHP script cycles through your existing posts and looks for the first image in the post, and creates the thumb field based on it’s location. The script is configurable, your theme may want a different custom field name, like “thumbnail” or “image”.

This code is provided as is. If you aren’t a developer, you should be messing with stuff like this. Be sure to back up your wordpress database before running this.

Instruction:

  • download this code
  • configure the database connection info and custom field name
  • upload this code onto your server
  • point your browser to the file
  • watch the script do it’s magic
  • remove the file from your server
  • donate $2 to my paypal account ([email protected])

Note: This is a one time deal, when you create new posts you will need to add the “thumb” field and image path manually


			

RotoPhoto, my first iPhone app

WOW, here I am about to release my second iPhone app, and I realized that I haven’t blogged about my first iPhone app!

“RotoPhoto” is my first iPhone app. It’s a simple tool that allows you to rotate the orientation of a photo taken with the iPhone. The internal sensors of the iPhone are designed to know what direction is up at all times and auto rotate the iPhone camera for you, so no matter the angle you take the picture they are facing up. If you have owned an iPhone for an extended period of time, then you know that the iPhone can get confused when you take a picture when the camera is pointed down or up, and your picture comes out sideways. The iPhone doesnt have any built in facilities for adjusting your photos. RotoPhoto is a tool that fills that gap.

With RotoPhoto you can fix your photos orientation before sharing them with friends.

RotoPhoto is avaliable for $0.99 USD on the iTunes store.

app_store_badge_0708

You can check out http://RotoPhotoApp.com for more information

[youtube]http://www.youtube.com/watch?v=mIPvURe_AcE[/youtube]

I upgraded my mac!

MacMiniRamUpgrade-22-500x375

A few months ago I bought a Mac mini so I could start to develop iPhone applications. I must say that I am growing to be more of a Mac user then I thought i would be. I purposly bought a cheap Mac to get started with, but I’m starting to regret it. One of the downsides of buying a low end computer is the lack of RAM. RAM is the area of the computer where th.e work gets done. Think of RAM as a work bench. The larger the work bench you have, the more things you can be working on at the same time. It boils down to this, more ram, more speed due to less reading and writing to the hard drive. My Mac had 1 Gig of RAM, no where near enough RAM for a power user/programmer.

Coming from a PC and Linux world, I have build all of my own computers since 1996. I’m comfortable working with computer hardware and the Mac mini is just another computer, except its wrapped up in a tiny package. I did some research and realized that it wouldn’t be hard to upgrade the RAM in my Mac. I found that MacSales.com had some great prices on RAM so I went for it and got 4 gigs worth.

I documented the whole upgrade process, and launched a new website, MacMiniRamUpgrade.com. It’s a Do-It-Yourself site to help inspire and walk people through the upgrade process.

Adding the RAM to my Mac mini is one of the best upgrades I have ever done. So much bang for buck. You should do it also! http://macminiramupgrade.com