Has something to do with grammar. The document does not fail when `Show grammar suggestion` is turned off.
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.
"Although", "Besides", and "Moreover" also trigger the behavior.
I did not expect them to weaponize it, but Skynet does as Skynet does.
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 system dropped in half one day, and <Edit: Name Witheld> dug into it. <Name Withheld> took the gperf graph showing the giant node for regex compilation and wrote a savage meme "Your mother doesn't work here. Optimize your own code.", and sent it out to the researchers in question and also the indexing team. Maybe 6 months earlier, I cut into the same researchers for writing and approving C++ header file changes that defined (and leaked) macros "DO" for "{" and "OD" for "}" so that they could write C++ a bit more like Bash. As I remember, the macro leak for DO caused compilation errors in SpiderMonkey, which I fixed. After fixing the breakage, I just left an extra comment on the code review "Really? Leaking DO and OD macros to avoid typing curly braces?" without emailing any lists. They were really embarrassed removed DO and OD within a couple of days, and <Name Withheld> didn't know that I had laid into them a bit 6 months earlier.
(I had implemented some very coarse-grained super-lightweight type-based data flow analysis into SpiderMonkey, which is why some of the Google headers were being included while compiling SpiderMonkey.)
Any web app pentesters here willing throw in their 2c? Could this offer insights into the way data is parsed in the backend, or might result in something more interesting than a crash?
would be funny if it were a remotely exploitable bug in an api endpoint.
famous last words. finding security relevant bugs is often a game of identifying what the original developers might have found to be not "too exciting" or places they were out of their depth and then focusing intense effort on finding their mistakes.
> 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 about the word and. And. And. And. And. And. Then.
> Now. Now. Now. Now. Now, I felt in the present like I was living always alongside a previous body. This is why I had expected to find myself in the apartment when I returned home from California.
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 and and, and and and Partridge.
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?
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," 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 "and", and "and" and "and".
(sentence due to Python 3).
"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 :-)
I always wanted to start a Yello cover band called Purple, just to perform a song called "Oh No!"
Mmmmm, Ugly... More ugly... Such a bad time... A really bad time...
https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...
Try saying "a Nand and an And" in a way that your students can understand you.
So, the the trick is using it as a conjunction and a noun.
But also this was from an early draft so it could be a mistake.
If you look at the XML (change .docx to .zip) in styles.xml you see the declaration of the style "BodyText3":
<w:style w:type="paragraph" w:styleId="BodyText3"><w:name w:val="Body Text 3"/><w:basedOn w:val="Normal"/><w:semiHidden/><w:rPr><w:rFonts w:ascii="Wingdings" w:hAnsi="Wingdings"/><w:i/><w:iCs/><w:strike/><w:color w:val="FF0000"/><w:sz w:val="52"/></w:rPr></w:style>
The first line ("paragraph") has its style set to "BodyText3", but also has formatting on that section of text itself, overriding it. Once the lines are joined into one paragraph, the paragraph formatting appears in the second part because that text does not have a style to override it.1. Create a Word document (most likely using the Blank document template, Normal.dotm)
2. Type text of first line; press Enter; type text of second line (technically Word calls these 'paragraphs'--Shift+Enter inserts a newline within the same paragraph)
3. Place cursor on first paragraph
4. Click a Paragraph Style from the Styles ribbon section to apply it (e.g., the second one, No Spacing)
5. Right click the style; choose Modify...
6. Change the formatting (e.g., the font to Wingdings)
7. Confirm the dialog
8. Select the entire first paragraph (doesn't matter whether you include the end-of-paragraph/newline)
9. Use manual formatting to override your changes to the style so the text matches the default style, Normal (e.g. use the listbox in the ribbon to change the font back to Calibri)
Done; if you now delete the newline, the second paragraph merges with the first and takes on its style, as parent points out.
Styles are the "proper" way to format Word documents (interesting to see what fraction of users actually use them). They're like a mix of HTML tags and styles: each paragraph (div) must have exactly one Paragraph Style, and each span of text can only have one Character Style. "Manual" formatting has highest precedence, followed by Character Style, followed by Paragraph Style. The benefits are the same as in HTML: semantic correctness and easy restyling of the entire document (e.g., by applying Themes from the Design tab). This sequence of steps is a fairly good demonstration of how they're used.
Edit: clarify
This kind of thing can be easily debugged using the style inspector, "reveal formatting" which shows the formatting applied to the selected text and whether it's from paragraph formatting or direct text formatting.
RIP WordPerfect 'reveal codes'.
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 itself into an infinite loop.
Skilled speakers frequently use repetitions of a word (like 'and') as an interjection[0]. It's a handy way of giving yourself a second to think without saying 'uhh' or 'umm' (which, for whatever reason, are considered 'bad' interjections), and seems to be a kind of defense against being interrupted.
[0] https://www.nbcnews.com/id/wbna42822623 (a Meet the Press transcript which contains eight "and, and"s and one "and, and, and"!)
The number required was pretty high, but you could get to it by copy pasting an already typed (In the emergeny dialer) number for a while, crashing the lockscreen until the next reset
At one such position (reasonably well-known product within the tech world), there was clear pushback not to file bugs of this nature.
I didn't stick with that position long.
That comment is from the submitter of the issue (and HN post), the poem is from Eliza Callahan (copy found here): https://durationandthebodyelizacallahan.cargo.site
The relevant excerpt: "I thought about my body. It’s past. It’s present… Which made me think about the word and. And. And. And. And. And. Then."
personally, i've happened across some pretty serious security bugs this way.
The query complexity exploded, ES ran out of memory, and the index got corrupted and I don't remember why, it could not recover.
We had to re-index all the data. Lots of fun.
Lesson learned: prepare for the impossible, keep your infrastructure up to date, escape queries :)
What is twice is bad as that the worst of these, fail (at least to my eye) on two fronts.
1) Allowing SINGLE character searches. I.e No min query-length.
2) Not escaping querying - lucene(solr/es) syntax.
You can sometimes see the front-facing "html/js/api" is just a thin layer over ES/SOLR.(Which is not bad by itself) it's when you don't know the limitations or what sort of queries are x100 harder to do than orders.
Does anyone know why this bug doesn’t repro for some words other than And if this is the case?
> 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
> 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
– I bet you a beer you can't make a logical, grammatical sentence with five ands in a row
– I used to be a sign writer in a previous life and one of the jobs I had was to repaint the sign hanging over the door to this very pub. Except the publican was adamant that he wanted more space between the words. Where exactly I asked? In between the Pig and and, and and and Whistle he replied.
When I re-create the document from scratch, it does not crash.
When I copy the link to my non-crashing document and load it in a new tab, the crash then occurs when I edit the document in the new tab but not when I edit it in the original tab.
Thank you for the repro case!
It was very surprising that there was a way to get Clang to segfault. Should I report it somewhere?
The code is basically doing a recursive template expansion with some C++20 concept constraints. So it's not quite as simple as "And. And...", but it's similar in that certain input text causes a crash. I just have no idea whether to report it, or where.
In that case I'll spend some time to clean up the repro case and submit it. Thanks again.
Please do. You can open an issue (Bugzilla has been deprecated) on LLVM's github repo: https://github.com/llvm/llvm-project
Hypothesis from chatting about this with people nearby - somehow this string makes the grammar engine search space too large (that's the AI that predicts your next words) and it's running out of memory.
[1] https://www.pcmag.com/news/google-drive-flags-text-files-con...
I don't recall that the reason for that bug was ever explained. I wonder if the reason for this one will be.
Probably because it's out of paper.
Related: how is paper fed into an Apple Magic Keyboard - Hebrew?
Edit: Tried to reproduced with Arabic keyboard, plugged in now. Accidentally inverted right-to-left in brain.
dnA. dnA. dnA. dnA. dnA.
So, more seriously, what might cause this (mis)behavior?
EDIT: Ah, I had to reload the page, thank you child comments.
"And. And. And. And." caused no problems.
"And. And. And. And. And. And." also crashes (5 "And."s is a substring, so makes sense).
I cannot imagine how this bug is occurring.
That was the part that led to the apocalypse.
This was not a coincidence, because nothing is ever a coincidence.
Also. Also. Also. Also. Also.
Jimmy: What do you call yourselves?
Derek: "And And And."
Jimmy: "And And fuckin' And?"
Derek : Well, Ray's thinking of putting an exclamation mark after the second "and." Says it'd look deadly on the posters.
Jimm: Psshh...
Outspan: You don't like it? You think it should go at the end?
Jimmy: I think it should go up his arse.
Outspan: Well, we're not married to it.
> Dear Google Docs users, we are aware of the issue and working on a fix right now. Thank for surfacing this issue and sharing it with us. We will keep you posted!
> Deving
> Google Employee
The task was to "determine the cross ratio between sea and and and and and land".
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?
fking google.
there are good [as well as technical humurous] comments on the page.
Doesn't appear to be an issue for the android app, but that might be a cache thing.
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo. (2)
[1] https://en.wikipedia.org/wiki/James_while_John_had_had_had_h...
[2] https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...
> May 6, 2022 Update: We have fixed an issue in Docs related to repetitive use of the word ‘and.’ This fix should soon be in place for all customers.
However. However. However. However. However.
Why. Why. Why. Why. Why.
Edit: You guys have no sense of humor.
Which means, on a privacy standpoint, whatever you’re writing and guessing, they are absolutely processing something.
We the user are the product, apparently. This is mildly creepy to me because, I do vent on google docs sometimes. And assume only I can read it..