Work Stuff
Mostly work related stuff which I would've entered into my "Log book". Instead of hosting it on an intranet site, outsourcing the hosting to blogger!
Monday, January 26, 2026
troubleshooting dot net server crash on AWS
see who has signed an app on MacOS
Via https://www.youtube.com/watch?v=1UDUtO7LY0k
Apple Menu > About this Mac > More info button > (Search for System Report on left-hand panel)
In System Report, click the System Report button, then Software > Applications on left-hand panel.
Scroll down to the app in question.
Our self-signed OpenSpace builds show up as "Unknown". Sheepit Mac client also shows "Unknown", so there is a chance that I can edit the manifest of the app to run a script on double-click in order to allow the Mac build to run with a double-click on the app file.
Saturday, January 17, 2026
allowing a non-root user to restart a service on Ubuntu Linux server
Friday, January 16, 2026
some quirks of my KVM setup and Apple keyboard layout
HDMI KVM Switch 4 Port -
there were some quirks which I had to work around.- The Dell desktop running Linux Mint needed the USB keyboard to be mapped to it while booting, or else it would boot into Windows instead, even though the default boot sequence was set to Linux. Probably because the "fail-safe" boot option is different, when it beeps to indicate "No keyboard detected."
- The KVM switch defaults to number 4 on power up, not number 1. So, the Dell desktop needs to be connected to 4 and not 1, for booting up without having to hit the KVM switch.
- The Mac mini can boot OK without having the KVM mapped to it, but if we leave it on and not logged in, the login screen blanks and we can't get the screen to come back to life with the keyboard or mouse - we need to short-press the power button.
- The Mac mini default keyboard mapping was showing the Indian rupee symbol ₹ instead of the backtick symbol ` for the key to the left of 1 (perhaps after the upgrade to MacOS Tahoe). Since I need ` for markdown on github etc, changed the keyboard layout to "US" from "ABC India" which was the default. For this, following this,
chose Apple menu > System Settings, then searched for Keyboard in the sidebar. There, Input sources > Edit button, the small + button at the bottom left to add Input sources. Quite easy to miss.
Sunday, December 21, 2025
adding a 'slow-send' functionality for Google Apps mailing list
- time-based trigger, programmatically created and removed
- sends emails to each recipient individually, ramping up from sending
24 emails per day (once an hour)
to 96 (once every 15 minutes)
to 144 (once every 10 minutes)
to 288 emails per day (once every 5 minutes). This could be increased further, too. - uses GmailApp instead of MailApp, so we can have features like name (of sender), alias, reply-to, etc.
Monday, December 15, 2025
sheepit renderfarm statistics for the M4 Mac Mini
| OS | macm1 |
|---|---|
| CPU | Apple M4 x 10 |
| RAM allowed | 11.0 GB |
| RAM available | 16.8 GB |
| Max render time per frame | |
| Power CPU | 208 % |
| Scheduler | default |
Friday, December 12, 2025
running OpenSpace on Apple Silicon and modern Intel Macs
brew install mesa
But the same crash is observed. Claude says,
Sunday, November 30, 2025
tuning lossless ffmpeg command-line with Claude
The ffmpeg command
ffmpeg -y -r 30 -i in_%05d.jpg -i ../NormPeak-6dBENG.wav -c:v hevc_nvenc -preset lossless -global_quality 18 -pix_fmt nv12 -c:a aac -b:a 192k ~/Downloads/4kframes.mp4
gives the following warnings -
[aist#1:0/pcm_s16le @ 0x59f7e96fbfc0] Guessed Channel Layout: stereo
....
[in#0/image2 @ 0x59f7e96f4e40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[swscaler @ 0x59f7e97ae500] deprecated pixel format used, make sure you did set range correctly
Last message repeated 3 times
[hevc_nvenc @ 0x59f7e9701880] The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
[hevc_nvenc @ 0x59f7e9701880] Using global_quality with nvenc is deprecated. Use qp instead.
Claude's suggestion to fix -
ffmpeg -y -r 30 -i in_%05d.jpg -thread_queue_size 512 -i ../NormPeak-6dBENG.wav -c:v hevc_nvenc -preset p7 -tune lossless -cq 0 -pix_fmt yuv420p -c:a aac -b:a 192k ~/Downloads/4kframes.mp4