monotonous.org

LDTP – Take Two

Recently some brave individuals started working on an upstream automated testing project for GNOME. This is exciting.
I say brave because we had a discussion regarding this a couple of years back, and if I recall correctly we stalled when it came to choosing an automation library. Anyway, it was decided that we will be going ahead with LDTP, big step.
LDTP is a mature library, and being such it had accrued sets of requirements from the different utilizers. The core is threaded, and written in cspi, which is unmaintained today, and uses a raw socket to communicate to the client end.
With Nagappan‘s blessing, I started work on a Python rewrite of the core. The main goal being to simplify the code-base and prepare LDTP for the eventual migration of AT-SPI to D-Bus. We also chose to use higher level protocols for communication: XML-RPC. Also, this new version does away with threading in favor of an event loop that plays nicely with AT-SPI events.
After a week of work, I became fairly pleased with the shape it has taken. I used introspection wherever possible as not to duplicate the API both on the client and on the server. The introspection also helps in generating ooldtp’s API, the object oriented interface to LDTP.
The code could be checked out from my github tree.

Another Speclenium and Pyia Release

I am trying my best to start a new project on Monday with a clean desk. So I made another Speclenium release.
This release does not have much new, the big changes are in pyia, the Python MSAA library, I added the option for unlocalized role names and states. This fixes some bugs when testing on localized desktops.
Pyia is really nice, if you have any use for MSAA in Windows, and you could use Python, use pyia.

Memery

I have been tagged with multiple memes lately, a I have rudely ignored all of them. No more! What better birthday gift to myself than a blog post. I will now answer these memes with my own. I was tagged by Marco and Steve with the “7 things” thing, and by a couple of Facebook buddies with the “25 things” one. So I decided to reply with a “16 things” post, which I believe is the average of 7 and 25. I liked Vince‘s idea of using the top tracks in itunes shuffle mode, so I will be doing that. I will also not tag anybody, since this terrible pyramid scheme needs to die.
Before I begin, if you want to read up on antisemitism on the left, this week The Guardian had some wonderful columns written by lefty U.K. Jews on that topic. One column was followed by a rebuttal, but in my opinion both columns complement each other beautifully.

  1. Miner’s Song – Woody Guthrie
  2. How’s Chances – Ella Fitzgerald
  3. Theme From Rawhide – The Blues Brothers
  4. Pannonica – Thelonious Monk
  5. Girl From The North Country – Bob Dylan And Johny Cash
  6. Hypnotize – The White Stripes
  7. People Ain’t No Good – Nick Cave
  8. Sao Paulo – Morcheeba
  9. Land of 1000 Dances – Wilson Pickett
  10. Pulled Up – Talking Heads
  11. Walk Like an Egyptian – Bangles
  12. עמיר לב – לפעמים אני מאושר
  13. For The Damaged – Blond Redhead
  14. In My Bed – Amy Winehouse
  15. History Of Lovers – Iron And Wine/Calexico
  16. Breathless – Nick Cave & The Bad Seeds

Now What?

The killing, for the most part, has stopped. But the nightmare is not over. This catastrophe is about to be induced into Israel’s hall of fame, right next to other prides such as Operation Entebbe and Tal Brody. The collective Israeli memory is going to remember the bloodshed of the last few weeks as a happy period, when we “let the IDF win”. It does not matter how many rockets fall on Sderot from now on, operation “Cast Lead” will always be remembered as a success, a testimony to our elan. Or at least a step in the right direction. The only dispute now is whether we should have continued the killing.
This has been a bitter lesson for me. Since 2006, I have been in dispute with this country regarding the war in Lebanon. I was outraged when it started, both at the government and the gullible public. During those summer weeks there was nobody I knew in Israel who was thinking sensibly and not repeating the hasbara ex-general pundits were feeding everyone over the tube. The entire venture was a failure. A commission was formed, politicians were forced to quit public life, and the army practically purged it’s entire senior command.
I was not expecting Israel to apologize, to knock on my door and say “we were wrong, you were right”. I was pessimistic on one hand, Israel’s military was going to look for the first chance to redeem it’s lost esteem, but optimistic in on the other, the public will not eat this kind of bullshit again. I was hoping that the 2006 experience would cultivate some healthy scepticism that would not allow generals to get away with anything.
I was wrong. The war in 2006 was a failure, and everybody took it upon themselves to make it “work” this time, not just the army and government, but the public too. I naively believed that the disproportionate destruction and civilian death in Lebanon tickled the public, just a bit, but it didn’t. Lebanon turned into an unpopular war because of the shoddy intelligence, the rusting equipment and the hesitant commanders. The national disgrace was not the carnage, but the amateurish way in which it was carried out.
By those standards, this last episode was an outstanding success. The intelligence was good, the raids were potent and demoralized the enemy, the reservists recieved modern and lubricated equipment, and the expectations were low. The dying and suffering civilians in Gaza did not play a role in the metrics of this operation’s success. The disfigured children in overcrowded hospitals were a setback only in the sense that the world was watching, and it was getting awkward. The public here did not blink.
Do you want your children to learn that narritive in history class? It is a mark of Cain, not a victory. We can’t let it go down as one.