I paid people to try and follow my README

(shkspr.mobi)

92 points | by edent 1 hour ago

25 comments

  • alaudet 3 minutes ago
    Documentation is so important. I have been treating documentation in the same way I handle code. I found mkdocs works pretty well and integrated with a github job that updates the docs when I commit changes to my main branch. It also allows contributors to correct errors or add helpful instructions to documents. I think I have not paid enough attention to my biases though and like the idea of hiring someone to go through the process. I think my instructions are sound but maybe not so much for a user who is not as familiar as I am. I may not be doing things the optimal way but I have used a lot of documentation over the years and feel what I have done addresses gripes I have had with "Big Tech" provided docs.
  • bryanhogan 25 minutes ago
    This is very close to what you call usability testing in the field of UX design.

    The Nielson Norman Group has a good introduction to this: https://www.nngroup.com/articles/usability-testing-101/

    Is this interesting to people on HN?

    I majored in a mix between coding and design.

    • lukan 21 minutes ago
      Yes very much so and thanks for the link.
  • rapnie 21 minutes ago
    I know there are some great README's (and other documents) around, that document best-practices or templates for great README's. I found one that looked very useful and would've sworn I starred the repo to find it again in time of need. Alas, can't find it. Anyone has some good resources to point to, to add to this thread?

    Update: Found some related HN threads (omitted link-rotted submissions).

    - I'd like to review your README https://news.ycombinator.com/item?id=26842191 (91 comments)

    - Readme.so – Easiest Way to Create a Readme https://news.ycombinator.com/item?id=27006740 (65 comments)

    - Readme Driven Development https://news.ycombinator.com/item?id=1627246 (57 comments)

    • estetlinus 18 minutes ago
      Theres a GitHub repo called awsome readmes
  • theletterf 36 minutes ago
    Besides emojis, I find it too long. READMEs should be succinct and be like a switchboard to other docs (much like LLMS.txt tries to be for agents).

    Also, it features an FAQ. FAQs are problematic: https://passo.uno/what-the-faq/

    • saghm 28 minutes ago
      The link says "My opinion is that FAQs pose a problem only when there’s no strategy around their usage." Calling them "problematic" based on that seems like an exaggeration
      • theletterf 16 minutes ago
        I'm the author of that post. I think FAQs can have a place, but not prime time as the one afforded by a README. There are better ways of providing support to users, though I understand one might be in a hurry and thus need to dump Q&As somewhere.
  • chanux 1 hour ago
    > My jokes aren't funny and are actively confusing.

    I used to write technical documents in prose style, sometimes with meandering stories. I guess I picked it up from my early blogging days. I realized I hated reading some of them back. So I tried to keep it cut and dried. I do sometimes sprinkle a bit of colorful wording just to add a bit of humanity but only if it doesn't get in the way of the main message.

    • shevy-java 1 hour ago
      Being short and concise is usually the better way.

      I tend to be too verbose in writing as I want to explain the context in more detail, but short, accurate, concise is best. Many developers fail at that too, though. Many projects do not have working examples. That annoys me the most. It sends a message of "I don't care about new users learning how to use my project".

      • ibizaman 21 minutes ago
        Same for me. What helped is the realization that I was trying to cater to everyone in the same document. Now I try to follow the organization outlined in https://diataxis.fr/ I’m still very bad at documentation in general but I’m less dissatisfied when I come back a few months later.
        • chanux 10 minutes ago
          I had diataxis in mind when I wrote my comment. It's an important and excellent guideline on picking the style based on purpose of the doc.
      • ignoramous 40 minutes ago
        > Being short and concise is usually the better way.

        The golang docs are like this. As a novice, you are looking for detailed prose, but as you progress, you come to appreciate the terseness.

  • sccxy 10 minutes ago
    Most README files should include a screenshot.

    Even if it is a command-line tool, a screenshot helps provide a better understanding of what to expect.

  • coo1estguy 1 hour ago
    This used to be called "I hired QA people to identify gaps in my project", but hey now it has become paying people to follow readme
    • nkrisc 1 hour ago
      This sounds exactly like UX usability testing. Sit down with someone and watch them work through whatever process you’ve created.

      It’s normal to compensate them for their time.

      Normally though you don’t modify it after each participant. But for something very niche like following a README (as opposed to an e-commerce flow targeted to the general population) it might be fine, if less rigorous.

  • simonbarker87 51 minutes ago
    Most documentation reads like you should already know what you’re doing, which makes sense because it was written by someone who already knows how to do the process.

    I think good technical writing requires the same skills as good product ownership, that is empathy for the user and their perspective. Often technical writing is an after thought and not someone’s whole role and it really shows.

    Good article

  • WhyNotHugo 1 hour ago
    There's a zeroth step missing from both the Quickstart and Full Set Up: install php-fpm, configure it, and configure your http server to serve using it as a backend.

    It seems to be taken for granted — that's something you'd already have in place if you're already serving applications in PHP, but would have to figure out on your own if you haven't served anything in PHP so far in your life.

    • edent 1 hour ago
      It's a tricky problem. How far back in the stack do you go? The README assumes that you know how to use git to check out the files - or that you can easily save them from the repository. Should it include that as a step in the tutorial?

      As I say in the linked article, it depends on what sort of user you have. For a "getting started with Raspberry Pi" document, you might well want to include how to insert an SD card etc.

      I'll have a think about the best way to help people figure out if they're running PHP. Thanks for the feedback!

      • csydas 32 minutes ago
        Feedback and issues you need to troubleshoot with your projects is a good indicator of your audience level, and from my experience it’s helpful to understand that documentation is always under development just like the code

        from experience in ENT support where i was sending instructions & quick fix scripts to technically capable persons, you will learn very fast when you’ve missed the mark with your documentation / instructions. tons of times i had ready made solutions that i thought “just copy and paste and go what could possibly go wrong?” and was caught off guard how often a little too much knowledge lends to confusion. i am not blaming the users here it is my fault that i didn’t explain things like “no don’t change this date in the fix that is a special date when the issue could have earliest occurred and it’s there to avoid grabbing more than we need to parse”, but i didn’t tell that so of course people changed it to all sorts of dates thinking they had to

        such feedback and issues also got me way better about writing code that avoided chances for such mistakes as i didn’t want users to have to read a novel to understand what to do; it’s a fine balance between what to solve with documentation and what to solve with code

      • layer8 1 hour ago
        Installation instructions usually (should) have a “prerequisites” section. You don’t have to explain how to install the prerequisites, but they should be listed.
      • BoppreH 1 hour ago
        > How far back in the stack do you go?

        My rule of thumb for my READMEs: there should be a list of commands, that when executed in order and in a clean machine, result in the software doing something useful. Yes, this includes `git clone`.

        If there's something the user might already have, like the webserver, I add a comment "skip this if you already have a web server". If there are any shortcuts that make it not production-ready, it's time to break out the ALL CAPS.

        Limiting the operations to simple commands also helps me keep honest about the instructions (no hidden assumptions), and forces the software to be minimally testable.

        • mr_mitm 49 minutes ago
          Why stop at `git clone`? Why not include `apt install git` and equivalents for all OSs?
          • dlkasajiewo 44 minutes ago
            Whenever I write documentation, my first step is to explain how silicon can be used as a transistor.
            • mr_mitm 39 minutes ago
              Yeah well I produce home grown silicon in super novae.

              'If you wish to make an apple pie from scratch, you must first invent the universe.'

      • Saris 52 minutes ago
        Generally it seems like good READMEs assume you have a compatible OS ready to go, but will give you a summary of all commands to get a working setup from there.
      • lionkor 1 hour ago
        It can't hurt to make a sentence or two about assumptions.

        Like "This manual assumes that you have a Linux/BSD, a C compiler, GNU Make, and a text editor".

      • astura 30 minutes ago
        It's really not that tricky at all, every install document I ever wrote has a "prerequisites" section telling you the prerequisites.
    • sudorm-rf--no-p 1 hour ago
      Even as someone working with PHP I would prefer if the project provides we with some guidelines for setup. Especially if it requires some specific version or extension. Ideally the whole dev environment should be containerized. Then you would again require people to understand and use that layer, but depending on the projects complexity definitely something to consider to make it easier to work with
  • Neywiny 1 hour ago
    Yes. The amount of projects that don't just run is outstanding. Luckily docker container projects are inherently better at this is in terms of dependencies, but there are still often weird assumptions or medical incantations to get them during.
  • dawnerd 2 minutes ago
    Given the agents.md I’m assuming the readme was just spit out by an LLM and the goal was to not read as LLM text. Problem is, it reads like you prompted it to be written in more simple language.

    I just find it a bit misleading that you’re saying you want to talk to real people all while trying to clean up AI slop.

  • ozlikethewizard 1 hour ago
    "They were the ones who caught the mistakes that no spell chequer could."

    Nice, good article lol. I appreciate a joke or two in a readme but totally understand the annoyance, I think forgetting to actually say what the software does is super common as well though. Often trying to figure out if something found on github will actually solve a problem only to be met with a list of install commands.

    • alienbaby 54 minutes ago
      The 'look awesome project with funky name, here's how to install off you go' without a word to what one earth it actually does is amazingly common. Plenty of things posted here I bounce away from after hitting the linked page, finding something someone is obviously very proud of, but not having a clue what it's actually about :p
  • bgolson 48 minutes ago
    Excellent article! Thank you for the reminder that I need to be spending more time with users… or hirelings :)
  • Waveplay 8 minutes ago
    Waveplay
  • prologic 31 minutes ago
    And did it work?
  • scriptsmith 1 hour ago
    Somewhat related question: what is it about READMEs that AI agents love to dump the most useless, hard to contextualise & comprehend, irrelevant rubbish into them that makes understanding a project and onboarding so hard?

    It feels like like the AI agents can't help themselves sometimes, and the judgement exercised around what's included and omitted is baffling.

    But maybe READMEs have always been this bad, and AI agents have raised the baseline?

    • saghm 14 minutes ago
      That sounds pretty similar to what I get from LLMs regardless of what they're writing for. Any time I get more than a paragraph out from an LLM, it tends to have of a lot of irrelevant details or unnecessary hedging, and I have to either wade through it to find the actual answer or try to convince it to make it more direct.

      As someone on the spectrum, this does happen to me with people sometimes too; I struggle when asking a question and getting an answer that doesn't fit the "shape" of what I expect (e.g. asking a yes or no question and getting a relatively long sentence in response that doesn't contain either "yes" or "no" in it, which means I need to do the equivalent of applying it as a diff to my mental model and seeing if there are conflicts). This happens less frequently with other humans though, and on average the amount of effort I need try to figure out what they're saying is a lot lower. This doesn't make it less frustrating when I get that kind of output from an LLM, but it doesn't surprise me all that much that it happens.

      I'm sure I do this all the time to people too, though. One of the biggest lessons I've learned in the past several years is that I communicate in ways that I'd probably have trouble understanding in reverse a lot more frequently than I realized, even I still do the things I find confusing from others less often than most people I interact with. I'm sure a lot of people might find this comment to be pretty much exactly like what I'm complaining about even though I feel fairly confident at least in this moment that my point is clear.

  • commandersaki 1 hour ago
    I hate READMEs with a gazillion emojis, too much noise.
    • chanux 1 hour ago
      Cannot agree more. Looks kinda childish too.

      It was nice when emoji were used sparingly and with purpose and intention.

      As my childhood English teacher said - too much of anything, good for nothing.

    • layer8 1 hour ago
      Indeed, these make me back out of a project immediately if I don’t have a strong need to use it, and it takes extra cognitive effort to ignore the emojis and focus on the actually meaningful text.
      • ThePinion 1 hour ago
        This one wasn't as bad as the majority that have the emoji in each header too. At least these emoji did seem to properly represent the item they're next to, not an immediate rocket ship emoji in the header following by irrelevant ones of various sizes littered throughout the text.
    • cowlevel 1 hour ago
      To me an emoji-filled README is a good sign both the README and the project were generated by an LLM.
    • ivanjermakov 47 minutes ago
      Immediate reaction - LLM generated. Hard to imagine a real human picking emojis to match feature description for a long list.
    • edent 1 hour ago
      That's interesting. In my testing, about half the participants liked them, one didn't, and the rest didn't express a strong preference.

      I kept them because they make me smile.

      • bookofjoe 6 minutes ago
        >I kept them because they make me smile.

        But isn't the whole point to make your users smile? No one but you cares if YOU smile.

      • layer8 1 hour ago
        To me it’s similar to what you wrote about the jokes you removed: the emojis are distracting and not actually fun. This use of emojis comes across as a tired meme. It’s better if the project makes people smile due to its intrinsic qualities like working well and doing what they want.
    • TheSkyHasEyes 1 hour ago
      I needed to read your sentence a few times to figure out you don't hate README files. I too dislike emojis overuse in README files.
  • shevy-java 1 hour ago
    Writing good documentation is difficult. From those who say "the source code explains everything", I think 80% are too lazy to write documentation in the first place.

    Having said that, I found consistently that when a project has working examples, ideally documented a bit, aka explained, they tend to work much better than those projects that have no examples. Working examples often also help get into a project quickly and check out how it works. It helps to learn too.

    READMEs are not useless, of course, but the quality varies a lot. I also know of folks who use AI slop spam to improve it, but while it may improve a little bit, it generates a lot of horribly to read text that makes no sense. I am noticing this with the ruby core dev team - they (almost) all suddenly have perfect language skills but it is more like an advanced babelfish translator. What they piece together here makes no sense. Claude in particular is now famous for this slop content. And I don't understand what it is used: real people read any of this AI slop? Because I just skip it or filter it away these days.

    • orsorna 51 minutes ago
      >From those who say "the source code explains everything"

      Because theoretically you should be able to describe not only your entire application logic, but upper and lower bounds of inputs as well. Good code would describe this inherently.

      Documentation is only useful when a) the application is not source available, so you have no choice, b) you want to save a human developer time for them to understand your code, or c) you want to use documentation as a cache hit for agent use (less token spend)

  • astura 51 minutes ago
    >But it is really hard to ignore your own biases. Of course you know that certain commands require sudo and obviously when you wrote -foo you meant --foo and everyone knows that you have to reboot afterwards.

    For God's sake, this is not "biases," wtf?? That's straight up just not reading/following the document you're supposed to be testing/reviewing. When I test my documents I actually follow them exactly, step by step, and I always catch these sorts of mistakes. Always. I always copy/paste commands because I know that is what the customer will do, so I have to make sure that works flawlessly.

    Dude, if you actually follow your own document, you don't have to pay people to do it for you. Also, you can make sure the person you are paying doesn't ignore the document like you apparently do.

    I stopped reading, I'm not interested in whatever else this dude has to say. I'm literally flabbergasted.

    Maybe it's because my documents have always gone to real paying customers who have to get through this install, and not some hobby project I'm super proud of or whatever and I don't think I'm super clever? Idk.

  • jack_sunsetless 25 minutes ago
    [flagged]
  • yt1998 1 hour ago
    [dead]
  • jheriko 48 minutes ago
    [dead]
  • badsectoracula 1 hour ago
    > I know someone is going to say "why not just ask an LLM to simulate a range of users?" The answer is very simple - I want to speak to real people. People are brilliant! They can make you laugh, you can see their cat when it wanders on to the call, they bring a unique perspective to the problem, and they're really happy when you give them a €25 voucher. Some will gladly do it for free and make you happy!

    So what the author actually paid for was to interact with humans and the README checking was secondary - because, really, my own first thought was literally to ask an LLM check and try to follow the instructions in the README and pretty much any decent LLM (including several local ones) would be able to check if they're adequate and even suggest improvements (just don't let them write it for you :-P).

  • sshine 29 minutes ago
    Nix.

    I know, I know: It's complicated. But have you heard of AI agents?

    But I just onboarded 4 interns on a project where all they had to do was

      1. Install the Nix package manager
      2. Install direnv, enter the project repo, and `direnv allow`
      3. Toolchain, git hooks, MCP servers, in-repo issue tracker, everything is available
    
    Our project manager requested information that was available in the issue tracker. I told her, she could get all her answers by asking our agent, and it'd automatically reference the issue tracker. I figured I'd just need to show her how to install the Nix package manager. But no, she already had it because another project by another team depended on it.

    Putting wrong information is README is so outdated when you have programmatic setup of your entire toolchain.