The Python
Skyfield
library replaces the
deprecated PyEphem.
Skyfield brings functionality for Python that the NAIF SPICE package has for C, FORTRAN, IDL, and MATLAB.
Specifically, performing high-precision astronomical calculations.
AstroPy
has more comprehensive astronomical functions.
Generally the latest compilers are available from Homebrew for Linux and macOS.
Instead of putting Homebrew environment variables into ~/.profile, consider putting them into ~/brew.sh activate them when needed, instead of constantly being active.
Either choice is fine of course.
Some older Prolific-based USB interfaces–such as used to program two-way radios–can fail to be recognized on Windows upon first plugin.
Looking in Windows Device Manager, the device shows up with a yellow caution sign, and an error message like:
This device cannot start. (Code 10) {Not Enough Quota}
Not enough virtual memory or paging file quota is available to complete the specified operation.
Usually the fix is to install an older version of the Prolific driver that is less sensitive to Prolific chip version.
We have experienced that the Prolific 3.6 - 3.8 drivers are subject to this issue.
We can’t vouch for the older Prolific 3.2 drivers available but they do work.
Many PyPI packages can be installed with pip as usual.
On Windows, the appropriate version of Microsoft Visual Studio may be required to compile packages from source.
pypy3 -m pip install numpy
Some packages don’t work yet easily, particularly on Windows where the compilers and prerequisite libraries may need to be manually built.
Linux normally comes with GNU Findutils already installed.
Windows users can do this via
Windows Subsystem for Linux.
macOS users can install GNU Findutils via
Homebrew
that makes the command “gfind” in place of “find”.
A wide range of criteria can be used to rapidly find files.
If working on a remote filesystem mounted over SSHFS we suggest SSHing into that system and running the find command that–it will be orders of magnitude faster.
Most examples use home directory ~ as a starting point just for convenience.
Appending 2>/dev/null to the end of a command removes nuisance messages about file permissions.
If piping the find command, put 2>/dev/null before the pipe.
Find files with “report” in the filename, case-insensitive:
find ~ -iname "*report*"
Suppose ~/data is a symbolic link to another directory, either on your computer, a USB hard drive or a server.
By default, find will not search this resource unless you
“resolve” the symbolic link
to a directory by putting a final / like ~/data/: