How Do You Find the Vertical Scroll Bar to Browse Emails in Apple Mail?

Problem Scenario
You are using Apple Mail. You want to scroll up and down to see the senders and subjects of emails. You cannot find the vertical scroll bar. What should you do?

Solution
Increase or decrease the window's vertical length by clicking and holding a horizontal edge of the window with the mouse and moving the edge in one direction. After you do this the vertical scroll bar should appear. (We tried this on 12/29/20.)

To browse Mac products, see this link.

What Is the Difference between a Jenkins Project and a Jenkins Pipeline?

Question
You have heard of Jenkins pipelines and projects. What is the difference?

Answer
A Jenkins project is a new word for a Jenkins job. It is "[a] user-configured description of work which Jenkins should perform, such as building a piece of software, etc" (according to Jenkins website).

A Jenkins pipeline is "[a] user-defined model of a continuous delivery" automated stream of procedures related to software (according to Jenkins website).

How Do You Troubleshoot the Python Problem “UnicodeEncodeError: ‘ascii’ codec can’t encode character”?

Problem scenario
You are trying to print out a variable in Python. But you get an error like this: "UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 70567: ordinal not in range(128)"

What should you do?

Solution
Root cause: A variable needs to be encoded as UTF instead of the default ASCII encoding.

Procedures
Assuming that var1 is a variable holding the results of a requests.get(url), use these lines:

x = var1.text
print((x).encode('utf'))

How Do You Troubleshoot the C Error “No such file or directory…compilation terminated”?

Problem scenario
You try to compile a C program, but it fails with "compilation terminated." The error message says "foobar/foobar.h No such file or directory." What should you do?

Solution
This solution does not address where should header files for c go. But it addresses the problem.
Find where foobar.h is: sudo find / -name foobar.h

Run the gcc command again, but with the flag -I/path/to/ nameofc.c

# where /path/to/ is the directory that houses "foobar" that has the file "foobar.h" in it.
# and "nameofc.c" is the name of the c program you are trying to compile.

How Do You Troubleshoot the Cargo/Rust Error “use of undeclared type or module”?

Problem Scenario
You run a "cargo run" command. You get an error like one or more of the following:

use of undeclared type or module api

use of undeclared type or module serde_json

use of undeclared type or module async-std

What should you do?

Solution
Update the Cargo.toml file. The dependencies section should have an entry like one of the following (but the version number may or may not differ):

[package]
name = "in3-tutorial"
version = "0.0.1"
authors = ["reader@medium.com"]
edition = "2018"

[dependencies]
in3 = "0.1.7"
async-std = "1.5.0"
futures-executor = "0.3.5"
serde_json = "1.0"
ethabi = "13.0.0"
ethereum_abi = "0.2.0"
ethbloom = "0.10.0"

[[bin]]
name = "in3"
path = "/home/jdoe/rust/contint.rs"

If you are not sure what version is valid, go here: https://crates.io/

How Do You Delete an Instavoice Voicemail?

Problem scenario
You have some Instavoice voicemails on your smart phone. You want to delete them. What do you do?

Solution
Go to the voicemails in the app. Tap and hold a voicemail you want to delete. It should be highlighted with a gray color. A trash can icon should appear in the upper right hand corner. Click the trash can icon.

How Do You Troubleshoot “cp: cannot stat …: No such file or directory” when Running build_rust.sh?

Problem scenario
You are running build_rust.sh to use Blockchains' Incubed. But you get an error message like this:

cp: cannot stat 'c/CMakeLists.txt': No such file or directory
cp: cannot stat 'c/macro.cmake': No such file or directory
cp: cannot stat 'c/compiler.cmake': No such file or directory
cp: cannot stat 'c/docs': No such file or directory
cp: cannot stat 'c/src': No such file or directory
cp: cannot stat 'c/include': No such file or directory
cp: cannot stat 'CMakeLists.txt': No such file or directory

What should you do?

Solution
Change into the "scripts" directory of in3. For example, you should be in this directory when you run the bash script: /opt/in3-3.1.2/scripts/


If you want to receive free cryptocurrency by just learning more, try Coinbase. For Europeans, the platform/company Iconomi.com can allow you to buy crypto or learn more.

How Do You Delete a Trail from CloudTrail?

Problem scenario
You want to delete a trail from CloudTrail so you can delete an S3 bucket (to avoid AWS charges). How do you do this?

Solution
Warning: You may be able to delete the non-empty S3 bucket that the Trail was supposed to use without deleting the Trail.

Procedures

  1. Log into the AWS Management Console (i.e., the web UI).
  2. Go here: https://console.aws.amazon.com/cloudtrail/
  3. On the left, click on "Trails".
  4. Click the radio button near the name of the CloudTrail you want to delete.
  5. Click "Delete".
  6. You are done, but the logs from the trail will still exist. You can delete the S3 bucket now.