Tuesday, July 13, 2004

Commentary back in a week

I will be sporadically blogging since I will be out of the office attending Microsoft's Global Briefing in Hotlanta until July 21st. I'll try gathering some interesting non-confidential tidbits to share on some cool MS technologies when I get back.

Spotlight on Spotlight

Mighty interesting read on Apple's new search engine and its management of metadata, a traditionally difficult but interesting computer science problem.
------------------------
Daring Fireball says Apple's Spotlight will be a real and a well-thought-out product:
Daring Fireball: Spotlight on Spotlight: ...two years ago... Apple hired Dominic Giampaolo, renowned file system design expert and creator of the highly-regarded, metadata-rich Be File System.... [W]hat then has Giampaolo been working on?... Spotlight — which is, in the words of one WWDC attendee, Giampaolo’s “baby”.... [T]he aforementioned source who attended the Spotlight session at WWDC sent me the following report:
Spotlight is completely, relentlessly focused on files and files’ metadata. Files are the only object returned to Spotlight queries. Two aspects of Jobs’ keynote were thus misleading: The “spotlight” effect on System Preferences was wholly unrelated to Spotlight. Spotlight’s ability to show results from Apple Mail archives on Jobs’ machine was tantamount to a sham. Believe it or not, Tiger Mail has switched to an “exploded” Maildir-like storage format with a single message per file.
One implication of Spotlight’s file-centricity is that its ability to search “email” might not apply to clients other than Apple Mail — it’s the fact that the new Tiger version of Mail stores each message as a separate file that allows Spotlight to effectively return individual mail messages as search results. No other major mail client uses a one-message-per-file storage format.
Spotlight’s full-text search is outsourced to SearchKit, which will be considerably faster in Tiger (“3x indexing, 20x incremental search” over Panther). So, Spotlight has three places to look for information about files: its own hand-tuned substring-matching metadata store (built by Giampaolo, not part of Core Data or anything else), Carbon’s HFS+ catalog calls (so Spotlight will respond to searches for type and creator), and SearchKit’s full-text index.

Both metadata collection and full-text indexing depend on cooperating per-file-format Importers, either written by Apple or by third parties. Like Google, no matter how much text an Importer provides, Spotlight only cares about the first 100K of raw text. Importers are fired on every file the moment it is created, saved, changed, or moved, including when files are made available through a newly mounted drive. Performance is said to be excellent in every case except network-mounted home directories, which are bedeviling on several levels and on which they’re still working.
It’s through the default set of Importers that Spotlight is able to index and search format-specific metadata, such as the ID3 tags in MP3 files. What’s cool about this architecture is that Spotlight’s indexes will thus stay up-to-date automatically. All you need to do is save, move, or copy a file, and Spotlight’s metadata and content indexes will note the changes on-the-fly. Compare and contrast to the full-content file searching previously provided via Sherlock, which required periodic monolithic re-indexing of the content of your drives.

Reading code is hard

Eric Lippert doles out good advice sharing some of his coding and debugging best practices.

Something cool from Microsoft

...about Potential and Passion.

Monday, July 12, 2004

Something funny from Sun

...found Inside Jack.

Slowly encircling

Israel’s illegal but unstoppable barrier

Economics of two Americas

Class warfare is being waged in the current elections, again.

Wal-Mart vs. Neiman Marcus illuminates with more analysis showing how economic growth is benefiting the wealthy and fast disappearing for the poor.
...the University of Michigan and the Conference Board both publish monthly gauges of consumer confidence...Both measures—produced by nonpartisan economists—find that Americans, on the whole, are confident—more optimistic, in fact, than they have been in two years. But they also found that while those with incomes above $50,000 have become more confident and optimistic, those with incomes below $50,000 have become less so.

The Conference Board shows the same split. In its most recent month, May, the index for over-$50,000 demographic was 112.1, the highest it's been since June 2002. But for those making under $50,000, confidence not only remains below its levels of July 2002, it has been falling in 2004. (Since January 2004, the confidence for the under $15,000 subset has fallen from 69.1 to 65.6; for the $15,000-$24,999 subset, from 85.2 to 69.3; for the $25,000-$34,999 subset, from 92.9 to 82.9; and for the $35,000 to $49,999 subset, from 95.2 to 93.6.)

...If the economy were undergoing a broad-based expansion, if a rising tide were lifting all boats equally, you might expect that trend to continue. But the views of the rich and poor are moving in opposite directions. The split results—the growing pessimism of the poor and the growing optimism of the rich—suggest the economy's improvement isn't helping everyone. That is bad news for a lot of Americans, but it may be good news for the Kerry-Edwards ticket.

Take CMU courses online

Carnegie Mellon is offering free courses through its Open Learning Initiative. Unlike MIT's OpenCourseWare which has 700 courses available, Carnegie Mellon currently only has five courses available but is fully interactive. Learn microeconomics here.

Sunday, July 11, 2004

On political accountablity

...where I also add my 2 cents.

The closing of the American book

Read a forceful piece, apparently the #1 most emailed article for the New York Times right now, speaking to the consequnces of Americans choosing not to read. Cable networks are no doubt happy about this trend as long as more eyeballs stay glued to the tube. I wouldn't be surprised if this impacts our productivity, innovativeness, and work ethic over the long-run, in turn engendering not so attractive demographics that is less educated and well-off. What goes will come around.

Saturday, July 10, 2004

If it wasn't for lawyers

Daniel Gross argues that lawyers—derided by the business-friendly and secrecy-obsessed White House “as enemies of free enterprise and the state”—are emerging as the true heroes of the Enron debacle. “Bush's MBA administration proved itself singularly unequipped to deal with the cascade of bankruptcies, accounting scandals, and Wall Street conflicts that exploded in 2001,” Gross writes. In this responsibility vacuum, lawyers “have proved to be the most effective tools—perhaps the only effective tool—for making the Bush government work.”
Bush, and many of his surrogates, can't make political hay out of this great coup. Every development in the Enron saga becomes an occasion to rehash the many links between Bush, the Bush administration, and Enron—and inconveniently close to the elections. (Salon conveniently dusts them off here.) And it's difficult to criticize trial lawyers for destroying Americans' businesses when Enron stands as an example of how a bunch of greedy MBAs from Texas sunk a giant American corporation all by themselves—or to bash lawyers when, as the Enron Task Force shows, they're the only potent weapon the government has against corporate corruption.
Also, an excellent piece at BillMon (solid piece of writing, as usual) laying out the history between Enron, Lay, the GOP, and the Bushes (I & II). The Whitewater "scandal" is quaint by comparison.

Nice, quiet evening

Started off Friday night working out for an hour at the gym down the street from the office. Soon after, I picked up Chani from her work, where we had a nice Thai dinner nearby, and managed to catch a showing of Spiderman 2.

Spidey the hype does indeed match the performance. I thought the acting was superb, with a very well-written script, nicely assembled scenes (threaded with romance) and story line. And did I mention the killer (very realistic) special effects?

Afterwards, we got home and even caught up on a couple shows we Tivo'd.

SG-1: New season arrives

I'm a big fan of a Sci-Fi channel cable show, SG-1, because: 1) it's not a Star Trek rehash, 2) has quite a few great and original story lines, 3) with rich subplots and more (e.g. Richard Dean Anderson of MacGyver fame does a great job as one of the main characters). It has garnered a loyal fan base, and is now on its 8th, and last, season.

My fiance and I saw the 1st episode of the new season last night - it totally rocked, that is, if you're a fan of [good] sci-fi. :)

The price of empire

A friend sent me this interesting piece found in May's Atlantic Monthly on the price of America's empire building; a lot of informative comparisons are made to the British experience. Seems the Brits master the craft a little better than we do.

Putting money in perspective

Think you have money problems?

Look at the celebrities -- child stars to Donald Trump -- who've burned through hundreds of millions of dollars and then filed bankruptcy.

Friday, July 09, 2004

To comment or not to comment

Laura's Apt 11D makes an interesting case for both turning on and off blog commenting. To keep the Commentary somewhat rational if not a controlled chaos, mine's off for now.

Microsoft's upcoming goodies for Web services

Microsoftie's Yasser, Elliot, and Matt have posted New Features for Web Service Developers in Beta 1 of the .NET Framework 2.0. Interesting read if you're interested in where Microsoft is going next with Web services.

Starr defends, Moore begins, and then some

Kenneth Starr offers his rebuttal to Clinton's memoirs, Michael Moore starts blogging on Independence Day, as well as Bloggers Suffer Burnout (no surprise there) and the open question, Where Are the Real Republicans?.

Anti-string

String theory. You may have heard of it - many a times on Star Trek no doubt. In physics, quite a few consider it The Theory of Everything. String theory has been hot for a while, almost a decade now. PBS has a popular multi-episode special on it, quite a few best sellers are shilling it.

Yet, what if it turns out to be unprovable New Age-tinged psuedo science, which has no predictative value and fails to explain new phenomenon any better than existing theories?

That's the critical view proffered by anti-string theorists.

Thursday, July 08, 2004

Report Shows Big Drop in Reading in U.S.

Astounding - seems like some things we just can't take for granted anymore.

Only 47 percent of American adults read "literature" (poems, plays, narrative fiction) in 2002, a drop of 7 points from a decade earlier. Those reading any book at all in 2002 fell to 57 percent, down from 61 percent.

NEA chairman Dana Gioia, himself a poet, called the findings shocking and a reason for grave concern.

"We have a lot of functionally literate people who are no longer engaged readers," Gioia said in an interview with The Associated Press. "This isn't a case of `Johnny Can't Read,' but `Johnny Won't Read.'"

The likely culprits, according to the report: television, movies and the Internet.

Success and Motivation P4

More insights by Mark Cuban. He has it nailed down, nothing fancy or MBA-esque. Focus on the basics: knowledge is power (e.g. spending 3 hours a day reading), learn from the best, understand how your biggest competitors might respond before they do. Good stuff.

The great Chinese century - are they ready?...Part 2

Does freedom and liberal democracy really have nothing to do with the Chinese phenom? I take another stab at it here.

Wednesday, July 07, 2004

Man-made yellow diamonds - absolutely fascinating

My fiance clued me to this intriguing tale that leads down some dark corridors shedding light on a battle between old diamond interests (De Beers) and a few gutsy, bleeding-edge scientists and entrepeneurs. May very well change the face of technology as we know it today.

And De Beers Agrees to Guilty Plea to Re-enter the U.S. Market.

Tuesday, July 06, 2004

The great Chinese century - are they ready?

New York Times Magazine has a thought-provoking piece on China.

When we're not the biggest dog on the block anymore, it has to be innovate or die (like Great Britain of last century).

Regardless of the current hype, China will lack freedom and a liberal democracy that we take for granted for a long time to come, which is fundamental to forming a marketplace of ideas and innovation that lead to sustained, non-export led growth. Plus, even bigger question for them will be the 1 billion inland population that don't and won't benefit from this economic growth spurt for the forseeable future.

Sarah McLachlan

My fiance and I blazed our way over Vancouver July 4th, managed to grab some delicious - and just as important authentic - Chinese eatings complete with a boatload of take-outs, and also did some shopping on Robson. Then last night, we went to Vancouver-native Sarah McLachlan's first North American concert at the Key Arena in Seattle, and it was aweseome. Her voice was amazing to behold live (almost goes w/o saying), the instrumentals, stage work, and the rest topped off an already nice holiday weekend. Though she's been out of the scene for 6 years, her performance Monday night shows that she indeed remains an extremely talented artist.

Thursday, July 01, 2004

The capitalism of soccer + Mark Cuban

Learned a lot about sports as a serious business concern from two articles I picked up this week.

Interesting comparison of the soccer vs. baseball business.

And Mark Cuban of Maverick's fame writes a nice well-thought out piece on a key decision affecting his franchise Steve Nash, Part 1

He also does a nice job with Rules of Success. #1: Sweat Equity is the best equity!

It was great reading, even for someone who's neither into soccer or baseball, nor a Maverick's fan.

Saturday, June 26, 2004

Try out Visual Studio 2005 Express Edition for FREE

Are you already a .NET developer? Would like to be one? Why not try out the latest from Microsoft; after all, it's FREE.

At TechEd Europe keynote the new Express products were officially announced that are available for download right now:
Visual Basic 2005 Express Edition
Visual C# 2005 Express Edition
Visual C++ 2005 Express Edition
Visual J# 2005 Express Edition
Visual Web Developer 2005 Express Edition
SQL Server 2005 Express Edition – Note, SQL Express is included as an optional component in the installers of the other Express products.

Takes 15-20 minutes to download (the install is only 54MB vs. the normal 3GB VS install). It’s a great way to get your hands on some bits and start coding some .NET apps in no time. After installation, I bet you'd be surprised how much you can accomplish in 15-30 minutes.

Monday, June 14, 2004

SG-1 rocks

I've noticed over the years my tastes in entertainment (among other things) has changed quite a bit. Less "must see TV", more storied shows on cable like The Shield, SG-1, The Wire, Sopranos, etc. Reality TV prompts me to have heaving spells (though the Apprentice was an exception).

That's just me. It always seems my tastes are always opposite what's popular. I'm someone who proudly picks out fine clothing from Costco when possible, and rarely frequents malls, so one can suppose my tastes can't be all that.

My tangential view on game theory and Google's IPO

http://weblogs.asp.net/johnmont/archive/2004/05/28/143871.aspx
The original blog entry is here.

Saturday, May 29, 2004

Sign of the times

A piece in the NYT Magazine (Friends, Friends With Benefits and the Benefits of the Local Mall) and one in NYT online (What Adolescents Miss When We Let Them Grow Up in Cyberspace) hint at signs of the times - I was quite surprised reading this, and what media/cultural slippery slope has led to.

Friday, May 28, 2004

Time to get serious?

Frankly, I've always thought of blogging as a semi-waste of time. Especially after reading a NYT article about people pretty obsessed with it. Don't want it to be me. Still, I'll give it another shot and try to post regularly (once a week or two?) and see where it takes me.

My more serious interests are pretty much around politics, economics, technology/computing and the sciences. Wrt not so serious interests, I like to spend quality time with my fiance, basketball, biking (especially on a sunny day, which in Seattle can be asking for a lot), reading, long trips on the road, and working out. Looking to expand that list since there's so much outdoor stuff here in the country that can be had though I'm originally from LA so a city boy at heart. But I'm trying, really...

Thursday, January 08, 2004

Political sppppewwings

http://www.msnbc.msn.com/id/3905142/
"It's mind-boggling that in the midst of economic recovery with 9 million people jobless, President Bush would propose this…It's going to have a dire effect on wages for American families. It will cause huge displacement of American workers. We will witness how American jobs are given away right before our eyes."

http://www.msnbc.msn.com/id/3887721/
President Bush called for a major overhaul of America’s immigration system Wednesday to grant legal status to millions of undocumented workers in the United States, saying the current program was not working.

http://www.infoworld.com/article/04/01/07/HNcetoshire_1.html
"There is no job that is America's god given right anymore."-- Carly Fiorina the CEO of HP, part of the consortia that is supporting the Computer Systems Policy Project

Akin to legalizing drugs, the administration’s efforts legalizes illegal immigration. Not to be confused with legal immigrants who respect the law of the land, this is going against the main beliefs of this country: to abide by the law, not reward illegal behavior of colossal proportions, not to mention observing the sovereignty and borders of the United States especially post 9/11, all the while minding the well-being and interest of law-abiding Americans. And as if prolific outsourcing isn’t enough, this administration now proposes to sanction massive insourcing of American labor at the behest of the hospitality, restaurant, and farming industries.

The central overriding concern here as one of principle: rewarding illegal behavior, which seem to rely on a policy litmus test implying that America is no more than an economic bazaar – what does it mean to be American anymore? We’ve become a mercenary nation where economics trumps all, taking the place of [now withering] deliberate domestic and foreign policymaking which all comes at the expense of long-term prosperity and the traditional nurturing of middle class families – and undermining the backbone of this country.

It’s unfashionable these days of political correctness to be so outspoken. Yet to be able to do so is what makes this country great and what it use to mean to be American. We've become somewhat too engrossed in maintaining, and fearful of endangering, the economic well-being of self and our families which has rendered many rather mute, rendered mere cogs running broken machinery, leaving alone what is “not too terribly broken”.

Over the long-run, this mentality has eroded what has made America so exceptional, standing a league above the rest – unwavering respect for the rule of law, freedom, trust, and respect of fellow countrymen, coupled with open and vigorous discourse, fostering a liberal democracy that engender ideas, ideals and astounding innovations which steadily improve the well-being of not just a few, but all, Americans.

"Born in other countries, yet believing you could be happy in this, our laws acknowledge, as they should do, your right to join us in society, conforming, as I doubt not you will do, to our established rules."
- Thomas Jefferson

"In all business, there is a factor which cannot be compensated for in dollars and cents or computed by any measure. It has no relation or connection with the mercenary and is represented only by the spirit of love which the true craftsman holds for his job and the things he is trying to accomplish."
- Frederick Louis Maytag