Izkata
It comes from ap_send_error_response(), near the bottom starting at https://github.com/apache/httpd/blob/b2dc966be4178ded1499d5d...
Scrolling up from there a bit you can see some of the handling for ErrorDocument, which is configurable ( https://httpd.apache.org/docs/current/custom-error.html ) but also loses the original response body.
ap_send_error_response() is only called from the last line of ap_die_r() ( https://github.com/apache/httpd/blob/b2dc966be4178ded1499d5d... ), as the fallback for errors when none of the other conditions pass. There's some other handling for redirects and custom ErrorDocument, but again, if it reaches those it's using the contents of "custom_response" instead of the original response body.
ap_die_r() is called unconditionally for completed requests ( https://github.com/apache/httpd/blob/b2dc966be4178ded1499d5d... ), which is why api_die_r() starts with an early return for an OK or DONE response. Its wrapper ap_die() is also used in plenty of other locations as a general error handler.
It's been a while so I had to go through it again, the code isn't exactly what I'm half remembering, but I do remember the "assbackwards" lines in ap_send_error_response() ( https://github.com/apache/httpd/blob/b2dc966be4178ded1499d5d... and https://github.com/apache/httpd/blob/b2dc966be4178ded1499d5d... ). If the particular check I think I remember did exist (explicit status codes in an "if", similar to your earlier link), it was probably in the even older version we were using. The early return I'm pretty sure wasn't there (blame puts it at 12 years old), so all responses would have gone through more of the error handling code back then.
Edit: Replacing "trunk" branch with most recent commit so line numbers continue to work in the future
I'm pretty sure it was all 5xx but can't remember for certain. This was back in 2019, with a much older project, and I'm pretty sure that part of the code was the same as of 2019.
> Because tilde expansion only happens at the beginning of the word.
Nope, works fine:
$ PATH=/bin/
$ export PATH="$PATH":~/.local/bin
$ echo $PATH
/bin/:/home/izkata/.local/bin
I guess it's being smart about the ":" since this doesn't work: $ PATH=/bin/
$ export PATH="$PATH":foo/~/.local/bin
$ echo $PATH
/bin/:foo/~/.local/bin
And even just putting the ":" inside the quotes and "~" outside doesn't work: $ PATH=/bin/
$ export PATH="$PATH:"~/.local/bin
$ echo $PATH
/bin/:~/.local/binNerds are also not necessarily all about technology. "Math nerd" was a really common use of the term for a long time, for example. "Nerd" is someone with deep knowledge about a particular subject.
I found out due to a live bug that Apache strips out the response body for 5xx HTTP codes for security, and it's not configurable, so you can't use any of those if you want to return the error message to the user. Don't know what else might do the same, so nowadays I only use HTTP error codes for protocol-level issues, and application-level issues all go into a 200 OK with JSON just like that.
This might be the next thing the robot vacuums all start working on. One has already released a first version: https://www.youtube.com/watch?v=GykaEgNkkVQ
5:15 in Chicago, so 4:15, but also the sky starts lightening up 30 minutes earlier so it would effectively be more like 3:45 instead of 4:45.
As far as I know React hasn't had any such breaking changes. Those were all added on top without removing anything. Class components without hooks still work fine, for example.
Amazon is already able to do deliveries for some packages by drone in some cities. This seems perfect for it.
Unless this happened a second time, it wasn't really reported on much until after it blew up on social media.
That's the Big 5 meaning, which has some scientific backing. The other one that basically just means social/shy comes from Myers-Briggs, which while popular isn't based on anything and is pretty much just pseudoscience.
Here in Illinois it was over a year, possibly two in some places. The schools didn't return to in-person right away after the government mandates were lifted.
Edit:
> But mostly, I think it's the phones that are having the biggest impact on social development and probably on learning too.
Please re-read the comment from the other person you originally replied to.
(2nd edit: removed something based on a misread)
So they got at least some of what a lot of kids missed out on: socialization.
With homeschooling, parents go out of their way to find other kids for theirs to socialize with, but during lockdowns this wasn't allowed (if the parents even had any idea about it, since it was forced on them and not something they chose to do).
My comment on there is about a surge in popularity of these over a decade ago, with a link to a previous comment about problems I remember them having that prevented them from being usable for most people ( https://news.ycombinator.com/item?id=47956979 ), because of their intended design rather than an implementation issue. For example bullet 3 was a problem in one, that another tried to solve with bullet 2.
I don't have time right now to look at this one to guess if these apply, but might be interesting/useful for someone else.
"If you really hate someone, teach them to recognize bad kerning."