Friday, October 17, 2008

update Rails and gems on Joyent Accelerator

Was back on my Joyent Accelerator (been too long), and hadn't done an update in awhile. Needed to update Rails, among many other gems and was coming across this error whenever I tried updating any gems:

ERROR: While executing gem ... (Gem::GemNotFoundException)
could not find capistrano locally or in a repository

Realized I needed to install rubygems-update-1.2.0 from source:

$ sudo curl -O http://rubyforge.rubyuser.de/rubygems/rubygems-update-1.1.1.gem
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 418k 100 418k 0 0 146k 0 0:00:02 0:00:02 --:--:-- 165k

$ sudo curl -O http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-update-1.2.0.gem
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 246k 100 246k 0 0 147k 0 0:00:01 0:00:01 --:--:-- 183k

$ sudo gem install rubygems-update-1.1.1.gem
Successfully installed rubygems-update-1.1.1
1 gem installed
[admin@golfapp /home]$ sudo gem install rubygems-update-1.2.0.gem
Successfully installed rubygems-update-1.2.0
1 gem installed

$ sudo update_rubygems

$ sudo gem update rails
Updating installed gems
Updating rails
Successfully installed activesupport-2.1.1
Successfully installed activerecord-2.1.1
Successfully installed actionpack-2.1.1
Successfully installed actionmailer-2.1.1
Successfully installed activeresource-2.1.1
Successfully installed rails-2.1.1
Gems updated: activesupport, activerecord, actionpack, actionmailer, activeresource, rails

Rubygems 1.3.0 was out about 20 days ago (it's been awhile since I updated this Accelerator)...
http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0

$ sudo curl -O http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-update-1.3.0.gem
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 257k 100 257k 0 0 151k 0 0:00:01 0:00:01 --:--:-- 188k
[admin@golfapp /home]$ sudo gem install rubygems-update-1.3.0.gem
Successfully installed rubygems-update-1.3.0
1 gem installed
[admin@golfapp /home]$ sudo update_rubygems
Installing RubyGems 1.3.0...

After reading Eric's blog post, I should have just done a:
$ sudo gem update --system
$ sudo gem update

Live and learn. But RubyGems is updated now, and so are all my installed gems. Yayy. Need to deploy my app to this by Dec 1 hopefully.

Thursday, September 25, 2008

Technology enhanced design : Bank of America ATM on Michigan Ave

I was in Chicago last week, visiting friends and family. It had been awhile since I had been back, great to see the folks, my brother and his family, and some close friends.

My wife had been to Chicago before, but somewhat briefly. So we spent a lot of time going to museums, a play at the Chicago Shakespeare theater (great venue!), the Hancock, some restaurants... and of course, some shopping on Chicago's famed Michigan Ave.

I had two very small checks in my wallet that I hadn't deposited for a couple weeks. We stopped into a Bank of America to withdraw some money and there was an ATM in there that was really impressive from a user experience perspective. It looked like most ATM's, but no need for envelopes to place your checks into. I took out the dog-eared and worn checks from my wallet, and slid one in on the prompt. Immediately a display of the check was on the screen, along with the Optical Character Recognition of the value of the check: $27.88. I confirmed the deposit amount via the touchscreen, and then deposited the second check. Once again, perfect. After depositing, the receipt that was disbursed also contained images of the checks as they had been scanned, along with the total deposit amount.

If you are in Chicago, near the Bank of America on Michigan Ave, give that ATM a try. :) Often times I find some implementations of technology to be cumbersome, or not yet mature enough to actually aid us -- whether it be the speed, the edge case errors, etc. But in this case, I hope to see these ATM's utilized throughout the country, as the user experience as enhanced by technology was an A+.

Monday, September 08, 2008

Syrin and Mudd ... are rewarded for this??

...thankful, in one respect, I don't own more than a marginal amount of Fannie/Freddie stock in the mutual funds...

...but boy, it sure worked out for Syrin and Mudd who will each exit with ~$15+ million each. We, the taxpayers, ultimately are paying that bill of course. ..$14 BILLION in losses the last 4 quarters... and it's far from over, as Paulson commits $200B from the Federal coffers to assuage the country's fears.

"As early as 2005, Fannie executives publicly expressed concerns about growing risks in the mortgage market In May of that year, Thomas Lund, a Fannie Mae executive vp, said that lenders should be concerned if borrowers straining to afford homes were given loans allowing for low payments in the early years but storing up much higher ones for later"

"$5 trillion of debt and mortgage-backed securities issued by Fannie and Freddie is owned by central banks and other investors world-wide."

While I mind chipping in to pick up the $200B with my N% in taxes, obviously we have no choice ... what I really mind, is these two "leaders" walking out of this with $15M cash after steering the ship into a glacial iceberg. Absolutely insulting, money out of our pocket, while the guilty gets rewarded with a golden parachute of 7 figures.

Where have all the leaders gone??

-Holts


http://online.wsj.com/article/SB122079276849707821.html

Monday, August 11, 2008

Dynamically typed languages are meritocracies

From Russ Olsen's "Design Patterns in Ruby":

"Statically typed languages are constantly asking about your parent or grandparent, or perhaps, in the case of Java-style interfaces, your aunts and uncles. In a statically typed language, an object's family tree matters deeply. Dynamically typed languages, by contrast, are meritocracies: They are concerned with which methods you have, rather than where those methods came from. Dynamically typed languages rarely ask about an object's ancestry; instead they simply say, "I don't care who you are related to, Mac. All I want to know is what you can do."


I love a good meritocracy.

Wednesday, August 06, 2008