News for hackers. Stuff that matters.
Re:GraphQL Working Draft by sinwave on Thursday July 02, 2015 @10:16AM (#9818982)
Lol - the code example seems to imply that Zuckerburg's user id is 4.
Re:GraphQL Working Draft by samhoggnz on Thursday July 02, 2015 @10:56AM (#9819281)
That's because it is 4!

https://www.facebook.com/4

Re:GraphQL Working Draft by sanderjd on Thursday July 02, 2015 @11:33AM (#9819548)
As a ruby programmer, my gut reaction was that this had something to do with bugs caused by the object id of `nil` being 4. But of course that's not the case :)
Re:GraphQL Working Draft by judofyr on Thursday July 02, 2015 @02:47PM (#9820795)
You need to upgrade your Ruby version. The object id of `nil` is 8 these days :)
Re:GraphQL Working Draft by sanderjd on Thursday July 02, 2015 @04:19PM (#9821350)
Ha, well they also got rid of `id` on nil altogether, so it stopped being a common bug. (I didn't know that its object id is actually 8 now though, so thanks for the useless-knowledge-nugget.)
Re:GraphQL Working Draft by revskill on Thursday July 02, 2015 @10:59AM (#9819304)
Who is 1,2,3 ?
Re:GraphQL Working Draft by ci5er on Thursday July 02, 2015 @12:01PM (#9819751)
You could always try...

  - https://www.facebook.com/1
  - https://www.facebook.com/2
  - https://www.facebook.com/3
My guess (and there may even be apocrypha about it), is that these were old registration test accounts that didn't survive the first Zuckerbergian purge.
Re:GraphQL Working Draft by leebyron on Thursday July 02, 2015 @12:22PM (#9819901)
Correct. SQL auto increment keys plus test accounts resulted in Zuck being 4.
Re:GraphQL Working Draft by prezjordan on Thursday July 02, 2015 @10:22AM (#9819032)
It is :)