What does HackerNews think of linux?

Linux kernel source tree

Language: C

The kernel is certainly mirrored on GitHub[0], but it's not the centre of development.

[0] - https://github.com/torvalds/linux

> Wrong, you cannot commit to github without first agreeing to the TOS. Every user does it.

The point is that there are repositories on Github that contain commits from non-Github-users. For example, not every single commit to the Linux kernel has been made by a Github user, but there is a mirror at https://github.com/torvalds/linux .

Without more details I assume you just want the source code and documentation. One could either clone the repositories [1] or just browse the CDN access to the docs and kernels. [2] The latest kernel is in the v6.x directory.

[1] - https://github.com/torvalds/linux

[2] - https://cdn.kernel.org/pub/linux/kernel/

>Prove me wrong. Show me in their source code of the OS you're running that they don't do this.



Is it broken?

I tried adding https://github.com/torvalds/linux and asking it to write a simple kernel module for me, but it gave me this error:

"Something went wrong, please try again later. If the problem persists, please contact us."

Edit: looks like it is, I see it's making a POST request to https://gptduck-production.up.railway.app/query which responds with a 500 Internal Server Error when I use a URL that looks like a GitHub repository (whether it actually exists or not), and "invalid repo" otherwise.

If this really is about racism, as some people are suggesting, it makes me wonder how equitably such TOS-rules would be applied in other cases.

For example, if Linus Torvalds turned out to be a racist or sexist or homosexist or transexist, would his Linux repository (https://github.com/torvalds/linux) be hammered? Would he be removed from the Linux project somehow?

The source is published to GitHub though, no? https://github.com/torvalds/linux

It's an easy mistake to make, the code is there and there's nothing to suggest it's a mirror.

There are quite a few projects that didn't originate on Github. Some are mirrors of projects hosted elsewhere, some accept patches through other means, some include code that predates github. If get your linux kernel patch accepted by emailing it to the responsible maintainer, it will end up on https://github.com/torvalds/linux. But you never agreed to the Github ToS, all you did was agree to publish it under the GPLv2. Linus agreed to the Github ToS, but he can't give away rights he doesn't have, so he can't be giving Github any rights to your patches that go beyond the GPL.
Hmm, it may be too late. I just found something claiming to be the real thing in an unsecured repo [1]. It doesn't even appear to be a hack, but perhaps just a permissions misconfiguration. Linus is going to feel real silly about this one. Oh well, get ready for the zero days!


> Was being able to easily inspect and change what was happening in apps you didn't have intentional source access for (web pages/apps) not key to that?

I got into web design/programming in the 90s, and the answer is basically no. Sure you could poke around a bit, but I never found it to be a revelation. I still had to buy books, read blogs, and do a ton of trial and error. Also, it was a never-ending game of trying to testing to see what each new browser release added or broke.

We are in infinitely better position today thanks to open source. The "View Source" of today is GitHub. Want to write a high-performance dynamically typed language VM? Here: https://github.com/v8/v8 Build an operating system? OK: https://github.com/torvalds/linux Build a database? Here you go: https://github.com/postgres/postgres

> take

And if you use my (8 year old) PR you can "take" remote URLs, downloading and extracting tarballs and cloning git repos:



    take https://github.com/torvalds/linux.git
    # you're now in the cloned directory
> I don't think turning issues off is a sign of a serious project that should be used by many people in production

> Above all, such behaviour signals to me that there is only 1 person making commits / merging PRs and they are kind of tired of OSS (which is fine, by the way).

The linux kernel doesn't have an issue page and PRs receive a polite comment on how to send their PRs as patches outside of github.


> new: https://github.com/torvalds/linux

Looking at the repo's main page on a smartphone. The top "box" listing the latest commit message says:

"torvalds committed 20... [...]"

What the ...!!!

I don't know if that was a "streamlining" or has been always like this. Still, makes me wonder at how the UI team prioritizes their efforts.

I don't depend on using GH UI much, so will figure my way in the refaced UI at some point. But I can relate to the sentiment here that the refacing is just the recurring "design tax". Like the cars from 2015 look "so dated".

What's the deal about the round corners? I thought the straight ones were proclaimed the "right way".

Let's take the simplest action - cloning a repo.

Old: https://web.archive.org/web/20200619163555/https://github.co...

New: https://github.com/torvalds/linux

It was always strange to have all the language info at the top