Live data from Hacker News

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

support.google.com

381–390 of 441 posts

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

#381

Earlier quoted context omitted.

By DeMorgan's laws, typing this in a Google Doc causes OneNote to crash.

By DeMorgan's Law and Bill and Ted's Excellent Low Precedence Right Associative Postfix Sarcastic Not, "Or. Or. Or. Or. Or. Not!" crashes.

I love this comment and I live Bill and Ted’s Excellent Adventure so I transitively love you.

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

#382
post #379

Earlier quoted context omitted.

Widely known because the token names were surfaced to users in error messages, so some common syntax mistakes would produce deeply unhelpful "Unexpected T_PAAMAYIM_NEKUDOTAYIM" errors. Hopefully they eventually did something about it, but it was like that for years and was one of the many things that put me off PHP for life.

> Widely known because the token names were surfaced to users in error messages, so some common syntax mistakes would produce deeply unhelpful "Unexpected T_PAAMAYIM_NEKUDOTAYIM" errors. Hopefully they eventually did something about it, but it was like that for years and was one of the many things that put me off PHP for life. One can like or dislike PHP for a variety of reasons, but surely being put off it for life…

"One of the many things", so not the only thing, but a thing nonetheless.

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

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

> "DO" for "{" and "OD" for "}" so that they could write C++ a bit more like Bash. Bash (like Bourne shell before it) uses do/done. I think DO/OD was in an Algol (68?). I'm not sure where else? Bash does do the reversing for if/fi and case/esac, though.

Steve Bourne wanted to use `od` to match Algol 68, but there was already an `od` utility for printing octal dumps.

The original bournegol macros for DO and OD were a bit different:

  #define DO ){
  #define OD ;}
https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh...

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

#384
post #379

Earlier quoted context omitted.

Widely known because the token names were surfaced to users in error messages, so some common syntax mistakes would produce deeply unhelpful "Unexpected T_PAAMAYIM_NEKUDOTAYIM" errors. Hopefully they eventually did something about it, but it was like that for years and was one of the many things that put me off PHP for life.

> Widely known because the token names were surfaced to users in error messages, so some common syntax mistakes would produce deeply unhelpful "Unexpected T_PAAMAYIM_NEKUDOTAYIM" errors. Hopefully they eventually did something about it, but it was like that for years and was one of the many things that put me off PHP for life. One can like or dislike PHP for a variety of reasons, but surely being put off it for life…

As another commenter said it was "one of many things". Also, it's not the fact that it was non-English that was off-putting. It's more the fact that the T_ identifier was used, presumably via a macro.

People are often defensive about PHP, but at the end of the day we choose our tools. I wrote a significant amount of PHP for a brief period and out of maybe 20 or so languages I've used professionally I found it by a wide margin the least pleasant to work with. Supposedly it has improved a lot, and I'm glad if so. But I have no desire to use it again, and am unlikely to ever have a reason to.

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

#385
post #231
post #203

Earlier quoted context omitted.

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

Regarding the Percolator prototype's energy usage, that's a really interesting scheduling and coordination problem. I'm curious how you solved that - perhaps by teaching Borg to correlate CPU load with physical energy usage and stagger task initiation.

It sounds like it would be even cooler to coordinate with the local electricity suppliers to spin up and shed extra load a few minutes in advance, but I'm not sure if this would actually have a practical benefit.

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

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

Why does this post appear in yellow?

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

#387
post #269

Earlier quoted context omitted.

Re2 is also slower, so they might not be using it for high volume stuff. Also I’ve heard that Google automatically fails people who use regex in interviews, so their average engineers probably aren’t the best at it.

> Also I’ve heard that Google automatically fails people who use regex in interviews, Hmm... I don't remember that, and I conducted over 100 interviews back when I was at Google. A blanket failure for using a regex sounds like it's missing some nuance. But, maybe that was before or after my time. I wouldn't be surprised if they start out with some interview questions that are easy to implement as regexes, but then gr…

I think it's more that you need to give the O(n) of your answer, which is generally very difficult to do with regex. And even if it's possible, it might not be an acceptable O(n).

In general regexes finish instantly for normal sized inputs, but the actual O(n) might be quadratic or whatever.

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

#389

Discovered by Eliza Callahan triggered by a poem in the middle of her novel. (Friend of a coworker) That poem can be found here: https://durationandthebodyelizacallahan.cargo.site/ - if viewing on mobile you have to Request Desktop Site for some reason, at least on Android it initially shows up as a Lorem Ipsum page

I know you didn't write that poem, but I'm 99% certain the apostrophes in "I thought about my body. It's past. It's present." have no business being there :)

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

#390
post #28

Earlier quoted context omitted.

That's probably a cyber crime in most US states. Edit: You guys have no sense of humor.

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

Huh, I totally missed that "/s" was a sarcasm flag. I was thinking that usually it is ":s/" not "/s", and was looking for the completion, or if they really did mean "/s" that's not the best way to find ands.
Post reply on HN