To see the full text of an article, click its title or the Link Weiterlesen.

Lots of site uploads into freenet

I just finished lots of new uploads of sites into freenet - with the new freesitemgr (which actually uploads quickly when WoT is disabled, check todays IRC-logs tomorrow to get background on that). You can get the new freesitemgr from or via infocalypse:

hg clone freenet://USK@kDVhRYKItV8UBLEiiEC8R9O8LdXYNOkPYmLct9oT9dM%2CdcEYugEmpW6lb9fe4UzrJ1PgyWfe0Qto2GCdEgg-OgE%2CAQACAAE/pyfreenet.R1/14 

The sites are also available via my freenet inproxy:

freenet-team - an introduction of most of the freenet hackers I know.

mathmltest - example of mathml in freenet.

winterface-deadlines - deadlines for the Winterface GSoC project

freenet-funding - the freenet fundraising plan, still lacking good design and crisp presentation slides or a video

freenet-meltdown - on the recent massive performance degradation which lasted a few month and ended with the link length fix.

fix-link-length - background on the link-length fix which made freenet actually do small world routing again instead of random routing (into which it had degraded, partially due to local requests, partially due to having so many peers per node that random routing actually worked for the current network size, so the pressure by routing-success to go back to small world routing was too weak compared to the pressure from local requests to randomize the connections)

download-web-site - how to download a single page from a website - for example to mirror it into freenet. Hint: For all the sites on or you are allowed to do so freely (licensed under GPL).

guiledocs - the online documentation for GNU Guile with a focus on Scheme (using Guile): A powerful lisp-like language with multiple implementations.

decorrespondent-metadata - experiment how much information one can glean about your life from just one week of metadata, in dutch.

netzpolitiz-metadaten - same article translated to german. License: cc by-nc-sa

Adventures of a Pythonista in Schemeland - the adventures of a Pythonista in Schemeland: A deep understanding of Scheme for Python users. I learned to love Scheme with this. BSD license.

programming-languages - The Programming languages lecture. License: cc by-nc-sa

tao of programming - "When you have learned to snatch the error code from the trap frame, it will be time for you to leave."

Download one page from a website with all its prerequisites

Often I want to simply backup a single page from a website. Until now I always had half-working solutions, but today I found one solution using wget which works really well, and I decided to document it here. That way I won’t have to search it again, and you, dear readers, can benefit from it, too ☺

In short: This is the command:

wget --no-parent --timestamping --convert-links --page-requisites --no-directories --no-host-directories --span-hosts --adjust-extension --no-check-certificate -e robots=off -U 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070802 SeaMonkey/1.1.4' [URL]

Optionally add --directory-prefix=[target-folder-name]

(see the meaning of the options and getting wget for some explanation)

TISA - Feind einer gemeinschaftlichen EU

TISA: Alles was nicht explizit ausgenommen ist, darf nie mehr staatlich geregelt werden.

Alles wird mal wieder in Geheimverhandlungen versucht - und soll selbst nach Abschluss der Verhandlungen geheim bleiben! (ja geht’s noch???)

Mit Stillhalte- und Sperrklinken-Klauseln — die sind so übel, wie sie klingen!

→ Details: ARD Plusminus zu TISA

Könnten wir mit dem Scheiß mal aufhören? Sie versuchen uns seit Jahren immer und immer wieder unserer Grundrechte zu berauben.

Das muss aufhören!

Exact Math to the rescue - with Guile Scheme

I needed to calculate the probability that for every freenet user there are at least 70 others in a distance of at most 0.01. That needs binomial coefficients with n and k on the order of 4000. My old Python script failed me with an OverflowError: integer division result too large for a float. So I turned to Guile Scheme and exact math.

USK and Date-Hints: Finding the newest version of a site in Freenet's immutable datastore

Freenet provides a global, anonymous datastore where you can upload sites which then work like normal websites. But different from websites, they have a version-number.

The reason for this is, that you can only upload to a given key once1. This data then gets stored in the network and is effectively immutable (much like immutable data structures in functional programming).

  1. If you try to upload to a given key twice, you can get collisions. In that case, it isn’t clear which data a client will retrieve - similar to race conditions in threaded programs. That’s why we do not write to the same key twice in practice (though there is a key-type which can be used for passwords or simple file-names. It is called KSK and was the first key-type freenet provided. That led to wars on overwriting files like gpl.txt - similar to the edit-wars we nowadays get on Wikipedia, but with real anonymity thrown in ☺). 

LinkedIn Anmeldung: Verrate deine Freunde

Ich habe mir gerade ein LinkedIn Konto erstellt. Das sind meine Eindrücke:

LinkedIn Anmeldung: “wollen sie ihre E-Mail durchsuchen?” — Nein! — “wirklich nicht?” — Verzieht euch, NEIN! Pfoten weg von meinen Kontakten!

Über 20 Leute in neuem Account unter „Kennen sie die?“ — so viele haben also meine E-Mail Adresse für die Dienste von LinkedIn verkauft.

Manipulation in Fremdbestimmter Kommunikation

Kommentar zum BeHaind Video Soziale Massenmanipulation - Politiker flippt aus - Sailor Moon

Ganz klar, es gibt Manipulation. Und die wird es immer geben, wenn die Kommunikation von anderen kontrolliert wird.

Ich verwende deswegen zusätzlich zu Twitter und G+ auch GNU social und Sone.

comment on scientific consensus: distorting a debate to hide the majority view

I just discussed with “sceptics” on twitter about climate change. There Ronan Connolly ‏(@RonanConnolly) showed me his article which tries to give the impression that there is no scientific consensus about climate change being man-made.

De-Orchestrating Freenet with the QUEEN program

So Poul-Henning Kamp thought this just a thought experiment …

In Fosdem2014 Poul-Henning Kamp talked about a hypothetical “Project ORCHESTRA” by the NSA with the goal of disrupting internet security: Information, Slides, Video (with some gems not in the slides).

One of the ideas he mentioned was the QUEEN program: Psy-Ops for Nerds.

I’ve been a contributor to the Freenet Project for several years. And in that time, I experienced quite a few of these hypothetical tactics first-hand.

“If you like what I do, why don’t you help me?”

Almost every free software developer made the experience that many people like his or her work, but very few actually provide help. If you experience this, don’t let it disheart you. Verbal support without practical help sounds inconsistent at first, but it actually is the result of limited time.

Most people who have the skills to help are already committed to other projects, so they cannot help you on yours. They can encourage you from the sidelines (“This is cool!

Huge datafiles in free culture projects under GPL

4 ways how large raw artwork files are treated in free culture projects to provide the editable source.1

In the discussion about license compatibility of the creativecommons sharealike license towards the GPL, Anthony asked how the source-requirement is solved for artwork which often has huge raw files. These are the 4 basic ways I described in my answer.

  1. The die was created by Trudy Wenzel (2013) and is licensed under GPLv3 or later. 

Turing-Test bestanden

Update 2016: Ich habe noch einmal das Originalpapier zum Turingtest (in Mind 1950) gelesen und gesehen, dass die Definition des Tests härter ist als der hier bestandene: Eigentlich müssen der Computer und ein Mensch (identifiziert als "ein Mann A und eine Frau B") beide im gleichen Raum sein, also aufeinander eingehen und gleichzeitig schreiben können, und der Prüfer C muss sie auch zu dem jeweils anderen befragen können (der Mensch könnte z.B.

Der Piratige Beißreflex

Dass Leute skeptisch sind, ist nach der ganzen Werbung für Impfstoffe gegen Gib-mir-Tiernamen-Grippen logisch. — @ArneBab Und nach dem ganzen 'Impfen verursacht Autismus' Bullshit

Ich sehe in den letzten Jahren immer häufiger einen Kommunikationsstil, bei dem Leute auf bestimmte Trigger sofort mit Aggressionen reagieren. Da dieser Stil mir vor allem bei Piraten begegnet ist, nenne ich ihn den „Piratigen Beißreflex“.1

  1. Natürlich tritt dieser Stil nicht nur bei Piraten auf. Es gibt auch den CDU-Beißreflex „Das ist Populismus!“, den Republikaner-Beißreflex „Mutierte Techno-Kommunisten-Nazis!“2, den Veganer-Beißreflex „Fleisch ist Mord!“, den Christen-Beißreflex „Das ist Gotteslästerung!“ und den Gegen-Kirche-Beißreflex „Da kommt Gott vor!“. Letzteren bemerke ich dann und wann an mir selbst. Der Piraten-Beißreflex ist allerdings der, der mir am häufigsten über den Weg läuft. Vielleicht weil ich selbst den Piraten zugeneigt bin und deswegen mehr Piraten sehe als CDUler. 

  2. OK, das mutiert habe ich erfunden geklaut. Aber ich wurde wirklich schon als Techno-Kommunisten-Nazi beschimpft, weil ich für freie Software bin. Es hat zwei schmunzelnde Antworten meinerseits gebraucht bis ich realisiert habe, dass das keine Ironie war. 

shell basics (bash)

These are the notes to a short tutorial I gave to my working group as part of our groundwork group meetings. Some parts here require GNU Bash.

1 Outline

1.1 Outline

  • user-output: echo
  • pipes: |, xargs, - (often stdin)
  • text-processing: cat/tac, sed, grep, cut, head/tail
  • variables (foo=1; echo ${foo})
  • subshell: $(command)
  • loops (for; do; done) (while; do; done)
  • conditionals (if; then; fi)
  • scripts: shebang
  • return values: $?
  • script-arguments: $1, $#, $@ and getopt
  • command chaining: ;, &, && and ||
  • functions and function-arguments
  • math: $((1+2))
  • help: man and info

The assisted brain and the chained brain

PDF (to print)

Org (to change)

Who serves whom? Our tools can be our allies or our masters. Do your tools assist or chain?

On the 2014 freenet-meltdown

Update (2018-04-14): After 3 years of testing we could confidently decrease the minimum required connections to 6 (for 10 KiB/s upload speed) and still get good scaling thanks to the link length fix. This was released as Freenet build 1480. This yielded the same transfer speeds with lower CPU requirements and with much better scaling for high bandwidth nodes.

Update (2014-09-06): The meltdown is stopped and reversed. We implemented the link length fix and this solved an issue with the network structure we had for the last few years. We’re currently watching anxiously, whether the performance only comes back to the performance before the backdown or whether the lifetime actually gets much better. Watch the fetch-pull stats!

Current Fetch Performance, 1 day

^ inserted one day ago: You see the meltdown starting in april and the improvement with the latest version: It’s back on at least the level before the meltdown.

Current Fetch Performance, 4/2 weeks

^ 4 weeks ago inserted, 2 weeks ago accessed. If this goes above 0.6 starting 2014-09-19, the improvement could prove to be huge: It could give us much longer lifetimes of data in freenet.

Update (2014-07-23): The fetch-pull graphs look like we have oscillating here. This could mean that this is NOT an attack, but rather the direct effect of the KittyPorn patches: First the good connections get broken. This ruins the network. Then they can’t get any worse and the network recovers. Then they break again. This is still speculative. For an up to date plot, see fetchplots1.

Update (2014-05-22): The performance stats are much better again and the link-length distribution recovered. We might have been hit by an attack after all (which failed to take down freenet, but hurt pretty much). With some luck we’ll soon see a paper published with the evaluation of the attack and ways to mitigate it cleanly. (hint to computer scientists: we link to papers from the website, so if you want to get a small boost for your chances of citation, send the link to your paper to

Summary: There is a freenet patch floating around which claims to increase performance. The reality is (to our current-knowledge), that it breaks the network as soon as more than a few percent run it. And this is the case, which is why the network is almost completely broken right now. If you run that patch, please get rid of it!

Freenet is currently experiencing a meltdown, with extremely slow downloads, high connection churn and lifetimes for bigger files down to about a day. For a visualization, see the fetch-performance in the following graph and take note of the drop at the end. It nicely shows how a bad patch spread while more and more users installed it (hoping for better performance) and slowly killed the network. When that line goes below 50%, bigger files are dead approximately one day after being uploaded.

The exhaustive guide to German Streets

This is no absolute truth.

complex number compiler and libc bugs (cexp+conj) on OSX and with the intel compiler (icc)

Today a bug in complex number handling surfaced in guile which only appeared on OSX.

This is a short note just to make sure that the bug is reported somewhere.

Test-code (written mostly by Mark Weaver who also analyzed the bug - I only ran the code on a few platforms I happened to have access to):

Schick mir eine verschlüsselte E-Mail

Eine verschlüsselte E-Mail zu schicken ist einfach. Hier will ich dir in 3 Schritten zeigen, wie du mich erreichen kannst. Ich zeige die Schritte für eine Reihe verschiedener Programme, sowohl für Windows als auch für OSX und GNU/Linux.

Das Programm dafür ist GnuPG: Frei lizensiert und der langjährige Standard für sichere Verschlüsselung von E-Mails.

keep auto-complete from competing with org-mode structure-templates

For a long time it bothered me that auto-complete made it necessary for me to abort completion before being able to use org-mode templates.

I typed <s and auto-complete showed stuff like <string, forcing me to hit C-g before I could use TAB to complete the template with org-mode.

I fixed this for me by adding all the org-mode structure templates as stop-words:

;; avoid competing with org-mode templates.
(add-hook 'org-mode-hook
          (lambda ()
            (make-local-variable 'ac-stop-words)
            (loop for template in org-structure-template-alist do
                  (add-to-list 'ac-stop-words 
                               (concat "<" (car template))))))

Notizen zur Podiums-Diskussion mit Dorothea Wagner (DFG), Horst Hippler (HRK), Detlef Löhe (KIT) und Wilfried Porth (Daimler) auf dem YIN-Day 2013

PDF-version (zum Drucken)

Auf dem YIN-Day 2013 haben sich am 12.10.2013 die verschiedenen Nachwuchsforschergruppen des KIT vorgestellt. Zusätzlich gab es einige Vorträge, die von einer Podiums-Diskussion abgeschlossen wurden.

Diese Diskussion hat mir viel Hoffnung auf die Zukunft der Forschung in Deutschland gemacht, daher möchte ich meine Notizen dazu weitergeben.

Moderiert wurde die Diskussion von Heike Mund, die eine schöne Mischung aus provokanten Fragen und guten Vorlagen beigetragen hat - zu der ich allerdings außer auf Xing keine Informations-Seite gefunden habe.

Org-mode with Parallel Babel

Update 2017: a block with sem -j ... seems to block in recent versions of Emacs until all subtasks are done. It would be great if someone could figure out why (though it likely is the right thing to do). To circumvent that, you can daemonize the job in sem, but that might have unwanted side-effects: sem "[job] &"

Babel in Org

Emacs Org-mode provides the wonderful babel-capability: Including code-blocks in any language directly in org-mode documents in plain text.

In default usage, running such code freezes my emacs until the code is finished, though.

Up to a few weeks ago, I solved this with a custom function, which spawns a new emacs as script runner for the specific code:

; Execute babel source blocks asynchronously by just opening a new emacs.
(defun bab/org-babel-execute-src-block-new-emacs ()
  "Execute the current source block in a separate emacs,
so we do not block the current emacs."
  (let ((line (line-number-at-pos))
        (file (buffer-file-name)))
    (async-shell-command (concat 
                          "TERM=vt200 emacs -nw --find-file " 
                          " --eval '(goto-line "
                          (number-to-string line) 
                          ")' --eval "
     "'(let ((org-confirm-babel-evaluate nil))(org-babel-execute-src-block t))' "
                          "--eval '(kill-emacs 0)'"))))

and its companion for exporting to beamer-latex presentation pdf:

; Export as pdf asynchronously by just opening a new emacs.
(defun bab/org-beamer-export-new-emacs ()
  "Export the current file in a separate emacs,
so we do not block the current emacs."
  (let ((line (line-number-at-pos))
        (file (buffer-file-name)))
    (async-shell-command (concat 
                          "TERM=vt200 emacs -nw --find-file " 
                          " --eval '(goto-line " 
                          (number-to-string line) 
                          ")' --eval "
     "'(let ((org-confirm-babel-evaluate nil))(org-beamer-export-to-pdf))' "
                          "--eval '(kill-emacs 0)'"))))

But for shell-scripts there’s a much simpler alternative:

Praktische Erfahrungen mit einem Internet ohne Netzneutralität

Den folgenden Text habe ich dem EU-Abgeordneten Jürgen Creutzmann geschrieben, um ihm zu erklären welche Probleme ein Internet ohne Netzneutralität erzeugt. Ich habe dafür auf meine persönliche Erfahrung des letzten halben Jahres zurückgegriffen, in dem ich ungewollt den Rechner meiner Frau komplett blockiert hatte - durch Priorisierung eines kleinen Dienstes, der eigentlich kaum Leistung brauchte.

Sehr geehrter Herr Creutzmann,

Es tut mir Leid, dass ich Sie so spät abends noch störe. Ich hatte versucht, Sie telefonisch zu erreichen, musste aber vorher die Kinder ins Bett bringen - und brauchte einige Zeit, um diese E-Mail zu formulieren.

Ich schreibe ihnen, weil sie morgen an einer Abstimmung zu Netzneutralität teilnehmen und damit darüber entscheiden, wie das Internet hierzulande in Zukunft aussehen wird.

Die Telekommunikationsfirmen erzählen etwas von speziellen Diensten, die sie durch Ausnahmen von der Netzneutralität besonders gut anbieten können. Wie das Internet dann aussehen wird habe ich die letzten Monate ungewollt selbst erlebt:

Ich kann in unserem Heimnetz Dienstepriorisierung einstellen - also genau das, was Provider im gesamten Netz wollen. Ich hatte das genutzt, um sicherzustellen, dass ein bestimmter Dienst immer schnell verfügbar ist. Der Dienst hat nicht viel Bandbreite gebraucht, war aber priorisiert.

Die letzten Monate hat mir meine Frau immer wieder gesagt, dass ihr Rechner nicht mehr über WLAN ins Netz kommt, und unser Skype hatte völlig zerhackten Ton - was so weit ging, dass wir Skype nur noch für das Bild nutzten und nebenher telefonierten. Ich habe lange Zeit keinen Grund dafür gefunden.

Gerade letzte Woche habe ich mich dann daran erinnert, dass das alles angefangen hat, nachdem ich mit der Priorisierung experimentiert hatte. Ich war nie auf den Gedanken gekommen, das zu testen, denn was sollte WLAN mit Priorisierung des Netzes zu tun haben? Aber trotzdem habe ich versuchsweise auch den Rechner meiner Frau als priorisiert gesetzt. Und das WLAN funktionierte wieder. Als nächstes habe ich Skype auf priorisiert gesetzt, und es funktionierte wieder.

Das ganze passierte mit einem kleinen Dienst, der wenig Leistung braucht. Es war keine Filmplattform und keine Telefonie, sondern eine sehr einfache Anwendung, für die selbst die Geschwindigkeit eines 10 Jahre alten Modems genügen würde.

Recursion wins!

I recently read the little schemer and that got me thinking about recursion and loops.

After starting my programming life with Python, I normally use for-loops to solve problems. But actually they are an inferior mechanism when compared to recursion, if the language provides proper syntactic support for that. Since that claim pretty much damns Python on a theoretical level (even though it is still a very good tool in practice and I still love it!), I want to share a simplified version of the code which made me realize this.

Tutorial: Writing scientific papers for ACPD using emacs org-mode

PDF-version (for printing)

orgmode-version (for editing)

Emacs Org mode is an excellent tool for reproducible research,1 but research is only relevant if people learn about it.2 To reach people with scientific work, you need to publish your results in a Journal, so I show here how to publish in ACPD with Emacs Org mode.3

The translation of NSA is Stasi

Just to give you a short note, if you have been surprised by the NSA acting like the Stasi in former DDR (German Democratic Republic).

Here’s the translation of NSA:

  • N: National = Staatlich
  • S: Security = Sicherheit
  • A: Agency = Ministerium

Let’s put that together:

NSA = Staatliches Sicherheitsministerium
(in more regular German: Ministerium für Staatssicherheit)

Well, that’s long. Shorten it to Staatssicherheit. Still to long for casual discussions. So shorten it once more: Stasi.

NSA = Stasi

Do you still wonder why the NSA acts like the Stasi?

Factual Errors in “Git vs Mercurial: Why Git?” -- and corrections shown by example

Update 2016: Instead of fixing the article, the Atlassian web workers removed the comments which point out the misinformation in the article. *sigh*


In the Atlassian Blog, a Git proponent spread blatant misinformation which the Atlassian folks are leaving uncommented even though the falseness has been shown by multiple people and even in examples in the article itself.

The claims and corrections:

  • Claim: Git never loses unreferenced data. Mercurial needs special handling to retrieve unreferenced data. Reality: Due to automatic garbage collection, history editing in git unpredictably loses unreferenced history while Mercurial stores permanent backups which can be retrieved with core commands.
  • Claim: Only git branches are namespaced. Reality: Mercurial bookmarks are namespaced with bookmark@path, when there could be confusion. This is equivalent to git’s use of path/branch, but only used where it is needed, while git forces the user to always make that distinction.
  • Claim: Only git can provide a staging area. Reality: Activating mercurial queues (mq) and the record extension provides a staging area like the git index — for those who want it.
  • Claim: Git is more powerful. Reality: Both have the same raw power (as proven by transparent access with Mercurial to Git repos via hg-git), but
  • its “cuddly command line” gives Mercurial an efficiency during actual usage which most people do not find in Git.

2 years ago, Atlassian developer Charles O’Farrell published the article Git vs. Mercurial: Why Git? in which he claimed to show "the winning side of Git”. This article was part of the Dev Tools series at Atlassian and written as a reply to the article Why Mercurial?. It was spiced with so much misinformation about Mercurial (statements which were factually wrong) that the comments exploded right away. But the article was never corrected. Just now I was referred to the text again, and I decided to do what I should have done 2 years ago: Write an answer which debunks the myths.

“I also think that git isn’t the most beginner-friendly program. That’s why I’m only using its elementary features” — “I hear that from many git-users …” — part of the discussion which got me to write this article

Der Sicherheitstest des BSI: Wie man ein Botnetz findet

Das Bundesamt für Sicherheit in der Informationstechnik (BSI) hat letztens einen Sicherheitstest vorgestellt, mit dem Leute prüfen können, ob ihre E-Mail-Adressen von dem Identitätsdiebstahl eines Botnetzes betroffen sind. Nehmen wir nun mal an, es gibt Leute beim BSI, die wissen, was sie tun…

Vorraussetzungen: Das BSI hat eine Liste von E-Mail-Adressen von Leuten, deren Rechner Teil des Botnetzes sind. Das Botnetz selbst ist schwer zu finden, aber irgendwie ist die Liste rausgeleaked.

Wicked Words! on Patreon

John Wick is entering the patreon arena with the Wicked Words! Magazine: Adventures, GM Advice, Little Games, Stories, The Works!

There’s an update with a Happy ending on!


This is really good news for online publishing, because it shows by example how roleplaying games and shortstories enter a new stage on the web: Fan-Funded periodicals.

Inhalt abgleichen
Willkommen im Weltenwald!

Beliebte Inhalte news


This question is for testing whether you are a human visitor and to prevent automated spam submissions. This is pretty hard (also for me), but any easier and I drown in spam.
Enter the characters shown in the image.