Writing in Public by kirupa (https://www.kirupa.com/me/index.htm) | filed under Communication (https://www.kirupa.com/communication/index.htm) TL;DR: Writing in public means sharing what we learn, while doing our work, somewhere anyone can find it. A private answer helps one person, but a public post keeps getting read for years. You don't need to be an expert: being one rung ahead, and honest about your mistakes, is enough. - Wren answered the same question four times in private, which took 2 hours and 20 minutes and helped 4 people. - One 3-hour public post was read 4,660 times in its first year. A year of private replies would have reached 48 people. - Being one rung ahead is enough, because beginners need the details that experts have forgotten were confusing. - Share the lesson, the approach, and the mistakes. Keep customer data, security details, and other people's numbers out. In one month, Wren answered the same question four times. Otis wanted to know, and so did Petra, and so did two strangers on a forum for people who build restaurant software. The question was how Biscuit, the help desk bot on Crumb & Co.'s website, got its orders into Rolling Pin's old ordering system when that system had no way for other software to talk to it. Each answer was a long, careful message, and each one helped exactly one person. The fifth time the question showed up, Wren tried something different and wrote the answer once, where anybody could find it. What happened next kept going for more than a year. In this article, we are going to look at why sharing what we learn keeps paying off long after we hit publish, why we don't need to be experts to do it, and how to start without leaking anything we shouldn't. Onwards! The Same Answer, Four Times Here is what that month looked like from Wren's side of the keyboard: [Image: In one month, four people ask Wren the same question. Otis: how do Biscuit's orders get into that old system? Petra: wait, how do pre-orders reach Rolling Pin's system? A forum stranger: chatbot orders into a system with no API, how? Another stranger: same problem here, how did you do it? Wren writes each of them a private reply that takes 35 minutes. That adds up to 4 replies, 2 hours and 20 minutes, and 4 people helped.] (https://www.kirupa.com/communication/images/writing_in_public_same_question.png) (https://www.kirupa.com/communication/images/writing_in_public_same_question.png?v=513eca388719) Every reply took Wren about 35 minutes to write, because a good answer needs the background, the steps, and the one mistake to avoid. Four replies add up to 2 hours and 20 minutes. All of that effort is now sitting in four private inboxes where nobody else will ever see it. The next person with the same question will get the same 35 minutes...if they happen to know who to ask. One Answer Anyone Can Find The difference between those four replies and what Wren did next comes down to who can see the answer: [Image: On the left, a private reply: Wren's answer goes into one inbox and reaches the one person who asked. On the right, a public post: Wren's answer goes on the open web, where it reaches the person who asked, people who search for the same problem, people they share it with, and AI assistants that answer questions. Everyone who looks can find it.] (https://www.kirupa.com/communication/images/writing_in_public_private_vs_public.png) (https://www.kirupa.com/communication/images/writing_in_public_private_vs_public.png?v=0ade003abea5) A private reply reaches the one person who asked. A post on the open web reaches the person who asked, plus everyone who searches for the same problem later. It also reaches the people those searchers send it to, and the AI assistants that people ask. When we take what we learn while doing our work and share it where anyone can find it, we are writing in public. When we share things while we are still figuring them out, instead of waiting until we are experts, people often call it learning in public. Wren wrote the post on a Saturday morning in November, and it looked as follows: [Image: Wren's post, titled How We Got Chatbot Orders Into a System With No API, by Wren. It has five sections. The problem: Biscuit takes orders, and the old system has no API. What we tried first: asking for an API, during a change freeze. What worked: writing into the CSV file the 2am import reads. What we got wrong: two bugs, and how we found them. What we'd do differently: ask the owners of the old system on day 1.] (https://www.kirupa.com/communication/images/writing_in_public_post.png) (https://www.kirupa.com/communication/images/writing_in_public_post.png?v=c00875b31268) Nothing in it is fancy. It explains the problem, what Wren tried first, what worked, and what went wrong along the way. The trick itself is small. Rolling Pin's system already read a CSV file of orders every night at 2am, so Biscuit writes its orders into that same file. The old system never had to change. The post took about 3 hours. That includes the half hour Yara and Gus spent reading it before it went up, since it was their system being described. Ripples From One Stone We are going to follow that one post for a year. Here is what happened: [Image: Wren's post is a stone dropped in water, and five rings spread out from it over the next year. Day 2: a reader spots a bug. Week 1: 3 readers share their tricks. Month 2: a newsletter links to it. Month 5: an AI assistant cites it. Month 9: 2 applicants mention it.] (https://www.kirupa.com/communication/images/writing_in_public_ripples.png) (https://www.kirupa.com/communication/images/writing_in_public_ripples.png?v=091bdd89302f) On day 2, a reader pointed out a bug. In the first week, three readers shared tricks from their own old systems. By month 2, a newsletter about restaurant software had linked to the post. In month 5, an AI assistant cited it when someone asked how to get online orders into a system with no API. In month 9, two of the people who applied to join Wren's team mentioned that they had read it. A few months in, Biscuit switched to a proper order API, and Wren added a note to the top of the post saying so. People kept reading it anyway, because the trick still works for anyone who is stuck with an old system. None of those ripples were planned, and Wren could not have predicted any of them. Jason Roberts has a name for this. In a 2010 post, he called it your Luck Surface Area (http://www.codusoperandi.com/posts/increasing-your-luck-surface-area), and he described it with a tiny formula: [Image: Jason Roberts' Luck Surface Area: luck equals doing times telling. A grid with doing going up and telling going across. Before the post, Wren sits in the top-left corner: did the work, told 4 people. After the post, Wren sits in the top-right corner: did the work, told everyone who looks. The bottom-right corner is told everyone, but did nothing worth telling.] (https://www.kirupa.com/communication/images/writing_in_public_luck.png) (https://www.kirupa.com/communication/images/writing_in_public_luck.png?v=c3a42cf9ee3c) Luck is doing multiplied by telling. Doing is the work we care about, and telling is how many people find out about it. Wren had done the work months earlier. The post was the telling part, and it moved Wren from one corner of that grid to the other. Why Does Writing Keep Paying Off? Let's put numbers on it. If Wren had kept answering by private message, every new person would cost another 35 minutes. The post cost 3 hours once, and then it kept getting read without Wren doing anything at all: [Image: Two charts over 12 months. Hours Wren spends: private replies keep adding 35 minutes for every person and reach 28 hours by month 12, while the post costs 3 hours once. People reached: private replies reach 4 people a month, 48 in all, while the post is read 1,140 times in its first month and 4,660 times in its first year.] (https://www.kirupa.com/communication/images/writing_in_public_leverage.png) (https://www.kirupa.com/communication/images/writing_in_public_leverage.png?v=e003df42f1c9) After a year of private replies, Wren would have spent about 28 hours helping 48 people. The post cost 3 hours, and it was read 4,660 times. Not every reader was helped, of course. Some skimmed it and left, and some were just curious. Even so, the post did more for more people than a whole year of careful replies would have. This is what people mean when they say writing gives us leverage. The effort happens once, and the reading keeps happening while we are asleep, on vacation, or busy with something else entirely. The four private replies were good work. They just stopped working the moment they were sent. Do We Have to Be Experts? Wren almost didn't write the post. Wren wasn't a CSV expert, didn't build Rolling Pin's system, and had only figured all of this out a few weeks earlier. Who was Wren to write a guide? As it turns out, Wren was exactly the right person: [Image: A ladder of what we know. At the top, an expert thinks: it's just a CSV import, having long forgotten what was confusing. One rung above the beginners, Wren says: here's the part that confused me, and how I got past it. At the bottom, the people asking say: where do I even start?] (https://www.kirupa.com/communication/images/writing_in_public_ladder.png) (https://www.kirupa.com/communication/images/writing_in_public_ladder.png?v=c47975420075) Wren is one rung ahead of the people asking, and one rung is all it takes. The expert at the top of the ladder knows a lot more, but forgot long ago which parts were confusing. Wren still remembers the 2am import that seemed to come out of nowhere. Wren also remembers the first attempt that didn't work. Those are the details a beginner needs. In his 2018 essay Learn In Public (https://www.swyx.io/learn-in-public), Shawn Wang (swyx) puts it nicely. We should "make the thing you wish you had found" when we were learning. Being one rung ahead does mean we will sometimes get things wrong in public. That sounds scary, but it is one of the best parts. There is an old internet saying that "the best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer." It looks something like this: [Image: Two forum posts side by side. On the left, someone asks a question: how do I put commas in a CSV file? It gets 0 replies, and a lone cricket chirps. On the right, someone posts a wrong answer: you can't put commas in a CSV file. It gets 14 replies, every one of them starting with Actually.] (https://www.kirupa.com/communication/images/writing_in_public_cunningham.png) (https://www.kirupa.com/communication/images/writing_in_public_cunningham.png?v=1d05caa25817) The saying is known as Cunningham's Law, after Ward Cunningham, the inventor of the wiki. Steven McGeady named it after advice Ward gave him in the early 1980s. Ward has since said he never suggested posting wrong answers on purpose (Wikipedia has the story (https://en.wikipedia.org/wiki/Ward_Cunningham#Cunningham's_Law)), which makes a misquote that keeps spreading anyway about the most Cunningham's Law thing possible. Wren got corrected on day 2. A reader noticed that Biscuit wrote each customer's name into the CSV file as is, so a name with a comma in it would break the row: [Image: One pie order written into the CSV file two ways. Before: Smith, Jr.,555-0142,Apple pie,2 splits into five values, so name becomes Smith, phone becomes Jr., item becomes 555-0142, and qty becomes Apple pie, with the 2 left over in a fifth column that doesn't exist. After: the name wrapped in quotes, "Smith, Jr.",555-0142,Apple pie,2, splits into name Smith, Jr., phone 555-0142, item Apple pie, and qty 2.] (https://www.kirupa.com/communication/images/writing_in_public_comma.png) (https://www.kirupa.com/communication/images/writing_in_public_comma.png?v=50354388de37) A comma is what separates the columns in a CSV file, so Smith, Jr. turned into two columns. Every value after it moved one column to the right. Wrapping the name in quotes keeps it together. Wren fixed it that afternoon, before any real customer named Smith, Jr. ordered a pie, and updated the post with a note thanking the reader. Writing Finds the Gaps First The readers weren't the first ones to find a problem, though. Wren was. While writing the section about the nightly import, Wren tried to explain what happens if the 2am import starts while Biscuit is still in the middle of writing the file...and couldn't: [Image: Two timelines around 2am. Before: Biscuit starts writing orders.csv just before 2am and finishes just after, but the 2am import starts in the middle and reads a half-written file, missing orders. After: Biscuit writes to orders.tmp and renames it to orders.csv only when it's finished, so the 2am import always reads a complete file.] (https://www.kirupa.com/communication/images/writing_in_public_gap.png) (https://www.kirupa.com/communication/images/writing_in_public_gap.png?v=1b8d1ddeb094) The honest answer was that the import could read a half-written file and miss orders. So, Biscuit now writes to a temporary file and renames it only when it's finished. The import never sees a half-written file anymore, and that fix exists because Wren sat down to explain the system to a stranger. Paul Graham describes this in Putting Ideas into Words (https://paulgraham.com/words.html): "Writing about something, even something you know well, usually shows you that you didn't know it as well as you thought." We don't really know how well we understand something until we try to explain it to someone who wasn't there. Pick a Size That Fits A post doesn't have to be a three-hour essay. Writing in public comes in a bunch of sizes: [Image: Three sizes of writing in public. A note, about 15 minutes: one thing you learned today. A thread or post, about 30 minutes: one surprising result. An essay or tutorial, a few hours: a whole story, mistakes included.] (https://www.kirupa.com/communication/images/writing_in_public_formats.png) (https://www.kirupa.com/communication/images/writing_in_public_formats.png?v=b77557000bc6) A short note about one thing we learned today can take fifteen minutes. Simon Willison has kept a public collection of these at til.simonwillison.net (https://til.simonwillison.net/) for years, where TIL stands for Today I Learned. A thread or social post is good for one surprising result. An essay or tutorial is for when the story needs a beginning, a middle, and the mistakes in between. Wren's post was the big size, but most weeks, a note is plenty. What Shouldn't We Share? Writing in public about our work comes with a responsibility. Before posting, Wren sorted everything the post could mention into two piles: [Image: Two piles. Share: the problem we had, the approach (write into the CSV the 2am import reads), what we got wrong, and how we fixed it. Keep private: customer names and orders, server addresses and passwords, how the system is secured, and Rolling Pin's order volumes.] (https://www.kirupa.com/communication/images/writing_in_public_share_or_not.png) (https://www.kirupa.com/communication/images/writing_in_public_share_or_not.png?v=5b2bffa0418c) The lesson, the approach, and the mistakes all went in. Customer names, server addresses, and anything about how the system is secured stayed out. Rolling Pin's order volumes stayed out too, since those were Gus's numbers to share and not Wren's. Asking Yara and Gus to read the post first wasn't a formality either. It was their system, and they got a say in how it was described. If we aren't sure whether something can be shared, that is a good sign it shouldn't be, at least until we've asked. A Real Example: This Site Everything so far has been about Wren, but kirupa.com is a real example of all of this, so let me tell you about it. Around 1998, I was making animations in Flash and Microsoft's Liquid Motion and posting them on a free GeoCities page. The web looked a little different back then: [Image: A late-1990s style personal homepage in an old browser window: a starry background, Welcome to my homepage in big letters, a yellow and black Under Construction sign, a visitor counter reading You are visitor number 000417, and a badge that says Best viewed at 800x600.] (https://www.kirupa.com/communication/images/writing_in_public_geocities.png) (https://www.kirupa.com/communication/images/writing_in_public_geocities.png?v=ac72a618dd30) As I posted more animations, people began to ask how I made them. I wrote my answers up online as tutorials, and those became the first batch of tutorials on this site. A lot happened after that: [Image: A timeline of kirupa.com. 1998: Flash and Liquid Motion animations on a free GeoCities page. 1999: on February 10, kirupa.com gets its own name. Then people ask how the animations were made, and the answers become tutorials. 2000 and 2001: too many questions to answer one at a time, so the forums start. Later: the data structures and algorithms tutorials become a book. Today: my AI agents learn to write like me by measuring these tutorials.] (https://www.kirupa.com/communication/images/writing_in_public_timeline.png) (https://www.kirupa.com/communication/images/writing_in_public_timeline.png?v=636c89216cee) By around 2000 or 2001, there were far more questions than I could answer one at a time, so the site got forums, where the answers stay around for the next person with the same question. Years later, the data structures and algorithms tutorials here became my algorithms book. More recently, my AI agents learned to write more like me by measuring the tutorials on this site, which I wrote about in I Trained My AI to Write Like Me (https://www.kirupa.com/ai_fundamentals/trained_my_ai_to_write_like_me.htm). None of that was the plan in 1998. Each of those things started with somebody asking a question and an answer getting written down where other people could find it. The readers have changed a bit, too. Every article here also comes in Markdown and plain-text versions, because some of the readers are AI assistants that answer people's questions: [Image: Every kirupa.com article comes in three versions. The web page goes to people reading in a browser. The Markdown version and the plain-text version go to AI assistants that answer people's questions.] (https://www.kirupa.com/communication/images/writing_in_public_twins.png) (https://www.kirupa.com/communication/images/writing_in_public_twins.png?v=701ce9cb4cc8) Writing in public now reaches the people who search, and it also reaches the tools those people ask. Try It This Week Let's publish one lesson learned. Pick something you figured out in the last month, ideally something a teammate or a stranger has asked you about. Then fill in these blanks: [Image: A fill-in-the-blanks post: Title: how we blank. The problem: blank. What we tried first: blank. What worked: blank. What we got wrong: blank. What I'd tell someone starting today: blank.] (https://www.kirupa.com/communication/images/writing_in_public_template.png) (https://www.kirupa.com/communication/images/writing_in_public_template.png?v=48d0dfcdab1d) Before you post it, take these three steps: 1. Read it as a stranger would, and add whatever background you skipped because it felt obvious. 2. Remove anything that belongs to a customer, a teammate, or another company, and ask anyone whose work it describes to read it first. 3. Publish it somewhere people can find with a search, then link it the next time someone asks you the question. Frequently Asked Questions What Does Writing in Public Mean? Writing in public means sharing what you learn while doing your work, somewhere anyone can find it, like a blog post, a short note, or a forum answer. When you share while you’re still figuring things out, it’s often called learning in public. Do You Need to Be an Expert to Write in Public? No. Being one step ahead of your reader is enough, and it’s often better, because you still remember which parts were confusing. Experts tend to forget that. Be honest about what you got wrong, and readers will help correct the rest. Why Is Writing Considered Leverage? The effort happens once, and the reading keeps happening. In our example, a year of private replies would have taken 28 hours to help 48 people, while one 3-hour post was read 4,660 times in its first year. What Shouldn’t You Share When Writing About Your Work? Leave out customer data, passwords and server details, how your systems are secured, and numbers that belong to someone else. Ask the people whose work you describe to read the post first. If you aren’t sure something can be shared, ask before you publish. Conclusion Ok, that's it! Wren started out answering the same question one person at a time, which is kind and helpful and also impossible to keep up. Writing the answer once, where anyone could find it, turned 3 hours into thousands of reads, a bug fix, a safer import, and a couple of job applicants who already knew how the team worked. Wren didn't need to be an expert. Being one rung ahead and being honest about the mistakes was enough. Writing in public isn't free. It takes time, it means being wrong in front of people now and then, and some posts will barely get read at all. The ones that do get read keep working long after we have moved on to the next thing. Wren's next post is about Biscuit's pie pre-orders, and it is going to be a short note. (Probably.) Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, All Teams & Leadership (https://www.kirupa.com/teams_and_leadership/index.htm), or check out some related content: - Changelogs and Release Notes People Actually Read (https://www.kirupa.com/product_thinking/changelogs.htm). Release notes people actually read, written for the people affected. - I Trained My AI to Write Like Me (https://www.kirupa.com/ai_fundamentals/trained_my_ai_to_write_like_me.htm). How my own tutorials taught my AI agents to write like me. 3. Stuck on something, or curious about a detail we skipped? Ask on the forums (https://forum.kirupa.com/), and we’ll help you out. [Mastery Quiz] Test your knowledge! Take the Writing in Public Quiz: https://www.kirupa.com/quizzes/writing_in_public.htm Practice with 6 multiple-choice questions and an explanation after every answer. [/Mastery Quiz]