Live data from Hacker News

Why is Git Autocorrect too fast for Formula One drivers?

blog.gitbutler.com

161–170 of 248 posts

Re: Why is Git Autocorrect too fast for Formula One drivers?

#161
> introduced a small patch

> introduced a patch

> the Git maintainer, suggested

> relatively simple and largely backwards compatible fix

> version two of my patch is currently in flight to additionally

And this is how interfaces become unusable, through thousand small "patches" created without any planning and oversight.

Re: Why is Git Autocorrect too fast for Formula One drivers?

#163
post #13

I sometimes have this realization as I'm pressing enter and reflexively press ctrl+c. As someone whose typing speeds range from 100 to 160 WPM, this makes sense. Pressing keys is much different from Formula One pit stops.

I'm curious if the startup time, plus the overhead of Git trying to figure out what you might have meant is significant enough to give you enough time to realize and hit ctrl+c. In testing it quickly, it looks like typing the wrong command and having it spit out the possible matches without running it takes 0.01-0.03s, so I would venture to guess that it's still not enough time between hitting enter and then immediat…

I think most programs you execute have enough startup overhead to do Ctrl-C before it even begins, including CLI tools. I do this a lot (and calculate in the time of realizing it was the wrong command, or not the flags I wanted, etc.)

Re: Why is Git Autocorrect too fast for Formula One drivers?

#164

For reference, Valtteri Bottas supposedly recorded a 40ms!!! reaction time at the 2019 Japanese Grand Prix. https://www.formula1.com/en/video/valtteri-bottas-flying-fin...

Is there a random time between the red lights and the green lights, or is it always the same? Because that feels more like learning the timings than reacting to something

Re: Why is Git Autocorrect too fast for Formula One drivers?

#165

For reference, Valtteri Bottas supposedly recorded a 40ms!!! reaction time at the 2019 Japanese Grand Prix. https://www.formula1.com/en/video/valtteri-bottas-flying-fin...

Is there a random time between the red lights and the green lights, or is it always the same? Because that feels more like learning the timings than reacting to something

Yes, the timing is random.

Re: Why is Git Autocorrect too fast for Formula One drivers?

#166

For reference, Valtteri Bottas supposedly recorded a 40ms!!! reaction time at the 2019 Japanese Grand Prix. https://www.formula1.com/en/video/valtteri-bottas-flying-fin...

Most probably that was a false start:

"World Athletics rules that if an athlete moves within 100 milliseconds (0.1 seconds) of the pistol being fired to start the race, then that constitutes a false start."

https://www.nytimes.com/athletic/5678148/2024/08/03/olympics...

Re: Why is Git Autocorrect too fast for Formula One drivers?

#167
post #50

Yet another example where git shows its lack of user-friendly design

Well it is named after its author after all.

At first I thought this is unnecessary name-calling, but apparently Linus has also made the same joke:

> "I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git."

Re: Why is Git Autocorrect too fast for Formula One drivers?

#168

Earlier quoted context omitted.

Maybe worth noting here that 100ms is well under the human reaction time. For context, professional sprinters have been measured to have a reaction time in the ballpark of 160ms, for pretty much everyone else it's higher. And this is only for the reaction, you still need to move your hand, press the keys, etc.

In this case the reaction starts before you hit enter, as you're typing the command So, you type `git pshu ` and realise you made a typo before you've finished typing. You can't react fast enough to stop hitting enter but you can absolutely ctrl+c before 100 more ms are up

Yes exactly! This is what I'm trying to argue as well, it happens quite often for me that I submit a typo because it's already "on it's way out" when I catch it (but before, or about the same time it's finished and enter is pressed), so the ctrl+c is already on it's way :)

Re: Why is Git Autocorrect too fast for Formula One drivers?

#169
post #44

Earlier quoted context omitted.

In this case the reaction starts before you hit enter, as you're typing the command So, you type `git pshu ` and realise you made a typo before you've finished typing. You can't react fast enough to stop hitting enter but you can absolutely ctrl+c before 100 more ms are up

> you can absolutely ctrl+c before 100 more ms are up Not gonna believe that without empirical evidence.

That'd be interesting, but I don't know how to prove that I'm not just "pretending" to make typos and correcting them instantly ?

Re: Why is Git Autocorrect too fast for Formula One drivers?

#170
post #44

Earlier quoted context omitted.

> you can absolutely ctrl+c before 100 more ms are up Not gonna believe that without empirical evidence.

I think they are talking about times where you realize a mistake as you are making it as opposed to hindsight, given that 100ms seems pretty reasonable.

This is exactly what I'm trying to say. The actions are underway by muscles (or _just_ completed) and the brain catches something's off and so ctrl+c is queued.
Post reply on HN