Log in

No account? Create an account
Draggable live objects - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Draggable live objects [Dec. 10th, 2003|11:59 pm]
Brad Fitzpatrick
I'm talking to Sherm on AIM, giving him updates on the percentage complete of an upload I'm doing, because he has to wait until 100% before he can download the file.

But I thought: how lame is this?

What I should be able to do is drag the frickin' percentage bar on my chat window and send him the live object. Events from the application doing the upload would be routed both to my widget (locally) and his widget (over the net).

How cool would that be?

[User Picture]From: ydna
2003-12-11 12:26 am (UTC)
Forget it, dude. I tried it once and it failed miserably. But at least I still have the patent.
(Reply) (Thread)
[User Picture]From: brad
2003-12-11 12:33 am (UTC)
Heh. This corresponds well with Mike's comment above. :-)
(Reply) (Parent) (Thread)
[User Picture]From: brad
2003-12-11 12:34 am (UTC)
Patent URL? Any demo apps?
(Reply) (Parent) (Thread)
[User Picture]From: ydna
2003-12-11 12:52 am (UTC)
Are you kidding me? In this day and age? I just replaced the examiner's Folger's crystals with old bong water and I was golden.
(Reply) (Parent) (Thread)
[User Picture]From: endquote
2003-12-11 12:41 am (UTC)
...isn't that what you'd get if you used some method to send the file to him directly?

I see your point, and that does sound kind of cool, but it's either too late or I'm just not imaginative enough to come up with many applications for that other than networked games. I know there are also apps that let you do application sharing on a per-application basis, kind of like RDP for a specific app rather than the whole desktop.
(Reply) (Thread)
[User Picture]From: ijon
2003-12-11 01:13 am (UTC)
Sounds quite feasible to me. Latency would always be a problem, but other than that, it's almost trivial.
(Reply) (Thread)
[User Picture]From: mart
2003-12-11 02:09 am (UTC)

It'd be cooler if he could simply download it as you're uploading it. I guess his download would block when there's not enough data until you add some more. There'd need to be some more control messages so the server could say “keep waiting! The uploader is still here!”

For some reason I'm reminded of what happens when you start downloading an MP3 file and load it into WinAmp when it's half downloaded. If you're downloading fast enough, WinAmp will go on playing the MPEG stream even though the file is now longer than when it started, although since WinAmp is using the original length it calculated to display the time remaining the clock reaches zero and counts up again. Pretty wacky. I guess a simultaneous upload/download thing would have to give the eventual size and probably a hash of the file at the start to avoid the server just sending you infinite junk and filling up the disk when people leave a download unattended.

(Reply) (Thread)
[User Picture]From: jwz
2003-12-11 03:27 am (UTC)
The easy way would be for the remote widget to just be a window mapped on his display, doing X protocol over the net: since we've been taking the performance hit for having low-level network-transparency in the window system for the last two decades, it might as well actually get used for something.

Oh wait, except that's a gargantuan security hole, and actually we've been taking that performance hit for no good reason all this time. My mistake.

But I'm not bitter.
(Reply) (Thread)
[User Picture]From: ghewgill
2003-12-11 05:05 am (UTC)
I thought you were going to point out how lame it was that he has to wait for your upload to finish before his download can begin. :)
(Reply) (Thread)
From: invasion1
2003-12-11 05:29 am (UTC)
You know what would be the coolest? If you could someone use AIM to transfer the file directly to him.

(Har har; I'm so witty. I'm sure you need the file on the server for something more than just your friend d/l'ing it.)
(Reply) (Thread)
[User Picture]From: taral
2003-12-11 09:26 am (UTC)
Yes, that's the basic idea behind supermodular design. :)
(Reply) (Thread)