Live data from Hacker News

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

support.google.com

231–240 of 441 posts

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

#231
post #203
post #123

Earlier quoted context omitted.

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…

But why it even happened? Typically you run Flume over docjoins in your project’s quota. If you screw up, all that should happen is that your Flume job is out of quota.

This was in the Borg days, pre-Flume. As I remember, we had at least one Borg cluster to ourselves for indexing. Our quota was a cluster.

We cared because indexing latency is important. Engineers get paged and woken up in the middle of the night when indexing latency gets high. Doubling CPU usage meant doubling indexing latency. The pre-Percolator indexing system ran roughly 1,000 threads per box on roughly 1,000 Warp18 boxes. Of course, most of those threads were blocked on I/O. (Warp18 was something like 16 cores per box... I think those were the RevE Opterons that had the memory fence bug that caused the glibc semaphore implementation to not actually synchronize operations.) I personally would have written things using more async and/or non-blocking I/O, but the main reasoning in Google at the time was that massively multithreaded blocking I/O is a simpler programming model and closer to what was being taught in school those days.

Also, the indexing system's quota is huge. Someone made a mistake in their benchmark program that they thought got maximum utilization out of the Warp18 hardware. The indexing system actually got higher utilization than the hardware stress-test, resulting in cooling being under-provisioned in the Atlanta datacener (more than a decade ago, I'm sure indexing has moved now). There was a couple day stretch one hot Summer where we needed to stay on the phone with staff inside the Atlanta DC to keep track of the temperature inside the datacenter. When the temperatures started to get above something like 80 F, we needed to dial back on the number of workers in our Borg jobs.

While testing the prototype for the Percolator indexing system, we were luckily sitting right next to an engineer who planned datacenters. We luckily overheard him saying he couldn't figure out why the power usage seemed to be swinging so wildly. It was literally the power usage of a decent sized town suddenly ramping up and down. We asked him the exact times power usage was ramping up and down, and figured out it was when Frank and Daniel were starting and stopping the Percolator prototype.

My best guess is that the indexing system right before Percolator was a bit more energy efficient than Percolator, but maybe not. In any case, doubling CPU usage was a big deal. Real money, and in Atlanta, probably real carbon footprint. (The Dales was hydro, but I don't think much of Atlanta's power was renewable at that time.)

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

#232
post #150

Earlier quoted context omitted.

Quoted post unavailable.

Not many people know this, but similar to image alt text, the tag was originally introduced for accessibility reasons, so that people with autism and similar conditions can experience the web in the same way as more neuro-typical folks do. The tags should be invisible in the average browser, unless you've got sarcasm highlighting turned on. Unfortunately, the feature hasn't really caught on, and it remains unsupporte…

This is sarcasm, right?

Right?

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

#233

Earlier quoted context omitted.

Definitely report it, it'll be fun to see what happens. https://llvm.org/docs/HowToSubmitABug.html

Thank you for the link! Maybe that should've been obvious to me, but it really wasn't -- I had no clue where to start. The segfault just said "Please attach these files to the bug report" with no more info. Really appreciated. In that case I'll spend some time to clean up the repro case and submit it. Thanks again.

> The segfault just said "Please attach these files to the bug report" with no more info.

The message should include the URL.

Sounds like a bug that should be reported.

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

#235

Earlier quoted context omitted.

try /s at the end of "offending" sentence, most people will look at it more kindly.

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…

Social “cue” (as for an actor or musician) not “queue,” by the way.

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

#237
post #229
post #167

Earlier quoted context omitted.

I've found gender to be generally irrelevant to most of my social interactions. I'm, personally, in a committed relationship and not picky genderwise anyways so, as a habit, I've been trying to remove any and all gendered pronouns[1] from my speech. I find it pretty silly that gender plays so central a role in grammar. It, IMO, elevates it above how we should conceive of it - just one of many attributes a person has…

I've contemplated a sort of 'minimally offensive' register of language where you do remove any and all pronouns (that is, the ones someone might object to, along with all other language that might be objected to) while being as natural as possible so that no one notices your lack of usage of any bit of language (though someone analysing the corpus of your writing certainly would). Seems like a technique a corporation…

I think that would probably end up with us in a generally better place from a technical perspective than reusing the gender neutral pronouns but given how aggressive some people have been at misgendering folks I think it'd take a rather long time to actually gain adoption. Additionally, unlike say German, there isn't really any standard board of English and it's an international language so getting countries to actually agree to such a change seems difficult.

I also, honestly, don't think it'd be significantly more difficult to switch each gender over to he or she than to use one of the novel pronouns like "ye" or "xhe" though pronunciation would take a while to normalize.

Themselves/themself is a bit tricky (as pointed out in a sibling thread) but they are tools that exist today and are pretty serviceable - I really don't think you could put "And thus has Eliza Callahan suddenly found themselves a poet with a lot more name recognition among tech workers." in front of anyone and get genuine confusion about what I was saying back - it's perfectly legible, even if some of the grammar might be off.

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

#238
Reminds me of an old joke;

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

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

#239

> 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 was one of the funniest tech comments I've read in awhile.

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

#240
post #164

Earlier quoted context omitted.

My recollection from my time there, as well as one of the biggest cultural differences noticeable between my and my workplaces since, is that big chunks of the company really do believe in the blameless postmortem ideal. But culture isn't a magic tool that completely neutralizes assholes, and there are assholes in _every_ organization of sufficient size, like the "[name redacted]" character in the previous post

I probably should have left [redacted]'s name out of it. He's a nice guy, but a bit cynical and rough on the edges, at least he was 15 years ago. He fit in well in New York, brutally honest, but actually generally nice. Edit: I should point out that we were in Google NYC, as were the researchers. We had lunch with them some times. I remember the first name and face of the guy who submitted the slow code, but forget h…

> New Yorker to New Yorker adds a lot of context. Google's corporate culture is generally very Californian

As a lifelong Californian who moved to NY, this makes sense.

Though I don't know if it's a blanket excuse... There's a reason that my friends at Goldman would agree that Google's culture is better, and a lot of it has to do with the difference between CA and NY culture. I completely dismiss the claims that the difference is just about surface-level abrasiveness, instead of noticeable differences in how unkindly people treat each other. I regularly see strangers here treat each other in ways that I didn't see in 30+ years in California.

Ie, "he's from New York" isn't quite a rebuttal to "he's being an asshole at work". The work culture is more tolerant of assholes, but that barely makes it better.

Post reply on HN