Sometimes you just need to sloooooow doooooooown to test how your software behaves when your internet connection is crappy. Linux has tc to do this, but what about Mac OS X? That’s where ipfw comes in. It does a lot of stuff. I mean a lot, but we’re just going to use it to slow […]
Dangerous? Really? Well, not if you understand how it works. Note: I’m not the first to write about this subject. When writing a function in Python, it’s handy to use default argument values like this: And you think this will provide an easy way to let lazy callers pass no arguments to your function, and […]