News for hackers. Stuff that matters.
Re:Show HN: My static blog/site generator: "Shithead" by riffraff on Thursday June 21, 2012 @08:27AM (#4141627)
I come from a background where swearing, loudly, is considered ok. Think Samuel L. Jackson in "pulp fiction" except my language has, I reckon, a metric ton more swearwords.

First time I worked in a team of people of different language I ended up involuntarily teaching them a lot of them because I was swearing a lot while coding.

But honestly, I don't understand the choice to use vulgar words in naming your project.

EDIT: but +1 for using WikiCreole!

Re:Show HN: My static blog/site generator: "Shithead" by lucaspiller on Thursday June 21, 2012 @08:55AM (#4141724)
I suspect it is the same reason why the authors blog is called "Teh Oarsum".
Re:Show HN: My static blog/site generator: "Shithead" by anthonyb on Thursday June 21, 2012 @09:35AM (#4141885)
Well, it got killed off the front page by the mods at some point, probably for that exact reason. You can sleep easier tonight.
Re:Show HN: My static blog/site generator: "Shithead" by grotos on Thursday June 21, 2012 @07:07AM (#4141358)
Why didn't you go for hyde? I think it's the best solution now as far as python is concerned.

Worth watching is lighting [1]. Its main feature is the incremental building which looks really promising.

[1] https://github.com/borismus/lightning

Re:Show HN: My static blog/site generator: "Shithead" by anthonyb on Thursday June 21, 2012 @07:20AM (#4141404)
Because they're too complicated! If I want to get started with them, or extend them, there's a large learning curve.

For example, take a look at https://github.com/lakshmivyas/hyde/blob/master/hydeengine/f... or https://github.com/borismus/lightning/blob/master/lightning

What does all of that stuff do? Why does lightning need YAML and pickle? Why does hyde need to mirror the entirety of python's os module, including os.walk, for both Files and Folders?

Now compare that to my version: https://bitbucket.org/anthonyb/shithead/src/8a8e5787cf6a/blo... , which is essentially the entire engine, file system handling and building code.

Re:Show HN: My static blog/site generator: "Shithead" by keithpeter on Thursday June 21, 2012 @09:04AM (#4141750)
A few bash scripts does it for me (the Web site is not a blog).

http://sohcahtoa.org.uk/pages/publish-a-web-site-with-bash-s...

Re:Show HN: My static blog/site generator: "Shithead" by nagisa on Thursday June 21, 2012 @10:18AM (#4142068)
I become very angry, when I don't find a RSS feed for a blog I like.
Re:Show HN: My static blog/site generator: "Shithead" by kba on Saturday June 23, 2012 @12:05PM (#4151095)
I agree. The lack of RSS is inexcusable. RSS feeds can easily be implemented without the using know they're there.
Re:Show HN: My static blog/site generator: "Shithead" by anthonyb on Monday June 25, 2012 @08:45PM (#4159545)
"inexcusable"? Your sense of entitlement is underwhelming.
Re:Show HN: My static blog/site generator: "Shithead" by kba on Saturday June 23, 2012 @12:13PM (#4151116)
Sorry, but I would never use this, nor recommend it to anybody.

You make it sound like you left out features, because you wanted to keep it simple, but that really just comes off as you being lazy.

RSS could be implemented, without the user of your application knowing it's there.

Besides, on http://teh.oarsum.com/, the links don't work. They're going to /posts\article-name.html, not /posts/article-name.html as they should.

Another thing is you're talking about simplicity, yet you include Bootstrapper.

I realize that Bootstrapper is probably not included by default and is something you added in the template, but it just emphasizes the fact that you have mixed goals.

Besides, you don't really use anything from Bootstrapper other than the spans. On top of that, you haven't bothered to edit the LESS files to fit your needs, instead you just overwrite that with another CSS. That is not simplicity, that is just laziness.

And last, but definitely not least... Quirks Mode. Just no.

Re:Show HN: My static blog/site generator: "Shithead" by anthonyb on Monday June 25, 2012 @08:49PM (#4159560)
Thanks for the bug report on the paths. I was relying on os.path to generate the urls, which obviously doesn't work on Windows or Mac.

The rest of your issues seem to be with the template - you're free to develop your own if you don't like mine, or don't like bootstrap, or whatever.