‹ BackHN Continuity

Thread

On caring for user data: NeoVim caused Vim undo files to be deleted

384 points · 346 comments · jandeboevrie

  1. gchamonlive · · focus · HN ↗
    Am I missing something? Are people using persistent undo as backup?

    This seems however more like of a documentation and UX problem. Neovim should warn and ask before deleting old undo files, or at least back them up, but it's not neovim's fault if people don't use reliable backup and versioning systems. Relying on persistent undo for this is kind of a self inflicted wound.

    Use the proper tools for the job. Saying that neovim developers "had no concept of a duty of care to their users" is really disrespectful. Neovim's Lua API is overflowing with care, you just need to go look.

    1. drfloyd51 · · focus · HN ↗
      Not using it as a backup strategy. But it doesn’t matter. Vim has a feature, persistent undo. People are using it for whatever reason. Under your blessing or not. A different app, neovim, broke vim’s feature.

      They don't get a pass because you disagree with an imagined use case.

      1. gchamonlive · · focus · HN ↗
        Yeah, they could have done better, but to say they "had no concept of a duty of care to their users"... Isn't it a bit much?
        1. tolerance · · focus · HN ↗
          The entire story is a setup for a remark about a Neovim maintainer's refusal to remove a David Heinemeier Hansson quote from the Neovim homepage [0]. So with that in mind the rhetoric makes sense.

          [0]: In spite of the author at Unsung saying that Neovim is "in news" for other reasons. Chisnall's account is being given in the immediate context of that news.

          1. gchamonlive · · focus · HN ↗
            So you say the authors accusing neovim of being careless are themselves careless with the readers when they lure us into reading a piece that has second political intentions?
            1. tolerance · · focus · HN ↗
              Good question...

              Maybe the author of the actual blog post had different intentions in sharing the Mastodon post than the author of the Mastodon post did. But the Mastodon post was made in response to the event that the blog post attempts to separate itself from. It's a reasonable thing to do if you're more interested in the technical issue and not the political one that the technical issue is being compared to.

              But the context of the original post is meant to respond to a (techno-)political issue. This can explain why the post's rhetoric comes across as hyperbolic.

              It doesn't help that UX seems to be talked about in ways that borrow the rhetoric of ethics from other disciplines like law and healthcare.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.