Blog Archives

Thunderbird Does Not Like HubSpot Signals

Last week, I learned that Thunderbird does not like HubSpot Signals. If you use Signals, you might want to be aware of this issue. Apparently, no other email clients display this warning.

Posted in Internet

Heartbleed Relief: Replace the Default SSL Certificate in Parallels Plesk Panel

If you have a web site with an SSL certificate then you are probably affected by the Heartbleed vulnerability which popped into general visibility. If your server is vulnerable, you need to do two things: Update openssl Replace your SSL

Posted in Internet, Safety, Software

MySQL + UTF-8 + PHP 5.3.10 + JSON = Trouble

Yesterday, I spent longer than I care to admit debugging an update to an old PHP script. It fetched a string from a MySQL database and (here’s the new part) passed the string to json_encode(). That call failed when the

Posted in Software

Python Singleton

I needed a singleton database class in a Python 2.7 program and wrote it this way.

I like this pattern but I realized that this is even more elegant:

It works because I do not really need the

Posted in Software

Mitsubishi i-MiEV Electric Car Range

Several of us have been discussing the range of the Mitsubishi i-MiEV electric car in a Google+ community. What started as a simple query, “What kind of range do you guys get?  62 EPA miles?” made me realize that I rarely

Posted in Technology

Mitsubishi i-MiEV Mileage

Shortly after we picked up our Mitsubishi i-MiEV electric car, I bought a Kill-A-Watt meter, so that I could measure the amount of energy that goes into charging the car’s battery. I know that I pay 11¢ per killowatt-hour so

Posted in Technology

No No No Vibrations

I have been driving our new Mitsubishi i-MiEV electric car almost exclusively since we got it, two weeks ago. I still grin like a fool as I glide virtually silently from a stop up to cruising speed. I grin even

Posted in Technology

Our New Mitsubishi i-MiEV Electric Car

Mitshubishi i-MiEV

We just bought a Mitsubishi i-MiEV electric car and boy-oh-boy is it fun! This little gem drives “just like a car,” costs about 3 cents per mile to run, has four doors (plus a hatchback), and is surprisingly spacious. Believe

Posted in Rants & Raves, Recommendations, Technology, Travel

Read-Only Python Properties

Following onto yesterday’s post about Python Properties and @property, there is a neat little trick to create a read-only property of a Python class. All you have to do is omit the setter. This Hero class has a read-write property “name”

Posted in Software

Python Properties and @property

My son pointed me at PyCharm and, while poking through it’s built-in “intentions,” I discovered Python’s @property decorator, which led me to learn more about the Pythonic way to handle class properties. Unlike Java and C++, Python encourages you to

Posted in Software

Categories

Archives