Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Publicaciones sobre open source (publicaciones antiguas, página 1)

Más o menos el 80% de todo lo malo de los usuarios Linux en un comentario

No pue­do res­pon­der ahí por­que:

  • Hay que lo­­­guea­r­­se.

  • No en­­cuen­­tro ado­n­­de pe­­dir una cuen­­ta.

  • Tie­­ne freaking google ads po­­­pups

En­ton­ces res­pon­do acá por­que:

  • Es mi blog y ha­­go lo que se me can­­ta.

Acá es­tá el co­men­ta­rio de huss­am con mi res­pues­ta (que lo ad­mi­to, es un ran­t) en in­glés por­que no pien­so tra­du­cir a otro, a ver si no le ha­go jus­ti­cia a su pa­va­da:

I'­ve been using Ar­ch­Li­nux as my on­ly dis­tri­bu­tio­n/o­pe­ra­ting sys­tem sin­ce ear­ly 2006. It is rea­lly a good dis­tri­bu­tion but la­te­ly the­re ha­ve been a lot of rea­lly bad choi­ces whi­ch I ca­ll bad com­pro­mi­ses:

1. Too many Ar­ch­Li­nux users thi­nk gno­me/k­de are bloat and ins­tead ins­ta­ll so­me half de­ve­lo­ped win­dow ma­na­ger and so­me ter­mi­nal emu­la­tor and ca­ll it a "mi­ni­ma­lis­t" desk­to­p.

Why is that any of your bu­si­ness? And what "com­pro­mi­se" is the­re?

2. Op­tio­nal de­pen­den­cies are the worst idea eve­r. If a pa­cka­ge is li­nked against lib­so­me­thin­g.­so then lib­so­me­thing should be a de­pen­den­cy not an op­tio­nal de­pen­den­c­y. Making lib­so­me­thing an op­tio­nal de­pen­den­cy just be­cau­se "mi­ni­ma­lis­t" users do­n't want to ins­ta­ll de­pen­den­cies is plain stu­pi­d.

Tha­t's not what op­tio­nal de­pen­den­cies are fo­r. For exam­ple, con­si­der the exam­ple I men­tio­ne­d, rs­t2­pdf. It can use py­thon­ma­gi­ck. It can al­so not use it. You wi­ll lo­se one sma­ll fea­tu­re that AFAIK on­ly one per­son ever us­e­d. If you need that fea­tu­re, the ma­nual te­lls you what to do: ins­ta­ll py­thon­ma­gi­ck.

Ma­y­be the­re should be a pa­c­man op­tion "ins­ta­ll op­tde­pen­d­s" whi­ch turns op­tio­nal de­pen­den­cies in­to re­gu­lar ones. That would make you ha­ppy and keep others ha­ppy too.

3. Bad lea­dershi­p. Aa­ron is fan­tas­tic guy but I know at least two Ar­ch­Li­nux de­ve­lo­pers who can do a mu­ch be­tter jo­b.

Tha­t's just stu­pid and mean.

4. Too many Ar­ch­Li­nux users now like bad­ly au­to­ma­tion scrip­ts like yaourt or whate­ver it is ca­lle­d.

Par­se erro­r. And then agai­n: yaourt is grea­t. You do­n't like it? Act as if it does­n't exist and be ha­pp­y. You seem to ha­ve a big pro­blem ig­no­ring peo­ple who di­sa­gree wi­th you. Tha­t's a rea­ll­y, rea­lly se­rious per­so­nal flaw. I su­ggest you grow up.

5. Too many noobs who do dumb things like peo­ple adding their users to ha­l, disk and dbus group­s.

Su­re, they should add the­msel­ves to op­ti­cal and sto­ra­ge. So wha­t? It's a sim­ple pro­blem and it has a sim­ple so­lu­tio­n.

Then agai­n, the addu­ser scrip­ts pro­ba­bly should do that for re­gu­lar user ac­coun­ts. After all, who wan­ts to crea­te a re­gu­lar user that can't use re­mo­va­ble sto­ra­ge? And if said use ca­se exis­ts, that should be doa­ble by re­mo­ving the use­r, and not vi­ce­ver­sa!

On the other han­d, I do­n't gi­ve a dam­n, be­cau­se I can fix it tri­via­ll­y.

The main rea­son why I do­n't thi­nk I wi­ll swi­tch to ano­ther dis­tri­bu­tion soon is that crea­ting Ar­ch­li­nux pa­cka­ges from scra­tch is ve­ry ea­sy and the ini­ts­cript sys­tem is rea­lly fan­tas­ti­c.

All in all, Ar­ch­Li­nux is a rea­lly strong dis­tri­bu­tion now and it's cons­tan­tly gro­win­g.

I ex­pect you, like most eli­tist po­seur­s, wi­ll run away when you feel Ar­ch is too po­pu­lar and ac­ce­s­si­ble to "too many noobs" or so­me si­mi­lar non­sen­se.

Whi­ch, like the ti­tle sa­ys, is why you are a big part of wha­t's wrong wi­th Li­nux user­s.

Por qué sigo usando Arch Linux

Que­ría pro­bar rs­t2­pdf contra re­por­tlab de SVN, wor­da­xe de SVN y do­cu­tils de SVN, y que­ría que fue­ra fá­ci­l.

So­lu­ció­n: Los em­pa­que­té en AUR!

Ahora, cada vez que quiero probar rst2pdf contra wordaxe de trunk SVN, hago un yaourt -S py­tho­n-wor­da­xe-s­vn y para volver a wordaxe estable hago yaourt -S py­tho­n-wor­da­xe.

El pa­que­te SVN siem­pre es trunk ac­tua­li­za­do sin mo­di­fi­ca­cio­nes, y pue­do ir y vol­ver en unos 45 se­gun­do­s, sin rom­per pa­que­tes del sis­te­ma.

También puedo mantener mis paquetes SVN instalados al día con un yaourt -Su --­de­vel cada tanto.

Co­mo lo hu­bie­ra he­cho usan­do De­bian o al­go ba­sa­do en RPM? Su­pon­go que por atrás del sis­te­ma de pa­que­tes (que odio ha­cer­lo) o ha­cien­do un re­po pri­va­do (que es tris­te) o con un re­po pú­bli­co (que es tra­ba­jo­!).

La ver­dad si uno pro­gra­ma, no se me ocu­rre una dis­tro que te ha­ga la vi­da más fá­cil que Ar­ch. Ca­si to­do es­tá ahí (12K pa­que­tes en un­su­pporte­d!) y si no es­tá son 5 mi­nu­tos pa­ra me­ter­lo en AUR y ayu­dar a la co­mu­ni­da­d.

Su­po­né que es­tás ha­cien­do una apli­ca­ción KDE. En la ma­yo­ría de las dis­tros te­nés que ins­ta­lar­te tu pro­pia co­pia de kde­libs de los fuen­tes pa­ra te­ner la úl­ti­ma ver­sión y ase­gu­rar­te que no es­tá arrui­na­da por par­ches es­pe­cí­fi­cos de la dis­tro.

En ar­ch? Em­par­char es­tá mal vis­to. No te­ner la úl­ti­ma ver­sión es­tá mal vis­to. Así que es más o me­nos el am­bien­te ideal pa­ra de­sa­rro­llar con KDE, GNO­ME, Py­Qt o lo que sea.

Si mi tiem­po no es­tu­vie­ra ocu­pao un 150% in­ten­ta­ría ser de­sa­rro­lla­dor Ar­ch, o por lo me­nos un TU (Trus­ted Use­r).

Ca­paz la pr­óxi­ma reen­car­na­ción :-)

Rst2pdf 0.11 liberado!

It's my plea­su­re to an­noun­ce the re­lea­se of rs­t2­pdf ver­sion 0.11, avai­la­ble at http://­co­de.­google.­co­m/­p/rs­t2­pdf/­do­wn­load­s/­list

Rs­t2­pdf is a tool to ge­ne­ra­te PDF fi­les di­rec­tly from res­truc­tu­red text sour­ces via re­por­tla­b.

This ver­sion in­clu­des many bu­gfixes and so­me new fea­tu­res com­pa­red to the pre­vious 0.10.1 ver­sio­n, in­clu­ding but not li­mited to em­be­dding PDF ima­ges, mu­ch im­pro­ved ima­ge si­zin­g, ni­cer list la­you­ts, be­tter sty­lin­g, pa­ge ba­ck­groun­d­s, and mo­re than 15 bugs fixe­d. A fu­ll chan­ge­log is in­clu­ded at the bo­ttom of this me­ss­age.

Rs­t2­pdf ai­ms to su­pport the fu­ll res­truc­tu­red text fea­tu­re se­t, and is ve­ry clo­se to that goa­l, whi­le al­so in­clu­ding so­me of the mo­re ex­pe­ri­men­tal fea­tu­res, like a sour­ce co­de di­rec­ti­ve wi­th syn­tax hi­gh­li­gh­ting and ma­th no­ta­tion su­pport wi­th La­TeX-­like syn­ta­x.

It su­ppor­ts em­be­dding ar­bi­tra­ry fon­ts, bo­th True Ty­pe and PS Ty­pe 1, bo­th ras­ter and vec­tor ima­ges (in­clu­ding SV­G), pa­ge tran­si­tion effec­ts, mul­ti­ple, fle­xi­ble pa­ge la­you­ts, cas­ca­ding sty­le­s, and mu­ch, mu­ch mo­re.

You can find mo­re in­for­ma­tion about rs­t2­pdf in its ho­me pa­ge ( http://rs­t2­pdf.­google­co­de.­com), and ask an­y­thing you want in the rs­t2­pdf- dis­cuss mai­ling list (http://­group­s.­google.­co­m/­grou­p/rs­t2­pdf-­dis­cuss)

He­re are the chan­ges in this ver­sion com­pa­red to 0.10.1:

  • De­­gra­­de mo­­­re gra­­ce­­fu­­lly when one or mo­­­re wo­r­­da­­xe hy­­phe­­na­­tors are bro­­ken (cu­­rren­­tly DWC is the bro­­ken one)

  • Fixed is­­sue 132: in so­­­me ca­ses, wi­­th use­­r-­­de­­fi­­ned fo­n­­tA­­lia­s, bold and ita­­lic would get co­n­­fu­s­ed (ge­­tting ita­­lic in­s­­tead of bold in in­­li­­ne ma­­rku­­p, for in­s­­tan­­ce).

  • New sty­­le­s­heet no­­-­­co­m­­pa­c­­t-­­lis­­ts to make lis­­ts... le­ss co­m­­pact

  • SVG ima­­ges now han­d­­le % as a wi­­dth unit co­­­rre­c­­tl­­y.

  • Im­­ple­­men­ted is­­sue 127: su­­pport ima­­ges in PDF fo­r­­ma­­t. Ri­­ght now they are ra­s­­te­­ri­­ze­­d, so it's not idea­­l. Perhaps so­­­me­­thing be­­­tter wi­­ll co­­­me up la­­te­­r.

  • Fixed is­­sue 129: make it wo­­­rk around a pr­­blem wi­­th Kee­p­­To­­­ge­­ther in RL 2.1 it pro­­­ba­­bly makes the ou­­tput look wo­r­­se in so­­­me ca­­ses when using tha­­t. RL 2.1 is not rea­­lly su­­ppor­te­­d, so added a wa­r­­ni­n­­g.

  • Fixed is­­sue 130: use os.­­pa­­thsep in­s­­tead of ":" si­n­­ce ":" in wi­n­­do­­ws is us­ed in disk na­­mes (and we sti­­ll pay for DOS idio­­­c­­y, in 2009)

  • Fixed is­­sue 128: hea­­dings le­­vel 3+ all looked the sa­­me

  • Ugly bu­­gfix for Is­­sue 126: cra­s­hes when using ima­­ges in hea­­der + TOC

  • New ts­­ty­­les se­c­­tion in the sty­­le­s­heet pro­­­vi­­des mo­­­re co­n­­fi­­gu­­ra­­ble list la­­you­­ts and mo­­­re po­­we­r­­ful ta­­ble sty­­li­n­­g.

  • Be­­­tter syn­­tax hi­­gh­­li­­gh­­ting (su­­ppo­r­­ts bo­l­­d/i­­ta­­li­­c)

  • Wo­­­rka­­round for is­­sue 103 so you can use bo­r­­de­r­­Pa­­dding as a list (but it wi­­ll look wrong if you are using wo­r­­da­­xe <= 0.3.2)

  • Added fie­l­­d­­va­­lue sty­­le for field lis­­ts

  • Added op­­tio­n­­list ts­­ty­­le, for op­­tion lis­­ts

  • Added co­­­lle­c­­tion of uti­­li­­ty sty­­le­s­hee­­ts and do­­­cu­­men­ted it

  • Im­­pro­­­ved co­­­m­­mand li­­ne pa­r­­sing and sty­­le­s­heet loading (guess ex­­ten­­sion like la­­test rs­­t2­­la­­tex does)

  • Fixed Is­­sue 67: co­m­­ple­­te­­ly new list la­­you­­ting co­­­de

  • Fixed Is­­sue 116: cra­s­hes cau­s­ed by hu­­ge ima­­ges

  • Be­­­tter su­­pport for %wi­­dth in ima­­ges, n2ow it's % of the co­n­­tai­­ner fra­­me's wi­­dth, not of the text area.

  • Fixed bug in SVG sca­­ling

  • Be­­­tter han­d­­ling of mis­­sing ima­­ges

  • Added mis­­sing sty­­les abs­­tra­c­­t, co­n­­ten­­ts, de­­di­­ca­­tion to the de­­fault sty­­le­s­heet

  • Ta­­bles sty­­le su­­pport spa­­ce­­Be­­­fo­­­re and spa­­ceA­­fter

  • New to­­­pi­­c-­­ti­­tle sty­­le for to­­­pic ti­­tles (o­b­­vious ;-)

  • Ve­r­­ti­­cal ali­g­n­­ment for in­­li­­ne ima­­ges (:­a­­li­g­n: pa­­ra­­me­­te­­r)

  • Is­­sue 118: Su­­pport for :s­­ca­­le: in ima­­ges and han­d­­le re­­si­­zing of in­­li­­ne ima­­ges

  • Is­­sue 119: Fix pla­­ce­­ment of hea­­ders and footers

  • New ba­­ck­­ground pro­­­pe­r­­ty for pa­­ge te­m­­pla­­tes (ni­­ce for pre­sen­­ta­­tio­n­s, for exa­m­­ple)

  • De­­fault to px for ima­­ge wi­­dth spe­­ci­­fi­­ca­­tions in­s­­tead of pt

  • Su­­pport all re­­qui­­red mea­­su­­re­­ment uni­­ts ("e­­m" "ex" "px" "i­n" "cm" "m­­m" "p­­t" "p­­c" "%" "")

  • New au­­to­­­mated scri­p­­ts to che­­ck test ca­­ses for "vi­­sual di­­ffe­­ren­­ce­s"

  • Res­­pect ima­­ges DPI pro­­­pe­r­­ty a bit like rs­­t2­­la­­tex does.

  • Is­­sue 110: New --i­n­­li­­ne-­­footno­­­tes op­­tion

  • Tes­ted wi­­th re­­po­r­­tlab from SVN trunk

  • Su­­pport for Di­­nu Ghe­r­­man's sv­­gli­­b. If bo­­­th sv­­glib and uni­­co­n­­ve­r­­tor are avai­­la­­ble, sv­­glib is pre­­fe­­rred (for SV­­G, of cou­r­se). Pa­­tch ori­­gi­­na­­lly by ru­­te.

  • Is­­sue 109: Se­­pa­­ra­­te sty­­les for ea­­ch kind of ad­­mo­­­ni­­tion

  • For Is­­sue 109: mis­­sing sty­­les are not a fa­­tal error

  • Is­­sue 117: TO­­­Cs wi­­th mo­­­re than 6 le­­vels now su­­pported (rai­s­ed li­­mit to 9, whi­­ch is si­­lly dee­­p)

Reporte de avances en rst2pdf

Al fi­nal de es­te post vas a en­con­trar una lis­ta (tal vez in­com­ple­ta), pe­ro que­ría com­par­tir un par de avan­ces re­la­ti­va­men­te gran­de­s.


Pre­sen­ta­cio­nes

Ven­go que­rien­do ha­cer que rs­t2­pdf sea útil pa­ra pre­sen­ta­cio­nes des­de ha­ce bas­tan­te tiem­po. Y se es­tá acer­can­do.

Es­toy es­cri­bien­do un pe­que­ño tu­to­rial del te­ma, pe­ro ya se pue­de ver una de­mo.

Los cam­bios que la han he­cho po­si­ble so­n:

  • Arre­­glé bugs en el la­­yout de la pá­­gi­­na

  • Agre­­gué so­­­po­r­­te pa­­ra fo­n­­dos de pá­­gi­­na (i­n­­clu­­yen­­do SV­­G!)

Es­to es en gran me­di­da gra­cias a que`­Cé­sar Ro­da­s`_ que­ría usar al­go sim­ple y ba­sa­do en tex­to pa­ra su pre­sen­ta­ción a Zen­dCo­n, me pre­gun­tó y me da­ba ver­güen­za dar­le una co­sa que no fun­cio­na­ba.

Ven co­mo fun­cio­na? Me ma­ne­ja la ver­güen­za. Que ver­güen­za.


Gran­des me­jo­ras en es­ti­los

Los cam­bios re­la­cio­na­dos son mu­chí­si­mos (ver aba­jo­), pe­ro tam­bién fué por un mo­ti­vo: quie­ro ha­cer do­cu­men­tos más lin­do­s.

En­ton­ce­s, ya que a mu­cha gen­te pa­re­ce gus­tar­le es es­ti­lo de Sphi­n­x, qui­se ha­cer uno si­mi­la­r.

Lo lo­gré? Si y no, mi­ren:

web-sphinxrst2pdf-sphinx

Igual eso es só­lo un bo­rra­do­r, no mi­ré los fon­ts, ni el pe­so de los en­ca­be­za­do­s, ni si­quie­ra que es­que­ma de co­lo­res usa pa­ra el có­di­go.

De to­das ma­ne­ra­s, aún es­te sty­les­heet mí­ni­mo me hi­zo en­con­trar una do­ce­na de bugs y pro­ble­mas en rs­t2­pdf.

Mo­ra­le­ja: por fa­vor dí­gan­me que pue­den y qué no pue­den ha­cer con rs­t2­pdf por­que hay áreas que ni mi­ro!


Lo úl­ti­mo es... el pr­óxi­mo re­lea­se va a es­tar bue­ní­si­mo. Pe­ro siem­pre di­go lo mis­mo, no?


Cam­bios has­ta ho­y:

  • Wo­­­rka­­round for is­­sue 103 so you can use bo­r­­de­r­­Pa­­dding as a list (but it wi­­ll look wrong if you are using wo­r­­da­­xe <= 0.3.2)

  • Added fie­l­­d­­va­­lue sty­­le for field lis­­ts

  • Added op­­tio­n­­list ts­­ty­­le, for op­­tion lis­­ts

  • Added co­­­lle­c­­tion of uti­­li­­ty sty­­le­s­hee­­ts and do­­­cu­­men­ted it

  • Im­­pro­­­ved co­­­m­­mand li­­ne pa­r­­sing and sty­­le­s­heet loading (guess ex­­ten­­sion like la­­test rs­­t2­­la­­tex does)

  • Fixed Is­­sue 67: co­m­­ple­­te­­ly new list la­­you­­ting co­­­de

  • Fixed Is­­sue 116: cra­s­hes cau­s­ed by hu­­ge ima­­ges

  • Be­­­tter su­­pport for %wi­­dth in ima­­ges, n2ow it's % of the co­n­­tai­­ner fra­­me's wi­­dth, not of the text area.

  • Fixed bug in SVG sca­­ling

  • Be­­­tter han­d­­ling of mis­­sing ima­­ges

  • Added mis­­sing sty­­les abs­­tra­c­­t, co­n­­ten­­ts, de­­di­­ca­­tion to the de­­fault sty­­le­s­heet

  • Ta­­bles sty­­le su­­pport spa­­ce­­Be­­­fo­­­re and spa­­ceA­­fter

  • New to­­­pi­­c-­­ti­­tle sty­­le for to­­­pic ti­­tles (o­b­­vious ;-)

  • Ve­r­­ti­­cal ali­g­n­­ment for in­­li­­ne ima­­ges (:­a­­li­g­n: pa­­ra­­me­­te­­r)

  • Is­­sue 118: Su­­pport for :s­­ca­­le: in ima­­ges and han­d­­le re­­si­­zing of in­­li­­ne ima­­ges

  • Is­­sue 119: Fix pla­­ce­­ment of hea­­ders and footers

  • New ba­­ck­­ground pro­­­pe­r­­ty for pa­­ge te­m­­pla­­tes (ni­­ce for pre­sen­­ta­­tio­n­s, for exa­m­­ple)

  • De­­fault to px for ima­­ge wi­­dth spe­­ci­­fi­­ca­­tions in­s­­tead of pt

  • Su­­pport all re­­qui­­red mea­­su­­re­­ment uni­­ts ("e­­m" "ex" "px" "i­n" "cm" "m­­m" "p­­t" "p­­c" "%" "")

  • New au­­to­­­mated scri­p­­ts to che­­ck test ca­­ses for "vi­­sual di­­ffe­­ren­­ce­s"

  • Res­­pect ima­­ges DPI pro­­­pe­r­­ty a bit like rs­­t2­­la­­tex does.

  • Is­­sue 110: New --i­n­­li­­ne-­­footno­­­tes op­­tion

  • Tes­ted wi­­th re­­po­r­­tlab from SVN trunk

  • Su­­pport for Di­­nu Ghe­r­­man's sv­­gli­­b. If bo­­­th sv­­glib and uni­­co­n­­ve­r­­tor are avai­­la­­ble, sv­­glib is pre­­fe­­rred (for SV­­G, of cou­r­se). Pa­­tch ori­­gi­­na­­lly by ru­­te.

  • Is­­sue 109: Se­­pa­­ra­­te sty­­les for ea­­ch kind of ad­­mo­­­ni­­tion

  • For Is­­sue 109: mis­­sing sty­­les are not a fa­­tal error

  • Is­­sue 117: TO­­­Cs wi­­th mo­­­re than 6 le­­vels now su­­pported (rai­s­ed li­­mit to 9, whi­­ch is si­­lly dee­­p)

Planeta LUGLi

De­jé el gru­po ha­ce unos año­s, pe­ro vol­ví a subs­cri­bir­me a su lis­ta de co­rreos ha­ce po­co.

Ya que ofi­cial­men­te Sé To­do So­bre Raw­dog (M­R) me ofre­cí a crear un pla­ne­ta pa­ra los blogs de los miem­bro­s. Y aquí es­tá Pla­ne­ta LU­GLi.

Es­tá ba­sa­do en mi tra­ba­jo pa­ra Pla­ne­ta PyAr y, igual que ése, la con­fi­gu­ra­ción y da­tos es­tán en gi­thub en ca­so de que me pi­se un tren (y por­que si al­guien me quie­re ayu­da­r, me­jor que sea fá­cil ;-).


Contents © 2000-2024 Roberto Alsina