Daniel Firth (@InspectorGADT) header
Daniel Firth (@InspectorGADT) profile picture

Haskell, Nix, Mathematics @ https://teapawt.net/t.co/VjGooH6UaG

Joined August 2012
Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)Photo by Daniel Firth (@InspectorGADT)
nixlab.openfp.net/package-se… Here is package set with dependently typed GHC.
good news: Dependent Haskell is now available! bad news: it's all vibe coded to showcase it, I've ported PLFA to dependent Haskell, included some realworld examples etc. it even has a WASM playground, so you can start playing around with it right away! find the link below!
1
1
16
862
NixLab Android App built with Haskell to JavaScript.
1
1
15
548
Daniel Firth retweeted
Crowds are fundamentally incapable of making long term decisions that support the price. Democracy is a looting function on the treasury. Cardano's leaderlessness is why the price is depressed. Making long term decisions is what CEOs are for. In my encoding, the CEO has unilateral control over treasury spending proposals that can be vetoed by a board majority. The board can fire the CEO with a majority. Stakeholders can fire the board, and also flip the table over by rewriting the constitution. This keeps the CEO accountable for the price but maintaining overwhelming directive control day to day.
3
3
4
270
Here's my proposal for fixing Cardano's governance. This is valid Vortex code for a toy blockchain. This makes the governing bodies logic updateable by protocol parameter change rather than a hard fork. The monad itself is a protocol parameter.
3
3
1
13
1,206
Decentralization is good for proof of stake because it helps spot bad actors. But decentralized governance is pure nonsense. Crowds can not make intelligent decisions about the future of anything. By removing Voltaire, Cardano will naturally heal in 6 months tops. It is this artificially and deliberately imposed leaderlessness that is keeping the price depressed.
1
8
547
I will take over Cardano and tell you what to do.
1
1
7
325
Here's how a Cardano transaction.vx file could look written in Vortex. That's not an excerpt, that's the whole file. Everything is interpretable or assumed. vortex.openfp.net
1
8
336
miniproof is designed to compile straightforwardly into quickcheck-dynamic model tests in Haskell On the left the miniproof and on the right the corresponding Haskell miniproof.openfp.net
1
13
114
5,162
Haskell is going to win. With the help of the clankers, not in spite of them.
"Panic from a missing nil-check happens once every couple of months"
13
7
1
102
3,104
"Panic from a missing nil-check happens once every couple of months"
Replying to @thorstenball
Agreed. We have shockingly few production errors these days. E.g. panic from a missing nil-check happens once every couple of months, and usually involves legacy code humans partially wrote. At this point, if I write it by hand you are going to get more bugs.
2
2
2
43
5,593
What do you call it when a mathematician hastily writes a bunch of angry emails but leaves them in drafts because he doesn't have the nerve to send them? The Hurry–Coward correspondence.
7
21
541
The bar for software is now "Prove it with equational reasoning from first principles and if you can't you're full of shit." as it should be.
2
7
48
1,691
Mouse users are like "Just click a button."
Using the AI terminal CLI is mostly an ego thing. The desktop app looks better and does the exact same job. Most developers just use the terminal so their non-tech coworkers think they’re doing matrix-level programming. Clicking a button does the job. Stop pretending.
2
4
280
Daniel Firth retweeted
"Why is formal verification exploding NOW?" 1. Nobody understands the code LLMs write 2. Everybody hopes for some deus ex machina
"Why is formal verification exploding NOW?" 1. Cost of proofs is going DOWN (as AI gets more capable) 2. Cost of exploits is going UP (as AI gets more dangerous) 3. Proofs exterminate exploits 4. Bonus: proof checking = perfect math/coding RL reward The rest is economics
12
43
7
765
22,493
Daniel Firth retweeted
If you’re formally verifying software with Lean and you’re not proving inductive specs you’re doing it wrong Inductive specs allow you to describe and prove powerful properties like “this app will never crash” or “nobody can steal funds”
11
6
1
89
4,404