News for hackers. Stuff that matters.

joek1301

Re:An Algorithmic Failure Beneath the Secret Ballot on Tuesday October 06, 2026 @07:49AM (#49977100)
k-anonymity [1] by hand!

[1]: https://en.wikipedia.org/wiki/K-anonymity

Re:Formally Verifying Peephole Optimisations in Lean on Monday December 29, 2025 @08:10AM (#46420325)
> Let’s say for moral reasons you choose to link none of LLVM’s libraries (thanks for caring about your users!)

For what moral reasons would I avoid linking LLVM? I’m not familiar.

Re:What Does a Database for SSDs Look Like? on Saturday December 20, 2025 @08:52AM (#46336200)
I would think hyperscalers stand to benefit the most from optimizing wear!
I know they aren't the point of the article, but the photos are absolutely breathtaking.
Re:If all the world were a monorepo on Friday September 19, 2025 @11:02PM (#45309883)
> One hypothetical approach I could imagine, is that a dependency major-version release of a package can ship with AST-rewriting-algorithm code migrations

Jane Street has something similar called a "tree smash" [1]. When someone makes a breaking change to their internal dialect of OCaml, they also push a commit updating the entire company monorepo.

It's not explicitly stated whether such migrations happen via AST rewrites, but one can imagine leveraging the existing compiler infrastructure to do that.

[1]: https://signalsandthreads.com/future-of-programming/#3535

Re:A Dumb Introduction to z3 using Rust on Wednesday September 17, 2025 @10:43AM (#45276461)
I actually wasn't aware of this either.

Z3 is fine with it--its job is to find any satisfying model. The possible outcomes are "the puzzle is solvable and here's a solution" or "the puzzle isn't solvable."

Re:A Dumb Introduction to z3 using Rust on Tuesday September 16, 2025 @07:04PM (#45269422)
I also was inspired to play around with Z3 after reading a Hillel Wayne article.

I used it to solve the new NYT game, Pips: https://kerrigan.dev/blog/nyt-pips

Normally this kind of thing would be absolutely ripe for abuse, but with the guardrails in place for the mainstream SOTA models, it might actually be okay. Maybe I'll be proven wrong.
Re:A collection of quant riddles with answers on Friday August 04, 2023 @01:09AM (#36995717)
I clicked your link, saw DP, and tabbed away to try and solve it myself first. (I also forgot to sample without replacement and wound up with $2.86.)

Delightful read!

Re:How to Keep Lambda Calculus Simple on Saturday July 08, 2023 @05:38PM (#36649025)
It defines a new infix data constructor. So if `it` and `ct` are values of type `ITerm` and `CTerm` respectively, `it :@: ct` is a value of type `ITerm`. (It could have been written with using a prefix operator like `ITerm`'s other data constructors.)
Re:Why you should use io_uring for network I/O on Thursday April 13, 2023 @01:15AM (#35551246)
Does the distinction between sharing VA mappings and copying buffers to/from kernel matter from a security perspective? (I assume it does, but I don't know why.)
Re:Raft Consensus Animated (2014) on Tuesday August 16, 2022 @03:03PM (#32487276)
See "The Global Chubby Planned Outage" on this page:

https://sre.google/sre-book/service-level-objectives/

The FAQ suggests a MacOS port is “underway:”

https://www.steadymouse.com/faq/

Re:Dear Spotify, can we just get a table of songs? on Saturday June 04, 2022 @01:48PM (#31623198)
Spotify shuffle is indeed not (uniformly) random, as confirmed by this blog post[1]. The post is eight years old, so it is highly possible the algorithm has changed.

[1]: https://engineering.atspotify.com/2014/02/how-to-shuffle-son...

Could you elaborate / share resources on "downfall of the Java sandbox as a security boundary"? Sounds interesting.

Ask HN: Introductory reading on philosophy of mathematics/formal logic?

Hey all,I'm an undergraduate studying mathematics and computer science, and I've recently taken an interest in formal logic and the philosophy of mathematics. Previous courses have exposed me to beautiful ideas like Russell's paradox, Gödel's incompleteness theorem, and the Curry-Howard-Lambek correspondance.I'm currently slogging through the final chapters of Hofstader's Gödel, Escher, Bach....

( Read More... | 2 comments | 3 points | on HN )
One more down the dev-to-woodworking pipeline [1].

[1]: https://github.com/docker/cli/issues/267#issuecomment-695149...

Re: on Sunday March 13, 2022 @05:39PM (#30665997)
Also, in many cases, implementation details like cache locality mean that asymptotically inferior algorithms can in practice outperform those with a lower theoretical runtime complexity.
Re:Wordle Now Redirects to NYT on Thursday February 10, 2022 @08:31PM (#30295608)
The original WORDLE also used minified JavaScript, but there are some resources on reverse engineering it, if all you're interested is learning how the words are picked [1].

[1]: https://reichel.dev/blog/reverse-engineering-wordle.html

I guess I was kind of asking for this, but I just spoiled the next two days of Wordle for myself clicking on your link. Oh, the woes of being a trigger happy link follower
Re:Examining the covidtests.gov architecture on Wednesday January 19, 2022 @08:24PM (#30003028)
As an aside, there was an interesting recent episode of the AWS FM podcast where a guest was rendering dynamic HTML from Lambda functions and seemed incredibly satisfied with the results. (Unfortunately the recent episodes lack transcripts and I cannot easily verify, but I think it was Episode 17 with Brian LeRoux.) This is a use case I haven't seen get a lot of love, but it is at least similar in premise to HTML Over the Wire [1].

[1]: https://hotwired.dev/

Older »