Hacker News new | past | comments | ask | show | jobs | submit login
RFC for 7xx HTTP status (github.com/joho)
43 points by brunoluiz on July 20, 2018 | hide | past | favorite | 11 comments



I think it should be reserved for ad blocker detected, together with a browser setting that pops up a message that the server is not allowing people with ad blockers.

Then we could just easily ignore those sites who serve ads as a requirement, and they could go die in a fire.


I mean I get it, but I also don't get it.


I fail to see the humour in this, how are those HTTP responses? When would a server respond to a request with "Haskell"? Makes no sense to me, while " I'm a teapot" made perfect sense


733 (D)ucking Deadlocks - I support 1000%


Look at 759 ! That's actually a real error message.

https://en.wikipedia.org/wiki/Scope_resolution_operator#PHP

What were the PHP guys smoking to consider this a usable error message?


I know you'd happily bash PHP author for such an incomprehensible error message, but it's not his own message, but something that comes from Yacc/Bison, when the next parsed token is not what can legally follow whatever the parser read up until now. It's just the tokens (or maybe just this one; I haven't read the grammar) were not named in currently canonical English.


It is, notably, just that one. If everything were in Hebrew, I would personally be perfectly happy to adjust. But being the only non-English token makes it a completely unnecessary source of cognitive load in a language that is already criticized for its standard library’s frequently inconsistent use of grammar.


It wasnt formulated nicely, I grant you that. PHP bashing is easy even if the language caused big upsides for a lot of people.

But a developer is responsible for the consequences of his choices. If you name your tokens in Hebrew with consequences for error messages, you know you're gonna raise some eyebrows and cause pain for your colleagues.

The simple fact that the message is in this list proves that I am not alone with this opinion.


To be honest, I have many places that should return 724.


Dammit I thought this was serious.


not worth the bits it's on




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: