Archive for March, 2007

wx.lib.iewin and NewWindow3

Thursday, March 22nd, 2007

Suppose your wxPython app is is using an embedded Internet Explorer window to display HTML. You want links clicked in that window to open the user’s default browser rather than following the link within the embedded Internet Explorer.
The obvious solution is to hook OnBeforeNavigate2 like so:

self.Bind(iewin.EVT_BeforeNavigate2, […]

live data

Tuesday, March 20th, 2007

The problem with working on a tool like a feed reader with live data is: As soon as the reader is good enough to use it is much too easy to get distracted reading feeds and forget to get back to work on the reader.

Readshot

Sunday, March 18th, 2007

Ongoing small irritations finally piled high enough to push me to evolve my feed reader further. I finally created a category for the RSS aggregator-related posts: Readshot.
A brief history of this project:

January 2005 — A proof-of-concept toy that used an IMAP store and copied posts from a single RSS feed to an IMAP […]

SOn markers and Singleshot

Wednesday, March 14th, 2007

I posted a photo to photos.xythian.com.
It didn’t work. Some digging indicated that Singleshot’s JPEG height/width detection was failing on the new JPEG.
Singleshot’s JPEG header parsing code was only looking for a SOF0 marker and thus didn’t work on progressive JPEGs (which used SOF2). This is why it’s important to read the […]