responds_to?(:chris)

Chris Cherry's random snippets of geek 

Save $200 in 2 minutes and have the worlds best writing pen

Shows how to modify the Mont Blanc ink refills to fit inside of a normal clickable G2 pen. This is a really cool trick, I've got to try this one.

Loading mentions Retweet

Comments [0]

Background script notification through Growl

This slick little tool allows you to run a command in the background and get notified of its success or failure via the Growl notification framework in OSX. This would be great for deployment scripts that take a little bit of time to run, and you don't really care to watch all the logs as you wait. Or even for annoying data processing/importing scripts that take a long time. Can't wait to try it out!

http://github.com/robey/growlme

Loading mentions Retweet

Comments [0]

Google ponders playing the ISP card?

Google's stock pile of dark fiber (maybe not so dark any more) has been used to communicate between it's data centers across the world for sometime now. I have always hoped they would consider turning this high speed private network into the backbone of an ISP that could be managed by Google. This would hopefully apply significant pressure to US based ISPs who are seemingly un-motivated to improve their own aging networks. Looks like that day might be on the horizon

http://googleblog.blogspot.com/2010/02/think-big-with-gig-our-experimental.html

 

 

Loading mentions Retweet

Comments [0]

Riding Rails: Rails 3.0: Beta release

Rails 3.0: Beta release

Posted by David February 05, 2010 @ 03:33 AM

You thought we were never going to get to this day, didn’t you? Ye of little faith. Because here is the first real, public release of Rails 3.0 in the form of a beta package that we’ve toiled long and hard over.

It’s surely not perfect yet, but we were out of blockers on the list, so here we go. Please give it a run around the block, try to update some old applications, try to start some new ones, and report back all the issues you find.

I’m really proud of this moment, actually. We’ve had more than 250 people help with the release and we’ve been through almost 4,000 commits since 2.3 to get here. Yet still the new version feels lighter, more agile, and easier to understand. It’s a great day to be a Rails developer.

There’s plenty to get excited about here. A few of the headliner features are:

  • Brand new router with an emphasis on RESTful declarations
  • New Action Mailer API modelled after Action Controller (now without the agonizing pain of sending multipart messages!)
  • New Active Record chainable query language built on top of relational algebra
  • Unobtrusive JavaScript helpers with drivers for Prototype, jQuery, and more coming (end of inline JS)
  • Explicit dependency management with Bundler

But please take a look at the full release notes and enjoy the latest!

To install:

gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
gem install rails --pre

Notes: The first line is required because RubyGems currently can’t mix prerelease and regular release gems (someone please fix that!).

Woohoo! Rails 3 beta is out. Many awesome changes made it in, props to the core team on all of their great work!

Loading mentions Retweet

Comments [0]

Why not H.264 for HTML5 video?

A lot of commercial software comes with H.264 encoders and decoders, and some computers arrive with this software preinstalled. This leads a lot of people to believe that they can legally view and create H.264 videos for whatever purpose they like. Unfortunately for them, it ain’t so.

http://bemasc.net/wordpress/2010/02/02/no-you-cant-do-that-with-h264

An excellent post on the limitations of the H.264 and other non-open video codecs. HTML5 implementors should embrace an open standard such as the Theora codec.

Loading mentions Retweet

Comments [0]

Trying out posterous

Maybe I would be more likely to blog if it was integrated with email?
We shall see!

Loading mentions Retweet

Comments [0]

Seriously?

I'm getting pretty frustrated seeing all the negativity about the Rails community explode out of one event at the GoGaRuCo conference. It's an unnecessary overreaction, and calling out people's personal styles, views, and choices is as equally unprofessional and offensive as any other potentially "offensive" action.

That said I'd like to point out some posts I've seen that are some of the most constructive so far.

http://www.quirkey.com/blog/2009/04/27/the-ghetto-of-the-mind/
http://www.rubyinside.com/be-professional-or-be-edgy-how-context-can-keep-everyone-happy-1709.html

Thank you RubyInside and Aaron Quint.

Loading mentions Retweet

Comments [0]

Use Google AJAX Libraries API, get IP geocoding free

We've all read about the great benefits of loading your JS libraries from Google. But one that isn't terribly obvious is IP Geocoding. When you include "http://www.google.com/jsapi" on your page, Google has automatically done its best to locate the client's machine for you (to the 'metro' level). Isn't that nice of them? It's called google.loader.ClientLocation.

Loading mentions Retweet

Comments [0]

Rails commit history, swarm style

Pretty interesting visualization of Rails commit history. And a great example of how the move to Github has spawned community involvement and contribution to Rails. Shamless plug: I make an appearance at 5:22 and 5:53, keep an eye out for the red avatar! Anyone else see themselves?

Loading mentions Retweet

Comments [0]

rattl - TAL for Ruby

There's already too many templating solutions for every language, Ruby included. Erb, Liquid, Haml, etc.

However, I didn't find an abundance of good TAL-like templating languages. For those of you who don't know much about TAL, check out a short tutorial on it. It's a pretty interesting way to do templating if you have a lot of interaction with non-technical designers and such.

Anyway, I'm starting the Ruby ATribute Templating Language (Rattl). Mainly because it's just fun to create new templating languages! A few of the basic constructs are implemented so far, so its kinda-sorta useful. Check it out, Contributions are welcome as always!

http://github.com/ctcherry/rattl

Loading mentions Retweet

Comments [0]