Derived classes and std::vector

I want to talk about a fun corner of C++ I ran into recently. It has to do with how to handle calling member functions of a list of heterogenous objects. My use case was a bit like the following: say we have a bunch of different functions - a * x^2, b * x, …

Advertisements

Chromecast audio: command line

When I was casting about (I'm allowed one Dad pun per article. Oops, I mean bad pun. Sorry that was two much fun.)  for home audio solutions (It's what the kids call speakers these days) a friend of mine encouraged me to try out Google's Chromecast Audio device. And so another internet connected creature entered our …