We doubled down by creating exceptions. Exceptions are abstracted gotos. Hidden in the code base deep inside call stacks, jumping over multiple functions at once. Exception-safe coding is identical to goto-safe coding, except that goto-safety is local and explicit. Easy to prove.
Dijkstra called goto harmful in 1968
the Linux kernel contains tens of thousands of goto statements
the label out alone appears thousands of times
Linus's response on LKML in 1997: "there's nothing wrong with gotos, especially for handling error cases"
@ericc__ch@mitsuhiko In the most nightmare-ish way.
const re = /foo/g; re.test("foobar"); re.test("foobar");
The first is true the second false. Great design.
Preparing these lecture notes is massively entertaining and instructive to me. I am still not fully untangled on what the end lesson will be here.
(Still in progress, but writing up the notes as I get to each next lecture, so publishing increments)
ucsd-cse-115-215.github.io/sp26/lectures/…
re: laughed out of the room.
this is why i think we will get a revenge of the PLT nerds event. there is so many nerds who have been suppressed with this train of thinking that are very close to “fuk it, it’s easy now. hold my beer and weep gatekeepers of yesteryear”
ie: fringe stuff like treecalcul.us
After 6 years, finally be able to ends my last chapter of the last paper in PhD time with the same style title of the first paper I read in first day of my PhD confidently.
We on the @EffectTS_ team we often recommend cloning the Effect repo into your project so your agent can explore the source directly.
I finally wrote up why it works and how to set it up:
effect.website/blog/the-one-w…
To whom it may concern
NanoProof.hs: the smallest viable proof checker
I posted something similar before, but it was more of a research experiment with weird λ-encoded shit, than something usable. This new repo contains a tiny, 1000-LOC Haskell self-contained proof checker that you can actually use to prove arbitrary theorems.
The language has just 6 base types:
→ Empty (`⊥`): type with 0 elems
→ Unit (`⊤`): type with 1 elem (`()`)
→ Bool (`𝔹`): type with 2 elems (`0 | 1`)
→ Sigma (`ΣA.B`): dependent pairs (`(x,y)`)
→ Pi (`ΠA.B`): dependent functions (`λx.f`)
→ Equal (`a==b`): propositional equality (`{==}`)
That's all you need.
Each of these is needed, as it introduces something fundamental. The file includes a parser, stringifier, equality, a bidirectional type checker, and a simple CLI. It also includes first-class reduction relations, which allow us to pretty print goas just like Lean. You can place '()' in a position to inspect the current context and goal there. I also include a demo proof for the commutation of multiplication.
Our synthetic Euclidean Geometry proof assistant is now open for public contributions! We created this together as a class in my Build Your Own Proof Assistant course this semester. Please give it a spin and consider contributing!
github.com/nicegeo/nicegeo
5 lines of python. an economic game with complex equilibria.
Our new language Pact uses Choreographies with game theory, allows expressing economic transactions in lines. So simple an agent could write it
Claude? make me some money. and make no mistakes
arxiv.org/abs/2605.03143
421 Followers 46 FollowingIncoming Assistant Professor @ Imperial College London, Research Assistant Professor @ The Hong Kong University of Science and Technology
5K Followers 550 FollowingProfessor of Security Engineering; Head of @uclisec; Director @OpenRightsGroup. 🐘 https://t.co/fmgm3nArbb 🦋 https://t.co/rGb0q8302r
1K Followers 519 Followinghe/any Senior Lecturer, @ANUComputing. I leave these tweets, I do not know for whom, I no longer know what they are about. 한국어도 할 수 있다: @liamoc_kr
281 Followers 1 FollowingQuickstrom autonomously checks any type of web application. Run thousands of tests and find complex bugs.
Built by @owickstrom and @kamatsu8.
1K Followers 294 FollowingApproach Problems Like Never Before - Dyalog is a world-class APL development environment. #Dyalog #APL https://t.co/6oXhK6mcJ0
1K Followers 1K FollowingWhen not programming or teaching CS @ucsd_cse, I go to the dog beach. Spending more time as 🟦 https://t.co/k4HOSHhpwb these days. https://t.co/4skMx005C5 | https://t.co/v4f2VUk4D2
59K Followers 3K FollowingLabubu long term investor/bag holder. Trading as a hobby. All of my tweets are just my personal opinions. Not financial advice
23K Followers 389 FollowingTrusted by Coinbase, MetaMask, Stellar, and more to detect, understand, and protect against fraud, scams, and exploits in real time.
706 Followers 3K FollowingStaff scientist at your favorite defense company; YC S24; CS PhD @ GRFP; 10p blue belt; created https://t.co/WhGddB7FY7 in 2020; secure program synthesis enthusiast
4K Followers 1K FollowingEngineering @figma. Previously, Dropbox and Berkeley Grad Student. Opinions are my own, and mostly wrong. Him/he.
Also on @[email protected]