2007 Oct 31, 4:41ONN has a piece on how the government can help paranoid schizophrenics.
onion privacy humor video satire government 2007 Oct 30, 2:44Google has new views of search data: graphed over time and over a map.
google ui view time timeline 2007 Oct 30, 12:29DisneyLand is updating the Small World ride to support fatter passengers. That is so sad.
humor health article disney obesity 2007 Oct 29, 1:48FTA: "Ben Goldacre is a medical doctor who writes the Bad Science column in the Guardian, examining the claims of scaremongering journalists, quack remedy peddlers, pseudoscientific cosmetics
adverts, and evil multinational pharmaceutical corporations. Th
monthly blog science politics religion media news healthy research humor 2007 Oct 24, 1:19My blog post on unmanaged Win32 URI comparison functions.
ie blog me uri microsoft win32 windows 2007 Oct 21, 10:28Sarah's restaurant reviews on urbanspon. The site provides feeds of user's reviews too.
review people sarah-moffatt restaurant 2007 Oct 18, 4:54Traffic info for portable devices with small screens.
traffic washington seattle travel 2007 Oct 17, 10:49Chumby is a hackable little wifi computer. Its like an expensive alarm clock that also shows you stuff off the Internet. I kind of want one.
purchase shopping wifi wireless opensource flash design hardware chumby 2007 Oct 15, 1:33Info on a plugin for FireFox that gives GMail S/MIME support. This is a similar idea to the last but these folks have executed the idea in a different fashion.
article browser blog cryptography crypto mail mime mozilla pgp privacy security extension firefox gmail google 2007 Oct 12, 11:50Daily news to replace Digg
daily blog boingboing news 2007 Oct 12, 4:08As noted in the
XSL Transformations spec you can create the identity transform using the xsl:copy element. With the MSXML implementation of xsl:copy
the example the spec gives produces slightly ugly elements. For instance given it produces . In order to ensure empty elements turn out pretty I've modified the example as follows:
This got me thinking about inverting XSLTs. Clearly in general an XSLT isn't invertible since an XSLT can completely ignore the input XML and produce something else entirely but then the above is an
example of an XSLT that is invertible. So there is a subset of XSLTs that are invertible, how might you produce the inverse of an XSLT, and would this ever be useful?
xml msxml inverse xlst xsl 2007 Oct 11, 5:57Notes on two URI & ShellExecute related Microsoft security issues.
msrc shellexecute windows security microsoft ie ie7 2007 Oct 11, 12:55The list of URI schemes supported by the command line based web browser Lynx.
lynx uri scheme internet web browser reference 2007 Oct 11, 12:11ICANN plans to support non-US-ASCII top level domain names. I wonder how broken web browser's security measures are about to become.
idn dns domain internet uri icann news tld 2007 Oct 9, 5:12San Francisco has a free 311 number similar to 911 except not for emergencies. You describe a problem or question and they find the correct city agencies to help you. Sounds like a great interface to
public political agencies.
via:thedpshow blog article humor phone advice sanfrancisco 311 news 2007 Oct 9, 4:43A FOAF browser. It turns FOAF descriptions into HTML with links to those things described in the FOAF including links to other FOAF descriptions transformed in the same fashion.
browser community social foaf rdf semanticweb 2007 Oct 8, 3:55FTA: "Singularity is a research project focused on the construction of dependable systems through innovation in the areas of systems, languages, and tools. We are building a research
operating system prototype (called Singularity)
microsoft os singularity windows research microkernel 2007 Oct 7, 4:12In a
previous post I mentioned an xsltproc like js file I made. As noted in that post, on Windows you can write console script files in
JavaScript, name them foo.js, and execute them from the command prompt. I later found that
MSDN has an XSLT javascript sample
which looks similar to mine, but I like mine better for the XSLT parameter support and having a non-ridiculous way of interpreting filenames. The code for my xsltproc.js follows. The script is very
simple and demonstrates the ease with which you can manipulate these system objects and all it takes is opening up notepad.
var createNewXMLObj = function() {
var result = new ActiveXObject("MSXML2.FreeThreadedDOMDocument");
result.validateOnParse = false;
result.async = false;
return result;
}
var args = WScript.arguments;
var ofs = WScript.CreateObject("Scripting.FileSystemObject");
var xslParams = [];
var xmlStyle = null;
var xmlInput = null;
var inputFile = null;
var outputFile = null;
var error = false;
for (var idx = 0; idx < args.length && !error; ++idx)
if (args.item(idx) == "-o") {
if (idx + 1 < args.length) {
outputFile = ofs.GetAbsolutePathName(args.item(idx + 1));
++idx;
}
else
error = true;
}
else if (args.item(idx) == "--param" || args.item(idx) == "-param") {
if (idx + 2 < args.length) {
xslParams[args.item(idx + 1)] = args.item(idx + 2);
idx += 2;
}
else
error = true;
}
else if (xmlStyle == null) {
xmlStyle = createNewXMLObj();
xmlStyle.load(ofs.GetAbsolutePathName(args.item(idx)));
}
else if (xmlInput == null) {
inputFile = ofs.GetAbsolutePathName(args.item(idx));
xmlInput = createNewXMLObj();
xmlInput.load(inputFile);
}
if (xmlStyle == null || xmlInput == null || error) {
WScript.Echo('Usage:\n\t"xsltproc" xsl-stylesheet input-file\n\t\t["-o" output-file] *["--param" name value]');
}
else {
var xslt = new ActiveXObject("MSXML2.XSLTemplate.3.0");
xslt.stylesheet = xmlStyle;
var xslProc = xslt.createProcessor();
xslProc.input = xmlInput;
for (var keyVar in xslParams)
xslProc.addParameter(keyVar, xslParams[keyVar]);
xslProc.transform();
if (outputFile == null)
WScript.Echo(xslProc.output);
else {
var xmlOutput = createNewXMLObj();
xmlOutput.loadXML(xslProc.output);
xmlOutput.save(outputFile);
}
}
js xml jscript windows xslt technical xsltproc wscript xsl javascript 2007 Oct 5, 1:50How to host a WebBrowser control and customize it to your hearts content.
ie internet microsoft web browser msdn reference howto webbrowser