Daniel Firth (Inspector GADT)

5.9K posts

Daniel Firth (Inspector GADT) banner
Daniel Firth (Inspector GADT)

Daniel Firth (Inspector GADT)

@locallycompact

Haskell, Nix, Mathematics @ https://t.co/v3jt0w7n91

Katılım Ağustos 2012
803 Takip Edilen1.4K Takipçiler
Daniel Firth (Inspector GADT)
@johnzabroski Tldr stackage has a chicken and egg problem with regards to library maintenance because it's so heavily used by library authors themselves in order to supply the manifest that they would use to execute their compatibility upgrades. Nix gives you *some* options to bypass that.
English
1
0
1
16
John Zabroski
John Zabroski@johnzabroski·
@locallycompact Inspector GADT is such a great nickname. If I worked with you, I would feel obliged to call you that at all times. But I am having a hard time seeing where you speak directly about these limitations? Where is the actual transcript? Or do I have to listen to all 46 minutes?
English
1
0
0
6
Daniel Firth (Inspector GADT)
But it's morally equivalent to this: ``` compiler "ghc-9.6.4" modifiers $ do doJailbreak True package "lens" $ do url "http://..." rev "...." package "aeson" $ do ... ``` Which is a valid free monad and naturally has any number of interpretations. So why isn't that first class data with multiple outputs?
English
1
0
0
18
🌵
🌵@fresheyeball·
because the data structure is syntactic in your example. cabal can do this because the output structure is set in stone. The type definition for cabal files is in a completely different language hidden from the user. We also cannot have functions that return arbitrary bits. Part of the power in configuration management is the ability to yield more than one output form the same code, which means data must be first class.
Harney, CO 🇺🇸 English
1
0
0
10
💻🐴Ngnghm
💻🐴Ngnghm@Ngnghm·
Static types catch errors early and that's great—but they also catch non-errors early, preventing you from writing the software you want—and that's terrible. Those who only tell you about one side of the tradeoff, or claim the other side is universally negligible—are dishonest.
English
30
12
127
12.3K
Daniel Firth (Inspector GADT)
@fresheyeball Rather than all these nested ADTs I'd like to just assume more in the interpretation. ``` compiler: "ghc-9.6.4' modifiers: doJailbreak: True package "lens" ... package "aeson" ... ``` Sort of more like cabal.project.
English
1
0
0
19
🌵
🌵@fresheyeball·
config: HorizonExport makeOverlay compiler: "ghc-9.6.4" packages: [ callHackage name: "aeson" version: "2.2.3.0" , callGit name: "my-lib" url: "github.com/foo/my-lib" revision: "abc123" ] is the best I can do right now.
Harney, CO 🇺🇸 English
1
0
0
14
🌵
🌵@fresheyeball·
@locallycompact The system is extremely flexible to design changes. So I wouldn't mind making this a priority if it moves the needle for you.
English
1
0
0
13
🌵
🌵@fresheyeball·
@locallycompact I am sorry, I can't intuit your intentions. Give me a call.
English
1
0
0
14
🌵
🌵@fresheyeball·
@locallycompact I am confused. That is not valid syntax. What does it look like in Dhall?
English
1
0
0
13
Daniel Firth (Inspector GADT)
They translated this directly from dhall into paradox and it's more verbose than the dhall. ``` config: HorizonExport HorizonExport.makeOverlay MakeOverlayArgs: compiler: "ghc-9.6.4" packages: [ Package.callHackage CallHackageArgs: name: "aeson" version: "2.2.3.0" , Package.callGit CallGitArgs: name: "my-lib" url: "github.com/foo/my-lib" revision: "abc123" ] ```
English
1
0
0
31
🌵
🌵@fresheyeball·
@locallycompact I don't understand what you're asking
Frederick, CO 🇺🇸 English
1
0
0
14
🌵
🌵@fresheyeball·
@locallycompact Let me know any issues or if you run into anything. It's still Alpha. I expect we'll run into something and I'll need to fix it.
Harney, CO 🇺🇸 English
1
0
0
36
BOOTOSHI 👑
BOOTOSHI 👑@KingBootoshi·
HOLY FUK I JUST LEARNED ABOUT TLA+ AND IT'S SO GOOD FOR AGENTIC CODING ur telling ME that i can mathematically fact check every possible scenario of my design STATE to prevent bugs and crashes AND IF IT FINDS SOMETHING THE AGENTS GET INSTANT FEEDBACK AND LOOP FIXING IT TILL IT ALL POSSIBLE BUGS IN THE DESIGN ARE PATCHED LOL THIS IS OP
BOOTOSHI 👑 tweet media
English
93
58
1.4K
270.5K
🌵
🌵@fresheyeball·
Haskell is the best language for vibe coding and it's not even close.
Harney, CO 🇺🇸 English
9
2
24
1.5K
Daniel Firth (Inspector GADT)
Daniel Firth (Inspector GADT)@locallycompact·
@fresheyeball We don't need LLMs to be deterministic. We only need to stop relying on the LLM after you successfully got it to make a tool that is deterministic.
English
1
0
0
30
Tom Sydney Kerckhove
Tom Sydney Kerckhove@kerckhove_ts·
IME the biggest reason that communication about testing fails is that people don't understand the difference between: "The tests verify that the code works." and "The tests fail to establish that the code does not work."
English
6
12
111
3.6K