git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2 0/1] scalar: move to the top-level, test, CI and "install" support

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 24, 2022, 21:53 UTC
Message-ID
<xmqqzgi1u3rt.fsf@gitster.g>
In-Reply-To
<220624.86y1xmi5wo.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 8 quoted lines
> Especially as I'm not insisting that I be the one to drive anything
> forward on the scalar topic, I think it makes much more sense that it's
> Victoria.
>
> This patch is just offered as a way to help that effort along. Perhaps
> she'd ack it as-is, find it useful as it reveals some edge cases she
> didn't know about, or drop it and go for some other approach. Whatever
> gets us to the end-goal sooner than later is fine by me.
Careful ...
Show 10 quoted lines
> Once you "git rm" the scalar Makefile there's not really a lot of ways
> you can go other than something approximating the upthread patch. Given
> that some of the edge cases are tricky I deemed it worthwhile to share
> it.
> ...
> I'm not saying that, but "you seem to be trying to do X, and may or may
> not be aware of a past patch that does X, here is is in case it help!.
> ...
> Some of the edge cases in the Makefile integration are subtle. I trust
> that someone looking at it would probably discover those eventually.

... Even though you ask to assume good intent, an attitude shown by repeated "I've done that, I already know *the* solution to the problem you are trying to solve, and you can learn from what I did" gives recipients quite an impression different from what you intend to give.

> But if I'd have gotten a patch from my future self with all the learned
> edge cases beforehand I'd have appreciated, so I figured I'd send it in.

In any case, if you stop sending *replacement* patches in response to others' work, that alone will reduce the friction people around you are feeling quite a lot. A replacement patch is a horrible and inefficient way to comment on others' work, if your goal is to be understood. The recipient would be forced to read and think like you did, making comparison between the two approaches themselves if they want to see if it is worth to use the replacement.

Making comparison between approaches, arguing for the alternative approach to be better, and proposing the alternative to be taken, is the responsibility of the party who is suggesting alternative approaches, not that of the recipient.

For that reason, if you want to say something to other people's work, you are better off doing that either by commenting in-line (i.e. annotating their code you want to comment on), or if you absolutely need to talk in code, or by giving an incremental update once their work solidifies (i.e. pointing out a specific issue in the existing code, explaining why it is a problem worth addressing, and offering an update---just like when you are fixing a bug).

Thanks.
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 11 of 16 in “[Discussion] The architecture of Scalar (and others) within Git”
  1. Derrick StoleeOct 27, 2021
  2. Johannes SchindelinOct 28, 2021
  3. Philip OakleyOct 28, 2021
  4. contrib: build & test scalar by default, optionally installÆvar Arnfjörð Bjarmason, Oct 28, 2021
  5. 0/1 scalar: move to the top-level, test, CI and "install" supportÆvar Arnfjörð Bjarmason, Jun 23, 2022
  6. 1/1 scalar: reorganize from contrib/, still keep it "a contrib command"Ævar Arnfjörð Bjarmason, Jun 23, 2022
  7. Derrick StoleeJun 23, 2022
  8. Ævar Arnfjörð BjarmasonJun 23, 2022
  9. Derrick StoleeJun 23, 2022
  10. Ævar Arnfjörð BjarmasonJun 24, 2022
  11. Junio C HamanoJun 24, 2022
  12. Ævar Arnfjörð BjarmasonOct 28, 2021
  13. Derrick StoleeNov 4, 2021
  14. Junio C HamanoNov 1, 2021
  15. Johannes SchindelinNov 4, 2021
  16. Junio C HamanoNov 5, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.