Proposed High Resolution Timer API

Long time since I’ve posted on Planet WebKit:
Here’s a proposed high resolution Timer API for WebKit (and hopefully HTML5). It’s based off of Adobe’s “flash.utils.Timer” API found in ActionScript 3.0.
Timer : EventDispatcher

  • currentCount:Number => Total number of times the timer has fired since it started (at 0)
  •  delay:Number => The time, measured in millisecondsseconds, between timer firings. Precision is browser defined, but should be at least 1ms
  • repeatCount:Number => The total number of times the counter is set to run. If the timer is “0”, the timer will run forever or until its stopped.
  • running:Boolean => If the timer is running or not
  • start() => Starts the timer if the timer is not running
  • stop() => Stops the timer if the timer is running.
  • reset() => Stops the timer if its running, and resets “currentCount” back to 0.
The timer will implement the browser native event dispatching system (W3C for most, IE proprietary for MSIE), and will fire the following events:
  • timer => Dispatched whenever the timer reaches the interval specified by the “delay” property.
  • timerComplete => Dispatched when the timer’s repeatCount reaches 0.
Please note the timer will be a high resolution timer, with no minimum bound, so there’s no compatibility issues when using setTimeout/setInterval. Plus, the API is simple enough to be implemented in terms of setTimeout/setInterval on browsers that do not implement the proposed.
Please leave feedback on the proposed API.
Some notes:
  • Changes from flash.utils.Timer: delay is measured in seconds instead of milliseconds, since its defined to be a JavaScript number, which has the precision equivalent to a “double” on a standard Intel x86 system.
  • Repeat Count defaults to 0, meaning, go on forever. If you want it to be “one shot”, then set repeat count to 1.
Example Code:
var timer = new Timer();
timer.delay = 0.01;
timer.repeatCount = 1;
// Add Event Listeners
if(timer.addEventListener) timer.addEventListener(“timercomplete”, OnTimerComplete); // W3C
else if (timer.attachEvent) timer.attachEvent(“ontimercomplete”,OnTimerComplete); // MSIE
// Event Lsitener
function OnTimerComplete(e)
if(!e) e = window.event; // MSIE
// Do Something

AT&T FastAccess POP3/SMTP Servers

AT&T FastAccess DSL users might be used to using “” as their POP3/SMTP servers for a long time now. However, AT&T recently introduced 2 new servers that are (1) Secure (via SSL), and (2) work when not on the AT&T network.
POP3:, SSL Enabled, Port 995
SMTP:, SSL Enabled, Port 465
If anyone wants instructions for their particular mail client, reply back to here, and I’ll send you instructions (as well as provide them on here).


[1]Who was your FIRST prom date?
Didn’t go to prom
[2] Do you still talk to your FIRST love?
Yes.. currently engaged to her
[3] What was your FIRST alcoholic drink?
A sip of Shelley’s wine cooler.. gross
[4] What was your FIRST job?
Assistant to the IT guy at MHS, didn’t get paid though. First paid job is the current one.. EyeWonder, Inc.
[5] What was your FIRST car?
a 1992 Ford Taurus GL
[6] Who was the FIRST person to text you today?
Noone.. boo
[7] Who is the FIRST person you thought of this morning?
[8] Who was your FIRST grade teacher?
My memory no longer possesses the knowledge.
[9] Where did you go on your FIRST ride on an airplane?
Kansas City, MO
[10] Who was your FIRST best friend and are you still friends with them?
“John John” Hodges. Haven’t seen him in a few years
[11] What was your FIRST sport played?
Never played one.
[12] Where was your FIRST sleep over?
John John’s house when I was little.
[13] Who was the FIRST person you talked to today?
Wes Brennan when I came into work.
[14] Whose wedding were you in the FIRST time?
I have yet to be to a wedding. It’ll probably be my own.

[15] What was the FIRST thing you did this morning?
Put clothes on
[16] What was the FIRST concert you ever went to?
The Bravery in ATL with Jenny.
[17] FIRST tattoo or piercing?
[18] FIRST foreign country you went to?
[19] What was your FIRST run in with the law?
Never had one, but I’ve fought with customs/immigration before….
[20] When was your FIRST detention?
[21] What was the FIRST state you lived in?
Florida, but lived in Georgia for as long as I can remember.
[23] Who was your FIRST roommate?
James Morgan
[24) When was your FIRST limo ride?
[25] Who will be the FIRST to repost this?
Probably noone.


Cajun country is getting hit by yet another hurricane. It’s expected to cause at least as much physical damage as Katrina. but no where near the amount of damage in lives. New Orleans has had 95% of its population evacuated, quite impressive.

I wish the people of the Gulf Coast the best of luck in this act of God and the fury of nature that will be unleashed on to you soon.