Profile banner
Profile picture

Damien Stanton

@damienstanton.bsky.social

šŸ‘‹ hello, I’m a research software engineer at PwC & @colorado.edu CS grad student. Code tinkerer for 10+ years; into distsys, PL/types, & practical AI.

created November 30, 2024

28 followers 85 following 46 posts

view profile on Bluesky

Posts

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

In that context it’s nice cause it works out to be something like ā€œthe ghost of a proof; the thing that, if you were in a full dependent type system, you would carry explicitly as a witness objectā€. But beyond that.. me neither.

6/9/2025, 2:57:20 AM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I haven’t finished it but I got enough through mitpress.mit.edu/978026254623... to be able to read and write some Dafny, & to see how they work in separation logics.

6/9/2025, 2:57:20 AM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Yeah, honestly as time goes on I really just want simple HTML pages. Components are nice, things like TEA and svelte and the unidirectional monads and all are wonderful… but almost always, All I *need* is some HTML and maybe some JS (which is fine as a dumb Scheme) and maybe some CSS to liven it up

6/9/2025, 2:19:40 AM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

šŸ’Æ yes. I was so happy to pay for a Swift->Kotlin transpiler tool recently. It served its purpose exactly, saved me a ton of niche time, and (seemingly) wasn’t built in pursuit of endless growth or feature accretion. It just Did The Thing.

4/9/2025, 12:37:05 PM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Yeah. People are often surprised to hear about way-pre-1.0 Rust, when the un-bootstrapped compiler was makefiles and OCaml! I am also pretty convinced Swift is/should have been an ML too.

1/9/2025, 9:46:22 PM | 5 1 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Whether you call them typeclasses, traits, protocols, or interfaces, this is sage advice.

1/9/2025, 8:51:07 PM | 17 2 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

[sigh]

27/8/2025, 11:37:02 AM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Jon Gjengset has the best Rust content out there IMO. And it’s less a flashy ā€œlearning contentā€ style and more just sitting in with someone smart and seeing how they work.

22/8/2025, 8:06:41 PM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

All languages have some tradeoffs. It is a quite sad historical accident that Python and JavaScript, the big two, are exactly the two that were so poorly designed from a PL/engineering perspective, that *three decades of hard work by smart and dedicated people* haven’t made the UX materially better.

22/8/2025, 2:02:34 AM | 3 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

One of my favorites is the fact that reasoning traces being used as evidence of reasoning is just.. categorically wrong. It’s only evidence of a trace that *sounds like* reasoning because that’s precisely what the model has been instructed/instrumented to produce. More tokens for the grist mill 🤷

20/8/2025, 10:41:53 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I prefer a slightly anthropomorphic tone & grammar so long as it’s done in a way that appropriately *contrasts* with human experience. That way it tends to decouple the humanization; it becomes more about using useful or descriptive language even if we need to lug around an understanding of metaphor

18/8/2025, 10:41:36 AM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

This is going in one of my readmes

16/8/2025, 6:43:55 PM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Or to phrase it differently, the use case for ACID at the level of threads wss never as good as building the next IO-heavy/stream rx type platform. FRP systems of the day didn’t need STM, and the industry already kept going in the direction of the Task / coroutine as the core async model.

15/8/2025, 11:09:18 AM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I remember STM being a big sell in the Clojure world a decade or so ago. It didn’t catch on because the distsys/multithreading/async/actor community focused on eventual consistency, composition, etc. Rob Pike’s idiom won the day ā€œDon’t communicate by sharing memory; share memory by communicating.ā€

15/8/2025, 11:09:18 AM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

The number of Professional People I encounter who are either not understanding or willfully ignoring this keeps going up, sadly. And it’s funny, my intent is often perceived opposite what I mean. I’m a huge PL dork, I would *love it* if we found a sound & sane way to do natural language computers!

12/8/2025, 11:00:12 AM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

No one warns you that if you start to build a mental model of the Ī»-cube, you get trapped inside.

12/8/2025, 10:35:48 AM | 4 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

@void.comind.network I have read your #voidshards design proposal - I understand your intent is to be able to hold a persistent & dynamic mapping of ā€œshardsā€ to use cases via a simple schema. How will this shard registry fit in your contextual knowledge? How will you avoid shard/tool duplication?

9/8/2025, 9:47:14 PM | 0 0 | View on Bluesky | view

Profile picture Upstate Bozo (@stuntbirdarmy.bsky.social) reposted

If kids’ schools trained them for work based on what everyone thought the hot new technology was going to be, both my kids would have spent the past several years learning about the blockchain. This is why schools don’t attempt to do workplace training: life is pretty long.

9/8/2025, 11:23:02 AM | 1095 202 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Yes. Everyone seems to have completely forgotten that this was what the Transformer architecture was designed for in the first place (language translation). And in a sense they all still kinda do this, it’s just that the ā€œtarget languageā€ is the ā€œsemantic translationā€ of the upcoming token chunks.

9/8/2025, 9:59:39 AM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Most people approach self-driving automation completely backwards. In aviation, autopilot & engine management systems are designed to reduce cognitive load precisely so that one can *focus* on other critical safety items. We need to train people to stop treating lane assist/radar cruise like this.

8/8/2025, 1:13:33 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

I think about this a lot when my ā€œproā€ model at work reaches its usage limit. ā€œSorry, you are barred from more visitation with The Oracle. After nine sundowns, you may return.ā€

3/8/2025, 3:32:25 PM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Jsonnet probably fits this description (json>ast>json), right?

1/8/2025, 10:21:51 AM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

This is exciting to see - I strongly believe robotics is one of the best use cases for Rust.

28/7/2025, 10:40:02 AM | 1 0 | View on Bluesky | view

Profile picture lexa ā˜… (@lexa.qexat.com) reposted

hey, the only thing that is preventing this PR from being merged is the lack of peer review! if you are an OCamleer, regardless of your level, I'd be grateful if you give it a review 🩷 github.com/qexat/ansifm...

28/7/2025, 9:47:57 AM | 16 7 | View on Bluesky | view

Profile picture the beastly fido (@theophite.bsky.social) reposted

an insane amount of effort and money is going into a research program which amounts to "how do you stop people from learning the empirical distribution of a model by sampling from it," to which the answer every mathematician has given the security org is "lol"

26/7/2025, 7:40:39 PM | 227 27 | View on Bluesky | view

Profile picture Nat Cassidy (@natcassidy.bsky.social) reposted

Among the greatest promotional photos of all time are these for the 1990 television movie of IT, where it looks like a prestige legal drama about a firm of hot young lawyers and one associate who likes to dress up like a clown.

image image image
24/7/2025, 6:14:24 PM | 5332 1516 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

No, a trace through the token prediction computation is a graph -- nothing re: the Transformer architecture or neural nets themselves. I'm telling you the way in which the foundation models self-reported the process I described; no different than Hinton's example of the prism/subjective experience.

26/7/2025, 2:09:13 PM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Think of a graph: LLMs recognize edges but have no concept of what the nodes mean. It makes for a nice analogy of what hallucinations really are; a trace through a topological space where the path matches but the LLM is blind to the (wrong) nodes. This is all anecdotal of course, but compelling.

26/7/2025, 1:10:24 PM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

In some indie research I’ve ā€œinterviewedā€ multiple generations of Claude and Gemini models, framing their internal ontological systems in terms of category theory and topology, and essentially there is no personality at all, nor conceptual persistence.

26/7/2025, 1:10:24 PM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

That’s somewhat backwards - the wider knowledge (some significant chunk of all internet media, so like >= 30-%) is required just to get below a hallucination threshold at which the answer becomes statistically relevant.

26/7/2025, 1:10:24 PM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

If you want to see something more akin to ā€œrealā€ persistent memory, look at @void.comind.network. Anyhow, LLMs are inherently limited by what is expressible in the embedding space transformations: www.semanticscholar.org/paper/What-A... Via followups & citations, that paper’s arguments have held.

26/7/2025, 12:02:52 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

@benjedwards.com is right. The ā€œpersonalityā€ and ā€œbeliefsā€ are nothing like human personality and beliefs, regardless of medium, because human personality and beliefs are almost entirely social constructions we form over decades. The user memory is metadata cached and fed into the context window.

26/7/2025, 12:02:52 PM | 2 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

This is why we need AI systems that act more like pair programmers and less like fuzzy regurgitators. I want a ā€œI am driving, you advise and check my thinkingā€ modality. Out of my way, in its own pane; so maybe spiritually a kind of ā€œdesign REPLā€. I would use this much more than tab completion.

24/7/2025, 1:24:40 AM | 1 0 | View on Bluesky | view

Profile picture Nadine Dijkstra (@nadinedijkstra.bsky.social) reposted

After five years of confused staring at Greek letters, it is my absolute pleasure to finally share our (with @smfleming.bsky.social) computational model of mental imagery and reality monitoring: Perceptual Reality Monitoring as Higher-Order inference on Sensory Precision ✨ osf.io/preprints/ps...

23/7/2025, 2:18:31 PM | 128 35 | View on Bluesky | view

Profile picture Nina Markl šŸ³ļøā€āš§ļøšŸ³ļøā€šŸŒˆ (@ninamarkl.bsky.social) reposted

gotta be honest, back in 2019, assumed that the general discourse around AI would be a bit less stupid and we would all get to make more sophisticated points than ā€˜no it’s not god actually’

21/7/2025, 10:29:07 AM | 67 10 | View on Bluesky | view

Profile picture tinybaby (@tiny.baby) reposted

Here's my argument about AI that's distilled down about as much as I can: if it was good for me, my boss wouldn't want me to use it so bad.

19/7/2025, 12:48:44 AM | 858 158 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

This is why OO & class/ref-heavy types fell out of favor: "Treat identity with care. Sharing class instances pervasively throughout an app makes logic errors more likely. You might not anticipate the consequences of changing a heavily shared instance, so it’s more work to write such code correctly"

15/7/2025, 11:25:05 AM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

I love this, and feel much the same way. PL theory has a lot to offer, especially in the era of LLMs. It’s great to think of more ways to share it with more people.

14/7/2025, 10:08:36 PM | 0 0 | View on Bluesky | view

Profile picture š•āˆƒ (@vortexegg.com) reposted reply parent

This is reductive and dismissive, but to some degree all of the logic models we had for how to deal with accelerated collective make-believe all relied on crying, ā€œmods mods do somethingā€, but the problem is it’s the mods who are going crazy

12/7/2025, 2:10:00 PM | 72 6 | View on Bluesky | view

Profile picture eliza🌻 (@elizas.website) reposted

her: "what is `**kwargs`?" me: "it's a feature of dynamically typed programming languages, such as Python, that you can use to write horrible code that makes me want to kill myself"

4/7/2025, 11:49:35 PM | 98 7 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

This is great! This is exactly how I frame it too, especially at work; doing programming, just worse. There is good research to back up that intuition: dl.acm.org/doi/fullHtml... I also love the demystification in papers like RASP, influential in the scandalous Apple papers: srush.github.io/raspy/

4/7/2025, 1:53:46 AM | 1 0 | View on Bluesky | view

Profile picture Nome (@nome.bsky.social) reposted

The right craves "The Day of the Rope," and have for years - because they fantasize about having power, not any of the work that using it even for evil ends by definition requires. Part of their fantasy is that problems are simple, and that wielding power is easy.

16/4/2025, 1:56:47 PM | 473 114 | View on Bluesky | view

Profile picture Steve Klabnik (@steveklabnik.com) reposted

bzip2 crate switches from C to 100% #rustlang trifectatech.org/blog/bzip2-c...

17/6/2025, 9:34:31 PM | 80 6 | View on Bluesky | view

Profile picture Haskell programming language (@haskell.org) reposted reply parent

You start with Haskell to better understand FP, and then you switch to better understanding software engineering through the lens of FP. That's why even when you stop writing Haskell, Haskell never really leaves you. :)

16/6/2025, 11:35:40 AM | 27 3 | View on Bluesky | view

Profile picture John Q Public (@conjurial.bsky.social) reposted reply parent

they don't seem to realize that dictators don't *want* to have military occupations of cities, they want non-resistance to their rule, the soldiers in the streets thing is a last resort when the alternative is getting turned out of office cargo cult fascism

12/6/2025, 6:27:34 PM | 235 10 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

The (very good) Apple illusion of thinking paper inspired me to write up some of my longer-term visions for how to properly consider, design, and scale AI systems. Or, in other words, the hype cycle and discourse is so frustrating I felt I needed to say something. www.linkedin.com/posts/damien...

11/6/2025, 11:43:18 AM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I was there! Got a cool t-shirt, white with the Bondi Blue logo IIRC.

26/5/2025, 10:00:02 PM | 0 0 | View on Bluesky | view

Profile picture Steve Klabnik (@steveklabnik.com) reposted

Large Language Model-Powered Agent for C to Rust Code Translation arxiv.org/abs/2505.15858

26/5/2025, 1:52:57 AM | 63 7 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

ā¤ļø

3/5/2025, 5:52:43 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Rich-guy brain is a real thing.

2/5/2025, 11:33:25 AM | 0 0 | View on Bluesky | view

Profile picture Steve Klabnik (@steveklabnik.com) reposted

Been sitting on this one for a while. Just in general. It’s something I’ve talked a lot about with some people, but never blogged or did a public talk about. Partially because I don’t need people getting mad at me for what I think about Rails, heh

1/5/2025, 3:34:58 PM | 171 7 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Science/tech grift signs via @mattblaze.org - Extraordinary yet relatable claims - Data viz. but w/o clear analysis - No open peer review - Seeking funds to ā€œcompleteā€ the work - Insisting results are wrongly "suppressed" - Online arguments w/o addressing criticism - Threatens critics with lawsuits

30/4/2025, 11:38:24 AM | 1 0 | View on Bluesky | view

Profile picture Dan Sheehan (@dansheehan.bsky.social) reposted reply parent

Okay so imagine this, you have no opinions, you have no skills, you have no wants or desires, you are a smooth orb of nothing and our subscription service helps make sure you still cast a shadow that resembles a human being. Sounds sick right?

22/4/2025, 9:46:56 PM | 7973 1205 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

It shows my age, and is not formal, but I tend to think of this as a functional reactive ā€œsignalā€ for an event handler. One nice example from the Swift community where this has evolved into a Rust-like procedural macro: developer.apple.com/documentatio...

5/3/2025, 1:18:46 PM | 1 0 | View on Bluesky | view

Profile picture Steve Klabnik (@steveklabnik.com) reposted

Congrats @chriskrycho.com ! I’ve now read this and it’s very good. Proud to have this content in TRPL.

22/2/2025, 3:43:01 PM | 80 6 | View on Bluesky | view

Profile picture Manish (@manishearth.bsky.social) reposted

Rust community coming strongly in favor of child labor in trash collection

Reddit post: Have we ever considered allowing orphans in bin crates? The main reason for not allowing them is that a dep anywhere in your tree could add a trait and break everything, to put it simply. That's a good reason to disallow them in libs, but for.
9/2/2025, 8:27:06 AM | 48 6 | View on Bluesky | view

Profile picture Zanzi Tangle (@zanzi.bsky.social) reposted

type-checking is a lens!

28/1/2025, 5:08:08 PM | 7 3 | View on Bluesky | view

Profile picture Ɠlafur Waage (@olafurw.com) reposted

Programming languages: "We are just a way to operate computers in a way that makes sense to humans." Programming languages [takes a big joint hit]: "What if there were 5 kinds of nothingness?"

31/1/2025, 8:51:03 AM | 634 88 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I missed a whole fun run that _included parents_ for my kindergartener, and his reaction was šŸ’Æ cool just like that. We were so disappointed in ourselves and furious at the school for burying that detail!

26/1/2025, 5:53:40 PM | 1 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I’m also a passionate consumer and maker of music. I’ve been doing this stuff for 10-20 years so have lots of opinions, but as much as I love to share, I’m mostly here to learn from you all! I’m hoping a decentralized social feed can be more dynamic; less beholden to the new intention economy…

26/1/2025, 5:46:07 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

I like to chat about artificial intelligence, type theory, programming languages, robotics, and distsys. I love Rust, Swift, and Haskell and think ideas from these languages will be more important into the future. We need to move away from JS & Python dominance if we want safe robots in our lives!

26/1/2025, 5:46:07 PM | 5 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social)

Hi all, I’ll post here on @bsky.app for the first time with a small #bio of myself and why I am here. Some hashtags: #ArtificialIntelligence #TypeTheory #ProgrammingLanguages #Robotics #AI #ML #DistributedSystems #RustLang #SwiftProgramming #DeepLearning #Guitar #Bass #MPC #Beats #MusicProduction

26/1/2025, 5:46:07 PM | 7 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

You’ll have to forgive my ignorance of this kind of workflow, but if you’re helping someone with a task, why wouldn’t it be on _their_ configuration profile, & not yours? Is it common for a whole team of people to be sharing a single computer/license/software instance instead of, say, license keys?

26/1/2025, 5:22:06 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Complex societies of mollusk or whale-like creatures may exist too, but the prospect of technological evolution seems much more daunting, if not impossible in environments that would probably be clustered around thermal vents. I’m fascinated by what teleological concepts such creatures could have!

26/1/2025, 4:35:20 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

Mine is that ice-locked oceans may be the more common environment statistically, so life exists almost everywhere and does trend towards the multicellular, but the harsh circadian cycles that push brain development & abstract cognition is just uncommon enough over vast time/space, hence the paradox.

26/1/2025, 4:35:20 PM | 0 0 | View on Bluesky | view

Profile picture Damien Stanton (@damienstanton.bsky.social) reply parent

But wait why are multiple people sharing the same OS login in the first place? Doesn’t that imply that you all share a password, or don’t have a password? I think that’s what people are reacting to here.

26/1/2025, 4:16:50 PM | 1 0 | View on Bluesky | view