Ben Godfrey

Archive for March, 2002

Old improvements list

This list had been on Hypothetical since the beginning. Since I stopped altering the code about six months ago, I thought it should finally go…

  • uploading files > 64k
  • javascript html writer for editing posts
  • proper portlet structure, currently it’s all static, but modularisation must happen soon
  • more theme control, theme creation forms (offline content creation)
  • facilities to attach files to categories dynamically.
  • page creation forms
  • more advanced content contribution — detail pages, generalised folder pages, attempt to provide tools for building microsites offline and then posting them without FTP
  • more mail bizniss, will feature: POP3 account checking, address books (xml export!), more…

So cunning etc etc

Well, IE is having a crashy day so I’m posting with NS6. It wouldn’t be too bad except that I actually have some work to do.

This is the cunning bit, it’s the javascript used by xiti.com to create stats:

hsh = new Date();
hsd = document;
hsi = '<a href="http://www.xiti.com/xiti.asp?s=12835">'
hsi += '<img width=39 height=25 border=0 align=center hspace=5 vspace=10 src="http://loga.xiti.com/hit.xiti?s=12835'
hsi += '&p=&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds(); if(parseFloat(navigator.appVersion)>=4)
{s=screen;hsi += '&r=' + s.width + 'x' + s.height + 'x' + s.pixelDepth + 'x' + s.colorDepth;}
hsd.writeln(hsi + '&ref=' + hsd.referrer.replace('&', '$') + '" alt="Mesurez votre audience"></a>');

Note use of image tag to send the collected info back to the server.

Well, since there are people reading…

Four comments added today, so that’s five comments so far. Interesting eh.

Anyway, I haven’t posted for a while either, so I will now.

I’ve been unemployed for about three weeks now. I quit Soup because I had been there for a year and it was starting to be a pain getting up and going in every morning. Annoyingly I am now sleeping too long, but getting out of bed is still too much hassle. Half an hour later it’s fine. Ah well.

So I’m now freelance again, with the emphasis definitely on free. Offers of work are coming in (thank you Robert). So in the mean time I’m catching up on all the stuff that I never have time to do. So far this has included:

  1. Working on a C++ version of Hype
  2. Programming a line drawing algorithm in Flash
  3. Programming basic animation in Java (I made a rotating square, it took two days).
  4. Programming a bouncing ball in Flash
  5. A bit of basic OpenGL coding on my Mac
  6. Photoshopping! Yay, haven’t done any rasterbating for ages.
  7. Attempting to code the Boid flocking algorithm in Flash

All of these have required an amount of revision of various mathematical and programming topics, I’ve had to relearn Newtonian physics, vector math and matrix math pretty much from the ground, that’s because I never paid any attention in lectures. My C++ and Java were pretty rusty as well.

The flocking looks like it really doesn’t want to be coded in Flash, but there you go. I had a look and I could only find one other implementation and it wasn’t complete. Then again my version probably won’t be either…