Live data from Hacker News

Including “And. And. And. And. And.” in a Google doc causes it to crash

support.google.com

301–310 of 441 posts

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#302
post #162

Earlier 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.

Probably typing on a non english keyboard. When I learned C a long time ago, I read somewhere 'isnt it nice that one doesnt need a lot of keystrokes like for begin and end', and I thought pls give me begin and end instead of this unpleasent slow hand movement.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#303
post #288

Earlier 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.

Do you get the standard reporting error to Microsoft dialog when it crashes? Hopefully someone will be able to look at that. In typical cases only a small summary with the stack is uploaded so your content should not be visible to whoever is looking at the dump.

Re: 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…

That comment is a joke. SmartCompose does not use a Markov Chain, it is either still an LSTM or got upgraded to a small transformer based model.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#306

Took 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…

[deleted]

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#307
post #123

Earlier 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…

> "DO" for "{" and "OD" for "}" so that they could write C++ a bit more like Bash.

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

#308
post #78
post #28

Earlier quoted context omitted.

That's probably a cyber crime in most US states. Edit: You guys have no sense of humor.

Hackernews is not a place for jokes

It is if the jokes are really sophisticated or clever. No reddit style stuff.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#309

When 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…

The same way a lottery winner discovers the correct numbers

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#310
post #212

Earlier 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.

Given the gay abandon with which people like to sprinkle them in fancy sounding sentences, perhaps this was for the best.
Post reply on HN