Feed on
Posts
Comments

Category Archive for 'english'

If you need to copy an XML document to another filtering it from a specific element node, a good solution could be the use of XSL. The starting point is the so called "identity" template as introduced with an example in the XSLT Recommendation itself:
PLAIN TEXT
XML:

<xsl:template match="@*|node()">

    <xsl:copy>

        <xsl:apply-templates select="@*|node()"/>

    [...]

Read Full Post »

Speed up web session access

I recently solved a problem common to many heavy used web application following an idea of a friend of mine.
The problem is how to efficently manage the sessions of a web application when the number of them is high (500,000 for example) and the use of them his quite frequent (˜50,000 pages/day in my case).
A [...]

Read Full Post »

If you want to delete, for example, only .bak files throughout a directory tree you can try with the following command:

$ find . -name *.bak -exec rm {} \;

Using the same approach you can solve more complex problems. For example you can delete recursively all directories older than one week:

$ find . -mtime +7 -type [...]

Read Full Post »

Maven & Java 1.4 under Mac OS 10.5

The version 10.5 (Leopard) of Mac OS hides under the skin some very useful tools for developers. In particular for Java developers, you can find:

Java 5 SDK (as default)
Java 1.4 SDK
Maven 2.0.6
Ant 1.7.0

These tools are sufficient to develop and build complex Java applications but in some cases, the choices made by Apple to install them [...]

Read Full Post »

Trac has a great module to support notification about ticket changes via email. Starting from the 0.10 version of Trac the TracNotification module has some new configuration options that give to the administrator or project manager a good control on who should be notified and when.
By the way Trac lacks, in my opinion, of [...]

Read Full Post »

Creative Commons Attribution 3.0 Unported
Creative Commons Attribution 3.0 Unported