RSS Feed
Dec 2

I Wanted an iPhone, But I Got a G1

Posted on Tuesday, December 2, 2008 in Apple, mobile life, mobile phones, phones, programming, Windows Mobile

Well, I haven’t got the G1 yet. I ordered it, but it hasn’t arrived. The local T-Mobile store and Walmart don’t have the G1 to sell yet. T-Mobile hasn’t rolled out their 3G network in Kansas City yet.

I’ve been carrying a T-Mobile Dash smartphone for two years. It has been functional, but that’s about it. The hardware is decent enough, but the OS is atrocious. It has all of the worst of the desktop version crammed into a handheld. I still find it difficult to believe that I have to reboot my phone periodically (every few days) to reclaim the memory lost to memory leaks. It wouldn’t be so bad, except to get it to reboot in one try I have to remove the microSD card until it is up and running. Apparently, the 6.0 version of Windows Mobile for Smartphones has a buggy DLL that handles memory cards. So, the phone will go into a reboot loop until the memory card is removed. Nice. Enough about the past.

So, why a G1 and not an iPhone? As an Apple user (a Macbook Pro, and a Mac Mini), I am naturally drawn to the iPhone. It looks nice, the UI is nice, and it just works. But, I didn’t want to change carriers. I’ve been a T-Mobile customer for a long time and the service has been good and the prices are better than the competition. Also, one of the things like I liked about the Dash is the real qwerty keyboard. I just don’t like the touch screen keyboard on the iPhone. It’s too slow to use, and error prone. I guess the last downside of the iPhone for me is that it is an appliance. It’s a closed ecosystem. You must use it as it was intended. Sure, you can jail break it and load apps on it. But, it’s a running battle with Apple over control of your phone.

The G1 and it’s OS, Android, are a wide open frontier. At least compared to the iPhone. And, it has a real keyboard. I’m not crazy about sliders, but it’s an acceptable compromise. I’ve already downloaded the SDK and wrote the ‘Hello, World‘ for Android. It may rekindle my desire to write Java code again. I played around with J2ME in the past, but the phones were too limited and the development environment too compromised to be interesting to me. The G1 is neither.

My friend Kelly has been writing apps for his G1 for a month or two. So, I will have a local support group (of one) to fall back on when I get stuck. I can let him blaze the trail and clear out the brush ahead of me.

It’s all up to the UPS man now.

Jan 13

Hand cart on the (Ruby on) Rails

Posted on Sunday, January 13, 2008 in Leopard, OS X, programming, rails, ruby

In my previous post I detailed my problems getting NetBeans 6.0 to use the native Ruby installation on OS X Leopard. So, we pick up the story with that issue resolved.

Ok, time to create a new Rails project and get started. I go through the standard steps in NetBeans and am informed that there is a problem with my gems directory, and NetBeans thinks I am using Rails 1.2.6, instead of the 2.0.2 I installed. The error message sends me off the NetBeans wiki for details. So, off I go to figure out how to add GEM_HOME and GEM_PATH to my environment, so NB will recognize my gems directory. After about 30 minutes of surfing for answers I find the right combination of pages that allow me to piece together the answer.

I’m now running with a freshly created Rails project, complete with a database, with tables.

NOW, I can start coding. So far, the NetBeans/OS X combination has been more frustrating than it should be. Hopefully, I’ve completed all of the initiation rites.

Jan 7

Accelerating From a Stop

Posted on Monday, January 7, 2008 in Leopard, OS X, programming, rails, ruby, Software, software engineering

Ok, step one: Install Netbeans 6.0 Ruby version. No problem here, it works like any other package install. Now to configure it to my taste. The main change is to change the default Ruby engine from the included JRuby to the OS X installed 1.8.6 version of Ruby. I have nothing against JRuby, but at this stage I don’t want to debug JRuby related issues, so I want to stick with the de facto version. On Windows the location of your local Ruby installation is easy enough to find, c:rubybinruby.exe. On OS X I looked all over for it. It ran fine from the console, so it was installed and worked. But, where is the binary? I looked in the usual places, that I could think of, no joy. So, I turned to my local OS X/Ruby/NetBeans guru: Google. After much searching, I found a page with the path I needed. It seems that Ruby has been “framework-ized” into OS X. But, the binaries have been symlinked to: /usr/bin/ruby. Problem solved.

Step two: MySql. Downloaded. Installed from package. Done. Well, I need to install an OS X admin util. But, I can administrate it from the command-line in the meantime.

I opened the Depot Rails app from the Agile Rails book, ran the DB migrations and fired it up. Success.

Ok, I have a usable environment. Time to code.

Jan 7

Right turn ahead…

Posted on Monday, January 7, 2008 in programming, Software, software engineering

Ok, now back to software development topics. In particular, my current interest in Ruby, and it’s current killer app (framework): Rails. As for the post title, look here. It’s my hope that following the Rails won’t end up similiarly, but if you read stuff like this, you have to wonder. Although Zed seems to be generally pissed at life, he takes it out on the Ruby on Rails “community”.

I just got a new Apple MacBook Pro laptop a couple of weeks ago. I’ve been getting it all set up with my preferred apps. And, getting it set up to do some RoR development. OS X 10.5, Leopard comes with Ruby and Rails installed, which makes it easier to get started. I installed TextMate, the preferred Mac text editor. I also installed the Ruby version of Netbeans. I’ve been an Eclipse (and IBM Rational Application Developer, Eclipse with an IBM clown suit*) user for several years. Prior to that I used JBuilder and Forte, Netbeans predecessor. Eclipse has become a conglomeration of every plugin that can be imagined. It used to be the fast and slim alternative to Netbeans. Netbeans 6.0 is a cleaner, slimmer, and more focused IDE than Eclipse. I wish I could use it for Java development at work. I’ve played with the Ruby version of Netbeans 6.0 on Windows XP, with Instant Rails. Very nice, except for the Windows part.

So, I am going to try to document my journey down the (Ruby on) Rails.

* Credit for this description goes to my friend Kelly.

May 18

links for 2007-05-18

Posted on Friday, May 18, 2007 in programming

May 17

links for 2007-05-17

Posted on Thursday, May 17, 2007 in programming

Easy AdSense by Unreal