Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

The Future of PyQt by Example

Th­ree years ago, I started a se­ries of long pos­ts ca­lled "P­y­Qt by Exam­ple". It rea­ched fi­ve pos­ts be­fo­re I aban­do­ned for a se­ries of rea­sons that do­n't ma­tter an­y­mo­re. That se­ries is co­ming ba­ck star­ting next week, rew­ri­tten, im­pro­ved and ex­ten­de­d.

It wi­ll do so in a new si­te, and the "ol­d" pos­ts wi­ll be re­ti­red to an ar­chi­ve pa­ge. Wh­y? We­ll, the te­ch­no­lo­gies us­ed in so­me of them are ob­so­le­te or do­n't qui­te wo­rk no­wa­da­ys. So, the new ver­sions wi­ll be the pre­fe­rred ones.

And whi­le I am not pro­mi­sing an­y­thin­g, I ha­ve enou­gh wri­tten to make this so­me­thing qui­te lon­ge­r, mo­re ni­ce­ly la­youte­d, mo­re in­te­res­ting and make it co­ver mo­re groun­d. BU­T, whi­le doing so­me che­cks on the tra­ffic sta­tis­ti­cs for the old pos­ts, so­me things po­pped ou­t.

This was very popular

About 60% of my si­te's tra­ffic goes to tho­se fi­ve pos­ts. Out of about 1200 pos­ts over 12 year­s, 60% of the viewers go to the 0.4% of the pa­ges. That is a lo­t.

It's a long tail

The tra­ffic has not de­crea­sed in th­ree year­s. If an­y­thin­g, it has in­crea­sed

A long and ta­ll tai­l.

So, all this means the­re is a de­si­re for Py­Qt do­cu­men­ta­tion that is not sa­tis­fie­d. I am not sur­pri­s­e­d: Py­Qt is grea­t, and the re­co­m­men­ded book is not free, so the­re is bound to be a lot of de­man­d.

An­d, he­re's the no­t-­so­-­ro­sy bi­t: I had unob­tru­si­ve, re­le­van­t, ou­t-o­f-­the-wa­y-­bu­t-­vi­si­ble ads in tho­se pa­ges for mo­re than two year­s. Of the 70000 uni­que vi­si­tor­s, not even one cli­cked on an ad. Do­n't wo­rr­y, I was not ex­pec­ting to get mo­ney out of them (al­thou­gh I would lo­ve to so­me day co­llect a $100 che­ck ins­tead of ha­ving google hold my mo­ney for me ad eter­nu­m).

But rea­ll­y? Not even one ad cli­ck? In mo­re than two year­s, thou­san­ds of peo­ple? I ha­ve to won­der if I just attract cheap peo­ple ;-)

disqus_iEv2fygsEE / 2012-07-03 02:20:

I wanted to be the first... but where are the ads?

Roberto Alsina / 2012-07-03 03:48:

Not there anymore. And anyway, asking for clicks is against the google adsense TOS.

artanis00 / 2012-07-03 04:44:

Your lack of ad clicks may be attributable to AdBlock, which I'm given to understand is incredibly popular among technical viewers (such as programmers). If or when you put ads back in your website, ask your viewers to turn it off (best way I've seen is to put a polite request in the ad space if the ads don't load).

void / 2012-07-03 07:57:

Programmers don't click on ads. Post your cute cat photos to attract clicking people.

Tim Golden / 2012-07-03 11:39:
Roberto Alsina / 2012-07-03 12:25:

That was written in 1997, in the age of manual banner ads in geocities. Online advertising does generate revenue (even if a negligible amount). The other 40% of the traffic generated 100% of the revenue, after all.

null / 2012-07-03 12:25:

Looking forward to the posts, I just started a project that is making use of PySide.

payload / 2012-07-03 15:24:

put a button on your site or even on each post. i think it is more profitable and less annoying than ads (without adblock)

Roberto Alsina / 2012-07-03 15:49:

Heh, why not. I'll add it soonish.

Umroayyar / 2012-07-03 15:46:

Keep up the good work

Nick / 2012-07-07 19:05:

After just finishing going through the five existing tutorials, with a few tweaks for differences I found and PySide, I came here to see if there was anything indicating any history... imagine my surprise when I read this! Greatly looking forwards to seeing the new output.

Juan Rodríguez Monti / 2012-08-04 20:02:

Any progress or news on this, mister ?.

Roberto Alsina / 2012-08-04 20:59:

yes :-)

I want to do some infrastructure work to make a decent site that doe justice to the content. Slow work, but it's looking good!

Juan Rodríguez Monti / 2012-08-08 07:32:

Amazing!. Is gonna be very nice to have stuff like this. The documentation or examples or tutorials of PyQt are not so good, or outdated or not complete enough. So your stuff is gonna be awesome I guess. Good idea to develop an infrastructure site for this.

Marcus / 2012-09-27 15:06:

How is it going with your new site, any news?

Mrokii Khach / 2012-10-12 10:14:

I only found this site a minute ago and this entry sounds pretty interesting. Are there any news regarding these tutorials? Where is that new site?

And about ads: I am not sure if I represent the majority, but I do use AdBlock and besides, I would much rather give some money to the people *directly* not via some ad from which the authors might only get a tiny percentage. In other words: Putting some button for micro payment next to each article would make me think about (and probably actually use ) them, but ads would not.

kenBrockman / 2013-02-12 16:22:

I've been on the prowl for months looking for the way to connect python output/ input to a Qt GUI with two windows, a small one to enter text and a larger one for the output from the app. I have to date found nothing.. There is of course the Qt docs for C++, but it is like reading ancient hieroglyphs. I can not make heads or tails out of it??? The PyQt docs are pretty much just a slightly modified version of the Qt docs and just as impossible for me to decipher.. WTF? If you would be so kind as to address this in one of your future articles I will be forever in your debt.

Roberto Alsina / 2013-02-12 23:50:

I am not sure I understand what you are describing.

Contents © 2000-2023 Roberto Alsina