Archive for May, 2005

Troubles make code stronger

Friday, May 27th, 2005

A small test case revealed weak points in my code. Fixing each point was making the code worse and worse. Fortunately, I got insight. Why not to use a fake node? I did it, and code became simpler, hundred lines smaller, and I automatically fixed a weak point for which I had had no idea for a workaround.

getting access to a firewalled subversion repository

Thursday, May 26th, 2005

A small firm has a Subversion server located in a local network. The network is secured by a firewall. The task: give access to the Subversion server from the outside, both to Linux and Windows users. The solution should be as secure as possible.

(more…)

3 days of hunting for a bug

Thursday, May 26th, 2005

I’ve spent 3 days on getting simple code to work. In exchange I’ve got more experience with xsltproc internals. But I’m not sure it’s a fair trade.

(more…)

the “tabbing” environment in LaTeX is considered harmful

Thursday, May 26th, 2005

Some time ago I got a complaint on TeXML: Bug in TeXML. Unfortunately, it’s not a bug in TeXML, but it’s a big bug in the LaTeX design.

(more…)

participating in GTTSE 2005

Wednesday, May 25th, 2005

A confirmation letter is received: “… for the Summer School on Generative and Transformational Techniques in Software Engineering (GTTSE 2005) has been completed. As a result, your participation in the summer school is now confirmed.”

sourceforge have done it!

Wednesday, May 25th, 2005

Finally, SourceForge.net repaired statistics for the projects. It was a dream since the middle of January.

converting XML CALS table to LaTeX

Wednesday, May 25th, 2005

It looks there is a need for a converter from CALS tables to LaTeX. Here is yet another ask in comp.text.tex. Jonathan Fine answers a bit enigmatic, and I answer pessimistic.

(more…)

comparing two similar strings

Wednesday, May 25th, 2005

I’ve advertised GetReuse once again in response to the following question:

How do you compare 2 strings, and determine how much they are “close” to each other?

(more…)

x:apply-templates starts to live

Tuesday, May 17th, 2005

The Scheme function “x:apply-templates” should work like the XSLT function “apply-templates”. The very basic test case is passed today.

(more…)

SATA HDD works under Linux

Wednesday, May 11th, 2005

Due to historical reasons, my Linux box at work uses Promise RAID. Recently (month ago) I added a new HDD (AFAIK, attached to ICH5). Unfortunately, the HDD didn’t work.

(more…)

essential error in the TeXML processor

Tuesday, May 10th, 2005

Shame on me. The TeXML processor had a bug in the core functionality.

(more…)

libxml evening

Saturday, May 7th, 2005

Today I’ve submitted a bug to libxml, written to the libxml mailing list about wish items on the documentation, and asked about xpath and the document order in libxml.

programmer’s nightmare is a coredump in malloc

Thursday, May 5th, 2005

Yesterday I updated libxml2 and xsltproc from CVS and got a coredump. I am very scared because I can’t produce a test case and I think that the problem is on libxml’s side.

(more…)

why to bother with namespaces

Tuesday, May 3rd, 2005

I found a non-obvious issue in the Namespace Recommendation and fixed my converter. Then I decided to look at other popular de-facto stanadrd tools. They are buggy. So I don’t understand why I work so hard to make my program as correct as possible.

(more…)

namespaces strike back

Tuesday, May 3rd, 2005

XML namespaces are an invention from the evil. Two harmlessly looking messages in one of the scripts evolved to two hard debug sessions. Fortunately, I managed to fix the both bugs.

(more…)

wordpress and html meta keywords

Monday, May 2nd, 2005

WordPress, the current blogging system I use, doesn’t support keywords for pages. Although search engines now don’t believe in them, I still like to have them. Finally, I found the way. It’s Jerome’s Keywords Plugin which can do a lot.