Why Would You Assign or Copy a list in Python to be a set?

Problem scenario
You are trying to understand some code. You see a variable in Python that represents a list being cast to a set.

You see something like this in a Python program:

example = [1, 1, 2, 2, 3, 3]
new_example = set(example)

You are curious why this would be done.

From the IDE you do (and see) the following:

example = [1, …

What Does MoRef Mean or Refer to?

Question
What does MoRef mean?

Answer
It is a portmanteau of “Managed Object Reference.” It is a data type that comes up in the context of alerts/alarms in vSphere.

(The answer was adapted from page 152 of PowerCLI Cookbook by Sellers.)

“MoRefs are unique identifiers assigned to objects at the time of their creation.” (Taken from page 202 of PowerCLI Cookbook by Sellers.)

Does the Sport You Like Determine How Long You Will Live?

Question
Does an athletic interest affect your life span?

Answer
Possibly. The relationship could be correlative or causal.

The expected average longevity for male athletes was 56 years for cyclists, 66 years for weightlifters, 75 years for rugby players and 92 years for golfers.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8532055/ …

How Should You Modify the sudoers File?

Problem scenario
You want to modify the /etc/sudoers file. What should you do?

Solution
You may want to back it up. Never modify it with vi, vim or gedit. Use “sudo visudo”. Page 433 of A Practical Guide to Fedora and RedHat Enterprise Linux recommends you always use sudo visudo. If you accidentally corrupt the file when modifying /etc/sudoers manually, you can be prevented from using sudo again.

Is Kubernetes Ending Support for Docker?

Problem scenario
You read that Kubernetes is ending support for Docker. What does this mean for Kubernetes users?

Solution
Probably nothing for most Kubernetes users. Kubernetes is going to support Open Container Initiative images.

Docker is more than a container runtime; its container runtime is containerd (according to twoardsdatascience.com). We expect containerd to be supported for a long time.

Is There a Difference between Coding Languages and Programming Languages?

Question
You read that there is a difference between coding languages and programming languages. What is the difference?

Answer
The question is theoretical and subjective. Sometimes diction, semantics and job descriptions are not that important.

Coding and programming are different (but there are probably very highly-paid people who disagree). It seems that in certain contexts, rightly or wrongly, people use the terms interchangeably.

What is the Insuretech Industry?

Question
You have read about insuretech, but you do not know what it is. What is the insuretech industry?

Background
An economy driven by short-term, niche demands can be satisfied by anonymous providers via recently pioneered mediums of exchanges has created a new area of need for both insurance and technology products.

The modern marketplace of new contracts, anonymous providers, and multiple companies rapidly converging on diverse platforms has created new products and services.

How Do You Get the Docker Service to Start when You Get “Failed to start Docker Application Container Engine”?

Problem scenario
“Failed to start Docker Application Container Engine”

Possible solution
Run this:

sudo systemctl status docker.service

Examine the output. Does the “Drop-In” section include an override.conf file or other wise refer to a .conf file?

Back up the file (e.g., to your home directory).
Remove the original file.
Then run these commands:

sudo systemctl daemon-reload
sudo systemctl start docker …