News for hackers. Stuff that matters.
Re:Why I Left Medium by minimaxir on Wednesday July 31, 2013 @03:24PM (#6136230)
Even better, Octopress in Jekyll allows you to simply add a published: false flag at the beginning of the post to label it as a draft.
Re:Why I Left Medium by MatthewPhillips on Wednesday July 31, 2013 @03:53PM (#6136425)
Jekyll is too complicated. First, it requires a .yml config file, which is unused outside of the Ruby community. So this fails my "you shouldn't have to know what language it is written in requirement". Personally I don't think there should be any config files at all, but if you're going to require a minimal one at least pick something universal and easy to understand, like an rc file or maybe json. Secondly it has the weird _ naming thing. Jekyll was clearly made for Ruby developers, which is fine I just think the world needs something much simpler than that.
Re:Why I Left Medium by sneak on Wednesday July 31, 2013 @05:18PM (#6136904)
YAML is a much better choice than the two you suggested.

"rc file"s have no defined format, and json is a poorer choice than YAML.

I loathe ruby and still use Jekyll because I never have to touch ruby code to use it. I use it specifically _because it is dead simple_.

You're making stuff up.

Re:Why I Left Medium by dasil003 on Wednesday July 31, 2013 @06:52PM (#6137347)
YAML is okay when used in a simple manner such as for a basic configuration file, but it has a seriously fucked up spec with all kinds of landmines waiting to blow your legs off. If you aren't generating your YAML with @ruby_object.to_yaml then sooner or later something bad will happen to you.

That's why I prefer TOML. I wish more projects would pick it up for config. https://github.com/mojombo/toml

Re:Why I Left Medium by MatthewPhillips on Thursday August 01, 2013 @08:26AM (#6139760)
> "rc file"s have no defined format

Why does that matter in this case?

Re:Why I Left Medium by eropple on Wednesday July 31, 2013 @04:21PM (#6136576)
YAML is unused outside of the Ruby community?

Wacky. I guess all my YAML configuration files in C++ and Java and .NET aren't a thing.

Re:Why I Left Medium by MatthewPhillips on Wednesday July 31, 2013 @04:26PM (#6136606)
YAML is unused as a configuration file for end users. Or at least it should be.
Re:Why I Left Medium by reinhardt on Wednesday July 31, 2013 @05:18PM (#6136902)
I'm curious who are these end users that would be scared / turned off by yaml but are totally cool with markdown.
Re:Why I Left Medium by trvrprkr on Wednesday July 31, 2013 @06:10PM (#6137156)
YAML was crafted to be usable by most mere mortals. Whether or not it achieves that in practice is another issue ... but I think most people who find themselves using a static-site generator could find their way around a YAML config file just fine.
Re:Why I Left Medium by swanson on Wednesday July 31, 2013 @05:07PM (#6136845)
That isn't Octopress doing it btw, that is a feature in Jekyll.