Lost?
Thursday 11/20/2008 – Category: Uncategorized
Is anyone else seeing this on the top of their Facebook home page?
Please reset your email notification settings.
Unfortunately, your email notification settings have been lost. You can reset them on the Notifications page. We’re sorry for the inconvenience.
I’m wondering how Facebook goes about losing things…perhaps someone accidentally dropped a table? Whoops.
Finding distance and time between two places with Google Maps
Wednesday 11/19/2008 – Category: Uncategorized
Instead of doing ghetto (and inaccurate) coordinate math, let’s use Google Maps to do the work. This is a bit obscure, but you can append &output=kml to any search query and it will give you output in KML (XML for Google Earth) which makes scraping just a tad bit cleaner.
Instead of parsing the XML, [...]
Talking vs Typing: Google Voice Search
Wednesday 11/19/2008 – Category: Uncategorized
Google recently updated their iPhone app with voice search, and I must say…it’s pretty impressive. I can imagine it being really convenient when I’m driving or in a situation where it’s not convenient to type. You just have to hold it up to your ear and it prompts you to speak the phrase to search [...]
content_for in Rails
Tuesday 11/18/2008 – Category: Uncategorized
I’m not sure why I hadn’t come across this before, but Rails has a nifty helper called content_for that allows you to insert stuff anywhere in your layout.
A classic use case is inserting a javascript source file that is only used on a specific page.
In your view:
<% content_for :head do %>
<%= javascript_include_tag ‘whatever.js’ [...]
apache2-mpm-prefork, apache2-mpm-worker, and PHP5
Tuesday 11/18/2008 – Category: Uncategorized
So I was reading up on Apache MPMs and whether it’s better to use worker (threaded) or prefork.
The worker MPM uses multiple child processes. It’s multi-threaded within each child, and each thread handles a single connection. Worker is fast and highly scalable and the memory footprint is comparatively low. It’s well suited for multiple processors. [...]
Recent Posts
- Marble Paint
(Friday 02/4/2011 – 1 Comment) - More Flickr Original Updates
(Sunday 01/23/2011 – 13 Comments) - Flickr Original updates
(Saturday 08/7/2010 – 19 Comments) - LED Light for iPhone 4
(Monday 06/28/2010 – 65 Comments)
