Ruby on Raspberry Pi

Raspberry Pi Circuit Board Raspberry Pi is a single-board computer roughly the size of a deck of cards. It’s equipped with an ARM processor that runs Linux. USB ports let you attach a keyboard and mouse. Video is supported via HDMI and RCA. Storage is handled by SD cards. There’s an Ethernet port.

You can buy a Raspberry Pi for $35.00.

Will it Run Ruby?

When my Raspberry Pi arrived, I was curious: Will it run Ruby? How about Rails? This article describes my experience with RVM, Ruby, and Rails on a Raspberry Pi, along with the “gotchas” I encountered along the way.

Continue reading →

Long Tail Opportunities

You are already familiar with the 80/20 rule. In the late 1800s an Italian economist discovered that 80% of the wealth in his country was owned by 20% of the people. More recently we find that the 80/20 rule applies in other areas of our lives. Professional service firms find that eighty percent of the revenue comes from twenty percent of the clients. Merchants find that eighty percent of sales comes from twenty percent of the products. Winners at the very top of any field tend to win by a large margin.

Continue reading →

Make Your Competition Irrelevant

Blue Ocean Strategy

Path to Victory

A skillfully executed business strategy is one path to victory. Many strategy books will tell business owners how to win at the expense of the competition, how to take market share away from the competition, and so on.

The book Blue Ocean Strategy proposes a non-typical path to victory over the competition. According to the authors, following a blue ocean strategy will make your competition irrelevant.

Continue reading →

Building iOS Apps With RubyMotion

Special thanks to the organizers of MagicRuby and Aloha Ruby for inviting me to present RubyMotion at their respective conferences. Confreaks recorded video at the Aloha Ruby event.


 

The fizzbuzz sample code can be found on GitHub. Slides are on SpeakerDeck.

Should you use RubyMotion or Objective-C for iOS development? That depends…

Continue reading →

Using RubyMotion With Xcode's Interface Builder

Executive Summary

RubyMotion is a Mac application that lets developers write iOS apps in Ruby. It’s possible to create the user interface for the app entirely within RubyMotion or with a Ruby gem like Teacup. But what about devs who prefer Interface Builder?

This article will show how to use Xcode’s Interface Builder to create a basic UI for a RubyMotion application.

Continue reading →