Live data from Hacker News

Congratulations on creating the one billionth repository on GitHub

github.com

31–40 of 146 posts

Re: Congratulations on creating the one billionth repository on GitHub

#31

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.)

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 --- they could hand out ranges of sequences to different servers/regions and the repo id may not be actually sequential.

Re: Congratulations on creating the one billionth repository on GitHub

#32
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.

There is always one trillion to look forward to!

Re: Congratulations on creating the one billionth repository on GitHub

#34
post #21
post #6

I'm wondering if AasishPokhrel created this repo for the purpose of being the billionth.

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

Re: Congratulations on creating the one billionth repository on GitHub

#35
Makes me wonder how many repositories exist in general, from all the local Forgejo and Gitlab servers. Heck, include Subversion and Mercurial and git's other friends (and foes!)

Did anyone make a search engine for these yet, so we'd be able to get an estimate by searching for the word "a" or so?

(This always seemed like the big upside of centralised GitHub to me: people can actually find your code. I've been thinking of making a search since MS bought GH but didn't think I could do the marketing aspects and so it would be a waste of effort and I never did it. Recently I was considering whether this would be worth revisiting, with the various projects I'm putting on Codeberg, but maybe someone beat me to the punch)

Re: Congratulations on creating the one billionth repository on GitHub

#37
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

Re: Congratulations on creating the one billionth repository on GitHub

#38

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?

When your moat is a billion wide, you tend to walk around in your underwear a bit more I guess.

Excellent Diogenes quote reference.

Re: Congratulations on creating the one billionth repository on GitHub

#39
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.

[deleted]
Post reply on HN