Skip to main content

Ralsina.Me — Roberto Alsina's website

Blogging from LatinoWare

Just fin­ished speak­ing about PyQt pro­gram­ming in Lati­noWare.

It went ok, but I ran out of time, so no Q&A, and I could­n't show about 20% of the code. :-(

Any­way, here is the code in its dif­fer­ent stages, so you can see the "evo­lu­tion" of a sim­ple PyQt ap­p. I will prob­a­bly turn it in­to a re­al tu­to­ri­al in a few days and post it.

Here is the guide I was us­ing for my­self when do­ing the pre­sen­ta­tion:

    1. App back­­­end (1/­­to­­­

    2. Ba­sic win­­­dow with a treewid­get Col­umns Task/­­­Date/­­­Tags

    3. Com­pile archi­­­vo .ui, show how it works

    4. Tem­­­plate for

    1. Load back­­­end da­­­ta in the task list

    2. Show in­­­ter­ac­­­tion is bro­ken

    1. Ex­­­plain sig­­­nal­s/s­lots

    2. Show dif­fer­­­ence be­tween 1/­­­ 2/­­­

    3. Ex­­­plain au­­­to­­­con­nec­t, show on_lis­­­ta_item­Changed

    4. Show task per­­­sis­­­tence work­ing

    1. Fix tree dec­o­ra­­­tions

    2. Make items ed­itable

    3. Ex­­­plain changes in on_lis­­­ta_item­Changed

    4. Ex­­­plain the prob­lem with ed­it­ing date and tags in­­­­­line

    5. New idea: use a di­a­log to ed­it tasks (ed­i­­­tor.ui)

    6. Ex­­­plain lay­out man­agers

    1. Show changes in

    1. Ac­­­tions

    2. Show ac­­­tions in de­sign­er

    3. Show ac­­­tions in

    1. Tray

    2. Show tray class in

    3. Show tray be­hav­iour

    4. Show dif­fer­­­ences in

A hard-to-block spammer: I need help.

Many of my clients have been spammed by La Cap­i­tana Re­al Es­tate late­ly. And I mean many. Hun­dred­s.

How­ev­er, they seem to have found a way to spam that work­s. And that suck­s.

They have cre­at­ed a Google Group, added all their vic­tims there, and let google do the dirty work.

What's the prob­lem?

  1. Google group mails are not block­­able at SMT­P-lev­el be­­cause their senders con­­tain a sort of hash and the re­­cip­i­ent ad­­dress, and no group name. That's in­­­cred­i­bly stupid in google's part.

  2. The mes­sages they send are huge (6MB and up) so spa­­mas­sas­sin can not process them. The SA docs say this will not hap­pen be­­cause of "the eco­nom­ics of spam". Well, it hap­pens when you make google do it!

  3. I don't want to go back to the old days of keep­­ing a lo­­cal queue-lev­el ad­­dress black­­list. That's aw­­ful!

I have com­plained to google, I have com­plained to the spam­mer­s, even by phone. They use the stan­dard de­fense of "we are just invit­ing peo­ple". "They can un­sub­scribe if they want to". "This is not spam"

Noone does any­thing.

What's the next step? I can't black­list google group­s!

Contents © 2000-2020 Roberto Alsina