Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

A little project, son of BartleBlog

I have been post­ing this blog us­ing PyDS for over 4 years now. Sad­ly, the PyDS au­thor seems to have aban­doned it. Which is sad, be­cause it's nifty soft­ware.

How­ev­er, keep­ing it work­ing is get­ting hard­er ev­ery year, and I don't ex­pect to be able to do it soon.

Al­so, the da­ta is in a Metak­it database, which is the most an­noy­ing DB ev­er (no re­al schema! colum­nar in­stead of record ori­ent­ed! gouge my eyes with a bread­stick­!)

So, since I have all the data, and my blog­ging needs are mod­est, and no tool does ex­act­ly what I wan­t, I de­cid­ed to write my own.

I could make it a web ap­p, maybe us­ing Tur­bo­Gears, but what the heck, I haven't done a de­cent GUI app in ... ok, ar­guably, I nev­er have done a de­cent one, and my PyQt4 needs some work, and I am kin­da in a groove for ac­tu­al­ly fin­ish­ing things late­ly (I am rather proud of RaSPF).

And I have a neat name (Bartle­Blog) re­served from an­oth­er abort­ed ap­p.

So, here's the manda­to­ry screen­shot af­ter a cou­ple hours hack­ing:

bartleblog

And here are the goal­s:

  • Gen­er­ate stat­ic pages, so it can be used by any­one with a lit­­tle web space (I am a gip­sy)

  • Sim­­ple tem­­plat­ing (Us­ing cher­ry­tem­­plate right now, but should be mod­­u­lar)

  • Re­struc­­tured Text as in­­put mech­a­nism (a­­gain, mod­­u­lar)

  • Good sup­­port for code snip­pets

  • Should sup­­port stat­ic pages (like the ones I have in the Sto­ries link)

  • In­­te­­grate with Flickr for im­ages

  • In­­te­­grate "chunks" in the tem­­plat­ing, where you can do things like set­t­ing the right Haloscan com­­men­t/­­track­­back links eas­i­­ly

  • Sim­­ple cat­e­­go­ry mech­a­nis­m, with a reg­ex­p-based au­­to­­tag­ger with­­out cre­at­ing per-­­cat­e­­go­ry copies of ev­ery­thing.

  • RSS feed gen­er­a­­tion, glob­al and per-­­cat­e­­go­ry.

  • A way to im­­port all my PyDS blog (and maybe my old­er ad­vo­ga­­to things)

  • Use sqlite and SQLOb­­ject for sane stor­age.

So far, it's do­ing some things, I can im­port, ed­it, save (by in­stant ap­pli­ca­tion, there is no "save" here).

I can't yet gen­er­ate the site, or cre­ate a new post, and it should take months to make it use­ful, but let's see how it goes.

History of KDE: A generous offer...

Back in oc­to­ber of 1996, when ev­ery­one was sav­ing for the fly­ing car we would buy in 5 years, and KDE was start­ing, slow­ly, to take shape in the minds of a few.... there was a gen­er­ous of­fer­...

Matthias Ettrich (ettr...@ti-ibm03.informatik.uni-tuebingen.de) wrote:*
>         -------------------------------------------
>         New Project: Kool Desktop Environment (KDE)
>         -------------------------------------------
>
>                     Programmers wanted!

Freedom Software would be willing to contribute with
the source code of Freedom Desktop Light for this effort.
Please don't subestimate the task of building a
desktop manager. Several Years have been spent building
Freedom Desktop.  We could also contribute with
other pieces of technology (i.e Freedom Rt - Object oriented
toolkit). For more information about Freedom Desktop,
please visit http://www.fsw.com

Freedom Software is about to announce a free version
of the software for Linux (personal use only). This version
is called Freedom Desktop Light for Linux.

If I were you, I wouldn't restrict the project to a specific
toolkit (at least for now). There are many pieces of public
software that can be reused easily. It could take a long
time to rebuild everything from scratch. Try to reuse
the more you can now. You can standarize on a single
toolkit later.

Also keep in mind that Motif  is the defacto standard.
Most Unix platform ship with Motif. It would be nice
if your desktop work on all the versions of Unix

Edgar Galvis
Freedom Software
http://www.fsw.com/motif.html - Home of Freedom Desktop for Motif
supp...@freedom.lm.com

UP­DATE: I had not both­ered check­ing, but free­dom desk­top's site has been avail­able un­til very re­cent­ly. There is still some­thing in the in­ter­net archive, too.

A day at the movies (March 21, 2007)

I have this agree­ment with Rosar­i­o: we will go to the movies to­geth­er. But not, un­der any cir­cun­stances, to see some­thing like Crank.

So, on wednes­days (cheap tick­et­s, yipee!) if I am down­town, I will go see that kind of things.

Two weeks ago, it was Rocky Bal­boa. Yes­ter­day it was Crank.

Crank

This is a spe­cial movie. It may seem on the sur­face to be an or­di­nary brain­less ac­tion/vi­o­lence/­sex spec­ta­cle, the kind many take for grant­ed nowa­days. How­ev­er, there are some things noone thinks about when watch­ing it.

When I was a kid, this movie's cin­e­matog­ra­phy would have been im­pos­si­ble. It shows how ac­tion films made 20 (maybe 10) years ago look cheap to­day, be­cause tech­ni­cal ad­vance has been mas­sive.

The script may be dum­b, and med­i­cal­ly in­com­pre­hen­si­ble (like the al­ter­na­tive us­es of ephedrine and ep­i­neph­rine for the same thing. They are not.), but you know what? It's an ex­cuse to have a guy that can't stop. The movie is about a bad guy that can't stop, not about "Haitian hard­core shit. Made of plant shit, man!". Come on, is ra­dioac­tive spi­der bite any bet­ter? Or brain cloud in Joe ver­sus the Vol­cano any bet­ter? (Ok, bad ex­am­ple there).

No one com­plains that Spidey makes no sense. Or that Kong is too large. And that's OK. Then why is the idea of a guy that needs con­stant adren­a­line stupid?

I think that this movie is seen as stupid speaks more about how many things we have al­ready seen. This is not even the first movie about a poi­soned char­ac­ter guar­an­teed to die look­ing for re­venge I saw (That would be D.O.A. which is ac­tu­al­ly a pret­ty de­cent movie).

Look at ac­tion movies like Die Hard. Is it any less stupid? Maybe (and maybe not). But it was there first.

And at least Crank does­n't take it­self too se­ri­ous­ly.

As a bonus, it con­tains the best spo­ken-­por­trait-that-look­s-just-­like-the-guy-scene ev­er.

BTW: it's re­al­ly not a good movie.

Rocky Bal­boa

Warn­ing: this be­low is a lit­tle per­son­al, ram­bling, and prob­a­bly not a movie re­view.

You can make a case for this ac­tu­al­ly be­ing a good movie. It may not get all the way there, but it's a de­cent job, done by com­pe­tent crafts­men. You have to con­sid­er the movie as part of a larg­er thing, the sports movie genre. In par­tic­u­lar, the box­ing movie.

Ev­ery­one has seen them ... Un­der­dog ... Long Odds ... Train­ing Mon­tage ... Fi­nal Fight .. Last Round ... it's al­most like the con­ven­tions lie be­sides con­ven­tion­al nar­ra­tive, just a se­ries of clich­es wait­ing for you, com­ing at you like a riv­er. You can hear the up­per case ini­tials like waves ham­mer­ing at your tem­ples.

But I have many soft spot­s. And one of them is for box­ing, and it's for pure­ly per­son­al, sub­jec­tive, un­de­fen­si­ble rea­son­s.

My dad had a stroke many years ago. He was al­ways a dry man. Af­fec­tion with him was not ex­act­ly a sim­ple mat­ter. We had very lit­tle in com­mon.

But on late fri­day nights we would watch the fight­s. We would talk about them, he with the dif­fi­cul­ty of not be­ing used to talk to me, lat­er that of the hemi­plegic, me with the dif­fi­cul­ty of talk­ing to him.

Af­ter a while, I start­ed liv­ing alone, but kept watch­ing the fight­s, and when I vis­it­ed him, we would do it to­geth­er. Un­til Ben­n-M­c­Clel­lan, which cured me from any en­joy­ment of box­ing I ev­er had.

But I can still ap­pre­ci­ate ex­act­ly how hard box­ing is. Any sport at a high lev­el re­quires skills I don't have, and is hard. Now think about prac­tic­ing a sport (Any sport. Fig­ure skat­ing, if you will!) while an­oth­er guy, just as strong and quick as you is try­ing to beat the crap out of you. That's box­ing. You are not go­ing to con­vince me there is any­thing hard­er in sports (ex­cept maybe some oth­er com­bat sport).

And Rocky Bal­boa is a tale about a guy whose heart is so bro­ken he can on­ly think about that skill he used to have, and he gets a mirac­u­lous chance at do­ing that again, and it's a god­damn fairy tale, and noth­ing else, but I know how the eyes of a guy who would die, who would kill for a chance at do­ing some­thing he can't pos­si­bly do look like.

And that kills me. And this movie killed me. And I got shiv­ers at the end. And I am a goof­bal­l.

Finally a half-decent look for this

I spent an­oth­er cou­ple of hours tweak­ing the blog tem­plates, and the lat­est is half-rea­son­able. Still a few prob­lem­s:

  • The ban­n­er is very ug­­ly on IE

  • Stuff is mis­­aligned (too much margin/­­padding tweak­ing)

But hey, it work­s, and it looks ok, which is more than the usu­al.

I am al­so try­ing feed­burn­er's site stats ser­vice, which is pret­ty de­cen­t.

Official RaSPF page

Ok, time to go a lit­tle more pub­lic with this.

Here's a page for it (click on "read more") and I will ask the open­spf guys to put it on the im­ple­men­ta­tions list (let's see how that goes).


Contents © 2000-2023 Roberto Alsina