Monday, 29 April 2013
Tuesday, 19 March 2013
Thursday, 14 March 2013
The Old Reader: behind the scenes - Unexpected day: what are we gonna do about Google Reader death? Keep calm and carry on.
The Old Reader: behind the scenes - Unexpected day: what are we gonna do about Google Reader death? Keep calm and carry on.: . We have been discussing this quite a lot recently, and we decided that paid accounts (the freemium model) are the way to go.
Friday, 8 March 2013
Wednesday, 6 March 2013
Battery Widget Reborn Is an Elegant, Smart Battery App for Android
Battery Widget Reborn Is an Elegant, Smart Battery App for Android:
In addition to the resizable widget, Battery Widget Reborn offers battery usage stats (e.g., how long it takes to fully charge and how long your battery typically lasts), an estimate of when your battery will be empty, how much battery is being used by individual apps, and quick power settings.
It even comes with an auto flight mode to save battery at night and is highly customizable.
Currently in beta, the app is free and works on Android 2.3 and up. After the beta ends in a couple of weeks, there will be both a "Freemium Lite" and a Pro version.
Basically, if you want to keep an eye on your Android battery life, download this app, because it's a pleasure to use.
Battery Widget Reborn | Google Play via Android Community
Monday, 4 March 2013
Bake Healthy Cookies With Just Two Ingredients
Bake Healthy Cookies With Just Two Ingredients:
If you want to bake a batch of cookies, but don't have staples like eggs or flour lying around, you can get by with nothing but bananas and oatmeal.
To make your cookie dough, just mix up two soft bananas with a cup of quick oats, adding more oats if it seems too runny. That's literally the entire recipe. Once your dough is mixed, just dollop it onto a greased cookie sheet and bake at 350 degrees for about 15 minutes. When they're done, you'll have some healthy snacks that are easy to eat on the go. If you want to customize the flavor, you can sprinkle in some chocolate chips, cinnamon, or pretty much anything else.
2 Ingredient Cookies - Plus the Mix-Ins of Your Choice | The Burlap Bag via The Kitchn
Thursday, 28 February 2013
Coded Smorgasbord: A Simple Misunderstanding
Some terrible code arises out of terrible business rules which no one truly understands. Some terrible code arises from laziness, sloppiness, or the need to just get it done now.
But there’s a special class of awful code that arises for a complete misunderstanding of how the language is supposed
to work. That gives us things like the loop Rasmus found:
$i = 0; for (;;) { $i++; echo "<input type="text" name="row[]"><br />"; if ($i >= 15) break; }
Semaj inherited a code-base which uses this “pattern” everywhere:
try { if (_staff == null) throw new NullReferenceException(); } catch (NullReferenceException) { _staff = _provider.GetStaff(); }
Who doesn't love using Exceptions to govern program flow?
Adam’s co-worker seems to misunderstand the purpose of an if statement:
if (dncrptList.Contains(destName)) { dId = SymmetricMethod.Decrypto(id); } else { dId = SymmetricMethod.Decrypto(id); }
Adam also points out that Decrypto would make an excellent name for a CS-themed super-villain.
And John found this one, which demonstrates PHP’s “flexibility”:
foreach ($category as $category) { /* do stuff */ }
The loop works just fine, but has the nasty side-effect of completely replacing the array with the last assignment to $category- the last element of the array. That wasn’t a problem until John later tried to add some features to the category listing and expected the array variable to still hold an array.
Monday, 25 February 2013
Join the Army, See Middle Earth
Unknown
mordor
, lord of the rings
, The Hobbit
, millitary
, middle earth
, army
, joke
, monday thru friday
, g rated