Tag: fun

  • Bug Fixing Attitude

    As Mikkel “Kamstrup” noted on his blog, bug hunting is all about attitude. Here is mine: Note how the photographer interrupted the bug-fixer, forcing him to simulate a smile. Also note the reference manual in case the man pages are missing. What’s your bug hunting attitude ?

  • Fun with python

    Fun python snippets Here is a short list of python WTF’s i often come across in my own code, debugging those is quite hard.. Tuples are immutable ? a = ([],[]) try: # Modifying a tuple ? a[0] += [1] except: pass print a Weird list references: a = [[None]*4]*3 a[0][0] = 1 print a…

  • To Flush Or Not To Flush

    Ok, I swear this is not me. … Moreover, I wasn’t hacking on epiphany, but reading Slashdot !