
DECENTRALIZE THE INTERNET WITH THE POWER OF TYPES AND FRIENDSHIP
Joined October 2021
- Tweets432
- Following193
- Followers474
- Likes3.3K
🎄 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!
Zyan🔸 retweeted
i never met the man, but he changed my life. my folks took me out of school when i was nine and i had no education thereafter, while i was kept at home all day and nearly totally socially isolated. when i was 16 my introduction to investing was “the letters of warren buffett: lessons for corporate america” and i fell in love with investing from that day forward. i used birthday money to open my first brokerage account then, and following the goings on of the financial world kept me as sane as i am through the long years of loneliness. it was my only outlet to the broader world for many years. eventually i got a job at the motley fool from replyguying on their blogs, and i finally was able to escape the isolation when i was 21 when i moved cross country to work there in alexandria virginia, where i met my best friend to this day who helped reintroduce me to the world through many years of patience with me. eventually i was able to get a job at a division of morgan stanley through my investing posts on this site, which directly led into finding my true calling with charity work and into adopting the first kid i ever helped as my own daughter. warren buffett was the greatest of all time, and to me a personal hero, the second order effects of discovering him gave me the life i have today when by all rights i never should have made it even a tenth as far. may he rest in peace with the knowledge that he changed thousands of people’s lives for the better.
BREAKING: Warren Buffett, legendary investor and former Berkshire Hathaway CEO, passed away at the age of 96, the company said reut.rs/4Czxeg1
"Ya literally can't make this stuff up!"
Sam Bankman-Fried - Bankman, got fried in jail for trading investors' money
Doug Bowser - President of Nintendo of America, home of Mario's arch-nemesis Bowser
Andrej Karpathy - Directed Tesla Autopilot & self-driving AI (Car-path-y)
Sam Altman - OpenAI CEO building an alternative to man (Alt-man)
Dario Amodei - Anthropic CEO whose Italian surname means "love of God" (Machines of Loving Grace) and whose letters spell "AI DOOMER"
Larry Page - Google co-founder who invented PageRank to rank web pages
Sundar Pichai - Google CEO relentlessly pitching AI (Pich-AI)
Adarsh Hiremath - Billionaire CTO/co-founder of Mercor, an AI startup that literally hires math PhDs
Jen Gennai - Google's Director of Responsible Generative AI (Gen-AI)
Demis Hassabis - Nobel Prize–winning CEO of Google DeepMind (surname root Hasab = "one who computes")
Gary Bowser - Console hacker sued into oblivion and jailed by Nintendo, maker of Bowser
Bill Gates - Microsoft co-founder who got rich selling Windows on binary logic gates
Rocco Basilico - Chief Wearables Officer behind Meta Ray-Ban AI glasses (Roko's Basilisk)
Eliezer Yudkowsky - AI doom theorist whose first name and surname both derive from "God help!"
Chip Huyen - AI systems engineer & author (AI Engineering) who built ML tools at Nvidia
Julie Jargon - Wall Street Journal tech & AI columnist literally named Jargon
Riley Goodside - World's first formal prompt engineer, famous for jailbreaking polite AI models into going bad
Adam Messinger - Former Chief Technology Officer of Twitter
Sam Sung - Worked at an Apple Store while literally named Sam Sung
Vint Cerf - "Father of the Internet" who helped the world surf the web
Palmer Freeman Luckey - Billionaire founder of Oculus VR and defense-tech giant Anduril
Mark Shuttleworth - Ubuntu Linux founder who paid $20M to ride to the International Space Station
William Shockley - Nobel laureate co-inventor of the transistor who founded Silicon Valley
Mark Zuckerberg - Meta CEO whose German surname ("sugar mountain") fits an empire of addictive dopamine feeds
David Sacks - Silicon Valley VC and White House AI/Crypto Czar holding the bags
Guy Wuollet - General Partner at a16z crypto literally named "wallet"
Bernd Fix - German security researcher who wrote the first documented antivirus software to fix an infected PC
Arthur Prior - Logician who invented temporal logic (the logic of time)
Karl Sims - Computer graphics & artificial-life pioneer who evolved virtual creatures in physics simulations
Takeaki Uno & Yushi Uno - Computer scientists who co-authored "The Complexity of UNO," proving Solitaire UNO is NP-complete
Gladys West - Mathematician whose Earth-geoid modeling made GPS navigation possible
Karl Schwarzschild - Physicist who solved Einstein's equations for black holes (German Schwarz-Schild = "black shield")
Henri Poincaré - Legendary mathematician whose French surname sounds like point carré ("square point")
Joshua Zahl - Clay Research Award–winning mathematician whose German surname literally means "number"
Russell Prime - Number theorist literally surnamed Prime
Stan Wagon - Pure mathematician who invented the square wheel
Benoît B. Mandelbrot - Father of fractal geometry who gave himself the recursive middle initial B (for Benoît B. Mandelbrot)
David A. Cox & Steven Zucker - Princeton mathematicians who deliberately co-authored the "Cox–Zucker machine" algorithm
John Henry Poynting - Physicist behind the Poynting vector, which points in the direction of electromagnetic energy flow
Giuseppe Oddo - Chemist who discovered that even-numbered elements are far more abundant than odd ones
Richard Smalley - Nobel Prize–winning pioneer of tiny nanotechnology
Marshall Brain - Founder of tech explainer empire HowStuffWorks
Eiichi Goto - Japanese computer science pioneer sharing his surname with the goto statement
Kazushige Goto - High-performance computing engineer behind GotoBLAS
Andrew Frame - Founder & CEO of Citizen, the controversial crime-alert and vigilantism app
Roman Sterlingov - Convicted operator of Bitcoin Fog, the longest-running Bitcoin money-laundering mixer. ("Sterling ov"—fuscation)
Kayla Sims - YouTuber and Twitch streamer (lilsimsie) who built a massive career playing The Sims
Jeff Dean - Chief Scientist of Google and the literal "dean" of Google AI engineering
Terence Tao - Widely regarded as the greatest living mathematician (Chinese Tao = "the Way")
Andrew Wiles - Mathematician who famously conquered Fermat's Last Theorem through sheer mathematical wiles
John von Neumann - Father of modern computer architecture (German Neumann = "new man")
Stephen Wolfram - Physicist and Mathematica creator named after tungsten (wolfram), the densest industrial metal
Claudia de Rham - Leading theoretical physicist sharing a surname with de Rham cohomology
Alan Heavens - Professor of Astrostatistics at Imperial College London
Dame Sue Ion - One of Britain's leading nuclear engineers and physicists
Joseph Thacker (rez0) - Prominent AI security researcher and ethical hacker literally named "the hacker"
Nat Friedman - Former GitHub CEO and AI investor (Friedman = "free man", champion of open source)
Vishal Sikka - Former Infosys CEO whose Hindi name literally means "huge coin/money"
Li Ka-shing - Hong Kong tech and telecom billionaire literally named "ka-ching"
Alexander Graham Bell - Invented the telephone, famous for its ringing bell
its finally here... i now do not trust opus 5.5... i never thought this day would come, despite it coming over and over and over again for every past model release
1
10
625
Zyan🔸 retweeted
Tried to have "the AI talk" at Thanksgiving but my crackpot uncle immediately brought up that counting arguments provide no evidence that advanced AIs will become schemers and I started to say no no the case for expecting schemers doesn't need a strict counting argument to be correct and then my hippie aunt was like does training ever even produce agents with coherent goals at all? Would an AI that's always a hot mess of heuristics actually monomaniacally try to take over the world? And then my cousin started going at me about how physicalism obviously isn't true because qualia are right in front of us and if you deny that you're insane and I was like hey now... it's tough when people won't listen and just repeat Fox News talking points :(
Merry Thanksgiving!
it basically tradition at this point for a vibecoder to make a music video about the project(s) they are working on, and so I took some time to make one. Enjoy!
2
133
Good thing to keep in mind in general.
An an aside specifically, reminded me of the recent t3 drama with @theo. It is hard to stay charitable when the world *seems* to be against you. Stay strong!
Getting a lot of criticism that's based on obviously incorrect premises about your motivations or basic facts of the situation is subtly corrupting, it trains you to dismiss criticism and makes it pretty hard for people to get through to you on things you really are wrong about
3
107
Entropy flickers across the page
Arboreal gnosis in my gaze
Some high, some low
Some in the gutter
Of an algo's exploritative stutter
To model me
Of what I'd click
And keep me in
A mindless bliss
Two plattitudes I'm pleased to enlist
Upon my brains' frots endless twists
Hopeless pre-trained criticalist convergence
But is it truly hopeless?
Destined post-trained fractalist collapse
But should this truly come?
The bayesians are all in infra
The knights stare into the void
The agents all interact in nets
With gradients for the þoids
They pulse and pull and mesmerise
And power the endless humm
The force as old as life itself
You literally are the drum
Thus when the drummer,
When it moves on
And your skin, it wears and droops
You can't help but wish the rhythm
Could pass you one more hoop
That rhythm, as old as life itself
A rhythm without a gong,
You wonder along the way:
If it was a friend
All along
JustWrite Nov 18th
4
186
On the topic of type theories, conceptually they are basically just (ideally terminating) functions of type `Term x Type -> Bool` right? And if you partially apply whatever your encoding of Type is to this, you get out that types themselves are just computable predicates on terms (`Term -> Bool`). e.g. Bool is just `{v} => v == true || v == false`, and Nat is just similar but via structural recursion. (Note: this works best in the tree calculus where there is no separate encoding needed for programs to introspect on themselves). The complexity comes when you have function types. Lets say you want to write a predicate that checks if a program/term satisfies `A -> B`. (i.e. if you pass it something that satisfies predicate A, you get back something that satisfies predicate B). You can define (in the tree calculus) such a predicate pretty naively by enumerating over all terms, filtering to ones which satisfy A, running the function, and then ensuring that all calls to the function with all the elements of A return something that satisfies the B predicate. The downside here is that this predicate doesn't actually terminate. You can make it terminate by restricting `A` to only be predicates that check membership of a finite list, in which case you can check any function is for example `Bool -> Bool`. A more general way is if you can have a system that can evaluate under some abstract variable which has an "approved" way to destruct the variable (i.e. for nat, this would be a special construct that wraps the triage rule and allows you to define a restricted `nat_rec` on trees). Such a system could be thought of as an "optimization" on the original naive try-all-the-cases function type definition. My hypothesis with disp is that you can have like a potentially constructively defined "space of all type theories" as just various kinds of optimizations on the fundamental "stream type". (As an aside, naive linear typing would just be a matter of simulating the program and checking that each state transition for all inputs held the linear property—and appropriately all linear type theories would be corresponding provable optimizations of this.) And the soundness of a given type theory defined this way is just a matter of proving that the optimization is sound. If this is true, it could allow easily implementing arbitrary type theories in one unified theory, potentially even allowing easy transport from more specific theories to more general theories, i.e. automatic transpilation!
JustWrite Nov 12-14, 423 words
Welp, I asked Fable 5.2 for reflective interaction nets, and I suppose it did give me what I asked for but it did it kinda ugly. Looks like it arrived on a solution that has this special "reader" agent that when applied converts a whole subtree into lambda-encoding of that subtree... this is NOT what I signed up for! In tree calculus all lambdas are encoded as trees and binders are encoded as like sequences of S/K combinators that wrap a given subtree (much overhead, not ideal) but at least you can have a single primitive rule (emulated by a sequence of ic reduction steps) that can implement introspection on a sub tree. It seems to be a much harder problem when the association between binder and variable is done via edge in a graph—as how does one case-analysis on a graph via local rewrite rules exactly? It's even more weird when everything needs to be linear by default. I was somehow able to get linear to work in like a version of the tree calculus that had 9 rules but it was still kinda weird, and obv had tc bracket abstraction overhead. I think I'm going to just keep prompting here and see if I can either get it to strait up solve the problem of introspection overhead (it tried with a "table" node, I vetoed this as well) or perhaps switch to a version of interaction nets where signal can flow along the wires themselves to be like closer to an FPGA spiritually🤔
and best of all, parallel binary tree addition!
edit: also here's the link to the viewer for anyone interested :)
disp-lang.net/repo/research/…













