Show HN: First Crack, a simple static blog engine in Python
bitbucket.org
bitbucket.org
7 months until PY2 goes EOL...
Blogs are a personal creation and there is something very satisfying about publishing your own text using your own tools.
Things I particularly like about this project:
* No dependencies
* the generated pages are clean
* good documentation and usability
Since it is tradition at this point, here is my static site generator: https://github.com/andrewstephens75/gensite
And an example page: https://sheep.horse/2017/10/how_you_are_reading_this_page.ht...
Ed: i think that should be:
from builtins import input
from __future__ import print_function
Both Python 2 and Python 3 will continue to exist for active projects for a long time yet. All programming languages have this issue, though many try to hide it, such as Apache Groovy.
In 2012, Groovy 2 shipped as two separate compilers bundled together, one was a continuation of Groovy 1 and the other was the new edition with the invoke-dynamic capabilities. A few weeks ago, the Groovy Committee decided to keep these separate in the bundle for the upcoming Groovy 3 release, add the new features such as the parser upgrade from Antlr 2 to Antlr 4 to the invoke-dynamic compiler only, and keep the other compiler (the one actually used by Gradle and Jenkins and everyone else) at the Groovy 1 capabilities.
So virtually everyone will be using the old antlr2 parser and slower dynamic function dispatches in Apache Groovy for a long time yet, something which the Groovy project managers are deliberately doing to cater for all the legacy Groovy code out there.
Demo site: http://plurrrr.com/
Sorry just a little nitpick: Python is a dependency that's not guaranteed to be on someone's system, probably should mention this somewhere
That's music to my ears!