
Eric Stewart retweeted
Nice! Use the Joyride extension to access the awesome-copilot instructions right from within @code!
Awesome Copilot is a freshly started repository for collaboratively building a library of Copilot instructions, prompts, and chat modes. It's awesome!
In the video I demo a Joyride script that lets you access the Awesome Copilot repository content from a quick-pick VS Code menu. Complete with fuzzy search, peak at the instructions, and install options for both global and workspace use of the instructions.
@code
Eric Stewart retweeted
Please help @Steve_Yegge and me name our upcoming book on how AI can help developers:
- do what they want faster
- be more ambitious about what they can build
- do things themselves
- have more fun
- explore so much more of the design space
We originally were going to call it:
- The CHOP Handbook: The End Of Programming As We Know It, and Why It Will Be The Best Thing Ever For Developers
But with the rise of "vibe coding" to describe this style of programming, what do you think?
- The Chat and Vibe Coding Handbook?
- No Vibe Coding While I'm On Call?
What do you think? We welcome your ideas!
I have no idea what to call our book, so I’m appealing to all you MFs who are making this so hard. Right now I'm thinking of changing the working title to "No Vibe Coding While I'm On Call!"
@RealGeneKim and I are nearly done co-authoring a book on chat coding. We were gonna call it The CHOP Handbook, for chat-oriented programming, which is like regular engineering except the LLM writes the code and you just chat with it.
Then comes along vibe coding from the famous Dr. @karpathy, promising to waft all your pain away, and it takes the world by storm. But the thing is, almost nobody read his entire wall of text tweet.
Gene and I were chatting with @jessieay from GitLab about AI metrics, and at one point she said in passing, “So I told my team, no vibe coding while I’m on call!”
Wow. I was really curious and asked her later if she had meant that her team was going to be checking in code they didn’t understand, and that she would have to debug it while she’s on call.
Without missing a beat, she just laughed and said, “Yeah, did you read the tweet?”
And funnily enough, just like you, I hadn’t either. Everyone stops after like 3 sentences. Give in to the vibes… embrace exponentials… barely touch the keyboard… ask for the dumbest things… the code grows beyond my regular comprehension…
And everyone’s like, YEAAAAAAH, hell yeah, I love turning my brain off! We can code without thinking? Sign me up! They go full Milhouse: “I’m not only not learning anything, I’m forgetting stuff I used to know!” After the first half Dr Karpathy’s tweet recommending that you turn your brain off, they stop reading the rest of what he said:
…not too bad for throwaway weekend projects… it’s not really coding… it mostly works… hey, where is everybody?
Not real coding? It only mostly works? It’s for throwaway projects? Dude he’s saying don’t use vibe coding at work. It’s a lot of fun, sure, use it when you can, but not for real work!
In my mind, CHOP = Vibe Coding + Engineering. You still do all the vibey stuff, but you leave your brain on, and you use chat to engineer real production systems. Vibe coding by itself is just the world’s biggest game of pin the tail on the donkey, with you wearing the blindfold.
So you tell me. What do we call our book?
Eric Stewart retweeted
Property taxes keep increasing because local governments' appetite to keep spending taxpayer money is growing too fast.
More: vanceginn.com/letpeopleprosp…
Eric Stewart retweeted
My current work contract is coming to an end and I'll be looking to start a new opportunity at the beginning of March. Please consider reaching out if you’re looking for a Head of Engineering, Engineering Manager, or Principal Engineer. linkedin.com/in/james-edward…
Eric Stewart retweeted
I’ve mentioned how I’m starting to believe that GenAI making coding tasks faster is the least important metric. Implementation is just one part of creating software. Just as important (and maybe even MUCH more important) is the research, design, and exploration of options. I’m blown away by how GenAI can dramatically increase the ability to explore options, and defer having to make decisions. These decisions are so consequential before they are often “one-way doors”, where we have to commit to it, often given very imperfect or incomplete information.
Dr. Robert Merton earned the Nobel Prize for Economics (along with his colleagues Dr. Fischer Black and Dr. Myron Scholes) by observing that as uncertainty increases, the value of deferring decisions also increases. I was talking with @Steve_Yegge yesterday, and I shared with him my recent experiences playing with Bolt.new from @stackblitz — I was surprised how easily I was able to experiment and implement numerous authorization services. In 45 minutes, I had a working app that had authentication working with Google Oauth working with Auth0, Firebase, and Supabase.
I never used any of those services before. Although it wasn’t exactly free of frustration, I’m sure that it would have taken me one day for each service in previous years. (And each day would have been so exhausting, I think I would have settled for whatever I had working — no energy left for exploring other options.)
(I've implemented OAuth maybe 5-10 times in the last 15 years. And I still barely know how it actually works.) I think it’s difficult to overstate the value of being able to explore three options, and defer a decision until I had actually tried all three. Yegge’s reaction: “In the past, these decisions were so consequential, they were basically one-way doors, in Amazon language. That’s why we call the ‘architectural decisions!’ You basically have to live with your choice of database, authentication, JavaScript UI framework, almost forever.
"But that’s changing with LLMs, because you can explore, investigate, and even prototype each one so quickly. Even technology migrations are becoming so much easier/cheaper/faster. “These are all examples of increasing optionality.” I love his observation of architectural decisions — because once you make it, it’s basically like you’ve buried yourself in concrete, and it will take a monumental effort to undo / redo it in the future. Imagine the value of driving that down by orders of magnitude.
Some of you may have noticed I've been posting a lot about programming with coding assistants lately, and that I've also doing more writing in general (such as summarizing awesome podcasts and talks that I've watched or heard recently).
These are not unrelated.
I've been telling a bunch of folks about how much fun I've had coding a "writer's workbench" that I'm using virtually every day, to help me write things I want to write.
This is made possible by coding assistants, which are helping me:
- build the things I want faster
- be more ambitious about things I can build
- be able to build them alone (as opposed to requiring other people or a team)
- and have so much more fun doing it
- more swings at bat, explore more options
I want to talk about each of these dimensions.
## Build Things Faster
This is most probably the most talked about benefit of coding assistants (e.g., GitHub Copilot, Cursor, and the one I use most, which is Sourcegraph Cody), but probably one of the most superficial benefits. Make no mistake, with coding assistants, I'm able to build things in hours that would have otherwise taken me days.
The first working version of code that generates the video excerpts of my favorite parts of videos/podcasts was written in about 2 hours, in one pair programming session with @steve_yegge. It was a mind-expanding experience of using "chat-oriented programming" — my big lesson was: type less, lean on LLMs more.
(And of course, afterward, I've spent hours and hours improving that code and adding functionality. But without a coding assistant, it would have taken me days... This level of effort was high enough that building it was something for "maybe next month." More on this later.)
I can say with some confidence that 80-90% of the time, coding assistants make coding faster and easier.
(And let’s be honest: 10% of the time, coding assistants and LLMs make things maddeningly slower and more frustrating. Like last Friday when every LLM was telling me that you could put any DOM element into the Slate.js editor DOM. After reading the documentation, I know now that is absolutely false.
...or when I spent hours going around in circles trying to get ffmpeg to put captions and a static image in the center of a video file... These things happen, and woe be to those who always blindly follow what the LLM tells you to do. Madness awaits.)
That notwithstanding, here's my new reality: if I want to do coding, and my coding assistant or LLM isn't available (like on a transoceanic flight), I'll choose not to code... because it's just too difficult without it.
In other words, who wants to write code by hand, like some savage from 2010?
By the way, prototyping an app using Claude Artifacts is still the most amazing thing ever. (e.g., "build me a React app with three columns: editor on left, 3 buttons in the middle, and editor on the right." 4 minutes later, you have a working prototype app. Who could possibly go back to the old way of doing this?)
## Choosing More Ambitious and Impactful Projects
Recall how my first working version of my video excerpt tool took two hours, which before would have taken me days — because of the time required, I had deferred even trying. It was always a "maybe next month."
There could have been many reasons: maybe the perceived benefit wasn’t high enough to warrant the work, or maybe the difficulty made the “juice not worth the squeeze,” or perhaps another opportunity offered a higher, more immediate payoff.
Last month, I learned some amazing terms from labor economics to frame the importance of this from Dr. Joe Davis, Chief Economist of Vanguard ($9.5T assets under management):
- Substitutes: Two types of labor (or labor and technology) are substitutes if one can replace the other without significantly reducing output. For example, skilled workers and automated machinery might be substitutes. When the cost of one falls, the demand for the other may drop, possibly leading to job displacement.
- Complements: Two types of labor (or labor and technology) are complements if they are more productive together. For example, human workers and specialized software often complement each other, enhancing productivity when used in tandem. Higher demand for one usually boosts demand for the other.
(You can watch the entirety of my conversation with Dr. Joe Davis here: videos.itrevolution.com/watc…. Just register with an email address.)
Returning to the example of my video excerpt creator, because coding assistants are such an effective complement to my own abilities, I was able to do the work I’d otherwise would not have done.
In other words, coding assistants are complements (especially for senior developers), not merely substitutes. They enable the creation of significant value that wouldn’t have been possible otherwise, as many projects would have been too difficult, costly, or time-consuming to undertake without them.
I’ve experienced this many times over the last few weeks as I’ve built out my writer’s workbench tool, of which the video excerpt creator is a part of. For instance:
- swapping out the standard HTML textarea editor with Slate.js React editor component, so I could introduce more editor controls. I've used React component a handful of times, but my lack of experience/knowledge with React, JavaScript and ClojureScript interop, and heck, JavaScript in general, would have guaranteed eventual defeat.
(3-4 years ago, I put a React tree control in an app I wrote, which is still only half-working — but it's working well enough for me to use, but I gave up trying to fix it years ago.)
- Heck, I’m finding that front-end app development is now sufficiently within reach for me. Even as a novice, having learned Tailwind and with the help from coding assistants, I’m building tools for myself that I’m using every day.
There are all tasks that would have been out of reach for me, and yet are things I’m tackling every week. Which brings us to the next important dimension...
## Ability To Build Do Things Yourself
One of the most fantastic things that happened after Steve Yegge wrote his “Death of the Junior Developer” post (sourcegraph.com/blog/the-dea…) was that Dr. Matt Beane (@mattbeane) reached out to me. He introduced me to his research on the “novices optional” phenomenon, which he has studied for over 15 years.
Dr. Beane described how, for centuries, medical surgery has required multiple people because you need at least three hands to perform the needed work. This made novice surgeons an essential part of the team, which also provided them a way to learn.
However, with the advent of surgical robots, expert surgeons can now complete their surgical procedures alone. To be clear, they still need the anesthesiologist and the other support staff, but they no longer need a novice surgeon to help them.
The result is that most novice surgeons are deprived of the time and experience they need to become proficient. So how do they eventually become senior surgeons?
(Economic reasons reinforce this outcome, too. Novices not only take significantly more time to complete surgeries (time is money), but novices also make more mistakes (not great for anyone)).
What does this have to do with software development? A lot! Coding assistants allow experienced developers to avoid entirely the high costs of coordination, enabling them to build things themselves, just as surgical robots did for surgeons.
In his article, Yegge wrote about how his then Head of AI showed him a multi-class prediction model that he had trained and deployed in a single day with the help from a coding assistant. What is remarkable is that last year, creating this tool would have been a 6-week university senior-level intern project.
This story and Dr. Beane’s work suggests that, across almost every domain, the cost of coordination is so large that when given the opportunity for an expert to do something themselves, they will.
(It just occurred to me this fact is deeply ingrained in the DevOps community: “self-service” is so important because we know that task queues are very dangerous. Too often, assigned tickets will often not be completed in the time and level of quality expected. That’s even if a task requires opening one ticket, let alone opening twenty different tickets with twenty different departments. It is almost always better to enable the person to get what they need on-demand.)
Indeed, this is one of my key learnings working with Dr. Steven Spear over the last four years: “Leaders massively underestimate the difficulty of synchronizing disparate functional specialties toward a common purpose.” (from the preface of “Wiring the Winning Organization.”)
(One last somewhat tangential thought: Yegge’s Head of AI story illustrates coding assistants being a complement for seniors, but a potential substitute for a junior intern.)
## More Fun Doing The Work
I’ve talked about how coding assistants have enabled me to do work faster, do more ambitious and more impactful things, and increase the likelihood of being able to do something entirely on my own (which obviates entirely the cost of coordination).
But there’s another thing: when using coding assistants, the work is more fun.
For this, I’m going to cite my friend and co-conspirator from the State of DevOps Research (or DORA: DevOps Research and Assessment), Dr. Nicole Forsgren (@nicolefv) on the fantastic work she did with her colleagues on the SPACE framework metrics, as published in her ACM Queue article (citation at bottom).
To me, these metrics speak volumes about how much coding assistants changed how I feel about coding — I’ve picked a couple that seem relevant, and I know there are others that are as good, or even better:
(Satisfaction and Well-Being)
- I felt fulfilled while completing the programming task.
- I found myself frustrated while completing the programming task.
- The code I wrote was of high quality.
- I enjoyed completing this task.
(Effectiveness and Flow)
- I was focused on the task during the programming session.
- I was a productive programmer while completing the task.
- I made fast progress despite working with an unfamiliar system.
- I maintained a state of flow during the programming task.
- I completed the repetitive programming activities fast during the task.
(Communication and Collaboration)
- I spent considerable time searching for information or examples during the task.
So, if I were to score myself on the criteria above, it is clear: when I’m working with a coding assistant, the work is more fun, and I’m happier with the quality of what I’ve built. I’m happier!
(I’ve already mentioned that I don’t want to do coding without a coding assistant!)
And for non-solo projects, when developers are happier, there’s ample evidence that they do better work, and you have better retention, and it’s easier to recruit.
Citation: The SPACE of Developer Productivity: queue.acm.org/detail.cfm?id=…
## One More Thing: Number of Options Explored
During the six years I was involved with the DORA State of DevOps research, we focused primarily on the “code committed” to “running successfully in production” portion of the technology value stream — this was where Dev and Ops had to work together to create value for the customer.
This brought in the processes of code integration, testing, and deployment, as well as a bunch of other necessary activities that we explored over the years (e.g., environment creation, test data management, etc.).
All my excitement with coding assistants makes me super excited to explore how it could help with processes of ideation and discovery, research, design, development, and testing. (And while I’m thinking about it, infosec, architecture, and all that, too.)
One of the things that excites me is how coding assistants make ideation and research both easier and faster. The result is that it vastly increases the number of options we can evaluate, which vastly increases the design space we can explore.
I’ve written about the astonishing results of “coding with ChatGPT voice code while walking the dog,” as recommended by Simon Willison.
My opening question was:
“Hello! I’m trying to build a ‘writer's workbench’ in ClojureScript. I want to integrate a text editor that allows you to edit text, but where I can select text and send it to an LLM for tasks like clarifying, extracting facts, or even suggesting rewrites. For example, in non-fiction, it might help rewrite for ‘showing, not telling.’
"Rather than the usual triple-click to select a paragraph and then clicking a button, I’d like to explore options that go beyond the standard text area. Specifically, I’d love to be able to associate buttons directly with sentences or phrases, so instead of dragging to select text, I could just click on a sentence or outline it visually to interact. What are tools or libraries in the React ecosystem that support this kind of interaction?”
Over the next 60 minutes, I asked it increasingly detailed questions, learning about the options, what factors were important to me, I asked it to write code using the three libraries it suggested (even though I couldn’t read it).
- What options are available for integrating buttons or interactive elements within a text editor in the React ecosystem?
- Can you provide simple examples for setting up interactive features in Slate.js, Draft.js, and ProseMirror?
- What does the JSON structure of a simple Slate.js editor look like?
- Could a simpler JSON structure work for a text editor, where formatting is only applied at the paragraph level?
- Let’s think about the ouliner use case: describe how I could move an item up or down, or promote it to a parent level, in a nested vector structure in Clojure?
That was amazing! By the end of the 45 minute walk, I had confidence that I had a promising option to explore using, and I was ready to try writing a trivial Slate.js application. And that conversation averted lots of risk by talking through the various scenarios, and eliminating less promising possibilities.
So what is that value of this? Option theory gives us a fantastic language for describing this! (Thank you ChatGPT.)
Think of the design process like making a series of “real options” in finance. Each option gives you the flexibility to explore a path without committing upfront. Coding assistants function similarly to these options, giving you previews of multiple paths so you can make smarter decisions before investing significant time or resources.
- Reduced Opportunity Cost: Normally, testing multiple solutions requires a lot of time. Coding assistants lower the “price” of exploring each path, so you can evaluate multiple approaches without the usual trade-offs. This is like having the freedom to explore new markets or projects cheaply before committing capital.
- Able to Change Your Mind: With coding assistants, you’re not locked into one approach early on. You can gather insights on a range of possibilities—Slate.js vs. Draft.js vs. ProseMirror. In options theory, this flexibility reduces the risk of sunk costs if a particular approach proves bad.
- Expanded Design Frontier: Coding assistants also expand what you’re able to explore. You can quickly learn new libraries, tools, or frameworks that might have been daunting on your own. This is like gaining access to new, potentially profitable opportunities because exploration costs have dropped.
- Knowledge Gained, Risk Reduced: Exploring multiple options through your assistant is like accumulating information before committing to a decision. In finance, uncertainty drives risk, and more information reduces that risk. Similarly, by “trying” various approaches through the assistant, you reduce the likelihood of costly rework and increase the odds of a high-quality result.
- Portfolio Effect: Exploring different options through coding assistants is like managing a portfolio of real options. Each question you ask helps you gather insights across multiple potential paths. This portfolio approach reduces overall risk by diversifying your design possibilities, improving the quality of the final solution.
In short, coding assistants provide an “option portfolio” for design and development choices. They allow you to sample multiple approaches at low cost, build flexibility into your process, and ultimately make more informed, higher-quality decisions in a way that minimizes risks and maximizes potential value.
## Conclusion
All of these factors are why I’m so excited about using coding assistants!
(Forcing me to post this now — I’ll put this into a blog post “later.”)
Hope you enjoyed! cc @danielrock @jamescham @nathenharvey @idangazit @DynamicWebPaige
Eric Stewart retweeted
alistaircockburn.com/Article…
Reflecting, I think hexagonal / Ports & Adapters architecture is pretty much inevitable. It's that "Component + Strategy" pattern inside it that seems inescapable.
Eric Stewart retweeted
Just published "Rama is a testament to the power of Clojure". In this post I dive into the ways Clojure was instrumental to developing Rama and how Rama embraces and expands upon Clojure's principles for the purpose of building end-to-end backends. blog.redplanetlabs.com/2024/…
Eric Stewart retweeted
My heartiest congratulations to Dr. @thomaswue and the entire @graalvm team on the incredible showing in the 1BRC — the 1 Billion Row Challenge, created by @gunnarmorling.
How did I miss this? I spent yesterday afternoon reading about all the wild innovations by so many talented people.
In short, the 31 day challenge was to write the fastest program to parse 1B rows of weather data, approx 14 GB of data. His goal was to see what was possible using modern Java (e.g., SIMD, GC, threading, etc.)
He created and enforced ground rules, with everyone committing code into a common repo, where it would be tested and timed.
He posted a naive baseline implementation, which took 4m 49s to run.
The contest blew up, with 164 submissions. But what is astonishing is that the winner, @thomaswue and team, completed in 1.5 seconds on 8 cores (0.3 sec on 32 cores)!
But what the @graalvm team must be so proud of is all but two of the top 10 submissions were using Graal Native Images, and it looks like nearly half of the remaining submissions were using the Graal JIT — which makes sense, as it is a drop-in replacement for OpenJDK, etc.
I spent an hour reading the amazing analyses by Marko Topolnik and Marius Staicu. I'm going to pull the fun highlights from @mtopolnik's article: questdb.io/blog/billion-row-…
- naive baseline was 4:40
- using parallel streams puts all CPUs to work: 71s
- switch to GraalJIT: 66s
- use three profilers, which he describes how each had a place in the quest to get to ~1s execution times — a great read!
- parsing optimizations, getting rid of string operations, etc: 17s
- manually parse ints: 11s
- custom hash table (ha!): 6.6s
- unsafe memory, wild SIMD parsing technique from Quan Anh Mai, and purging conditions from code: 2.4s
- other magic: 1.8s
- an amazing hack to reduce memory unmap time from @thomaswue and many more tricks to shave off every millisecond
My takeaways:
- it's been decades since I've tried anything like this, but it's still fun to read all of the sheer cleverness being unleashed in this competition
- many brains will almost always beat solitary brains — the information sharing between contestants, enabled by every submission encouraged lots of experimentation and spreading of great patterns (this was one of the key themes of "Wiring the Winning Organization" by Dr. Steve Spear and me.)
(I think we are seeing the same dynamic in the AI race, and we all benefited from the same dynamic in the race to find and distribute COVID vaccines.)
- it was super cool to read about how people were getting massive speedups — the Java code looks more like C, but with none of the potential pointer shenanigans
- as noted before, 8 of the top 10 submissions used native images, where startup time really mattered. However, astonishingly, the fourth place submission from @serkan_ozal used OpenJDK, with a time of 1.8s. (!!)
- the promise of "write Java code, and the compiler will keep getting better and better and making it run faster" has been renewed — programs benefit from multiple JITs co-evolving, safely modularized by how the actual JVM runs (another topic in the WWO book, about how modularity creates independence of action and experimentation)
Kudos to all!
Links and resources:
- Gunnar's 1BRC announcement: morling.dev/blog/one-billion…
- Gunnar's announcement of winners: morling.dev/blog/1brc-result…
- full leaderboard: github.com/gunnarmorling/1br…
- neat post and video from @alina_yurenko and @fniephaus describing more details of Graal in the 1BRC
medium.com/graalvm/welcome-g…
- great analyses of the solution techniques
- questdb.io/blog/billion-row-…
- esolutions.tech/1brc-what-a-…
- the recent benchmark showing GraalJIT beats OpenJDK by approx 20%: ionutbalosin.com/2024/02/jvm…
Eric Stewart retweeted
I'm excited to announce that I'll be speaking at the Austin API Summit, March 11-13, 2024.
My talk, "Establish, Grow, and Scale Your API Platform", will explore the practices and patterns implemented by global organizations that will help your API ecosystem shift from a functional program to a transformational API platform.
Check out the conference page for more details and registration:
nordicapis.com/events/austin…
#AustinAPISummit #NordicAPIs
This is huge!
Big announcement at #clojure_conj: Datomic will be free and all client etc. libs will be published to maven central!
#clojure @clojure_conj
1
1
352
The Texas house has been sleeping through this session and already wants a vacation? texasscorecard.com/state/tex…
#txlege
110
Eric Stewart retweeted
Big announcement at #clojure_conj: Datomic will be free and all client etc. libs will be published to maven central!
#clojure @clojure_conj
Eric Stewart retweeted
speaking at TPPF's event in Austin with Governor Abbott on Tuesday
it's happening, Texas.
Eric Stewart retweeted
This is what a complete border security plan sounds like. You have an opportunity to vote for this today. #dmc2022 #TexasFirst #SecureTheBorder
danielomiller.com
Eric Stewart retweeted
What #agile became vs. what it was (and should be)























