Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. AI video won Nikon Image Competition, microscope user needs to talk about it(reddit.com)
    discuss
  2. Dan Saunders ATM Glitch(wikipedia.org)
    discuss
  3. Structural Analysis in Browser (FEA)(elementarium.app)
    discuss
  4. Show HN: PCBClaw(github.com/liseman)
    discuss
  5. Show HN: InboxNest: A unified inbox for all your businesses(tryinboxnest.com)
    discuss
  6. Heirs of Goebbels: falsification of the events in Bucha [pdf](mid.ru)
    discuss
  7. Caring vs. Knowing(exe.dev)
    discuss
  8. Comma's hands-off driving tech under investigation after 2 fatal crashes(techcrunch.com)
    discuss
  9. Coverd Is a Late-Stage Capitalism Fever Dream(jhm.lol)
    discuss
  10. It's 90 Degrees in the Arctic(scientificamerican.com)
    discuss
  11. The First Microbe for Mars(pioneer-labs.org)
    discuss
  12. Show HN: CUDA-verkle – GPU-accelerated 256-MSM for Verkle tree commitments(github.com/dyslex7c)
    discuss
  13. 'You Can See Everything' Trailer(variety.com)
    discuss
  14. Socialism's Positive Rating Tops 40% for First Time(gallup.com)
    discuss
  15. Show HN: The Chonkerton – on-demand audio news(chonkerton.com)
    discuss
  16. Why I Changed My Mind About AI Risk(persuasion.community)
    discuss
  17. Redis is not a map you talk to over TCP(verygoodsoftwarenotvirus.dev)
    discuss
  18. Show HN: UsageBar – A Windows tray app for monitoring Claude Code usage(github.com/hsnsdt)
    discuss
  19. Amazon re-hiring laid-off workers for AI(qz.com)
    discuss
  20. Sandboxing with Minimal Effort(yorickpeterse.com)
    discuss
  21. Developers want more efficient software(github.blog)
    discuss
  22. Cheating at Search with Jev(softwaredoug.com)
    discuss
  23. The United States of Walmart, According to WiFi Data(ipinfo.io)
    discuss
  24. Cheaper LLM Labelling(entropicthoughts.com)
    discuss
  25. UK to launch new military space squadron to protect satellites(phys.org)
    discuss
  26. Stripe built its internal AI platform(stripe.dev)
    discuss
  27. Philosophical and Biological Inquiry into Tree, Mycelium, Future of Intelligence(researchgate.net)
    discuss
  28. China Just Missed the Income Cutoff to Become a High Income Country This Year(ourworldindata.org)
    discuss
  29. Reasoning Yield: share of tokens spent resolving uncertainty(leaflet.pub)
    discuss
  30. Benchmarking LLM query generation across SQL, Cypher, and TypeQL(typedb.com)
    1comments

The GitHub wiki is an anti-pattern

23 pointsby 54m agomichaelheap.com
15 comments
43m agoHN ↗

I agree with this post. I’ve never found the GitHub wiki experience to be particularly ergonomic. I don’t have any issues with it, but it’s no more convenient than a simple /docs folder. And from there, it’s almost trivial to turn /docs into GitHub pages. Similar effort for a much better end product.

Wikis typically connote distributed, anonymous edits. This feature is partially covered by git already.

29m agoHN ↗

Biggest thing for me is wiki edits skip code review, so docs rot silently while a /docs PR at least shows up in the diff next to the change.

22m agoHN ↗

Indeed, and also now with agents everywhere the docs can be updated and checked more regularly. If it's in the wiki, you can clone it locally and put an AGENTS.md line informing of where the docs are, but it's still a separate repo to deal with. Credit where due, it was a revolution (even a godsend) in it's time, but at this point I agree a /docs is better.

9m agoHN ↗

im having trouble connecting the dots here. How does adding the friction of code review reduce rot?

23m agoHN ↗

Fossil (https://fossil-scm.org/home/doc/trunk/www/index.wiki) solves this pretty nicely. You can have documentation as files or in a special wiki namespace and it's versioned both ways, and every repository clone gets everything. Even better than that, your in-tree documentation files are rendered and browseable in exactly the same way as the dedicated wiki namespace.

The linked URL to the home page there can even serve as an example: the "trunk" is a check-in name (https://fossil-scm.org/home/doc/trunk/www/checkin_names.wiki) that points to the newest check-in on the "trunk" branch. You can replace it with any other reference to get the old version; eg, version-2.20 would work to get the version 2.20 of the docs, 2015-03-14 would work to get the version from 14 March 2015, etc.

22m agoHN ↗

Interesting because I just added a wiki for one of my projects. I'm not using it for docs, since the project already has in-tree docs. I'm using it more as a public scratchpad of ideas / experiments to try that aren't well-defined enough (or known to be worth) opening as an issue yet.

18m agoHN ↗

The original sin of GitHub "wikis" is that they weren't (and most of them still aren't) even wikis. There's this perverse thing that happened where people started calling things "wikis" even though they exemplify the the very thing that the wiki was invented to solve. GitHub's reckless debasing of language has infected adjacent spaces. Sourcehut's "read-only wikis" (wat) can't even be edited in the browser; on Sourcehut, "Publishing your changes is as easy as committing them and pushing them upstream." Newsflash: That's not a wiki.

18m agoHN ↗

In my experience, the docs for something like setting up a dev env are typically greatly improved by the second person who sets up the dev env, not the personal who originally wrote the docs.

In that case, when the docs are not associated with a code change, you want to make getting those improvements into the docs as frictionless as possible, otherwise the changes aren't going to get made.

Personally, I've found that making docs updates incredibly fast + easy to be far more valuable than anything you get from forcing doc changes through the full SDLC process. If someone has feedback on your docs changes they would have shared in a review, they can just update the docs instead.

15m agoHN ↗

You can set up automation and/or configuration such that changes to the docs folder don't require code review.

13m agoHN ↗

That could be easily be corrected by relaxing merge gates for changes only to the `docs` folder (or some suitable naming pattern).

You can even do live edits on the web if you don't want to use a command line.

8m agoHN ↗

They're not indexed if they're publicly editable

8m agoHN ↗

It's likely also better that agents seeing versioned /docs can understand the context of changes to the codebase better.

6m agoHN ↗

nit: ”Using the /docs folder is the highest effort-to-reward ratio option” shouldn’t it be lowest or reward-to-effort instead?