frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China's First Frontier AI Export Controls: Mofcom Announcement No. 48

https://labs.cloudsecurityalliance.org/research/csa-research-note-china-ai-export-controls-announ...
1•jonnybgood•4m ago•0 comments

Show HN: A battery runtime calculator for camping and off-grid loads

https://camppowercalc.com/en/calculator/battery-runtime/
1•chuanbuilds•5m ago•0 comments

The NYT/Siena polls show a blue tsunami

https://www.natesilver.net/p/the-nytsiena-polls-show-a-blue-tsunami
1•7777777phil•8m ago•0 comments

Storm Oil

https://en.wikipedia.org/wiki/Storm_oil
1•thunderbong•8m ago•0 comments

ADKA AI

https://www.adka.ai
1•cnych•9m ago•0 comments

An Illustrated Guide to AI Agents

https://github.com/HandsOnLLM/An-Illustrated-Guide-To-AI-Agents
1•saikatsg•9m ago•0 comments

Show HN: Roland T8 Interactive Tutorial

https://roland-t8.fokion.online
1•fokion•12m ago•0 comments

Setting the Record Straight on the Recent Witch Hunt Against Pixxel

https://twitter.com/awaisahmedna/status/2117133115336630374
1•dsr12•12m ago•0 comments

YouTube videos filtered by 43M HN comments over 20 years

https://hackertube.org/
1•zazuke•12m ago•1 comments

Decision model-based tool call guardrails for Claude Code, Codex, and Cursor

https://twitter.com/Nandakishorm1/status/2117000769148957070
1•porridgeraisin•12m ago•0 comments

Show HN: SpotKat – a free cat register with a lost-cat network

https://spotkat.nl/en
1•assorium•14m ago•1 comments

Show HN: Shipvo – open-source RN OTA updates and an AI-drivable simulator

https://github.com/shipvo/shipvo
1•hansade•17m ago•0 comments

Pratt parsing is a black box

https://vinipsmaker.github.io/blog/article/pratt-parsing-is-a-black-box/
1•swq115•24m ago•0 comments

Single-Use Software

https://blog.zombienw.com/posts/single-use-software
1•zombienw•25m ago•0 comments

Blaize GSP [Graph Streaming Processor] Streams AI Graphs at the Edge

https://www.jonpeddie.com/news/blaize-gsp-streams-ai-graphs-at-the-edge/
1•peter_d_sherman•30m ago•0 comments

Show HN: HackerHack – HackerBooks but for Posts Posted on HN

https://news.ycombinator.com/
3•mw888•31m ago•1 comments

What are the amenities available in Amrapali Verona Heights project?

1•amrapaliflats24•32m ago•0 comments

Elephant-Goldfish Model from Google

https://github.com/google/elephant-goldfish-model
1•endangeredhuman•34m ago•0 comments

More than Infinitesimal: What is dx?(2014)

https://math.blogoverflow.com/2014/11/03/more-than-infinitesimal-what-is-dx/
1•nill0•35m ago•0 comments

GoW Ascension static recompilation PC port

https://github.com/snuri00/GoWA-pc
1•recomp001•37m ago•0 comments

A rising tide raises all rents

https://jyn.dev/rising-tide-raises-rents/
2•reasonableklout•38m ago•0 comments

Understanding Org's Latex Previews

https://karthinks.com/software/understanding-org-latex-preview/
3•signa11•40m ago•0 comments

Show HN: Northstar web browser engine 1.0.40 released

5•andreasrosdal•43m ago•1 comments

Diffreview – code review for local Claude diffs

https://github.com/chalmagean/diffreview
1•mixandgo•49m ago•0 comments

From Charlemagne to the Kitchen Boy: Reading the Hamburg Rathaus

https://alsterrunde.com/from-charlemagne-to-the-kitchen-boy-reading-the-hamburg-rathaus/
2•mertbio•51m ago•0 comments

Show HN: Spiceliner, a modern platform to navigate the markets

https://spiceliner.com
1•ddk_•53m ago•1 comments

Dev Notes and Small Tools

https://news.ycombinator.com/user?id=oliversant
3•freyamar•1h ago•3 comments

Rocky Linux Creator Built a New 'Not Linux' Kernel in 11 Days Using AI

https://github.com/gmkurtzer/ginux
3•signa11•1h ago•0 comments

Reliably aligning LLMs is impossible in principle

https://www.seangoedecke.com/alignment-is-impossible/
3•random42•1h ago•0 comments

Small Tools and Dev Notes

https://news.ycombinator.com/user?id=sofia84
3•tomasfelix•1h ago•2 comments
Open in hackernews

GenAI-Accelerated TLA+ Challenge

https://foundation.tlapl.us/challenge/index.html
35•lemmster•1y ago

Comments

Taikonerd•1y ago
Using LLMs for formal specs / formal modeling makes a lot of sense to me. If an LLM can do the work of going from informal English-language specs to TLA+ / Dafny / etc, then it can hook into a very mature ecosystem of automated proof tools.

I'm picturing it something like this:

1. Human developer says, "if a user isn't authenticated, they shouldn't be able to place an order."

2. LLM takes this, and its knowledge of the codebase, and turns it into a formal spec -- like, "there is no code path where User.is_authenticated is false and Orders.place() is called."

3. Existing code analysis tools can confirm or find a counterexample.

omneity•1y ago
A fascinating thought. But then who verifies that the TLA+ specification does indeed match the human specification?

I’m guessing using an LLM as a translator narrows the gap, and better LLMs will make it narrower eventually, but is there a way to quantify this? For example how would it compare to a human translating the spec into TLA+?

justanotheratom•1y ago
maybe run it through few other LLMs depending on how much confidence you need - o3 pro, gemini 2.5 pro, claude 3.7, grok 3, etc..
svieira•1y ago
Then you need to be able to formally prove the equivalence of various TLA+ programs (maybe that's a solved problem?)
omneity•1y ago
No idea about SOTA but naively it doesn't seem like a very difficult problem:

- Ensure all TLA+ specs produced have the same inputs/outputs (domains, mostly a prompting problem and can solved with retries)

- That all TLA+ produce the same outputs for the same inputs (making them functionally equivalent in practice, might be computationally intensive)

Of course that assumes your input domains are countable but it's probably okay to sample from large ranges for a certain "level" of equivalence.

EDIT: Not sure how that will work with non-determinism though.

justanotheratom•1y ago
I didn't mean generate separate TLA programs. Rather, other LLMs review and comment on whether this TLA program satisfies the user's specification.
Taikonerd•1y ago
A fair question! I'd say it's not that different from using an LLM to write regular code: who verifies that the code the LLM wrote is indeed what you meant?
fmap•1y ago
The usual way to check whether a definition is correct is to prove properties about it that you think should hold. TLA+ has good support for this, both with model checking as well as simple proofs.
frogmeister57•1y ago
It makes a lot of sense only for graphics card sales people. For everyone else with a working neuron the sole idea is utter nonsense.
max_•1y ago
Leslie Lamport said that he invented TLA+ so people could "think above the code".

It was meant as a tool for people to improve their thinking and description of systems.

LLM generation of TLA+ code is just intellectual masterbation.

It may get the work done for your boss. But you intellect will still remain bald — in which case you are better off not writing TLA+ at all.

warkdarrior•1y ago
> [TLA+] was meant as a tool for people to improve their thinking and description of systems.

Why the speciesism? Why couldn't LLMs use TLA+ by translating a natural-language request into a TLA+ model and then checking it in TLA+?

jjmarr•1y ago
Not the OP, but I would rather give a formal specification of my system to an AI and have it generate the code.

I believe the point is it's easier for a human to verify a system's correctness as expressed in TLA+ and verify code correctly matches the system than it is to correctly verify the entire code as a system at once.

Then, if my model of the system is flawed, TLA+ will tell me.

I'm an AI bull so if I give the LLM a natural language description, I'd like the LLM to explain the model instead of just writing the TLA+ code.

max_•1y ago
TLA+ was invented in the first place because we Leslie Lamport thought natural language was a dubious tool for "specifying systems".

Yes an LLM may generate the TLA+ code even correctly, but model checking is not the end goal of TLA+

TLA+ plus is written to fully under how a system works at an abstract level.

Anyways, I guess you could just read the LLM generated TLA+ code. That would help you understand the abstraction of the system — but is the LLMs abstraction equal to your abstraction.

But vibe coded TLA+ sounds extremely dangerous especially in mission critical stuff where its required like Smart Contracts, Pacemakers, Aircraft software etc

frogmeister57•1y ago
Using generative chatbots to write a formal spec is the most stupid idea ever. Specs are all about reasoning. You need to do the thinking to model the system in a very simplified manner. Formal methods and the generative BS are at the antipodes of reliability. This is an insult to reason. Please keep this nonsense away from the serious parts of CS.
siscia•1y ago
Anyone who has tried to write formal verification will tell you that there is a WIDE gap between thinking and writing the specs.

Any tool that makes formal verification more accessible, should be welcome.

I believe the valuable part is how accessible we make thinking together with machines.

Us human are great at create innovative solutions, not so great at check and verify every single thing that can go wrong. Machines help with that.

kelseyfrog•1y ago
Interesting. I've always wanted to formalize the US Constitution into TLA+ in order to find loopholes.