Reading this post, the term "software archeology" and "programmer archeologist" come to mind. (Thank you, Vernor Vinge, for the latter concept.)
Why is Git Autocorrect too fast for Formula One drivers?
31–40 of 248 posts
Re: Why is Git Autocorrect too fast for Formula One drivers?
#32Earlier quoted context omitted.
We had this debate internally at GitButler. Deci versus deca (and now deka, which appears to also be a legit spelling). My assumption was that 1 full second may have felt too long, but who really knows.
deci is 1/10, deca is 10/1. So decisecond is correct.
Re: Why is Git Autocorrect too fast for Formula One drivers?
#33Re: Why is Git Autocorrect too fast for Formula One drivers?
#34Anyway, 0.1 seconds would be far too short even for them, which have a job based on fast reaction times.
Re: Why is Git Autocorrect too fast for Formula One drivers?
#35I think it makes sense, if I typed something wrong, I often feel it before I can read it, but if I already pushed enter, being able to ctrl+c within 100 ms is enough to save me. I'm pretty sure I've also aborted git pushes before they touched anything before I put this on, but this makes it more reliable.
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.
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
Re: Why is Git Autocorrect too fast for Formula One drivers?
#36I think it makes sense, if I typed something wrong, I often feel it before I can read it, but if I already pushed enter, being able to ctrl+c within 100 ms is enough to save me. I'm pretty sure I've also aborted git pushes before they touched anything before I put this on, but this makes it more reliable.
100 ms is an insanely short window. I would say usually even 1000ms would be too short for me to recognize and kill the command, even if I realized immediately that I had done something wrong.
But often you type something, realize it's wrong while you are typing but not fast enough to stop your hand from pressing [Enter]
That is one of the only situation 100ms would be enough to safe you
That being said, the reason in the article for 100ms is just confused commander. Why would anyone:
1) encode a Boolean value as 0/1 in a human readable configuration 2) encode a duration as a numeric value without unit in a human readable configuration
Both are just lazy
Re: Why is Git Autocorrect too fast for Formula One drivers?
#37Re: Why is Git Autocorrect too fast for Formula One drivers?
#38Earlier quoted context omitted.
100 ms is an insanely short window. I would say usually even 1000ms would be too short for me to recognize and kill the command, even if I realized immediately that I had done something wrong.
It's much too short to read an output, interpret it and realize you have to interrupt But often you type something, realize it's wrong while you are typing but not fast enough to stop your hand from pressing [Enter] That is one of the only situation 100ms would be enough to safe you That being said, the reason in the article for 100ms is just confused commander. Why would anyone: 1) encode a Boolean value as 0/1 in a…
It may be lazy, but it's very common!
Re: Why is Git Autocorrect too fast for Formula One drivers?
#39Re: Why is Git Autocorrect too fast for Formula One drivers?
#40Deciseconds?? There's your problem. Always work in seconds when forcing a function for your users.