Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude Code reads AGENTS.md only when telemetry is on(szypowi.cz)
    81comments
  2. The GitHub wiki is an anti-pattern(michaelheap.com)
    21comments
  3. Jev in 25 Lines of Python(nobodywho.ai)
    126comments
  4. Z80 REPL(abagames.github.io)
    7comments
  5. Samsung accidentally freezes its smart fridges with a software update(androidauthority.com)
    48comments
  6. OpenAI is enlisting an influencer army to make it look 'good for the world'(businessinsider.com)
    56comments
  7. GPT-6 Sol and Luna(openai.com)
    787comments
  8. I Don't Want the Details(michaelheap.com)
    52comments
  9. Claude Opus 5.5(anthropic.com)
    1004comments
  10. QuestDB (YC S20) Is Hiring a Sales Engineer(questdb.com)
    discuss
  11. Tokens Too Cheap to Meter(jyn.dev)
    22comments
  12. Transit rewards(waymo.com)
    239comments
  13. OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005(cryptocellar.org)
    410comments
  14. Show HN: Ive Sent It – online courier for files, with signed proof of delivery(ivesentit.com)
    8comments
  15. Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived(foxscript.org)
    216comments
  16. Two Git ignore files nobody told me about(dinculescu.dev)
    13comments
  17. What California is learning from solar panels built over irrigation canals(kqed.org)
    505comments
  18. Show HN: RxFilm Studio–Create and edit your product videos with AI agent(rxlab.app)
    6comments
  19. ReBarUEFI: Resizable BAR for almost any UEFI system(github.com/xcuri0)
    60comments
  20. How did AMD Ryzen get 50% faster in two years?(lemire.me)
    166comments
  21. The Price of Intelligence Is Falling Rapidly(marginalrevolution.com)
    6comments
  22. Show HN: Jevper – the Jev interface on top of any OpenAI-compatible model(github.com/zhulinchng)
    discuss
  23. 'We hacked the FBI:' Hackers say they have data on all FBI employees(404media.co)
    509comments
  24. Data-only attacks are easier than you think (2024)(usenix.org)
    29comments
  25. SAML: A fractal of bad design(trailofbits.com)
    152comments
  26. WordPress: Unauthenticated path traversal leading to conditional RCE(github.com/wordpress)
    112comments
  27. Claude Opus 5.5 Intelligence, Performance and Price Analysis (Max)(artificialanalysis.ai)
    99comments
  28. Pentagon says overreliance on AI contributed to missile strike on Iran school(bloomberg.com)
    382comments
  29. Show HN: Npunlock – Run custom C kernels for Intel NPUs(github.com/hsfzxjy)
    12comments
  30. Unreal Agent(unreallabs.ai)
    114comments

The GitHub wiki is an anti-pattern

32 pointsby 1h agomichaelheap.com
21 comments
52m 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.

37m 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.

30m 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.

17m agoHN ↗

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

8m agoHN ↗

You can spot a code change without a docs change or vice versa

32m 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.

13m agoHN ↗

Why is this easier or more effective than just a /docs directory?

31m 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.

26m 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.

23m agoHN ↗

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

21m 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.

17m agoHN ↗

They're not indexed if they're publicly editable

17m agoHN ↗

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

14m agoHN ↗

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

10m agoHN ↗

In Forgejo, wikis are just another repo, so you have versioning there.