Return of Pyoorcam: The revenge of the mutant starfish

Comments Off on Return of Pyoorcam: The revenge of the mutant starfish

So, it’s back. It’s back and crapper than ever before.

Yes, now with reduced image quality (can’t be arsed to set up my nice Intel ProShare camera) the webcam is back: pyoor.deed.webcam. So…

If anyone can tell me how, in Javascript, to get the size of a file (ideally without fetching the bastard thing first) and store that size in a variable; that’d be a real help. Otherwise I may have to just leave it the way it is.

Which’d be a shame, ‘cos I’d like to bring back my idents into service.

If anyone’s feeling *really* enthusisatic what I want to write is a script which:
Stores the size of the last image: If it hasn’t changed when it goes to refresh the image then instead of sending the webcam image refreshes with random file from the locally stored idents.

The only thing I honestly don’t know how to do; and don’t even know if it’s possible is to read the size of the last image off the server. I’m presuming this could be done with a http request; but I don’t know enough about javascript; and my 20 minutes of fiddling (when I should’ve been working) haven’t lead me to a solution.

KateWE

Kate's a human mostly built out of spite and overcoming transphobia-racism-and-other-bullshit. Although increasingly right-wing bigots would say otherwise. So she's either a human or a lizard in disguise sent to destroy all of humanity. Either way, it's all good.