News for hackers. Stuff that matters.
Re:Welcome, New Emacs Developers by naner on Thursday November 13, 2014 @03:19PM (#8603789)
This sort of thing is very important. One of the (many) issues that hinders open source projects is that it is difficult to jump into the code, even for experienced developers. Every project can benefit by making contributing easy and building as quick and painless as possible.

I still remember a couple years ago I wanted to contribute to Chromium. I took one look at the build instructions and decided I didn't want to contribute that badly...

Re:Welcome, New Emacs Developers by brianpgordon on Thursday November 13, 2014 @02:57PM (#8603677)
> Emacs switched the version control system from Bazaar to git yesterday

If you haven't followed the drama, here's ESR's take:

https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg00...

Re:Welcome, New Emacs Developers by nekopa on Thursday November 13, 2014 @04:13PM (#8604132)
Jesus Christ, (and I say that as a Buddhist) thanks for that rabbit hole. Thanks. I have spent 45 minutes so far on it, and it just keeps getting deeper. If I had enough karma I would downvote you for effectivly killing my evening, but as I don't I upvoted you instead in the hope that you will read my message and think twice in the future about posting such a fascinating, interesting time sink that will kill people's productivity. Cheers
Re:Welcome, New Emacs Developers by mistermumble on Thursday November 13, 2014 @04:45PM (#8604334)
ESR's post provides a link to a long but worthwhile article by Jelmer Vernooij on the history of Bazaar and why it lost to Git.

The key paragraph:

We lost sight of what mattered for our users, focusing on features that were nice but perhaps not as necessary as we thought. We overengineered. We didn't get rid of the crufty unnecessary features. It's harder to comprehend, contribute to or fix performance issues in a large layered codebase. And the larger a codebase becomes, the larger the surface for bugs, the harder it is to refactor.

https://www.stationary-traveller.eu/pages/bzr-a-retrospectiv...

Re:Welcome, New Emacs Developers by cbd1984 on Friday November 14, 2014 @12:33AM (#8605940)
The link appears down (hostname doesn't resolve for me):

http://web.archive.org/web/20141108100240/https://www.statio...

    % host www.stationary-traveller.eu

    Host www.stationary-traveller.eu not found: 2(SERVFAIL)
(In case that helps someone.)

In fact, I think I have something, because dig www.stationary-traveller.eu +trace seems to work: http://stackoverflow.com/questions/12025173/dig-returns-serv...

My resolv.conf is just 8.8.8.8 and 8.8.4.4 so I'm pretty sure this is affecting others. OpenDNS resolves it, though:

    % nslookup www.stationary-traveller.eu 208.67.222.222
    Server:         208.67.222.222
    Address:        208.67.222.222#53

    Non-authoritative answer:
    www.stationary-traveller.eu     canonical name = aurelia.vernstok.nl.
    aurelia.vernstok.nl     canonical name = aurelia.jelmer.uk.
    Name:   aurelia.jelmer.uk
    Address: 178.63.244.14
This might provide a solution: http://www.webhostingtalk.com/showthread.php?t=1278335

> EDIT,fixed: The CAUSE was that /etc/named.conf had no zone set for that domain. and also there was file for "DB record" missing in /var/named/domain.com.db file. This manual fixed it: http://kb.iweb.com/entries/21155058-Adding-new-domains-to-DN...

Re:Welcome, New Emacs Developers by bitwize on Thursday November 13, 2014 @03:57PM (#8604051)
Eric also lent considerable aid and the use of his reposurgeon tool to doing the actual migration. Despite his storied rivalry with Stallman, the two actually worked together over the past 10 months to get this shit done.
Re:Welcome, New Emacs Developers by GFK_of_xmaspast on Thursday November 13, 2014 @05:16PM (#8604501)
Is this : " It impedes people stuck on old (low spec) computers, too. For example, in my adventures w/ git-bzr, i have managed to do the initial clone, but 512M RAM is not enough to achieve the tantalizingly compact footprint that "git gc --aggressive" purports. I'm a stubborn fool and will find a way eventually (suggestions from git-bzr / git experts welcome!), but it's an unqualified slog that i imagine is just not worth the trouble for others in similar straits."

just ideology? I would have expected most individuals in position to be doing development work in 2014 to have a little more ram than this.

Re:Welcome, New Emacs Developers by jacquesm on Thursday November 13, 2014 @07:34PM (#8605130)
Development work in the richer countries, yes. In the not so rich countries 1G is still quite normal and a program that's conservative (if using 512M can be called conservative in this case) with RAM is to be appreciated at all times, even when you have lots of it.
Re:Welcome, New Emacs Developers by GFK_of_xmaspast on Thursday November 13, 2014 @03:26PM (#8603824)
This will be an interesting test to see if the claim 'emacs development was held back because of it's VCS' actually holds.
Re:Welcome, New Emacs Developers by aaronem on Thursday November 13, 2014 @03:50PM (#8603998)
I doubt that was the only barrier.
Re:Welcome, New Emacs Developers by broodbucket on Thursday November 13, 2014 @06:19PM (#8604807)
It's not the only barrier but it is a barrier. I never would've considered contributing to Emacs but now I might if I have free time.
Re:Welcome, New Emacs Developers by cwyers on Thursday November 13, 2014 @03:14PM (#8603765)
"Emacs: The Best Thing Since Sliced Bread If It Wasn’t For The Fact That Emacs Was Actually Invented Before Sliced Bread."

That's gold.

Re:Welcome, New Emacs Developers by SeoxyS on Thursday November 13, 2014 @03:29PM (#8603848)
Well, it would be, if it were true. I'm pretty sure Emacs was invented after 1928. Half a century later, actually. I found that claim really odd. Maybe there's a joke or reference in there I'm not getting?

https://en.wikipedia.org/wiki/Sliced_bread

https://en.wikipedia.org/wiki/Emacs

Re:Welcome, New Emacs Developers by fafner on Thursday November 13, 2014 @03:39PM (#8603914)
It's simply a joke about Emacs having a long history. Don't take it too seriously. Just like the "greatest thing since sliced bread" phrase. I mean sliced bread is not great at all.
Re:Welcome, New Emacs Developers by vkjv on Thursday November 13, 2014 @03:45PM (#8603957)
You've clearly not had to make a sandwich with bread that isn't sliced. Sliced bread is amazing.
Re:Welcome, New Emacs Developers by fafner on Thursday November 13, 2014 @03:53PM (#8604020)
I rarely buy sliced bread. But then again I usually buy real bread and not that "toast"-thing, which seems to be mislabelled as "bread" in the anglosphere.
Re:Welcome, New Emacs Developers by broodbucket on Thursday November 13, 2014 @06:17PM (#8604800)
I can't believe I'm witnessing a bread elitist. Bread, of all things.

Not knocking your opinion as I will admit to being a bread plebeian, but wow.

Re:Welcome, New Emacs Developers by Symbiote on Thursday November 13, 2014 @07:34PM (#8605133)
I can't believe you've not met a bread elitist before. Any European who isn't British or Irish would probably count...

My housemates (in London) are from Palestine, Poland, Romania and Hungary, and in average British terms all count as bread elitists. None can understand why the squashy, tasteless, white bread is popular here, and struggle to understand why people would buy crap bread, of all things!

Re:Welcome, New Emacs Developers by thaumasiotes on Thursday November 13, 2014 @10:39PM (#8605698)
A chinese person recently asked me: "In America, does the bread usually contain other things, or is it just bread?"

To understand the question, you need to know that if you buy a bread product in a Chinese bakery, there will be some sort of filling -- beans, a hot dog, anything -- hidden in the middle (well, a hot dog will usually stick out visibly on either side).

When I replied that bread is bread all the way through, there was a followup question: "If it's all just bread, how can one bread be different from another bread?"

It was hard to know how to respond. Different breads taste different. Some are high-quality, some are low. People aren't just imagining the difference between sourdough and wonderbread.

Re:Welcome, New Emacs Developers by smrtinsert on Thursday November 13, 2014 @09:03PM (#8605449)
I grew up worshiping the Wonderbread kids, now I cringe in horror. There really is no comparison between real bread and the other stuff. It's kind of like Velveeta.
Re:Welcome, New Emacs Developers by cbd1984 on Friday November 14, 2014 @12:25AM (#8605927)
Velveeta's great if you want a cheese that melts smoothly.
Re:Welcome, New Emacs Developers by oblio on Thursday November 13, 2014 @06:43PM (#8604910)
Anyone who has ever eaten home made bread, the kind my grandmother used to make, would agree with the bread elitist!
Re:Welcome, New Emacs Developers by swah on Thursday November 13, 2014 @07:19PM (#8605078)
The sentiment is more appropriate when talking about expensive liquid bread.
Re:Welcome, New Emacs Developers by kbart on Friday November 14, 2014 @02:35AM (#8606192)
A lot of my relatives live oversees and most of them, every time they come home, buy a lot of bread, take it back to another country and store in a freezer. Because it's nearly impossible to find a good, tasty bread in most western countries (from my personal experience: UK, Denmark, Norway; but I've heard the problem is much wider).
Re:Welcome, New Emacs Developers by fafner on Monday November 17, 2014 @04:00PM (#8620534)
Especially bread. It's a staple food in many cultures. It's an important item. Why should we not demand high quality? Where I'm from people eat good bread. I grew up with good bread. It is really interesting but also sad, that the anglosphere seems to lack a decent bread culture.
Re:Welcome, New Emacs Developers by ripter on Thursday November 13, 2014 @05:41PM (#8604638)
homemade bread that you tear into pieces with your hands, is clearly the best. Only lazy people have buy pre-sliced bread.

Feature Request: M-x slice-bread

Re:Welcome, New Emacs Developers by yzzxy on Thursday November 13, 2014 @07:00PM (#8604988)
I can see the editor wars starting now:

"Emacs gives you everything, including sliced bread!"

"Vim gives you a knife."

Re:Welcome, New Emacs Developers by Filligree on Thursday November 13, 2014 @06:27PM (#8604846)
Have you guys ever heard of knives?
Re:Welcome, New Emacs Developers by oblio on Thursday November 13, 2014 @06:45PM (#8604915)
It's not the same thing, really. Freshly baked bread is awesome. Eating freshly baked bread without slicing it = priceless.
Re:Welcome, New Emacs Developers by thaumasiotes on Thursday November 13, 2014 @10:21PM (#8605662)
Actually, I prefer to make sandwiches from rolls. It's nice if they come sliced, but it's trivial to slice them yourself.
Re:Welcome, New Emacs Developers by atmosx on Thursday November 13, 2014 @06:02PM (#8604729)
<vim user here> What did you expect from an operating system disguised as an editor? </vim user here>

Jokes apart IMHO the only editor comparable to VIM is Emacs :-)

Re:Welcome, New Emacs Developers by to3m on Thursday November 13, 2014 @03:30PM (#8603853)
I had a patch to emacs accepted about a year ago and I just used the previous git mirror for everything.

esr's apparent attempts to get everybody to move to git are a little quixotic, I have to say - but if it happens, it's probably a good thing. Where a DVCS is a good fit, then you might as well use git. But even while I support this move and assume workflow will be improved for emacs regulars, I wonder whether it will prove so valuable for occasional contributors. (N.B., I'm English, so I guess what I mean is: I don't believe that this will make much difference.)

I've now seen a couple of attempts to frame this change that way and I'm not sure I buy it.

Re:Welcome, New Emacs Developers by bad_user on Thursday November 13, 2014 @03:55PM (#8604037)
If you read the email by ESR [1] explaining the rationale, I really think that he is right. It's not that bzr isn't good enough to keep on going, it's about the image exposed by Emacs as a project that still uses bzr.

And he does have a point. I for one do not look kindly on projects that still use Google Code or SourceForge for hosting or other version control systems other than Git or at least Mercurial. And this is because I look out for projects that aren't well maintained - after all, the noise amongst open-source stuff is incredible and I take notice of things such as when the last release or last commit was, current issues, mailing list activity and yes, the tools used.

That said, it's a pity that Emacs isn't being hosted on GitHub or BitBucket, because if these services are good at something, that's quick browsing of recent activity, plus they provide pull requests.

https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg00...

Re:Welcome, New Emacs Developers by davexunit on Thursday November 13, 2014 @08:54PM (#8605420)
GitHub and BitBucket are proprietary web applications. This makes them unfit for hosting Emacs.

Also, the pull request system is not very good, IMO. It encourages bad practices like having to use git push --force to submit a new patch set without opening a brand new pull request (I suppose you could delete the remote branch and recreate it each time). And then there's the merge commit that it adds if you merge via Github, rather than rebasing to master and doing a fast-forward for a clean history. As ugly as it is, I much prefer submitting a patch set to a mailing list.

Re:Welcome, New Emacs Developers by dima55 on Friday November 14, 2014 @03:21AM (#8606277)
And on top of that, "github issues" are missing core functionality, such as attaching files.
Re:Welcome, New Emacs Developers by jff on Thursday November 13, 2014 @04:06PM (#8604096)
When RMS allows Emacs development to be hosted on Github, Hell will freeze over and the Cubs will win the World Series.
Re:Welcome, New Emacs Developers by cgag on Thursday November 13, 2014 @07:07PM (#8605019)
It's a pity Github has become the central place for people to host free software while not being free itself.
Re:Welcome, New Emacs Developers by ams6110 on Thursday November 13, 2014 @08:57PM (#8605429)
I wouldn't be too quick to judge a project by the version control system. OpenBSD, OpenSSH, LibreSSL, OpenSMTPD, and a few other affiliated projects all use CVS.
Re:Welcome, New Emacs Developers by fafner on Thursday November 13, 2014 @03:49PM (#8603988)
bzr is a DVCS.

But anyway: bzr has simply become a barrier. Not only to attract new developers but also some long term contributors have ceased contributions because they considered bzr to be too much of a hassle. But it's not only that git has simply become the vcs everybody knows. Bazaar development has stopped and it's in "maintenance mode", which sadly means that some bugs aren't getting fixed. Switching to git therefore made sense from several perspectives.

Re:Welcome, New Emacs Developers by to3m on Thursday November 13, 2014 @04:45PM (#8604338)
Yes, bzr is a DVCS. And when a DVCS is a good fit, you might as well use git! Which is what they're doing. My point wasn't that switching to git isn't a good idea, just that my guess would be that out of all the reasons why people might not contribute to emacs development the VCS in use is not a huge factor.

But, I myself used the git mirror rather than bother with bzr. And this certainly is giving emacs some publicity, which (as I understand it) is always a good thing. And if it's being spun as some kind of a push to be friendlier to new developers, mabye the whole exercise will indeed prove more significant than I expect?

Anyway, fortunately we are now in a position to test my theory, one way or the other ;)

Re:Welcome, New Emacs Developers by deng on Thursday November 13, 2014 @04:31PM (#8604254)
> but also some long term contributors have ceased contributions because they considered bzr to be too much of a hassle

I wonder who those could be. I can't remember any major contributor leaving because of bzr.

Re:Welcome, New Emacs Developers by fafner on Monday November 17, 2014 @03:54PM (#8620482)
E.g.,

* John Wiegley, author of eshell and other things. * The ada-mode was moved to GNU elpa because the maintainer didn't want to work with bzr.

Re:Welcome, New Emacs Developers by victorr on Thursday November 13, 2014 @04:10PM (#8604120)
Does Vim have a source repository like this?

I could only find https://code.google.com/p/vim/ , but there are only 3 contributors

Re:Welcome, New Emacs Developers by thristian on Thursday November 13, 2014 @04:46PM (#8604343)
That's the official Vim repository, yes. There are a lot of contributors to Vim, but for consistency with the way Vim patches were handled before it had an SCM, changes are sent as diffs to the mailing-list and manually committed by Bram, rather than just being slurped into the repository with the original author information intact.
Re:Welcome, New Emacs Developers by Arkanosis on Thursday November 13, 2014 @05:41PM (#8604642)