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.



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’ [...]



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. [...]



 Page 12 of 14  « First  ... « 10  11  12  13  14 »