Dogfooding a new theme
I am doing a second theme for Nikola, and what better way to test it than migrating this site to it!
In the process, I stopped using custom templates here, organized how a theme is done, how translations work, and other stuff.
Comments about broken / untranslated / missing stuff are much appreciated!
Nikola 1.2 is out!
Version 1.2 of Nikola, my static site generator and the software behind this very site, is out!
Why build static sites? Because they are light in resources, they are future-proof, because it's easy, because they are safe, and because you avoid lockin.
New Features:
Image gallery (just drop pics on a folder)
Built-in webserver for previews (
doit -a serve
)Helper commands to create new posts (
doit -a new_post
)Google Sitemap support
A Handbook!
Full demo site included
Support for automatic deployment (
doit -a deploy
)Client-side redirections
And of course the old features:
Write your posts in reStructured text
Clean, customizable page design (via bootstrap)
Comments via Disqus
Support any analytics you want
Build blogs with tags, feeds, feeds for your tags, indexes, and more
Works like a simple CMS for things outside your blog
Clean customizable templates using Mako
Pure python, and not a lot of it (about 600 lines)
Smart builds (doit only rebuilds changed pages)
Easy to extend and improve
Code displayed with syntax highlighting
Right now Nikola does literally everything I need, so if you try it and need something else... it's a good time to ask!
More info at http://nikola-generator.googlecode.com
Embassytown
Review:This is the first time a Miéville book has bored me. |
Senses
While walking along the river before dawn I laid down on a bench and looked up, and saw the tree, clear and green against the orange clouds in the night sky, and thought, hey, that looks cool, and tried to take a picture.
The screen in my camera stayed obstinately black. I changed settings, moved ISOs, touched on different places trying to convince it to focus and set aperture for the darkest or the lightest areas of what I knew to be there.
And it remained black. And suddenly, I had a dissenting opinion, that there was not a clear green tree there, and that the sky was not full of orange clouds, but that it was all black, starless and empty, empty of tree, of cloud.
I placed my hand above the camera, hoping to catch a glimmer of it, and still, the display was a square of darkness separating my fingers from my arm, as empty as before, mocking me featureless.
Why was it so black, if I could see clearly. If there were lampposts giving light, and I could see clearly, and there was a tree. I knew the camera worked. What was I doing, by the river, at 4AM, on a tuesday, laying on a bench, looking up, with a camera?
You expect your senses to work. You expect to perceive what is there, and not perceive what is not. You expect to see reality, to not see irreality, to listen to things, to not listen to unthings, to touch truth, to smell shit.
What would happen if you had two sets of senses, two visions, and they disagreed, and you were not sure which one to trust, which one is right, which one is true? What would happen if the camera was right and my eyes were wrong, and I was actually not seeing, but imagining, and the truth was empty, and the tree was not there, and the sky was black.
Then I enabled flash, and the ugly picture convinced me to, someday, get a better camera, and never forget to take my gastritis medicine when going for trips on isolated locations.