Live data from Hacker News

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

support.google.com

291–300 of 441 posts

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

#291
post #212

Earlier quoted context omitted.

Also, Therefore, And, Anyway, But, Who, Why, Besides, However. Each in caps 5 times with the same word with a period and space after each word and newline at the end is what I have found so far. Can anyone find others? Edit: added words that work found in other comments, and found more.

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.

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

#293
post #288

Relatedly, I have a string of text that, when pasted into Windows 11's Notepad, consistently causes it to crash. I don't know who to report this to.

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

#294
post #224
post #217

Earlier quoted context omitted.

also, just to be clear. the macro only included open and close curlies? if so that's silly, as it is literally 2x the work to type. if they also included some sort of state that had to be managed, then it starts to verge towards reasonable.

I think that maybe the author felt like finding the end of a loop stood out much better that way, instead of trying to distinguish the ends of conditional blocks from the ends of loops. If you're used to poorly formatted code in an ML PhD program, it does make some sense. I've worked with a bit of academic Fortran code for my mechanical engineering degree and can sympathize. Also, D and O are shorter reaches on the k…

That's hideous. The unbalanced parenthesis just grates.

The real answer is to just do something like

  }  // while
to show that it's the end of the loop rather than the end of an if, and not play ridiculous games trying to hide the curly braces.

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

#296

Earlier quoted context omitted.

Can't one just keep recursing further? Only with very careful intonation and appropriate pauses after a comma can someone read Gardner's above sentence aloud such that a listener can fully grok the connection between "and" and "and,", and "and," and "and", and "and" and "and", and "and" and "and", and "and" and "And,", and "And," and "and", and "and" and "And", and "And" and "and", and "and" and "and,", and "and," an…

I mean, if you're allowing that, what's wrong with: > You should have seen this sign, it had 1000 ands in a row, and there was too much space between and and and and and and and and and ...

He has multiplied the ands. Pray he does not multiply them any further.

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

#297
post #178
post #156

Earlier quoted context omitted.

having spent time on both sides of the fence, i've noticed that there can be a rivalry of sorts between software engineers and ml/ds/researcher types. researcher types often get to work on problems that swe types find interesting, so some swes get grumbly. researcher types also tend to write pretty horrific code which adds salt to the wounds. but there also can be a sort of envy that emanates from the research side.…

> maybe a little training on why customizing a programming language with macros is bad Both the author and the reviewer had passed C++ style certification. They knew why it was bad. They just got a little lazy and wanted to write their code in a way that felt familiar to them, and figured it was harmless. I got a bit grumpy at having to drop what I was doing right away to fix their mistake due to their laziness.

[deleted]

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

#298
post #162
post #151

Earlier quoted context omitted.

What does it mean that you were right to feel embarrassed? You were wrong to make the mistake, sure, but that happens. That’s what a mistake is. It’s not clear to me what shame helps in this instance. If somebody has a pattern of not meeting a quality bar with their code that’s one thing, but otherwise cutting people up for mistakes really seems like bad culture. Aren’t you supposed to practice blameless postmortems…

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

#299

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…

Years ago in school, maybe about 1992 or so, I managed to make xdm (X Display Manager) crash and dump me a root window by simply holding down a key until the buffer ran out. I remember wondering how anybody didn't discover this before me. Similar behavior with the university phone system (repeatedly pressing '0') eventually dropped me an outside line that I didn't have to pay for (yes, for you young folks, we used to…

You just reminded me what we found in college (on campus). We could dial out to the other college, then back into ours, and then externally to get free long distance calls.

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

#300
post #148

I can't get the bug to reproduce. But maybe someone else could try Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips?

"And." x 5+, case sensitive, new line at the end. Hit refresh in your browser and it will throw an error.

It has been "Fixed. Fixed. Fixed. Fixed. Fixed." now.
Post reply on HN