Including “And. And. And. And. And.” in a Google doc causes it to crash
301–310 of 441 posts
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#302Earlier quoted context omitted.
There wasn't a post-mortem in my case. I had thought of the case for but basically out of laziness talked myself out of writing a separate test case for it, presuming the test cases for a zero-length title and an un-closed title covered the corner cases. (The entire document was guaranteed to be converted to valid UTF-8, perhaps with invalid character substitution characters, by that late in the Content Converter pip…
I don’t think laziness (in this comment or the ones about the bash-like C macros) is the right word. I guess there is some pressure/tiredness/newness/taste/external factors driving the choices, test count, and style guide aberrations.
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#303Earlier quoted context omitted.
Don't keep us hanging like this, what's the string?
Unfortunately I can't share, as it's related to a not-yet-public project.
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#304Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#305> Google Docs uses a "Markov Chain" to predict the next word for autocompletion purposes. In this case, of course, since we've already written "And" 5 times, the only logical next word would be "And", as showed in Djikstra's 1989 paper on the subject. Therefore, the Markov Chain never terminates and hence the memory chain overflows with infinite ands. Does anyone know why this bug doesn’t repro for some words other t…
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#306Took me right back one of many detentions I served at school, when Mr B Swales set us the challenge of finding a grammatically correct English sentence with five ands in a row. The answer was as follows: The landlord of the "Dog and Partridge" pub commissioned a signwriter to letter a new board outside. On looking at the work, the landlord declared that he liked the colour but would prefer more spacing between Dog an…
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#307Earlier quoted context omitted.
Probably just getting triggering excessive backtracking on some regex.
Ironic, from the authors of RE2. They know the correct way to implement regexes. Though, when I worked on Google's indexing system, some researchers were having machine learning generate regexes to run on every page in the visible web... and mis-implemented the feature to re-compile the regex to DFA (which re2 effectively lazily converts to NFA via memoization) for every single page load. The speed of the indexing sy…
Bash (like Bourne shell before it) uses do/done. I think DO/OD was in an Algol (68?). I'm not sure where else?
Bash does do the reversing for if/fi and case/esac, though.
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#308Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#309When I come across posts like these, I just wonder, "How in the world did the user discover this in the first place?!" Let's place bets: A) The user just let autocomplete "take it away" (not sure about this one since they were able to access the console) B) Pen Testing? C) Error copy and pasting? D) Actual dialog in a sci-fi post-apocalyptic love story where a robot discovers the Turing test and attempts to set itsel…
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#310Earlier quoted context omitted.
How about "Whereas", "Insofaras", "Notwithstanding", "Thetruthofthematter", or "Despiteallobjections"? Didn't try them, but these were "reserved words" in Go (actually an easter egg) until 2017 ( https://stackoverflow.com/questions/2489803/notwithstanding-... ).
They weren't reserved words. The lexer just discarded those tokens entirely.