2008-10-26

The Computational Beauty of Nature/Little things

Link: http://mitpress.mit.edu/books/FLAOH/cbnhtml/

Over the last few weeks, I've been reading The Computational Beauty of Nature an coding up a few of generative algorithms.

I've put them in the examples/java/fractals folder. Not much to them, just written on a netbook running Ubuntu.

I have two main computers - an Asus Eee PC 900 netbook and a Shuttle SX48P2 Deluxe desktop - and tend to use the Eee PC much more, even for programming, despite having a much smaller screen. Maybe it's because I have to sit at a desk all day at work, or maybe its that a full-screen editor on the Eee PC is a manageable chunk of code. I've been given dual monitors at work, and don't really use them - sometimes to have a web session in the one I've not got the editor open in. I use SciTE. It's no harder to Ctrl-Alt-Right arrow to switch a workspace on the Eee PC than to move your head to another screen.

I don't tend to stepwise-debug GUIs that much - which is why I was given two screens at work - I tend to break the code into smaller methods and write tests for them, which records the areas which you had difficulty with and had to pay extra attention too, information which is lost if you use a debugger.

Labels:

2008-10-18

Prolog is not co-operative

XProlog v.1.3, May 2002

?- help.
> No.

?- oh, go on.
> No.

?- please.
> No.

?- quit.

Labels:

2008-10-13

I don't want to think about it


Fact: Boston Computer Museum sells chocolate bars shaped like floppy disks.

Fact: Three year old kids see daddy boot his computer using a floppy to play games.

Fact: Computers are warm inside...even some quite expensive computers.

I don't want to talk about it.
source