Droid 2.1 Problems – Update
April 27, 2010 by dave@kiwiluv.com · Leave a Comment
I posted here about problems that occurred immediately after upgrading to Droid firmware v2.1. Turns out it wasn’t the firmware. Over the next few weeks, the problem with the screen accuracy evolved into “phantom touches” and eventually my phone took on a life of it’s own, randomly paging around, running programs, deleting emails, drunk texting people, etc. I had just picked up a new car (necessary after driving my old one into a fuel tanker truck…the truck won) and it was the worst possible time for my phone to be unusable.
I stormed into a Verizon Wireless store seething hostility, had about a 10 minute wait to talk to a technician. Long story short, despite the steam coming out of my eye sockets (or maybe because of it) Verizon replaced the phone with a new one, no questions asked and I was on my way.
The Droid is now on my watch list. Having a hardware problem of this nature after only a few months is unacceptable. Thanks to Verizon for dealing with an unreasonable and irate customer so quickly and professionally!
Dell Lightning Windows 7 Phone
April 26, 2010 by dave@kiwiluv.com · Leave a Comment
We’re entering the new golden age of smartphones. Engadget just posted some images of new Dell devices that are looking pretty slick. The lightning (above) is a Windows Phone 7 device. They also have the Thunder which is supposedly running Android. In my opinion, the more the merrier. I’m increasingly optimistic about Windows Phone 7′s chances. The prior versions of Windows Phone were so lousy we didn’t even consider doing development for them, but the way things are looking they’re back in the running.
I’ll post info on some of the other cool phones and as I learn about it the Windows Phone 7 development environments. Check out the Engadget post…this thing is loaded!
This Just in From the Dept. of I’ll Believe it When I See It – iPhone 4G
April 20, 2010 by dave@kiwiluv.com · Leave a Comment
Please please please let it be true!
Find a Startup Team – Startuply.com
April 18, 2010 by dave@kiwiluv.com · 2 Comments
It’s tough being a startup. You’re either not funded well enough to attract top talent, or if you do have the funding you just can’t find talent with the entrepreneurial spirit. I stumbled upon Startuply some time ago and recently had reason to revisit. This is a site designed to hook up start-ups with people having the skills needed to make them succeed. If you’re a start-up or developer looking to work for one, this site is well worth a visit.
Also, the Startuply.com Blog is good reading…
Customer Service at its Best…Amazon.com
April 18, 2010 by dave@kiwiluv.com · Leave a Comment
A company’s product isn’t it’s software, sprocket, cog or whatever physical entity that gets packed up and delivered to the customer. The product is every aspect of the experience a customer has with a company…both good and bad.
My complements to Amazon.com. I ordered an Xbox 360 game for my daughter (Left4Dead 2…excellent game by the way) from Amazon.com. After two weeks, it had not arrived. I went to the web site, informed them of the issue, and within two days had a replacement FedEx’d to me. No questions asked…no suspicion that I was scamming them to get two copies on the cheap.
Today, the wayward copy arrived. I promptly went back to the web site and arranged for a return which I’ll be shipping out tomorrow.
About two years ago, some friends residing in Switzerland had a similar experience. They had ordered something and had erroneously been delivered additional products (ironically also XBox 360 games). They diligently contacted Amazon.com to return the merchandise that had been inadvertently delivered. Because they were an overseas customer, Amazon.com simply told them to keep it…
Amazon.com’s motivations are strongly motivated by good business practice. They understand that aggravating a customer with a complex return policy or layers of nonsense in order to save $39 of waste attempting to return a product accidentally delivered to an overseas customer is just not worth it. Not to mention the difficult to quantify goodwill they’ve earned with me and my friend…and the countless others who’ve had similar experiences with Amazon.com.
It’s not often Amazon.com screws up an order, but when they do they do right by their customers. Good on you Amazon.com!
New Post on the Business is Pleasure Blog: The Startup’s Dilemma
April 15, 2010 by dave@kiwiluv.com · Leave a Comment
Check it out:
http://bip.softwarejewel.com/business/the-startups-dilemma-bootstrap-or-venture-funding-2773/
Sales Guys – Gotta Love ‘Em…
April 11, 2010 by dave@kiwiluv.com · Leave a Comment
No business survives without sales (that I know of). Still, it’s fun to poke them in the eye once in a while. Note to self…do not expense lap dances.
Using Devise for Authentication in Rails
April 11, 2010 by dave@kiwiluv.com · 6 Comments
In our first application, we used restful authentication for user authentication. For our next one, I evaluated AuthLogic, which is well respected and works well. There’s a new one out there that I’m trying out that I like very much as well called Devise. In contrast to AuthLogic, Devise is full stack and doesn’t operate only on the model. It actually comes with some nice generators to make thing easy to get up quickly. Be really careful to pick the right version if you’re using Rails 3!
Here’s how to build Devise authentication into your app. Note that I initially did this on rails 2.3.5, but decided to revert to early adoption and installed the Rails 3 beta. I do have to say that this works MUCH better in Rails 3 than Rails 2, but the end result is just as good.
First, just install the Devise gem. Rails 3 introduces the Gemfile which looks like it’s going to make handling gems and dependencies a breeze compared to manifests and the old way of doing things. I thought I’d give it a try. Add the following line to your Gemfile:
gem 'devise', '1.1.rc1'
That will tell Rails that it needs v1.1RC1 of the Devise gem. Next run
bundle_install
to parse the Gemfile file and make sure all the various dependencies are met. This type of thing has been the bane of many Rails developer’s existence and this looks like a giant step forward!
But I digress. Now we should have the Devise gem installed and ready to go. Devise has a script which puts everything in place for using Devise in your app. Run the script to set everything up:
rails generate devise_install
You’ll be prompted with the following manual steps to follow to complete installation:
===============================================================================
Some setup you must do manually if you haven't yet:
1. Setup default url options for your specific environment. Here is an
example of development environment:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
This is a required Rails configuration. In production is must be the
actual host of your application
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
root :to => "home#index"
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
For example:
<%= notice %>
<%= alert %>
===============================================================================
The next step is to create a model with hooks into devise for your users. You can create multiple models (User, Admin, etc.) in order to customize behavior for each one. In this example, I’m just going to create a User model using
rails generate devise User
This creates the necessary models and migration files. Now is the time for some decisions. I’m taking all default modules that Devise offers, however if you do not wish to have all of the modules applied you will need to comment them out in your migration rake file to avoid creating those tables in your database. Once you’re done tweaking, just do
rake db:migrate
To create the database tables, routes, etc. This creates a boatload of routes in your application for user sign in, signout, forgotten password retrieval, etc.
That’s pretty much it except for beautification. Devise comes with it’s own views, which you can customize, but are a great starting point to focus on functionality first. You can simply go to the /users/sign_up URL and create a new user. Do a rake routes to find out everything that Devise just added to your application. It’s a very complete set of functionality.
For a fantastic tutorial on Devise, check out these two RailsCasts by Ryan Bates:
RailsCast #209 – Introducing Devise
RailsCast #210 – Customizing Devise
And naturally the github site linked to at the beginning of this post.
Ed Roberts – 1941-2010
April 10, 2010 by dave@kiwiluv.com · Leave a Comment

I’ve never even seen an Altair 8800 in person, but this computer launched the PC revolution. I know it looks like part of the set to “Lost in Space” (the original series, not the lame remake with Matt LaBlanc as Major West). However, were it not for this machine, Bill Gates and Paul Allen would not have founded Microsoft in Albuquerque, New Mexico. Yes, that’s right, Microsoft was not founded in Redmond. They moved there in search of crappier weather so they could concentrate on work. The choice of Albuquerque was so that they could be in the vicinity of MIPS, Robert’s company and maker of the Altair, in order to create the first BASIC interpreter for the Altair computer.
Ed Roberts, although not well known in tech circles these days, kicked off the revolution that spawned Microsoft, Apple and gave us the computers, smartphones, iPads, etc. we enjoy today. Without him, things may have unfolded very differently, so have a look at the Wikipedia Article on his remarkable life, which sadly ended a bit too soon.
Oh, and have a look at the Bill Gates – What I’m Thinking Blog for Bill’s own thoughts on Ed Roberts who in many ways launched Bill’s career.

iPhone 4 – Post Hype
April 10, 2010 by dave@kiwiluv.com · Leave a Comment

Apple has been pretty busy. Hot on the heels of the much hyped and very beautiful (but useless?) iPad comes the announcement of iPhone OS 4. We do software development for Android and iPhone and some of our products definitely work better on Android because of some of the features that have been missing from iPhone 4.
But first the suck. Here’s what we didn’t get:
- Flash support in Safari. No surprise there…Steve wants Flash’s head on a pike outside his office in Cupertino.
- An iPhone for Verizon. While the rest of the planet uses GSM, Verizon’s CDMA network in the little backwater of the US still has the best performance and coverage.
- Ads. Oh wait…we did get those. Crap.
- Backward compatibility. iPhone OS 4 is only possibly compatible with the iPhone 3G and iPod Touch Second Generation. Why? The hardware simply isn’t as capable. On the positive side, at least you’ll get ads on those platforms…woo hoo!
The big news is ads. Just kidding. The big news is that iPhone 4 will support multitasking. In some ways, the Apple applications like Mail and Messaging always did, but third party developers were not permitted to use the secret sauce making this possible.
Another nice thing is a file system/folder structure. This will allow better organization of documents and will eliminate the need for application developers to implement their own faux-file system within the application.
Apple has also beefed up some applications, added an iBook reader and various other miscellaneous things that we don’t really care about, but you might. All in all welcome changes. The folks at Gizmodo have the complete rundown here.
Compelling, but I’m not about to run out and get an iPhone until I don’t have to use it on the AT&T network. Still, as a developer multitasking alone is enough to keep me writing code for this phone.
And best of all…ads!



