7 ms·
I imagine one time. Then everything else imports the `MZ_CONST` file which then references the `MK` or `ZBERG` variables.
by warent 8y ago
I imagine one time. Then everything else imports the `MZ_CONST` file which then references the `MK` or `ZBERG` variables.
- evgen 8y agoNah, things just refer to him as fbid 4.
- Implicated 8y agoWho are 1, 2 and 3?
- tylerhou 8y agoTest accounts which ended up getting deleted before (presumably) auth worked.
- hawkice 8y agoHoly smokes I just had flashbacks to working at a place that tested things in production and ended up with a couple of these production-db IDs in the code. Shudders
- pavel_lishin 8y agoYour codebase only has a couple?
- hawkice 8y agoYou're already hitting a database, you can add a column for whatever information you want. I've heard people are spooked by having too many columns, but more spooked than having essentially untestable production IDs in their code? No thanks.
- beobab 8y agoI remember one place I worked, someone released code which only returned data permissions for the test user (id 5).
- anticensor 8y agofbid 1 is former zuck. fbid 2 is Facebook itself (the software, not the Facebook's own page in FB). fbid 3 is yet another former test account.
- valarauca1 8y agodog it’s a PHP shop, nobody re-uses code
- jjeaff 8y agoPHP's Packagist disagrees with over 1.4m packages and around a half billion package downloads a month. (More than NPM FYI) https://packagist.org/statistics https://packagist.org/statistics
- sah2ed 8y ago> (More than NPM FYI) I found your claim hard to believe so I went digging but couldn't find any recent resource on the total number of downloads npmjs.org handles per month. I could have sworn they used to publish aggregate stats prominently on their home page somewhere ... but can't seem to find it. Anyway, aggregating* the download numbers of just 12 of the top npm packages comes to about ~504.4m, or half a billion package downloads a month. *: using September 2018 numbers. 1: https://npm-stat.com/charts.html?package=express https://npm-stat.com/charts.html?package=express - 21m/mo 2: https://npm-stat.com/charts.html?package=body-parser https://npm-stat.com/charts.html?package=body-parser - 24.4m/mo 3: https://npm-stat.com/charts.html?package=lodash https://npm-stat.com/charts.html?package=lodash - 64m/mo 4: https://npm-stat.com/charts.html?package=async https://npm-stat.com/charts.html?package=async - 64.7m/mo 5: https://npm-stat.com/charts.html?package=debug https://npm-stat.com/charts.html?package=debug - 87.6m/mo 6: https://npm-stat.com/charts.html?package=request https://npm-stat.com/charts.html?package=request - 50.8m/mo 7: https://npm-stat.com/charts.html?package=chalk https://npm-stat.com/charts.html?package=chalk - 64m/mo 8: https://npm-stat.com/charts.html?package=commander https://npm-stat.com/charts.html?package=commander - 61.8m/mo 9: https://npm-stat.com/charts.html?package=underscore https://npm-stat.com/charts.html?package=underscore - 21.5m/mo 10: https://npm-stat.com/charts.html?package=babel-core https://npm-stat.com/charts.html?package=babel-core - 17.8m/mo 11: https://npm-stat.com/charts.html?package=webpack https://npm-stat.com/charts.html?package=webpack - 16m/mo 12: https://npm-stat.com/charts.html?package=react https://npm-stat.com/charts.html?package=react - 10.8m/mo
- 8y ago
- babypuncher 8y agoI didn't realize Facebook only hired software engineers from the '80s who are allergic to coming up with good identifiers