City of Heroes $ variables

July 14th, 2019

In City of Heroes you can use a few variables in messages. They start with $ and will be replaced with the relevant text for your character. I never found a complete list. Here it is:

Read More

Home Automation

February 7th, 2019

I’ve been enjoying owning my home because it lets me make changes to it without a landlord getting involved. One of the changes I’ve been enjoying is working on a home automation system, building a “smart home” as they’re often called lately. However, I Know Too Much about how the Internet and “the cloud” works, so I have some very specific requirements on how I will allow a smart home system to operate in my home.

Read the rest of this entry »

Modello Player Piano – Arrived!

April 11th, 2017

Look what made it to my house!

Modello Player Piano

My Great-Grandmother bought this piano.  If I understand correctly, she bought it in the late 1930’s or early 1940’s.  It’s a Modello brand piano, with a pneumatic player that plays the paper rolls.  It was at my Grandparents’ house until the early 1980’s, when it moved to Mom and Dad’s, so my sister and I could have piano lessons.  In 2017 it moved to my house, so Mom and Dad could have the end of their rec room back.  My sister, who got way more out of those lessons than I did, lives in a tiny apartment she rents, and has no place to put a piano so it came here.  When she gets settled into a more permanent place, she and I will talk about where it goes. Read the rest of this entry »

PBP: 106 Automating Sorts

July 2nd, 2015

The PBP suggests using a module called Sort::Maker to build powerful sort functions without getting hung up in the details and possibly messing up the implementation. Read the rest of this entry »

PBP: 105 Avoid string eval

June 29th, 2015

The Best Practices suggest avoiding string eval. Read the rest of this entry »

PBP: 104 Variable-Width Data

June 25th, 2015

The Best Practices suggest using CPAN modules for more complex data parsing, instead of trying to roll your own. Read the rest of this entry »

PBP: 103 Separated Data

June 22nd, 2015

The Book suggests using split to take apart separated data with simple separators. Read the rest of this entry »

PBP 102: Fixed-width Data

June 18th, 2015

The PBP suggests we use unpack to take apart fixed-width data. Read the rest of this entry »

PBP: 101 Reversing Scalars

June 15th, 2015

The PBP suggests that when you want to reverse a scalar, you explicitly state this with ‘scalar reverse $variable’ instead of just using reverse on it.  It suggests this both makes explicit, and regularizes the use, regardless of the context it is called in.

I don’t like this suggestion and don’t feel it is needed, but I won’t object to it because of the clear example in the book that makes it clear how it helps.  I find the demand you add a ‘scalar’ all the time because sometimes it’s unclear to be a problem.  I’ll probably turn off the critic warning for this, but I won’t say it’s too horrible.

PBP: 100 Reversing Lists

June 11th, 2015

Mr. Conway suggets using the reverse builtin when appropriate.  This includes with sort, and for counting backwards. Read the rest of this entry »