Live data from Hacker News

How Wired Published Its GitHub Story on GitHub

wired.com

11–14 of 14 posts

Re: How Wired Published Its GitHub Story on GitHub

#11
post #9
post #2

Merging people's writing together doesn't seem to be as obvious as merging people's code together -- code is a means to an end, so whatever is the best solution should be merged into master. Writing is subjective, so if your paragraphs cause a merge issue, its not so simple to choose a winner.

You also have to consider that conventional version control was designed specifically for programming code where diffs are done per line (as each line in programming typically serves a single purpose, e.g. assigning a variable). With written language however, that is typically less true. You would only put line breaks after paragraphs and such. Most of the line breaks end up being automatic margin wraps which serve n…

I think this is why formats like Markdown eat newlines, and need two consecutive newlines to produce a paragraph break. This allows you to split paragraphs in smaller chunks, sentences or sub-sentences, hopefully approaching the situation with programming code where line diffs work.

Re: How Wired Published Its GitHub Story on GitHub

#12
post #10
post #7

Earlier quoted context omitted.

You can put in a couple of spaces before each line to make the diff look even better: - its not so simple to choose + it's not so simple to choose

Dear downvoter: this was a simple, helpful comment about the formatting supported by this site, and it didn't deserve your ire. Please go visit a site other than Hacker News. You are not welcome here.

I wasn't aware you even could downvote here. But even if you can who cares? I think elitism here is even more frowned upon than a downvote.

But this is horribly off topic, so if you can downvote, we both should be downvoted.

Re: How Wired Published Its GitHub Story on GitHub

#13
This actually kind of annoys me. When I worked in that very same Wired office, I was constantly trying to get the (fairly tech savvy) writers to use git for their drafts and then just push to Wordpress when they had a final version. They never thought it would work.

Well, I'm just glad they finally saw the light.

I can't wait until we can convince congress to publish laws this way. Imagine if you could see which congrescritter made each change with git blame?

Post reply on HN