Cheerful Curmudgeon

A complete lack of ideas and the power to express them.

  • Home
  • About Me
    • Art Zemon’s PGP Key
    • Privacy Policy
  • Bede BD-4C
    • Hall of Fame
  • Piper Arrow

Stretching a Photo

April 21, 2025 Art Zemon 1 Comment

sunrise over the Gulf of Mexico

I did a little experiment today. I took one of my photos (sunrise over the Gulf of Mexico on New Years Day 2025) and stretched it to be twice as wide as it was originally. Here is the result. Not bad, eh? I used the Seamcarve filter in the G’Mic-Qt plugin for GIMP. Here is […]

Photography, Software

Avoid Targeted Advertisements

February 5, 2025 Art Zemon

computer keyboard button labeled Data Privacy

I would wager that you have been dismayed to see an advertisement targeting you very shortly after you searched for similar products. Maybe the ads showed up in Facebook. Maybe they showed up on a completely unrelated website. This practice goes by several names: targeted advertising, targeted marketing, and remarketing to name a few. It […]

Internet, Recommendations, Software, Technology

Installing rdiff-backup 2.x on Synology DS218+ Diskstation

May 21, 2020 Art Zemon

Synology DS218+

Rdiff-backup is a great backup program. It is very easy to install it on a Synology NAS box like the Synology DS218+ Diskstation. You need just a couple of things: ssh access enabled on your Diskstation an internet connection Do the following Log into the Synology web UI. Use the Package Center to install the […]

Software, Technology

My First Snap: DevOperator

May 6, 2020 Art Zemon

I have published my first Snap in the Snap Store. DevOperator is a bundle of several tools used to manage applications and Kubenetes clusters inside AWS. This version includes: Ansible AVH git flow AWS CLI aws-iam-authenticator eksctl kubectl mfa & assume-role Terraform tf It’s a red letter day!

Software, Technology

Add the git branch in your bash prompt

December 22, 2018 Art Zemon

To include your git branch in your bash shell prompt, add this to your .bashrc and start a new shell window. This is what you end up with. The git branch only shows up when you are in a directory that is part of a git repository. This implementation relies on gawk. If you do […]

Software

Adding ssh-agent to a Chromebook Linux VM

December 5, 2018 Art Zemon

I just got a Google Slate, largely because it can run Linux programs. By default, ssh-agent is not running when you open a terminal window. To add it, I created and enabled a systemd service for ssh-agent and I created the environment variable. Create ~/.config/systemd/user/ssh-agent.service [Unit] Description=ssh-agent service [Service] Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK […]

Software

Using the JetBrains PhpStorm HTTP REST Client

September 21, 2018 Art Zemon

I’ll admit it: I have previously tried and failed to get the new HTTP REST client in JetBrains PhpStorm to do what I wanted, especially with POST requests and file uploads. This morning, the stars aligned properly and my magic beans sprouted and life is beautiful. Here is the code. It does a POST call […]

Software

Installing rdiff-backup on Synology DS218+

November 14, 2017 Art Zemon

Synology DS218+

This post is outdated. See Installing rdiff-backup 2.x on Synology DS218+ Diskstation instead. I just got a Synology DS218+ NAS box running DiskStation Manager (DSM) 6.1. It supports rsync but not rdiff-backup, which I have been using and loving for about 10 years. Getting rdiff-backup running on the Synology DS218+ was surprisingly easy, in large part […]

Software, Technology

Amazon S3 for Photo Backups

June 11, 2017 Art Zemon

durable data clipart

I have a little problem. Well, maybe it’s a big problem. I need a backup of the /home2/art  directory on my computer. All told, it contains about 19,000 photos, a few full length movies, the video from my wedding, and some audio. It weights in at 227 GB. My /home/art  directory has another 17,000 photos but, since […]

Internet, Software, Technology

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

April 8, 2014 Art Zemon

Heartbleed logo

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 certificate (since you have to assume that the certificate’s private key has been stolen). Anyone […]

Internet, Safety, Software

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

March 21, 2014 Art Zemon

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 data included the multibyte characters ¼ or ½ or ¾. All of my attempts to remove the multibyte […]

Software

Python Singleton

March 5, 2014 Art Zemon

I needed a singleton database class in a Python 2.7 program and wrote it this way. class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls] class Database(): __metaclass__ = Singleton def __init__(self): self.db = MySQLdb.connect(…) I like this pattern but I realized that […]

Software

Read-Only Python Properties

September 30, 2013 Art Zemon

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” class Hero(object): def __init__(self, **kwargs): self.name = kwargs[‘name’] @property def name(self): return ‘%s %s’ % […]

Software

Python Properties and @property

September 29, 2013 Art Zemon

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 create public class attributes (a/k/a properties). Here is an example: class Hero(object): def __init__(self, **kwargs): […]

Software

Just Ordered My WordPress 10th Anniversary T-Shirt

April 27, 2013 Art Zemon

WordPress t-shirts

It’s hard to believe that I have been writing this blog for almost eight years and that WordPress (the software which drives this web site) is going on ten years old. To celebrate both, I just ordered my WordPress 10th Anniversary T-Shirt.

Internet, Rants & Raves, Software

$76 Media Center

January 28, 2013 Art Zemon

Raspberry Pi top

Several years ago, we got a Sony PlayStation 3 as a home theater PC and it has been a fantastic way to watch Blu-ray discs, Netflix, etc. It has not been a good way to listen to music for two reasons. First, listening to music requires me to turn on the home theater projector, since we […]

Fun, Rants & Raves, Software, Technology

Software Jobs

October 10, 2010 Art Zemon

First two frames of today's Dilbert comic strip

By day, I own a software company and occasionally write software. Wally, Dilbert’s friend, reveals all about my job in today’s strip. Click the image to read the whole comic. The disturbing question is: Which job do I hold???

Business, Fun, Software

Real Virtual Alchemy

July 14, 2010 Art Zemon

I have learned to change lead into gold, and back again, for real! Well, sort of. Thus far, it only works within the virtual world of programming languages like Python. Here is the recipe. (If you are not into geek-speak, skip to the bottom where I natter on about reading ebooks on an iPad.) class […]

eBooks, Software, Technology

Python Generators Neatly Untangle Loops

July 2, 2010 Art Zemon

The Python programming language has become my first choice for most tasks over the last year or so. The more I use it, the more I find to like about it. I just stumbled across generators in a way that made them make sense to me and it is so cool that I want to […]

Software

Server Backups are Important

March 6, 2010 Art Zemon

I got a frantic email from a friend this week. One of his subcontractors went crazy and trashed several of my friend’s clients’ web sites as well as my friend’s own business site. The police have been involved but much damage has already been done. I wish I had been hosting my friend’s sites. Had I […]

Recommendations, Safety, Software, Technology

  • 1
  • 2
  • 3
  • 4
  • Next Page »

Categories

  • Aviation (261)
    • Bede BD-4C (174)
    • Soaring (5)
  • Bicycling (37)
    • St. Louis to Atlanta (8)
    • St. Peters to Minneapolis (18)
  • Business (48)
  • Cabbages & Kings (24)
  • Communicating (37)
  • Ecology (21)
  • Economy (8)
  • Family (35)
  • Finding the Good (43)
  • Fun (188)
    • Six Word Stories (8)
  • Gardening (5)
  • Genealogy (5)
  • Government (35)
  • Health (67)
  • Judaism (10)
  • Men (12)
  • Mideast (5)
  • Movies (8)
  • Philosophy (15)
  • Photography (27)
  • Rants & Raves (103)
  • Recommendations (35)
  • Safety (37)
  • Science (22)
    • Biology (7)
    • Physics (7)
    • Pyschology (3)
  • Technology (195)
    • eBooks (7)
    • Internet (66)
    • Software (63)
    • VOIP (5)
  • Travel (43)
  • Tzedakah (12)
  • Women (5)

You Will Also Like

  • Art Zemon's Genealogy
  • Art Zemon's Photos
  • Mastodon @babka.social
  • Mastodon @raphus.social

Search

#DonorForLife

6 gallon blood donor badge
#DonorForLife - Give Blood - Save Lives

Archives

Copyright © 2025 · Daily Dish Pro Theme on Genesis Framework · WordPress · Log in