News for hackers. Stuff that matters.

japgolly

Re:Scaling Git at OpenAI on Tuesday November 03, 2026 @02:33AM (#50349137)
Interesting that they used both Lean and TLA+. I wish they'd speak more about that. I woulda thought they'd use one or the other. Generally speaking they both do the same thing (prove specs), but in very different ways.
Re:Google's Rust Style Guide on Wednesday October 21, 2026 @10:49PM (#50190560)
That being said there was a story about him debugging an issue recently with some pretty serious help from AI.
Re:Google's Rust Style Guide on Wednesday October 21, 2026 @10:46PM (#50190544)
But there's a rustfmt already. Anyway, the style guide is larger in scope than just code formatting.
Re:Google's Rust Style Guide on Wednesday October 21, 2026 @10:43PM (#50190529)
Apply #[non_exhaustive] to publicly-exposed enums seems like a crazy recommendation to me. So much of the power of enums is that when you add a new case the compiler will flag all pattern matches that you need to update, which is a good thing because you're forced to consider each case. Having a catch-all saves dev-time but it risks not appropriately handling new cases becoming a runtime issue instead of a compile time error.
> Rather than storing all attributes in a single JSON column, we automatically extract the most frequently accessed attributes into separate, strongly typed columns.

I'm glad they made the discovery but this is DB 101

Re:Anecdotally, Programmers Dislike "Reduce" on Monday September 14, 2026 @08:53PM (#49706335)
I assume the author is talking about `fold`, as in `[A] -> B -> ((B,A) -> B) -> B`, and not what I often think of as reduce as `[A] -> ((A,A) -> A) -> A`.

`fold` is awesome and super useful. It's the easiest and most convenient way to turn a collection into a single value. Put me anecdotally in the opposite bucket.

Re:Pandas Should Go Extinct on Saturday September 12, 2026 @12:22AM (#49668796)
Nitpick for the author: it looks like you've got (a,b] when you actually mean [a,b). Either that or change the ≥ to be >.
Re:Claude is no longer available for minors on Friday September 11, 2026 @10:02PM (#49667918)
Aren't AI's already G-rated cos of the built-in guardrails?
Re:Claude is no longer available for minors on Friday September 11, 2026 @09:59PM (#49667897)
> every OS developer

They exempted Linux, from what I remember reading.

> Kunreisiki is also better for serious Japanese learners as it greatly simplifies the description of Japanese grammar: cf. matu/matte/matimasu (all with the same verb stem mat-) vs. Hepburn matsu/matte/machimasu (with 3 different verb stems)."

This is a silly argument because anyone learning Japanese is going to need to learn how to pronounce it anyway. Also "serious Japanese learners" would likely be using kana.

Detecting AI writing is a skill that not everyone has.
Re:27.5KB language-agnostic WebGPU syntax highlighter on Thursday September 10, 2026 @02:11AM (#49639100)
What does this even mean? In the future it will be considered too big?
> our hypodissipative result (which is not public), but as I understand it part of their training data

How did it become part of their training data if it wasn't public? /confused

Re:Gemini 3.8 Flash on Wednesday September 02, 2026 @08:51PM (#49544637)
Re:Why do I lose my passion and want to do nothing? on Monday August 31, 2026 @12:58AM (#49505773)
Note: Anhedonia is the inability to feel pleasure or joy.
Re:The Hugging Face incident and the road ahead on Thursday August 27, 2026 @12:41AM (#49459803)
Ignoring the fact that their NAT was apparently wide open with no domain rules, a simple dashboard over their NAT showing requests grouped by domain could've gotten them a long way.
Re:The Case Against Formal Verification, 50 Years Later on Monday August 17, 2026 @12:36AM (#49326591)
1) With formal verification you can prove properties about your system. With extensive testing you can also do the same but you need to take care and make sure you cover all possible cases.

2) With formal verification you can easily test things that are normally hard to cover by traditional testing. For example, if you want to test if that a postgres randomly goes offline, you don't lose any data, it's pretty hard to cover with extensive testing, whereas with formal verification you just say "postgres exists, it has state and can be online/offline, it can go online/offline at anytime" and you're covered.

Re:The Case Against Formal Verification, 50 Years Later on Monday August 17, 2026 @12:27AM (#49326554)
In my opinion, it's not very different than writing an implementation of quicksort by looking at pseudocode in an algorithms book. You still need to write unit/property tests for your implementation if you want to verify it to be correct.

Any time you code up an externally specified algorithm, the onus is still on you to verify your implementation, even if the correctness of the algorithm is already verified.

Re:Compression Is Prediction on Tuesday August 11, 2026 @11:12PM (#49267437)
Awesome read and absolutely loved the interactivity. A lot of effort was put into this.
Re:Oracle bans AI-generated code from OpenJDK on Friday August 07, 2026 @10:15PM (#49218323)
KTLO = Keep The Lights On
Re:The next chapter of our AI momentum on Wednesday August 05, 2026 @10:37PM (#49191761)
> It’s time for AI to prove its unequivocal value to the world, and what better way to demonstrate that than to help finally cure diseases like cancer.

What a worthy goal!

Re:Introduction to Formal Verification with Lean Part 1 on Wednesday July 22, 2026 @10:51PM (#49016279)
The code doesn't work. I pasted in the full code at the end into Lean Web, and it gives 4 errors and a warning (all in the lemmas).
Re:Scarf has moved away from Haskell on Friday July 10, 2026 @09:54PM (#48867782)
There's definitely less Scala jobs on the market these days.
Re:Scarf has moved away from Haskell on Friday July 10, 2026 @09:42PM (#48867702)
It's about the feedback loop being so slow. Agents often compile and run tests to verify their work
Re:Show HN: Isthistechdead.com got a full UI revamp on Sunday July 05, 2026 @01:56AM (#48791597)
Clicking on Scala results in a 404, same with Perl, same with Terraform
In 2013 I began work on ShipReq — an ambitious project to rethink how requirements are stored and maintained. Today I’m choosing to open-source this, my life’s work and magnum opus.

I hope someone somewhere enjoys this!

Re:Show HN: Trust – Coding Rust like it's 1989 on Friday May 08, 2026 @10:37PM (#48071230)
Scala is painfully slow to compile too

Older »