Getting my home office in shape for a productive '09. Consolidated my stacks of business cards I've gotten from various trips and conferences over the past 3 years. Even with my CardScan I'm not sure what to do... Insanity.
Comments [0]
Here's the offending code for Zune bug that's been causing the mysterious hangs. Can you find it without looking at the solution?
//------------------------------------------------------------------------------
//
// Function: ConvertDays
//
// Local helper function that split total days since Jan 1, ORIGINYEAR into
// year, month and day
//
// Parameters:
//
// Returns:
// Returns TRUE if successful, otherwise returns FALSE.
//
//------------------------------------------------------------------------------
BOOL ConvertDays(UINT32 days, SYSTEMTIME* lpTime)
{
int dayofweek, month, year;
UINT8 *month_tab;
//Calculate current day of the week
dayofweek = GetDayOfWeek(days);
year = ORIGINYEAR;
while (days > 365)
{
if (IsLeapYear(year))
{
if (days > 366)
{
days -= 366;
year += 1;
}
}
else
{
days -= 365;
year += 1;
}
}
// Determine whether it is a leap year
month_tab = (UINT8 *)((IsLeapYear(year))? monthtable_leap : monthtable);
for (month=0; month< 12; month++)
{
if (days < = month_tab[month])
break;
days -= month_tab[month];
}
month += 1;
lpTime- >wDay = days;
lpTime- >wDayOfWeek = dayofweek;
lpTime- >wMonth = month;
lpTime- >wYear = year;
return TRUE;
}
Comments [0]
Could this be him?

Comments [0]
Comments [0]
Comments [0]
So, I was catching up with some friends' blogs, and my buddy Sean recounts the time we almost died in Shanghai, much more eloquently than I could have. It's even a cliffhanger in two parts!
Until she skidded into an intersection like she was performing the stunt routine for a Goodyear Aqua-tread commercial and Froggered us halfway through ten lanes of terrifying cross traffic. That we are, ass-a-kilter pointed at a forty five degree angle inside of the far-easts largest intersection. And traffic is just racing by. Well, that is until one car wasn't as agile as the others in swimming right around us. And slammed on his own breaks and fucking hit us.
So what does she do? "Oh no, I've been in a car accident, I hope my patrons and the other vehicle are all right!" That's what a sane person would think. She fucking giggles. Yep, a shrill little giggle and then she slowly drags our car out of the intersection like some sort of retarded four-wheeled sloth. And away we went.
So that's how we almost died."
BTW, Sean screamed like a girl... actually, so did I.
Comments [0]
Now I think that maybe he's an evil mastermind genius.
MWY - Midway Games Inc. (NYSE)
0.28 -0.02 (-6.67%) Dec 4 4:03pm ET
Open:
0.34
High:
0.34
Low:
0.22
Volume:
409,164
Avg Vol:
152,000
Mkt Cap:
25.80M
Disclaimer
After Hours: 0.25 -0.03 (-10.71%) Dec 4 4:07pm ET

Comments [2]
His identity is like Batman's: unknown. Everyone in the gaming metropolis is buzzing about who Thomas, the man who Friday agreed to pay $100,000 for an 87% stake in Midway, the publisher of Mortal Kombat vs. DC Universe, actually is. Here are some bare-bones facts:
Bruce Wayne may be the Dark Knight, but is this Thomas character Midway's white knight?
...
On the credit side of the ledger, he gets 87% of a video game publisher that owns the Mortal Kombat franchise. Midway also had $10.5 million in cash and $21.6 million in receivables as of its last quarter, ended Sept. 30. He also gets a $70-million I.O.U. that Midway once owed to National Amusements -- Midway's payments on that loan will now go to Thomas.
On the debit column, Midway has $150 million in outstanding loans, not including the $70 million it will owe Thomas. It also has a payroll of about 900 employees that it is struggling to meet. Last quarter, the company lost nearly $76 million on $51.4 million in revenue."
--------
This all seems kind of bizarre.
Phase 1) Buy company that is saddled with debt, bleeding cash for $100k and "Be a passive investor" i.e., "Don't do anything"
Phase 2) ???
Phase 3) PROFIT!
Comments [1]
Over 350 people killed since September in Tijuana, including decapitations. Mostly drug cartel related, but it is oddly not covered much in the news - I guess it's not as psychopathically sensational as the crazy Mumbai terrorism.
http://www.latimes.com/news/printedition/asection/la-fg-tijuana2-2008dec02,0,6016852.story
Comments [0]
Comments [1]