Live data from Hacker News

You can't download this image

youcantdownloadthisimage.online

161–170 of 241 posts

Re: You can't download this image

#161

The problem with leaving connections open is that there's a limit on how many you can have on the server... I think the author has committed self-DoS :) https://en.wikipedia.org/wiki/Slowloris_(computer_security)

Yep. Although with the right language, even on cheap hardware, that limit might be 1,000 or so.

1000… pft.. just holding open a connection and sending on average a few bytes a second hardly costs anything and the memory requirements on eg Linux are minimal. You can easily do 100k or more with python and a few hundred megs of memory. Millions are doable with something a little less memory hungry or throwing more memory at it.

Re: You can't download this image

#162
post #28

When you usually try to download an image, your browser opens a connection to the server and sends a GET request asking for the image. I'm not a web designer, but that seems rather ass-backwards. I'm already looking at the image, therefore the image is already residing either in my cache or in my RAM. Why it is downloaded a second time instead of just being copied onto my drive?

> When you usually try to download an image, your browser opens a connection to the server and sends a GET request asking for the image.

I can't vouch for chromium-*, but my Firefox does NOT do that. I've just tested it.

Re: You can't download this image

#163

Earlier quoted context omitted.

Yep. Although with the right language, even on cheap hardware, that limit might be 1,000 or so.

1000… pft.. just holding open a connection and sending on average a few bytes a second hardly costs anything and the memory requirements on eg Linux are minimal. You can easily do 100k or more with python and a few hundred megs of memory. Millions are doable with something a little less memory hungry or throwing more memory at it.

Most programmers these days don't know what computers are capable of.

Re: You can't download this image

#164

The problem with leaving connections open is that there's a limit on how many you can have on the server... I think the author has committed self-DoS :) https://en.wikipedia.org/wiki/Slowloris_(computer_security)

It would be possible to really close the connection but hack something to don't inform the client. (maybe just doing close() with SO_LINGER=0 and dropping outgoing RST in iptables would be enough)

Re: You can't download this image

#165

Earlier quoted context omitted.

1000… pft.. just holding open a connection and sending on average a few bytes a second hardly costs anything and the memory requirements on eg Linux are minimal. You can easily do 100k or more with python and a few hundred megs of memory. Millions are doable with something a little less memory hungry or throwing more memory at it.

Most programmers these days don't know what computers are capable of.

if you aren't using 14 layers of abstraction you clearly aren't a real programmer /s

Re: You can't download this image

#167
Aside from all the folks who can download the image one way or another, I'm pretty disappointed that the technique here is simply using a web-server that doesn't work like clients expect. People have broken links or incorrect redirects all the time, but we don't generally make a fuss over them.

Re: You can't download this image

#169
An interesting workaround for Android 12 users: go to the app switcher and there will be a badge over the image which you can click to get "copy", "share" and "save" buttons. Save it from that panel and it works just fine.
Post reply on HN