How We Work on Queries at GitHub
samlambert.com
How We Work on Queries at GitHub
1–10 of 30 posts
Re: How We Work on Queries at GitHub
#2Re: How We Work on Queries at GitHub
#3Re: How We Work on Queries at GitHub
#4Now, does anyone have the time to figure out how many users Github has in their users table? :) http://dheera.net/projects/blur
However, GitHub user IDs are/always used to be sequential, create a new account and see what its user ID is. It's around 8.6 million at the moment.
Re: How We Work on Queries at GitHub
#5Now, does anyone have the time to figure out how many users Github has in their users table? :) http://dheera.net/projects/blur
Via BigQuery:
SELECT COUNT(DISTINCT actor) FROM [githubarchive:github.timeline];Re: How We Work on Queries at GitHub
#6atleast :
4,151,457 repos
2,480,478 users
popular repos :twbs/bootstrap 40662
jquery/jquery 34633
joyent/node 34522
mbostock/d3 30247
h5bp/html5-boilerplate 28736
popular users:
visionmedia 10712
torvalds 9984
paulirish 5885
schacon 4431
mattt 4053
pjhyett 3732
src code: https://github.com/akuchlous/githublike
Re: How We Work on Queries at GitHub
#7Re: How We Work on Queries at GitHub
#8[Edit: Just noticed poster is author. Hi Sam and welcome to HN :)]
Re: How We Work on Queries at GitHub
#9So, maybe a toy example but I can see the query included a join. Curious how you guys clone enough tables (and their keys) to troubleshoot things like that? Seems like it gets a lot more complex than the example suggests pretty quickly. Wondering if you have neat tools for that. [Edit: Just noticed poster is author. Hi Sam and welcome to HN :)]
It would be cool to be able to pass the script a query and have it clone all the tables.
Re: How We Work on Queries at GitHub
#10So, maybe a toy example but I can see the query included a join. Curious how you guys clone enough tables (and their keys) to troubleshoot things like that? Seems like it gets a lot more complex than the example suggests pretty quickly. Wondering if you have neat tools for that. [Edit: Just noticed poster is author. Hi Sam and welcome to HN :)]