Firefox right-click menu offset

I hit this on a Firefox upgrade sometime ago: the context menu (i.e., the “right-click” menu) would be placed right under my mouse cursor, so if I wanted to click, release, and then select my menu option, the menu option that happened to be in the top-left corner of the menu would be activated when […]

Read More Firefox right-click menu offset

I’ve spent my free time the last several days obsessively watching television. I’ve never understood how people could watch TV while also doing something else because when I watch, it is the thing I’m doing. I look at myself and ask “Is everyone like this or just me?” I don’t mean that in a, “There […]

Read More

Python’s for/else construct

I’ve been a Python program for a few years now, but I’ve only just encountered the ‘for/else’ construct. I was changing a conditional to a for loop, but accidentally left behind the else block. My initial reaction after looking back at the code was, “Oh, the else must run if the ‘for’ block never executes,” […]

Read More Python’s for/else construct