Logic programming with Iterators

::: {.Section1} [Wesner Moise has a fantastic blog post on how iterators and Expressions can be used to implement backtracking:]

It turns out that it is possible to implement logic programming in C\# natively through the use of iterators.  
grandparent(x, z) :– parent(x, y), parent(y, z).
 parent(jebbush, gpbush …
more ...

The Dismal Failure of XSLT

XSLT is used to transform one XML document into another. The canonical example is the transformation of a data-oriented XML document into a XHTML document formatted for reading in a browser. However, the evolution of dynamic Web sites has clearly favored procedural programming to get the data (ASP, PHP, etc …

more ...

Too Twisted: Text Entry via Tilting Toshiba!

Seb Wills has hooked the accelerometers in the Toshiba M200 to control the Dasher text-input system (in which letters gradually slide from right-to-left and your vertical motion selects them). Fantastic!

One of the most interesting things about the Tablet PC is all the ways we search for alternate input techniques …

more ...

IronPython in Visual Studio CTP available

Microsoft has just released a CTP with the first version of IronPython / Visual Studio integration: http://affiliate.vsipmembers.com/downloads/41/UserFileDownload.ashx

more ...

MSBuild tasks for Subversion access

The msbuildtasks project at http://msbuildtasks.tigris.org/ has written tasks for MSBuild that include Subversion commit, update, checkout, etc. Also, they have an FTPUpload that double definitely come in handy. Fantastic!

more ...

MSBuild: Determine Available Tasks and Outputs

It can be hard, when using MSBuild, to know what Tasks (aka Targets aka functions) are available, especially when using the built-in .targets files associated with the compilers. So, I wrote a custom Task that iterates over all the other Tasks that are currently loaded and outputs their [Output] properties …

more ...

Saddam "refuses to appear"? WTF?

Okay, totally off-topic, but how can a prisoner refuse to appear at his own trial? And then he gets a two-week delay of the trial? This does not bode well for establishing the supremacy of the rule of law. Talk about "contempt of court."

more ...

Sunsets growing later...

Since the Earth orbits the sun elliptically and therefore a) accelerates and b) has to turn about a degree more than a full circle to bring the sun into the same position, sunrise and sunset are not symmetrical around local noon. Here in Hawaii, the sun set today at 5 …

more ...

How Many Lines of Code in Windows?

In Vincent Maraia's The Build Master (recommended) there's a helpful little chart on the size in lines of code for Windows NT:


Ship Date Product Dev Team Size Test Team Size Lines of code (LoC) Jul-93 NT 1.0 (released as 3.1) 200 140 4-5 million Sep-94 NT 2 …

more ...

Motion Computing Wireless Keyboard Replaced

At the PDC, I bought a bluetooth "Freedom" keyboard, unaware that at the time there were no drivers available for the Tablet PC. Although Freedom eventually released a driver, the keyboard is unacceptable for typing.

I then purchased a wireless keyboard from Motion (reduced to \$89). It arrived promptly but …

more ...