Live data from Hacker News

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

support.google.com

191–200 of 441 posts

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

#191

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

How is it not code review first comment to limit that lookup to like, 10 steps at most? Baffling

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

#192

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

Probably because that commenter just made it up.

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

#193

Earlier quoted context omitted.

Quoted post unavailable.

"Someone came into this room. I don't know them, but they took it upon themselves to take everything." What would be the correct pronouns here in your view?

Not who you're asking, but I would say 'themself' here. I can't see that it's ('themselves' is) not plural.

(Edit: Actually the more I think about that the less I'm sure what I'd say..)

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

#194

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

[deleted]

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

#195

Earlier quoted context omitted.

I'm sure you're great. Nothing against you, but please don't do that. Just write what you mean if you can't handle some people misinterpreting a sarcastic remark. Let's think about this for a second. What's the point of sarcasm? If you have to tell people you're being sarcastic, are you still being sarcastic? Not sure what territory, "/s" blunders into, but I'm confident it's not sarcasm. It's something else that see…

Indicating sarcasm is not necessarily ruining it though. Look at IRL sarcasm, it will generally be accompanied with the right tone of voice and expression / body language that make its presence unequivocal. That doesn’t necessarily ruin it

It's the same reason why I often throw a emoji on the end of a sentence to a friend. Sometimes the sentence on its own can sound aggressive or hostile and a quick fix for that is a little emoji that can help make sure my tone is clear. I view something like "/s" as being quite similar to this. You're not ruining the sarcasm, but instead ensuring your tone is properly understood.

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

#196

Earlier quoted context omitted.

Quoted post unavailable.

"Someone came into this room. I don't know them, but they took it upon themselves to take everything." What would be the correct pronouns here in your view?

Honestly, while I might say such a sentence, I wouldn't allow myself to write it.

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

#197

Earlier quoted context omitted.

"Someone came into this room. I don't know them, but they took it upon themselves to take everything." What would be the correct pronouns here in your view?

Honestly, while I might say such a sentence, I wouldn't allow myself to write it.

I'm curious what the closest sentence you would allow yourself to write would be.

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

#198

I find it very poetic that this crash was triggered by a poem, here's the poem: > Duration and the body: I thought about something I had read a while ago which said that a body, the body, is defined by duration. That a body in the present is inseparable from its previous state, that a body is linked in a continuous strand… and so on and so on… I thought about my body. It’s past. It’s present… Which made me think abou…

Your username screams for an equal exploit tbh.

Their password is probably PasswordPassword2

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

#199

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

I'm not sure that comment is true based on the second paragraph of it:

> Obviously, this is partly intentional- Gregory Markov modelled his famous Chain after his younger brother, who would try to finish all of Gregory's sentences for him. The one way Markov could fool him would be to repeat the same word multiple times, and then say "Jinx", also I made all of this up, good luck Google Docs team

Post reply on HN