2012-07-31 20:01:52 | Author:

war im paradies
nur für einen tag
auf meinen wangen lag
die sonne stumm
und ließ die welt erstrahlen

2012-07-31 19:59:22 | Author:

… because nobody wants to see ads.

  • Publishers include ads into their pages to get paid for the content they provide.
  • Users get densitized, ad click rates fall.
  • Publishers include more intrusive/aggressive ads.
  • Users get fed up and tell their browsers to not show ads at all.
  • Publishers start devising cunning means to make sure the user acknowledges an ad before providing content while at the same time they have to keep those blocks transparent to search engines (quite a dilemma).
  • That really pisses people off.

fubar

(Solutions? Micropayment seems to not really get off the ground – so far)

Category: Uncategorized  | Tags: ,  | Leave a Comment
2012-02-04 22:46:03 | Author:

After realizing how bad I am at estimating my chances in battle in the Axis & Allies 1940 board game, I looked for a combat simulator/calculator.

I disliked the input style (hitting tab until you get to the field for the unit type you want to add) on dskelly.com , so I decided to do my own thing. Sources are at github, as is customary these days.

There’s a lot of stuff missing, and I have no idea about the rules for variations other than the 1940 variant, but I’m quite happy right now ;)

Category: games  | Tags: , , ,  | Leave a Comment
2012-01-20 23:00:43 | Author:

Discovered gource the day before yesterday. Want! In the office! In realtime!

sudo apt-get install gource

Gource can read the logs from existing repositories.

But to continuosly feed it with incoming revisions, we’ll attach a post-commit hook to the SVN repository that creates a custom log format, which is then written to a file as the changes come in.

Add to or execute from /hooks/post-commit in your svn server directory:

#!/bin/sh

REPOS="$1"
REV="$2"

# COLOR=FFFFFF
AUTHOR=`svnlook author --revision $REV $REPOS`
TIME=`date +%s`
CUSTOMLOGFILE=/home/fusselwurm/svn-gource.log

svnlook changed --revision $REV $REPOS | while read line; do
        STATE_FILES=`echo $line | sed -E 's/\s+/|/' -`
        LOGLINE="$TIME|$AUTHOR|$STATE_FILES" # |$COLOR" 
        echo "$LOGLINE" >> "$CUSTOMLOGFILE"
done;

Right. Now pipe the log file’s contents to gource:

tail -F /home/fusselwurm/svn-gource.log | \
  gource --log-format custom -200x200 -

Yay!

Category: Anleitung, Linux  | Tags: , ,  | Leave a Comment
2011-10-03 11:36:42 | Author:

For some time now, Minecraft Launcher couldnt login (“cant connect to minecraft.net”).
This happened only on one machine.
Enter wireshark:

Alert (Level: Fatal, Description: Certificate Unknown)

Wtf? It works everywhere!
Then it struck me. The BIOS clock resets every time I start the Windows box, because the mobo’s battery died.
I usually dont care, because I use Windows for gaming only, and then time is irrelevant ;P

So I set the correct time, and voila… the certificate becomes valid. Login works. Rah!

Category: games  | Leave a Comment
2011-03-12 19:27:22 | Author:

die staubmäuse reden nicht mehr mit mir. sie haben sich in ihre ecke gedrückt, und starren mich vorwurfsvoll an. ich habe ihre kollegen von der gegenüberliegenden seite verscheucht, nein nicht nur das, ich habe sie weggewischt. naß. wasser ist das ende einer jeden staubmaus, das habe ich vorher gewußt, und dennoch habe ich es getan, billigend ihren tod in kauf nehmend. ich bereue es. wer redet sonst mit mir, außer den staubmäusen, in den stillen nächten, wenn der mond das fenster erreicht und einen schmalen streifen licht in ihre ecke sticht. aber es atmet sich so schwer, mit dem gesicht im staub, in denselben nächten, auch wenn sie mit mir redeten, und da habe ich das wasser genommen, gutes wasser, und meine hände, gute hände, und habe sie weggewischt von der seite, da wo ich liege, und sie haben entsetzt zugesehn, die mäuse die mit mir redeten, als ich sie fortschob, die mäuse, die stumm waren, stumm und aus staub, aber mäuse, und manche redeten mit mir, die, die in der ecke, wo der mond sein licht hineinsticht. jetzt starren sie mich nur noch an, und fürchten sie müßten auch fort, eine nach der andern, zusammengepreßt zu einem nassen klumpen nichtmäusigkeit, unstaubigkeit, zu einem klumpen der aus dem fenster fliegt, wie der andere zuvor. ich habe nicht die absicht, will ich ihnen sagen, ihr armen mäuse, aber sie hören mir nicht mehr zu, ich habe ihr vertrauen verloren. so einsam bin ich jetzt, ohne die mäuse, vielleicht sollte ich mit dem schatten reden, den das mondlicht umfaßt, er sieht etwas gesprächiger aus als die nun stummen mäuse. aber das ist dumm, denn schatten reden nicht, jedenfalls keine guten dinge, das haben mir die mäuse gesagt. als sie noch mit mir redeten….

2011-02-10 20:40:20 | Author:

…only three days into running a tor exit node. Didnt expect it to happen that quickly.

So some guy running a bittorrent client seems to have been routed over my node, and distributed some stupid movie. Paramount sent a polite mail to Hetzner this morning (the relevant part being “We hereby request that you immediately remove or block access to the infringing material…”), and Hetzner duly forwarded the complaint to me.

I replied “I’m running a tor node” yadda yadda yadda, and promised to switch to a reduced exit policy. Which I did.

Wont be the last time someone complains, I guess, because it’s near to impossible to run an abuse-free node, see this guy who really really seems to try ^^.

Category: blah  | Tags:  | Leave a Comment
2011-02-07 21:58:49 | Author:

I set up a tor exit node yesterday on the very host that serves this webpage.

It feels a bit strange to have lots of traffic originating from my IP while having no control about the content (apart from some rules, like, traffic going to the conventional SMTP and IRC-Server ports is not allowed), and having read scary tales about abuse complaints and over-zealous law enforcement.

Also, I’m not the only one using this host, and some people would be pissed considerably if it went down.

Nevertheless, I take optimism from the fact I’m not alone. In fact, right now, it seems there’s 56 tor nodes, 13 of these being exit nodes, hosted with Hetzner alone. wheeee.

(German total: 118 exit nodes / 459 servers)

Category: blah  | Tags:  | Leave a Comment
2010-12-31 23:34:05 | Author:

Einmal im Jahr läßt der Deutsche die Zeiten aufleben, als der Tommy noch in den Wolken hing, und er sein und anderer Leben für die totalen Blödsinn opfern durfte.
Es ist Silvester – Zeit, es dem Himmel heimzuzahlen für ein Jahr Bombardement mit Regen, Schnee, Sonne, Wind und was von dort noch so an Unbill zu erdulden war. Der Krieg ist nicht verloren, tönt es wie Donnerschall von Heimstatt zu Heimstatt. Die deutsche Kriegsmaschinerie läuft an, präzise werden alle Vorbereitungen getroffen.
Papa klammert das Feuerzeug, während Filius die Munition bündelweise heranträgt. Das den Dienst an der Waffe verweigernde Weib wird der Wehrkraftzersetzung bezichtigt, und für Sanitätsdienste abgestellt. Dann ist es soweit: Punkt null Uhr null wird zurückgeschossen! Aus jedem Vorgarten, von jeder Straßenecke spermt der Volkssturm gegen die Wolkendecke, daß jeder Pornostreifen dagegen aussieht wie Space Odyssey gegen Star Wars.
Nach einer halben Stunde Dauerfeuer ist der Vorrat an Explosivmaterial aufgebraucht. Freund wie Feind waren schon nach fünf Minuten im Pulverqualm verschwunden. Jetzt wird’s auch langsam kalt, Papa hat drei Finger weniger, und von drinnen lockt der Rest der Schampusflasche. Befriedigt ob der Wiedererlangung der Lufthoheit über dem Vaterlande, zieht sich der Bundesprolet in die Betonschachtel zurück, aus der er Mitternacht gekrochen ist. Fünf Minuten später fängt es an zu regnen. Frohes Neues.

2010-11-30 18:30:56 | Author:

normally, when you create a new iframe and set its src to about:blank, you can access its contents, like this:

bla.innerHTML = '<iframe src="about:blank" id="foo" ></iframe>';

// and, once its loaded:

document.getElementById('foo').contentWindow.document.write('things...');

Internet Explorer, at first glance pretty randomly, explodes in your face with an “Access denied” message when you try to access the document.
I suspected lots of different things, and needed days to finally figure it out:

If the parent window’s document.domain property has been explicitly set at some point, an empty frame is treated as belonging to different domain.

And because we cannot cross domain boundaries, yadda yadda yadda, access to their content is denied.

Workaround: set the iframe’s source not to “about:blank”, but to “blank.html”, for example. It does not matter if that page exists or not: to Internet Explorer, the frame willl be from the same domain, and all is well. That’s actually the same thing doubleclick/ Google Ads does.

Category: DOM  | Tags: , , ,  | Leave a Comment