Live data from Hacker News

Mozilla Firefox – Official GitHub repo

github.com

111–120 of 481 posts

Re: Mozilla Firefox – Official GitHub repo

#112

Earlier quoted context omitted.

To be fair, Git itself is a bit of a pain, and GitHub's main achievement is/was to make it somewhat bearable.

In some sense, git is actually like advanced zip versioning system. A commit is literally just a snapshot of code base except it tell you what is the previous version of this version. Also, git store the files in a smarter way so file size won't explode like zip versioning.

> A commit is literally just a snapshot of code base except it tell you what is the previous version of this version.

Or previous versions. Plural. Yes.

Well, that's one half of git. The other half is tooling to work with the snapshots and their history, eg to perform merges.

Re: Mozilla Firefox – Official GitHub repo

#114

On one hand, centralization at a commercial provider isn't great. On the other hand, the plethora of different self-hosted platforms with limited feature sets is a huge pain. Just finding the repo is often a frustrating exercise, and then trying to view, or worse, search the code without checking it out is often even more frustrating or straight out impossible.

I wish I could search on GitHub without logging in

Re: Mozilla Firefox – Official GitHub repo

#115
post #97
post #26

Earlier quoted context omitted.

I get what you're saying, but tbf hosting on github doesn't (yet!) box you out of just moving back to that system. It's still just git. It's still distributed, in the sense that if github goes down you could still generate patches and email them around, and then push back to github when it's back. Everything surrounding code: issues, CICD, etc, is obviously another story. But it's not a story that is answered by dist…

> Everything surrounding code: issues, CICD, etc, is obviously another story. But it's not a story that is answered by distributed git either. (though I would love a good issue tracking system that is done entirely inside git) Embrace, Extend.. (largely this is unfair, as plain git leaves much to be desired- but you can’t deny that the things surrounding git on github are very sticky).

Build a bridge and…

Re: Mozilla Firefox – Official GitHub repo

#116
post #36

Earlier quoted context omitted.

GitHub are terrible at this, because you can't have levels other than Org and Repository. And many things (SSO, visibility rules, common configs) are on the org level. Unfortunately often the cleaner option is to create a separate org, which is a pain to use (e.g. you log in to each separately, even if they share the same SSO, PATs have to be authorised on each one separately, etc). In Gitlab, you would have had one…

There is an “Enterprise” level above the org, but that obviously needs an Enterprise account. It lets you manage some policies across multiple orgs, including membership.

But it still requires multiple orgs, and the UX is still poor.

It's like AWS accounts vs GCP projects. Yeah, there are ways around the organisational limitations, but the UX is still leaky.

Re: Mozilla Firefox – Official GitHub repo

#117

Pretty cool that Linus Torvalds invented a completely distributed version control system and 20 years later we all use it to store our code in a single place.

ironically hardly anybody outside of the linux kernel community uses it the way it was intended lol. Didn't all this start with Linus getting into a spat with the bitkeeper dev involving some sort of punitive measure as a response to somebody making a reverse-engineered FOSS client? I don't remember the details and I'm sure I have at least half of them wrong, but that's easily one of the most disastrous decisions in…

That's how git started.

But there were already quite a handful of other distributed version control systems around by the time git showed up.

So if Linus hadn't written git, perhaps we would be using darcs these days. And then we'd be debating whether people are using darcs the way it was intended. Or bazaar or monotone or mercurial etc.

I don't think what the original authors of any one tool intended matters very much, when there were multiple implementations of the idea around.

Re: Mozilla Firefox – Official GitHub repo

#118

Earlier quoted context omitted.

ironically hardly anybody outside of the linux kernel community uses it the way it was intended lol. Didn't all this start with Linus getting into a spat with the bitkeeper dev involving some sort of punitive measure as a response to somebody making a reverse-engineered FOSS client? I don't remember the details and I'm sure I have at least half of them wrong, but that's easily one of the most disastrous decisions in…

EA not making sports games for Dreamcast wasn’t a bad decision for EA. It cost Sega a huge amount of money to produce and license their own sports games exclusively for Dreamcast, not having EA sports was a huge blow. And while NBA 2k destroyed NBA Live it took until 2009 for that to start happening (long after Sega ownership), mainly down to sliding standards in EA’s NBA Live titles and eventually some disastrous EA…

I don't see how EA creating their biggest rival is anything but a bad decision for them. Had they licenses they would have a monopoly and probably millions of more sales.

Re: Mozilla Firefox – Official GitHub repo

#119
post #71

Earlier quoted context omitted.

To be fair, Git itself is a bit of a pain, and GitHub's main achievement is/was to make it somewhat bearable.

To be fair, most of the its difficulty is realized when you're stuck with a teammate rewriting history. Who, much like anyone anyone doing the same, hasn't bothered reading a book explaining things.

That problem is solved by preventing forced pushes. Rewriting history locally is encouraged.

Re: Mozilla Firefox – Official GitHub repo

#120
post #73
post #63

Earlier quoted context omitted.

In Codeberg, how does one even search for files containing a given string? Probably the #1 thing I do on GitHub is searching for files in a project containing a given string.

Given how terrible GitHub search in files is, what I usually do is clone the repo and run ripgrep.

If the repository is indexed, there isn’t really competitive search. You can find blog posts about it. They actually used ripgrep at some point. (not anymore I guess because too slow?).

Edit: ripgrep was just a test

More: https://github.blog/engineering/the-technology-behind-github...

Post reply on HN