Two very nice additions in Edge Rails

Posted on July 07, 2008

Though we still haven’t upgraded to Rails 2.1 on our main project (CrunchBase) — yes, I know, it’s lame — two nice additions have come along in Edge Rails that will make my life easier.

The first is from the fine blog of Ryan (I wish it was updated more often): Collection Partial Variable naming. Ryan says that this is from the “little-but-useful department” — I think it’s totally sweet. I’ll actually use the @collection trick more often now.

Second is a trick for ActiveRecord — you can now easily stay ruby-fied when you execute a join. Scroll down. It’s pretty sweet.

MAMP + CocoaMySQL

Posted on May 20, 2008

OK so this took me more than a minute to figure out, so I wanted to bump this answer for future google searches:

If you’re using MAMP and want to check out any databases created via applications run in MAMP, do this:

Host: localhost
User: root
Password: root
Database: [blank] (unless you know the db name)
Socket: /Applications/MAMP/tmp/mysql/mysql.sock
Port: 8889

Getting the socket right was the tricky thing for me. Hope this helps.

Flickr Video Embed

Posted on April 09, 2008

Taken in MGM Studios in December, 2007.

BBC: Mexico gang had ‘James Bond’ car

Posted on March 20, 2008

Actual photo captain from Mexico gang had ‘James Bond’ car:

Most Jeep Cherokees do not boast police-defying smoke machines

Howcast — How to throw a frisbee

Posted on February 25, 2008

Howcast is a web service TechCrunch covered recently. It’s got some pretty cool tech, with a lot of structure built around professionally-made instructional videos. Sadly, I stumbled upon its ‘How to throw a frisbee’ entry, and I dispute its merit. No self-respecting frisbee player uses sub-Whammo sized disc straight out of a Honey Nut Cheerios box.



Google Maps’ ‘Terrain’ View

Posted on February 21, 2008

Picture 3, originally uploaded by sea_bass.

Via @nickgonzalez, I stumbled upon Google Maps ‘Terrain’ feature and it is pretty sweet. The new view is more like a traditional paper map, highlighting elevation, vegetation, and highways routes. It looks fantastic. Look for it be the norm, soon.

Gone is the ‘Hybrid’ view — it’s now implicit with the ‘Satellite’ view (though you can toggle the streets names out).

CrunchBase 2

Posted on February 20, 2008

Just in case you missed it, here’s my TechCrunch moment of fame:

Version 2 Of CrunchBase Released.

US drops Africa military HQ Plan

Posted on February 19, 2008

From the BBC:

The US military has decided to keep the headquarters of its new Africa Command in Germany, after only one African nation, Liberia, offered to host it.

Most African countries have been wary of plans to base the command, Africom, on the continent.

Africom’s commander, Gen William Ward, said there were no plans to create large US garrisons on the continent.

The US can always rely on Liberia.

Testing….

Posted on February 18, 2008

New Widget:

Twitterring from Quicksilver via Twitterrific

Posted on November 26, 2007

Great post by Coda Hale on simplifying posts to Twitter: doing it via Quicksilver.

Had to follow a comment from Michael Janssen:
I had to change:
set twitter_key to first Internet key of current keychain whose server is "twitter.com"
to
set twitter_key to first generic key of current keychain whose name is "Twitterrific"
in order to get it to work, because my twitter key is just a regular aplication password.

UPDATE:: Thanks to Ted Leung, now working with Growl. Make sure to apply the code above again if you have the same issues as me.