Skip to content

Having played with my new iPad for over a week, I have come to the conclusion that while it may not yet replace the laptop, it creates a new category of tech devices.

The large format screen and familiar iPhone OS were easy to get acquainted with. The touch interface and keyboard is much easier to thumb type with. The A4 CPU feels much faster and scrolling is quite smooth. I am still trying out different apps to find what works well for my needs but so far the redesigned mail application is truly an experience.

Netflix has a free application for the iPad and iPhone that allows subscribers to watch their instant watch library via the app. It is a great way to watch movies on the go or without turning on a computer. The built in Youtube app is also great for those who like independent content.

Drawing programs are another breed of fun applications. There are many to choose from, but a good price to feature app is ArtStudio. The $0.99 price belies the advanced features found on this app. With layer support (up to 3 layers), brushes and image import/export, you can save to your photos or email them to others.

News readers are another really excellent group of apps. Many newspapers have free apps allowing easy access to their content. I haven’t gotten a chance to check out most of them, but the WSJ app is pretty nice. The interface takes a little getting used to, but once you get the hang of it, it is far superior to searching thru the printed version. SkyGrid is another news aggregator and allows searching multiple sources for recent news.

Back to the post topic. Wordpress is a popular blogging software (which powers this blog), and this post is being written on their iPad app. The app is open source as well, so if you are interested in developing iPhone/iPad apps, you can start by checking out the code. My complaint about this app is the save feature is a little broken. This is my third attempt at writing this post. When you click the home button, it seems to recover your changes, but when you hit save, it reverts to the older version. So hit Save before you go play a tune.

-Huey

Our marketing department at Chegg.com will be posing a challenge question at an event later this month. Since I know pretty much none of my readers (all 2 of them) will be there to participate, I wanted to put this question to the general public.

How many Campbell Biology textbooks (11.2″ x 9.3″ x 2″) can you fit in a cardboard box (46′ x 22′ x 9′) ?

Note: There is 1 answer, but many approximations.

I’m looking for your answer and the way you solved for the answer.

-Huey

I was recently looking at different opportunities and saw a quite a few great companies doing wonderful things. Among them is Cooliris, previously known as PicLens. Their flagship product is a browser plugin which allows a very enticing scrolling view of media files. Images, videos, and music scroll by on the screen in an endless wall. Clicking on an image will zoom in to a higher resolution photo and a video file will zoom in and start playing. Needless to say this is a pretty cool little tool, but it’s a plugin which means the download stops a lot of potential users. But wait, they have a flash embed file which allows any website to embed the same experience on any web page! Let’s see how we can use this to show off our photos. continue reading…

The current dislocation in the market has placed some pretty funny values on companies. Looking at two in particular (disclosure: I own shares in both), Circuit City (CC) and General Growth Properties (GGP), we can see that they are facing cash flow problems and issues with refinancing debt. Definitely things to be concerned about, but the values placed on them value them at 0.07X book value and 0.36X book value respectively.

Which means, if the two companies declare bankruptcy and were liquidated (isn’t this the worst case senario?), shareholders would get over 10X and 2.8X their cost of shares at current prices of $0.50 (CC) and $4.20 (GGP). Assuming the companies lose some more money, shareholders would still reap a tidy profit in a liquidation.

Circuit City: Estimated quarterly loss $170MM this quarter. Reducing their book value from ~ $1.2B to ~$1.0B leaving a Price to Book ratio of 0.08X. Put another way, you can buy 100% of CC stock and control the company with ~$85MM and control over $960MM of commercial real estate. I can’t imagine what is causing such a tremendous discrepancy between value and price, but I’m going to be happily buying down to $0.01/share.

GGP: Same story. Their assets are over $2B greater than their liabilities. Current price action values the company at $1.12B making it pretty undervalued as well.

What’s causing all this? My guess is the many smaller hedge funds and other institutional holders are facing extraordinary redemption requests and are being forced to sell their holdings. This could only go on for so long, but until investors are able (willing?) to stomach the discomfort, we may see these and other distressed companies at firesale prices.

Dear NYT,

I thank you for making your excellent articles available for free and I get a majority of my news from you. I don’t even mind paying a bit for archived articles. However, in your eagerness to boost pageviews and revenue, you created a bastard child called altClickSearch.js. This little bugger has caused me untold grief as I like to highlight as I read, double-clicking becomes an instinctual action. I can’t deal with the pop-ups that even Firefox 3 won’t block.

As I write this, I would like to put a little more room between us. I feel smothered with your constant attention to what I highlight. My other friend Greasemonkey has shown me a wonderful relationship modifier that is allowing me to proceed with my sanity intact, appropriately called “New York Times (NYT) Sanity”.

Thanks and please keep up the excellent articles.

I’m not sure how everyone else is using Zend_Layout, but I’m doing the following to render my navigation and footer links. It’s not the most DRY code, but works until I learn more about the framework.

In my Action file, I add actions to the stack for nav, footer, continue reading…

Someone asked how I get a db connection in my models using ZF1.5.1

Basically I have a ConfigDB singleton pattern that gets one db connection, then sets the default adapter so when I extend the Zend_DB_Table_Abstract class, the default connection gets carried around.

class ConfigDB {
static private $instance;
private function __construct() {
}
public static function getInstance() {
if (!ConfigDB::$instance) {
$params = array(
/* redacted */
);
ConfigDB::$instance = Zend_Db::factory('Mysqli', $params);
Zend_Db_Table_Abstract::setDefaultAdapter(ConfigDB::$instance);
}
return ConfigDB::$instance;
}
public static function selectDb($db) {
return ConfigDB::$instance->getConnection()->select_db($db);
}
}
ConfigDB::getInstance();

That grabs the connection and sets the default adapter. So in my model class I can do:
class Country extends Zend_Db_Table_Abstract {
protected $_name = 'countries';
protected $_primary = 'country_id';
function __construct($country = 1, $abbr = '')
{
parent::__construct();
}
}

That’s it

Baby Kaylan Hu I’ve finally gotten the time to put up pictures of our newest addition, Kaylan. She arrived Feb. 25th at 9:36AM weighing in just under 8 lbs and measuring 19 inches long. A little bit under her sister Audrey’s weight and length, Kaylan came out very angry and hungry. You see, we interrupted her beauty sleep and she wasn’t quite ready to meet us yet. Mommy Yun is doing very well. This time we skipped the long labor part and went with a scheduled C-section so Mom is recovering much faster. They were doing some pain study at Stanford Hospital so Mommy had a local anesthetic delivery system for the incision. This reduced the pain quite a bit for the 2 days it was in and if your insurance pays for it, I’d highly recommend it. It reduces the side effects of pain pills and IV injections because the medication is delivered straight to the surgery site.

Kaylan is getting in a regular schedule now of crying every two hours, being fed, then sleeping until the next cycle. Great things come in small packages, unless of course it comes in a disposable diaper. Once you get used to the lack of sleep and the fatigue, babies are truly wonderful. Every little tot is a gift to be treasured. Their smiles, cries, and every little movement is something to be remembered. They are growing every day and the challenges of parenting change along with them. Mommy and I are both looking forward to helping our little bit of heaven grow into a beautiful little angel.

-Mom and Dad

I’ve been tasked recently with investigating business intelligence tools for our company. Every business has metrics and trends that they need to keep a good pulse on. Sometimes the things to measure are easy to define, and sometimes no one knows what they are looking for.

There are plenty of offerings out there. Most notably MicroStrategies, Oracle, SAP, and more. Of course most of the ones I just listed are simply not cost feasible for a small company to explore. To pay to play, it’s easy to lay out over $100K just to get something basic. Of course my budget was much much smaller than that so my boss pointed me towards an open source project called Pentaho and I have been steeped in it for the past month.

The documentation for Pentaho is pretty comprehensive if you are educated in the technologies involved. But for me, I had to get familiar with quite a few things before getting to do something useful.

Over the next few weeks, I will post up progress and some small tutorials to help someone new get started with the world of Pentaho.

It’s been more than 2 years since the number game sudoku started spreading internationally. During that time, it has popped up in many daily publications and numerous websites have created their own dedications to the game. A subset of latin squares (or magic squares), it is logic based and purports to help sharpen one’s mind. Nintendo has used it (very successfully) to market their DS game platform [B000EGELP0]. Palm also has multiple publishers of sudoku games. My question is “How long will people play Sudoku?”

When I first found the game, it was Websudoku.com that provided an easy and addictive introduction to the game. I spent numerous free hours trying to improve my solving skills. However, after writing a javascript sudoku solver in 2006, I’ve found that only very occasionally will I even think about it anymore. Is this common? How many of you are/were addicted to sudoku?

Seems like I can’t even goto the grocery store anymore without having sudoku puzzle books taking up valuable checkout line shelf space. Unlike crossword puzzles, sudoku does not expand your vocabulary. It also doesn’t help with making word associations and re-enforce current events. Is it just the biggest productivity sapper ever created?

Well, for me anyway, it’s helped me polish up some javascript coding. I recently finished revamping my solver to allow actual game play. Still needs some more TLC and some sticky features, but some features are fairly unique to the online sudoku games. For instance, my implementation allows you to take a snapshot of your work so you can go back if it gets hopelessly messy. I should allow you to save the progress and come back, but that’s for a future release. My best Sudoku puzzle game can be found at http://www.numbercrazy.com/.