In a cave with a box of scrap
The biggest tragedy of modern media is that they chose to cast Elon Musk as the real life Tony Stark instead of torvalds who created 2 pieces of truly revolutionary software (with the help of thousands of other engineers ofc)
Four things went for Musk:
- he was rich
- he had a passing resemblance to Robert Downey Jr.
- he
madewas closely associated with futuristic hardware (we don’t seem to value revolutionary software the same way as hardware) - he was rich
In all honesty, a lot of solo developers who are directly responsible for the internet as we know it should be getting far more credit than rich ass holes but here we are.
Edit: correct
Don’t forget:
- he was rich
Don’t forget:
- his dad was rich
A distinction without a difference
I mean, let’s be thorough. He’s
- the rich scion
- of a family that made their fortune owning and exploiting emerald mines
- in South Africa
- during apartheid
Kinda tells you all you need to know about him and his family.
Also his dad fucked and married his own stepdaughter. No, I’m not kidding.
he made futuristic hardware
Did he
Yeah Teslas were pretty leading edge at the beginning. Then they started doing weird stuff like removing stalks and making triangular trucks.
Falcon 9 and Starship are obviously futuristic too.
Did he, though?
No not in the same way Tony Stark did. But Tony Stark is imaginary. Obviously nobody can build an electric car or a rocket in the same way that Tony Stark does.
Of all the criticisms of Musk this is the weakest. There are many way more valid ones… for instance:
- He’s an arsehole.
- He straight up called that diver a paedo, and even paid a scammer to investigate him.
- The scummy lottery thing for votes for Trump. I don’t care if it ends up being technically legal, it’s clearly immoral.
- Selling the promise of FSD for hard cash when it clearly is never going to happen as he claimed. I still don’t know why there’s been no class action suit over that.
- Backing proper insane far right groups in Europe. These people are worse than Trump. I wouldn’t say he is backing neonazis, but he’s certainly in the vicinity.
Despite all that he clearly has a pretty good handle on engineering and is definitely involved. He’s not just a figurehead.
I know right, people are multidimensional. You can downvote if that blows your mind.
For me the problem is that he LARPs as Tony Stark and idiots but into it. He pretends to be a smart engineer when he lucked into all of it and is really not all that bright.
Despite all that he clearly has a pretty good handle on engineering and is definitely involved. He’s not just a figurehead.
as far as I’ve read he actually doesn’t, he just pretends to. You can see this in a lot of his interactions with his employees and the public. but yes, people are multidimensional. musk is a good salesman.
Look at it. That fuck didn’t do fucking shit but fuck. He also bought shit other people designed and made and put his name on shit he told them to be stupid in certain fucking stupid ways. IDRC what ignorant people say. If you look at real history, he fucked and fucked shit. Oh and sure, he paid a bunch of fancy people to look like they move pretty when speaking about his literal fucking shit. It worked and he paid them to lie about which side of fucking anything he was and/or would be on. If you saw shit up until THAT point, you should have fucking known he was lying. Didn’t matter that he said both. He was lying about everything because he wasn’t anything more than fucking shit, literally.
Also Subsurface, a scuba diving log program, but that one is not quite as well known.
I’m part of the accounting team in my company, a fucking big corporation, but because I’m not part of the dev or IT department IT dosen’t want to give me access to the azure devops they use. So I had to ask for service desk to install git locally and using it like that.
Principle of least permission. I’m a dev and I still have to ask for temporary permission to even access customer infrastructure to solve production issues. Why should you need access to deployment infrastructure? I would deny you too, especially if your need could be solved by a local install of git.
I think we in the financial department need a devops for us, we write a lot of code that generates a lot of important information for strategic decisions and for regulatory bodies. I’m the only one in the accounting team that knows how to code, but the actuarial team? All of them write code. And all of that code is sparced on butch of directories with _v{n}, _final_version, _post-fix, (copy) and so on. Is completely ridiculous that everything is being moved to Python without a git environment.
I’m a SysAdmin and I’ve met several ‘coders’ who went thru a coding bootcamp, or even went to college and don’t know about git, less alone how to use it… kinda makes me sad.
I believe his goto comment on git is that its current maintainer did/does far more work on git them him.
Thank god for that dude.
Handing over maintainership was not a hard choice. It was very much: “The moment somebody else comes along that I can trust to keep it going, I’ll go back to doing just the kernel.”
Priorities
Compare that with someone who wants the appearance of creating/maintaining something, without actually contributing musk of anything…
Nice
Turned out better than javascript.
Be thankful we got Javascript. We might have had TCL! 😱
Interesting footnote: the founding of Netscape occurred at the same time I was deciding where to go in industry when I left Berkeley in 1994. Jim Clarke and Marc Andreessen approached me about the possibility of my joining Netscape as a founder, but I eventually decided against it (they hadn’t yet decided to do Web stuff when I talked with them). This is one of the biggest “what if” moments of my career. If I had gone to Netscape, I think there’s a good chance that Tcl would have become the browser language instead of JavaScript and the world would be a different place! However, in retrospect I’m not sure that Tcl would actually be a better language for the Web than JavaScript, so maybe the right thing happened.
Definitely dodged a bullet there. Although on the other hand if it had been TCL there’s pretty much zero chance people would have tolerated it like they have with Javascript so it might have been replaced with something better than both. Who knows…
The TV company?
Tool Command Language. It’s a shitty stringly-typed scripting language from the 80s that took a neat hack (function bodies are string literals) way too far.
It’s a bit less shit than Bash, but shitter than Perl.
Unfortunately the entire EDA industry has decided to use it as their scripting interface, which isn’t too bad in itself - the commands they provide are pretty simple - but unfortunately it leads to people stupidly basing their entire EDA infrastructure on TCL rather than wrapping it in a saner language.
Thanks, I hate it even more
I expected someone to say that, and boom first comment lol
it’s wild just doing git init instead of manually setting up /truck, /tags, and /branch every time.
It could’ve been mercurial, but I’m glad that didn’t happen. Being shouted at in a mailing-list for fixing a bug doesn’t sound like fun. Also, the amount of CPU resources that would be wasted running a VCS in python would be phenomenal. And have fun trying to develop a project using a separate python version than supported by your python VCS.
If Mercurial were as popular as Git I would presume that it would be rewritten in C or Rust, but who can say.
I’m sure it could, but no one thinks it’s worth their time when Git is right there and does the same job.
Care to explain your comment for a layman?
From my limited experience mercurial is way more intuitive than git. The big one is named branches are a thing instead of an abstraction.
What do you mean by “are a thing?” Git has branches.
Git branches are very different to Mercurial branches. In git they’re similar to tags that move along with the head commit of that particular branch. In Mercurial every commit contains meta data indicating the branch it’s on. It also has a query language that lets you do sone quite neat things with selecting groups of commits based on their metadata, which can be useful in code reviews and similar.
That just sounds like an implementation detail.
Can you provide an example of something that’s possible in Mercurial, but not git?
I’ve never used Mercurial, but a simple one based on the explanations and my experience with Git:
Locating the branch a commit originated from. If a git branch has been merged into (or rebased on) main or another branch, there’s no way to tell which commit came from which branch. But sometimes I’d really like that information to figure out what prompted a certain change. Without it, I need to use external tools like a ticketing system and hope the other developers added in the necessary information.
That seems to be the opposite of useful if a commit is initially pushed to a development branch, which is relatively standard practice; now you’re polluting the tree with data that’s purposefully ephemeral, and even potentially leaking internal information.
Also, I’d argue that such deep details do belong in another tool, rather than asking the source control tool perform triple duty by being a CR and issue tracker as well.
Most of the time you’re right, it’s little more than a detail, but sometimes I miss the querying that it allowed. You could ask for things like a list of all branches that branched from a specific parent branch and modified a specific file, Which can be handy when you want to understand the impact a change might have before you make it and try merging.
Having the branch name embedded in the commit means you can meaningfully ask this sort of question. In git’s model you can’t say a changeset is in a specific branch once there are child branches further downstream because the changeset is in all of those branches.
Rather than come up with lots of examples for other queries (I know it wasn’t the focus of your question, but I think it’s really neat), I found this page which seems like a reasonable description.
No, git has labels on heads of branches. Once the head moves you loose the information. It also makes for a more messy history, which I believe created the whole “rebase everything” philosophy to cope.
What information is “loosed” when another commit is made to the branch?
If I hand you a commit, you cannot tell which ‘branch’ it is on without searching the git history and hoping that you only get one answer. That’s a bummer if, for instance, you’re a github action and only get handed the commit. If it’s on the master branch, I want to do different things than if it’s a dev branch.
A commit all by itself doesn’t mean as much without context.
Why would I not want to be able to apply a commit to any arbitrary branch?
Also, GitHub is not git - it’s based on git. Any shortcomings it may have aren’t necessarily due to a flaw in git.
A commit all by itself doesn’t mean as much without context.
Luckily a commit points to its parent, which means the context is inherently present. What’s your point?
Why would I not want to be able to apply a commit to any arbitrary branch?
Nobody said that.
Any shortcomings it may have aren’t necessarily due to a flaw in git.
True enough.
I think it’s less user experience and more that mercurial is a lot more demanding hardware wise to do the same rough job?
Mercurial is written in Python, Git in C.
Given the number of git instances, had it been implemented in Python, more CPU cycles / electricity would have been used.
Blah blah Mercurial is responsible for global warming. (I’m being sarcastic by the way - I love Mercurial).
Python 10s of multiples more CPU cycles than git. It is an interpreted language: every instruction is read by another process, checked, and then run. Hit on the other hand is executed straight by the CPU. It has at least one layer of indirection less than python (the python interpreter may have multiple). That means it can be slower but it definitely uses more energy.
Since git is so popular, if it were instead mercurial, the energy requirements would be much higher for version control. Whether that will be noticeable on a bill is debatable. I haven’t run the numbers.
Regarding the different python versions. As mentioned before, there is a python interpreter. That interpreter is versioned and so is the python language. Many things are backwards compatible meaning something written in a higher version of the python language can be interpreted by a lower version of the python interpreter. The reverse is also true, so python interpreter with a higher version can interpret a python file using a lower version of the language.
Notice that I put “can” in bold. That’s because newer versions can deprecate certain features or parts of the language. So, if you’re writing a project in a different version of python, mercurial may or may not run depending on your version. Resolving that may not be as intuitive as one thinks.
I think those were he points you were referring to when you asked your question?
Surely it could be rewritten in Fortran if performance is really a concern.
Assembly is the true language of the gods, sir.
Apart from the obvious lack of portability, compilers write better assembly than most humans.
I don’t think it’s hyperbole to say a significant percentage of Git activity happens on GitHub (and other “foundries”) – which are themselves a far cry from efficient.
My ultimate takeaway on the topic is that we’re stuck with Git’s very counterintuitive porcelain, and only satisfactory plumbing, regardless of performance/efficiency; but if Mercurial had won out, we’d still have its better interface (and IMO workflow), and any performance problems could’ve been addressed by a rewrite in C (or the Rust one that is so very slowly happening).
Imagine if their VCS operations were 10s of times less efficient 😉
Most of the VCS ops in Hg are actually written in C.
GitHub is mostly written in Ruby, so that’s not really a performance win.
Like I said, we’re stuck with Git’s UX, but we were never stuck with Hg’s performance.
Being shouted at in a mailing-list for fixing a bug doesn’t sound like fun.
What’s that a reference to?
Some instances of one of the mercurial devs being a bully. It was a long time ago and I can’t remember the alias of the dev, but I do remember they had merge or commit rights - whatever those are called in mercurial. It felt like they had their own Linus but different. Whether they are still active or whether they still are like that, I dunno. Certainly hope they changed.
Dunno if the git mailing list was as toxic. Didn’t investigate that.