Sunday, December 26, 2010

Hans Rosling's 200 Countries, 200 Years, 4 Minutes - The Joy of Stats - ...

Amazing data visualization:

Jailbreak iOS 4.2.1 Untethered iPhone 4, 3GS, iPad, iPod touch with Redsn0w 0.9.7 [How to Guide] | Redmond Pie

The iPhone Dev-Team have just released their “backup plan” (Redsn0w 0.9.7) for untethered iOS 4.2.1 jailbreak. The just released beta version of Redsn0w will enable you to jailbreak (untethered) iPhone 4, iPad and iPod touch 4G on iOS 4.2.1.
Jailbreak iOS 4.2.1 Untethered iPhone 4, 3GS, iPad, iPod touch with Redsn0w 0.9.7 [How to Guide] | Redmond Pie

Thursday, December 23, 2010

One turkey a day

According to this article: WHFoods: Turkey, turkey is white meat (breast), high in protein, and good source for Omega 3 fatty acid.
One of the great advantages of turkey is that much of the fat can be easily removed making it a very lean source of protein. We recommend roasting turkey to keep it moist and bring out is best flavor. Turkey dries out quickly so it is important not to overcook it; it is also important not to undercook it. For more on the Healthiest Way of Cooking Turkey see the How to Enjoy section below. While usually associated with the holidays, turkey can be enjoyed year round. 
Food Chart
This chart graphically details the %DV that a serving of Turkey provides for each of the nutrients of which it is a good, very good, or excellent source according to our Food Rating System. Additional information about the amount of these nutrients provided by Turkey can be found in the Food Rating System Chart. A link that takes you to the In-Depth Nutritional Profile for Turkey, featuring information over 80 nutrients, can be found under the Food Rating System Chart.
 
Turkey
4.00 oz-wt
113.40 grams
153.09 calories
NutrientAmountDV
(%)
Nutrient
Density
World's Healthiest
Foods Rating
tryptophan0.38 g118.814.0excellent
protein34.09 g68.28.0excellent
selenium36.40 mcg52.06.1very good
vitamin B3 (niacin)8.50 mg42.55.0very good
vitamin B6 (pyridoxine)0.64 mg32.03.8very good
phosphorus254.01 mg25.43.0good
zinc1.97 mg13.11.5good
World's Healthiest
Foods Rating
Rule
excellentDV>=75%ORDensity>=7.6ANDDV>=10%
very goodDV>=50%ORDensity>=3.4ANDDV>=5%
goodDV>=25%ORDensity>=1.5ANDDV>=2.5%

Make sure to serve turkey roasted and fully cooked. Wait 15-20 minutes before carving, and enjoy! 

Friday, December 17, 2010

How to swing like Rocco Mediate: 12 Nights at the Academy: Rocco Mediate and Jimmy Ballard - Golf Video | Golf Channel

The golf channel has the awesome "12 Nights at the Academy" series, especially this one 
12 Nights at the Academy: Rocco Mediate and Jimmy Ballard - Golf Video | Golf Channel, in which "Rocco Mediate and swing coach Jimmy Ballard will discuss with viewers how Mediate changed his golf swing and resurrected his game after nearly retiring due to lingering back injuries". Check it out since the tips in there is real and useful, not like the ones gave out by Hank Haney, which are completely useless. 
If you don't have to watch video, I'm summing it up here:
  1. Stand all and wide;
  2. Keep album, especially the left album connected with the body and keep it down;
  3. Push the right foot forward at the start of the down swing;
Some notes, though, even though everything Rocco and Jim said made sense, but changing swing is easier fo the pros, since their eye hand coordination, especially at impact, are almost perfect, that's why they are pros. The tip is for everyone, but not for everyone. For example, push the right foot could be diaster for some amateurs, since they'll move their body forward, rather than around. So the take home message here is that, the tips are all valid and useful, but you need to first understand how a golf swing should be,  before you can apply the tips. and fore......

Wednesday, December 15, 2010

The AWESOME Automation Guide For Mac Users [PDF]-makeuseof.com

Every Mac user should read this guide, which is made up of easy-to-understand demonstrations and screenshots. Among other things you’ll learn how to:

  • Use smart folders to manage your files and folders
  • Using iTunes’ smart playlists to organize your music
  • Find the photo your looking for with iPhoto
  • Sort your email without any effort, using Mail.app’s smart filters and folders
  • Using Automator to script without any programming knowledge
In particular, it shows you how to create a smart folder, just like the one on Windows: Recent Places, which I don't think OSX has a default smart folder for it.

How to Use a Google Maps to See Nearby Rental, Sales and Foreclosure listings

Big picture shows you how to find foreclosure listing using Google Maps,
Google Maps Foreclosure Listings
1. Punch in any US address into Google Maps.
2. Your options are Earth, Satellite, Map, Traffic and . . . More. (Select “More”)
3. The drop down menu gives you a check box option for “Real Estate.”
4. The left column will give you several options (You may have to select “Show Options”)
5. Check the box marked “Foreclosure.” 
Actually, the feature has been around for a while now, and not only can you search for near by foreclosure listing, you can also search for real estate sales and rental listings. Especially the rental listing, which don't show up on MLS listing, and can help the landlords to determine how much he/she should list the rental for, or  for investor to see how much rental potential the property has.

Monday, December 6, 2010

Howto solve IE's Unknown Runtime Error in Javascript

OK, this type of error is really case by case, specific to IE, but in general, Internet Explorer, even though many users and developers don't really care for, is actually stricter on checking the HTML compliance, which is not necessarily a bad thing especially for javascript development. I came across this post when trying to debug this weird error: Unknown Runtime Error, when I'm trying to insert a custom dojo widget in the page. According to the post and discussions, this error could be caused by trying to manipulate innerHTML, or nested form tags, etc.. In my case, it was the nested form tags (thought I figured this out myself, but earlier comments already pointed this out). The rule of thumb is that once you see a "Unknown Runtime Error" from IE, there is something not compliant with HTML standards in your code. The practice should be, first, check your javascript code using JSlint.com to fix all the missing semicolons, or comma, that Firefox and Chrome would simply ignore, then, if the error persists, check to see if you're trying to manipulate innerHTML from within the javascript, or nested Form tags. Hope this will help!