Infinitesque

“technology” articles

Watch out for Python's fcntl.flock on Solaris

2010-06-03T18:13:00-04:00

I encountered a very aggravating problem in which it looked like Python's fcntl.flock was simply not working, for an unknown reason. I finally figured it out, and this is what I learned.

Using 7z for strong encryption in ZIP files

2010-05-15T12:02:00-04:00

Some situations may require strong encryption in ZIP files, but the common zip utility available on GNU systems does not support strong encryption. Thankfully, 7-Zip and P7ZIP are Free Software projects that fill this niche. This essay provides a brief overview of how to find and use 7z, which both projects provide, for this purpose.

Eliminating some duplicates with the RecentSet class

2010-04-12T16:02:00-04:00

In some situations, it may make sense to try to significantly reduce the number of duplicates in a collection, while ensuring that memory usage does not increase without bound. To help with this, I created a Python utility called a RecentSet, which serves as a sort of first-pass filter for significantly reducing the number of duplicates in a collection.

Safe and powerful use of xargs with bash and find

2008-08-29T00:00:00Z

This article provides a detailed examination of one use-case that combines xargs with bash and find, taking care to correctly handle strings that are passed between these utilities.

Some thoughts on XML v.NEXT

2008-02-28T17:48:00-05:00

In which I comment on the changes that have been suggested for a major revision to XML.

Resolving URIs in 4Suite

2008-02-10T19:07:00-05:00

This article describes how to customize the way that 4Suite finds objects associated with URIs (a process known as resolving URIs).

Personal Backups with S3

2006-04-08T00:00:00Z

So, Amazon's S3 service is described as providing cheap, scalable data storage for "external developers of any application". But isn't it a great solution for personal data backup, as well?

WebCap: Web-based Capability List File Format and Model

2006-03-23T00:00:00Z

This document defines WebCap, a simple language for explicitly grouping sets of URIs having a specific relationship to one another for a particular purpose.

XHTML to XForms in XSLT 1

2006-02-24T00:00:00Z

A new utility written in XSLT 2 blipped across my radar, and I just had to see if I could pull it in using my XSLT 1 tractor beam. No sweat; this time I didn't even have to use EXSLT.

KDE 4 Build Status

2006-02-20T00:00:00Z

The trunk line of KDE development is being used actively for developing KDE 4, which may be released late this year or early next year. The KDE build documentation warns that "the trunk" is very buggy and may not work at all. This article describes a successful build of the current state of some KDE 4 components, and gives some building and development pointers from a newcomer's point-of-view.

An Audio Input Under Linux Success Story, a Long Time in Coming

2006-02-17T00:00:00Z

With a lot of hand holding, I was finally able to get my soundcard to accept microphone input under Linux. Here's how.

Common Entities Converted to ML-Macros

2006-02-04T00:00:00Z

This article highlights a set of common XML character entities that I have converted to use the ml-macro syntax.

Dropping in <!DOCTYPE>-Dropping Alternatives

2006-02-03T00:00:00Z

A fundamental question moves one researcher to explore the future of XML with the future of XSLT, which in turn moves another researcher to explore alternate XSLT futures.

Panning for EXSLT List Gold

2006-02-01T00:00:00Z

This document describes and tracks EXSLT issues that need attention.

Tracing the Course of Recent XBEL Development

2005-11-19T00:00:00Z

This document attempts to summarize activity surrounding the XBEL bookmark format since 2001.

xml:base vs. RFC 3986 Grudge Match

2005-11-19T00:00:00Z

The spirit of the xml:base Recommendation and that of RFC 3986 are at odds with one another. The solution? A very simple new member of the URI family of specifications.

An Overrideable Alternative to the property Function in Python

2005-11-02T00:00:00Z

This article describes an alternative to Python's built-in property function which allows the user to override, in derived classes, the methods used by this function.

A-prefixed URIs: Overview

2005-06-12T00:00:00Z

People want to be able to take web identifiers, or Uniform Resource Identifiers (URIs), and copy them into their web browsers to obtain information related to such identifiers. Designating similar but not identical URIs to those used to locate documents may help in solving some web architecture problems. This report summarizes these problems and discusses this solution proposal.

Using xmlcatalog

2004-10-25T00:00:00Z

This article provides several example command lines as a quick reference for xmlcatalog.