Text

Installing Ruby 1.9.2 or Ruby Enterprise Edition in OS X Lion with RVM

Using MacPorts you can install Ruby Enterprise Edition, as well as Ruby 1.9.2 for the local user in OS X Lion while having Xcode 4.2 installed by using “Apple’s version of gcc 4.2.”

Note: The reason I mention Xcode 4.2 is that Apple removed gcc-4.2 in Xcode 4.2 for llvm-gcc-4.2.

Prerequisites:

  • OS X Lion (tested in 10.7.2)
  • Xcode 4.2
  • rvm 1.9.1
  • MacPorts 2.0.3

Execute the following commands:

$ sudo port install apple-gcc42

$ export CC=/opt/local/bin/gcc-apple-42

then

rvm install 1.9.2

rvm use 1.9.2 —default

or

rvm install ree

rvm use ree —default

Note: Ruby 1.9.3 was just released and should not require apple-gcc-42

Text

Developing RESTful iOS Apps with RestKit

RestKit is an Objective-C framework for iOS that aims to make interacting with RESTful web services simple, fast and fun. It combines a clean, simple HTTP request/response API with a powerful object mapping system that reduces the amount of code you need to write to get stuff done.

MobileTuts Introduction to RestKit

MobilTuts Advanced RestKit (still under dev)

Video

People from the 90’s explaining the Internet

Nastalgia

Link Distribute Ad Hoc Applications Over the Air (OTA)

If you’ve been through the distribution process of an Ad Hoc application, you can appreciate the challenges of getting a build installed on someone’s device. From the differences of working with users on Windows versus Mac machines, to explaining how to import an Ad Hoc provisioning file and the associated build into iTunes, this process is anything but a walk in the park.

In this post I’ll walk you through the steps of deploying Ad Hoc builds over-the-air, where users simply point the Safari web-browser (on their iPhone) to a link and tap to install the provisioning file and associated application.

- John Muchow

Video

Excellent talk at TED about how video games reward the brain.

We’re bringing gameplay into more aspects of our lives, spending countless hours — and real money — exploring virtual worlds for imaginary treasures. Why? As Tom Chatfield shows, games are perfectly tuned to dole out rewards that engage the brain and keep us questing for more.

Link Git Immersion

Git is a powerful, sophisticated system for distributed version control. Gaining an understanding of its features opens to developers a new and liberating approach to source code management. The surest path to mastering Git is to immerse oneself in its utilities and operations, to experience it first-hand.

Link How To Ask Questions The Smart Way

In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way more likely to get you a satisfactory answer.

Eric S. Raymond, Rick Moen

Link Defensive Coding in Objective-C

When programming in a C-descended language like Objective C, there are many things that can easily go wrong. To avoid the worst of these errors, programmers have come up with various coding conventions that make it harder to cause such bugs. We’re not talking about indentation or spacing, but rather about “mini-patterns” that ensure certain errors are caught more easily. 

- Uli Kusterer

Link Bug Reporting Best Practices - Apple

This page provides information regarding the best means in which to file a bug report.

Link Unit Testing in C++ and Objective-C just got easier

CATCH is a brand new unit testing framework for C, C++ and Objective-C. It stands for ‘C++ Adaptive Test Cases in Headers’, although that shouldn’t downplay the Objective-C bindings.

Link Mac OS X Debugging Magic

Mac OS X contains a number of ‘secret’ debugging facilities, including environment variables, preferences, routines callable from GDB, and so on. This technotes describes these facilities. If you’re developing for Mac OS X, you should look through this list to see if you’re missing out on something that will make your life easier.

Link Non-Deterministic Problems aka Finding Talent

Some thoughts on finding mobile developers or finding work as a mobile developer

- Jeff LaMarche