Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

So morons can use KDE, too.

Mind you, when I say mo­ron­s, I don't mean the fol­low­ing:

  • those us­ing Clarux are mo­rons

  • peo­­ple who don't like cur­rent KDE are mo­rons

  • peo­­ple who can't han­­dle UNIX are mo­rons

  • peo­­ple who pre­fer Win­­dows are mo­rons

  • peo­­ple who pre­fer Mac are mo­rons

I am specif­i­cal­ly say­ing that those who put in their web­page stuff like

Di­rec­to­ry Free kde-libs and Di­rec­to­ry Free kde-base have been re­leased (screen­shot). Both of these li­braries have been mod­i­fied to sup­port high­er qual­i­ty users (em­pha­sis mine)

are mo­ron­s. Of a very high qual­i­ty. Or at least they look like mo­rons un­til they cor­rect it.

On oth­er news: those de­vel­op­ers you clarux guys seem to dis­like so much are the ones who wrote all the fuck­ing soft­ware you are dis­tribut­ing, and they were kind enough to let you spend a week­end chang­ing strings and two icon­s, then dis­trib­ute it in such a stupid con­de­scend­ing man­ner from your web­site, which is, of course, pow­ered by more soft­ware you got as a gift from de­vel­op­er­s.

Got it? With­out those de­vel­op­er­s, you would be us­ing ground plants to draw an­telopes on the roof of your filthy caves, Clarux kid­s.

Now, that feels bet­ter. Or was it a lit­tle over the top? Nah.

Cleaning the attic III: Cooperative MT Qt apps using GNU pth

This is some­thing I wrote in March of 2000, about how to write a co­op­er­a­tive­ly mul­ti­thread­ing app us­ing Qt and GNU Pth.

Amaz­ing­ly enough, I think it still may have some lit­tle val­ue :-)

The syn­tax is prob­a­bly wrong con­sid­er­ing Qt has gone from 2.0 to 3.2 and Pth from 1.0 to 2.0, but it should work as a rough guide.

One fun­ny bit: I had no copies of this. So, it's a good thing the In­ter­net nev­er for­gets :-)

And so does uqbar

It's bet­ter than I re­mem­ber. Spe­cial­ly be­cause the SF CVS ver­sion is new­er than all the copies I had on disk (I won­der how that hap­pened).

In fac­t, it has a nice trick to cre­ate er­ror di­alogs from any ex­cep­tion I am lift­ing right away for oth­er apps :-)

The on­ly prob­lem it does have is that python's url­lib and url­lib2 sup­port for FTP seems to suck.

You can't choose the user­name and pass­word?

Sailor (Guten­berg's main server) is picky about the pass­word you send, and ralsi­na@rober­to, which url­lib in­sist on us­ing (user­name@host­name) does­n't pass muster.

And ft­plib, which can do the right thing, does­n't let me give progress of the down­load, which would make the pro­gram aw­ful.

Oh, well.

KRsN lives!

Yeah, I fixed the same bug that was mak­ing im­ages/what­ev­er not work in Not­ty, (and that is, of course, a fea­ture of py­browser), and it work­s!.

So, I can now skim all my news quick­ly again :-)

As soon as I re­lease Not­ty (it's pret­ty close), KRsN is the next in the pipe­line to get a scrub­bing and a re­lease.

Of course, any­thing can hap­pen, like a re­al­ly good date, then ev­ery­thing goes on hold for a cou­ple of weeks or months ;-)

PyBrowser: a nicer QTextBrowser

Here's the code for a mod­i­fied QTextBrows­er I am us­ing. I hope it's use­ful for some­one else, too :-)

The main dif­fer­ences:

  • It can open URLs

  • Im­ages re­f­er­enced from the text work

  • It prints (s­­tolen shame­­less­­ly from helpview­er)

It's in the pub­lic do­main, en­joy!


Contents © 2000-2023 Roberto Alsina