Hacker Newsnew | past | comments | ask | show | jobs | submit | failedartifact's commentslogin

Only because there are too many software engineers, not the fact that AI will replace those jobs. Experienced software engineers are still required for successful businesses.


I had Sonatype Nexus return to me once upon upload of an artifact. I was not impressed.


Other than the humor in it, makes you wonder why they'd pick 418. It does sometimes feel like some errors are missing from the http codes, prompting developers to either create their own, or repurpose some, like 418, where they feel relatively safe that it won't conflict with something.

It never ceases to amaze how http status codes can be misused. My favorite is still the customer who had built a service that would return "200 OK" and then in the response just be the text "500". We had asked if they could return a 500 error, if there was an error in the API, rather than a 200, so they swapped out the 200 in the response, but not the headers. "200 Created" is also up there, in terms of developers with limited understanding or weird framework limitations.


There are definitely missing codes, which is why sometimes the WebDAV status additions get used in purported RESTful APIs—which is semantically wrong, but often carries a lot of helpful meaning. For example, things like 422: Unprocessable Content or 423: Locked are really helpful to convey meaning, but not available in plain HTTP.


> 422: Unprocessable Content

I honestly would have thought 400 Bad Request would cover that? Might be too generic though. Is "422" "ok, I admit it's formatted correctly, but I can't process it for some higher-level reason than syntax"?

(Just reading through 4xx codes, and I think I need to use 410 Gone a lot more often. Does anyone know if search engines treat 404 and 410 differently?)


The issue I have with 400 Bad Request is that it's very broad. The request might actually be fine, but the data posted is not. Now you could argue that it doesn't matter why the request is bad, formatting, protocol or data, 400 for everything. It just feels a lot like throwing a generic Exception and attempting to convey the details in the message body.


From personal experience search engines don’t honor 404 or 410. I switched much of my personal site to returning 410 over a decade ago and Googlebot still returns on a routine basis re-requesting a document that hasn’t been on the site since 2012.


Well... a thorough "meh" to Google. Thanks for the info though, one less thing for me to care about.


Out of paranoia I just checked and yeah, GoogleBot actual (and not the dozens of fakes) requested each 410'd URL at least once a month, some URLs get multiple requests per month. All have been marked 410 since 2014 or earlier.


Google has FoMO...


The webmaster tools used to say Google will punish your rank if the crawler gets too many 404 or 410...


> Is "422" "ok, I admit it's formatted correctly, but I can't process it for some higher-level reason than syntax"?

That is my understanding. Something to say that the request is understood as an HTTP request (therefore not 400) but the server doesn't know what to do with it, usually in the context of a POST, or it's otherwise invalid for processing.


410 could be useful if you want to make sure that the client does not confuse a “real” 404 with a gateway issue.


i think you may mean “never _ceases_ to amaze”, as in it never stops amazing </pedant>


Fixed, thank you :-)


Odd coming from such a Serious Enterprise™ Solution®


I would recommend reaching out to the Wellcome Trust, London. https://wellcome.org/


They're going for a style, just because SJ declined, should not mean they cannot pursue something similar. The fact they went to SJ in the first place means they had good intentions of getting a well founded voice.

Likely a voice professional can detect clear differences, as it's not convincing to be SJ from an outsider.


Isn't it the case that her own family was convinced?


"My closest friends and news outlets" doesn't include family. Also, depending on how you ask, it's pretty easy to get any response. I wouldn't rely on that information.


Reminds me of 2 button toilets: an unlabelled big button and a smaller button..

Is the big one the more convenient button to push, therefore for number 1's. Or Is the big one for a big flush, therefore for number 2's?


Press both together to take a screenshot


Good morning laugh here. Thanks.


This one always comes to mind when I see some fancy toilet designs at various venues. Which one do I press? Normally in UI a bigger button usually means a more used feature. I can't imagine the average person doing number 2 more than number 1. Most toilets around here have the same size button but an icon with a big circle representing a big flush and small circle for small flush. The buttons being the same size makes the icons have more "meaning".

I have just gotten used to that is not always the case and they actually went for small button = small flush. It makes sense physical-wise but UI-wise not so much.


So glad I'm not the only one. My house has four different two button toilets and I can't for the life of me figure out which does what. My wife says smaller button is for less water, but on one toilet the small button is tiny and integrated into the bigger button which makes me think it can only be there for when you need a power flush and you press the whole thing. I have no idea.


How long have you been living in the house? This seems like it wouldn't be too difficult to figure out through casual experimentation.


That takes the fun out of it! No in reality there doesn’t even seem to be a material difference in the amount of water used by each button. But I think in the spirit of this thread, why isn’t the interface obvious. At my last house it was a two lever flush where the “eco” flush was a green tab. Much more obvious.


The toilets in our house have two large buttons that are the same size - even after repairing the mechanisms a few times (which is a bit like keyhole surgery as everything is built into the wall) I still have no idea if they do different things.


Oh man me too. First i recall dual flush in Australia in the 80s when I was a kid and it was a push down for full, pull up for half - labeled in English - now I have no idea! Now, I always resort to just push both buttons to be sure.


The buttons on mine are the same size, one has a picture of 1 water droplet on it and the other has 2 droplets.


I grew up with those! I always called them small flush or big flush.


I've always assumed that pushing the smaller button means a smaller flush, but... with many of the ones I've used, pressing the small button also pushes down the big button, and I frankly have no idea what that indicates.


Yes! This is the root of the confusion. Certain dual button flushes have the small button to combine with the larger one to make the complete flush but on others the small button does the small flush.

At what point does the small button cross over from meaning big flush to small flush!? I swear on most toilets where small means small you need steady hands of a surgeon to hit it!


It’s physically more work to waste more water.


Nit: The use of asci diagrams cause formatting problems when viewing on mobile.


But you could not tell which helm was being referred to on the HN news link title, a (Synth) or (Kubernetes) would do. OP has a good point.


If you came into the comments section to discuss Kubernetes Helm before opening the link and understanding what it was referring to, then that's on you not the project.


To be fair, it's been pointed out to me that quite a few projects which I wasn't aware of are named Helm. But this does further reinforce my point.


Definitely thinking about adding back the Perfect Face feature, which got canned, now it's recompiled!

I can't wait for other improvements too!


Musk was sharing some comments on twitter, praising its sarcasm. But isn't this type of trickery what AI protections should guard against?


This couldnt come at a better time! Debugging is very painful, because the manual i have of the CPU instruction set is full of errors!


Are you using the "Gameboy CPU manual"? If so, don't :) there's a better reference at https://github.com/gbdev/gb-opcodes (renders to this page: https://gbdev.io/gb-opcodes/optables).


> https://gbdev.io/gb-opcodes/optables

FWIW, it's very unfortunate that the tables are laid out according to hex rather than octal, since (much like x86) the sm83 instruction set is designed around octal 2+3+3-bit bytes, and using hex significantly obfuscates the underlying structure. (It also makes the table much wider than it needs to be, which would a acceptable tradeoff if it actually corresponded with the instruction set structure, but here just adds insult to injury.)

Edit: Went digging, and almost immediately found (a hidden-by-CSS-nonsense link to) https://gbdev.io/gb-opcodes//optables/octal, which uses the more sensible layout. Still kind of disappointing that's not the default, though. (Also CSS, but at this point I'm past disappointed and into "well, what were you expecting?".)


I was! Thank you for this.

I wanted to use a manual or reference diagrams ti write the cide from to challenge myself, instead of looking at others people's sources.

Im sure this will help me! I had began witting unit tests to test my logic, but the logic was all off anyways..


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

Search: