Recent blog entries for JuxtaPositionYou

26 Mar 2004 (updated 26 Mar 2004 at 02:01 UTC) »

Almost a year since the last update. This is what happens when I believe my own hype about finishing my website :)

I'm working on the status script (no sources available yet). You can view it here

http://fin.ods.org/milenko/tgmstatus.php
In addition, I have a little image thinglet
http://fin.ods.org/milenko/status.php?IP=x.x.x.x&port=xxxxx&timeout=1
(fill in the xs)

So, what is this status script?

Basically, it shows the names, scores and pings of select SOF2 Demo servers. With a user supplied IP, it can show the status of any network game based on the Q3 engine. I hope to expand it to include UT, CS, et cetera.

13 Jun 2003 (updated 13 Jun 2003 at 00:42 UTC) »

I enrolled in UFT Computer Science. I turned down Waterloo. I have no regrets.

I am closer to the people I love. I am human too, no?

3 Jun 2003 (updated 12 Jun 2003 at 00:47 UTC) »
what is it?
Implementation of the update TGM Status Script is a success. It queries a Soldier of Fortune 2 (really a Quake 3) server through UDP, then returns and formats server information. Sounds simple, but harder in practice.

Keeping with clean, object oriented style, I'm working on customizable countdown code. The countdown would announce the opening and closing time of the server, since some servers have specfic playing hours.

Here's a snippet:

class timeToPlay {

// takes a schedule object as an arg

var $milenkoTime; var $currentTime; var $secondsToGo; var $ttg; var $serverUp;

function timeToPlay($schedule) {} function getSecondsToGo() {} function getTimeToGo() {} function showSeconds() { echo $this->ttg["seconds"]; }

function showMinutes() { echo $this->ttg["minutes"]; }

function showHours() { echo $this->ttg["hours"]; }

function getIsUp() { return $this->serverUp; } }

Pretty ugly already (not like I recieved formal instruction).

So what exactly do I want to do? Time for an unordered list...

  • Display a "uptime" or "time to go" countdown for any specified date and time
  • Display a "downtime" countdown for any specific date and time
  • Allow a user to specific specific dates and time, schedules, or patterns (i.e. every Saturday and Sunday)
feedback
Suggestions, of course, are welcome. If I would ever get around to it, easiness would be a simple post on the FIN message board. But there's the next best thing (abet slightly more anonymous).

Send a suggestion (with some sort of indicator of the TGM Status Script) to http://benzene.ods.org/index.php?direct=feedback. If you feel more comfortable with your own client, my e-mail address is provided within the same link.

download
If you wish to download the latest version of TGM Status Script, which is easily modifiable for Q3 servers...

No mention of Chi thus far. It is a shame. A collection of stars; a quiet, distant warmth. She is the night sky.

3 Jun 2003 (updated 12 Jun 2003 at 00:46 UTC) »

This is a new experience. I wish to thank Advogato's powerful servers for recognizing my darty mail server, for recognizing the small, yet valid, MX record attached to it. Woo. Text formatting.

The last year of yearbooks. UFT (University of Toronto) Computer Science, or Engineering next year. Why can I not be with Chi? Distant.

Chi; I crave her mouth, her voice, her hair. Silent and starving, I prowl the halls.
No, not quite Pablo Neruda yet. Coding, art, the love of those are askew to the real love.

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!