Blogger Country Redirection

You may have noticed that Blogger weblogs appear as name.blogspot.com in a link, but automatically redirect to a domain in your country of residence when you click on them, e.g. name.blogspot.de. As it turns out, this is a Google trick to allow country-specific censorship without harming global access to a given weblog. However, Google also … Continue reading “Blogger Country Redirection”

Uncontested Lock Performance

Recently I wondered about the performance cost of preemptively putting monitor locks on small library methods that might conceivably be called from multiple threads. That’s a great subject for a micro-benchmark, so I wrote a few tests in C# and Java and posted the results in Uncontested Lock Performance. As it turns out, standard locking … Continue reading “Uncontested Lock Performance”

More on DITA Typesetting with FOP, OT & Oxygen

Just completed my planned additions to DITA Typesetting with Oxygen XML Editor. This article now covers the following aspects of creating PDF output using Oxygen and its included open-source packages, Apache FOP and DITA Open Toolkit: Support for bookmap metadata, or lack thereof Using OpenType fonts with PostScript outlines Incorporating PDF files as images in … Continue reading “More on DITA Typesetting with FOP, OT & Oxygen”

Correction on FOP/DITA font-base path

In DITA Typesetting with Oxygen XML Editor, I had specified font-base as a relative path, trusting that Oxygen would always run its transformations from the same directory. Turns out that is not the case, and suddenly my transformations couldn’t find their custom fonts anymore. Changing font-base to an absolute path fixes this issue. Also retitled … Continue reading “Correction on FOP/DITA font-base path”

Check .NET Version is Public Domain

A few days ago I was asked to clarify the licensing of my Check .NET Version script for Inno Setup, so I wanted to confirm that it’s indeed public domain. Generally speaking, all the small code snippets on my website are in the public domain unless otherwise noted, and that’s probably how everyone treats small … Continue reading “Check .NET Version is Public Domain”