Archive

Archive for the ‘tech’ Category

Using the new Facebook Connect library (including with Facebooker)

December 17th, 2009 alex No comments

We’ve moved!

Hey everyone, all my tech blog posts are now at my personal blog at http://blog.twoalex.com.  I’ll keep blogging about Mealstrom here, but you should hop on over there to check out the latest and greatest about technology (and food) in general.

Read this entry on blog.twoalex.com

Categories: tech, website Tags: ,

Authentication with Devise and Warden, part 1: Up and Running

December 12th, 2009 alex 4 comments

We’ve moved!

Hey everyone, all my tech blog posts are now at my personal blog at http://blog.twoalex.com.  I’ll keep blogging about Mealstrom here, but you should hop on over there to check out the latest and greatest about technology (and food) in general.

Read this entry on blog.twoalex.com

Categories: tech, website Tags: ,

When ui.helper is null: a jQuery sortable quirk

November 22nd, 2009 alex No comments

We’ve moved!

Hey everyone, all my tech blog posts are now at my personal blog at http://blog.twoalex.com.  I’ll keep blogging about Mealstrom here, but you should hop on over there to check out the latest and greatest about technology (and food) in general.

Read this entry on blog.twoalex.com

Categories: tech, website Tags:

Rails 422: The change you wanted was rejected.

July 1st, 2009 alex No comments

We’ve moved!

Hey everyone, all my tech blog posts are now at my personal blog at http://blog.twoalex.com.  I’ll keep blogging about Mealstrom here, but you should hop on over there to check out the latest and greatest about technology (and food) in general.

Read this entry on blog.twoalex.com

Categories: tech, website Tags:

If your iPhone with OS 3.0 beta won’t turn on

May 16th, 2009 alex No comments

I had a rather nasty experience this morning; after Xcode froze when installing Mealstrom onto my iPhone, the device reset and then stopped booting up. When I tried to turn it on, the Apple logo would appear, then it would power off. Fixing this wasn’t how I wanted to spend my afternoon, but under these particular circumstances, involuntarily not having a phone wasn’t sitting well. If it had been totally busted or stolen, I would probably have made a phone holiday out of it, but since this was something caused by software and probably fixable, I was anxious to get it resolved.

My initial searches turned up nothing that worked on my phone, so we went to the Apple store. The staff were helpful, but I found out in no uncertain terms that they can’t support any iPhone 3.0 devices until it’s officially launched. The resident Genius suggested I call the Apple Developer Connection, once it opened on Monday. (A day and a half with this hanging over me?) As a last ditch effort, I threw a different set of search terms at one of the store Macs, and discovered a post about Device Firmware Update (DFU) mode. I gave it a go, and on the second attempt, sure enough, it worked.

In case this might help anyone, here are the steps I had to take to get my iPhone working again. I’m guessing it should work for any iPhone (at least any 3G model) on any version, though I’m not 100% sure; I was running 3.0 beta 5 on a 3G.  I’ve adapted these from an article on Livecrunch — they have my deep gratitude.

  1. Connect your iPhone to your computer.
  2. Turn iPhone off (if it’s on).
  3. Hold the power and home buttons together for 10 seconds (exactly).
  4. Release power but keep holding home until the recognizes the iPhone (a beep,  a message on iTunes, etc.)
  5. iTunes should acknowledge your iPhone shortly and tell you it needs to be restored.  If you’re running 3.0 beta before the final version is released, don’t start with iTunes.  It won’t do any harm, but it’ll fail.
  6. Open Xcode and choose Organizer from the Window menu.  You should see “iPhone” among the iPhones listed.  Select that, choose 3.0 as the software version, and hit restore.
    1. Livecrunch reports that you might encounter error messages such as 1601, 1602, 1600, etc.; if you do, they suggest putting the iPhone into DFU mode and trying again.
  7. Wait.  It takes a while, but at least Xcode tells you what it’s doing.  After about 5 minutes, the restore should be complete, and your iPhone will prompt you to connect it to iTunes.

I did all this in the Apple store, where I was surprisingly unbothered despite spending chunks of time coding and playing with the phone.  I guess as long as you’re using Apple hardware, you can get away with pretty much anything there.  In the end, my iPhone is happily working, and that’s what matters.

Categories: iPhone, tech Tags:

Scaling UIImages without losing orientation

May 11th, 2009 alex 3 comments

We’ve moved!

Hey everyone, all my tech blog posts are now at my personal blog at http://blog.twoalex.com.  I’ll keep blogging about Mealstrom here, but you should hop on over there to check out the latest and greatest about technology (and food) in general.

Read this entry on blog.twoalex.com

Categories: iPhone, tech Tags: