skysight-inc/HackerNews huggingface dataset:
> Why do I get a 404 here?

> [...]

> As an API consumer, all I want to do here is raise my middle finger.

Why? As an API consumer this makes sense to me. The author doesn't go into any detail on why it presumably doesn't make sense to them, nor what problems it presents from a client implementation standpoint?

> RFC 7230 defines HTTP as an Application Layer protocol, which means it should represent application logic, right?

No. What? No. Why on earth would it mean that. It's a protocol at the application layer - it has nothing to say or do w.r.t. the internal implementation details of that application. Why on earth would it?

None of this article makes any sense whatsoever. The author is making some wild assumptions that seem entirely unique to themselves - I've certainly never seen anyone else face these logical challenges.

> In any API call, there are 2 problems to solve as a client when you are processing the response:

> 1: Did the technical request succeed?

> 2: Did the business/domain request succeed?

Where in your client code are you trying to solve these problems? Is it in the same place? If so, you've over-generalised / over-DRY-ed your error handling.

If you've approached writing your client in a sane manner, you have business/domain context at the request site - you can tell the granularity of your request validity by the code location where you're handling the response.

As a developer of client code, 4xx means "I did something wrong". It's not the server's responsibility to know how I've implemented URL-building and whether or not I'm using dynamic version strings. Take the author's example:

/api/v1/employees/100 -vs- /api/v11/employees/1

Here's 2 ways I could build that URL (pseudocode):

base = '/api/v1'
section = '/employees'
url = '$base/$section/$id'

v = '1'
url = '/api/v$v/employees/$id'

The author's assuming something like the 2nd way, and supposing the API should be aware your client code could have supplied an invalid value for $v. But what if it's the 1st and you've supplied an invalid value for $base? Expecting knowledge of your client implementation on the side of the API implementers is nonsense.

---

As for the solutions proposed, there's two problems:

Problem 1 (harmless enough): The error context provided in the 200 response body will only be specifically useful for the author's example client implementation - many different clients will consume your API and their implementations will differ. For some of them, the context will be of less/no use (coupled with added developer confusion from the unexpected statuscode).

Problem 2 (harmful): This kind of context is going to enable OSINT user & metadata enumeration in a very large number of API applications, so recommending this as general advice is actively dangerous.
CDC finds toxic weedkiller in 87 percent of children tested
You could guess how Unity will end up after John Riccitiello became it's CEO. After all Electronic Arts was one of most hated anti-consumer companies ever.
> many orders of magnitude cheaper than anything else out there

How does this work? Are other providers earning many orders of magnitude in profit, or are filecoin's storage costs being subsidized somehow?
Found the wiki article more useful in describing what Similarity Learning and Metric Learning are: https://en.wikipedia.org/wiki/Similarity_learning
The problem with these kind of charts is the implicit message that history is the future. America have been on the dominant financial and militaristic force in the world for the last century and its equities have reflected that strength.

Would it continue to be the same for the next century? Who knows! Ray Dalio and the Maxis think otherwise. Good work OP though!
React Context HMR still has problem. Due to this problem, I think nextjs still the better choice for react dev. Maybe vite supports too many frameworks, do not have enough time to handle the react problems.

[1]: https://github.com/vitejs/vite/issues/3301
James Tiptree Jr was female. But yes, most of my list is male. Would you like to propose more female writers?

Edit: if you haven't read anything from Alice Sheldon (a.k.a. James Tiptree Junior, a.k.a. Raccoona Sheldon) I wholeheartedly recommend you chase down anything of hers and read it. It is not an accident that she is first in my list because she is, for me, one of the absolute best SF authors of all time. Same for Cordwainer Smith. It is distressing to see their names having faded into obscurity, with modern readers.
Ipbes: Global Assessment Report on Biodiversity and Ecosystem Services
One can be impressed by the effort and ingenuity (I am) and still question the premise. Business cards have a purpose — to provide info about a person/company. This implementation defeats that purpose.

Plugging in any USB data device is prohibited by most infosec policies. Even if it wasn’t, it’s generally not a good idea. Not everyone has an isolated second computer.

I would argue the business card isn’t the card itself but the blog post detailing how it was made.

Edit: author agrees.
GPU Puzzles
I encountered this type of architecture in one of our company's internal services. At first I thought the developers just didn't know about other status codes, but now I read this and I can see there is some rationality behind it.

My take is that this kind of architecture might be fine for personal applications, but once you start working with other people this can get infuriating very fast (I know I was). Others already mentioned why this would be a bad idea (caching, etc.), but for me the most important thing is that it's not conventional. I don't know of any open source web framework that handles http statuses this way out of the box. If someone does please comment so I can have a look.
Yes, it's something like that. I imagine the cost is proportional to the size and complexity of the particular setup? The company quoted $20k just to install it, which is why my acquaintance is volunteering to do it.
> when my systems are sending out a ton of 422s or 400s that's a useful signal to me that something is going on

Why not ping the monitoring when you encounter the business error?

From that perspective, a stream of HTTP errors could indicate a more specific kind of infrastructure failure vs just clients sending garbage.

Happy to admit I'm wrong though, it's why I posted it here, see what others think
It's been a while since I needed to do any serious reverse engineering work, but I do remember IDA pro having support for a range of obscure CPUs, not sure how ghidra compares on that front these days.
I think that's a reasonable idea and I may try including that option in the future. Right now, the start point is quite arbitrary: it's the first date where we have data for all the symbols requested. And date ranges dramatically affect any sort of relative performance comparison. So in the current code I decided to just normalize to today's nominal-dollar value so that the end values are relatable.

What would the ideal UX be on this?
It just hit me. The web produces bad UI. I saw a demo of Alan Kay showing a smalltalk environment from the 70s. Wow, we haven't even caught up to that yet.
> That’s just it though, the resource does exist. The resource is the API to retrieve a result.

That is not true if the API is RESTful - in that case, the API is the resource. An item with the requested URL either exists or doesn't. If it doesn't, then return 404 and (if possible) give some more information.
> As far as they could tell, Microsoft owned CP/M

CP/M prints a Digital Research copyright when you boot it up; this seems hard to believe. Is there corroboration?
Sir Mo Farah reveals he was trafficked to the UK as a child
I do exactly this. I have WireGuard running on my pihole server. All my devices are set to connect automatically when off my home network.
I liked this explanation. Although to attach to it - in this example the price of the book is set by magic/intuition to illustrate the effect. In the real world, the prices are set by less flexible forces of supply, demand and people estimating valuation - usually in a way that means the price has to fall in some relatively narrow band. But after the dust settles on those inflexible forces, it ends up looking the same as this example.
Yes, many countries. But not all.

Which suggests that persistently high inflation is caused by the same thing it's always caused: (local) money printing.

Not some abstract worries about excessive (?) debt or 'fraudsters' etc or so.
> Do you know particularly few Israeli companies compared to lets say South African or Polish companies?

"Startup nation" has been a well-known nickname for Israel for some time. On a per-capita basis, Israel excels at both the number of startups created and the amount of capital that they attract.

"A striking conclusion is that on a per capita basis, capital flows into Israel were a whopping 28 times more than those in the U.S." — https://www.inc.com/peter-cohan/why-israel-drew-28-times-mor...
The DynamoDB Paper
Recent noahpinion episode about this very topic:

https://noahpinion.substack.com/p/where-does-the-wealth-go-w...
That's a succinct definition, happy to admit that's a better argument than mine
Give me a language like Rust that allows me to define an efficient concurrent garbage collector as a library.
Not in Europe it isn't...

In the USA, food poisoning rates are far higher than Europe, and part of that is probably the biosludge...
I realise this is an overly-broad question, but any insight into what's the state-of-art in Similarity Learning for article-type text?

More specifically, I'm interested in deriving distances between writing style, arguing style, etc.
Not OP, but I believe the answer is "on nothing". There is no way to know where it will go. It's just supposition and very specific numbers like this make me cringe hard.
Druid Architecture and Concepts
I don't know if they _rely_ on it, but recent NBA 2K games apparently have interstitial ads, even though it's a full-price 60USD game with yearly releases already.

Absolutely disgusting, I already doubt the value of yearly releases, as you basically pay for an updated roster, but this is just overreach.
Wired is the worst. It's literally impossible to cancel online, and they still keep spamming me with "renewal notices" snail mail even after my subscription ended.
what if my data is on my hardware as well as on the cloud hardware?

whose data is it anyways?
Nice explanation of exploiting OAuth flows (“dirty-dancing”)
The book is an asset in this example. CPI isn't relevant, because trading the book does not affect it.
In this current context, it's the claims that are innocent (valid), until they are proven guilty (fraudulent).
No. If you want to "learn from it", you should do whatever you want that works for you. You're not our dad.
The next generation part is the speed. IIRC the core functionality is built in Go and it's much, much faster than competitors.
For me it boils down to this:

If you ask for an employee that doesn't exist, is it a failure? Or is it just a negative, but expected response?

Perhaps that's a stupid question though.
It's often overlooked that users get happiness from privacy, and the mere risk of a breach (however small) makes risk-averse people unhappy, even if a breach never eventuates.

Law enforcement might catch some more bad guys with 11 extra ring videos, but now every ring user has to worry about local police sharing/laughing/perving at their home videos - is it worth it?

It might have been well intentioned, but Amazon's decision seems dubious.
Quoting from a relevant wikipedia entry[1] to hopefully pre-emptively reduce some confusion:

'''

In parliamentary procedure, the verb to table has the opposite meaning in the United States to the rest of the world:

- In the United States, to "table" usually means to postpone or suspend consideration of a pending motion.

- In the rest of the English-speaking world, to "table" means to begin consideration (or reconsideration) of a proposal.

'''

[1] - https://en.wikipedia.org/wiki/Table_(parliamentary_procedure...
I agree with the author. HTTP is used as a transport protocol for your API, not the API itself. It's one layer lower. You don't expect to have to look at what TCP flags you got as part of the API, nor should you care about what HTTP errors you get as part of your API

HTTP transports content, and the content is your API. HTTP should not be part of your API
Is there a language where everything is observable? Like RxJS all the way down. Can that exist?
> This right comes from the company, DRDOS, Inc.'s purchase of Digital Research, the company and all assets, dating back to the mid-1990’s

What the Wikipedia says, if you piece it together is that Bryan Sparks founded Caldera in the mid 1990's, which bought Digital Research. Around the time Caldera went defunct in 2002, Sparks started DeviceLogics which got renamed to DRDOS Inc. So that must have inherited the Caldera assets, including the Digital Research stuff.
Concurrent DOS (CDOS) did not develop in to FlexOS.

That confusion comes from the original naming it had, CDOS 286.

FlexOS was a new development mainly in C, vs the assembly based Concurrent DOS. This is all obvious from reading the programmer APIs and header files for FlexOS.
I did as you suggested. I was not sorry. Thank you!
I think the best way to use REST is to not be cultish about it which just results in more discussions and unread RFCs on your org wiki. I always endup with erring on the side of more documentation
> this error then overlaps with server path routing issues, DNS problems, and general network issues.

No webserver will ever return a 404 for any of those cases.
The only thing that I didn't like about working with Vite was polyfilling node. Maybe this is helpful to someone: https://github.com/barbinbrad/comma-webapps/blob/main/apps/c...
microsoft could afford it though
The "reactive calculator" language the author wants is just Julia running in a Pluto notebook: https://github.com/fonsp/Pluto.jl
REST is not HTTP! I didn't mention REST for a reason :)

But that's a good point about the transport layer.
If you’re a public API, please don’t do this.

I’ve personally integrated with almost 50 different SaaS APIs in the last 2 years.

The worst ones to work with were the ones returning errors in 200.

I don’t want to parse and write switch statements for your strings to understand whether it’s authentication, authorization, not found or any other error.

Now I have logic tied to strings you return and I can’t wait until someone decides to change the error messages they return. People rarely assume there’s an API contract in error messages.
Outrage over 'populism' in 2016.
According to that explanation, the index value of a dollar should still go up when the price of all assets goes down.
> You could expose it to the internet but that's a horrible idea.

Been there, done that. It was a mistake. Not sure which attacks my public PiHole was part of, but I surely was part of some.

It's a shame, I'd really like to offer this as a service to friends, because I think they would be able to change the DNS settings of their routers and enjoy a safer surfing experience.

I don't want to get started with distributing key pairs to connect to a VPN and whatnot. PiHole really has a sweet spot there with its ease-of-use but it fails in regards of security/protection against becoming part of DNS-based attacks.
Given that Unity and ironSource stock prices have both dropped fairly substantially I wonder how that factors in to the deal going through at this time.

Does that make this a better deal for one vs the other?

It says ironSource share will trade for ~10% of a Unity share. Given that Unity is at around ~$33 a share and ironSource is ~$3 a share was the attempt to just combine forces for the benefit of both parties?

Sorry if this is coming off as a dumb question, trying to understand how this works to the benefit of disadvantage of them both.
The difference now is we made it easier for people to break everyone’s windows at scale and take what they want from another country with unfriendly extradition rules.

Oops.
Usually, people (who I think pay services like bitly) can use minimized urls with some readable text, not random letters, this is to make the url more readable and visible.

Anyway, for here in Singapore, what I'm talking about generally are government websites, which in SG are plentiful and well used. Things like where to find ART kits or information on GST vouchers or things like that. This is information many people are likely to access via a website, and especially trust given it's a gov website. The government often already have nifty, readable urls already for these links, like gowhere.gov.sg/art and so don't need QR codes.
What even is "data"? If you mean "my data is the way in which I interact with a website. It is personal to me and is my property.", then surely you must also say "my mannerisms when I talk to you are personal to me, and you may not remember them without my consent".
This is a bit weird to me.

Your article is entitled "I've been abusing HTTP status codes" ... but... you're not "abusing" them, you're "not using" them for your APIs. (Or, said another way, you're leaving them to their normal usage for HTTP servers.)

Thus -- as REST is /the/ canonical "hijack HTTP status codes to mean something clever" paradigm -- your article is /entirely/ in context of REST even if you avoided mentioning it.

...

Anyway - I'm entirely with you on the foolishness of using 404 to mean both "your URL is messed up" and "I couldn't find the resource you wanted".
Y'all have given me a lot to chew on.

I would like to point out a few of the detractors are conflating REST and HTTP RPC, I avoided using the term REST for a reason :)

BUT, that being said, lots of good arguments against this stance. I appreciate the feedback :)
A Safer Internet. RethinkDNS
delete WebAssembly

uBlock can inject this to every webpage you visit. The distinction is you can disable WebAssembly and >99.99% of the web will run like nothing happened.
These myths can be useful flags for quickly debunking an article/book. A sign that it is not worth reading the rest.
You can run the k8s test on your own, or compete with others. DO share your score/quiz here. Have fun
I’ve had similar backend projects where I setup a reverse-proxy to a backend, along with the frontend dev server, to allow the full site and api to run in the browser from local host.

It’s not the most graceful setup, but it works if your backend build isn’t as flexible as you need.
> WYSIWYG GUI design tools like old school Visual Basic (terrible language, but UI the designer is still unequaled)

It was equalled and surpassed only a few years later, by Borland Delphi.
I was seriously looking into Apple News+ a few months ago, but it turns out you have to use the app (from what I remember), which of course requires an Apple device.

I only have an iPhone, and like to read news on my computer or tablet which doesn't run iOS. So that's a no-go for me :/
There are already alternative engines in wide use (particularly on ultralights and light-sport aircraft) that can run on regular, unleaded gasoline, like the Rotax 912[0]. The issue, as others have pointed out, is getting these newer engines certified for use on existing, older planes. This would require extensive testing to get a Supplemental Type Certificate (“STC”) to allow the engine to be installed on a certified aircraft (think anything manufactured, like a Cessna 172 or Piper Cub.)

0 - https://en.wikipedia.org/wiki/Rotax_912
Mathematically your vote on the national level has about as much chance of "doing something" as buying a lottery ticket does; but the first is widely deemed to be "super important" and the latter "super stupid".

Voting says more about you than it ever has or will about the candidates.

Once that realization sinks in, everything changes.
How do Google and Facebook etc manage it then?
So, this is something some apps actually do, just noting, where they scan the payer's QR code, not the vendor. Also, not sure why you are being downvoted.
People keep bringing up Godot but there's no way around the fact that it feels like some guy's homebrew engine through and through, especially once you try to use the native C++ side. But you don't really need to get that far to realize how janky it is. You can't even delete assets that may or may not be used in scenes without running into errors and warnings that may be benign but eat away at your trust that things will still work fine later down the line.

The GUI tools are atrocious compared to Unity's and they fail at the most important thing: make sure that when you play the game the GUI looks exactly the same as in the designer. There's also some weird jank with the GUI, where you have to reload the scene to see some changes being applied (like, imagine setting some property in, say, a winform, and having to close and reopen the winform's editor to see it actually having an effect, wtf) but I don't think it's limited to the GUI, I forgot what those were exactly. But there's no indication that you need to reload the scene, you google the problem and the answer is "reload the scene".

There's a loooooooong way to go for Godot to reach Unity's level. They'd have to essentially become the next Blender, which I use as the benchmark for open source community driven projects.

Godot == Unity at home.

The best thing about it is that you have access to the source for free, so you can fix bugs yourself. "We may run into issues three years down the line with the project but at least we can fix them ourselves". How attractive this sounds to you depends, I assume serious developers who want to build large games for profit, will choose either Unity or Unreal because they're expected to work better overall.
Ah, the Cato institute, a "think tank" which in this case has the usual meaning:
an opaquely funded right-wing and big business lobby group.

https://rationalwiki.org/wiki/Cato_Institute
I think yes, because people hate magic ? Change it to Simple link might work.
Let's say I did not put a focus on speed–and there will be a performance overhead ontop of the actual checks. In a production system, you should probably consider to deactivate it in performance-critical parts (evaluate=False)
I don't live in MN but there are also adult baseball leagues here but teams tend to consist of former minor league players, college, or high school baseball players who couldn't or didn't want to make a career out of playing baseball.

I've played adult slow pitch softball at the C, D, & E levels. A-C levels are essentially former (usually older) minor leaguers. Even D league is quite competitive if you haven't played organized baseball or softball at some point.

EDIT: Showing up, which is how I got to play in a C league, is usually enough but it can get personally demoralizing if you're in the wrong league for your level.
if you guys enjoy recipe repos, Hendricius maintains an entire tome of knowledge on sourdough and bread baking!

https://github.com/hendricius
But we do have content to send. Namely, that the server knows that the resource the client requested doesn't exist.
I'm already looking forward to it!
Unity games run horribly on desktop.... how they think its legit a good mobile engine is beyond me

Like, Valheim runs like ass, all things considered. Battletech takes up like 50gb for a game without more than a couple of cutscenes and a camera that sits in the sky, and takes forever to load. Graveyard Keeper -- a PIXEL ART 2d game -- is for some reason made in Unity, and it takes way too long to load a couple of megabytes worth of textures
Human nature is not infinitely malleable. A video of a woman sucking a dick becoming public will always be humiliating to almost everyone.
Does anyone there actually care about that… based on the history behind the company (well documented by other commentators on this story here) I can’t imagine management give a flying fuck about anything or anyone, except the money.