Bouncing Zero Bugs, Together

Sorry for not blogging much lately, but good heavens, I’ve been busy. I’m working on a new book, I cooked an early Thanksgiving turkey dinner for 13 of my favourite people yesterday, and we bounced zero bugs on Friday. We what on Friday? Lemme splain. Visual Studio and the .NET runtime and framework libraries are…

2

Democracy in Action

I saw Tom Stoppard’s play “Jumpers” recently.  The line that got the biggest audience response: “It’s not the voting that’s democracy; it’s the counting.” True, that. I’ve written a bunch more code for my “Google On The Cheap” series but I’ve been incredibly heads-down between work, planning a wedding, and my latest book project.  Expect…

9

The National Coin Flipping League Championship Series

No tech today, but a little basic math. In baseball, a sport I know little about, apparently the Boston Red Sox have recently come back from a three game deficit to win a best-of-seven series against their traditional rival team, the New York Yankees. Baseball is a game which attracts statisticians, and many have noted that this…

62

Google Desktop On The Cheap Part One: Nope, That Doesn’t Work

So, how many files are we talking about here?  I’ve got over thirty thousand source code files containing over seven million unique words. There are pretty much two kinds of words — words that occur in one, two, a dozen files, and words that occur in almost every file. (“Microsoft”, “next”, etc.) An index consists…

11

Google Desktop On The Cheap, Part Zero

Before I get started with my next series, two quick notes. First, at long last I had dinner with famed JOS poster (and east coast technical evangelist for my product, VSTO) Philo the other night, as he happened to be in Redmond. I’m pleased to report that he’s as witty, urbane and opinionated in real…

13

Wherefore IDispatchEx?

Quite a while back I said that I’d write a post describing why we invented IDispatchEx. I already covered the part about using it to probe the stack for security reasons, but what other reasons did we implement that thing? The documentation is pretty much accurate, but sparse in places. (According to the doc, GetNameSpaceParent, uh,…

17

Anthimeria weirds languages

A little non-technical rant for a Friday. Professor Thingo, in a recent blog entry, decries the use of “Gestalt” as a verb and asks “Does the English language now allow parts of speech to be used entirely interchangeably? Did I miss a memo?” Though I also would personally balk at verbing “Gestalt” and ” architecture”…

23

Breadth is sometimes better than depth

A while back the Scripting Guys blogged about using recursion to list all the files in a directory and all its subdirectories. Something that you’ll notice about this very standard solution to this problem is that it is “depth first”. That is, it lists the files like this: c:\xyz.txtc:\foo\bbb.txtc:\foo\abc\def.txtc:\foo\bar\baz.txtc:\foo\bar\blah.txtc:\qaz\zaq.txtc:\qaz\lll\ggg.txt It picks a branch and follows…

16

Use vs. Mention in JScript Doesn’t Come For Free

Before today’s entry, a quick note. Work has just gotten insanely busy as we push towards getting VSTO ready for the Whidbey release. I likely won’t have much time to blog over the next couple weeks, so the blog refresh rate is going to go down for a while. I have a collection of pre-written…

18

JScript, DNA, and Mad Cow Disease

The WebGraphics blog recently had a Javascript quine contest that just ended. I’m totally bummed that I didn’t hear about this until it was over.  What’s a “quine”?  A quine is a program which, when run, produces the source code of the program as its output.  The term is an homage to the late philosopher…

27