Archive for February, 2009

JExample: JUnit extension helps to reuse fixtures and to pinpoint failures

JExample [1] introduces producer-consumer relationships to unit-testing. A producer is a test method that yields its unit under test as return value. A consumer is a test method that depends on one or more producers and their return values.

  • Pinpoint failures: JExample skips any test method whose producer has failed.
  • Reuse fixtures: the return value of a producer is injected into its consumers.

It is released unter Common Public License Version 1.0 (CPL).

[1] http://smallwiki.unibe.ch/jexample, http://sourceforge.net/projects/jexample/

PInetd: Portable INET Daemon

Mark Karpeles has in fact, written a fully functional DNS daemon in PHP. Goes to prove that you can do anything in PHP. He actually had some solid reasons for doing it as well.

This DNS daemon uses PInetd, which is licensed under GPL 2:

PInetd [1] (Portable INET Daemon) is an Open Source server framework & daemon written in PHP, allowing anyone to easily create a TCP server, daemon, etc.
You can either use it as a developper, and build your own application.

I am planing to build a prototype of a DNSBL. Maybe PInetd is an option for this. We will see, but more about that later.

[1] http://www.pinetd.net

Websites für unterwegs

Nicht zuletzt dank Apples iPhone werden immer mehr websites für kleinere Bildschirme optimiert. Ehrlich gesagt, wünschte ich mir, dass das “grosse” Web auch so simpel und schnörkellos daherkommt, wie es in der mobilen Welt der Fall ist.

Leider sind auf meinem bevorzugten Opera Mini die iPhone-optimierten Websites nicht wirklich benutzbar, deshalb verzichte ich hier auf solche Websites bewusst. Natürlich sind die untenstehenden Sites jedoch auch für iPhone Benutzer benutzbar.

Hier eine unvollständige Liste von Websites, welche ich mehr oder weniger häufig benutze:

Informationen/Dienste

http://mobile.cash.ch – Börsennews
http://m.local.ch – Telefonbuch
http://m.facebook.com – Facebook (mit Telefonbuch deiner Freunde)
http://m.twitter.com – Twitter
http://mobile.sbb.ch – Fahrplan
http://mobile.cineman.ch – Kino
http://m.yahoo.com – Yahoo
http://m.google.ch – Google Services

Kaufen

http://wap.toppreise.ch bzw. http://pda.toppreise.ch - Preisvergleiche
http://mobile.ricardo.ch – Schweizer Online Auktion
http://m.ebay.com – Bekannte Online Aukion

Natürlich sind Ergänzungen via Kommentar gerne willkommen.

OpenSSL, Public Key and PKI Crash Course

Check out the excellent OpenSSL, PKI Crash Course of Marc Liyanage . 2 of the 4 episodes are already released:

Part 1/4
Part 2/4

LXDE: Lightweight Desktop Environment

Knoppix has a new default deskop environment, LXDE. I’ve never heard of it so you might haven’t either:

lxde deskop environment

“Lightweight X11 Desktop Environment”, is an extremely faster, performing and energy saving desktop environment.

For me it looks like a Windows XP lookalike and looks quite complete too me. I quick tested the live-cd in VirtualBox, but had some troubles with it.

Seems also interesting for Mini-Notebooks (alias Netbooks).