19 ms·
Lol - the code example seems to imply that Zuckerburg's user id is 4.
by sinwave 11y ago
Lol - the code example seems to imply that Zuckerburg's user id is 4.
- prezjordan 11y agoIt is :)
- deleted 11y ago[deleted]
- samhoggnz 11y agoThat's because it is 4! https://www.facebook.com/4 https://www.facebook.com/4
- revskill 11y agoWho is 1,2,3 ?
- ci5er 11y agoYou 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.
- leebyron 11y agoCorrect. SQL auto increment keys plus test accounts resulted in Zuck being 4.
- sanderjd 11y agoAs 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 :)
- judofyr 11y agoYou need to upgrade your Ruby version. The object id of `nil` is 8 these days :)
- sanderjd 11y agoHa, 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.)