Let's Pretend This Never Happened: A Mostly True Memoir
Review:Fun book, but the writing style (deranged internal monologue) is a bit tiresome. More enjoyable on small doses. |
Review:Fun book, but the writing style (deranged internal monologue) is a bit tiresome. More enjoyable on small doses. |
At Canonical's Online Services we can do cool stuff on fridays. We do cool stuff all week, actually, but on fridays we can do crazier cool stuff.
So, today, I ripped off a great service offered by http://calepin.co and implemented a prototype blog-through-Ubuntu-One web application. Of course, it's powered by Nikola,
The code is absolute nonsense, and it needs to be looked at by someone who understands Django, OAuth, OpenID, and programming in general better than I do, but hey, it does work (for a very loose definition of "work").
It's called Shoreham and no, you can't have it yet.
As a teaser, here's a video. With a pony.
In the near future I will do a better post about this explaining the code, etc.
Alva is almost the opposite of Nikola. If Nikola is about making static sites, Alva is a dynamic site. However, as Hegel suggests, from the thesis and the antithesis comes the synthesis.
So, Alva is about dynamically creating static sites. If you want to have Nikola in your server instead of in your own computer, and have the convenience of an online tool, that's the niche Alva tries to fill.
So, you would install Alva, and use it like any other web-based blogging tool. Yet, behind the scenes, you would have Nikola, and all the performance and security benefits of static sites.
And maybe someday, I (or someone) will put up a multi-user version of Alva, and you will be able to get hosted blogs, knowing all the data is yours and you can leave anytime and do your own thing.
This is very very early stages. So early it does not work yet. But here's a teaser:
There is no firm timeframe for this, it depends on a ton of other stuff and may not even happen.
Spanish only!
Ayer Jorge Lanata, que siempre me cayó bien, y a quién siempre acompañé en sus aventuras editoriales (¡Compré su libro de relatos! ¡Extraño Crítica! ¡Me gustaba Silvina Chediek!) dijo una pelotudez bastante importante.
Lo chicanearon con aplicarle no sé que multa por fumar en un estudio de televisión, lo que está prohibido por ley. Entonces hizo un berrinche y dijo "voy a dejar de fumar cuando ustedes dejen de robar", seguido de explicaciones de cómo él no le hace mal a nadie, etc etc.
Supongamos que no le hace mal a nadie. Supongamos que "ellos" roban y no paran. ¿Y? ¿Qué pasa? No pasa nada, excepto que Lanata se da el gusto de no tener que parar de fumar dos horas. No hace ninguna diferencia excepto para él. Y mientras tanto seguiría rompiendo la ley, que es tan ley como la que prohíbe robar, ya que estamos.
Decir esa boludez que dijo Lanata es como hacer una huelga de morfi, o sea lo opuesto de una huelga de hambre. Es prometer no prenderse fuego hasta que los yanquis se vayan de Vietnam, es prometer comerse un chori todos los días hasta que el Tibet sea libre, es comer ensalada de cetáceo hasta que se salven las ballenas.
Si uno se va a poner en adalid de la ética (cosa que yo trato de no hacer porque es un laburo jodido, justamente), no puede dar pie, no puede dejarla picando, porque si la deja servida se la mandan a guardar. Lanata, la dejás servida. Largá el pucho. Pensá un rato. Después criticá.
I did some work today to get Nikola properly packaged. This involves some
minor changes on the workflow for site authors. I am not 100% sure I have
it right yet, so here is a short video showing how it works right now in
the packaging
branch I am doing.
The new thing is the nikola init foldername
command, the rest is all
old stuff. Basically, you stop having a full copy of Nikola for each site
and everything is in a centralized location.
You can still do your own themes by putting them in themes/themename
and add new tasks, files, etc. The configuration dodo.py
is unchanged
except for the "magic bit" which is slightly different.
So, not really invasive, easy to migrate to, and enables much easier updates in the future, as long as we don't break any important stuff in a non-compatible way.
Here is the video: