Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Another example. I was migrating my personal website from one framework to another, and Claude wrote a script that did it — something like this. But it was very hard to review: I wasn't familiar with the new framework, and all I could say was "I guess that looks...

17,892 görüntüleme • 2 ay önce •via X (Twitter)

38 Yorum

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Last year I was coding a Prolog interpreter and struggling to intuit what was happening inside. I worked with an agent to build this debugger, which let me step through the execution of my logic language — scrub through time, see what's on the stack and which rules are evaluated at each step. I could even leave comments for myself ("nice, we correctly applied that rule"). There's a big difference between making a tool for me to debug and letting the agent debug — doing it myself is how I develop understanding along the way. 27/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

(Apparently twitter has a 25-tweet limit for the thread composer. I'm just gonna keep replying here with more slides until I have to board my flight!! 26 and onward!)

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Papert had this beautiful idea he called living in Mathland: if you want to learn math, live in Mathland — just like if you want to learn French, you go live in France. Could we build an environment where children learn math naturally, as a consequence of their curiosity? So how do we apply that to code? Can we make worlds you inhabit and naturally intuit how the system works and how it's changing? 25/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Next idea: micro-worlds. This one's inspired by the visionary educator Seymour Papert. 24/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

OK, so that's explain-diff. Here's the skill if you want it: two variants that output either HTML or Notion page. 23/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

I think of this as a speed regulator. Working with AI, it's easy for the loop to run faster than the speed of human understanding. The quiz is a counterbalancing force: I mechanically ask "do I actually understand?" so that I can remain a full creative participant. 22/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

I do something similar with my code explainers now. At the bottom of an explainer there's an interactive quiz — five questions about the change — and I try to answer them. My rule: I won't send code to others until I can pass the quiz, and I do the same when reviewing others' code. 21/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

There's only one problem: reading is hard work 😅 As @andy_matuschak says: "books don't work"! It's too easy to fool yourself into thinking you did the reading when you really didn't retain or understand. How do we fix this? I took inspiration from Andy and @michael_nielsen 's work on embedding spaced repetition quizzes in essays. 20/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

The end result of all of this is a nice explainer packet. I still read the code diff but I always read this first. Sometimes I'll print these out and take them to the café — less distracting. It's beautifully ironic: AI turns an interactive activity into a static paper report I can focus on deeply :) 19/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

We finally get to the code. But a typical diff is a pile of files edited in alphabetical order with no explanation. A "literate diff" as I call it is structured as prose — walking through the changes in a sensible order, with surrounding explanation and embedded code snippets. Faster to review than a raw diff. 18/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

You can also build intuition with interactive figures. Here I'm understanding the isometric perspective by dragging rocks around the garden and watching their coordinates move. This is using a new feature Notion just shipped today actually, you can now embed interactive HTML inside pages. 17/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Second principle: intuition before details. Before any code, it states the goal — "make the garden feel three-dimensional with 2D drawing tricks" — and explains related concepts, like what isometric projection is. All of this builds my intuition for the essence of the change. It's catching me up as the human so I can be an equal participant in understanding. 16/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

First principle: teach me background info! Before we even get to what changed, help me understand what was already there. In this case, teach me about the game engine. 15/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Here's one answer. I made a skill called /explain-diff, which I use every day and many coworkers have found valuable. It outputs thoughtfully structured code explainers as HTML, markdown, or Notion docs. (Notion is a good place for collaborating on and discussing these explainers as a team) Let's see what's in one of these explainers, using an example of editing the perspective of a video game. 14/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

But what if we ask: What would the best explanation be? If you had a team — human or AI — that really sweat the details of explaining something well to you, how would that feel? 13/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Whenever an agent finishes some work, it's an opportunity for an explanation — an artifact. Most naively, we can read a code diff: the raw material that changed. 12/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Today I want to share three techniques that show how we can attempt this. First: explanations. What makes a good explanation? 11/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

OK, so fine, understanding matters. But this raises the next question: how? How do we build this human understanding when we're working with AI and moving fast? Well, turns out this is not the first time anyone has ever thought about how to communicate understanding. I think we can look to education as an inspiration. Can we steal the best ideas ever invented for education and apply to this problem?? 10/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

BTW, this relates closely to the idea of Cognitive Debt popularized by Margaret Storey and @simonw. It's like tech debt: you can get away with not understanding what's going on in the short term, but it'll bite you eventually. 9/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

It's never just one loop! A project is many, many loops with the agent. And the understanding you have of the system is part of your ability to come up with the next idea to evolve it. You need a rich set of concepts in your mind to think creatively and fluently about how to move something forward. If you're lacking that fluency, your ability to participate in the project is meaningfully limited. 8/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

That's where another answer comes in: we can understand to participate. You can learn what the agent is doing to make sure you can be an active participant in the creative process. Here's why this matters... 7/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Here's the thing: the agents are getting better and better at verifying their own work. And this is good! I like it when my agent doesn't make mistakes. But hmm. Where does that leave us humans? 6/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

One possible answer: we understand to verify. We check the agent's work, we see if it's correct. Correct can mean many things: does it match the spec, is it well architected... but it's fundamentally a thumbs-up / thumbs-down question. 5/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Why? Why understand? Aren't we supposed to be taking ourselves out of the loop now, and letting the agents loop themselves? As the agents get smarter, doesn't it become less important for us to be in the details..? I think many people -- even those who are pro-understanding -- have a slightly incorrect answer to this question! 4/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Most of this thread will be about techniques I have found helpful to understand systems my agents are building: > Code explaner docs > Quizzes to check my understanding. > Micro worlds that I can play with to understand the system. But first we have to ask a more basic question... 3/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Agents are writing more and more code for us, and we all know it's getting harder to keep up. But the good news is: there are many ways to understand code! Reading diffs line by line is not the only way. 2/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Hot take: I think it's still important to understand the code that our agents write! In this mega thread (based on my AIE talk today), I will explain why that's the case, and show some ideas for how to efficiently understand code. Alright, let's dive in. 1/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

The point here is that agents can write bits of code that help us humans understand other code. This is a big deal! 29/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Alright, last technique: Shared spaces. So far this has all been about understanding solo... but when you're working on a team, you need to understand TOGETHER. 30/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

When you and someone else hold the same mental model, you can communicate efficiently. You have a shared vocabulary that evokes the same images. so you can jam and riff and have creative conversations. Without those shared structures, those conversations are much harder. I'm really excited about creating shared environments where teams build that understanding together. It's kinda what Notion is all about too. 31/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Recently in Notion we've been shipping tons of new features for humans and agents to work together, so your whole team develops a shared understanding instead of each working in a silo. One tiny example: as of last week you can run Claude and Cursor agents in Notion. I do a lot of my coding that way now. And when those agents makes a technical plan in Notion, it's in a collaborative page by default, so I can comment on it with my team and discuss immediately. Thinking together, not alone! 32/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Alright, let's wrap up. Today we've covered some techniques that were about understanding code... but actually I think this is a much bigger issue. It's still important for humans to understand how things work in general! Not just to verify, but to participate. And surprise surprise, this is not a new idea. It harkens back to the very origins of our field of computing... 33/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

50 years ago @NotAlanKay envisioned that computers could be a new medium, better than the book, for teaching people — especially kids — how to think about the world. In this picture, it might look like these kids are watching YouTube on an iPad, but they're not. They're playing an interactive game and editing the code as they play it to get a better understanding of physics. This was 50 years ago!! 34/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

And now hopefully you understand this meme. The point was always to augment, not just automate. It's beautiful that AI now makes creating simulations so accessible... Having AI teach us is one of the greatest possibilities computing has ever opened up. 35/

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

This makes me very optimistic about the future! If we build the right tools, we can now understand the world better than we ever could before. We don't have to merely take ourselves out of the loop, we can get deeper in the loop too. It's up to us. FIN 36/36

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

And for anyone who doesn't want to click through a 36-tweet thread, here is a blogpost version of the talk 😅

Geoffrey Litt profil fotoğrafı
Geoffrey Litt2 ay önce

Video of this AIE talk is up!

Lukas Süss profil fotoğrafı
Lukas Süss2 ay önce

Like Brett Victors inreractive concept explanatory min-demos but for the specific sub-field of composing new software. Very useful. …

Benzer Videolar

cwjltma performance behind 🐰 i have a funny story, after day 1 got over, me, taehyun and beomgyu were eating dinner together 🐿️ 😭😭😭 THAT WAS SO UNFAIR TO ME 🐰 during cwjltma, the move starts on the right side but that day, taehyun made a mistake in the center so after that, me and beomgyu went “taehyun, you have to start from the left” and we told him to do it that way 🐰 on day 2, i realized that it starts from the right side and i was doing it on the right side from habit but this guy started from the left 🐿️ even right before we went on, i was telling myself to do it like “left side left side left side” 🧸 that’s why on day 2…i hadn’t really thought about it, i was just doing it according to muscle memory so i was like “huh i told taehyun it starts from the left so why does it feel so comfortable starting from the right side…” so during verse 2, i remembered telling taehyun to start from the left so i started from the left side too and i looked to the side and me & taehyun were the only ones starting from the left side and everyone else was starting from the right 🐰 the cutest freaking thing about taehyun was that, because he was getting confused with the right and left side, he just did it in the center on day 1 🐿️ it wouldn’t have been obvious since i was in the center so i just did it like that 🦊 so on day 1, you didn’t make an obvious mistake but on day 2, you made an obvious mistake 🐿️ yeah, i got it right today 🧸 after i finished, i was like “taehyun, it was the right side” 🐧 you should’ve talked to this hyung (🦊) 🐿️ our performance direction team was there yesterday and i was out of stamina so i didn’t understand what you said, i thought you said “taehyun, you did well” but then the pd team came up to me and went “was cwjltma a symmetrical choreography???” ⭐️ 😭😭😭 🐿️ and i was like “no it wasn’t???” 🦊 you asked the wrong people 🐧 you should’ve asked this guy 🧸 you should’ve asked the right person 🤣

💬

136,451 görüntüleme • 7 ay önce

I really, really, really wanted to drop this song last year. When I first put out the snippet, I was so excited - but it was hard to finish it on time because everything was a blur. I was sick and weak and nauseous and tired and my body just wouldn't do what I wanted it to. Even in the snippet video, I wasn't feeling great. I was just trying my best. I adore Chike's voice and I knew it was him that had to be on the song with me. When I asked him to give me a verse, he was so ready to go, but he was out of town. As soon as he came back, he came over to my studio the next day 🥹. I got a lotta respect for him. He didn't know I was pregnant and suffering 😅 Watching this video back now, I can't even understand where the energy came from. When the song was done, I struggled to mix it. Even so, I decided to master it myself. I hate mastering, so I don't know what I thinking. I was so disappointed that I couldn't meet the deadline. Everyone had fallen in love with the song and was asking me to put it out. I didn't have the energy to make content. I don't even remember them recording this video. Given how much I love this song, I'm a little bummed I couldn't give it energy it deserves. But please, know that a lot of love and resilience went into this song. I hope that you can let less be more for this one. I hope you can give it the energy that I couldn't. That I can't. PS: This is a chance for those of you that say I gave up my career for marriage to fight(?) for my uhm...rights? That or stfu. WHERE YOU DEY > Simi ft Chiké out everywhere now 🩵🩵 produced by Niphkeys mixed/mastered by Simi

Simi

394,583 görüntüleme • 8 ay önce

George Lucas on how he had to reluctantly write the screenplay for 'American Graffiti' (1973) & the confidence he gained from the movie's success: "When I was doing 'American Graffiti' (1973) I was still struggling with my ‘I don’t want to be a writer’ syndrome. I had some good friends of mine that I wanted to write the screenplay, but it took me like two years just to get the money to do a screenplay. And I got a little tiny amount of money and—which I had to go actually to the Cannes Film Festival to get on my own. So finally I got this money. I called back and I said, you know, “I got the money. We can start working on the screenplay.” And they said, “Oh, we don’t want to do that now. We’ve got our own low-budget picture off the ground and we can’t write it.” I said, “Oh no.” I said, “What am I going to do? I am in Europe and I’m not going to be back for like three months and I want to get this thing off the ground.” So they recommended another student from school that I knew pretty well. I had a story treatment that laid out the entire story scene by scene, so I called him over the phone from London and I said, “Do you want to do this?” And he said, “Okay.” The person I was working with at that time as a producer made a deal with him for the whole money because there wasn’t very much. It was so tiny that he could only get him to do it for the whole amount of money. When I came back from England, the screenplay was a completely different screenplay from the story treatment. It was more like 'Hot Rods to Hell' (1967). It was very fantasy-like, with playing chicken and things that kids didn’t really do. I wanted something that was more like the way I grew up. So I took that and I said, “Okay. Now here I am. I’ve got a deal to turn in a screenplay. I’ve got a screenplay that is just not the kind of screenplay I want at all and I have no money.” And, I spent the very last money I had saved up to go to Europe to make the deal, so I had nothing. That was a very dark period for me so I sat down myself and wrote the screenplay. After I did 'American Graffiti', and it was successful, it was a big moment for me because I really did sit down with myself and say, “Okay, now I am a director. Now I know I can get a job. I can work in this industry, and apply my trade, and express my ideas on things and be creative in a way that I enjoy. Even if I end up doing TV commercials or something, or I fall back into what I really love is documentaries. I’ll be able to do it. I know I can get a job somewhere. I know I can raise money somewhere. I know I can do what I want to do.” That was a very good feeling. At that point, I’d made it. There wasn’t anything in my life that was going to stop me from making movies." ('‘American Graffiti’ at 52: A Sentimentally Affectionate Look at America Before the Collective Loss of Innocence', Sven Mikulec, Cinephilia & Beyond)

DepressedBergman

56,916 görüntüleme • 9 ay önce