comments suggest edit

Michael from London and Dave from New York dropped in unexpectedly this week at the same time. We had a fun time driving around nearly all of L.A. yesterday.

comments suggest edit

The production move went smoothly, but who sent the herd of rampaging elephants over to stomp on my head last night. Strangely enough, nary a hair on my wife’s lovely head was touched.

blogging comments suggest edit

I’m going to buck tradition and start a new craze just because I mean to. Let’s call it, blogging while buzzed. Perhaps it will be the next meme, fad whatever, but this won’t be the happy byproduct or unintended consequence of an event, but the sole purpose of this blog posting.

Yes, I know, I can’t be so pretentious to think that I can start a craze by just saying I’m doing so. But hey! I’m buzzed, I can do what I want! I can try to do all sort of impossible things. Requiring success is not on my radar. In fact, I’ll be right back in a few minutes while I find an elegant and simple solution to Fermat’s last theorem.

Everyone out there get buzzed and blog I say!

I’m back and man, I have written a fantastic solution in the margins of this blog, but I accidentally deleted it and wiped my drive with DOD level 7 erasing technology. Lots of 1s and 0s overwriting that bit of mathematical legendom. It’s rather freeing to take away all inhibitions and intelligence and just type words as they flow System.IO.StreamOfConsciousness.

As I mentioned earlier, I have a friend visiting from London. Let’s call him Michael (don’t let the fact that Michael is his real name bother you. We needn’t quibble over details).

In any case, since I have a production move at 2:00 AM (I’m just here to consult if things don’t go smoothly), I thought I might as well go out for a drink with my friend beforehand. So after a few dead-ends (it is a Monday evening after all), we end up at Temple bar where a very friendly band named Boku (meaning plenty) is playing.

I started the evening off with a Knob creek, moved to a whiskey sour, and ended up helping Michael and his friend finish their whiskey sour and mojito respectively. That leaves me quite loosened up for a 2AM production move that is currently moving along quite smoothly. We’re just waiting for the scripts to finish.

Yes, I do realize that any present and future employers will now consider me a loose cannon and will not want me near their production databases. But as I said, I’m only here on a consultory and supervisory role. I have no real access right now and am not a danger to our business (whew!). Besides, I’ve done production moves for a Fortune 100 client after several fine margaritas from El Cholo back when I worked at a Microsoft Gold Partner. I wouldn’t recommend that as a standard practice, but all went well. Till next time, over and out…

comments suggest edit

This may be a more palatable way to understand Fahrenheit 9/11 for many who are not fans of Michael Moore. His website has a list of the facts he presents in the movie along with the source.

Of course lacking from this list is a fact-checking list for each source. Also missing is what the significance of each fact is. Some may fall in the category “So What?” while (in my opinion) many others fall in the category “Hmmm… Time to vote Bush out.”

comments suggest edit

Kurtis Blow once rapped

Basketball is my favorite sport,\ I like the way they dribble up and down the court,\ Just like I’m the King on the microphone, so is Dr. J and Moses Malone,\ I like Slam-dunks, take me to the hoop,\ My favorite play is the alley-oop,\ I like the pick-and-roll, I like the give-and-go,\ Cause it’s Basketball, uh, Mister Kurtis Blow,

I’ll be honest. Basketball is my second favorite sport, but by a slim margin to that sport of sports, soccer. Being 5’ 9”, soccer comes more naturally to me. I only made it to the JV level in high school basketball, but played at the Varsity and Division 3 college level in soccer, which is not saying much.

I’ve started playing basketball at the Y in the morning before work. It was a slow start, but today I had one of those games that reminds me why I love this game. I felt like I was firing on all cylinders.

When you take a moment to think about it, the computational output of your brain while playing sports is amazing. It will take a loooong time before a robot comes anywhere close. Think of all the unconscious calculations you make in a split-second play.

The ball is in the air, watch its trajectory and make sure to precisely cushion its landing in your hands. Avoid being called “Butter Fingers” for the third time today.\ \ Meanwhile, react to the defender on your left. He’s bumped into you slightly taking you a bit off-balance, so make sure to keep your balance, brace your leg to support the extra weight, and take a dribble. Oh, and don’t forget to keep the dribble away from his hand reaching in. He’d like to get his hands on the ball you know.\ \ As you are half falling, half stepping, be aware of the other defender closing in, he wants the ball too. There’s a gap between the two defenders and one of your teammates is cutting to the basket. About time he figured that out. He’s got a defender reaching in on his back. Is the gap wide enough? Wait a split second, take another dribble, hear the footsteps of another defender closing in, hear your stomach growl and wonder what you’re going to have for breakfast.\ \ There! The gap is just wide enough. Avoid the hands reaching in and throw it off the ground at just the right angle and just slightly in front of your teammate so it lands right into his hands, but away from his defender. Perfect! A perfect layup. Now enjoy the rush of adrenaline and go accept the high-fives and accolades from your teammates. Don’t trip on the court.

This entire thought process occurrs in about a second. That’s the rush of basketball my friend.

comments suggest edit

Which is perfect for finding that bag of chips in the dark. Found this gem on Boing Boing about a recent scientific study that indicates puffing a joint can improve night vision. Of course this won’t help you with the “beer goggle” effect.

Their results backed up claims by the Observer columnist Sue Arnold, who suffers from retinitis pigmentosa and is officially registered blind. She noticed several years ago that drawing on strong Jamaican skunk suddenly and temporarily enabled her to see things clearly. But Ms Arnold has since warned of side-effects that could impede night-time navigation. “Only trouble was,” she said, “I couldn’t stand up.”

[Via Boing Boing]

comments suggest edit

Applied .NET Framework ProgrammingThe blog you’ve all been waiting for, Jeff Richter is keeping a blog. Well actually, it’s a Wintellog!. Several members of the Wintellect team have formed a group blog. It seems Jeff Prosise is holding down the fort as the most prolific blogger of the bunch.

I first met Richter (not that he’d remember me) in September of 2000 (or something like that) around the time when .NET was entering the beta phase. I attended a four day class in Redmond taught by him, with Dr. GUI in attendance. I also met John Robbins as he came out to dinner and a movie with the group. We went to see Charlie’s Angels.

I can summarize Richter’s teaching style in one phrase, “Ok, we’ll just bust out ILDASM and take a look at…”. Seemed like we were looking at ILDASM every five minutes, getting a sense of what was happening under the hood. It was great, though Reflector has taken ILDASM’s place in my tool of choice.

In any case, Richter’s book, Applied Microsoft .NET Framework Programming remains my favorite .NET book to date. Glad to see you in the blogosphere.

comments suggest edit

I have a big question that can probably be best elucidated via some code:

public class SomeClass
    // This guy will raise an important event.
    private EventSource _source = new EventSource();

    public void AttachEventHandler()
        // This guy will handle an important event...
    BigEventListener listener = new BigEventListener();
    _source.BigEvent += new EventHandler(listener.OnBigEvent);

    //What happens to listener instance here?
    //Will it be garbage collected?


So what happens after the method AttachEventHandler() is called? I am assuming that the EventHandler delegate’s reference to the OnBigEvent method of the listener instance is a hard reference. In other words,even though listener is a local instance and would normally go out of scope when AttachEventHandler ends, that the listener instance is not collected because of the delegate reference. Is this correct?

comments suggest edit

What a weekend in L.A! Beautiful sunny weather hovering in the mid seventies all weekend. I played soccer on both Saturday and Sunday. Watched Spiderman II (loved it). Had some of the best Chinese food I’ve had in a long while. Found time to work on RSS Bandit. Went bodysurfing at the beach. What more can I say? I’m a happy camper.

comments suggest edit

​10. That actor who played the President was totally unconvincing\

  1. It oversimplified the way I stole the election\
  2. Too many of them fancy college-boy words\
  3. If Michael Moore had waited a few months, he could have included the part where I get him deported\
  4. Didn’t have one of them hilarious monkeys who smoke cigarettes and gives people the finger\
  5. Of all Michael Moore’s accusations, only 97% are true\
  6. Not sure - - I passed out after a piece of popcorn lodged in my windpipe\
  7. Where the hell was Spider-man?\
  8. Couldn’t hear most of the movie over Cheney’s foul mouth\
  9. I thought this was supposed to be about dodgeball\

comments suggest edit

SpamA little while back, I had a few ideas about how to combat comment spam. My ideas were more geared towards a trust-based approach to stopping comment graffiti than spam, but they were a bit naive in some ways.

Lately, I’ve been following some conversations on various blogs attempting to address this problem. Dave Winer suggest that comments expire unless the owner does something about it.

Phil Ringnalda responds that he doesn’t want the comments to ever get indexed. This problem seems likely solved by this suggestion in From The Orient that notes that simply stripping the links out of the text themselves will make sure Google doesn’t index it.

As Derek Powazek points out, it is Google’s voracious appetite for indexing pages that is the root motivation for people to comment spam a blog. One question I have about all this is doesn’t Google honor the the robots.txt file or the META tag standard for excluding robots? Adding the following tag:


tells Google not to index the links on the given page. Another option is to add a Robots.txt file and tell Google not to index your archives. Personally, I think this second option is too draconian. I think it’s great that people find my blog when they search on how to select random records from SQL Server.

Perhaps what is needed is for us to get together and extend the Robots.txt standard and then push for Google to honor it. Now, I don’t know exactly how Google indexes a website. I don’t know if it parses it as an HTML tree, but supposing it does. It’d be great to have this ability.

<DIV noindex="false" nofollow="true">
Welcome to the comments section of this page.The content here will be indexed, but the links will not.Your spam's no good here. 

Another option is to just have a comment that indicates everything AFTER the comment should not be indexed:

This is easier for an web crawler to parse.

Combining this with an image verification system (like the one that comes with the ASP.NET resource kit from SAX), hopefully lowers the real motivation to comment spam a site. If it doesn’t increase their page rank AND they can’t automate posting it, why bother?

Another crazy idea I’ll mention (and I know this will bog down the server a bit) is to use a component that converts text to an image. That way by default, the entire comment will not be indexed. Just thought I’d throw that out there.

comments suggest edit

I need to see if my brother-in-law can hook me up with one of these.

LONDON/TOKYO (Reuters) - Sony Corp. said on Thursday it is launching a Walkman digital music player capable of storing far more songs than Apple Computer Inc.’s market-leading iPod, while also undercutting iPod’s price. \ \ The Japanese consumer electronics maker said the 20-gigabyte device, which is its second hard-disk drive gadget aimed at unseating Apple and can store 13,000 songs, will be launched on July 10 in Japan, by mid-August in the United States and in September in Europe. \ \ Dubbed the Network Walkman NW-HD1, it marks a major upgrade to the legendary Walkman brand and the announcement comes on the 25th anniversary of the introduction of Sony’s groundbreaking portable music player – July 1, 1979.

[via Reuters]

comments suggest edit

iTunes Art ImporterFound this on Scott Hanselman’s blog. The iTunes Art Importer.

It uses the Web Service to find Album Covers for my iTunes collection - and it just works.

That is very cool, though there may be a licensing issue with Amazon as Joshua Flanagan notes:

I’ve thought about using the Amazon Web Services for similar purposes, but I believe it is a violation of their licensing agreement to store their images locally for more than 24 hours. So, in order for the Album Art feature to work, you would always need to be connected to the internet, so the image can be retrieved each day it is used. Check out the License Agreement link on and see if you have a different interpretation.

Well, I’m always connected. Lawyer friends, any thoughts?

comments suggest edit

collisionKoba asks:

If Michael Moore and George W. Bush collide, will they annihilate in a flash of light and energy?)

Perhaps if we did that, the energy output could fuel the country for centuries and we wouldn’t need any of Iraq’s oil.

comments suggest edit

Sweet! This is extremely exciting. Now developing for the Linux platform is becoming a viable option. Perhaps I can start putting penguins in my office, post on Slashdot more often, and join the 1337. ;). Miguel notes:

We vastly underestimated the Slashdot effect. There were 85k hits in the first hour since we went live, and then the machine collapsed under the weight and has remained in that state despite repeated attempts to get some data out of it.

[Via Miguel de Icaza]

comments suggest edit

ThermometerDave Winer the founder of RSS and a popular member of the so-called blogosphere writes:

Yesterday on NPR they played an excerpt where he confronts members of Congress and asks if they would send their children to fight in Iraq. What a ridiculous question. No parent will say yes to that question. You could have asked that question on the Capitol steps during World War II and they still wouldn’t say yes. See how this cheapens the question of whether we should be in Iraq? In a smart world, we wouldn’t be there, but it isn’t because Congress people won’t say yes when confronted by a camera crew. \ \ Moore is the worst of American politics, an opportunist, an anti-intellectual. \ \ Vote no on Moore.

With all due respect, I think Dave misses the point of Moore’s questioning. Of course it’s a ridiculous question and no parent would say yes. That’s the whole point. We’re sending children (primarily of the poorer sections of society) to fight and die based on conspicuously absent evidence. Where are the WMDs? Where is the tie to Al Queda? Yet our Congress and the President so cavalierly send these troops to Iraq. Would they be so cavalier if their own children were in any danger of being sent to Iraq? The point of the question is to emphasize that these aren’t faceless people we’re sending. We’re sending the sons of daughters of fellow Americans. The point is to get these Congress members to consider the pain they would feel if their own sons and daughters were sent.

As for WWII, I don’t believe comparing the Iraq conflict to World War II is a useful comparison. First of all, we were attacked by the enemy we engaged. Iraq did not attack us, Al Queda did. In that effort, kids under 18 faked documents in order to join the effort. People were proud to serve or have their kids serve. It was widely seen as a just and necessary war.

comments suggest edit

IraqMy response to Dave Winer’s post about Michael Moore’s new movie has generated a lot (for me) comments. I appreciate the comments whether you’re in agreement with me or not. I’d like to address them for a moment with this post. Dave Winer, in his response to my post, asks:

Who was it who said that “I disagree with everything he says but I’ll fight to the death for his right to say it.”

The answer, at least according to a letter printed in this article, is Rush Limbaugh (though he was probably quoting someone else). I feel the same way about Rush, but if he were to make a movie, I’d at least see it before speaking out against it. ;) And, I’d also like to point out that I am NOT making the claim (and I said this before) that Fahrenheit 9/11 is unbiased journalism. I don’t think even Mr. Moore himself is that audacious. So with that, let me jump in.

Did I Miss the Point?\ Randy says I miss the point because one of the senators has a nephew on the way to Afghanistan. However, for the record, the reason we went to Afghanistan is NOT the same reason we went to Iraq. Even the administration (when they try to get their story straight) will admit to that somewhat. Secondly, Moore does mention in the movie that one congress person has a son or relative in Iraq. I wish he had interviewed that person, but the fact that he didn’t interview this one person out of the 433 (active) members of the House and 100 senators does not make the scene pointless.

Who Said Germany Attacked The US?\ Several commenters questioned my grasp of history. Kris asks “Germany attacked the UNited States in WW2?. says, “We were attacked by Germany prior to entering world war II? Really?… *snip* Seems like your grasp of history is pretty selective…”. Why is everyone talking about Germany? I never said Germany. I’m referring to a little event called Pearl Harbor on December 7, 1941 in which the Japanese attacked the United States on U.S. soil. Though we supported the war effort prior to this event, we didn’t enter the war until this event.

Is It Primarily The Poor In The Military\ Kris says, “‘primarily of the poorer sections of society’ … spoken like a true college graduate. What about the pro football player Pat Tillman?”.\ Are you implying that the army is primarily made up of NFL football players? No offense intended, but I assume you’re not a statitician nor a demographer. My college education taught me not to look at anecdotal evidence as fact. I didn’t claim everyone in the military is poor. My dad was in the military, he didn’t come from that poor a family. However, the military attracts many more people from the less affluent than the more affluent. The rich don’t need the GI bill to send their kid to college.

What About Putin?\ Richard points out that Putin warned the U.S. about possible Iraqi terror attacks. That’s actually an interesting point, but it’s too early to say much about it, since that just came out recently and I don’t know enough about it as it relates to timing and specificity. Richard’s point leads into a whole ‘nother discussion about the doctrine of preemption etc, of which I think is a mistake.

Conclusion\ Whatever his goals, Michael Moore succeeding in generating a lot of discussion, even from those who haven’t seen the movie. I agree that asking congress people to send their kids to Iraq is a ridiculous proposition, especially since you can’t compell another person to join. It’s a personal decision. But I still contend that Moore makes a good point with that stunt. Basically, its the point of the movie:

They serve so that we don’t have to. They offer to give up their lives so that we can be free. It is, remarkably, their gift to us. And all they ask for in return is that we never send them into harm’s way unless it is absolutely necessary. Will they ever trust us again?

Like I said, I appreciate the comments.