How Do You Distribute Traffic to Web Servers without a Load Balancer?

Problem scenario
You want to direct traffic to web servers (e.g., duplicative, stateless web servers). You want to do it without a load balancer (as they can become a bottleneck). What technologies could you use?

Possible Solution #1
Use Round Robin DNS. This DNS system can send traffic to a list of web servers. See more on cloudflare.com.

How Do You Troubleshoot the Python Error “(-5:Bad argument) CAP_IMAGES: can’t find starting number”?

Problem scenario
You installed cv2 with “pip3 install opencv-python”

You run a Python program, but you get this error:

[ERROR:0] global /tmp/pip-req-build-afu9cjzs/opencv/modules/videoio/src/cap.cpp (160) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.3) /tmp/pip-req-build-afu9cjzs/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can’t find starting number (in the name of file): https://www.youtube.com/watch?v=abcd1234 in function ‘icvExtractPattern’

What should you do?

Possible Solution
The video file is not there.

How Do You Troubleshoot “Your python3 install is corrupted. Please fix the ‘/usr/bin/python3’ symlink.”?

Problem scenario
You run this command:

sudo do-release-upgrade

But you see this error:

“Your python3 install is corrupted. Please fix the ‘/usr/bin/python3’ symlink.”

What should you do?

Solution
Run this command:

tail -n 20 /var/log/dist-upgrade/main.log

Do you see a message like this?

2022-03-18 19:36:59,240 DEBUG python symlink points to: ‘python3.5’, but expected is ‘python2.7’ or ‘/usr/bin/python2.7’

If so,

How Do You Find Out what Operating System your Linux Server is Running?

Problem scenario
You want to know the distribution and version of your Linux OS. How do you find out without using “cat /etc/*-release”?

Solution
Install Pulumi (it is quick and light), then run a command. Run these three commands:

curl -fsSL https://get.pulumi.com | sh
source ~/.bashrc
pulumi about

The output will tell you what OS you have and its version.

Quantitative Analysis Can Drive Investor Psychology

Canola oil prices got to $1,000 per ounce for a very short amount of time (per tradingeconomics.com).

Lumber prices go to $1,500 per board foot for a very short amount of time (per tradingeconomics.com).

Palladium prices got to $3,000 per ounce for a very short amount of time (per tradingeconomics.com).

Arabic numbers and specific values can make buyers retreat from a given asset.

Can an Airplane Crash if a Passenger Fails to Use Airplane Mode on a Flight?

Question
What could happen if your use your cell phone as normal on a plane? Would the pilots be incapable of communicating with air traffic control — causing the plane to crash?

Answer
While we do not recommend violating the policies of a plane, one source says that interference with the pilot’s communication system has not yet led to a crash.