David Abram 🐊 (@devabram) header
David Abram 🐊 (@devabram) profile picture

Software development consultant β€Ί I fix orgs so they stop breaking prod Β· SCE fixes this (https://www.nitter.cf/t.co/yfc3IGf4kS) Β· populizer of the term typefuckery

Zagreb, Croatia
Joined October 2014
Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)Photo by David Abram 🐊 (@devabram)
It's worth it.
6
1
115
23,186
Broke: Technical debt Woke: Cognitive debt Bespoke: Epistemic debt
2
5
216
Your mom is so fat, that she is post-quantum.
2
71
How dumb would be to introduce monad and comonad keywords into a language?
13
1
35
4,119
We would like to extend our heartfelt thanks to Drew DeVault for his kind words and for nominating typememetics for the prestigious "Weird Little Guys of FOSS" award. It is an honor to have our contributions to type safety, free software, and formal verification recognized.
10
8
5
192
11,384
πŸŽ„ Advent of Types - Day 4 Given the following signature: puzzle :: (a -> a) -> (a -> a) -> a -> a Your challenge: 1. How many observationally distinct total implementations exist? 2. Characterize them all. 3. Prove that no other implementations exist. Any sufficiently typed language is welcome. No unsafe operations, no partial functions, no golang, no cheating. Truth in Types, Safety in Thought.
20
13
2
116
12,251
I am porting Laravel back to PHP. The devs in question don't deserve Rust.
2
17
461
You could prepare for an AI-generated software apocalypse by exchanging Haskell compilers before you need them. Say you fill two flash drives with identical copies of GHC, its dependencies, and a collection of verified libraries and hand one to your buddy, i.e. you establish a trusted compilation environment. You could then exchange well-typed programs even if the entire software ecosystem is flooded with AI-generated nonsense. And how would you exchange your Haskell programs? Any way you want, because you’re not depending on the intelligence of the authoring medium. You could use email, snail mail, or courier pigeons. Haskell programs are naturally plain text, so you could even write them by hand. This would certainly be inconvenient, but at least they would type-check.
3
8
42
1,903
πŸŽ„ Advent of Types - day 3 Type theory puzzle every day! Given the following signature in Haskell: puzzle :: (Either a b -> c) -> (a -> c, b -> c) Your challenge: 1. Implement the function. 2. Implement its inverse. 3. Prove that both compositions yield the identity. 4. Identify the mathematical law behind this isomorphism. Any sufficiently typed language is welcome. No unsafe operations, no partial functions, no golang, no cheating. Truth in Types, Safety in Thought. Happy Advent of Types!
20
8
7
94
6,391
I am here to compile Rust and fill my SSD, and I am all out of SSD space.
1
4
200
So a type hater (@potetm) forced me (at a gunpoint) to make Advent of Types (@typememetics), so now I am re-learning type theory.
2
3
2
27
1,640
πŸŽ„ Advent of Types - day 2 Type theory puzzle every day! Given the following definition: type Not a = a -> Void And three function signatures: puzzle1 :: a -> Not (Not a) puzzle2 :: Not (Not a) -> a puzzle3 :: Not (Not (Not a)) -> Not a Your challenge: 1. Determine which functions can be implemented. 2. Implement them wherever possible. 3. Prove why the remaining function cannot be implemented. 4. Explain what this reveals about classical and constructive logic. Any sufficiently typed language is welcome. No unsafe operations, no partial functions, no classical axioms, no golang, no cheating. Truth in Types, Safety in Thought. Happy Advent of Types!
23
15
8
107
8,679
πŸŽ„ Advent of Types - day 1 Type theory puzzle every day! Given the following signature: distribute :: (a, Either b c) -> Either (a, b) (a, c) Your challenge: 1. Implement the function. 2. Implement its inverse. 3. Prove that both compositions yield the identity. 4. Identify the mathematical law behind this isomorphism. Any sufficiently typed language is welcome. No unsafe operations, no partial functions, no golang, no cheating. Truth in Types, Safety in Thought. Happy Advent of Types!
43
32
14
304
32,208
Primus sucks.
Type O Negative sucks. Fight me.
4
166
A compiler is just a Kleisli composition of effectful transformations.
2
1
27
2,239
Cooking finally makes sense.
4
35
2
292
5,344
> I can't schedule checks every 3 minutes. ChatGPT's minimum recurring check interval is one hour.
1
1
128
This is the best Zig codebase ever. If you are not using Roc rn, you will be left eating dirt with the rest of the Golang devs. Very nice.
After eight years of development, announcing @roc_lang version 0.1.0! rtfeldman.com/roc-0.1.0
7
2
1
221
21,206
It's high time to compile roc interpreter to webassembly and use it as mcp codemode lang instead of javascript.
After eight years of development, announcing @roc_lang version 0.1.0! rtfeldman.com/roc-0.1.0
2
12
562
I can probably do this straight with FFI, but wasm memory isolation is really appealing.
2
44