Slashdot Mirror


Google Explains Tuesday's Drive, Docs Bug That Marked Some Files As Violating Terms of Service (9to5google.com)

On Tuesday, Google's cloud-based word processing software was randomly flagging files for supposedly "violating" Google's Terms of Service, resulting in some users not being able to access or share their files. Google today explained the issue and addressed concerns that arose. 9to5Google reports: Several users on Tuesday morning reported no longer being able to open certain files they were working on in Docs, while others were locked out mid-edit. "On Tuesday, October 31, we mistakenly blocked access to some of our users' files, including Google Docs," Google said in a blog post. "This was due to a short-lived bug that incorrectly flagged some files as violating our terms of service (TOS)." Afterwards, Google provided a comment to Gizmodo noting that a code push made earlier that morning was at fault and that full access had been restored to users hours after the bug first arose. Today's clarification goes on to explain how that error on Tuesday caused Drive to "misinterpret" responses from the antivirus system designed to protect against malware, phishing, and spam. As a result, Docs "erroneously mark[ed] some files as TOS violations, thus causing access denials for users of those files."

97 comments

  1. Google can arbitrarily ban me from my own files? by sehlat · · Score: 5, Insightful

    Looks like it's to drop using Google Drive as my go-to backup for my work projects, or much of anything else, for that matter.

  2. DevOps! Continuous Deployment! by nsuccorso · · Score: 2
    On the one hand: they fixed it quickly, using the same deployment processes that broke it quickly

    On the other hand: no real consolation to those locked out by the bug

    1. Re:DevOps! Continuous Deployment! by Anonymous Coward · · Score: 0

      and no promise that it wouldn't happen again...

    2. Re:DevOps! Continuous Deployment! by PPH · · Score: 4, Funny

      So, DevOops.

      --
      Have gnu, will travel.
    3. Re: DevOps! Continuous Deployment! by Anonymous Coward · · Score: 0

      Please point me to one service provider who promises they'll never make a mistake again.

    4. Re:DevOps! Continuous Deployment! by Krishnoid · · Score: 1

      Well, I guess there's some consolation in having it provide pretty much full availability with zero scheduled downtime otherwise.

    5. Re: DevOps! Continuous Deployment! by someone1234 · · Score: 1

      I always tell that to my employer.

      --
      Patents Drive Free Software as Hurricanes Drive Construction Industry
    6. Re:DevOps! Continuous Deployment! by Hognoxious · · Score: 1

      Goshdarnit, I thought I was the king of puns.

      Are you looking for a crew chief?

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  3. Live by the cloud, die by the cloud. by Anonymous Coward · · Score: 0

    Move data to the cloud, do not complain when data disappears for a short time or forever.

    Out of your hands now.

  4. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 5, Informative

    This is The Cloud. They're not YOUR files, they're OUR files.

  5. Cloudy Ownership by Frosty+Piss · · Score: 1

    It's not just "the cloud", such a thing could happen on any network. It's that you must "trust" that Google will revert the issue and grant you access to *your* documents. They don't have to.

    --
    If you want news from today, you have to come back tomorrow.
    1. Re:Cloudy Ownership by 110010001000 · · Score: 3, Informative

      How would I flag my data on my own network or computer as violating my Terms of Service? The mind boggles. It definitely is "the cloud". The cloud means you don't control your data.

    2. Re: Cloudy Ownership by Anonymous Coward · · Score: 0

      DLP

    3. Re:Cloudy Ownership by hackwrench · · Score: 1

      You run antivirus on your computer, don't you. Mine flags stuff inappropriately occasionally.

    4. Re:Cloudy Ownership by Anonymous Coward · · Score: 0

      Only idiots run antivirus, aka default-allow. Sensible people use appropriate operating systems and privilege isolation mechanisms to apply default-deny policy instead. Works a lot better. It's the difference between a blacklist and a whitelist.

      You can start by not using Windows.

    5. Re:Cloudy Ownership by Ol+Olsoc · · Score: 1

      It's not just "the cloud", such a thing could happen on any network. It's that you must "trust" that Google will revert the issue and grant you access to *your* documents. They don't have to.

      The only person I trust is me. I've lived long enough to know that my documents won't mean a damn thing to anyone else. And for any cloud service, I'm just another customer.

      So I'm stored locally, with one local and one backup not stored here. Pretty simple, as I care about my most important customer.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    6. Re:Cloudy Ownership by Ol+Olsoc · · Score: 1

      How would I flag my data on my own network or computer as violating my Terms of Service? The mind boggles. It definitely is "the cloud". The cloud means you don't control your data.

      That pretty much ends the argument!

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  6. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    Honestly, what did you think? As soon as you put them into the cloud, they're no longer yours.

  7. Stupid users by 110010001000 · · Score: 0

    Why don't stupid users understand: YOU DON'T OWN YOUR DATA. It belongs to the mega-corporations. Idiots. Personal computing is dead. Long live Corporate Computing.

  8. Google bug... by Grog6 · · Score: 3, Funny

    "OK; as a word we commonly use has now been associated with terrorism and banned by the search algorithms, we suggest instead of 'the' you use 't__he' or 'Teh'".

    We hope to have this solved soon.

    --
    Truth isn't Truth - Guliani
  9. Fuck you Google by Anonymous Coward · · Score: 3, Funny

    I'm playing it safe and storing all my documents on Microsoft OneDrive.

  10. In other words ... by CaptainDork · · Score: 1

    ... they scraped them all.

    --
    It little behooves the best of us to comment on the rest of us.
  11. Never trust a service that will censor in any way by SuperKendall · · Score: 1

    It just goes to show you should never use as primary storage a service that will, for any reason, censor or lock content - because someday anything you have may be declared "wrong".

    I don't mind editing documents and moving them into the cloud, I don't even necessarily mind iCloud based apps like Keynote that stores things to iCloud - but there at least I can save a Kyenote file locally and work with it there if I like. Google Docs have always been a bit too "pure cloud" for my liking...

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  12. Re:Google can arbitrarily ban me from my own files by Harlequin80 · · Score: 1

    So there was a minor outage that was caused by software? Could easily have happened for a million other reasons that no one would care about.

    Would the outage have exceeded 12 hours? I can't see any RTO details, but if not you are still well within 99.9% availability.

    That's way better than what you will ever achieve with crappy consumer equipment.

  13. Public domain ... by CaptainDork · · Score: 1

    ... the cloud is.

    --
    It little behooves the best of us to comment on the rest of us.
  14. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    ... you didn't know that Google could cut off access to files in Google Drive? How the hell did you think it worked? I thought this site was news for nerds, not news for my grandma?

  15. It can't be malware by PPH · · Score: 1

    It came off a perfectly innocent looking thumb drive that I found in a parking lot in Langley, W. Virginia.

    --
    Have gnu, will travel.
  16. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    I treat the cloud copy as a cheap off-site backup. Between google docs, onedrive, and box I have a good chance of recovering from any one of them blocking me. And, it only matters if my local hard drive copies get lost by theft, stupidity, or natural disaster.

    I'd be much more concerned if I has business processes, particularly customer facing processes, that relied on consumer-grade cloud services. Getting custom written agreements with consumer providers is almost impossible without being a huge business.

  17. Set up your own computers by AHuxley · · Score: 1

    Long term keep your data away from any deep file "inspecting" cloud product.
    If you have the bandwidth to upload, you can share with your collaborators and colleagues as needed.
    Too many checksums, SJW, AV efforts trying to look into your data with cloud services.

    Keep your data sets, ideas, tech, optimisations, language use secure from been searched, sorted and questioned.

    If a server product is needed find a real hosting company with real hardware that can offer a fully self encrypted service.

    --
    Domestic spying is now "Benign Information Gathering"
  18. There is no such thing as "the cloud"... by jonwil · · Score: 4, Insightful

    "the cloud" is really just "someone else's computer" and if you store data on it, that other entity can deny you access to it.

    1. Re:There is no such thing as "the cloud"... by swillden · · Score: 1

      "the cloud" is really just "someone else's computer" and if you store data on it, that other entity can deny you access to it.

      OTOH, nothing guarantees that you have access to data stored on your computer, either. Various sorts of downtime can and do occur. In the worst case, you may lose your drive and find that it's all gone, unless you're unusually assiduous about backups.

      For the average person, and in the long run, it's likely that storing your data in a professionally managed data center where it's replicated and backed up automatically will give you greater total availability and much greater protection against loss.

      Of course, availability isn't the only metric to consider. Privacy may be a concern. Even if the cloud service operator can be trusted not to misuse their access to your data, you also have to trust them to keep all attackers out. And in most jurisdictions law enforcement can force them to hand over your data after appropriate due process. Encryption can address these issues, but that's a pain... and may dramatically reduce long-term availability unless you're better at key management than most people.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    2. Re:There is no such thing as "the cloud"... by Anonymous Coward · · Score: 1

      Yep, as usual - backup your files. That's all you need.

    3. Re:There is no such thing as "the cloud"... by swillden · · Score: 1

      Yep, as usual - backup your files. That's all you need.

      ... but hardly anyone does.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:There is no such thing as "the cloud"... by Anonymous Coward · · Score: 0

      OTOH, nothing guarantees that you have access to data stored on your computer, either.

      On the contrary, sir, I'm quite certain I won't lose access to my tax returns after downloading a "Heather Heyer died of a heart attack" video while I have no confidence the same is true of Google Drive.

    5. Re:There is no such thing as "the cloud"... by Ol+Olsoc · · Score: 1

      Yep, as usual - backup your files. That's all you need.

      ... but hardly anyone does.

      Well then, grant access to your cloud provider to look at your files, and if you don't toe the line, you might not have access to them, or might even be arrested.

      I really don't care if people store anythingon the cloud, I merely say storing anything there is an open invitation to lose it or to find yourself in trouble, deserved or not.. If you don't care, by all means do it.

      By the way, don't people remember when an idiot was caught storing kiddie porn on Ubuntu's cloud service? They'll scrape it, they'll run hashes on it. It's simply there for the taking

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    6. Re:There is no such thing as "the cloud"... by Anonymous Coward · · Score: 0

      Once the YouTube and James Damore stuff broke, and it was clear just how bad the craziness had gotten inside Google it was only a matter of time.

      If you have any critical infrastructure based on Google, you need to move it now. As a business you cannot tolerate a risk where the basics of your operations can be torpedoed by a blue-haired social justice lunatic who takes a dislike to your documents. It's bad enough that Google is scanning them... but if they are then using the contents to censor and ban you for inappropriate opinions... then you are in an impossible situation.

      As for YouTube - Google doesn't have an AI scanning videos. It has a blacklist maintained by people like the SPLC and ADL. But it sounds better to say it's an AI... rather than "we let far left organisations silence anyone they disagree with."

      We've now officially gone way past China in this crazed need to ensure that everything is state approved.

      Google is done.

    7. Re:There is no such thing as "the cloud"... by swillden · · Score: 1

      Meh.

      Kiddie porn is a special case, and rightfully so. Outside of that, none of the major providers is going to hand over any data without a court order, and they do a much better job of ensuring availability and security than you do.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    8. Re:There is no such thing as "the cloud"... by Ol+Olsoc · · Score: 1

      Meh.

      Kiddie porn is a special case, and rightfully so. Outside of that, none of the major providers is going to hand over any data without a court order, and they do a much better job of ensuring availability and security than you do.

      So they just scrape it and block access fopr the LuLz? With no law enforcement intereststs, do you suggest that they are blocking access to people 's documents because they are buisness matters only? Like maybe some competitor of Google's?

      I might be stupid, but that even sounds stupid to me.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  19. Re:Never trust a service that will censor in any w by Anonymous Coward · · Score: 0

    Never forget that in order to even do this, a process has to read your files. If searching your files is easy in the cloud, it is because there is an index of those files. If those files contain confidential data, you now have a third party which has built an index of the contents of your file that you do not control, cannot delete, cannot turn off, etc.

    This is not a recipe for keeping secrets, let alone keeping access.

  20. "I've looked @ clouds from BOTH sides now..." by Anonymous Coward · · Score: 2, Funny

    See subject: "From win & lose but STILL somehow - it's CLOUD'S ILLUSION I recall..." themesong for Google today!

    * What a BULLSHIT LIE on their end... lol!

    (You've got to be TOTALLY STUPID to believe in 'cloud = safe' or 'cloud = secure' bs...)

    APK

    P.S.=> "It was a 'bug'" lol - the ONLY bug is in their brains... apk

    1. Re:"I've looked @ clouds from BOTH sides now..." by Mal-2 · · Score: 1

      You really don't know clouds at all.

      --
      How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
    2. Re:"I've looked @ clouds from BOTH sides now..." by Anonymous Coward · · Score: 0

      Google doesn't. See article. See post you replied to. The defense rests.

    3. Re:"I've looked @ clouds from BOTH sides now..." by Mal-2 · · Score: 1

      Whoosh. It's the next line in the song APK was quoting.

      I've looked at clouds from both sides now
      From up and down, and still somehow
      It's cloud's illusions I recall
      I really don't know clouds at all

      --
      How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
  21. Terrible error message by thereitis · · Score: 2

    If what Google says is true - that the files were accidentally marked as malware, phishing, or spam - then they were giving users a pretty terrible error message saying user documents violated the TOS. Why not spell it out - hey, we flagged this file for malware, phishing, or spam. At least then the user doesn't think that *they* did something bad by violating the TOS.

    1. Re:Terrible error message by Anonymous Coward · · Score: 0

      I thought it was because I wrote, "Trump isn't the devil."

    2. Re:Terrible error message by Anonymous Coward · · Score: 0

      Because the real truth is that they were flagging files written by conservatives or republicans, or other's that disagreed with their cultual Marxist viewpoints.

    3. Re:Terrible error message by swillden · · Score: 1

      If what Google says is true - that the files were accidentally marked as malware, phishing, or spam - then they were giving users a pretty terrible error message saying user documents violated the TOS. Why not spell it out - hey, we flagged this file for malware, phishing, or spam. At least then the user doesn't think that *they* did something bad by violating the TOS.

      I don't know if it was the case here, but it's often a good idea not to provide detailed information, because that helps people who are trying to figure out how to sneak stuff past the filters. That doesn't quite explain this case because if the attacker understands that "ToS violation" means "we detected your malware" then nothing was gained. But it's likely we don't have the whole story here, and there may be additional elements that make it make sense.

      Or maybe not. It's impossible to say with the available information.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:Terrible error message by awyeah · · Score: 1

      Ah, yes, security through obscurity.

      --
      Why, no, I haven't meta-moderated lately. Thanks for asking!
    5. Re:Terrible error message by swillden · · Score: 1

      Ah, yes, security through obscurity.

      No, that's not what it's about. At all.

      What I'm talking about is more akin to rate-limiting brute force attacks on passwords, or not returning the error codes that enable the million message attack on RSA.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    6. Re:Terrible error message by Anonymous Coward · · Score: 0

      Ah, yes, that bullshit argument.

      Obscurity is perfectly fine as one facet of your security strategy. Wholly relying on obscurity is bad. But bitching about the use of obscurity in tandem with other security practices is just idiotic.

    7. Re:Terrible error message by Anonymous Coward · · Score: 0

      I don't know if it was the case here, but it's often a good idea not to provide detailed information, because that helps people who are trying to figure out how to sneak stuff past the filters.

      You're adopting their point of view here. Try out your point of view, as a user.

      Are you trying to trick yourself? Do you have your own terms, that you sometimes violate? Do you have to filter yourself from yourself? Would you ever try to sneak something past yourself?

      From a user's point of view, those are all absurd, silly questions. And guess what: you are the user.

      If my computer can't write a file, I want to know whether it's because I don't have permissions to that directory, vs that filesystem is full, vs there was a terrible error and the filesystem was remounted read-only. Don't merely tell me "no."

  22. Re:Never trust a service that will censor in any w by Anonymous Coward · · Score: 0

    Whattaya mean, sending plaintext files to someone else is "not a recipe for keeping secrets"?

  23. Only the top 1% of programmers... by Anonymous Coward · · Score: 1

    NT

  24. C-style enum vs C++11 enum class? by Anonymous Coward · · Score: 0

    Today's clarification goes on to explain how that error on Tuesday caused Drive to "misinterpret" responses from the antivirus system designed to protect against malware, phishing, and spam.

    This is pure speculation on my part, but based on the description above it sounds like they forgot to use C++11's "enum class", which would have caught the mistake at compile time.

    // hypothetical names and stuff. I've never seen Google's code
    enum ViolationFlags { VF_NONE = 0, VF_TOS = 1, VF_VIRUS = 2 };
    enum VirusCheckerResult { VC_OK = 0, VC_VIRUS = 1, VC_MALWARE = 2, VC_PHISHING = 4, VC_SPAM = 8 };
    ...
    VirusCheckerResult result = virus_checker.scan(file);
    if (result & VC_VIRUS) {
      file.set_violation(VC_VIRUS); /* bug; should have been VF_VIRUS; note: implicit (ViolationFlags)(int)VC_VIRUS == VF_TOS */
    }

    C++11 enum class fixes this by adding strong typing:

    // hypothetical names and stuff. I've never seen Google's code
    enum class ViolationFlags { NONE = 0, TOS = 1, VIRUS = 2 };
    enum class VirusCheckerResult { OK = 0, VIRUS = 1, MALWARE = 2, PHISHING = 4, SPAM = 8 };
    VirusCheckerResult operator&(VirusCheckerResult, VirusCheckerResult); /* assume this is defined; it would just use static casts to int */
    ...
    VirusCheckerResult result = virus_checker.scan(file);
    if ((result & VirusCheckerResult::VIRUS) != VirusCheckerResult::OK) {
    // file.set_violation(VirusCheckerResult::VIRUS); /* note: The buggy version won't compile */
      file.set_violation(ViolationFlags::VIRUS); /* fixed */
    }

    p.s. Why I assume it's a C++ bug: In the past few weeks I watched a bunch of CppCon 2017 videos. In one of those videos, Google's Titus Winters said that his team had just re-factored 250 million lines of C++ code at Google (source: CppCon 2017: Titus Winters “C++ as a "Live at Head" Language”).

    1. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1

      C++11 enum class fixes this by adding strong typing:

      Why do you consider the first sample wrong and the second one fixing it? The line VirusCheckerResult result = virus_checker.scan(file); introduces an uncontrolled uncertainty and any even slightly sensible programmer should deal with it properly by relying on whatever means are available. Enums are basically integers and, when taking random external inputs (e.g., the aforementioned file reading), you have to make sure that the given value yields within the expected range.

      Any code taking random inputs without confirming that they meet the expected format is wrong regardless of the language. Note that I regularly rely on a relevant number of different programming languages with different levels of “programmer's helps” (e.g., strong typing) and my code is always perfectly adapted to the given conditions. Other than in very specific cases (e.g., a language like C performing notably better than virtually any other one) and/or when being used by unexperienced-in-that-language-or-in-general/bad programmers, there aren’t many absolute benefits associated with using a specific programming language. Or, in other words, the one to blame for any problem is always the developer/tester/manager/etc.

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
    2. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1

      My "there aren’t many absolute benefits associated with using a specific programming language" should be understood within the proper context of using the right tool for the job. A language like C cannot be used (at least, not autonomously or without provoking an unreasonable increase of complexity) in quite a few scenarios. Also the quality of the in-built or even just available resources of some languages might make their usage recommendable under certain conditions. Anyway, my previous comment was mostly meant for algorithmic/common-to-all-the-languages situations like managing input files or creating proper algorithms.

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
    3. Re:C-style enum vs C++11 enum class? by Anonymous Coward · · Score: 0

      Why do you consider the first sample wrong and the second one fixing it?

      Please go educate yourself about C++11 scoped enumerations. Basically C-style enums allow implicit conversion to and from integers, but C++11 scoped enumerations require explicit conversions. The feature was added to make it possible for the compiler to reject code with this type of bug.

      That's what fixes the bug in the grandparent post: in the old style enum example, the function expecting ViolationFlags can be passed an enum of type VirusCheckerResult, and the compiler happily inserts implicit cast through int. Changing "enum" to "enum class" requires you to use the correct type, so the compiler will generate an error if you try to pass VirusCheckerResult to a function expecting ViolationFlags.

      tl;dr: Unlike old-style enums, C++11 scoped enumerations are more than just window dressing for integers.

    4. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1
      (Sorry about the delay in replying. In fact, I have seen your comment by pure accident. You should learn to post as a logged-in user such that people get warnings about your replies)

      Please go educate yourself [cppreference.com] about C++11 scoped enumerations.

      Can you please tell me the exact part of my posts where I said or even insinuated otherwise?

      Basically C-style enums allow implicit conversion to and from integers

      As highlighted in my original comment, enums are basically integers so all the languages allow more or less easy transitions between both realities. Again, not sure where have you got that this point wasn't clear either in my first comment, which I kept quite generic without focusing on C++/C or in this specific implementation.

      That's what fixes the bug in the grandparent post

      No. For two reasons: one there is no bug (you don't know anything about the potential inputs/outputs; it might be a perfectly controlled situation); secondly and as explained in my original comment, having the input conditions controlled isn't language-dependent but programmer-dependent. If you are relying on a structure which performs whatever checks are required (your example with enums and C++), you can avoid caring about it. On the other hand, if such a thing isn't in place (your example with the C enum), you would have to do the checks yourself. There is nothing wrong with any of the languages, just with a bad programmer with an I-will-throw-it-there-without-checking-anything-and-hope-that-everything-turns-out-ok attitude (quite bad for life in general too, if you ask my opinion).

      tl;dr: Unlike old-style enums, C++11 scoped enumerations are more than just window dressing for integers.

      tl;dr: I never said or implied otherwise. As per the provided information, we don't even know whether this code can crash/is wrong. If it is wrong, the solution would be building a proper algorithm by maximising the means provided by the given language (don't check enums if you are using C++ or make sure that the inputs meet the expected boundaries in C). Even a further example to help you understand my point: why are you assuming that a number is being read? Perhaps the input source is also returning nulls or random strings and, in that case, both codes would be wrong :)

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
    5. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1

      Perhaps the input source is also returning nulls or random strings and, in that case, both codes would be wrong :)

      And I mean that without even knowing the exact C++ behaviour (I have some experience in C, a lot in quite a few modern C-based languages, but not too much in C++), even if it could deal gracefully with almost any scenario (what I don't think that is the case), the difference among number valid enum, number invalid enum and not number would be ignored. What I want to highlight with this comment is that my whole intention since the start was to support proper, reasonable and flexible programming attitudes, rather than blind trust in abstract solutions or in something else (the language, the inputs or the next programmer) to take care of whatever for you. I replied about a week ago to another poster saying that concatenating SQL connection strings was absolutely wrong, pretty much the same thing than here.

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
    6. Re:C-style enum vs C++11 enum class? by Anonymous Coward · · Score: 0

      No. For two reasons: one there is no bug (you don't know anything about the potential inputs/outputs; it might be a perfectly controlled situation);

      What the actual fuck?

      Go back and read the original hypothetical code again. If you can't see the bug where it clearly says "/* bug; should have been VF_VIRUS; note: implicit (ViolationFlags)(int)VC_VIRUS == VF_TOS */", then you're just trolling.

      p.s. Go ahead and reply to yourself a few more times, Trolley McTrollface.

    7. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1

      Trolley McTrollface.

      ?! So, someone using his own account, the only undoubtedly linked to himself and his online-based business precisely focused on programming (on doing things properly always objectively and honestly without being part of any group/trend or unfairly favouring/criticising anyone and always trying to learn and to improve, etc.), the person whose starting comment and all the remaining ones have the sole purpose of critically discussing rather than blindly applying absolute truths. That person, myself, is the troll here?!

      Let me do a quick recap: the original comment was absolutely criticising one of the most used programming languages ever, C, and supporting another one which introduced some improvements on it, C++. Both these languages can be safely considered old, as far as there are many newer languages compensating virtually all their limitations. I personally don't have any strong preference for any of them, but would use them if required. Saying that a language fixes the bugs of other one is very close to pure arbitrariness and, if you want to go down that path, I would recommend you to focus on newer alternatives than C++. This fact, together with trying to force critical thinking rather than blind repetition, was the whole point of my posts. So, in summary you are calling me t-r-o-l-l (apparently, you cannot write that word too many times here) for personally (rather than anonymously) promoting an open, practical and reasonable discussion as opposed to blind-repetition/fanaticism. Why? Because I promote common sense and anonymous, group-think and attacking-anyone-saying-otherwise benefits you? OK. I guess that I am fine with that label: t-r-o-l-l of the coward fanatics supporting what is bad for the most.

      Go ahead and reply to yourself a few more times,

      This isn't trolling either, right? Or a personal attack. The way in which I write or post here bothers you because isn't like yours or what you consider common and, even though I am not hurting anyone with my behaviour, you consider that (anonymously) censoring it is acceptable. Because everyone knows that people explaining too much, providing lots of over-information and doing so voluntarily at their own expense/time are the worst, right? Firstly, it comes Hitler, the mass murderers and, in the third position, people explaining too much, providing lots of over-information and being always ready to explain/reason. LOL. Although you deserve to be insulted (better: defined as what you really are), I will not do it because think that this description of your behaviour will do a much better job.

      If you can't see the bug where it clearly says "/* bug; should have been VF_VIRUS; note: implicit (ViolationFlags)(int)VC_VIRUS == VF_TOS */"

      So, you detect bugs by looking at comments?! When solving a problem, you mostly look for the label clearly stating "problem here, please solve", aren't you? That makes (again) lots of sense! LOL. Anyway, I don't think that this comment goes against what I have been explaining here. In that specific scenario, the original C code would be buggy, but the C++ version wouldn't be the logical solution either (creating the proper algorithm in C would have been). In any other scenario involving that same code or any other one taking random inputs, exactly the same story: enum boundaries would have to be checked/not depending upon the conditions/language. No need to bring C++ (or any other language) into picture to "correct a bug" provoked in C (or any other language). Logically, I mean all this when dealing with commonly-supported and generic conditions as highlighted in one of the previous comments to myself (really meant to help people like you who usually require a lot of over-explanations to understand anything properly).

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
    8. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1

      BTW and even despite you have proven numerous lacks on the common sense front, I cannot refrain myself from asking you something: why trolling? As I understand it, there are two main meanings for that expression: either bothering others (mostly in a childish and quite random way; although it might also be used to censor previous behaviours) or relying on a somehow dishonest attitude to get some kind of gain. Do you think that any of this is even slightly applicable to this situation? You know, have you put all the pieces together to determine whether your attitude, impressions and outputs make actually any sense? Or, in other words, do you know what you are doing/what is happening here? What is your position (victim or aggressor), your knowledge and the real applicability of your words?.

      I am a logged-in user with an account clearly linked to myself/my business/my knowledge/my attitude and am replying to someone who anonymously posted a kind-of-off-topic comment about two programming languages which I personally don't even use too much (I have been working quite a lot on C during the last months though). What could I gain with all that? How would I get any kind of advantage from C or C++ being used more/less or people thinking that using a different language is an acceptable way to fix a bug? Can you see in my profile here or in my website any reference to me being paid by the (non-existent) owners of any of those two languages? Do you think that I earn money or get a better reputation as a programmer, even as a person, by using my company's account for just bothering random anonymous people? If you do a quick research about me, you would see that there are quite a few express references to principles like honesty, fairness, objectivity, etc.; what do you think about all this? It is just a cover for my real activity, right? My only goal on life and my sole income source was, is and will always be to randomly and dishonestly attack anonymous people in internet talking about so irrelevant issues like advantages C/C++, right? Every time, I said something against what you think, I am lying and I only want to attack you, random anonymous coward, don't you think? Every time I click on the "post" button, I get $1000 because the world is a magical place where random words make sense and things just happen, right? LOOOOOOOOOOOOL.

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
    9. Re:C-style enum vs C++11 enum class? by CustomSolvers2 · · Score: 1

      Weird! That previous post isn't being displayed in my profile, unlikely the other one which I wrote a while later. Note that when trying to firstly post it, I got a "lameness filter" warning which disappeared after converting some of the "troll"s into "t-r-o-l-l"s. I guess that those first posting attempts provoked it to be somehow demoted anyway. What a pity!

      --
      Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
  25. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    So there was a minor outage that was caused by software? Could easily have happened for a million other reasons that no one would care about.

    Would the outage have exceeded 12 hours? I can't see any RTO details, but if not you are still well within 99.9% availability.

    That's way better than what you will ever achieve with crappy consumer equipment.

    I have 100% availability at home. Why would you keep stuff at googles house?

  26. Re:Google can arbitrarily ban me from my own files by MightyMartian · · Score: 1

    Until your hard drive blows up, your LAN goes down or your computer goes on the fritz. It's not like local file servers are magically immune to failures.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  27. Beta Testing by Anonymous Coward · · Score: 0

    Beta Testing to see who notices.

    Now to analyze the data and react accordingly.

    Thanks Google. And Obama ;)

  28. Explains? by sexconker · · Score: 2

    TFS is nothing more than Google saying the bug was a bug due to buggy code that buggily flagged things based on a buggy interpretation of another component's output.

    How many files were affected? Why some and not others? Why is the antimalware component involved? What's there to misinterpret from its output?

    1. Re:Explains? by Anonymous Coward · · Score: 0

      They probably just tested or set the wrong bit in a flag.

      I've seen this happen three ways (and I'm sure there are plenty more):

      * User mistakenly typed flags |= FOO_BIT when they meant to type flags |= BAR_BIT. (e.g. Maybe the prefixes only differed by one letter.)
      * User mistakenly typed flags |= FOO_BIT in a codebase where the convention is to type flags |= (1 << FOO_BIT).
      * User mistakenly typed flags |= (1 << FOO_BIT) in a codebase where the convention is to type flags |= FOO_BIT.

  29. And this is why we keep our stuff on prem by Anonymous Coward · · Score: 2, Informative

    I get so many companies pitching me cloud this and cloud that. My response has consistently been, I don't trust the cloud for any business critical processes/data. The sales reps will laugh their snipe little laugh and make some pithy comment about 'oh, you must be old school'. Yet we see time after time stories like this, almost always portrayed by the company in question as a 'glitch' or a 'bug' and that it has been addressed and fixed. We are reassured that it will never happen again.... until the next story when it happens again. Here is a good one, not quite a cloud story but close enough to make my point of putting your trust in yourself and not relying on someone else for your stuff to work... so on day a couple weeks ago I try to log into VMware console flash version on Chrome, lo and behold it doesn't work because of something Chrome was doing to block flash. Prior to upgrading to 6.5, I NEVER HAD A PROBLEM logging into VMware using the locally installed app. Now I am held hostage to whatever tiff/security issue between Chrome and Adobe.

    I will continue to listen to them call me old school, but when you can't get to your data on the cloud, rest assured I will be laughing. And if you are competitor, I will be laughing on the way to the bank.

  30. The cloud is "somebody's else's computer" by Anonymous Coward · · Score: 0

    If you don't control the data, you don't own it. Just because can you put your data on somebody else's computer because it's easy doesn't make it right. Get a clue people.

    This is the fallacy of "the cloud"
       

    1. Re:The cloud is "somebody's else's computer" by sjwest · · Score: 1

      I visit a dentist who is an absolute fanboy of alphabet - heating controller, email and probably his backend are all stored on google things.

      Its mildly concerning but its nor my responsibility

  31. How about... by Anonymous Coward · · Score: 0

    How about fuck you, Google. They're MY FILES, you have NO RIGHT to do this.

  32. Re:Never trust a service that will censor in any w by Anonymous Coward · · Score: 0

    because someday anything you have may be declared "wrong".

    Yup. It is not at all the same thing as running a virus scanner at home. I have no idea what they're scanning or how they decide what punishment to enforce based on what they find. If I did know, I would have no faith they wouldn't change their answer tomorrow because of "Trump and literal Nazis" or some other such SF hysteria. The real mistake of this push was leaking to a wide audience that this secret scanning regime exists. Thank god I can still buy a physical hard disk without agreeing to a TOS about what bits I write to it. Fuck this noise with a ten-foot witch's broom.

  33. Bad design by Anonymous Coward · · Score: 0

    If anyone suggested such an interface for a car, you'd be taken to the loony bin. But some clown thought this was OK for a ship. While usually ships don't crash if you make a mistake quite as quickly as a car, that's by no means a certainty. A ship should have a real wheel and a physical throttle control.

  34. Re:Google can arbitrarily ban me from my own files by Ol+Olsoc · · Score: 1

    So there was a minor outage that was caused by software? Could easily have happened for a million other reasons that no one would care about.

    Would the outage have exceeded 12 hours? I can't see any RTO details, but if not you are still well within 99.9% availability.

    That's way better than what you will ever achieve with crappy consumer equipment.

    Looks like Google employees are presenting.

    Sorry church, The cloud is advertized as the ultimate in security, and availability, Fuck you and your cloud is better than "consumer equipment.

    Here comes the curse. May you get locked out of the biggest and mot important document you ever had, th eone your boss and your jobs depend on, and you only have it in teh cloud, since who would put it oncrappy consumer equipment. Go to the customer and tell them you got nothing.

    --
    The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  35. Re:Google can arbitrarily ban me from my own files by Ol+Olsoc · · Score: 3, Insightful

    Until your hard drive blows up, your LAN goes down or your computer goes on the fritz. It's not like local file servers are magically immune to failures.

    In those cases, would the cloud somehow still work? That's a hellava cloud that gets th edat through a busted LAN and a non-functioning computer. Majick!

    This access denial is a non-polishable turd. If I'm working on a project and suddenly "The cloud" locks me out of it, I'm well and truly screwed with tight deadlines. Wait - I know the answer - I'm supposed to both use the cloud andlocal storage along with my multiple backups. Which means the one item that is redundant is - the cloud.

    I'll use dropbox or equivalent for transfer if I have to but never anything stored there or any other cloud storage or backup that isn't directly under my control, and that I can't put my grubby mitts on.

    --
    The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  36. Re:Google can arbitrarily ban me from my own files by Ol+Olsoc · · Score: 1

    ... you didn't know that Google could cut off access to files in Google Drive? How the hell did you think it worked? I thought this site was news for nerds, not news for my grandma?

    Be nice - your grandma is a great lady.

    --
    The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  37. Re: Google can arbitrarily ban me from my own file by Anonymous Coward · · Score: 0

    The cloud is for backups and archives.

  38. Re:Google can arbitrarily ban me from my own files by MightyMartian · · Score: 1

    Google drive, at least on PCs, has a local copy stored, so even if a backhoe cuts the fiber, I can still work on a file.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  39. Re:Google can arbitrarily ban me from my own files by Harlequin80 · · Score: 1

    Nope not a google employee. Or a seller of goggle products.

    And no one actually involved in cloud transformations advertises it as the ultimate in availability or security. The ultimate option remains having multiple instances of each server stored in diverse on-prem datacenters where you control all access. But the cost of doing that is insane. You price up what it would cost you to have HA between two server groups across two locations, with your own dedicated fibre connections.

    Now factor into that 3 year hardware lifecycles, and having enough spares that you can bring a dead machine back online within an hour and the costs really start to mount up.

    The cloud options let you leverage economies of scale to get close to that level of reliability. But there are draw backs. This event is one of the risks of a SaaS offering. If you are IaaS or PaaS you have contention risks. And for all of them you have comms circuit risks.

    Also why am I only having it in the cloud? Consumer equipment is perfect for consuming. So there is no reason a document isn't replicated there. Given this was google docs it would be trivial for all files to be synced using drive stream and hence being able to access the most recent interation on any PC.

  40. Always remember: There is No Cloud... by Anonymous Coward · · Score: 0

    Just Other People's Computers.

  41. Re:Google can arbitrarily ban me from my own files by alex67500 · · Score: 1

    There are encryption layers you can add to your Google Drive, so even they can't see what you store (BoxCryptor is the one I use but I'm sure there are many others). Doesn't work for Docs and Spreadsheets, but who uses those anyway??

  42. Re:Google can arbitrarily ban me from my own files by Cederic · · Score: 1

    Could easily have happened for a million other reasons

    But it didn't. It happened because Google didn't like the contents of your documents.

    I don't recall ever agreeing to let Google even fucking read my documents, let alone tell me whether they're "acceptable" or not. So fuck Google, no more Google Docs for me.

  43. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    I had a google doc affected by the bug. It showed that my group's study guide was marked as containing infringing content. At first, I thought it was due to the copy pasta tables and some graphics or the fact that I shared it with non-google account holders (via link). As the document owner, I still had access to the document, but I was prevented from sharing it.

    As a quick workaround, I opened the doc, Cntl-A, Cntl-C, and then Cntl-V into a new document. I then shared this new document and was back in business in a few minutes.

  44. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    your LAN goes down

    How would the LAN going down impact my ability to access the documents stored locally on my computer? (hint, it won't)

    You do have a point about the other two, but mentioning the LAN going down just seemed odd.

  45. Re:Google can arbitrarily ban me from my own files by Ol+Olsoc · · Score: 2

    Nope not a google employee. Or a seller of goggle products.

    And no one actually involved in cloud transformations advertises it as the ultimate in availability or security.

    That doesn't mean that we don't hear that often and loudly. Employee, zealot, or useful idiot, the glowing reports of unassailable security, 100 percent uptime, and almost miraculous reductions in cost of infrastructure and eliminating employees have been shouted from the rooftops for years.

    The ultimate option remains having multiple instances of each server stored in diverse on-prem datacenters where you control all access. But the cost of doing that is insane.

    Well okay. But who needs ultimate? The cloud certainly doesn't approach ultimate, and stupid stuff like expired security certificates (microsoft) and arbitrary lockouts from your own information by google are as much failures as hardware failures. And this still doesn't address the fact that they are scraping the files.

    Also why am I only having it in the cloud? Consumer equipment is perfect for consuming. So there is no reason a document isn't replicated there. Given this was google docs it would be trivial for all files to be synced using drive stream and hence being able to access the most recent interation on any PC.

    Tell me - would you store classified data in your cloud?

    --
    The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  46. Re:Google can arbitrarily ban me from my own files by Anonymous Coward · · Score: 0

    Go to the customer and tell them you got nothing.

    Unfortunately, that usually works. "Computer problems" is the big catchall excuse these days. Can't buy tickets for whatever - or even stuff at the mall. "Computer trouble" indeed. And people just accept - because everybody knows that computers crash now and then. Except me, who complains and tell them to fix it or call the supplier who definitely can fix it.

    Computer crash is the dumbest excuse ever - when even I can get two years uptime on an old but internet-facing machine that doesn't even have ups. People who have actual budgets for stuff have no excuse at all.

  47. Not *your* backup. Theirs. by Anonymous Coward · · Score: 0

    The cloud is for backups and archives that you don't mind losing control of.

    FTFY

  48. Auto-immune disease by Anonymous Coward · · Score: 0

    Mis-identified as malware ---so this was an auto-immune disease?

  49. Re: Google can arbitrarily ban me from my own file by Anonymous Coward · · Score: 0

    Get a load of the guy who thinks its "his" files. LOL.

    Read the Terms Of Service sometime bub.

  50. Re:Google can arbitrarily ban me from my own files by Cajun+Hell · · Score: 1

    WTF?! You already knew that.

    --
    "Believe me!" -- Donald Trump
  51. Re:Google can arbitrarily ban me from my own files by Cajun+Hell · · Score: 2

    It's not like local file servers are magically immune to failures.

    A couple people were walking in a woods, when they spotted a hungry grizzly bear, and it started charging toward them. One of them started lacing up his shoes, preparing to run. "What's the point?" said the other, "You can't outrun a grizzly bear." The reply: "I just have to outrun you."

    We're in a world gone mad, where incompetence and malice-or-corruption (depending on how charitable you wanna be about it) dominate. The benchmark for your home fileserver's reliably isn't perfection; it just has to be better than alternatives (e.g. "you're the product, not the customer" type services).

    And that's pretty damn easy to achieve. My file server doesn't even have a "check if this file complies with my TOS, and then delete it just to spite myself" to ever possibly malfunction. Why would I deliberately build additional risk into it?

    --
    "Believe me!" -- Donald Trump
  52. Re:Google can arbitrarily ban me from my own files by Harlequin80 · · Score: 1

    I do store classified data in the cloud. I don't store it in google docs though.

    Some of the cloud options offer security that is at military classification. Some of data that I work with cannot leave the country, has to remain inside certain datacenters and has a load of other security requirements around it. We still use the cloud.

    Believe it or not Microsoft's Azure product is very secure if configured correctly.

  53. Re:Google can arbitrarily ban me from my own files by Harlequin80 · · Score: 1

    You uploaded it to a platform that allows you to edit the documents in a web browser. How exactly did you NOT think you gave permission to google to open your docs?

    If they can't open the docs they can't give you the ability to edit them. And then you have to expect them to build protections to stop bad docs taking the system off line.

  54. Re:Google can arbitrarily ban me from my own files by Cederic · · Score: 1

    Congratulations on completely missing the point.

    Google can provide CRUD capabilities without ever knowing the content of the data.

    It's the same way that a DBA can administer a database without ever looking at its data. In theory that's not possible but in practice it's very easy. Just the same for Google and docs.

  55. Re:Google can arbitrarily ban me from my own files by Ol+Olsoc · · Score: 1

    I do store classified data in the cloud. I don't store it in google docs though.

    Some of the cloud options offer security that is at military classification. Some of data that I work with cannot leave the country, has to remain inside certain datacenters and has a load of other security requirements around it. We still use the cloud.

    Believe it or not Microsoft's Azure product is very secure if configured correctly.

    That is only remotely the cloud we're talking about here.

    --
    The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  56. It is but they're recycling an OLD term... apk by Anonymous Coward · · Score: 0

    See subject: I heard references to "cloud" way, Way, WAY back circa 1994 asI 1st started doing cross-platform coding to AS/400 midranges (OS/400) then & per the song?

    I DON'T WANT TO KNOW "CLOUD" @ ALL, lol... @ least not in its present showing!

    APK

    P.S.=> There ya go... apk