skysight-inc/HackerNews huggingface dataset:
Wow, I had never seen an API with errors at this level of detail… I feel lucky when they at least use sane status codes instead of always giving back 200 and a maybe-json-maybe-plaintext-maybe-empty body…

I’d love to hear from anyone who has encountered APIs in the wild that actually implement this standard!
A good resource, some others I consult with

https://cloud.google.com/apis/design

https://opensource.zalando.com/restful-api-guidelines/
I think that GameFAQs needs to be mentioned. The walkthroughs there used ASCII in creative ways to represent tables, maps, headers, title art[1], etc.

[1]: https://www.rockpapershotgun.com/remember-how-great-ascii-ar...
Should have just made tiers and buckets per mile or time. At least for the ride share side.

I have been using Uber_and UE daily for the last few months. My 40 min ride is not the same as my one mile food delivery.

One is a car, the other is a moped. The uber eats side will come out far better off in terms of fee generation.

Also, I do not see this going away. In fact I see the opposite happening.
If there was a whitelist toggle in the funnel clearly labeled "No, I installed an adblocker to block ads, not to be shown the ads your protection racket is paid to deliver" then it would be all cool.
Do hadoop file system fit your idea?
But why “weighted” instead of “heavy” or something that doesn’t mean “changed”?

Oh wait, is it because the tax is “weighted” based on the weight of the vehicle?
> How would you do it differently?

Imagine somebody responded to that message with “Sure, what’s up?” Now imagine what you would write in response to that. Then just send that along with the original message.

So instead of:

> Hey Bob, this is Alice, I work on the QA team in Dublin. I'm looking at an issue I think you might be able to help me with http://jira.yourcorp.org/browse/ORDERS-1234. Would you have a minute to discuss this?

…you might write something like this:

> Hey Bob, this is Alice, I work on the QA team in Dublin. I'm looking at an issue I think you might be able to help me with http://jira.yourcorp.org/browse/ORDERS-1234. I’m following the steps, but I can’t reproduce the problem. I see it’s a couple of weeks old, is it possible this is fixed already? Can you still reproduce this?

In fact, normally a question like this is a sign something is wrong elsewhere anyway. Why isn’t the discussion about the issue taking place in the issue tracker? If anybody else has to pick this up, they will be missing all the info from the discussion that took place elsewhere.
I think you should continue reading the whole article before commenting, just a gentle suggestion.
This seems like an impossibility though.

Take land for instance. There's a finite amount of land on earth. If 8 billion today own all of the land there is on earth, and in 2060 there's now 13 billion people, how are these 5 billion new people going to own land (when all of it is already owned by the other 8 billion)? For the 5 billion new born people to acquire land, means some previous owners must lose ownership of some of their land. Put it another way, if we divided land equally amongst all human beings, with every birth, the amount of land per person will decrease, which means the sheer birth of humans makes us poorer when it comes to the amount of land we each individually own.

Heck you can apply this to most anything. Take iron. If all the iron on earth has been mined and been used to construct steel buildings and cars, and I want to make a new car made of steel, then I would have to dismantle an existing car or building in order to acquire the material to do so. Only reason this doesn't happen today, is because there's still more iron that we can mine out of the ground; I'm not yet forced to "mine" it out of my neighbor's car.
By that same token the internet was invented by the first person to hand gesture to another one. You can’t dilute DNS down to a directory because there were/and are already other directory protocols.
"No fly zone" doesn't have a side effect of escalation, its entire substance is nothing but escalation. I think people have some rose tinted view of no fly zones as some objective neutral declaration, but that's basically an artifact of how they have been used to market what was essentially heavy US involvement in other wars. Instead of saying "no fly zone", saying "US jets should attack Russian jets" makes for a more honest description.

The real humanitarian/strategic answer would be to create a UN-sanctioned peacekeeping zone in the western part of the country, backed up by US/NATO forces. This mirrors the WWII style where as soon as Russia invaded the eastern half of Ukraine, NATO would have invaded the west, but paying respect to our modern notion of borders. That NATO has not done this is likely surprising to Putin, since he's basically operating from the old mindset of fighting a WWII style war complete with an appalling contempt for human life.
I use Uber and UE a lot, and my partner’s done some UE work. In my experience, Uber’s decisions which kinda seem like incompetence end up looking more like highly calculated manipulations.
I get that Shackleton is an icon of persistence, but counterpoint, his voyages and business ventures mostly ended in failure, and at one point while stranded in the ice he shot the ship's cat which he thought was a 'weakling'. I get he survived harsh conditions, but I'm not sure he's a role model to look up to.
I don't really understand the point being made, and I get the feeling the author thinks the point is profound enough to not need stating. But to me, it isn't clear at all, and I have no idea what comparison is being drawn between measuring temperature and making sprints 2 weeks long.
Thanks for the info. I'll look into Landlock.

I'm totally fine changing the way I write my applications to make them more secure. I just don't feel like the APIs are there.

Personally I think capability-based security models is the best idea I've seen so far. Set up the file descriptors and network sockets your program needs at startup, then drop any other privileges. The problem is file descriptors don't cover things like directory trees AFAIK.

If performance isn't critical, what are your thoughts on using QEMU to wrap an application for security purposes? That might even work on Windows.
Remind me, which country intervened in WW2 with the express purpose of stopping the extermination of Jews and Slavs?
Windows settings use react native
Escaping American tribalism: Only personal bravery can end polarisation
Welcome to the future, where DJs are kneecapped by the cloud libraries they have access to.

To be fair, though, this isn't even nearly as troubling as Beatport et al pushing cloud DJ music subscriptions. There is a whole new generation of "talent" whose literal stage performances are 100% reliant on a good internet connection -- I imagine anyone who has gigged professionally would be horrified!

To me one of the most important attributes of a DJ is their ability to curate and find music that I have never heard before from sources that are new to me. Essential to this is the care and feeding of your own personal music library, in CD/Vinyl/MP3/FLAC/some other unencumbered format. Curating spotify playlists just isn't the same, and serendipitously stumbling on a new track in some random playlist is not nearly as emotionally relevant as discovering some gem on a $2 secondhand whitelabel, or the CD bargain bin at the thrift store, for example. To say nothing of all the unimaginative troglodytes that are simply going to hit up the genre top 10 and add all that to their crates and think they're ready to go.

I shudder to think about what the future of the electronic music underground means with all these cloud zombies running around. These kids know there's no cell service out in the middle of the desert right???
We’re using event sourcing so the “projection” (db snapshot) have 2 different tables for v1 and v2. Think users_v1, users_v2.

Obviously there will be always challenges with eventually consistency but that is another topic altogether.
Anthrax Weaponization
It's interesting how the simulated view makes errors in the terrain data obvious. The view from Santa Cruz island (off the coast of California) is almost completely obscured by single-pointed errors in the height map along the coast that didn't get cleaned from the data: https://caltopo.com/view#ll=34.0505,-119.8665&e=30&t=n&z=3&c...
Right, but not forced since OP literally said "Funny, living in cities that prioritize other modes of transport (biking, buses, trains, etc) has drastically improved my quality of life"
Still, your cloud vendor can see the requests.

But someone can see it, but you can rotate upstream resolvers to split requests if you have to.
I think perfectionism is rooted in a fear of rejection and ultimately a lack of confidence.

Exposure therapy can help.

So, practice intentionally shipping something with a missing feature, or intentionally getting rejected. Doing both of these things mindfully, noticing how uncomfortable it makes you feel.
Social startups like to optimize on this quote from Godfather.
"Just when I thought I was out, they pull me back in!"
In many parts of the country the people have voted in a government that doesn't let you starve even if you have children.
I’ve never been accused of hipsterism and the excerpt really hits home for me. Probably for a lot of contrarian nerds, always doing things the hard way because doubt is a signalless virtue and I dunno, that other road already has people on it.

OTOH your summary was hilarious if a bit cynical, and I already like Brodsky so who knows.
Reactive Resume A free and open source resume builder
agent orange anyone?

why didn't anyone penalize the US for dropping hiroshima bombs, or for agent orange in vietnam or nuclear tactical weapons in afghanistan

https://www.strategic-culture.org/news/2012/04/09/usa-have-u...
We recorded plenty of movies off TV in the 90s and had 2 VCRs. But the few times we tried making a copy of a rental VHS tape resulted in an unusable copy due to MacroVision. Point being I don’t think copying rental tapes by the end customer was a huge problem for the movie studios, unless I just got unlucky and MacroVision wasn’t as pervasive as I thought.

Someone else mentioned independent video stores copying tapes to rent and that I find more likely to have been a concern.
Has Russia eaten its last Big Mac?
How is the latency for such a setup? And how is the general browsing experience with said latency (I realize it also depends on which sites you frequently access)? I see some cloud providers/CDNs using a caching TTL as low as five minutes.
Have a default value for v1. Don't maintain two DBs just for this.
Magic Leap 2 Hands-On: AR Glasses That Can Dim the Real World
Sure, we'll check it out!
Amusingly, SwiftUI seems much better suited to this use case than any other lower level language, while Elm and Clojure are much more obvious contenders. In any case, the space is crowded with DSLs and the expression-based DSLs are the ones that generally keep gaining traction.
ByteBoi – Build and code your own retro game console
Magic Leap lives on! Now targeting businesses and defense.
Leveraging the global brain. Love it.

I can imagine a day where we can do this in our heads and we become a loose super organism.

But I digress, massively!
"licensed music" smh.

you go and either pay for physical discs or pirate the shit out of it because this whole "protecting interests of rights holders" is getting out of hand.
Do you guys use plural or singular terms in your API endpoints or both?

/books
/books/:id
/book
/book/:id

It gets harder to keep consistent when there are a lot of nouns that have the same singular/plural form like "clothing"
You would hope that the Russians, more than anyone, would realize how much resistance a city under siege can put up given that their most lauded military accomplishment is being on the opposite end of that equation in Stalingrad.
Or even languages that use the Latin alphabet, but with various accent marks, such as German, French, Spanish, etc.
Is that really possible with dengue? The vaccine exists now, but it might actually make you more sick.

I live in a country where dengue is a horrible threat, so that would be amazing.
When I see an abbreviation, I assume it means something. Do you think that when one sees a word, assuming it has the usual meaning is 'assuming' something? Only in the most extreme sense could that be true. If I assume you know French, yes, that is an 'assumption' because -- I have no knowledge if you know French or not, so for me to say "You seem to know French" would be an assumption.

When I say "MHz" I 'assume' it is an abbreviation. Because, it does not parse as a 'word'. Therefore, the next question is: WHICH abbreviation is it? Does it have a Capital M at the beginning? If it does, then that usually means "Mega" in Scientific/Engineering circles. Does it have an 'm' in the beginning, such as ml? then 'm' means 'milli-' like it usually does with Scientific/Engineering units. When I see 'mhz' --- well, first little 'm' means milli, h -- oh, I see, it's Hz but not properly capitalized, ok, so it's milli-hertz. oh, what, no, I have to know that ARM (supposedly) cannot operate at the milli-hertz range, so now -- with all that context --- I can now make an educated guess what 'mhz' means.

Really?

Are you suggesting I should not ever assume an abbreviation means what it usually means? And I must adopt your way, which is fully context-dependent (and not even accurate in that case)?

I do feel as if you may be a 'word lawyer' and so, I will stop trying to communicate, since this is going to be painful for me. Good day.
> the oceans have been decimated with countless species extinct and many more on their way there due to overfishing

The Tragedy of the Commons. Note that cows and chickens are not endangered species, despite our vast consumption of them.
It's very sad to see current state of HN. Such an wonderful article about how the author and his team is solving real time data processing of petabytes of data per day but this post has only 45 comments but posts about russia or what other companies are doing things that have no technical merits has more than two hundred comments.Also the comments here have devolved into wether the decision to do real time data processing of 'unrelated data' is justified or not instead of having thoughtful discussion on the design choices the author made. The decisions are coming from management to which most engineers have no hands on. But it's engineers responsibly to solve the problem to keep every stake holders happy. Engineers can leave if they disagree but some other engineers will take initiative to solve the problem.

When I started job life luckily i found HN. That time it was a small community of hackers who were focused on solving interesting problems and doing discussion on various approaches on how to solve interesting problems. I have learnt many things from those discussions and implemented some of them in the projects i was doing. HN that time was one of the reason of what I am today. I am forever grateful for that. But now new wannabe hackers who are browsing the site are learning mud throwing instead of gathering knowledge. I am very sad to see the current state of HN which helped me tremendously in my job life.
A Neural Programming Language for the Reservoir Computer
I've been looking for something like this for weeks. Seems fantastic. How do I get that invite?
Right. That in my mind falls under the “whatever it takes to keep it registered”. But I have never seen a determined builder go “oh yeah that won’t Pass inspection; I guess I won’t do it.” That just doesn’t happen.
It was a very glib comment on the federal reserve, and the various takes on that institution.
Where did I say anyone was forcing me? I'm talking about the fact that most cities don't have car-less areas for pedestrians and bicyclists only, and that initiatives like the closure of JFK drive in SF to drivers being met with fierce resistance. Things like refusing to make protected bike lanes, refusing to build out adequate public transit, all in favor of... More highway lanes. More parking.

But sure, don't engage with the argument at hand, I guess.
I use Problem Details in most APIs I build. It’s as simple to generate a Problem Detail as it is to generate ad-hoc errors, but you can re-use code.
Fairly common issue. My (same year) 335 pops for knock sensor a couple times a year. Turn the car off, tap the sensors on the side of the block with a screwdriver a few times, clear the code and you're good to go.

It's a running joke on BMW forums, if someone throws that code most responses ask if they were driving fast and hit a pothole since that's a pretty consistent trigger.
Both

/books
/book/:id
Try Amazon music :)
Voice of America, RadioFarda, RadioSvoboda and RadioFreeAsia all are by law prohibited to publish their "news" to US public because these disinfo operations are aimed to foreign audiences
Thanks. This is a fair point. I made up the example only to illustrate the idea. Since Stripe is considered some sort of benchmark here I was curious to see how they tackle all the learnings they will have over time...I feel it is very hard to think through all the future cases especially when you are just about starting out with your product.

For example, in financial services and insurance, regs change and what data we need to collect change and sometimes their dependency will change. I am curious what's companies that have grown substantially had to do to their APIs.
Yea think it was because of the 276hp limit.
My teenage obsession with cars is what really got my interest in engineering going, and has had many knock-on advantages for me.
The point may be valid but the overly strong wording is hilariously wrong in hindsight.
Yep. Can start by not making people drive to offices to sit on computers...
IIRC, from the previously discussed article since trees aren't native to that environment, the microbes etc. that would normally exist in more moderate climates and would feed on the ship aren't present. So being submerged has actually helped preserve it.
I don’t think this is a good faith answer. .037% of the USA pop is roughly 100,000 people.
> Pagination is the devil. The state of the server can change while the user is paginating, leading to fragile clients. Don't paginate your API.

The problem is not pagination, and the solution is not to avoid pagination. The problem is offset-based pagination, and the solution is to use cursor-based pagination.

> If you think you have a need to paginate, have one API call return a list of IDs, and have a separate API call return a list of resources for a given list of IDs, where the second API call accepts some maximum number of IDs as a query parameter.

This has the same problem as you described above. The state of the server can change between fetching the list of IDs and operating on them.
I think they are saying, that though Lines Of Code turned out to be a poor metric of programmer productivity, there are other metrics not yet invented (but being worked on?) that may be valid.
Anything that relies on system libraries. This works fine for most Go apps, but can have unexpected results if you don't compile the app correctly to use Go networking and what not.
It's used at least as the foundation of the LSP protocol. So basically, it's deployed daily in millions of editors.
Super cold water preserves them better. Less creatures nibbling for one.
Adam Smith himself, the 'Inventor of Capitalism', was the guy to point out that a flat tax would be inefficient and result probably in one guy owning all the stuff.

Also, the issue is just as much 'how the taxes are used' then anything else.
The stories of the moral crusaders is so funny... at some point Rob Halford (Judas Priest vocals) was asked to sing in court because some crazy people argued that his discs had subliminal messages telling their fans to kill themselves.

And nowadays we've got stuff like Children of Bodom (RIP Alexi) and others that are pretty in your face.

Monsters from the past would have a stroke if they listened to these bands.

Btw: A thread about metal in HN? I Love it \m/
Pagination by offset can be bad. Pagination by cursor which is specifically designed for your list of resources is perfectly reasonable. Use stable pagination queries, not ?*
Chrome, Safari, Firefox, Edge, and Opera are all third-party clients for the HATEOAS-based API known as the World-Wide Web.
NYPA is unfortunately not green where it counts - their anti-nuclear stance in lockstep with Cuomo has led to NY needing to build three new natural gas power plants to compensate for losses from shuttering nuclear.

https://www.eia.gov/todayinenergy/detail.php?id=47776

https://www.nytimes.com/2021/04/12/nyregion/indian-point-pow...

https://www.reuters.com/article/us-utilities-nypa-energy-ind...

NYPA hasn't been very cheap in recent years either - 45% more expensive than the national average with rates ranging around 18-20 cents/kwh.

https://www.nyserda.ny.gov/Researchers-and-Policymakers/Ener...
Not to be flippant, but it's fascinating to think how an average airline passenger may trivially (and very approximately!) match or even beat such a land-based record simply by looking out the window at 40,000ft. *about twice Kilimanjaro's elevation, for the record.

Many semantics potentially apply, of course! But the principle is there. The principle that, for many decades now, humans have been matching the entire planet's largest natural viewshed, as a trivial matter of course during the everyday usage of technology, and barely even noticing most of the time...
Honestly, at the risk of committing No True Scotsman, I feel like the flow demonstrated in this blog post just.. isn't SSO to begin with, actually. It may be using SSO infrastructure, but if you have to login twice, use 2fa twice, to log in to one thing, then it's Two Sign On or something.

So while I don't think the thrust of the post is wrong in general, it's an odd example.

> GitHub's justification is that contributions on enterprise projects should be visible on personal accounts.

Really the thing that sucks here is something that hasn't really been well solved and is only tangentially related to SSO: Multiple linked identities under one or more logical accounts. No site does this well, and SSO is an insufficient tool to help - the entire mechanism of identity on the web is working against it.
The Lucid Air is a time machine – Jason Cammisa
Yeah.

You're the one calling this service - which has attracted a sizeable number of perfectly mainstream conservative writers - 'the perfect honeypot.'

We definitely do have different ordinaries.
I still enjoy this read
Certainly consider macOS using rounded corners, heavy drop shadowing, font smoothing, and animation.