Lately, when committing large files with Subversion I had problems like this:
\$ svn commit linux-2.6.24.2.tar.gz Adding (bin) linux-2.6.24.2.tar.gz Transmitting file data .svn: Commit failed (details follow): svn: PUT of '/svn/!svn/wrk/38f59907-4ccf-4e05-acf4-444499e715cc/embipc/branches/ipc/linux-image/linux-2.6.24.2.tar.gz': Could not send request body: connection was closed by server. () svn: Your commit message was left in a temporary file: svn: '/some/path/embipc/branches/ipc/linux-image/svn-commit.tmp' Apache’s Log was very quiet about the problem. All I could see that SVN would be deleting the uploaded file after abort (that’s what I think it was doing):
Read on
Damit Taxme 2006 funktioniert, musste ich Blackdown’s j2re1.4 installieren, man bekommt es hier. Einfach
deb http://sunsite.cnlab-switch.ch/ftp/mirror/java-linux/debian testing non-free in /etc/apt/sources.list eintragen. Offenbar ist Taxme nicht kompatibel mit 1.5er oder 1.6er JRE’s.
Damit die Hilfe im Taxme 2006 erscheint, musste ich:
das Paket libxul0d installieren (welches /usr/lib/xulrunner/libgtkembedmoz.so enthält, welches Taxme benötigt)
das folgende Startscript schreiben:
#!/bin/sh # offenbar braucht SWT libgtkembedmoz, welches # TaxMe2006: z.B. in libxul0d in /usr/lib/xulrunner/ liegt # siehe http://www.
Read on
I needed a ring buffer in Ruby, and since a web search didn’t yield anything I did it myself. Here you go, use as you wish:
Simple RingBuffer implementation ================================ see class RingBufferTest below for usage examples ================================================= class RingBuffer \< Array alias\_method :array\_push, :push alias\_method :array\_element, :[] def initialize( size ) @ring\_size = size super( size ) end def push( element ) if length == @ring\_size shift \# loose element end array\_push element end \# Access elements in the RingBuffer \# \# offset will be typically negative!
Read on
It’s taken a long time but slowly gqview is being recognized as one of the best open source image displaying programs. It’s fast, it’s easy to use, it’s been steadily evolving over the years, it can do a lot but it gets out of your way.
One thing that can not yet be done directly in gqview is rotating images (especially photos) by setting the relevant EXIF flag. However there’s a way to do it by using an underestimated feature of gqview: its configurable editors.
Read on
The bind DNS server’s error messages I encounter are usually not very helpful. This is one of them. It means that the zone you (or some nsupdate client) is trying to update is currently frozen. What you need to do is thus to unfreeze it by issuing a:
rndc unfreeze your.dynamically.updatable.zone
Read on