News for hackers. Stuff that matters.

rzmmm

An alternative is to write data abstractions (encapsulation, abstract data types, etc. LLM really avoid those).
Re:Anatomy of a Lean Proof for Software Engineers on Saturday October 03, 2026 @05:22AM (#49942639)
Well, the statement can be the 500k line part if it's generated with an LLM. But I think some people miss the point of Lean when they use LLM like that.
And rust...
Re:Claude Opus 5.5 on Wednesday September 23, 2026 @04:45AM (#49813278)
I'm pretty sure one reason is to influence public opinion about LLM regulation. Open-weights models cannot be restricted as effectively and they want to ban those for obvious reasons.
Re:Cyclomatic Complexity in C# on Saturday September 19, 2026 @05:59AM (#49765020)
It also depends how leakproof the abstractions are. Goto statement and if-statement might both compile to similar jump instructions in assembly, but it's abstracted away. Similarly dynamic dispatch can abstract the branching so it can be ignored.
Re:Developing provably correct Rust code with Verus on Thursday September 17, 2026 @02:09PM (#49744445)
I think it provides best bang for buck when the annotation is "obviously correct" but the implementation is complex.

For example if you are trying to prove that your new sorting algorithm yields sorted list for all inputs.

If there is as much annotations as there is code, then testing is better tool for the job than verification.

Re:Java 27 Released on Tuesday September 15, 2026 @10:39AM (#49713251)
I use Java for hobby projects, I think it's design choices make it a nice minimalist language for "classic OOP" style: dynamic dispatch, encapsulation etc.

Nowadays a lot of code is written with mostly procedural style with some functional characteristics, I wouldn't use Java for that.

Almost no myopia in hunter-gatherer populations. I don't view it as "disease" but it's not physiological state either.
Re:Navier-Stokes – Tristan Buckmaster [pdf] on Wednesday September 09, 2026 @02:12AM (#49621854)
Isn't it obvious? Web scraping and even scanning written books is at record levels because the data is so useful for training. They are using every byte of user data.
Re:Creepy Crawlies on Sunday August 30, 2026 @12:54PM (#49500380)
It does work, at least in my experience. The challenge may be cheap for your n-of-1 but keep in mind the scraper bots are crawling number of domains with very high concurrency.
Re:Show HN: How much of Hacker News is AI? on Wednesday August 26, 2026 @11:36AM (#49450994)
It's remarkable how stable 20-30% show HN concentration is after late 2022, for the extended stats.
Interesting. To me it seems there are bunch of special cases where ketone monitor can be big help.
Re:How much of HN is AI? on Tuesday August 25, 2026 @11:47AM (#49436105)
Reading these comments it seems that meta-discussion of AI is the most hot button topic of all in HN.
Re:Early Humans Likely Ate Carbs and Sugary Foods on Saturday August 22, 2026 @01:01AM (#49396710)
Well you need some substrate which can be metabolized into sugar, such as carbohydrate or protein.
Re:Rethinking Database Programming on Tuesday August 18, 2026 @02:16PM (#49350053)
You can write raw sql and use the "describe" clause in script, and then generate code with the result. This gives full db-backend-frontend type safety with raw sql queries
Re:Text AI watermarks will always be trivial to remove on Friday August 14, 2026 @08:15AM (#49297726)
This just shifts the legal responsibility to you.
It can also be a personal preference for minimalism vs. maximalism. Or many other things.
Re:Postmortem for Kernel Soundness Bug #14576 on Saturday August 01, 2026 @03:25PM (#49137567)
The implementation of the kernel is relatively trivial, it's an intentional design choice.
It depends. In music for example it's often question whether the artist has been exposed to the original work. In that spirit, small language models are less likely to infringe copyright.
Re:Claude Code uses Bun written in Rust now on Sunday July 19, 2026 @12:25PM (#48969484)
It was not really a traditional rewrite. More like transpilation. Still impressive
Re:Shadcn/UI now defaults to Base UI instead of Radix on Sunday July 05, 2026 @03:52AM (#48792149)
I don't like the copy paste. Rather use lower-level abstractions for the UI if I know I have to make modifications.
Re:Leanstral 1.5: Proof Abundance for All on Saturday July 04, 2026 @04:19AM (#48783670)
You need to understand the bits you are trying to prove, but not the full proof. It's more like reading haskell types than math, even though the vocabulary is heavily inspired by math.
Is there benefit of using this branded type over just encapsulating the raw string in a private variable in closure or class? This feels a bit like forced nominal typing. The Email type doesn't have to be a string, it can be encapsulated so that invalid Emails are not representable.
Re:The cost YAGNI was never about on Sunday June 28, 2026 @07:24PM (#48712849)
Over the last couple months I've seen the debt multiplication in some OSS projects. It's like premature aging of a codebase.
"before Bison version 1.24, Bison-generated parsers could be used only in programs that were free software."

https://www.gnu.org/software/bison/manual/html_node/Conditio...

Re:The Coming Loop on Tuesday June 23, 2026 @09:30AM (#48644692)
Likely just that they err on the unnecessary error handling than missing error handling. They likely penalize runtime errors harshly in the training
There are codebases out there with enormous amounts of duplication, filled with implicit dependencies. You just haven't encountered them to appreciate good abstraction.
The author has huge online following, and influence over developers. I don't doubt the author is genuinely interested in this, but the employer definitely is supporting this too.
Bingo. Dozen LLM-prototypes and then a manmade final patch which is merged.
This is mainly for performance and memory layouts, it would not have improved safety guarantees of java.

Older »