Deciseconds?? There's your problem. Always work in seconds when forcing a function for your users.
Why is Git Autocorrect too fast for Formula One drivers?
21–30 of 248 posts
Re: Why is Git Autocorrect too fast for Formula One drivers?
#22I 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.
Re: Why is Git Autocorrect too fast for Formula One drivers?
#23With your git commands it is fairly predictable what happens next, it is not as if the computer is randomly taunting you with five lights.
I suggest a further patch where you can put git in either 'F1 mode', or, for our American cousins, 'Drag Strip mode'. This puts it in to a confirmation mode for everything, where the whole timing sequence is shown in simplified ASCII art.
As a European, I would choose 'F1 mode' to have the give lights come on in sequence, wait a random delay and then go out, for 'git push' to happen.
I see no reason to also have other settings such as 'Ski Sunday mode', where it does the 'beep beep beep BEEEP' of the skiing competition. 'NASA mode' could be cool too.
Does anyone have any other timing sequences that they would like to see in the next 'patch'?
Re: Why is Git Autocorrect too fast for Formula One drivers?
#24I 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.
Re: Why is Git Autocorrect too fast for Formula One drivers?
#25I 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…
Re: Why is Git Autocorrect too fast for Formula One drivers?
#26Re: Why is Git Autocorrect too fast for Formula One drivers?
#27Reading this post, the term "software archeology" and "programmer archeologist" come to mind. (Thank you, Vernor Vinge, for the latter concept.)
Re: Why is Git Autocorrect too fast for Formula One drivers?
#28Re: Why is Git Autocorrect too fast for Formula One drivers?
#29Earlier quoted context omitted.
Maybe he meant dekaseconds? Still weird though..
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.
Re: Why is Git Autocorrect too fast for Formula One drivers?
#30I'm so sick of commands with --timeout params where I'm left guessing if it's seconds or millis or what.