Use the following commands:
# lscpu
And:
dmidecode -t cache
Use the following commands:
# lscpu
And:
dmidecode -t cache
Interesting words encountered in The Cathedral and the Bazaar and related essays.
I’ve been wondering what happens when a derived class defines a virtual destructor. What about its base destructors? Are they called? If so, when? I finally read the right paragraph in The C++ Programming Language (pg 70):
A virtual destructor is essential for an abstract class because an object of a derived class is usually manipulated through a pointer to a base class. Then, the virtual function call mechanism ensures that the proper destructor is called. That destructor then implicitly invokes the destructors of its bases and members.
Still not sure when the bases and members are destructed, presumably after the derived virtual destructor…
Found The Principles of Newspeak online this evening…
Am reading The C++ Programming Language, 4ed, by Bjarne Stroustrup and his sixteenth suggestion for Java programmers (pg 21) is:
A C++ nested class does not have access to an object of the enclosing class.
I didn’t know that!
Am reading The C++ Programming Language, 4ed, by Bjarne Stroustrup and his sixth suggestion for Java programmers (pg 21) is:
Remember: a variable is never implicitly a reference.
I didn’t know that!
15 Sorting Algorithms in 6 Minutes is quite cool…
Check out Tufte CSS…
OK, this is creepy.
This evening I had some left over food in the fridge that I was going to reheat for dinner. As I was carrying it from the fridge to the microwave I considered how long I should reheat it for. I was thinking two minutes, but thought maybe that’s not quite enough, so a little over two minutes, that is: 2:22. That’s what I decided. Then, I put the food in the microwave and accidentally unconsciously pressed start twice, i.e. two minutes. I realised the mistake I made, but didn’t concern myself to fix it. Two minutes would be about enough (it was).
Shortly after my reheated dinner I started watching my weekly Mr Robot. About 14 minutes in to this week’s episode (7) the main character Elliot used his microwave:
You can’t make this shit up.