skysight-inc/HackerNews huggingface dataset:
Active use is really irrelevant if you only plan on using it inside a company, because you can implement a client and server within 30 mins to an hour, no external tools needed. The spec is clear and readable. It's excellent. We use it with a TypeScript codebase and just share the interfaces for the services in a monorepo. The spec is so simple it doesn't really need an update.

If you want a more advanced implementation with type inference for Typescript you can use this: https://github.com/shekohex/jsonrpc-ts

I'd still recommend implementing your own, my own implementation is based off the one above.

The only caveat compared to GRPC is you lose out on field validation due to it not being protobuf/and the obvious json decode overhead

Edit: if you want to know some current users of it, I believe the Ethereum protocol uses it heavily
Has it? Social media already bent its rules for 4 years to avoid banning the US president
Americans just don't understand if you say a 55 mph speed limit enables society.

https://en.wikipedia.org/wiki/National_Maximum_Speed_Law

"From April to June 1982, speed was monitored on New
York's Interstate highways, and an 83% noncompliance rate
was found despite extreme penalties"

There was a legendary coast-to-coast race in the 70s, defying the national 55 mph limit:

"Dan Gurney, winner of the 1967 24 hours of Le Mans...won
the second Cannonball in a Sunoco blue Ferrari 365 GTB/4
Daytona. Gurney said, "At no time did we exceed 175 mph"

https://en.wikipedia.org/wiki/Cannonball_Baker_Sea-To-Shinin...

While the races ended due to police crackdowns, people still do the coast to coast run individually and set records:

https://en.wikipedia.org/wiki/Cannonball_Run_challenge

"In May 2020, Arne Toman, Doug Tabbutt, and spotter
Dunadel Daryoush set the new cannonball record of 25
hours and 39 minutes during the COVID-19 pandemic in a
modified 2016 Audi S6 disguised to look like a Ford
Taurus police interceptor. Police-evasion modifications
included brake light kill-switches, radar detectors,
laser diffusers, CB-radio, and a roof-mounted thermal
camera. Performance modifications included a trunk-
mounted 67-gallon auxiliary fuel cell..."

https://en.wikipedia.org/wiki/The_Cannonball_Run

A comedy where:

"JJ McClure, a famous racing driver and team owner
(Reynolds), and Victor Prinzi, his chief mechanic and
sometime co-driver (DeLuise), drive a Dodge Tradesman
ambulance fitted with a NASCAR engine (Hal Needham and
Brock Yates used the same vehicle in the actual 1979
race)."

https://en.wikipedia.org/wiki/I_Can%27t_Drive_55

"...it took two and a half hours to drive there from
Albany. And I was driving from Albany, New York at 2:00
in the morning, burnt from all the travel. Cop stopped me
for doing 62 on a four lane road when there was no one
else in sight. Then the guy gave me a ticket. I was doing
62. And he said, 'We give tickets around here for over-
60.' and I said, 'I can't drive 55.' I grabbed a paper
and a pen..."

Really, (and I just learned this) it says it all that there was a punk album titled as a reaction to "I can't drive 55" called "Double Nickels on the Dime". In Soviet America, the rebels drive 55!

https://en.wikipedia.org/wiki/Double_Nickels_on_the_Dime
Telegram fixed it one or two weeks ago, problably because of the war.
This is the right answer, and will not be appreciated by this crowd.
You replied to the wrong thread.
Plenty of cultures are myopic: I know some folks who lived in Korea for a while who would complain about web sites that only allowed four characters. Most family names are 1-2 Hangul characters:

* https://en.wikipedia.org/wiki/List_of_Korean_surnames

And most given names are 1-2 Hangul characters:

* https://en.wikipedia.org/wiki/List_of_Korean_given_names

Why would ever need more? /s

My pet peeve is sites not accepting e-mail addresses with sub-addressing, i.e., the "tag" in foo+tag@example.com.
Hey HN, Solder_Man here. I am the guy behind Pockit. Thrilled to see this modularization effort has the support (and useful criticism) of so many deep thinkers in this thread.

First, a clarification: Since people have brought up the topic of "hard to believe one guy handled all aspects", I want to state that while this is my concept and my project (and I've devoted nearly every waking hour since 2020 to it), I'm no jack of all trades.

In the last two years, for example, I've gotten occasional but much-needed help (and knowledge) from two freelancing developers for some aspects that I don't have expertise with, including Linux intricacies, DMA-based firmware programming, UI design details, and some other subtleties. A more experienced PCB designer (colleague from past) has also helped me, particularly with the recent 6-layer PCB layouts. Plus, an assistant in the past has aided with the soldering of some tightly packed boards.

Last but not least, my SO has contributed graphics + Adobe Premiere effort for my videos; her equally important contribution was being a frequent listener, and sometimes a much-needed boundary, to my evolving thoughts through this project's journey.

As the project evolves to its next phase, I do hope to get more people into primary development of this modular ecosystem, in the form of both team members and eventually custom Block designers from the community, once I organize and release the necessary files + documentation for everyone to work with.

I'm perhaps late to the party, but I'll try to answer as many questions as I can on this thread now, including hopefully the ones posted several hours ago!
Ukraine doesn't seem century defining?

It's following the Iraqi example. Big countries can do what they want to small countries without pushback. The Iraq war is century defining
If anyone else is curious, like I was, about what the signal bus is like on the pins, and couldn't find much detail on the website, the person behind this explained a bit on the reddit AMA someone linked: https://old.reddit.com/r/linux/comments/ta85ql/my_small_modu...

So it seems like it's kind of like low-pin-count ISA-ish bus with direct pin connections to the cpu's pins. Presumably that limits how big a board you can have to the number of gpio pins you've got, or you'd have to build some kind of multiplexing like oldschool irq/port sharing...

I'm really curious if it would be possible to do this as, essentially, single lane PCIe blocks instead. I think it would be harder from a hobby-project perspective (and also probably complexify the blocks), but PCIe is kind of built around flexible topologies so you could build it around a pcie root complex/switch instead of just directly exposing pins to the devices ISA-style.
At $1500, I think I'd prefer to buy the new 5K monitor that Apple just announced for that same price.
I don't think I've ever come across any third party actually implementing HATEOAS (https://en.wikipedia.org/wiki/HATEOAS)
"train a biological algorithm" is actually a pretty good description of what humans are doing (vs calling it intelligence).
I completely disagree.

I find envelopes to be unnecessary cruft that just junk up otherwise clear code. And I think packing metadata into an envelope along with the actual data keeps people from thinking clearly about their own APIs, mostly with respect to ambiguity surrounding the word “error”. Validation errors are errors and network failures are errors, but they’re very different animals and should never be conflated.

I don’t want to check for a status code in metadata ever, when an HTTP status is provided. I don’t want to read a time stamp if that time stamp is simply a property of the request. However if the time stamp is a property of the data, then I care - but then it shouldn’t be part of the metadata.
EU Commission demands Google takedown RT and Sputnik from search results
What do you think he's been trying to do since the war started? Play footsie?
Huh? This is so far out in left field I have to ask.

Did you reply to the wrong post? What are you talking about?
I agree, and I hunt. I get good meat and at a low cost. The animal lives a good life, free to do as it pleases, gets a chance to reproduce, and gets a chance to escape/avoid. If I do succeed it's over very quickly. No stressful trip to a slaughter house, no CAFO, etc. It can also help avoid over population of specific species and associated issues like car accidents (although in many cases it's an imprudent driver).

I would love to have higher quality, better treated meat than what's normally available in the grocery store. In some cases it's possible to get it at a local farm. Pork is tough to find that way. Chicken can be tough to find at a good price. Beef is actually pretty common and a fairly decent price. Although as a side note, they still have to endure the trip to the slaughter house to be USDA inspected.
If the Ukrainians are allowed to protest, then Russia is fighting this while trying to minimize overt civilian casualties (most likely to avoid video of such acts becoming galvanizing propaganda tools against them). If things go poorly, then what? If Russia then starts fighting to destroy rather than conquer Ukraine intact, then it's a whole different story. This piece reads of wishful thinking.
Oh hmm, that raises a good point. I guess the types I provided in my comment are actually for `then` as `map`, not as `bind`, oops.

Both of these exist:

`Promise<T1>.then(T1 => Promise<T2>): Promise<T2> // equivalent to bind`

`Promise<T1>.then(T1 => T2): Promise<T2> // equivalent to map`
It might be to formal for your use-case, but there is a standard defined for error responses in RFC 7807:

https://datatracker.ietf.org/doc/html/rfc7807
The US, being the hegemon, sets the standard on whats acceptable for interactions between countries
Way too much hopeful rationalization
US-ASCII predates the internet, UNIX, WWW and almost anything else you currently use. While seminal, it was certainly not prescient. Now it is little more than a fun artifact to play around with: https://every.sdf.org/
I concede that personal vehicles aren't the bigger problem, and I agree that something should be done about shipping, cruise lines, cement, glass, coal power, etc., before we worry about the small fries. The situation is kind of ridiculous, as by now everyone knows what the problem is, and yet there is no control over our own interests to survive, and our elected government intervenes to allow a bunch of people that need jobs to work and a few to get rich off of something that is literally killing nearly everything slowly but no longer slowly enough.
Not really. Artillery needs to be constantly resupplied. UA has been pretty great at disrupting those lines, and there are pretty good indicators that the Russian military is simply not logistically prepared to execute on such a long term operation.
Is there a go-to library for this thing? So many apps mess this up.
Generally internal APIs are developed alongside one or two apps. They don't need a pure, resource-oriented, API that perfectly represents the domain models but ignores how the API is used in practice.

A good example is the tip on PUT vs PATCH to update objects. That seems to be missing the point. Why are you forcing the clients to calculate the correct resource fields to PATCH to the server? This is supposed to be an API, not a database. Just expose methods that correspond to the actions that the users will perform.

Sure, HTTP only has 5 verbs, but that doesn't mean your API should solely consist of five possible interactions on a resource.
The alternative is a Raspberry Pi with a USB webcam and sensors you can buy on AliExpress for a few dollars a piece. You can get your hands on that now.
The actual difference is that China is a repressive, authoritarian nation and the US is more-or-less a free country.

It's not like YouTube is obligated to be neutral - the invasion of Ukraine is horrifying and YouTube is well within their rights to think so and take action by deplatforming Russian state media. It's unlikely that they were even _asked_ to do this by the United States; given that YouTube actually gives a shit about free expression and democracy it makes sense that they'd ban RT on their own. That goes double now that Russia is banning western media left and right as Putin cracks down on dissent.

The "big difference in mindset" is that Russia is actually doing something awful.
Indiscriminate bombardment of cities does very little to achieve any military objectives, especially when a substantial part of the country 'under siege' is actually entirely untouched by enemy troops. In purely military terms, doing that would be almost the same as just having all that artillery sit around and do nothing while the Ukrainians execute major counter-offenses.
xmake also support clib, https://xmake.io/#/package/remote_package?id=add-clib-depend...
The middle eastern coworkers decided it by following Islam. Islam is not an abstract theory, it is a very detailed book. It would be good to read it. Among other things, it explicitly demands to accept the whole of it to be a true Muslim. No cherry picking what fits our spiritual needs.
> When you get a custom vehicle you don’t really give a shit about regulations or reasons for them.

Well sometimes there is a small exception. If you live in California then you swap the stock parts back on to the car to pass the emissions test. (Note: Not because the tailpipe emissions are higher in any way, but because the state bans aftermarket parts).
1. This was done every single day and night of the war.

2. Rubble still makes for surprisingly good cover in urban combat.
It's the horrible thought we don't want to think but it's a possibility.

Question for military analysts: what is the counter to siege / artillery barrage?

Guesses:

1. dig deep bunkers to survive the weeks/months of artillery,

2. organise ambushes on the artillery (taking out a few pieces per day will add up over months), or

3. use flying forces (e.g. Bayraktar TB2).

Would these counters work; are they likely to occur?

Another idea is taking out the transports that resupply artillery ammo, but if they're coming from the North that probably won't work, since it's close and well protected.
Do me a favor. Click on this link [0] or this [1].

They all work fine if you are in the US. Do you see the difference with China's action being discussed?

[0] - https://www.rt.com/
[1] - https://www.ntv.ru/
My pet hypothesis is that information is the wave, and particles are just particles. For example, the information about an entangled pair propagates at (or above) the speed of light the instant that they are created. Therefore, the shared state would already be determined at the place of measurement.

Also, wouldn't a full hard drive weight less than an empty one (unless "empty" means initialized to all zeroes)?
The project has taken so much focus that I haven't had the time nor skill to heavily improve the website's CSS/aesthetics. Or if you mean just the content, any suggestions for what I could consider adding now (besides the existent timeline posts)? I'd love for the site to not feel 'empty'!
i was in the process of writing a snarky reply describing how the next level enterprise approach is to host api/product in microservice A and api/options in microservice B, each with their own internal data store using completely different tech stacks.

but, if you've already suffered through the pain of attempting to implement some kind of best-effort ad-hoc distributed commit logic in your client code, then needing to call two completely different services for api/product and api/options doesn't really make anything _worse_.

on another hand, it doesn't make anything better.
I was thinking specifically about pumping military hardware into Ukraine. Certainly help raise the temperature in the room.
I find it less likely that Russia is trying to minimize civilian casualties, and more likely that their occupying forces just don't have the numbers or cohesion to do anything about the protests without getting picked off piecemeal.
Or mobile browsers just set a viewport width of 960px if no viewport settings are specified. This is a sane assumption since if a viewport width isn't explicitly set the page was probably designed for desktops.
To what effect? So that Ukraine can join Vietnam and Afghanistan and form a "Do Not Do This" triefecta for military history?

If this were the only concern, should we just tacitly support Ukraine until Russia implodes? There are nuclear weapons rattling around in there. Politics is all about managing uncertainties. I should think a calmer, less dictatorial outcome would be everyone's interests.

Or is it? Because Ukraine/Russia, while tragic for those involved, is hors d'oeuvres for the real discussion: Taiwan. Anyone paying much attention these last years knows what's going down as soon as the Ukraine situation is escalated to a full-on regional conflict.

May Fortune lay peace and wisdom upon the heads of all the leaders involved.
Someone clued me in to the magnitude of the problem recently -- a former fire control sergeant in the Israeli army. He told me that a whole flatbed truck can only resupply one or two MLRSes. And apparently logistics is the big weakness of the Russian military, so this is apparently a big problem for them.
> If you are unable to distill the concepts or thoughts into language, then you have likely not fully understood the problem.

This definitely depends on the situation. Whenever we do QA tests, it's much more effective to just take a screenshot or video of the problem rather than wasting time trying to explain it in text.
Actually the idea is brilliant. If you can demonstrate empirically that meat from happy pigs tastes better, now you have the beginnings of a commercial case for raising the pigs ethically, which has the potential to drive far more improvement in livestock well-being than a million Internet virtue signals about animal cruelty.
I am wondering about how your initial response to the Russian invasion of Ukraine was so ambiguous:
https://news.ycombinator.com/threads?id=vogre&next=30589151

And then all of your subsequent comments seem to be extremely consistent with Russian government talking points.

You were initially kind of concerned that the invasion was not justified, but now you believe the Russian government positions whole-heartedly?

It is a very interesting transition of opinion in a short amount of time! What's up?
Prebunking 5 Common Migration Myths
"Why is the West confident that helping Ukraine won't trigger WW III?"

They're not. They're fine providing some resources, but are not willing to take other steps. There's no direct involvement, they're not willing to provide stuff like the Polish MIG-29s, etc. The sanctions could provide a cyber war. I'm slightly surprised it hasn't happened yet, but expect that it likely could happen in the next three months.
I agree we cannot burden poorer people. I think the least-worst way to handle the whole situation is with a carbon-tax and dividend.
maybe a more illustrative example of where this can be messy is where a customer has placed an order for a bundle of products A B and C, and there's no "order bundle" API that can do that operation atomically, instead the client code trying to place the order has to call a bunch of random stateful create-product APIs to attempt to construct each product in the bundle, and deal with the mess if suddenly some bundle items error while others succeed. bonus points if some of the create-product APIs are not idempotent.

"congratulations, we've provisioned the bundle A, C, C, C that you ordered! sorry about B!"
No, the convoy near Kyiv was only recently deployed. The artillery can strike from 18-20 miles away.

https://www.washingtonexaminer.com/news/satellite-images-sho...
Even if millions of civilians flee or die, Putin still has to maintain an expensive occupation force (with its stretched supply lines) while the Ukrainians fight on as an insurgency amidst the rubble of their cities.

The question is, once the war becomes too expensive for Putin, will Ukraine be in a position to take back Crimea and Donbas, and will the EU send peace-keepers to help protect Ukraine's borders like it has in Bosnia:

https://en.wikipedia.org/wiki/Operation_Althea
Yes!

It’s also that keyword clustering really isn’t a thing anymore; it’s odd that this is still being pushed.

Even a good content written by someone with no Experience, Authority and Trustworthiness (EAT) isn’t going to rank.
May be derailing discussion a little, but the nicest scripting language/environment I've ever used is Clojure's babashka[1].

Clojure's data first model + conveniences like the -> and ->> macros make simple data pipeline scripts a joy to write.

babashka of course suffers from the "it isn't everywhere" problem that is mentioned regarding python.

https://github.com/babashka/babashka
This is one of the coolest thing I have seen in a long time.. awesome work
If anything, this has made me doubt that Taiwan's eventual takeover will be via a hot war. The country is smaller, but its military is actually slightly larger than Ukraine's was, and they have better technology than the Ukrainians did. And the Chinese would need to cross 180km of water to get there. And the only point of taking over Taiwan is for what's already there -- the people, the technology. Shelling it would be counterproductive to say the least.

I would imagine some sort of interdiction/economic approach would be much more efficient for China. Or just wait until an amenable political group takes power on the island and reintegrate at that point.
When you hover or click on a hexagon, it would be helpful to have the color it is highlighted in the legend.
"or just conventional battle between US/Europe and Russia/China?"

Almost no way that that doesn't devolve into nuclear weapons being used as defeat for someone nears. Desperate people do desperate and unreasonable things.
Ko-fi and Liberapay are platforms that don't take fees. Buy me a Coffee is a popular choice for one-off donations.
Intelligence – Russia Trying to Jam NATO Plane's Radar
"legitimately needs to be done" - who decides what is "legitimate"?
Counting down to someone pointing at the annoyingly named ARM FJCVTZS instruction. The naming is obviously more about legal problems than reality, but so it goes.

To be very very clear: FJCVTZS does not do anything amazing, clever, or special. The problem it solves is very simple: the behaviour of double->int conversion in JS is the default x86 behaviour. Getting that behaviour on any non-x86 platform is expensive. So a more accurate name would be FXCVTZS. The implementation of FJCVTZS in a CPU is also not expensive, it simply requires passing a specific rounding mode to the FPU for the integer conversion (overriding the default/current global mode), and matching the x86 OOB result.

(Also I really wish people would stop posting to GitHub repos unless the repos have the actual readable spec available or linked, rather than the unbuilt markup version. It just makes reading them annoying.)
India and Pakistan have nukes and shoot at each other and occasionally have KIAs though not technically at war, the rhetoric between the different parties does get violent.
Well the same ownership, Nikkei.
My 30+ year appliance repair guy quit last year because he said everything is planned obsolete and you can't get a good appliance at any price. Pay extra for Speed Queen or whatever if you want, but when it inevitably breaks you're looking for donor parts on eBay as if it were an old Android phone.
For the Russian Empire, it was, the same as if the American states fell apart into smaller groups.

Doubly so since the USSR manipulated borders to be bad like sykes-picot
For #2, better yet, prefer RFC 3339.