HNHacker News
TopNewBestAskShowJobs

japgolly

172 karma · joined April 26, 2017

submissionscomments
japgolly··on Scaling Git at OpenAI
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.
japgolly··on Rust Style Guide
That being said there was a story about him debugging an issue recently with some pretty serious help from AI.
japgolly··on Rust Style Guide
But there's a rustfmt already. Anyway, the style guide is larger in scope than just code formatting.
japgolly··on Rust Style Guide
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.
japgolly··on Shredding JSON columns gave Logfire up to 1000x faster queries
> 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

japgolly··on Anecdotally, programmers dislike "reduce"
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.

japgolly··on Pandas Should Go Extinct
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 >.
japgolly··on Claude is only available to people over 18 years
Aren't AI's already G-rated cos of the built-in guardrails?
japgolly··on Claude is only available to people over 18 years
> every OS developer

They exempted Linux, from what I remember reading.

japgolly··on Hepburn Romanization: How to Read Japanese in the Latin Alphabet
> 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.

japgolly··on Hepburn Romanization: How to Read Japanese in the Latin Alphabet
Detecting AI writing is a skill that not everyone has.
japgolly··on 27.5KB language-agnostic WebGPU syntax highlighter
What does this even mean? In the future it will be considered too big?
japgolly··on OpenAI have no mathematicians capable of understanding what they put out
> 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

japgolly··on Gemini 3.8 Flash and 3.8 Flash Cyber
They do have a cli: https://github.com/google-antigravity/antigravity-cli
japgolly··on Why do I lose my passion and want to do nothing?
Note: Anhedonia is the inability to feel pleasure or joy.
japgolly··on The Hugging Face incident and the road ahead
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.
japgolly··on The Case Against Formal Verification, 50 Years Later
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.

japgolly··on The Case Against Formal Verification, 50 Years Later
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.

japgolly··on Compression is prediction
Awesome read and absolutely loved the interactivity. A lot of effort was put into this.
japgolly··on Oracle bans AI-generated code from OpenJDK
KTLO = Keep The Lights On
japgolly··on Changes at Google DeepMind: Demis Hassabis from CEO to Chair, Jeff Dean departs
> 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!

japgolly··on Introduction to Formal Verification with Lean Part 1
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).
japgolly··on After 7 years in production, Scarf has reluctantly moved away from Haskell
There's definitely less Scala jobs on the market these days.
japgolly··on After 7 years in production, Scarf has reluctantly moved away from Haskell
It's about the feedback loop being so slow. Agents often compile and run tests to verify their work
japgolly··on Show HN: Isthistechdead.com got a full UI revamp
Clicking on Scala results in a 404, same with Perl, same with Terraform
japgolly··on Open-sourcing ShipReq – a requirements platform written in FP Scala/Scala.js
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!

japgolly··on Show HN: TRUST – Coding Rust like it's 1989
Scala is painfully slow to compile too
japgolly··on Show HN: Lux – Drop-in Redis replacement in Rust. 5.6x faster, ~1MB Docker image
Good read here - https://www.luxdb.dev/architecture
japgolly··on Grep.app: search across a half million Git repos
This is amazing!! Super fast, I can actually enter symbols, search case-sensitively, I love it!
japgolly··on “YouTube is shutting down dissenting Biology PhDs and MDs”
It takes orders of magnitude more effort to counteract bullshit than it does to produce it. Your opinion doesn't scale and not only is it easily exploitable by bad actors, it's happening in practice all over the place these days and is a huge, huge problem.
Page 1 of 2Next →