Usually I prefer to rant about the oddities of ruby but this time it’s python.
Continue reading
Tag: Sucks
Auto reload and poor man’s http caching in PHP
I recently had a problem with my website zimmer69.de. Some not so nice fellow told his opera browser to reload a 300k page every 5 seconds, moved it to some tab and forgot about it for weeks. He caused 2 Gb of traffic per day. Time to implement some cache control.
Continue reading
Mysql::Error: Deadlock found when trying to get lock
In one of my rails-projects we had problems with deadlocks during transactions:
"A ActiveRecord::StatementInvalid occurred in ...: Mysql::Error: Deadlock found when trying to get lock "