If using a GUI, the “–shell-escape” option may need to be added.
In TeXmaker / TeXstudio, under “Options → Configure → Commands” add --shell-escape right after the compiler executable.
When using TeXLive, the “tlmgr” program allows installing many LaTeX-related packages.
For example, to enable Tikz diagrams via \usepackage{tikz}, install the “pgf” package:
tlmgr install pgf
Packages can also be added to TeXLive by the GUI TeX Live Manager.
Under Package List select Status: All.
On Windows computers, after upgrading software or having left the computer on for days since last reboot (closing lid and reopening included), a memory
Access Violation
may occur:
exit code “-1073741819”
hex code 0x0005
Exception Code: 0xC0000005
The simplest and most common fix is to simply reboot the Windows computer.
We see these errors also during software development when building or configuring the build system such as CMake.
Looking at the build directory file
CMakeConfigureLog.yaml
can provide more insights into the issue.
The world is full of inexpensive USB charging adapters.
Since the adapters connect to AC mains power, a very large amount of energy is available that can result in damage to the device or even the home / office the charger is in under catastrophic failure.
Since nearly every person in the world needs multiple USB charge adapters, the manufacturers compete aggressively on size and price.
This leads the OEMs to be tempted to cut back on safety and interfere-reducing components.
Ethical and responsible manufacturers find a way to keep the quality and safety circuitry intact, and may even go beyond the chip manufacturer and safety regulator requirements.
These extra measures help protect the charger brand image.
A distinct retailer known for quality USB charger adapters is IKEA.
It’s speculated that since they’re putting their own brand on the charger, IKEA is perhaps taking notable care to ensure the chargers don’t damage devices or the surroundings.
Unix-like shells typically have a syntax that allows running a command with one or more environment variables having values that don’t persist after the command.
For example, in Unix-like shells:
CC=clang CXX=clang++ make
Runs the program “make” with environment variables CC and CXX temporarily set.
Subsequent commands use the original value, if any, of CC and CXX.
In PowerShell this syntax doesn’t directly exist, but can be effected like:
pwsh -c { $env:CC="clang"; $env:CXX="clang++"; make }
YaML is used by GitHub Actions workflow
expressions.
The “if” conditional logic for a task uses comparison operators that also work to compare strings, especially useful for version numbers.
On Windows, program faults can cause an modal window to appear regarding reporting the issue to Microsoft.
This window stops automated scripts from further progress.
This is a problem for long-running programs or scripts that call other programs, perhaps on a Task Schedule.
modal Windows popup blocks programs restart
Disable Windows Reporting modal windows on Windows Pro and non-Pro by simply opening “services.msc” and disable “Windows Error Reporting Service”.
Flatpak
is a popular means to distribute software on Linux that installs and runs in a sandbox for each application.
This is particularly useful when an application needs a newer GLIBC / GLIBCXX than the system has, which is often the case on RHEL and HPC systems.
It can be convenient to open a
sandboxed shell
in a Flatpak app’s sandbox.
For example, to open a shell in the GNU Octave Flatpak sandbox:
flatpak run --command=sh org.octave.Octave
This can be useful to build further applications with CMake using a Flatpak program.