Unofficial Hacker News companion — get notified on comment replies, and more.

Banned from Google? (opens external site)

981 points by ondas 2 days ago | bannedfromgoogle.com | 455 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. I honestly would love to know how you can build an account system that even makes this possible. Like, when I go to build an authentication system, I consider identifiers like emails unique. Do people who somehow get this to work just do something like "select email, password from users where email = ? and password = ?" or something, and don't mark the email column as unique at all? Like this kind of design just baffles me
    Replies (1)
    1. I'd like to think I wouldn't make that mistake, but then I remember I helped build one of the world's largest music streaming services and even in 2009 it still had all the millions of passwords stored in plain text and everyone's gender in the DB was set to "male" because of that time I tried to update one user on production and forgot the WHERE clause.