skysight-inc/HackerNews huggingface dataset:
Thanks for the 1-hour video. Could you link to the timestamp of the strongest argument(s) you see in the video that are relevant in the current discussion (i.e. the existing error models we're talking about in Rust and C++, rather than a hypothetical future one)?

Just from a quick glance: I see he's talking about things like stack overflows and std::bad_alloc. In a discussion like this, those two are probably the worst examples of exceptions. They're the most severe exceptions, and the one the fewest people care to actually catch, and the ones that error codes are possibly the worst at handling anyway. (Do you really want an error returned from push_back?) The most common stuff is I/O errors, permission errors, format errors, etc. which aren't well represented by resource exhaustion at all, much less memory exhaustion.

P.S. W.r.t. "the top C++ gurus/leaders" - Herb is certainly talented, but I should note that the folks who wrote Google's style guide are... not amateurs. They have been involved in the language development and standardization process too. And they're just as well aware of the benefits and footguns as anyone.
Debian is supposed to be stable, but the last time apt hosed itself is barely two weeks ago.

The suggestion with the bug sensitivity is belittling, cut that out.
Spend some time talking to a trainer to professional sports. Regarding supplements, a lot of them have meth in them and the pro athletes don’t know but they start telling their friends “hey, this one gets results!” And then the entire team tests positive.
Oh no! How else are we going to stop the robot apocalypse now?
Sure, if you hang around a lot of engineers, it’s not that impressive. Undergrads were building robots in the lab next door in university. Heck I’ve seen some sick robots built by high school students.

But most people think it’s cool.

It’s entertainment.

But yeah, the AI part is absolutely not interesting at all.
Thanks for the kind words! Unfortunately, it's hard to directly measure the precision/recall (or other metrics) since there are no real labels. This is one of the reasons we tried to design this in a way that's as explainable as possible, so that you can easily look at examples of deduplication for your given threshold and decide if they make sense. We are still thinking about more/better ways to evaluate this in addition to the benchmarks we've already done.
There is definitely some value in shaking out bugs by running code in parallel in the same process space — someone on Lobsters brought this up too. I've been wondering if there's some kind of optional feature that can be enabled here.
Zoom out:

>But in gauging the longer-term trend of what’s really happening with the fires, it’s necessary to go back much further. Data derived from written records from Cal Fire and the U.S. Forest Service dating back to 1919 show that wildfires, far from increasing, have actually declined over the last 100 years. And in fact the website of the National Interagency Fire Center previously noted that fires were at their very worst a century ago. (See data, research, and methodology for this article.)

>The data on the overall, century-long trend suggest that most of the 20th century represented an unusually low amount of fire, and what we’re seeing now is a return to the “normal” levels of fire of the early 1900s.

https://future.com/why-california-burns-the-facts-behind-the...
The charitable reading is that this was done as a blinded study, so the testers/researchers would not know and would prevent bias in the testing and data analysis.

There should be a way to unblind in most experiment designs though
Agreed that his bizarre Tumblr meltdown seemed to be a tipping point, but I still wonder what caused that.
I'll give you advice. Success in pursuing a PhD isn’t just about the discipline or the degree—it’s about finding the right environment to support you. If earning your PhD is still a dream, focus on identifying a program that aligns with your needs and strengths. Look for a school with the right resources, a program that’s well-structured, and, most importantly, a supportive advisor who believes in your potential. Combined with your dedication and passion, these factors can make all the difference in achieving your goal. Don’t lose heart—sometimes, the right opportunity can change everything.

Disclaimer: I have no idea what I'm talking about. I've never participated in a graduate program.
Can be done less than 1 minute! https://www.youtube.com/watch?v=5X9TWW8lXd0
Where can I learn more about statically typed python?
Getting insurance is a making a bet bad stuff happens. The insurer makes a bet it doesn’t happen when it signs an agreement with you. If the bet is obviously negative expected value, it stops being a useful subsidy and it becomes instead throwing good money away.
In the most common cases, Zig does exactly what D does here as well. Constant expressions are folded at compile time like any reasonable systems language. It's akin to writing C++ where you slap constexpr on everything. Zig agrees with D that constexpr is silly :)

The one thing is Zig doesn't have D's notion of function purity, so I suspect there are cases where D could either infer that an expression is const where Zig can't, or at the very least D's compiler could do it faster.

Not to dismiss D's contributions to systems programming languages, of course. Clearly a ton of inspiration of being pulled from y'all's work.
It has and it does. Compare modern C with c89

It won't become D and you can probably be fairly sure it won't grow a standard garbage collector and object system.
I don't think you can fix this with a little bit of prompting with current models, since they seem clearly heavily biased towards react-router (a particular version even, iirc from a year ago).

It might help if you included API reference/docs for @nanostores/router in the context, but I'm not sure even that would fix it completely.
Customasm – An assembler for custom, user-defined instruction sets
> Also being able to create new types from existing ones with eg struct Years(i64); and pass it around typed is quite nice in Rust (F# has something similar, however there it will then always also be assignable to i64, so is not very helpful for catching incorrect usage.

F# has units of measure which are quite a bit more powerful: https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
Modules already existed in programming languages outside Bell Labs in the same decade, like the Modula-2 you quote.
Sure, we'll never run out of fossil fuels, because as they get more scarce, the price will go up and some reserves that used to be unprofitable will now be.

But then, we definitely don't want to burn all fossil fuels there are, because that would be catastrophic for the climate. Nevertheless, as long as it is profitable to do so we will. So we'll never run out of oil, and that is, in truth, unfortunate.

In the same manner, we'll never run out of minerals, which is also pretty unfortunate because mining is somewhat environmentally damaging.
Florida is many hundreds if not thousands of miles of coastline. The vast majority of it hasn’t been impacted majorly (defined as more than a tropical storm and evacuation) in many decades.

My family has been there since the 50s and has never had major damage to any home. There’s some work and minor damage involved with tropical storms but nothing like a full on flood or total loss of house like these fires.

It’s just not true at all to say that most of Florida is regularly majorly impacted.
Additional Context: The Getty Villa which is on the border of Malibu and Pacific Palisades was the structure that was threatened by fire directly. This article is about the Getty Center which lies in Brentwood and fires did not reach it.

Center: 1200 Getty Center Drive, Los Angeles, CA 90049

Villa: 17985 Pacific Coast Highway, Pacific Palisades, CA 90272
The fact checking is the tip of the iceberg — it's what the marketing machine led with because it's the least objectionable. Far far worse is letting queer people like myself be called mentally ill, though not any other group (e.g. religious people). Yes, it's part of the common discourse, but the common discourse is objectively morally abhorrent.

I worked at FB for a decade, and I now am rooting for its complete destruction.
Climate change is real, but people are vastly overstating the magnitude of its effect.

This is simply a fire prone region, and this was inevitably going to occur at some point, with or without climate change.

The government should have been more prepared for that.
C# with Rider is a more comprehensive experience than Rust + RA + VSC. C# in VSC is about on the same level with Rust regardless of the platform.

I always considered C#, F# and Rust as languages complementary to each other since each has their own distinct domain and use cases despite a good degree of overlap. Much less so than Java/Kotlin and Golang or any interpreted language (except Python and JS/TS in front-end) which are made obsolete by using the first three.
From Rust official docs:

`let lock = Arc::new(Mutex::new(0_u32));`

Doesn't this mean that Mutex introduces one more pointer?

For example, in Java every Object has a built-in mutex, adding some memory overhead in order to remove one extra layer of pointer dereferencing. As far as I understand, Rust introduces an extra layer of pointer indirection with Mutex, which can hurt performance significantly with cache misses.
LLMs are really good at 20 questions, so if you give it a chance to ask some follow-up (which they will do if given such a prompt) it will probably figure it out pretty quick.
My maternal grandmother had a long and troubling decline due to Alzheimer's, and a lot of this rings very true to me. By the last few years there was so little of her left, but you could still moments of connection with the essence of who she had been.

It's been many years, but I still miss her.
It's a weird feeling to live in a world where even extremely detailed, documented, and cited facts have near zero impact on popular opinion. Belief has always been a mix of feeling and fact, but I don't remember the balance being skewed so far.
There's no scrollback on fbcon either.
I guess it is too expensive to have a fm-200 based fire suppression system? They say they have sprinklers as a last resort but I’m guessing it would destroy most of the art if you needed to use them.
Show HN: 2025 Visual Calendar
And “Who moved my cheese?”
Surprised more people don't talk about panics and third party libraries.

So a panic is when something happens that shouldn't and you want the app to just die. But the problem is that third party libraries can do this as well. And there is no way to wrap this behaviour.

For example, I used a PDF library that would panic when the file was doing something not in the spec. And rather than me being able to put up a dialog that said "this PDF is invalid" my entire process would die. Not great for a desktop app.

It is one of the more insane situations I've ever seen in programming in 30+ years. You literally have to beg third party developers to consider what is best for you rather than them.
Traits in Rust are more a variant of Haskell typeclasses than of Smalltalk traits.

The whole FP vs OOP distinction does make little sense these days, as it has mostly been shown that each concept from the one can neatly fit within the other and vice versa.
Reading the last bit of your comment made me suddenly realize how crazy it is that this site is run by a company that doesn’t build anything.

This place acts like the center of the hacker universe. It has the name and everything. And it’s run by a finance company.
I actually don't disagree with you at all. I think that is the kind of content that Luke is most suited/wants to make. Him being a close friend of mind I just want to help him succeed. My goal for this article was to be a kind've meta look at the process of it all. I certainly would love this channel (and YouTube) to move away from this kind've wrapping paper though. Appreciate you checking out the article!
People have been asking about/for this for years. Hasn't happened yet, and I doubt it ever will. Doesn't seem to be a priority to HN.
"I'm not taking your farm from you, I'm just forcing you to sell it to my friends, or close it."

An outright ban would be less circuitous.
When criticizing a company or individual behavior on HN (not on LinkedIn), some guidelines/practices I've been evolving personally:

* Don't talk about your current employer. Work within the company to solve any problems there. (If you can't solve problems there, get away ASAP. Work with a lawyer, if necessary. Still don't talk about it publicly while you're there.)

* Don't name individuals. That's fraught with risks, including you being somehow wrong and doing harm, Internet mobs being dumb as snot, and all the shameless data-mining surveillance many companies are doing could mean outsized/inappropriate harm to someone.

* Don't name a company if you've worked for them, or otherwise had non-public access to it. Who is going to trust you in the future if you don't show discretion.

* Don't violate NDA.

* Be sufficiently vague so that you can talk about generalizable learnings. Your goal is for other people to learn not to do X; your goal isn't to hurt the reputation of a person who once did X. To help anonymize the subjects, you talk about things you've "seen" (in an ambigious sense) at places you've worked, as well as with people you've talked with, companies you've studied, etc., without saying which it was. You can do this without saying anything untrue. This is harder to do with only a few years of experience, though.

* Don't try to unmask anonymous/pseudonymous other people who share, nor unmask the identity of companies/people they're talking about. You could be wrong in your deductions, or you could just be disrepecting how they tried to share with discretion in good faith.

Other guidelines/practices?
Because i have worked with many math phds who lost their youth to something that they could not make a living on (research positions at universities are few and the competition is intense) and were writing C++ implementations of derivatives pricing models for a (comfortable) living.

I am not trying to discourage you, just a different perspective.
Complete by-default null safety is a big point, extension functions are just nice, smart casts, proper data classes and operator overloading, and simple expressive functional stuff like range syntax and reified generic types for inline functions. In general the Kotlin language feels more usable, yet less bloated (wrt the actual code, not the features ofc).
> Of the products tested, a staggering 47% exceeded California Proposition 65 safety
thresholds for toxic metals. Organic products, on average, showed higher levels of heavy metal contamination, with three times more lead and twice the amount of cadmium
compared to non-organic products. Plant-based protein powders were particularly concerning, showing three times more lead than whey-based alternatives, and chocolate-flavored powders contained four times more lead than vanilla.

Meager report. Are they saying organic whey is more likely to have lead than non-organic whey, or is it just that organic products are more likely to be plant-based?

Chocolate... just the usual suspect I guess[0].

I'm taking away from this that non-flavored whey is probably fine.

0. https://news.ycombinator.com/item?id=38038465
Best Pens for 2025
More along the lines of avoiding lawsuits. Supplement companies sue the fuck out of everyone, since the competition is so steep for essentially selling nothing/waste products/similar (penny production to dollar margins).

https://retractionwatch.com/2024/07/18/supplement-maker-sues...
As long as your computer runs a browser and a terminal emulator, it is more than fine.
I agree, those are all real, especially the advisor and committee.

Most of these are factors in any employment, and I would argue things like chance of losing funding at your job is worse than academic funding threats.
It should be noted that the report says they sourced many of them from amazon, who are notorious for having sellers who sell counterfeit supplements and cosmetics. They also co-mingle inventory, putting all units of a product from multiple sellers into one "bucket", so even if you buy a product from an official store on there it can be fake.
Wtf? Responsible disclosure is definitely NOT about avoiding PR backlash.
Oh totally (thanks for the link!), there's also a TV series "Escape to the Chateau" about this, and a followup series "Escape to the Chateau DIY" where the protagonists of the earlier series help others get set up in their new cheateaux :)
Most art is sealed into covered frames. You also design fire suppression sprinklers to start in outer rooms. Smoke is a far greater danger to art in a fire.
The reason this article is likely appearing now is because the Getty Center proper is currently in a zone which is under evacuation orders:

"The Getty Center, situated in Brentwood, draws 1.8 million visitors annually and houses hundreds of centuries-old art pieces from renowned artists such as Van Gogh, Rembrandt and Monet.

But even though as of Saturday, the center was included in a mandatory evacuation zone as a result of the Palisades Fire expansion into Brentwood, the center insisted its campus is the "safest place possible" for its massive art collection."

https://www.nbclosangeles.com/news/local/heres-how-the-getty...

This news report links the the article posted.

As of my check right now (1/12/25, noon Pacific Time), the Palisades Fire is still only 11% contained, so it's not yet over.
I don’t see a need to get so hung up on the nomenclature… it should be obvious that if you’re using a separate type checker in python, then of course you’ll also get the benefits I describe. The distinction I’m drawing is of course “has type checking” vs “does not hand type checking”, and it seems like you simply agree with me.

The problem with python, ruby, JavaScript, and similar languages is that while yes, they have optional type checkers you can use… they were invented after the fact, and not everyone uses them, and it’s not mandatory to use them. The library you want to use may not have type information, etc. It’s a world of difference when the language has it mandatory from the start.

And that’s not even getting into how (a) damned good rust’s type checker is (b) the borrow checker, which makes the whole check process at least twice as valuable as type checking alone.
I think that's still a different process. I really love pylance, but the issue is that while it can make your code almost as good as it can be with a compiled (statically typed) language if you use strict typechecking, it still can't make up for the issues that come with any library you use. Some popular packages are well annotated but some aren't, meaning that it's just not as good as soon as you start using 3rd party packages.
I agree that libraries should avoid panicking, but it is not true you can't do anything about it. You can wrap a call to such library into https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
Concrete is nice if you don’t want the whole house to burn down, it’s required in some places. Also, some minimum distance between buildings and regulations about what you can plant in the yard. There are folks who’ll say it’s taking away their freedoms and they’re actually right, it’s just we don’t want to pay for an army firefighters for when their respecting their freedoms puts the neighborhood in danger. (I’ve got nothing against firefighters - but if they aren’t needed as much, they can be not firefighters and contribute in a different way.)
Need to be really careful with chatbots—they can sometimes reinforce misunderstandings. Lysenkoism is a red herring here, since that's a (discredited) hypothesis about inherited traits. Acquired traits tend to have both inherited and environmental aspects (nature and nurture). These interact in complex ways to make you you.

Education, nutrition, and similar factors have pronounced somatic (non-inherited) effects. I think your arrow of causality might have been a bit off here:the key insight is that genes aren’t necessarily expressed optimally in adverse conditions.

For example, if you lack proper nutrition during a critical growth phase, even having the genetic potential to grow 7 feet tall won’t matter. Resource constraints mean it simply won’t happen—your body can’t grow that tall without the necessary inputs.

Now I’m really curious about your mental model! Could you share more about it or relevant parts of your Grok chat?
I don't think we have a number in mind. Just trying to have fun and film it.
No, name and shame
I wrote a MUD client when I was in high school and for some reason I forgot to document how to quit the app (which put the terminal in raw mode so normal interrupt commands didn't work). And the actual way to quit was completely different from every other application or feature in the client (you had to type Control-Y instead of /quit).

For years I got emails complaining about this. The common solution was to open up another window and send a kill command- except for most people, they weren't using a multiplexed windowing system, just a dumb terminal. So some folks basically got stuck for hours at a time.
php was also bundled with macOS 10 and 11

Once upon a time I had to figure how to recompile it with all the "factory" settings plus one additional thing that I needed.
Other lifeforms have dramatically altered the planet in the (geologic) past. The Great Oxidation Event, when plants colonized land, etc. These events were far more catastrophic to the status quo of their time. Timelines, means, and modes differ, sure. If anything makes us qualitatively different it's that we have a choice.

Or do we? Does a plant have a choice jumping from sea to land? Do we have a choice in greedily using the resources of the planet to "progress"? From the perspective of a pessimist it's beginning to seem, at least to me, that we do not.

I frame it to myself this way:

- We are one animal among many

- We are uniquely capable of large-scale destruction

- Technology must be carefully additive tools

- Designing tools is designing behavior

- Civilization is complication, nature is complexity

- Nature, undominated, is our home
Definitely true. Attrition is real, but "risk" is probably the wrong term. It's one of the lowest risk options available for young people.
It's not though? It's a music video for a 100% safe for work video game where small sprites of witches and yokai (supernatural entities/spirits) play what is in effect a much more complicated version of space invaders.

There is nothing even remotely close to sexual or NSFW in it.

https://www.youtube.com/watch?v=AY7QEEnSGVU
To be fair, green hydrogen in a fossil fuel shill talking point (so that they can sell more blue/grey). Hydrogen shipping and end-end efficiency are terrible. Make ammonia instead, if you're into that sort of thing.
For me, the amazing error messages are what makes it great. I am not a professional dev, but I regularly contribute to an open source project because of them.

I would never consider sending PRs in another language, how would I know If I am wasting the projects time by contributing bad code? With rust though, I have clippy and the compiler helping me along the way, like pair programming, I can be fairly confident I'm sending something useful.
Tracking Pizza Orders Around DC
Chinese Scientists Simulate "hunting" Starlink satellites
> and many JS APIs, especially older ones, don't even have types yet.

This is pretty much not the case these days, the packages people use mostly have types.
Someone definitely need to shoot Bad Apple using a kanban board!
Mendel did not have a PhD.
Highly recommend the experience, it was darkness unlike anything I’d ever seen before. Excuse the phrasing.