News for hackers. Stuff that matters.
Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by jordigh on Sunday May 04, 2014 @10:42PM (#7696754)
Writing the basics of a DVCS in two weeks isn't a unique feat. Mercurial was created in almost exactly the same way, and was faster than git (and still is, e.g. for blame and clone operations) and actually was conceived with a UI from the beginning.

I'm pretty sure the only reason git took most of the mind share instead of hg was (1) github (2) Linus admiration.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by codemac on Monday May 05, 2014 @12:49AM (#7696974)
Well, you're also missing some reasons:

- git has an 'email' centric workflow

- The index with git (git add -i) awesome for people doing patch maintenance

- the rebase workflow is great when you want to maintain against an upstream that you expect someone other than you to commit your changes to, or you have a "pre-publish" phase.

It's almost like those reasons follow the linux workflow.. almost perfectly.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by Argorak on Monday May 05, 2014 @04:45AM (#7697542)
> - git has an 'email' centric workflow

Which is surprising, given how rough all the email-involving commands of git are. Badly documented (git-send-email man page doesn't even come close to documenting all options properly), awful error reporting and a badly explained (although, in itself, quite sane) workflow when sending the patches.

When setting up my email setup, I consulted the underlying Perl script more than the docs :(.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by jordigh on Monday May 05, 2014 @09:48AM (#7698510)
Sigh, I wish people would actually know about Mercurial. It was created for the exact same reason as git, at the same time, and is also intended for kernel development. In particular,

- Mercurial also has an email-centric workflow, look at its mailing list: http://mercurial.markmail.org/search/?q=#query:+page:1+mid:p...

- The staging area can be achieved in hg in several ways, or it can be avoided as desired. One easy way is to just pick apart your commit with hg (c)record --amend and just keep adding to your commit as necessary.

- Rebasing has also been available in hg forever (and wasn't available in git from the beginning). We also have some really interesting changes brewing for rebasing in Mercurial: https://www.youtube.com/watch?v=4OlDm3akbqg

These ideas in hg were all for following the Linux workflow too.

Nothing against git, but it's important to not deify Linus as if he were a unique genius. He has his flaws, and so does the software that he's responsible for.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by bronson on Monday May 05, 2014 @11:46AM (#7699206)
Mercurial went a long way down the "never modify history!" road (i.e. never rebase). Turns out that attitude, while theoretically pure, isn't very pragmatic. There are lots of valid reasons for rebasing.

Hg eventually came around but, for me, the damage had been done. It's the second biggest reason I went with git.

(The biggest, of course, is you use git if you want to interact with kernel devs. But lots of kernel devs hated git in 2005/2006. Mercurial had a reasonably big window of opportunity... all imo, fwiw)

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by dredmorbius on Monday May 05, 2014 @10:55AM (#7698871)
I've used both.

Mercurial beat git past the starting gates, but git has the advantage of being used on a very widely used, widely developed, immensely high profile project. While Hg has its own commendable set of projects, git has simply won the mindshare battle.

Could be worse: there's arch and bzr and probably some others.

Hell, even GNU/EFF are looking to ditch their own VCS in favor of git from what I understand.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by jordigh on Monday May 05, 2014 @11:11AM (#7698975)
Yes, that's true git's main advantage is how widespread it is.

GNU Emacs decided to switch from bzr to git, but GNU as a whole doesn't have a recommended VCS yet. In GNU Octave we will keep using hg. I don't think the EFF is too public about which VCS they use.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by dredmorbius on Monday May 05, 2014 @03:27PM (#7700594)
I meant to type "GNU/FSF". I thought I caught myself and corrected the "EFF" bit. I knew I was going to write that. And damnit, I did.

But yes, I meant "FSF", not "EFF".

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by read on Monday May 05, 2014 @07:19AM (#7697865)
- git has an 'email' centric workflow

That's a good observation. Git seems to assume its distributed issue-tracker is email.

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by zurn on Monday May 05, 2014 @02:32AM (#7697175)
Those aren't big things outside Linux.
Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by throwaway7767 on Monday May 05, 2014 @07:16AM (#7697857)
Email centric workflows are used for lots of projects other than the linux kernel.

My workflow for a lot of the projects I contribute to is something like:

edit -> commit (repeat as necessary) -> rebase -i -> format-patch -> send patchset by email

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by stiff on Monday May 05, 2014 @01:00AM (#7697010)
Every occasion is good to start a flame war, isn't it?
Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by huhtenberg on Monday May 05, 2014 @02:46AM (#7697217)
(3) C implementation

There's a strong aversion of using tools done in Python outside of Python community. It is irrational, but it being an inherently interpreted language puts it into the same perception bucket as Perl and who'd want to use a control system written in Perl?

Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by dima55 on Monday May 05, 2014 @02:57AM (#7697243)
Dude, python IS in the same bucket as perl. The list of pros and cons when compared to C is identical.
Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by huhtenberg on Monday May 05, 2014 @03:17AM (#7697302)
Shhh... don't tell HN.
Re:Linus Torvalds Receives 2014 IEEE Computer Pioneer Award by annnnd on Monday May 05, 2014 @10:11AM (#7698626)
There is one difference - you need an external tool to properly obfuscate Python source code. :)