February, 2010


26
Feb 10

Wat pomp julle?

Die fokking Antwoord…


23
Feb 10

Micro electonics: Parallax Propeller

Parallax Propeller

Recently I have acquired a Parallax Propeller development board. I am investigating how to emulate DOS text mode (80x25 @ 16 colors) on this device, and ran into a few problems.

The specs of the Parallax Propeller:

  • 8 x 10 MHz RISC processor
  • 32 kB EEPROM
  • 32 kB RAM
  • 512 x ...

14
Feb 10

Mysterious crashes of netatalk on freeBSD 8

I experienced mysterious crashes of the netatalk daemon installed on a freeBSD8 box. The apfd was advertised with mdnsresponder, but at the moment I tried connecting to the shares, the afpd crashed. Nothing showed in the usual logs. I tried several debugging modes, but nothing seemed to give any clue where I had to find the cause of the crashes.
I took another look the /var/log directory, wondering which logfile could provide me with any clue.

Turned out that auth.log was giving information:

Feb 14 08:35:06 zaphod afpd[9740]: twist Erlkoenig.gargleblaster.org to /bin/echo "You are not welcome to use afpd from Erlkoenig.gargleblaster.org."

Aha! this ringed a bell! I recently installed denyhosts, which uses hosts.allow.

A quick look in hosts.allow gave :


# The rest of the daemons are protected.
ALL : ALL \
: severity auth.info \
: twist /bin/echo "You are not welcome to use %d from %h."

So adding:

#netatalk
afpd: ALL: allow

Did the trick… netatalk is working as expected again.


9
Feb 10

Restricting directory in Apache per logged in user

Sometimes you wonder why such seemingly simple problems have to end up in such complex solutions. For example Apache‘s mod_rewrite. The engine allows for parameter substitution in the RewriteCond and RewriteRule options, but its use is restricted to the left hand argument. Apache states: Remember: CondPattern is a perl ...


8
Feb 10

Make Ubuntu a Mac file server and Time Machine volume

Mac Ubuntu file sync

The folks at Kremalicious have written an excellent article about how to setup an AFP-fileserver on your Ubuntu server. If you have your storage attached to an Ubuntu server like me, this is an excellent solution for hassle-free Time Machine backups in OSX.

To summarize, building netatalk with SSL support ...


3
Feb 10

Een zachte G…

Niet alleen het beste lied van dit jaar zover (evenals het ergste (zeker inclusief clip)), maar ook een goede vriend in een paar frames rond 00:47 :-)


1
Feb 10

Cleanup dead irssi windows

A quick oneliner to cleanup dead irssi windows (split over multiple lines to aid readability):

/script exec foreach $w (sort {$b->{refnum} <=> $a->{refnum}} Irssi::windows()) {
  if ((!$w->items()) && !($w->{refnum} == 1)) {
    Irssi::print("window closing " . $w->{refnum});
    Irssi::command("window goto $w->{refnum}");
    Irssi::command("window close");
  }
}

Please keep ...


1
Feb 10

Zachte G, harde L

9 frames of fame!

So, a quiet Saturday afternoon I went on a shopping-spree with my sister. Somewhere around the Prinsengracht and Keizersgracht in Amsterdam, Jos van Oss was recording the videoclip for his song “Zachte G harde L”. We thought we accidently ruined the shot by walking through, but in stead we ended ...