HNHacker News
TopNewBestAskShowJobs

lakecresva

299 karma · joined September 20, 2020

submissionscomments
lakecresva··on A Review of the Lean Theorem Prover
The Lean developers put out a paper about v4's reference counting last year which shows that in basic benchmarks, Lean 4 is in the same ballpark as Haskell, Swift, and ML. https://arxiv.org/abs/1908.05647
lakecresva··on Microsoft patents tech to score meetings with body language, facial expressions
I like how thinly veiled the doublespeak is these days: “Let me be clear: Productivity Score is not a work monitoring tool,” he added. “Productivity Score ... focuses on actionable insights about the ways in which people and teams are using the tools so you can make improvements or provide training to further your digital transformation.”
lakecresva··on GNU Guix 1.2.0
I filed a PR in the nix pills repo like eight months ago that never got touched; they're effectively abandoned and contain hard errors. One more snare trap in the mine field that is nix documentation.

To anyone that wanders by this, if you value your time at all, don't bother with nix unless you have someone you can corner and directly get answers from.

lakecresva··on Untangling Mechanized Proofs
I wrote two reference type checkers for Lean and learned a lot about both the Lean kernel and the implementation of DTT; it's not an easy exercise, but I would recommend it. The ones I wrote are in a language that's not the easiest to read (though I did end up getting the performance to justify the language choice), but if any related questions come up feel free to contact me and I'll do my best to give a coherent answer: https://github.com/ammkrn/nanoda_lib

This paper on Lean's type theory dovetails nicely with any of the kernel implementations: https://github.com/digama0/lean-type-theory/releases/tag/v1....

Also this article is really neat, thanks OP. These kinds of visual representations and other alternative mediums you can use to document stuff are (imo) a really important and under-explored area.

lakecresva··on Why is dependent type theory more suitable than set theory for proof assistants?
It's because the mathlib authors don't really care about being constructive and frequently use things like choice/LEM, in contrast to Coq/math-comp. If there's a constructive and non-constructive version of something, the mathlib people will use whatever's easier or nicer to work with. There's some info here about how Lean does realizability with pervasive use of choice: https://github.com/coq/coq/issues/10871#issuecomment-5466412...
lakecresva··on Why is dependent type theory more suitable than set theory for proof assistants?
Can you give a practical example of how denying UIP helps with tasks like writing a proof or a definition rather than defining a really exotic inductive type?
lakecresva··on DEA to Return $43,000 It Seized without cause from Tampa Woman at Airport
They probably kept most of the $3.2 billion. The burden of proof in civil asset forfeiture cases is on the property owner; in order to get their stuff back they have to prove that they qualify as an "innocent owner". Unless you have the time and money to hire lawyers and fight it out, you can kiss your stuff goodbye.

18 U.S.C. 983(d)

lakecresva··on Students have to jump through absurd hoops to use exam monitoring software
As bad as all of the proctoring software seems to be, I wish we had it. I'm a 1L at an American law school that's doing entirely unproctored exams. I didn't come to the state with any connections, nor am I friends with any upperclassmen. I already know I'm going to get fucking annihilated by people who are cheating with their 2L/3L buddies, because there's literally zero risk of getting caught. In light of how heavily your 1L grades affect your career prospects, it seems insane that they're going to basically sort people by their performance on unproctored take-home exams with no integrity whatsoever.
lakecresva··on One Week of NixOS
This was exactly my experience. They have manuals that are very comprehensive reference texts, but complete lack of structure (no types, no docstrings, no enforced conventions/standards, extremely poor discoverability) makes it a nightmare in practice.
lakecresva··on Using TLA+ in the Real World to Understand a Glibc Bug
I think TLA+ is great, but the way in which you try (here and elsewhere) to downplay its inability to verify implementations/executable code by dismissing an OS kernel and an optimizing C compiler as "tiny programs" make you sound like a zealot at best. At worst you sound like a snake-oil salesman when you acknowledge seL4 and CompCert, and then immediately assert that "we can't just choose to verify a program".
lakecresva··on Jack Ma's Ant Group set for record $34B market debut
He's a person with influence who is endorsing a labor practice. I'm pretty sure no one was ever forced to work for Karl Marx or Adam Smith, yet somehow their opinions on labor managed to affect peoples' working conditions.
lakecresva··on The Era of Visual Studio Code
Out of curiosity, are you using the vim plugin for VSC? There's only one, but it has a huge install base and causes really insane performance issues in a wide variety of situations. It really should have a disclaimer in its description.
← PreviousPage 4 of 4