Skip to main content

Ralsina.Me — Roberto Alsina's website

Dogfooding a new theme

I am do­ing a sec­ond theme for Niko­la, and what bet­ter way to test it than mi­grat­ing this site to it!

In the pro­cess, I stopped us­ing cus­tom tem­plates here, or­ga­nized how a theme is done, how trans­la­tions work, and oth­er stuff.

Com­ments about bro­ken / un­trans­lat­ed / miss­ing stuff are much ap­pre­ci­at­ed!

Nikola 1.2 is out!

Ver­sion 1.2 of Niko­la, my stat­ic site gen­er­a­tor and the soft­ware be­hind this very site, is out!

Why build stat­ic sites? Be­cause they are light in re­sources, they are fu­ture-proof, be­cause it's easy, be­cause they are safe, and be­cause you avoid lockin.

New Fea­tures:

  • Im­age gallery (just drop pics on a fold­er)

  • Built-in web­serv­er for pre­views (doit -a serve)

  • Helper com­mands to cre­ate new posts (doit -a new_­­post)

  • Google Sitemap sup­­port

  • A Hand­­book!

  • Full de­­mo site in­­­clud­ed

  • Sup­port for au­to­mat­ic de­ploy­ment (doit -a de­­ploy)

  • Clien­t-­­side redi­rec­­tions

And of course the old fea­tures:

  • Write your posts in re­Struc­­tured text

  • Clean, cus­­tom­iz­a­ble page de­sign (via boot­s­trap)

  • Com­­ments via Dis­­qus

  • Sup­­port any an­a­­lyt­ics you want

  • Build blogs with tags, feed­s, feeds for your tags, in­­dex­es, and more

  • Works like a sim­­ple CMS for things out­­­side your blog

  • Clean cus­­tom­iz­a­ble tem­­plates us­ing Mako

  • Pure python, and not a lot of it (about 600 lines)

  • Smart builds (doit on­­ly re­builds changed pages)

  • Easy to ex­­tend and im­prove

  • Code dis­­­played with syn­­tax high­­­light­ing

Right now Niko­la does lit­er­al­ly ev­ery­thing I need, so if you try it and need some­thing else... it's a good time to ask!

More in­fo at http://niko­la-­gen­er­a­tor.­google­code.­com

Embassytown

Cover for Embassytown

Review:

This is the first time a Miéville book has bored me.

It goes to great lengths about lin­guis­tic­s, which is not some­thing that in­ter­ests me, but al­so, the in­ten­tion­al vague­ness of ev­ery­thing, how
noth­ing is de­scribed, made it hard to read or re­late to.

Senses

While walk­ing along the riv­er be­fore dawn I laid down on a bench and looked up, and saw the tree, clear and green against the or­ange clouds in the night sky, and thought, hey, that looks cool, and tried to take a pic­ture.

The screen in my cam­era stayed ob­sti­nate­ly black. I changed set­tings, moved ISOs, touched on dif­fer­ent places try­ing to con­vince it to fo­cus and set aper­ture for the dark­est or the light­est ar­eas of what I knew to be there.

And it re­mained black. And sud­den­ly, I had a dis­sent­ing opin­ion, that there was not a clear green tree there, and that the sky was not full of or­ange cloud­s, but that it was all black, star­less and emp­ty, emp­ty of tree, of cloud.

I placed my hand above the cam­er­a, hop­ing to catch a glim­mer of it, and stil­l, the dis­play was a square of dark­ness sep­a­rat­ing my fin­gers from my ar­m, as emp­ty as be­fore, mock­ing me fea­ture­less.

Why was it so black, if I could see clear­ly. If there were lamp­posts giv­ing light, and I could see clear­ly, and there was a tree. I knew the cam­era worked. What was I do­ing, by the river, at 4AM, on a tues­day, lay­ing on a bench, look­ing up, with a cam­er­a?

You ex­pect your sens­es to work. You ex­pect to per­ceive what is there, and not per­ceive what is not. You ex­pect to see re­al­i­ty, to not see ir­re­al­i­ty, to lis­ten to things, to not lis­ten to un­things, to touch truth, to smell shit.

What would hap­pen if you had two sets of sens­es, two vi­sion­s, and they dis­agreed, and you were not sure which one to trust, which one is right, which one is true? What would hap­pen if the cam­era was right and my eyes were wrong, and I was ac­tu­al­ly not see­ing, but imag­in­ing, and the truth was emp­ty, and the tree was not there, and the sky was black.

Then I en­abled flash, and the ug­ly pic­ture con­vinced me to, some­day, get a bet­ter cam­er­a, and nev­er for­get to take my gas­tri­tis medicine when go­ing for trips on iso­lat­ed lo­ca­tion­s.


Contents © 2000-2023 Roberto Alsina