On Linux or macOS one can kill (force end) a program in Terminal by program name using the
pkill
command.
Windows users can similarly kill a program in Windows Terminal by program name using the
taskkill
command.
For example, suppose that Notepad is so locked up that even using Task Manager to end the program doesn’t work - or a non-GUI way of killing a program is desired.
From Windows Terminal force end a program by name like:
taskkill /IM notepad.exe
Similar to “pkill” that sends SIGTERM by default on Unix-like systems, the taskkill command above sends a request to the program to terminate gracefully.
If the program does not respond, the “/F” option of “taskkill” can be used to force end a program:
taskkill /F /IM notepad.exe
This is similar to a Unix-like system SIGKILL “-9” signal, which can be sent to a program using the “pkill” command like:
Microwave oven power levels are often prominently displayed, along with their cooking volume.
However, larger volume means a larger exterior case, which can waste counter space.
Many people are using microwaves for a far smaller volume of food than the maximum capacity, which can lead to uneven cooking.
It’s quite important to use “power level” appropriate for the type of cooking being done - reheating vs. defrosting vs. cooking frozen foods, etc.
The downsides of higher power (1000 watt plus) microwave ovens include:
non-inverter microwave ovens are only on-off to modulate power level, and the “on” portion can be so intense that it can overcook or dry out food, especially when reheating or defrosting.
many people do not use the “power level” setting, and the default high power setting is way too intense for refrigerator reheating or defrosting.
A lower power say 0.7 cubic foot microwave oven with 700 watts of power can be far better suited for countertop use.
For those users who don’t use the “power level” setting, 700 watts full power is like a 63% power setting of a 1100 watt inverter microwave oven, which is a more reasonable power level for reheating.
It’s still beneficial to use power level setting on a 700 watt oven.
The Apple Studio Display has an onboard CPU with
upgradable firmware
and uses a Thunderbolt connection from the computer.
The 2022 first generation Apple Studio Display uses Thunderbolt 3, and the 2026 second generation Apple Studio Display uses Thunderbolt 5.
If Thunderbolt connection isn’t available (due to the computer or cable) then the Studio Display falls back to DisplayPort mode, which lacks features like wake from sleep.
Querying the display Thunderbolt connection is distinct but straightforward across operating systems:
GitHub Actions using MSVC in the past might have used the
msvc-dev-cmd
action, but as of this writing it was last updated in 2023 and giving deprecation warnings.
An alternative without needing an Action was based on libass project:
steps:# from https://github.com/libass/libass/blob/0.17.5/.github/workflows/meson.yml#L118-L125- name:Setup MSVCrun:| $vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
$vsPath = & $vswhere -latest -products * -property installationPath
if (-not $vsPath) { throw "Could not find a Visual Studio installation" }
"VS=$vsPath"
"VS=$vsPath" >> $env:GITHUB_ENV
GitHub lists invitations for a user at the collaboration
invitations page,
which allows users to view and manage their pending invitations directly on GitHub.
This
CMake project
builds
GCC
and high level GCC prerequisites such as GMP.
This avoids needing to manually download and configure each project.
The CMake GCC superbuild assumes fundamental
prerequisites
such as libc, autotools, make, CMake are present.
The 3-stage
compiler bootstrap
is enabled to help ensure a working, performant GCC.
The Raspberry Pi 5 power management IC
PMIC
is the Renesas DA9091, a chip
specifically designed
for the Pi 5.
The Raspberry Pi 3B+ and
Raspberry Pi 4 PMIC
is the MaxLinear MXL7704.
Older Raspberry Pi models used
custom circuitry
or the
APX803
instead of a COTS PMIC to handle sequencing of discrete DC power input to the Pi subsystems.
It has been
noted
that damaging the PMIC can make the Raspberry Pi too difficult to repair.
A yellow lightning bolt is GPU-superimposed on the Raspberry Pi display output for low voltage.
In general computing platform operation is not guaranteed with voltages out of tolerance.
The SD card can become unreadable, the Pi may have random malfunctions, and corrupt data (bad writes) on the SD card.
Raspberry Pi 4 and Pi 5 require a minimum 5 Volt 3.0 Amp power supply.
Using peripherals can require higher current supply.
The cable between the power supply and Raspberry Pi must be of good quality to minimize voltage drop and unstable operation.
The USB-C power connector of the Raspberry Pi 4 and Pi 5 is markedly more robust than the micro-USB power connector of legacy Raspberry Pi models.
If the DC input voltage falls below 4.65 volts (depending on Raspberry Pi model and firmware), the GPU superimposes a lightning bolt graphic on the display output.
This may not be visible on a VNC remote desktop.
The status of the low voltage alarm (current or past) can be read from the Terminal with the command:
vcgencmd get_throttled
From the man page of vcgencmd:
Returns the throttled state of the system. This is a bit pattern - a bit being set indicates the following meanings:
Bit
Meaning
0
Under-voltage detected
1
Arm frequency capped
2
Currently throttled
3
Soft temperature limit active
16
Under-voltage has occurred
17
Arm frequency capping has occurred
18
Throttling has occurred
19
Soft temperature limit has occurred
A value of zero indicates that none of the above conditions is true.
To find if one of these bits has been set, convert the value returned to binary, then number each bit along the top. You can then see which bits are set. For example:
From this we can see that bits 18 and 16 are set, indicating that the Pi has previously been throttled due to under-voltage, but is not currently throttled for any reason.
throttled: 0x50005
Set throttled bits:
bit 0: Under-voltage detected
bit 2: Currently throttled
bit 16: Under-voltage has occurred
bit 18: Throttling has occurred
The Raspberry Pi 5 added
vcgencmd pmic_read_adc
to read DC input voltage and the several generated voltages and currents consumed.
On older Raspberry Pi models there is no built-in capability to measure the Raspberry Pi DC input voltage without adding an external ADC.
On the older Raspberry Pi (older than Pi 5) it may be possible to read the input voltage binary state (OK or low) from the Terminal, but we have not confirmed this.
On the Raspberry Pi 1 B+ and Pi 2 it may be possible to
read state of GPIO 35,
depending on the hardware and firmware.
On the Raspberry Pi 3 in may be possible to
read GPU-driven LED status.
When compiling programs with concerns about excessive power consumption, consider not compiling in parallel.
For GNU Make, “make -j1” uses 1 CPU core.
For Ninja compilation in parallel is default, so specify “ninja -j1” for one build thread.
For meta-build systems limit build parallelism like CMake
cmake --build <build-directory> -j1
or Meson
meson compile -j1
Visual Studio can install the LLVM Clang compiler including clang-cl, which is LLVM Clang with an MSVC-compatible command-line interface.
Clang-cl helps developers use Clang as a replacement for the Microsoft Visual C++ compiler.
The Visual Studio 18 2026 release brought along the LLVM Flang Fortran compiler, but Flang with Visual Studio is currently
mostly broken due to missing .mod modules.
We demonstrate this issue here as other compilers could be similarly broken if incompletely or improperly installed, as might happen on HPC or cloud resources.
The MSYS2 flang works with that program, but the Visual Studio 2026 Flang does not, as it cannot find the “iso_fortran_env.mod” module.
Compilers like NVHPC and LLVMFlang have actual files like “iso_fortran_env.mod” installed with the compiler.
Gfortran and Intel Fortran don’t have a physical file corresponding to these intrinsic Fortran modules.
In part since Flang itself isn’t yet working in Visual Studio 2026, CMake isn’t able to recognize the Flang compiler with the ClangCL toolset.
results in errors about devenv and “unknown” Fortran compiler.
Once Flang is fixed within Visual Studio, hopefully CMake will add support for the Flang compiler with the ClangCL toolset, as this would save users the effort of installing Intel oneAPI if they only want Visual Studio with Fortran.
VNC advantages over X-forwarding include a faster, more responsive whole desktop vs. individual applications.
Bandwidth compression means VNC can consume kB/sec instead of X-forwarding that may be up to MB/sec.
Upon disconnect and reconnect, the VNC desktop can still be there as it was, whereas single application X-forwarding loses the application state.
To use VNC to HPC, usually the VNC is tunneled over SSH for security, as traditional VNC is not encrypted.
The VNC server is already running on the HPC (or started by the user per HPC system documentation), and the user runs a VNC client on their local machine to connect to the VNC server on the HPC.
For user workstations, the user might setup a
VNC server.
Numerous open-source or no-cost VNC clients are available including
TigerVNC.
Windows: winget install --id TigerVNC.TigerVNC -e
macOS: brew install --cask tigervnc
Linux: apt install tigervnc-viewer or dnf install tigervnc
Then connect the
SSH tunnel for VNC
and run the VNC client to connect to the VNC server on the HPC or remote computer.