Live data from Hacker News

My contribution to XKCD’s #949

joachim-breitner.de

21–30 of 56 posts

Re: My contribution to XKCD’s #949

#21

Didn't Dropbox's share links more or less solve this problem? Maybe not for 100% of the population, but I've managed to walk my mom through the process, and isn't that generally the success metric for things like this?

I recently had to sign up with Dropbox just to download a file somebody was sharing with me. The way UbuntuOne (and maybe other providers) just give you a link anybody can use is much better imho.

I'm pretty sure they did it wrong then. You can share a link to any file inside of your dropbox, and anyone can download it regardless of whether they have an account.

Re: My contribution to XKCD’s #949

#23
As far as quick 'n dirty solutions go, if you're not overly concerned with security, you can always use "python -m SimpleHTTPServer" to serve all the files on the current directory over HTTP.

I also recall that KDE had a panel applet that pretty much did the same thing on the 3.x days (not sure it's been ported to 4.x)

Re: My contribution to XKCD’s #949

#25
post #21

Earlier quoted context omitted.

I recently had to sign up with Dropbox just to download a file somebody was sharing with me. The way UbuntuOne (and maybe other providers) just give you a link anybody can use is much better imho.

I'm pretty sure they did it wrong then. You can share a link to any file inside of your dropbox, and anyone can download it regardless of whether they have an account.

1) Right click "Share Dropbox link"

2) New incognito window

3) Paste, enter

4) Download, no sign-up required

Re: My contribution to XKCD’s #949

#26

As far as quick 'n dirty solutions go, if you're not overly concerned with security, you can always use "python -m SimpleHTTPServer" to serve all the files on the current directory over HTTP. I also recall that KDE had a panel applet that pretty much did the same thing on the 3.x days (not sure it's been ported to 4.x)

Do not forget that this solution is inherently mono-threaded and does not benefits from a proper concurrency model like node.js for example (which is also mono-threaded by "design" but provide non blocking IO).

So for big files with multiple downloaders, it can be sometimes not as good as you want it to be.

Re: My contribution to XKCD’s #949

#27
A neat solution indeed, but for anyone capable enough to setup what you've concocted, why not just scp the files on a lowendbox.com VPS. You also benefit from an intermediary with a decent up and down connection for the person you're sending to.

Re: My contribution to XKCD’s #949

#28
post #5

"You can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem." https://news.ycombinator.com/item?id=9224 :)

It's a really geeky approach. The 949 problem concerns a lot of persons who does not even know what a server is.

Re: My contribution to XKCD’s #949

#29
post #26

As far as quick 'n dirty solutions go, if you're not overly concerned with security, you can always use "python -m SimpleHTTPServer" to serve all the files on the current directory over HTTP. I also recall that KDE had a panel applet that pretty much did the same thing on the 3.x days (not sure it's been ported to 4.x)

Do not forget that this solution is inherently mono-threaded and does not benefits from a proper concurrency model like node.js for example (which is also mono-threaded by "design" but provide non blocking IO). So for big files with multiple downloaders, it can be sometimes not as good as you want it to be.

But at that point you're hosting a file server, not just sending a 25mb file to a friend. Out of scope.

Re: My contribution to XKCD’s #949

#30
post #7

You can always uses a p2p data transfer with WebRTC. All you need is a browser.

WebRTC is actually a C++ library [0]. One could implement a "share-file" command-line tool, which uses this library to share files. Other would have to use another tool for "recv-shared-file", which probably takes a hex-id and spawns a local web server or some other gui.

[0] http://www.webrtc.org/reference/architecture

Post reply on HN