I finally found a non-trivial reason to implement a Python decorator. I make extensive use of Python keyword arguments in the pysmug API and map those spellings to SmugMug keyword arguments. The algorithm for converting a Python spelling to a SmugMug spelling is pretty straight forward and easily wrapped up in a function. Originally, the first line of every function required formatting the keywords into SmugMug-style spellings by calling self._prepare_keywords(**kwargs). It occurred to me this…

When we lived in Chicago, my wife and I would spend hours in the Fern Room at the Garfield Park Conservatory during the depths of winter as a cheap way to get some heat and humidity. Now we live in the PNW, where we have ferns everywhere, and I don’t look at them the same way anymore. After two days of pruning and a number of piles of refuse, we have finally removed the old leaves on about, oh, a quarter of the ferns in the main part of the yard – a shitload [1] of work. We also…

espresso and ice cream

My daughter loves ice cream too, having devoured an ice cream sandwich the very first time she ever saw one. Since one of the joys in my life is sharing ice cream with my family we have it quite frequently, sometimes at home and sometimes at Mora as a treat. If you find yourself at Mora, skip the vanilla (though it’s my favorite flavor theirs is nothing special) and try one of the more unusual varieties (my current choice being banana split).

I travel for work and so I have to submit expenses and I usually try to coax the tiny little receipts through my HP AIO scanner. I save the scans as PDF but since I don’t run any OCR software they’re basically just photos saved in the PDF document. This step of the expense report process takes a long time.

Recent Posts

About

I'm not here.