Monday, November 24, 2008

Google Finance - Feature Request

Dear Google Finance,

It is possible to include a music feature in your application, specifically in the My Portfolio section? I would like to play the music sound of a carnival carousel that goes up and down, up and down, up and down... make it have a downward trend though in the tone.

Weeeeeeeeeeeeeeeeeeeeeeeee!!!!

Sincerely,
Mark Holton
User

Friday, November 21, 2008

carl_spackler : Ruby to collect golf scores from web

Creating a new open source library hosted on Github, named 'carl_spackler'... it collects data on golf scores throughout the web, and produce a normalized form for each collection. Likely the output will be an array of Ostructs for starters.

Similar principle to OGWR, only for weekly tournament scores, not weekly golf rankings. This way anyone can collect both sets of data and use it as they so choose.

So lets say you want to grab all European Tour scores for the week, just dial up carl_spackler, and let it do your wet work for you.

Lots more to come on 'carl_spackler', 'OGWR', and others.


Carl Spackler, Greenskeeper, Bushwood CC

Thursday, November 13, 2008

some good Ruby + Rails reads for the day

Threading in Ruby (and other dynamic languages with a GIL)
http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/

Rails deployment:
http://www.loudthinking.com/posts/30-myth-1-rails-is-hard-to-deploy

Nginx + memcached
http://www.igvita.com/2008/02/11/nginx-and-memcached-a-400-boost/

Ruby build for re-install of Leopard and install of RubyCocoa

I, like many others, had Mac OS X before Leopard came out. i.e. installed Leopard separately when it came out. Sometimes that causes some things to err out, because for one example, RubyCocoa was bundled with Leopard, and some gems depend on RubyCocoa depending on what you're doing. Plus it's nice to mess around with RubyCocoa.


Found a good post here related to manually building RubyCocoa for your /usr/local Ruby (http://stephencelis.com/archive/2008/11/the-definitive-leopard-ruby-build) . I modified it a little bit, because I want to run Ruby 1.8.6, not 1.8.7.

-bash3.2.17:>> curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p110.tar.gz

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4439k 100 4439k 0 0 50223 0 0:01:30 0:01:30 --:--:-- 41886

-bash3.2.17:>> tar xzf ruby-1.8.6-p110.tar.gz
-bash3.2.17:>> cd ruby-1.8.6-p110
-bash3.2.17:>> curl http://gist.github.com/22725.txt > ruby_thread_hooks.diff
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3452 100 3452 0 0 7877 0 --:--:-- --:--:-- --:--:-- 58363

-bash3.2.17:>> patch -p0 < ruby_thread_hooks.diff

-bash3.2.17:>> ./configure --enable-shared --enable-pthread --enable-install-doc \
CFLAGS=-D_XOPEN_SOURCE=1

-bash3.2.17:>> make
-bash3.2.17:>> sudo make install

Tuesday, November 04, 2008

software mission statement

Was reading Signal vs Noise today, per the usual routine at lunch. ...they requested that folks describe them, to the layperson:
http://www.37signals.com/svn/posts/1371-describe-37signals-in-20-seconds-or-less

Here was my suggestion:
“We build sensible and usable customized web applications for humans… while contributing to open source software that helps people build, deploy and maintain web applications for themselves or their own business. In summary, we are entrepreneurial software humanitarians!”

That's my own philosophy on software, and the fellas at 37Signals seem to be of that mindset, after experiencing their products, reading their posts and book (GettingReal), listening to DHH, et al speak, etc.. Got me thinking that's a nice mission statement for individuals as well. So there it is.

It's nice to have the folks at 37Signals out there as an inspiration.

Sunday, November 02, 2008

collect Golf's World Rankings on your own with new Ruby module!

...Official Golf World Ranking, OGWR...
wrote some Ruby code in a Module that grabs the official golf world rankings...
use the data as you wish in your own application...
released as open source...
enables anyone to take the active OGWR data and do with it what you wish
(E.g. store to a database each week, hold in your database to related to players on your website, etc).

...it's decent for a start, planning on continuing to make it more versatile and useful...
You can find the code on GitHub at the links above.