News for hackers. Stuff that matters.
Re:Pure javascript resumable file uploads launched at Minus by carlhu on Thursday February 16, 2012 @04:07PM (#3600635)
Note: We got resumeable uploads working for Chrome and Firefox only. Internet Explorer and Safari still fall back to flash and non-resumeable uploads (respectively).

If you use Chrome or Firefox, you can now drop a file onto a page on minus.com, unplug your network, reconnect, and your file resumes uploading where you left off.

I love the web and am excited to see the range of possibilities for pure-browser features expand.

Re:Pure javascript resumable file uploads launched at Minus by alt_ on Thursday February 16, 2012 @04:20PM (#3600686)
Can you provide a little more detail on how it's implemented?

Are you using resumable.js[1] or is it a custom implementation?

[1] https://github.com/23/resumable.js

Re:Pure javascript resumable file uploads launched at Minus by carlhu on Thursday February 16, 2012 @04:34PM (#3600754)
Sure, let me give some further implementation detail.

We were inspired by https://github.com/dmitry-dedukhin/lightweight-uploader, particularly the js implementation from Dmitry.

It turned out, however, that the simple flow control he implemented was not adaptive enough to simultaneously accommodate both low-latency/low bandwidth and high-latency/high-bandwidth connection.

For resumeable uploads to work efficiently for both cases, we implemented TCP/IP-style congestion control (e.g. slow start window size scaling and exponential back-off retry timeout), but over http POST requests instead of UDP packet sends.

Re:Pure javascript resumable file uploads launched at Minus by aladdina on Thursday February 16, 2012 @09:01PM (#3601699)
Amazing! I thought it's a desktop tool only feature. Really nice to see this feature finally available on web. I'm wondering why it's available on Chrome and FireFox only. How about IE9?
Re:Pure javascript resumable file uploads launched at Minus by zethus on Thursday February 16, 2012 @04:18PM (#3600680)
Are you using HTML5 File API with JavaScript? Great to see an image hosting site continue to innovate!
Re:Pure javascript resumable file uploads launched at Minus by carlhu on Thursday February 16, 2012 @04:43PM (#3600792)
We are, indeed, using only the HTML5 File API and javascript for this feature.