Fedora 37 server – cron email notification not working

So, you got email working.  However, when cronie or crond is running you see no email. journalctl -f shows the script executing, but nothing in email. answer is check that crond has “inotify” message.   If crond is started without an active mailserver MTA – it needs to be restarted. r 04 19:46:01 jons-bad-ass-fedora-server-37 CROND[3012]: (jon2allen) CMD (/home/jon2allen/every_two.sh) Apr 04 19:46:01 […]

VirtManager/KVM – Security Driver Module not available.

I had a problem with a VM image I created with Gnome boxes.  It had SELinux enabled. I was able to get around it by taking out this line in the XML.  You can do this in VirtManager. It was the last entry   </video> <redirdev bus=”usb” type=”spicevmc”> <address type=”usb” bus=”0″ port=”3″/> </redirdev> <redirdev bus=”usb” type=”spicevmc”> <address type=”usb” bus=”0″ port=”4″/> […]

FreeBSD – repository contains packages for wrong OS version

Not sure why this happens, but I think it is a change of the upstream repository run “pkg update” since you are likely down-level – set the IGNORE_OSVERSION=yes select Y for ignore mismatch. root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg search pico pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64 root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg -v 1.20.8 root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg update Updating FreeBSD repository […]

ChatGPT prompt for in depth language learning – Chinese/Mandarin

Here is sample of a prompt that gave results that impressed me. Prompt:  can you define 漫长 in English and give possible meaning by likely occurrence in Chinese text. The term “漫长” (màncháng) in Chinese can be defined in English as “lengthy,” “protracted,” or “prolonged.” It describes something that is enduring or lasting for a long time. Here are some […]

How to display Chinese characters in Matplotlib with Windows/Jupyter

I asked ChatGPT to generate a sample list of Tang Dynasty Poets from the book of 300 poems. It gave me this – it had some duplicates and one Song Dynasty poet in it. import pandas as pd data = [ {“English Name”: “Li Bai”, “Chinese Name”: “李白”, “Dates”: “701-762”}, {“English Name”: “Du Fu”, “Chinese Name”: “杜甫”, “Dates”: “712-770”}, {“English […]

FreeBSD – increasing size of root disk with KVM/QEMU

Here is how to to increase the size of the disk for FreeBSD. I am using FreeBSD 12.3 here running inside a Fedora Linux.  Here are some starting requirements One needs to have qcow2 type disk. the virtual machine must be shutdown No snapshots against the virtual machine So, I cloned out the machine to test: [jon2allen@fedora Downloads]$ ll freebsd*.qcow2 […]

Find command – listing last modify path with full dir

Some examples of this command from Linux Debian and FreeBSD   Here is how to do this with GNU Linux – %p gives full path name   user1@f1-google-joniowa:~$ find . -name “weather_obs.log” -printf “%p\t%TY-%Tm-%Td\n” ./test27/weather_obs/weather_obs.log 2023-05-16 ./test26/weather_obs/weather_obs.log 2022-12-08 ./test28/weather_obs/weather_obs.log 2023-02-28 ./test25/weather_obs/weather_obs.log 2022-08-18 ./python/weather_obs/weather_obs.log 2021-05-24 ./test24/weather_obs/weather_obs.log 2022-11-22 Here is a bsd version –   uses exec   [user1@freebsd12_3 ~]$ find . -name […]