MurphyA/hacker-news huggingface dataset:
by thomasmg | 2025-09-21 06:15:54+00:00
Many libraries throw an exception, panic, or silently swap the parameters at runtime.

To detect this at compile time, you would need either min and max to be known at compile time, or a type system that supports value-dependent types. None of the popular language support this. (My language named 'Bau', which is not popular of course, support value-dependent types to avoid array-bound checks.)
by man8alexd | 2025-09-21 06:17:05+00:00
People disable memory overcommit, expecting to fix OOMs, and then they get surprised when their programs start failing mallocs while there are still tons of discardable page cache in the system.

https://unix.stackexchange.com/q/797835/1027 https://unix.stackexchange.com/q/797841/1027
by sieve | 2025-09-21 06:17:36+00:00
> a subscribe and save order

Yeah. This is a joke. They give us a 5-10% discount to do this. But when the time for the next delivery came, they had doubled the prices instead of locking in the price I had subscribed at. I had to cancel the order.

If I had been informed during subscription that fulfillment will be done at the price prevailing at that time, I would never have subscribed in the first place.
by intended | 2025-09-21 06:17:38+00:00
It is helpful to be informed.

This form of argument, ends up normalizing the Trump presidency with the Biden presidency, which on its own is abhorrent to any scale of comparison.

Leave alone the fact that deciding to exit and leaving execution up to someone else is the quintessential act of sabotage.

Consider that this is less than a year of the Trump presidency.

And this is a sub thread where the comparison to the USSR is sustained.
by leakycap | 2025-09-21 06:19:56+00:00
I guess I don't know a lot about the abilities of the elderly in Australia, or even the social expectations put on them by persons like yourself with a strong worldview that you expect others to agree with.

I am still seeing a problem with the budget and timeline. It seems it isn't as easy to build an apartment in a backyard since the point of the article is that it didn't work out, and commonly most elderly people and their families don't have metalworking and foundation and plumbing and electrical experience. Even if your mother is excellent at tiling floors, which I don't doubt.
by Animats | 2025-09-21 06:20:38+00:00
I was expecting flash LIDAR and MEMS mirror systems to dominate self-driving cars by now, but rotating machinery is still dominant in the US.

The trend in China and Japan is a long-range forward-facing LIDAR coupled with three shorter-range units for side and rear coverage.[1] The long-range unit still costs around US$10,000. This should come down with volume.

[1] https://www.robosense.ai/en/news-show-1908

[2] https://openelab.io/products/robosense-em4-thousand-beam-lon...
by ImPostingOnHN | 2025-09-21 06:24:02+00:00
Your latest reply again amounts to once again claiming that myself and another poster are both wrong and you are right about "FSD" being incomparable to lane assist and other such features. The conclusion to draw here, from the majority, is that there is a chance that you might not be the best judge of the matter.

In short, your opinions have been heard, and so have the opinions of the other person you were responding to, and having heard both, I judge that the other poster's are more convincing than yours. You are, of course, free to re-re-re-assert your opinions even more assertively, but that tactic is, to say the least, unconvincing, and asserting that everyone who disagrees with you must have no friends with a tesla does not help your case either.
by marklubi | 2025-09-21 06:25:34+00:00
> what gives the most satisfaction (even though this kind of satisfaction happens very rarely) if I discover some very elegant structure behind whatever has to be implemented that changes the whole way how you thought about programming

A number of years ago, I wrote a caching/lookup library that is probably some of the favorite code I've ever created.

After the initial configuration, the use was elegant and there was really no reason not to use it if you needed to query anything that could be cached on the server side. Super easy to wrap just about any code with it as long as the response is serializable.

CachingCore.Instance.Get(key, cacheDuration, () => { /* expensive lookup code here */ });

Under the hood, it would check the preferred caching solution (e.g., Redis/Memcache/etc), followed by less preferred options if the preferred wasn't available, followed by the expensive lookup if it wasn't found anywhere. Defaulted to in-memory if nothing else was available.

If the data was returned from cache, it would then compare the expiration to the specified duration... If it was getting close to various configurable tolerances, it would start a new lookup in the background and update the cache (some of our lookups could take several minutes*, others just a handful of seconds).

The hardest part was making sure that we didn't cause a thundering herd type problem with looking up stuff multiple times... in-memory cache flags indicating lookups in progress so we could hold up other requests if it failed through and then let them know once it's available. While not the absolute worst case scenario, you might end up making the expensive lookups once from each of the servers that use it if the shared cache isn't available.

* most of these have a separate service running on a schedule to pre-cache the data, but things have a backup with this method.
by groovetandon | 2025-09-21 06:25:50+00:00
There’s a lot of great things here that I like - adaptive 3 panel structure, source viewer on left.

But I think there are a few things that I noticed about NBLM which was painful for me.

1// The three panels should be toggle based with icons on the top bar. There is no need to occupy real estate for both notes and chat together if they are not being used together.

2// The center of screen or the largest middle section should be focused on outputs and not chat. If you are focusing on creating something why should it be on the side. Especially since chat isn’t all that special a feature compared to the audio overviews, etc.

3// Information density - the buttons and icons are all too large and clunky. You are in fight for real estate because AI is helping you process superhuman amounts of information.

I think the magic of NBlM is the audio overviews, the chat based Q&A is with citation is pretty standard for all LLMs.

Also I think it only uses Gemini flash which feels like a search model - this needs to be paired with a reasoning model instead.
by samwillis | 2025-09-21 06:29:56+00:00
> Given an image or a 3D mesh, SGS-1 can generate CAD B-Rep parts in STEP format. Unlike all other existing generative models, SGS-1 outputs are accurate and can be edited easily in traditional CAD software

This is a game changer, all the models before that output meshes were a toy at best. Super excited to see where they can take this.

I wander if the next step is for a step -> proprietary format (SolidWork, NX etc) model that can infer constraints.
by Animats | 2025-09-21 06:30:38+00:00
In a compiled language, it takes one or two machine instructions to test

assert!(b >= a);

Works in C, C++, Go, Rust...

Amusingly, nowhere in the original article is it mentioned that the article is only about Javascript.

Languages should have compile time strong typing for at least the machine types: integers, floats, characters, strings, and booleans. If user defined types are handled as an "any" type resolved at run time, performance is OK, because there's enough overhead dealing with user defined structures that the run time check won't kill performance.

(This is why Python needs NumPy to get decent numeric performance.)
by aaa_aaa | 2025-09-21 06:30:41+00:00
Aristocratic monarchy or tribal leadership with chosen consuls is also bad but preferable. It is much harder to buy off a king than democratic representatives. Also a king takes care of his property but temporary rulers of democracy loots. Best is decentralized city states with elite rulers. Because scale matters. This provides mobility if ruler, taxes or laws are not for you.
by Panzerschrek | 2025-09-21 06:30:43+00:00
As I understand this article, swap is useful for cases where many long-lived programs (daemons) allocate a lot of memory, but almost never access it. But wouldn't it be better to avoid writing such programs? And how many memory such daemons can consume? A couple of hundred megabytes total? Is it really that much on modern systems?

My experience with swap shows, that it only makes things worse. When I program, my application may sometimes allocate a lot of memory due to some silly bug. In such case the whole system practically stops working - even mouse cursor can't move. If I am happy, OOM killer will eventually kill my buggy program, but after that it's not over - almost all used memory is now in swap and the whole system works snail-slow, presumably because kernel doesn't think it should really unswap previously swapped memory and does this only on demand and only page by page.

I a hypothetical case without swap this case isn't so painful. When main system memory is almost fully consumed, OOM killer kills the most memory hungry program and all other programs just continue working as before.

I think that overall reliance on swap is noways just a legacy of old times when main memory was scarce and back than it maybe was useful to have swap. OS kernels should be redesigned to work without swap, this will make system behavior smoother and kernel code may be simpler (all this swapping code may be removed) and thus faster.
by ml-anon | 2025-09-21 06:30:54+00:00
Literally the only thing people cared about was Audio Overviews. NotebookLM had launched months earlier without that feature and was immediately ignored. The reason people liked audio overviews was because the voice model was amazing. This guy and the labs team had nothing to do with that. It was developed by a research team at Google Research/GDM who got maybe 1% of the credit: https://deepmind.google/discover/blog/pushing-the-frontiers-... It’s amazing how these people still insist on denying the massive contribution the audio model made, which is apparent by the lack of credits or acknowledgements to the team anywhere public despite these self aggrandizing blogs and postcast appearances.
by watwut | 2025-09-21 06:30:55+00:00
It has nothing to do with the wish to not crash page.

Javascript was a prototype that was supposed to be refined and cleaned. Then management said "we will ship it now" and it was shipped as it was.

At the time, they thought it will be used for small things, minor snippets on web page. Webapps as we have them were not a thing yet.
by DiogenesKynikos | 2025-09-21 06:31:05+00:00
You're not reading what they're writing. They all were predicting a rapid Israeli victory, within mere days. They believed that Israel could take on all the Arab states at once and still win.

If you want a more colloquial version of the US assessment, this is what Lyndon Johnson told the Israelis before the war (paraphrased in the official US diplomatic records):

“The US assessment does not agree with that of the Israelis: our best judgment is that no military attack on Israel is imminent, and, moreover, if Israel is attacked, our judgment is that the Israelis would lick them.”

https://history.state.gov/historicaldocuments/frus1964-68v19...
by alephnerd | 2025-09-21 06:31:50+00:00
> you have to move into the cities

Even the urban safety net is gated behind getting an urban hukou which has income requirements and stable residency requirements - both of which are difficult for the bottom half of society becuase of the chicken-and-egg situation. But the added issue is migrants on a rural hukou do not want to give up their rural hukou because oftentimes this means losing the right to any rural landholdings they may have - which for someone earning Yuan 2,000 to 4,000 a month doing gig work on Meituan is basically their only appreciating asset if the local prefecture decides to say expand a road or create an LGFV and thus entitling them to some (relatively) decent compensation.

This is the crux of the issue. There are very table stakes reforms that the central and provincial can conduct to help alleviate inequality, yet the bulk of spending is essentially expended on capex investments or subsidizes, which while great for building high value industries aren't generating a significant number of jobs because those industries require a college education.

No provincial government will work on expanding a social safety net without it becoming a priority at the Central level because everyone wants to climb the ladder, and there just isn't much fiscal leeway to expand that without central intervention.

> They can't afford to build a comparable one for the rural areas too as rural productivity is too low

That didn't stop Thailand or Malaysia. They might not have the same GDP per capita as China, but the median household disposable income of both is significantly higher (1.5x in the case of Thailand and 2.5x in the case of Malaysia).

Unlike both Thailand and Malaysia, the central government in China has much more leeway to expand the welfare net if it was a priority.
by Intermernet | 2025-09-21 06:32:28+00:00
Blogs aren't constructive feedback because they aren't easily discoverable. If you see someone has something stuck in their teeth do you yell it to the world and hope they fix the problem, or do you first politely and discretely inform the person. Resorting to blogs as the first course of feedback isn't about helping a project, or collaborating, it's about advertising to the world.
by leakycap | 2025-09-21 06:33:07+00:00
Using my eyes, I looked back at the text on my screen next to your username.

Your comment was 7 words, one of which is literally "COVID". Then you said you're weren't actually talking about COVID, but you actually meant something about how you think others are now prone to dramatic conspiracy theories.

It seems like you're experiencing some of this yourself or are stuck in some sort of race condition where if someone else doesn't agree with you, it's clearly a them issue. They're the conspiricist.

While explaining that you intended me to get a whole different message from your initial 7 words, you go on to say that while discussing the "COVID years" that...

> I'm not talking about the people who died or the healthcare workers.

Why aren't you focusing on these things? It seems much more important than whatever you are spinning on about the social fabric and cohesion of society as you type into a webform to a stranger about how everyone has conspiracies now.
by toast0 | 2025-09-21 06:33:35+00:00
You don't need to break TLS to do IP/domain blocking, but you can't redirect an https page unless you have an acceptable certificate.

> but they're only broken out for big investigations or secret dragnet stuff we'll find out about in five decades, if ever.

Certificate Transparency, where required, makes certificates unusable if they're not published... But that might not be enough information.
by Tadpole9181 | 2025-09-21 06:34:03+00:00
As someone with experience in this specific niche, yes they absolutely are. There are no longer ten thousand retail chains asking for COBOL-based counterpoint PoS mods on a yearly basis.

The COBOL market is basically tenured experts in existing systems or polyglots helping migrate the systems to VB or C# at this point. The market has plummeted and now it's in the final deflationary shrink before death.
by LordDragonfang | 2025-09-21 06:34:22+00:00
> outside of "occasionally" running it back and forth against a tough fabric.

As I understand it, that's technically stropping, not sharpening, but it should be sufficient to keep an already-sharp blade sharp over the long term as long as the blade doesn't see extremely heavy use.

That said, most people don't strip their blades any more than they sharpen them.
by fspeech | 2025-09-21 06:34:41+00:00
Consumption habit is much more dependent on personal experience and has little to do with the safety net. Older retired people with state pensions still have little desire to spend or don't even know how to spend in the new online economy, while young people who never experienced hardship are happy to spend every penny. If you want to increase spending you need to steer income to young people (child credit e.g.). Healthcare is mostly accessed by old folks. Generous pension and healthcare benefits are not going to lift spending.
by anonzzzies | 2025-09-21 06:37:06+00:00
Since AI got good at this type of SaaS, I now look if something is worth it for

1. Originality (did I come up with it before? this is my definition for it, and I am not very original)

2. (Re)build value

3. Lifetime maintenance / hosting value

Given these factors, I would say you should ask $9.99/year for it and people would probably go for it with enough exposure.
by IshKebab | 2025-09-21 06:37:54+00:00
> clamp comes down to sorting the three numbers and returning the middle one

That is a really weird definition of clamp. I would expect to consistently get either min, max, or an error.

I bet Rust doesn't use your weird idea... Yep. Fully sane implementation:

https://docs.rs/num/latest/num/fn.clamp.html
by chmod775 | 2025-09-21 06:38:05+00:00
This never happened to me for an actually valuable item, but I've received stuff like flimsy chinese nail clippers rather than the one I ordered.

Not even knocks off, just completely different items. A proper knock off would've probably been just as good as the original...

The idea likely was that nobody is going to bother making much of a fuss over a 20 dollar nail clipper.
by Intermernet | 2025-09-21 06:38:15+00:00
The internal communication channels are where the people who can fix the problem are looking. They aren't looking at random blogs until it's too late to actually have a meaningful and calm discussion with the person raising the issue.

If the author had raised the issue on the actual channels that the Zig project requests people use, and then the Zig team had been dismissive or rude, then, yeah, for sure go writing blog posts. I'm not sure why this is such a hard thing to grasp. If you have an issue, raise it with the people who can fix the issue first. Don't immediately go screaming from the roof-tops. That behaviour is entitled, immature, insincere and unproductive.
by arp242 | 2025-09-21 06:38:23+00:00
You don't think it's obnoxious to aggressively put words in people's mouths and becoming even more aggressive and accusatory when getting some gentle "that's not what I said" pushback on that? Practically no one has an interaction like that and walks away with a positive experience. You can say "your comment would have been better without that remark, don't respond to a bad comment by making a bad comment". Okay, fine. I wouldn't even have responded. But it's really not the "obnoxious to the highest degree"-remark that's the core problem here, it's the "obnoxious to the highest degree"-behaviour. This is exactly how good (non-obnoxious) people stop coming back.
by nobody9999 | 2025-09-21 06:38:30+00:00
>That isn't the same and you know it. Kimmel made no direct comment about what the shooter was aligned with, only about what the right wing sphere was attempting to frame them as being. Anyone with a moderate grasp of English should be able to tell the difference.

You're falling into the "trap." Which is that even though you're correct, the way it's being framed is having you defend Kimmel WRT what he did say rather than his right to say all kinds of stuff -- including the stuff they claim he said, but didn't.

Even if Kimmel had said that Robinson was absolutely a MAGAt with ties to literal neo-nazis (the groypers), that's still protected speech.

He didn't go that far (and it may or may not be true), but his right to free expression is what needs to be protected.

While you don't see it that way, the folks with whom you're arguing can come back later and say, "well, scheeseman486 agreed that if Kimmel had called Robinson a MAGA and/or a Nazi, that was a bridge too far. So now that Fallon/whoever said something similar, off to prison for him, because even those baby molesting/eating librul freaks agree!"

Don't fall into that trap. The Federal (and through the 14th Amendment, state and local) government is forbidden from taking action against legal speech, full stop.

Fight against that -- don't let yourself be hemmed in to a corner by those who don't want or care about freedom of expression unless it's theirs.
by whilenot-dev | 2025-09-21 06:40:27+00:00
Sure, but the author picked TypeScript nonetheless. TypeScript is not a runtime, but a mere type checker - JavaScript is the runtime and a highly dynamic language. This detail got somehow completely lost in the article, but is IMHO the main culprit why such validations aren't bad, or sometimes even preferred.

The article also skipped over the following related topics:

- When would you wrap errors from lower levels as your own? - What does "parse don't validate" mean when a TypeScript library gets transpiled to JavaScript?
by IshKebab | 2025-09-21 06:41:27+00:00
You can ignore the borrow checker at least by using mrustc. And some type checks at least could be optional. The fact that they aren't isn't really a fundamental property of Rust, it's just because it's easy to make them not optional.

In my experience nobody writes Typescript without checking the types. Unlike Python for example where it's not uncommon to have broken types. (And it's way more of a mess in general.)
by ksec | 2025-09-21 06:41:32+00:00
Do we want Intel to fall and bankrupt? Or do we want Intel to survive. I dont think most people are clear what is happening here. This is it. The Margin call moment.

Intel could either transform into Fabless company compete on design, and manufacture with TSMC. Or they continue to be a Foundry player, crucial to US strategic interest. You can only pick one, and competing on just one of them is already a monumental task.

GPU is burning money. With no short term success in sight that could make them cash flow positive in 3 - 4 years time frame. I have been stating this since 2016 and we are now coming close to 2026, recent market share suggest Intel is at less than 1% discrete market share. Especially given the strong roadmap Nvidia has.

This gives a perfect excuse for Intel to quit GPU. Nvidia to provide the cash flow to hopefully continue to develop A18 and A14. Manufacture Nvidia GPU for them, and slowly transition itself out to only x86 + Foundry model. Or even solely manufacture for Nvidia. US administration further force Apple, Qualcomm and Broadcom to use Intel in some capacity. Assuming Intel can keep up with TSMC, which is probably a comparatively easier task than to tackle the GPU market.

I am assuming the Intel board is happy with that direction though. Because so far they have shown they are completely lack of any strategic vision.
by internet_points | 2025-09-21 06:42:43+00:00
I enable oom_kill on sysrq, so I can hit alt+sysrq+f to invoke OOM; in /etc/sysctl.d/10-magic-sysrq.conf I have `kernel.sysrq = 240` (ie. 128+64+32+16, 128 being the one for the f key).
by drysine | 2025-09-21 06:43:58+00:00
"So then the war has been an abject failure, right? NATO’s borders with Russia have massively expanded. Putin bamboozled."

You are mixing up the events of 2014 and 2022. But yes, the war is not quite a success.

"this has always been a war of territorial revanchism"

Nobody goes to conquer and occupy a country of 40 millions with the military force of 150-190 thousand personnel.
by makeitdouble | 2025-09-21 06:44:20+00:00
It reminds me that Sony provided a super clean teardown video of the PS5 at launch.

I sincerely doubt it matters in term of IP/patents. Apple might not want to deal with any of the press that could come with it, and for a corp doing nothing is cheaper that doing anything. IMHO the loss on Apple Store revenue ans hgiving je image of a brand you can tinker with outweigh any legal part.