Live data from Hacker News

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

support.google.com

361–370 of 441 posts

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

#361

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…

'''Between (("Dog" and "and") and ("and" and "partridge"))''' for those of you trying to parse along at home.

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

#364

Earlier quoted context omitted.

It would be sorta reasonable in a header that only your code uses and is unlikely to be transitively included from elsewhere.

You'd be surprised where your code ends up getting used in a monorepo when you have thousands of software engineers all working on it.

that's the downside. nobody owns anything, dependencies and deployments become opaque.

i once had a team lead in a quasi monorepo situation tell me straight up to copy-paste some functions i was interested in from their code. they made up some fishy story about deployments. was the story true? did they even know? did anyone know? who even owned it? would they even know?

or the guy who got up in arms because i touched his team's code and didn't write the unit tests that they didn't write when they originally wrote the code.

oh, monorepos.

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

#365

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…

'''Between (("Dog" and "and") and ("and" and "partridge"))''' for those of you trying to parse along at home.

[deleted]

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

#367

Earlier quoted context omitted.

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.

whomst'd've'ly'yaint'nt'ed'ies's'y'e

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

#368

Earlier quoted context omitted.

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.

The Andalorian.

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

#369
post #314

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…

Swedish sort of joke-sentence you get to learn in school: "Far, får får får?" "Nej, får får inte får, får får lamm." English would be: "Father, does sheep get sheep?" "No, sheep does not get sheep, sheep gets lambs." No, google translate does not make it unscathed through that sentence :-)

Aaron earned an iron urn.

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

#370

Earlier quoted context omitted.

This is the strangest parsing fact I've learned since PHP having a token named T_PAAMAYIM_NEKUDOTAYIM. (Because the parser was developed in Israel.) https://stackoverflow.com/questions/592322/php-expects-t-paa...

I don’t speak hebrew but someone online said that this is an unnecessarily literal translation of "double colon" and it’s not what most developers would call it. Take that with a grain of salt though.

If you look it up, this token can have two names. It is indeed a double colon :)
Post reply on HN