||[Mar. 15th, 2005|07:19 am]
jsdraw (see previous entry) save the screen whenever somebody wipes the board:I made |
And yeah, sorry for forgetting to mention that you can't use it too long else Mozilla shits itself and possibly kills your machine.
Today I'll be making it leapfrog two connections back and forth, initiating the second one to start connecting once the first has downloaded like 1MB, so neither one is open too long and Mozilla can release the responseText of the XmlHttpRequest. I just need to add sequence numbers to the event stream coming down so the client can know where to pick up in the second thread without duplicating things. (which wouldn't be bad, except for chat items)
Oh yeah, I'm at ETech in San Diego. Never been to one before. I'm crossing my fingers it's not just a bunch of self-important people frothing at the mouth about changing the world with their latest buzzword. But I remain optimistic because there are enough cool people I want to meet and hear talk.
|From: xb95 |
2005-03-15 03:48 pm (UTC)
You should go hear Anil talk about blortals!
Argh. I want to try, but my employer blocks LJ, so by association, danga. ;)
I think it's becoming a meme. I saw the link pop up in #mozwebtools on irc.mozilla.org, and I have no idea how it got there. :-)
2005-03-15 05:45 pm (UTC)
This is a really cool hack...
But my right-click menu keeps coming up, because Firefox for Mac brings up the menu when you left-click-and-hold (eg dragging, but not moving enough pixels in the first second of mouseDownNess).
You could probably use one of those (usually annoying) js things that disables the right click, and this would be a lot more usable on the mac.
If you build an IRC client that integrates that, I will have your firstborn child.
|From: jwz |
2005-03-15 08:45 pm (UTC)
Perhaps you can get VC funding for your way-new paradigm-shifting drawblog technology! (drawg?)
oh god, i just wondered why this hadn't been moderated "+5, funny"..
|From: divelog |
2005-03-15 10:28 pm (UTC)
Consider using the google-style adjustable event loop; time how long the XMLHTTPRequest takes to return, and adjust your loop based on the time. Assuming the callback time is proportional to connection speed in some way, people with high-latency connections will make fewer, larger requests where people with low-latency will make many, small requests.
Also, why are you setting the callback after you make the GET call? Seems dangerous.
|From: mart |
2005-03-15 11:39 pm (UTC)
You're going to end up with a lot of tiny files in that directory. I hope you're using a sensible filesystem! ;)
omg brad. did you meet Denz from dodgeball.com? he went to etech too. we're pals ;>