Live data from Hacker News

Congratulations on creating the one billionth repository on GitHub

github.com

41–50 of 146 posts

Re: Congratulations on creating the one billionth repository on GitHub

#41
post #21

Earlier quoted context omitted.

It's pretty easy to game this. Just keep creating repos till you hit # one billion and remove the old ones. Their API makes it trivial. The only issue will be rate limits, and other people simultaneously creating repos, so it's a matter of luck.

There was a guy who got fired from Meta for creating excessive automated diffs in pursuit of a certain magic number

I hope PR #80085 was worth it.

Re: Congratulations on creating the one billionth repository on GitHub

#42
post #21

Earlier quoted context omitted.

It's pretty easy to game this. Just keep creating repos till you hit # one billion and remove the old ones. Their API makes it trivial. The only issue will be rate limits, and other people simultaneously creating repos, so it's a matter of luck.

I don't believe they will renumber the old ones. Also, it can't be trivial, since two people can try this, and only one can win.

The one who lost doesn't get discussed in this thread.

Re: Congratulations on creating the one billionth repository on GitHub

#43

On a serious note, I'm a bit surprised that GitHub makes it trivial to compute the rate at which new repositories are created. Isn't that kind of information usually a corporate secret?

Is there any reason for GitHub to hide this information though? How could it be used against them? (I understand many companies default to not expose any information unless forced otherwise.)

Companies usually hide this type of information so competitors have a harder time determining if they are growing/shrinking/neutral.

Re: Congratulations on creating the one billionth repository on GitHub

#45
post #36

This is either staged, or incredible commentary on most github repos , having no purpose, never being realized, and even having given up dreaming .

Honestly I think the plurality are by students, maybe even the majority.

When I was a student I had to manually set up CVS pserver and CVSWeb to collaborate with other students on assignments.

This is a bit easier by at least a few orders of magnitude.

Re: Congratulations on creating the one billionth repository on GitHub

#46
post #42

Earlier quoted context omitted.

I don't believe they will renumber the old ones. Also, it can't be trivial, since two people can try this, and only one can win.

The one who lost doesn't get discussed in this thread.

Yes, but that doesn't make it trivial.

Re: Congratulations on creating the one billionth repository on GitHub

#47
Reminds me of the 100 millionth OpenStreetMap changeset (commit). A few people, myself included, were casually trying for it but in the end it went to someone who wasn't trying and just busy mapping Africa! Much more wholesome, seeing it with hindsight. This person was also previously nominated for an OSM award. I guess it helps that openstreetmap doesn't really allow for creating crap, because it's all live in production, and that's how the Nth commit is way more likely to be someone's random whim? Either way, a fun achievement for Github :)

In case anyone cares to read more about the OSM milestone, the official blog entry: https://blog.openstreetmap.org/2021/02/25/100-million-edits-... My write-up of changeset activity around the event: https://www.openstreetmap.org/user/LucGommans/diary/395954

Re: Congratulations on creating the one billionth repository on GitHub

#49
post #31

Earlier quoted context omitted.

Is there any reason for GitHub to hide this information though? How could it be used against them? (I understand many companies default to not expose any information unless forced otherwise.)

The rate of creation is like meh, but being able to enumerate all of the repos might be problematic, following new repos and scanning them for leaked credentials could be a negative... but github may have a feed of new repos anyway? Also, having a sequence implies at least a global lock on that sequence during repo creation. Repo creation could otherwise be a scoped lock. OTOH, it's not necessarily handled that way -…

>following new repos and scanning them for leaked credentials could be a negative

People do this. GitHub started doing it too so now you get a nice email from them first instead of another kind of surprise.

Re: Congratulations on creating the one billionth repository on GitHub

#50

Awesome! Only a little over a billion more to go before GitHub’s very own OpenAPI Spec can start overflowing int32 on repositories too, just like it already does for workflows run IDs! https://github.com/github/rest-api-description/issues/4511

The company where I did my stint as CTO I turned up, noticed they were using 32-bit integers as primary keys on one of their key tables that already had 1.3 billion rows and, at the rate they were adding them, would overflow on primary key values within months… so we ran a fairly urgent project to upgrade the IDs to 64-bit to avoid the total meltdown that would have ensued otherwise.
Post reply on HN