Browsing All Posts filed under »Computers«

SQLAlchemy – MYSQL has gone away

January 2, 2013

4

So this bug bit me on the arse and it took me so long to track down the necessary bits of information needed to fix it that I think it’s worth sharing the hard won wisdom. The Problem When using SQLAlchemy with MYSQL for your python webapp, you encounter one or several of these error […]

Github for Science: A Concept

July 4, 2012

2

So coding and science have a rocky relationship. Scientists write programs to do all sorts of things: control experiments, process data, visualize it, store it in databases, solve maths problems, and more. But scientists are not software architects. Nor are they often terribly good project managers. What this means is that code that is crucial […]

Why all of science should use Python

July 3, 2012

3

Bit of a nerdy one today, and not one relating to anything in particular. It’s just that over the past months i’ve become increasingly obsessed with the Python programming language. It’s just beautiful – I’m not going to go into much details as they can be found on python.org, but in short python can be […]

Why I hate LaTeX [Rant warning]

June 13, 2012

6

I hate latex. And when i say that, i really mean hate. It makes me rant and rave and foam at the mouth in anger. Where to begin – it just ridiculous I don’t even know where to start. So let’s start with my experience with latex. Let me be up front: have have never […]

Optimized Boids II : pyglet [Updated]

February 4, 2012

1

tl;dr – code now availalbe on github I previously posted an optimized version of Craig Reynolds flocking algorithm. Nothing very fancy – simply adding a way to store the boid objects in a grid data structure which makes looking up the distances between boids much faster. I felt the need to do this because there […]

Predictions for the PS4

December 31, 2011

1

I am a gamer, among other things. Not an avid gamer – no time for that sort of thing – but I often prefer to play a game than watch a movie. I own a PS3, because I got sick of eternally upgrading PCs and stuffing them with ice packs to get them to run […]

Facebook’s Biggest Un-Secret: Your apps are watching you!

May 13, 2011

0

So – it turns out Facebook is hiring PR firms to highlight Google’s privacy violations “for the common good” – and not at all to draw attention away from its own practices (Pot, meet kettle, as they say.) So now seems a good time to flag an issue that’s been nagging me since I started […]