skysight-inc/HackerNews huggingface dataset:
The CHIP act makes way more sense to me financially + getting the bill passed given this stuff. Long-term this does just push China into self-sufficiency faster... But near term, US co's profit?

I was mostly curious about the jobs market angle (we are busy in the GPU / AI / data center space) but it was light there..
I was only introduced to it in the past few years, though I would have absolutely been in its target audience.
Fantastic point about listening to one song over and over again. I have typically purchased an album before a trip, and then listened to that throughout the trip, so any song on that album can hopefully bring me back to that trip mentally.

I unintentionally tried your approach on a recent trip to Iceland, and the same song kept coming on. Over a year later, that one song reminds me of so many parts of the entire trip. I'm going to pick just one song per trip from now on - thanks for pointing out that this approach works!
15 ms to anyone in the same city or on the same local network in an office setting.

50 ms to anyone in the same country, ideally lower.

Global reach is a different problem because of physics.

However, front pages of web pages tend to be largely static and can be staged in various geo-distributed regions. In other words, distributed via a CDN..

> even static pages on a CDN end up taking 400ms to connect and download.

Only if you stuff them full of megabytes of Javascript and pull down megabytes of JSON in order to display that static content.

The fact that my comment -- a factual statement about real-world performance I've achieved regularly -- is voted down and your off-by-an-order-of-magnitude reply is voted up speaks volumes about the state of the industry.

It's like a bunch of fat people being flabbergasted about the mere concept of mountain climbing. With what... your legs!? Up there!? Madness!
Indians will read this and not once think of racism

Reminds me of the "voter ID is racist" argument
Having a tiny bit of APL experience, I thought 2 was already 1 line too many, before I saw that one of the lines was essentially just an import statement. ;-)

IMHO the APL-family languages are precisely good at things like this, where there's lots of "array processing" going on; on the other hand, typical branchy business logic or other more "mundane" algorithms tend to be a bit harder to express.
Spotify survey hints at $19.99 ‘Platinum’ plan that would include HiFi streaming
From a security perspective, the client is 100% irrelevant. You might prefer to offer a good UX in the face of authorization failure, but that doesn't affect the security of your app one way or another.

Good APIs look like simple functions; they take certain very structured inputs (path, query params, headers, body) and produce a simple structured output (usually a json blob). They're usually well defined, limited in scope, often idempotent, and easy to write automated tests for.

HTML endpoints are more complex because they generally combine many different functions at once, rely on server side state like sessions, and generate large quantities of unstructured input. They tend to be hard to test exhaustively and it can be hard to reason about all the possible edge cases.
Well, the URL sets expectations appropriately, at least.
Worth noting loud and clear that this project is obviously non-free despite of being disguised as GPLv3.
Vitalik takes Metformin, I wonder what he found in his research on it
https://podclips.com/c/E7Ri4f
TuneIn radio?
A short story about the word “chauffeur”
As someone living in one of those countries, I beg to differ. Cheap maybe, but mobile internet is neither fast nor stable.
Identifying yourself with your beliefs seems like a surefire way to stop you from changing your mind on things you might be wrong about.
I think it's better to identify with something arbitrary and static, like your heritage/nationality/ethnicity/family. Your roots. That way the identity-seeking part of you has a nice, firm rock to hold on to, and you can freely evict ideas and beliefs that aren't effectively predicting your experiences - without destroying your self-identity.

Belief-as-identity strikes me as really pernicious. It's a big problem people have with religions with orthodoxy like Christianity or Islam; these systems sustain themselves in part by training people to tie their sense of self to a particular belief about the nature of god/the universe.

Identifying as an Atheist, or Liberal, or a Conservative, or anything just lets that thing get its hooks into you. I'd like to be able to drop and change my political beliefs if it turns out I'm wrong about which form of economics leads to the greatest amount of human flourishing, for example.
Each individual ideological meme, in contrast, really wants you to build it into your self-identity, to spread its roots so deep that to extricate it would be spiritual suicide. All beliefs 'want' this, and while it's impossible to not be a slave to some meta-meta-meme, you can at least not be a memetic zombie for some object-level one! If a belief stops paying rent in useful predictions, I want it evicted, out on the street!

Loyalty to people, not ideas.
As a Linux gamer this isn't even a question for me since AMD is so much better on Linux. But I'm sure they'll beat Nvidia in raw performance too. They already did that with 6000 vs 3000 series.
Ukraine only has western weapons of significance to play with.

The rules of the [western] game is DO NOT attack russia with our weapons.

Which is a fair requirement. "We give you weapons, but you play by the rules, or else"
It’s not a question about this release, I guess, but are there any plans to support CLAP?
When I originally made my comment, I had left out any mention of docker-compose. But the parent commenter reminded me.

Focker also took a stab at a docker-compose-like implementation.
If I was an expert, I still wouldn't eat them after triple-checking them. I don't think they taste so good that they're worth any risk.

It's not like they're chocolate.
Amazing how the C++ standardizing body makes APIs that are both way too generalized and yet not flexible enough to be highly usable and safe.
I'd eat them the next day after he ate them.
Yes, and at least one of these apps got eviscerated in its "Show HN" post. https://news.ycombinator.com/item?id=14840678
As someone who TAed for a physics class with a lot of premed students, that whole piece really resonates with me.
Even worse for Chinese users who have to browse many US sites with a VPN (e.g. me)
I'm not quoting anybody ("in effect"), and, in particular, wasn't talking about anything you said. I'm talking about the article author (the "you" in my sentence above). Dial it back. You asked me a question, and I answered it. This is in the guidelines: assume good faith.
In the long run, the technological progress is also in fields people didn't predict, or entirely new fields.

A lot of ideas just never pan out, despite considerable investment. Or, they get it to work, but proves to be of niche use. Progress happens elsewhere.
To be honest I don't recall the last time I've ever accidentally picked up a poisonous specimen along with the good ones I was intending to pick. At this point it's such second-nature that telling apart an edible vs. poisonous mushroom is like telling a bottle of milk from a bottle of Drano.
And yet I still examine each one at home before putting it in the pot.

The other thing is that the truly deadly varieties, such as the subject of this article - Amanita phalloides, are really not that hard to avoid. When you're a novice forager, there are plenty of varieties that don't look remotely like Amanita, and are much easier to differentiate.

There are some hardcore foragers who even consume certain varieties of Amanita (some of which are edible!), but to me this would be too much of a hassle, since it would involve spore prints and maybe even microscopy of the spores to be absolutely sure.
No wonder Grimes dumped him.
Understanding the Pareto Principle (The 80/20 Rule)
Is there a way to mute the weird static sound? I turned off the radio, but the static persists. When I turned on walkie-talkie, the static moved to the speaker of the my mic/speaker combo. Turning off walk-talkie just moved the static back to original speaker.
I didn't realize people didn't like GCP. What’s wrong with it? It’s far creamier than AWS in my experience.
I've tried to identify hemlock from photos, without much success in distinguishing them from a carrot.

I'll just stick to distinguishing a '67 from a '68 Mustang.
"Start your project with a Postgres database"

This is the main selling point of Supabase. Indeed, sometimes you don't need SQL. But in most cases you need SQL. Or you make awkward Firestore workarounds that are prone to introduce bugs and will definitely introduce complexity.
Or just stop prohibition, which is probably the most disastrous policy of all time, wildly infringes clear civil liberties unambiguously intended by the framers, and finances cartels so sophisticated that they are effectively narco governments and so deeply intertwined with our enforcement apparatus that we’re effectively paying administrators in those cartels.

There’s one answer that makes any sense. It’s not politically feasible, yet, but there’s just one answer. I know drugs cause damage. Prohibition always, always, always causes way more.
foo() + 1

ESInfer complains about this because you are adding a string with a number, which sometimes will result in an unexpected value in runtime, and you hardly find it out. So ESInfer, on purpose, disallows this kind of type casting automatically.

As for the error message:

> expecting possible candidates all failed: candidate number failed: expecting number but got string. candidate string failed: expecting string but got number. but got number.

It's saying two possible situations: #1 number + number and #2 string + string are all failed, which is precisely the error. However, this may be a lack of readability if someone is the first time using ESInfer. I'll write some wikis on how to read error messages efficiently as a starting point and, finally and hopefully, evolve a better error reporting system.

So if you ask me how to deal with this kind of code with ESInfer, I'd suggest making the compiler happy by converting the string to a number or the number to a string.

(BTW, try to use the format as suggested, hope it works :D)
Maybe this is the only way to reliably make available a drug that is used nationwide on average less than 5 times a year? Most hospitals wouldn’t stock a drug that they’d likely never use.

By keeping stock centralized at the FDA they can keep enough on hand and rubber stamp the exception.
Yup, there is a button to download at the top right of the spec:
https://demo.metlo.com/endpoint/2be9f63e-a436-4ffc-b85a-e421...
'It's a scam': self-driving cars are going nowhere
I am curious how we are going about studying these in Macaques. Are we trying to deliberately get them the virus and see how their brain respond? If so, haven’t we learned enough on how virus jumps species and can wreck havoc?
given how obnoxious it's been lately, yep; this really seems like an op. didn't go the extra step to look into them and figured it would have just been me or my data sold. this seems much more intentional.
> Where did I say it would be the same engineering effort?

Saying "double the work" implies the doubling to be total - i.e. the Framer Motion approach and the SCSS approach are each 100%, and doing both would therefore be 200% or double.

What you're saying now would be more accurately described as "triple the work" - i.e. Framer Motion would be 100%, SCSS would be double that (200%), and the total would be 300% or triple.
This article's tone feels so uninspired, so forced.
> If you have a successful popular product (firebase) and a not particularly successful or well loved product (GCP), does mixing A into B make sense?

Firebase is more successful than GCP? In what way?

> Betty had a bit of butter, but the butter was bitter, so she mixed the bitter butter with the better butter to make the bitter butter better but it made the better butter bitter…

?
Hey, the save file breaks notepad++ when I try to open it. Is it ok if I ask you what's inside? Just curious :D

>edit: nevermind, I managed to open it after the third try, there must be something wrong on my end lol
>OpenAPI Generator allows generation of API client libraries from OpenAPI Specs

It does, but the generated code can be very shitty for some combinations of spec and output language. I maintain Rust bindings for the Kubernetes API server's API, and I chose to write my own code generator instead. The README at https://github.com/Arnavion/k8s-openapi has more details.

The point there about bugs in the spec is not limited to Kubernetes. $dayjob's software product interacts with the Docker daemon's server API so we generated bindings using the Docker spec, but that spec had a bug where some timespan values used the wrong integer type ( https://github.com/moby/moby/issues/39131 ). Luckily we were able to fix them in our generated code because we'd opted to check in the generated code instead of building it dynamically at compile time. The generated code also had a bug in the function for pulling Docker images, because it did not account for the fact that pulling the image can fail at some point after it has started, in which case the HTTP response has a successful status code but the streaming body ends with an error record. We had to edit the generated code to incorporate any error records in the response body as an error in the overall function result.

And as I wrote in the "sans-io" section of that README, I also believe the generator's approach of providing an API client that has all decisions made for you, like whether the API is sync or async (in languages where that matters), what HTTP library it uses internally, etc is overly limiting. It means that a user who does not agree with even one of those decisions is prevented from using the entire generated library. In my opinion the part where models/requests can be encoded to bytes and models/responses can be decoded from bytes is separate from the part where bytes are sent and received over HTTP, which is why k8s-openapi only does the former and you can write a thin wrapper to use it with your chosen HTTP client.

So basically, the generator exists and is a good starting point when you just want a quick and dirty way to consume an API, but a) you should have a plan for bugs in the spec and bugs in the generated code, b) you should have a plan for generating your own bindings instead of using a third-party library that generated them for you if you don't agree with any of the third party's choice of codegen parameters, and c) you might find hand-written bindings, or a bespoke hand-written generator for that particular spec, worth the investment.
That's exactly what I was talking about, and why I chose Perl as the "top-level" language for my project over Python, despite Python being very popular.
Has that helped for the flu shot? I don’t believe that has significantly made people want the vaccine more (at least in the US). It’s a nice option for those who already get it to change it up but not like it’s making people who weren’t getting them before to get them now.
It looks like what he meant was if an AI system works well in India, then it has very high probability of working in the rest of the world.
I absolutely remember Computer Chronicles, Stuart Cheffet and Gary Kildall. When I was a kid monkeying with home computers, I knew home computers were a thing because there was a TV show about them.

I watched a few episodes on archive.org a few years ago. Thx for reminding me they're all still there.
Ultimately though, it is Chrome sending the data to third party services. Firefox, Safari, et. al, do not permit these cross-site tracking requests.
I completely agree! For the people following back home, who don’t want to move away from MySQL, can you let us know how to achieve a <10ms GROUP BY aggregation with a high cardinality column (11 million distinct values for “pathname”).

The query was:

SELECT SUM(pageviews) as total, pathname FROM pageviews GROUP BY pathname ORDER BY total DESC LIMIT 10.

If we don’t hear an answer from you, I’ll be really upset. Otherwise, we may have to add your ideas to the article!
He said many of the men cracked under the strain. Some would deal with it by drinking themselves to oblivion.

> He sounds like an amazing man.

He was, but I'm rather biased :-)

He told me once he wouldn't trade that experience for anything, and wouldn't do it again for anything. He also said that when he felt down, he'd think of the men he knew who didn't get the chance to live, and would fix his attitude.
Tell HN: Do you use MPC-HC and get colorful artifacts around black lines?
It may very well be that you are using EVR in the video options. I just turned it off and swapped to MPC's default renderer and now my shows all appear crisp and clear.

I thought it was SVP 4, and even FFDshow, but no... it's EVR, for some reason.

Someone who knows more than I might be able to explain why.
>Nobody knows any way to do this.

Correction: you don't know any way to do this.

https://www.osti.gov/pages/servlets/purl/1394392

Meanwhile the super expensive power plant can run in the winter and not require fossil fuels or magic energy storage.
Love the back cover.
That's actually one of the points of the lawsuit: the TOS is unclear and improperly vague.
I’ve been happy so far with Airthings. They have a variety of sensors with different price points / features (seems like most except the Mini will do radon), the mobile app is decent, and there’s a HomeAssistant integration for it.
Yeah, I guess you could say that, so in reality it's even worse (more overall work for me) in order to reach 1% of users.
Maybe he should consider feeding his child with actual food rather than my personal data. Probably would taste better, at the very least.
That’s downright readable compared to some type defs I encounter for JS libraries! (No really it’s awful I agree.)
Start using J as a desk calculator. One can just keep J window open, and run tiny expressions every once in a while for various needs.

It probably won't teach effectively more complex features, you might need a bigger project for that. But it will add to familiarity. Where other languages have lots of libraries, J has language where many things are just so easy to assemble from few language primitives.
Okay, this was a good one!
You should try lion's mane if you haven't already. It's pretty good. My favorite typically remains pink oyster mushroom.
It's cultural knowledge passed down through generations. Mushroom foraging is super popular in Russia and other Slavic countries, and my grandmother taught me most of the fundamentals before we immigrated to the US, and I continued to study field guide books on my own.

When you get to know the specific bits of anatomy of the mushroom body, the trees with which they're symbiotic, the seasons in which they occur, etc., then identifying different varieties becomes as clear as identifying a baseball vs. a tennis ball.
Yup. This is exactly how Python methods work too. And how most functional code looks in any language.
I mean, it happened to me twice in the last couple months on a laptop where I did a lazy install and didn't set up swap. Firefox and 2-3 smaller programs ate up so much memory that it stopped responding for multiple minutes and then went completely dead.

I rarely need or set up much swap on a server, but I've managed to have the same kind of problem with the OOM killer not kicking in very quickly on a server. And on my desktops swap is able to soak up many gigabytes and improve my performance a lot with thrashing basically never happening.
Your single example of over-exploitation outside of capitalism doesn’t refute my point at all. Nobody thinks it’s impossible to over-exploit without capitalism, it’s that without capitalism we don’t have a huge incentive to do it, and it happening on a GLOBAL scale. But yeah, ok, some declines in oysters in one body of water.
You might, however, sue the manufacturer if they sell you an automatic parking feature that routinely crashes into other cars.
Not just New Zealand but....somewhere in central Otago...of all places?
gosh, if only there was some kind of public system that could transport many people at once for a low cost that all those billions could have gone to.

Once again, people leaping at opportunities to apply tech to things because technology is a hammer and everything is a nail. Meanwhile all the horrible and unsexy things in life persist because bay area tech bros aren't forced to deal with them everyday.
That list appears to be not mentioning Google themselves though, which is one of the main thrusts of the suit in question.
It still is. It's still well and alive.
Of course, it is hard to say without knowing more about it, but it seems that jiggawatts solution is closer to optimal than the second one. The 50GB database could fit on a USB drive after all and we know empirically that a single SQL server database was able to handle the requests since the old system worked.

Also, the fact that a consulting company was able to turn a part time gig for one person into a $100M+ project at the taxpayer's expense is very frustrating.
Commodity corn on the cob is highly processed? Was that a mistake?
What’s the conceptual difference between this and SOAP with WSDLs?
Firefox and Safari actually behave differently with the cross-domain tracking requests being complained about here. So yes, they are different.
> 250,000 small-arms rounds were fired for every insurgent killed in Afghanistan

To be fair, only a small part of that is aimed. Much of it is "covering fire", the intent of which is to cause the enemy to hide while your guys advance. There are also soldiers who do not wish to kill, and do not aim their shots.

The larger point is that if the accuracy of the flak were doubled with radar guidance, it would have been impossible for the 8th AF to continue the mass bombing campaign. If 5% are lost on a mission (and that did happen now and then) repeatedly, then it ain't long before there isn't an Air Corps left.
Content is king, in the end. However serving it in a nice packaging never hurts.
According to Cheffet, all the CC content on YouTube is pirated. Only the archive.org content is properly licensed.

Don't worry though, I made the same mistake a few years ago, but Stuart was nice enough to tell me not to share YT links of the content without being overly dramatic about it.
I had a scan and the TL;DR - there's something in the water, working its way up the food chain and making people fat. They present a number of possible candidates e.g. PFAS, Lithium etc. It's an interesting read, I'm not an expert though.
Definitely this is a very fair criticism to my comment. I don’t fully agree yaml is bad, - I think it depends on use case But I appreciate you bringing up the other side; I agree somewhat that CircleCI is not as easy to use as it could be due to their choice.

FWIW, the most recent thing I built that could be considered a DSL is how we define roles where I work. It’s a lot like IAM policies. I wouldn’t want to run arbitrary code when parsing these documents, and I think yaml suits it well.
I don't think Htmx is a good fit for those. I wouldn't want a server roundtrip for any of them (except maybe part of CRUD).
Also a sucker for this kind of advertising. Advertising used to have a lot more copy. I have a book full of this stuff from Taschen called, appropriately, “The Copy Book.”