Today in the daily wtf is the well known JavaScript parseInt behavior regarding octal numbers. I know that one, it’s old and not really a WTF. The only stupid thing in that is, that the error return value of parseInt is 0 rather than undefined or an exception. But what I found today by accident is this (tested with Firefox):
>>> eval("09")
9
>>> eval("0100")
64
>>> parseInt("09")
0
>>> parseInt("0100")
64
Now that’s a WTF ;-)
April 24th, 2008 | Tagged as: javascript, stumbledupon |
2 Comments »
$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' |sort -rn|head
180 python
63 make
44 hg
42 vim
38 cd
31 ls
24 ssh
17 git
11 grep
9 less
April 10th, 2008 | Tagged as: sorryforthatone, planetubuntu, stumbledupon |
4 Comments »
Zed Shaw noticed that he gets flamed when he uses YAML for a python project. I actually don’t understand the hatred the python community has against YAML. Is it because the Ruby guys came up with it?
April 10th, 2008 | Tagged as: thoughts, stumbledupon |
12 Comments »
Schindlers Lifte, das muss man einfach bloggen ;-)
March 27th, 2008 | Tagged as: sorryforthatone, antizen, german, stumbledupon |
No Comments »
Mark found a broken blog, I have a nice broken XHTML page directly from the W3C: screenshot after the jump.
We all love XHTML do we? And yes I do know that this blog’s XML is equally broken but seriously, blame WordPress not me.
March 11th, 2008 | Tagged as: html, xml, stumbledupon |
2 Comments »
The “Falco Symphonic” DVD. I know Falco is hyped currently here in Austria because that month ten years back he died (damn, I’m getting old) but the DVD is really worth it. For those of you who don’t know the story behind that DVD here a small summary:
1994 Falco gave a concert with an orchestra. However the only record of that concert was a already (and bad mixed) tape from three cameras and a DAT tape directly from the mixer unit with the same quality. Because it was the only concert of that kind from Falco the band decided to record the instruments again and mix the original voice back into the new record. And the result is great. They even managed to get some records by fans so there are multiple angles for some scenes now.
Great piece of music history and a brilliant production. Small hint: the CD features a different recording thatn the DVD, the DVD has eh live recording of the voice whereas the CD has a different arrangement of the instruments and Falco’s voice from the studio recordings.
Yes, it’s not a real live version because the instruments are recorded in the studio afterwards but the impression is great. And in the studio the same musicians play and it’s the only chance for us to get such a great recording in that quality so I think it’s perfectly okay to listen to that ;-)
February 13th, 2008 | Tagged as: planetubuntu, music, stumbledupon |
No Comments »
…because we use prefixes:
<?php
class Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive
extends Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum
Found in the Zend framework :-)
December 10th, 2007 | Tagged as: planetubuntu, php, stumbledupon |
4 Comments »
Since yesterday a German community page for django exists: django-de.org. Good to see that people are working on that :-)
December 8th, 2007 | Tagged as: django, stumbledupon |
3 Comments »
…Inina Gap. Which you probably haven’t heard by now. It’s not rock, metal or any other stuff I normally listen to, in fact it’s completely different, more like electronic fusion. And disclaimer: I a) saw them live, and b) a friend of mine is playing bass in that band :-)
Nonetheless: Check it out.
November 28th, 2007 | Tagged as: music, stumbledupon |
No Comments »
…dead. And that’s a non lethal weapon?
update: Georg points out that it’s called a “less lethal” weapon.
November 26th, 2007 | Tagged as: stumbledupon |
No Comments »