Badges!

Badges!

Funky little badges for 75p each!
Buy some soon

What's new

RSS Feed for what's new

What's updated

RSS Feed for what's updated

Standards I'm breaking (probably)

Valid XHTML!
Valid RSS!
Valid CSS!

Ads

Dreamhost Web Hosting

Occhack - a nethack style animation of the dining philosophers

Added 2004-09-17

Occhack The dining philosophers problem is a fairly common one in Computer Science. This is an animation I produced as coursework. The previous examples had little smiley faces running around, bits of the Philosopher song scrolling across the screen, and so on. I wanted to do something a little more original, so did an animation in the style of Nethack. It's written in occam, but I'm only making a Linux and Solaris binary available for now, as it is an assessed bit of work and they like to set it year after year. As a result, this is not GPL code. Consider it licensed under the MIT license. If you really want to have a peek at the source, let me know. This is not GPL software, by the way: I'm placing it under the MIT license.

Unfortunately, to use these you'll either need the KRoC occam compiler, or will need to create an /etc/kroc_clock file containing your processor's speed. You can get this from /proc/cpuinfo on Linux:

[alex@aquila fortunes]$ cat /proc/cpuinfo | grep MHz
cpu MHz : 1460.471
[alex@aquila fortunes]$ cat /etc/kroc_clock
1460.458

The differences don't seem to matter. You can read more about this issue on Google's usenet archive when it was originally discussed.

Occhack for Linux i386 - 54k
Occhack for Solaris SPARC - 16k