HNHacker News
TopNewBestAskShowJobs

tkz1312

448 karma · joined August 9, 2023

submissionscomments
tkz1312··on C++26 Disapproved
I was surprised to discover recently that C++ is in a pretty nice sweet spot for verification (at least at the binary level), where it has some useful type system features, but will get out of your way and generate simple ASM (without e.g. spamming bounds checks and panics everywhere as rust does).
tkz1312··on Chained PHP2Shell exploit roots 25 servers, including US Government servers
wasn't it setup in an unexploitable configuration (not actually serving a php page IIRC?) for most of the time, and then got popped within like 2 hours once fixed?
tkz1312··on Here be monsters: What do you still need to know when agents do the work?
Another article about scaling agents that waffles around for ages and doesnt mention proof systems. Proof systems work. Proof systems let your robots generate thousands of lines of code and you know it's bug free without having to check a single line. Proof systems let you review and iterate on a contained and simple system model and then use those guarantees across huge parts of your code.

Just giving up and ceding control of our codebases to the robots is not a serious engineering proposition.

tkz1312··on How close can pure functional programming get to C?
https://github.com/kim-em/lean-zstd
tkz1312··on Kimi K3.1 Pro and K3.1 Pro Highspeed
Sounds like you would have been in support of the US export bans on cryptography back in the day ;)
tkz1312··on Kimi K3.1 Pro and K3.1 Pro Highspeed
The groups with a lot of resources are always going to have the best tools available. The question is what tools do I (a person with limited time and resources) get access to. I am in a better position if the delta between my tooling and their tooling is minimized.
tkz1312··on Kimi K3.1 Pro and K3.1 Pro Highspeed
Because the people I want to defend against includes those with enough resources to train and fine tune models with strong offensive capabilities themselves.
tkz1312··on Kimi K3.1 Pro and K3.1 Pro Highspeed
I am a defender, and I really really want to have access to high quality models that are good at finding vulns and hacking. Leaving them in the hands only of government agencies and orgs with enough resources to do extensive training / fine tuning seems like the absolute worst possible case for the future security of global software systems.
tkz1312··on LLMs are making formal software verification feasible at a much larger scale
Semantics of a language describe the behaviour of a sentence in that language when executed. When you have semantics in a theorem prover you can construct equivalence proofs between programs expressed in different languages (or proofs that a compiler from one language to another is semantics preserving).

I was mostly referring to accuracy when I said "good" above, in the sense that they should reflect the actual behaviour of the language they describe.

tkz1312··on LLMs are making formal software verification feasible at a much larger scale
You don't really need compilers anymore. LLM's can write programs over any AST and provide an equivalence proof provided you have good semantics for the source and target.
tkz1312··on Rust Style Guide
I've been extracting a lot of verified C from theorem provers recently.
tkz1312··on Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor
sure zero was a bit strong, but I personally feel pretty good about depending on only the go stdlib, compared to pulling in litellm.
tkz1312··on Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor
Claude will write you something custom that fits your exact requirements with zero supply chain risk in an afternoon.
tkz1312··on DeepInfer: High-performance inference framework for DeepSeek models
You can batch calls if you're serving a lot of people at once.
tkz1312··on Ask HN: How to deal with shipping AI-written code you don't understand?
I only ship code I don't understand if it comes with a proof of correctness
tkz1312··on A skeptic's first contact with Kubernetes (2024)
Using nix to generate k8s yaml is actually quite pleasant. You avoid all the string templating bullshit and can use nix functions and the nixos module system to build proper abstractions.
tkz1312··on Strengthening our defenses against distillation attacks
distillation and the Chinese open weights models is pretty the only thing that still makes me feel like there is hope that AI might have a positive impact on society.
tkz1312··on AI Is a Tool. Using It Well Takes Skill.
llms work best on optimization problems. especially when wrapped in a proof system.
tkz1312··on The gap in shared understanding of LLM capability is widening
I'm pretty convinced most serious software will have some kind of proof system inside within the next few years.
tkz1312··on The gap in shared understanding of LLM capability is widening
You don't need to review proof code.

In the last 9 months or so llms have gone from just another useful proof tactic (like grind or sledgehammer or sat solvers) to being so good at writing proofs that I don't even bother to try myself anymore.

tkz1312··on The gap in shared understanding of LLM capability is widening
As someone who has done software verification professionally for many years the last 6 months or so have looked extremely vertical. The robots are better proof authors than I probably ever could be even if I dedicated the rest of my days to the practice, and projects that once would have taken months now take a day or two.
tkz1312··on OpenAI withdraws three mathematical results
It's surprisingly easy to prove something subtly different than you intend actually. Digesting and understanding a theorem statement can often take significant time and expertise.
tkz1312··on FTL: A new operating system for clouds
well you can just have much stronger safety guarantees in a theorem prover than in the rust type system, and C is a much easier thing to embed in a theorem prover than rust.
tkz1312··on LeCun has "zero concerns" about AI wiping out humanity, recent "rogue" incidents
I know how they work pretty well and most days I still have moments where I am struck by how bizarre and magical these thinking machines are.
tkz1312··on FTL: A new operating system for clouds
I fully expect formally verified C to become the standard for any reasonably critical software. It's astonishing how easy it is to crank out program equivalence proofs these days...
tkz1312··on Rails World 2026 Opening Keynote [video]
the only substantive difference I've noticed is between languages with a proof system and those without, where with a proof system is orders of magnitude better for agentic work.
tkz1312··on Bend 2 and the Vibe-Coding Trap
I'm assuming you have not spent a lot of time trying to prove stuff about non trivial programs if the trade offs between SMT based approaches and interactive theorem provers are not clear to you.

SMT solvers are highly automated, but very opaque and hard to debug. Interactive theorem provers can scale to larger problems and harder properties at the cost of increased manual proof burden. The ever increasing ability of llms to write proofs in a theorem prover has in recent years tipped the balance significantly towards preferring itp based approaches over pure SMT ones. The current state of the art for program verification is probably a mix of llm and traditional (tactics, SMT, etc.) proof automation inside an itp.

tkz1312··on Bend 2 and the Vibe-Coding Trap
conversations on this site about formal methods are currently absolute cess pits of dunning kruger and confidently stated yet highly misinformed takes from those with close to little experience in the field.
tkz1312··on Navier-Stokes Announcement
reviewing the definitions and theorem statement is a huge amount of work that requires a deep expertise in mathematics and lean. checking correctness of the proof itself can be delegated to machine, checking that the claim that has been proved is free of mistakes is something that still requires much human attention.
tkz1312··on Ebola Outbreak Now Third Largest Recorded and "Spreading Rapidly"
I mean it obviously impacts the people who live in the Congo...
Page 1 of 5Next →