Infinity Minus Zero

The Game of Life

I was making code examples for jobs when I decided to make my own javascript game of life. I'm considering how to improve it, but as is it handles up to a decent size grid on my old mac. Maybe it'll blaze on someone's newer computer.

Enjoy The Game of Life

Technorati Tags:Technorati Tags:

How to instantiate a subclass from a superclass method in Python

I was working my way through a Python exercise when I started to play around and I came up with an interesting scenario and one way to solve it.

The main problem is that an inherited method from a superclass is called and is supposed to return an object of the same class as the current object instance, whether it's a subclass or the superclass.

Is XCart the most convoluted PHP app devised

JK8SYM7VUGBH This was originally titled: Is XCart the least MVC PHP app in the world? But it does have templates so that isn't entirely fair. The real issue is the quality of the code.

Technorati Tags:Technorati Tags:

Hyperthreading overloads RAM heavy apps

This is an interesting thing I've found with my current contract. If you're doing high performance computing on clusters and have jobs that require a certain amount of RAM and you tell it to use presumably the maximum offered by the compute node, then you should turn hyper-threading off. The scheduler will send jobs for the max RAM to each of the two virtual hyper threaded nodes, when there is really only RAM for one job.

Valign in Colgroup simply doesn't work

For the HTML resume on this website, I tried to vertically align the content of the left column of tables to the top. The simplest way I figured to do this was to create a colgroup for the left columns and valign="top" in CSS.

Technorati Tags:Technorati Tags:
Syndicate content