For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | dirkt's commentsregister

If you run nginx anyway, why not serve static files from nginx? No need for temporary files, no extra disk space.

The authorization can probably be done somehow in nginx as well.


Even if your authorization is so sophisticated that nginx cannot do it, a common pattern I’ve seen is to support a special HTTP response header for the reverse proxy to read directly from disk after your custom authorization code completes. This trick dates back to at least 2010. The nginx version of this seemed to be called X-Accel-Redirect from a quick search.

Yeah it's a bit odd to use a Haskell server to serve a static file which nginx then needs to buffer. You'd do much much better just serving the file out of nginx. You could authenticate requests using the very simple auth_request module:

https://nginx.org/en/docs/http/ngx_http_auth_request_module....



They offered a bug bounty, so people think "let me just use ChatGPT to make money for myself".

But from I hear it affects other projects too. It affected curl more because with the bug bounty they actually need to invest work and look at those.

[1] https://daniel.haxx.se/blog/2024/01/02/the-i-in-llm-stands-f...

[2] https://daniel.haxx.se/blog/2025/07/14/death-by-a-thousand-s...


Eliza's granddaughter.


Isn't "you can waste energy and heat up our planet and make live for everybody else harder just to make money for a few" enough?


I still find it very curious that after Russia invaded Ukraine, now Trump is using rhetoric that makes it look like the US is ready to invade some other country, too, they just have not decided on the victim yet.

And of course "start a war with another country" is an excellent example of how to control your country in case you have to, because, say, elections are coming up and you may loose.


Trump seems to have been following Russian advice throughout his political career. It started in 1987:

> Moscow at the invitation of Soviet ambassador Yuri Dubinin, in a private jet accompanied by “two Russian colonels”

and then after he ran full page ads attacking NATO. Not much has changed there really.

I'm surprised that all he has to do is say "russia russia hoax" and then the voters forget about it. I think maybe people have some similar failure modes to LLMs.


I am old enough to have lived in Germany when they were not coin operated, and most carts were returned at that time as well.

Though occasionally you saw a cart far far away from a supermarket, where someone had basically stolen it, either teenagers to have fun, or someone asocial who, I don't know, used to carry all the shopping home? I don't really know what they did with it.

And it was the cost of replacing those stolen carts that drove the adaption of the coin operation system. Not that people just left them in the parking lot. Some supermarkets also tried a system where the cart locked if you moved it out of range of some radio in the supermarket, but that one really didn't take off.

(Also, quite a few people in Germany just do shopping by walking or biking to the supermarket).


> I am old enough to have lived in Germany when they were not coin operated

And now they are again. Some new REWE carts already come without this feature.


I actually migrated from Homebrew to Macports after ending up in dependency hell in Homebrew with Postgresql + Postgis, and not being able to fix this properly even with my own brew recipes.

So for now that works a lot better in Macports. The portfile stuff needed some digging to understand, but that's doable.

Not sure what made you move from Macports to Homebrew. (Should I worry?)


> Most of the world is powered by Unix

Well, Unix came into being on a DEC PDP-11, and C is basically high-level PDP-11 assembly...

And MS-DOS was influenced by CP/M which was influenced by DEC operating systems (like OS/8 for the PDP-8).


You can play Empire on cyber1 [1], an emulated PLATO system.

[1] https://www.cyber1.org


Thanks!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You