XMLUnit: JUnit and NUnit testing for XML

XMLUnit [1] for Java provides two JUnit extension classes, XMLAssert and XMLTestCase, and a set of supporting classes (e.g. Diff, DetailedDiff, Transform, SimpleXpathEngine, Validator, NodeTest) that allow assertions to be made about:

  • The differences between two pieces of XML
  • The outcome of transforming a piece of XML using XSLT
  • The evaluation of an XPath expression on a piece of XML
  • The validity of a piece of XML
  • Individual nodes in a piece of XML that are exposed by DOM Traversal

XMLUnit for Java can also treat HTML content (even badly-formed HTML) as valid XML to allow these assertions to be made about the content of web pages too.

[1] http://xmlunit.sourceforge.net/

Developing Android Applications

Android 1.6

Postfix: Host not found, try again

Small hint from me: If you set up Postfix to relay your mails and your relay host does not have an MX record (anymore), mailq has a lot of mails on standby and you see something like:
Jul 14 12:45:39 myhostname postfix/smtp[2349]: 74FBF30501:
to= relay=none, delay=3944,
status=deferred (Name service error for name=recip.domain
type=MX: Host not found, try again)

And found this FAQ on Posfix.org and you say: “Yeah, the FAQ is right but so what now?”. Just boot your VI editor and open $ vi /etc/postfix/main.cf and change relayhost = smtp.myhostname.org:587 to relayhost = [smtp.myhostname.org]:587 and perform /etc/init.d/posfitx reload so Postfix will not looking for a valid MX record anymore. After this, go to the important work again…

Varnish: HTTP accelerator and caching proxy

Varnish [1] is a state-of-the-art, high-performance HTTP accelerator. It uses the advanced features in Linux 2.6, FreeBSD 6/7 and Solaris 10 to achieve its high performance.

Some of the features include

  • A modern design
  • VCL – a very flexible configuration language
  • Load balancing with health checking of backends
  • Partial support for ESI
  • URL rewriting
  • Graceful handling of “dead” backends

Varnish is free software and is licenced under a modified BSD licence. Please read the introduction to get started with Varnish.

[1] http://varnish.projects.linpro.no/

Chaosradio Express: Der Hacker-Podcast der anderen Art

Ausgehend von der Aktion “CRE Kettenblogging für den Weltfrieden” alias blog4CRE ist dieser Post entstanden als Follow-up von Post 91 und der Follow-up von mir Post 93:

Auch auf die Gefahr hin, dass ich hier Kommentare erhalte, was “Kaffee” und “Wahlrecht und Wahlsysteme” denn mit Hacker zu tun haben.

Chaosradio Express kurz CRE geht den Dingen auf den Grund, sei es in technischen Dingen, Geschichte und Entstehnung wie auch im Bereich Kultur und Gesellschaft.

Dabei behandelt Tim Pritlove mit seinen kompetenten Gästen im Besonderen kritische Themen:
Stellt Fragen, welche die Medienwelt und die Gesellschaft schon lange nicht mehr stellen, und hinterfragt Antworten, welche die Gesellschaft schon längst akzeptiert hat.

Kampf gegen die Zensur oder die Untergrabung der Demokratie mittels Wahlcomputer und das dazugehörige Hands-on Erfahrungen mit Wahlcomputern ist nur ein Beispiel.

Auch die technischen Podcasts wie GSM Hacking, Wireles Mesh Networking und das Update dazu sind äusserst hörenswert. Ich vergeblich versucht, eine persönliche Favoritenliste aufzustellen: Es gibt einfache zu viele einzigartige Sendungen, welche ich gerne gehört und auch immer wieder gerne höre. Viele Sendungen sind Zeitlos und schon fast ein Stück Netzkultur geworden. Hört einfach mal rein!

MPlayer OSX Extended

I usually use VLC on every OS, but MPlayer comes right after it :)

MPlayer OSX Extended [1] is an unofficial extension of the MPlayer OSX user interface.

Development on the official MPlayer OSX frontend has been slow in recent years and MPlayer OSX Extended tries to change that. The project is focused on a steady pace and aimed at making MPlayer OSX what it ought to be: A simple but powerful video player.

MPlayer OSX Extended is not aimed at long release cycles and maintaining stable branches. To keep development simple and to focus on bringing the project forward, there’s only one branch and no release numbers. Just ongoing revisions, of which each should be better than the one before.

Additions to the original project include:

  • Fullscreen controls
  • * More video filter options (Postprocessing, Deinterlace etc)
  • Support for styled ASS subtitles
  • Audio and video equalizers (not yet interactive)
  • Taking Screenshots
  • Stream selection
  • Automatic updates
  • Up-to-date compiled versions of MPlayer
  • Many interface improvements
  • Many bug fixes

[1] http://mplayerosx.sttz.ch/

jOpenDocument: OASIS Open Document in pure Java

jOpenDocument [1] is a free library for developers looking to use Open Document files without OpenOffice.org.

jOpenDocument is Open Source (under GPL or commercial license).

You can automate the document creation and manipulation process. You can use jOpenDocument to:

  • Generate dynamic documents from Java, XML or databases
  • Display and print files with built-in viewers
  • Split, concatenate, and manipulate pages
  • Automate filling out of template (created by OpenOffice or not)
  • Use your preferred langage via standard ScriptEngine interface
  • And much more…

[1] http://www.jopendocument.org/

Nagzilla: Jabber Relay Bot

Nagzilla [1] was designed to be a Jabber relay “bot” in that it sits quietly in a room until it gets a message to relay to either a chatroom or a person.

Nagzilla is written in Perl and released under GPLv2.

[1] http://code.google.com/p/nagzilla/

Symphony: XSLT content management system

Symphony [1] is an open source content management system designed to let developers program exclusively in the XSLT templating language.

The philosophy behind Symphony is that nothing should be sacrificed for flexibility – developers should have full control over their website’s markup, URLs and data structures.

Symphony is written in PHP5 (don’t mix it up with Symfony PHP Framework) is released under MIT/X11 License. You are also able to clone the project from GitHub.

[1] http://symphony-cms.com/

« Previous PageNext Page »