Older blog entries for sness (starting at number 4860)

Damien Katz: The Unreasonable Effectiveness of C

Damien Katz: The Unreasonable Effectiveness of C: "C is the total package. It is the only language that's highly productive, extremely fast, has great tooling everywhere, a large community, a highly professional culture, and is truly honest about its tradeoffs."

'via Blog this'

Syndicated 2013-01-11 18:21:00 from sness

How our users exploited concurrency and how we fixed it - Evil Trout's Blog

How our users exploited concurrency and how we fixed it - Evil Trout's Blog: "# Keep everything in a database transaction
Player.transaction do

# Find the player's current goal
goal = player.goal

# Make sure we don't reward goals that have been already been completed
unless goal.completed?
goal.update_column :completed, true
player.increment!(:score, goal.score)
end

end
After much headdesking, I eventually discovered that the above code is not safe under concurrency."

'via Blog this'

Syndicated 2013-01-11 18:20:00 from sness

Safari is released to the world

Safari is released to the world: "It was KHTML. Specifically KHTML and KJS — the code inside KDE’s Konqueror Web browser on Linux. After the keynote was over, I sent this email to the KDE team to thank them and introduce ourselves. I did it right from where I was sitting too, once they turned the WiFi back on."

'via Blog this'

Syndicated 2013-01-11 18:16:00 from sness

ScienceCasts: The Sound of Earthsong - YouTube

ScienceCasts: The Sound of Earthsong - YouTube: "