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, March 16, 2026
tumblerd prevents disk from being ejected on Linux
OpenSpace session recording "save frames" crash
On my Lenovo ThinkCentre M93 machine with an NVidia GTX1050 graphics card, OpenSpace session recording playback with "save frames" was crashing after a few hundred frames being saved. Each frame was taking around 1000 to 1500 ms for 4096x4096 frames.
According to Claude.ai, the crashes might be due to CEF "being starved" between updates - and I submitted this fix as an issue on the OpenSpace repo.
Claude suggested workaround was in SGCT.
// sgct/src/image.cpp
png_set_compression_level(png, -1); // changed to:
png_set_compression_level(png, 1);
As the comment just above that line says, -1 sets the compression level to default, which seems to be 6. Setting this to 1 made the frame export only 300 ms per frame (3x faster) and also fixed the crashes - so CEF was not "being starved" of updates.
The increase in file size was not much, 4 MB increased to 5.1 MB for a typical frame.
Another change I made before exporting again, was to close all other windows and apps like the Edge Browser, which I had used earlier for triggering the exports - now OpenSpace has some checkboxes in the export settings which allows us to hide the UI while exporting, so we don't need to trigger the export via a web browser.
Edit: No, the problem is not solved. No crash when saving frames for this recording, ts_003_moon_to_Earth.osrectxt
but crashes after a few hundred frames when saving frames for this recording, ts_002_india_rotate_zoom.osrectxt
So my current workaround was to split the recording into multiple smaller recordings.
Edit - another workaround to get around the crashes, which seem to be caused by CEF, seems to be to disable the module CEFui inside OpenSpace > Settings - issue thread is at https://github.com/OpenSpace/OpenSpace/issues/3954
Thursday, March 12, 2026
uninstalling ollama
Tuesday, March 10, 2026
domain transfers - godaddy to nettigritty and one account to another
Thursday, March 05, 2026
downloading from a server via http (no SSL) with auth
- Directly downloading via the browser - slow, prompts us to "Keep" or delete the file every time due to being downloaded unsecurely
- Using aria2 -
aria2c -x16 -s16 --http-user=USERNAME --http-passwd=PASSWORD url
Need ProtonVPN, since without it, http downloads are severely throttled to less than 100 kbps. - Better option, running
aria2c -x16 -s16 --http-user=USERNAME --http-passwd=PASSWORD -i urls.txt
on one of our AWS servers - all the URLs get downloaded in a jiffy, then we can use Filezilla and download to our local machine over sftp without throttling issues.
Wednesday, March 04, 2026
change of email id in CMS
Monday, March 02, 2026
OpenSpace - hover over a planet and allow it to rotate under you - OpenSpace seminar
Friday, February 27, 2026
github 14 day traffic stats
Tuesday, February 24, 2026
Enable MFA for Amazon AWS console
Friday, February 20, 2026
adjusting sound volume on Mac
Adjusting the volume using the menu bar is a simple and straightforward method. Here are the steps to follow:
- Click on the Apple logo in the top-left corner of your screen.
- Select "System Preferences" from the drop-down menu.
- In the System Preferences window, click on "Sound."
- Go to the "Output" tab.
- Drag the volume slider to adjust the volume level.
Wednesday, February 18, 2026
SSL certificates for an internal web server as backend for app
it is just a java application running with java.NO Apache. nginix is found. so tried installing with let's encrypt website using ngnixgetting thie error...Detail: DNS problem: NXDOMAIN looking up A for theinternaldomain.net - check that a DNS record exists for this domain; DNS problem: SERVFAIL looking up AAAA for theinternaldomain.net - the domain's nameservers may be malfunctioningHint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Tuesday, February 17, 2026
interesting - No-AI chatbot
Monday, February 16, 2026
using Blender to mask bright scenes
- Multiple masks one atop another to darken extremely bright areas,
- Using Shift-D to duplicate and then K to cut the mask
- Using an adjustment layer to increase contrast for the base layer.
close all Finder windows on Mac
Wednesday, February 11, 2026
tutorials on claude code - ollama - on Google Colab
https://github.com/musistudio/claude-code-router - "...route Claude Code requests to different models and customize any request."
running locally - https://www.youtube.com/watch?v=nYDUdnMVDdU
claude code + ollama, another tutorial - https://www.youtube.com/watch?v=3x2q6-5XbQ8
ollama on Google Colab - https://www.youtube.com/watch?v=Y4R-DyvAux8
Tuesday, February 10, 2026
Moodle custom reports not being emailed
Friday, February 06, 2026
DNS resolving glitch with lovable
Tuesday, February 03, 2026
Google Group Admin Settings
PB noted that he had changed one of our public google group's settings -
Changed the admin settings from "Private" to "Public on the internet"
Monday, February 02, 2026
google workspace storage limits
Thursday, January 29, 2026
pdfs - make smaller - split or join
1. Make some pdfs smaller than 200 kB to enable uploading on a govt. website
2. Split some pages of the pdf into separate documents.
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 24, 2026
to record a stereo track in Reaper
how to install steamvr
How to Download SteamVR (Step-by-Step Guide) - https://www.digitalcitizen.life/how-to-download-steam-vr/
SteamVR how to Record/Stream VR in full screen - https://www.youtube.com/watch?v=mk07OTBZZmc
would be useful to see the vr screen on the desktop.
SteamVR = hamburger menu > display VR screen
(Edit - these were for trying out various VR options with OpenSpace. Was not very successful.)
Tuesday, January 20, 2026
Azure Storage minimum TLS notification
Saturday, January 17, 2026
allowing a non-root user to restart a service on Ubuntu Linux server
Friday, January 16, 2026
Azure supported VM sizes
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.
Friday, January 09, 2026
OpenSpace stopped working with undefined symbol: sqlite3_column_table_name
Thursday, December 25, 2025
can't update a git submodule from github web interface
cd submoduledirectory
before the configure and build steps. Or, of course, if just updating the branch is needed, only the git checkout line would be needed.
Wednesday, December 24, 2025
test a Mac app to see if it has everything it needs packaged
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.
Saturday, December 20, 2025
uninstalling coderabbit
Thursday, December 18, 2025
how to do a homebrew install - avidemux - example
set up file sharing on Mac
sudo apt install samba samba-common system-config-samba
and we get
E: Unable to locate package system-config-samba
So, not doing this right now.)
file transfer - Android to and from Mac
Wednesday, December 17, 2025
fix mp4 on mac
hardware accelerated encoding on mac
using py-ffmpeg-warp on Mac
ntfs write on MacOS
Tuesday, December 16, 2025
Mount Google Drive on Linux Mint
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 |
Saturday, December 13, 2025
take a screenshot on Mac
https://support.apple.com/en-us/102646
Shift + CMD + 3 = full screen capture
Shift + CMD + 4 = capture selected area
Shift + CMD + 4 then press and release spacebar = cursor turns to camera, click on window you want to capture.
Shift + CMD + 5 - capture using screenshot app. (This can also do screen recordings.)
I have put the screenshot app in the menu bar from Control Centre (which is accessed from the icon on top right corner.)
By default, screenshots save to the desktop with the name Screen Shot [date] at [time].
force quit on Mac
Friday, December 12, 2025
after resetting password for a user, recovery info in Google Workspace
running OpenSpace on Apple Silicon and modern Intel Macs
brew install mesa
But the same crash is observed. Claude says,
Thursday, December 11, 2025
Cloudflare timeout - how to use admin site without cloudflare
Tuesday, December 09, 2025
Xcode update - "Xcode 1.5 not supported"
- Xcode 1.5 is a very old version of Apple's integrated development environment. It predates many modern macOS features and compiler toolchains.
- macOS 15.5 is a relatively recent operating system. This means it likely requires a much newer version of Xcode and its associated command-line tools to function correctly.
- CMake needs to be able to find and interact with a compatible Xcode installation: to generate build files and compile your project. If CMake detects an unsupported or outdated Xcode version, it will throw this error.
- Update Xcode:The most likely solution is to update your Xcode installation to a version compatible with macOS 15.5.
- Open the Mac App Store and search for "Xcode."
- Download and install the latest available version.
- After installation, open Xcode to complete any initial setup and agree to the license agreements.
- Install Xcode Command Line Tools:Even if you update Xcode, you might also need to explicitly install or update the Xcode Command Line Tools, as these contain the compilers and other utilities that CMake relies on.
- Open Terminal and run the following command:
xcode-select --install- Follow the on-screen prompts to complete the installation.
- Update CMake: While less likely to be the primary cause, ensuring you have a recent version of CMake is good practice.
- If you installed CMake via Homebrew:
brew update
brew upgrade cmake- If you installed CMake manually, download the latest version from the official CMake website and follow the installation instructions.
- Verify Xcode Selection: Ensure that your system is pointing to the correct Xcode installation.
- In Terminal, run:
xcode-select -p- This should output the path to your current Xcode installation (e.g.,
/Applications/Xcode.). If it's incorrect or points to an older version, you can set it using:app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode.app/ Contents/DeveloperWednesday, December 03, 2025
steps to creating an iOS app via wpmobile.app
wpmobile.app creates an app from a wordpress site, and one of our institutions wanted support with uploading such an app to Google Play Store and Apple App Store.
For Apple App Store, the first step would be to enrol into Apple Developer Program
... looks like enrolling into the Apple Developer program is a long-drawn-out process. Currently it says, "You will be sent an email soon." (2 working days).
didn't get it within 2 working days, I contacted support and asked them to expedite, then it came through.
From https://wpmobile.app/en/help/
needed account / pw of wpmobile dashboard
then to create app specific password for the apple account which has the Apple developer account
https://support.apple.com/en-us/102654
Where to find my Team Name and Team ID
Log in to your account at https://developer.apple.com/account/
Go to Subscription details
The Team ID is the team identifier
The Team Name is displayed at the top right of the page (your first and last name if it’s an Individual account).
Next, the 2FA will come on the iOS device (iPad in my case) when trying to log in to the apple account via the wpmobile.app dashboard. After a few minutes, the dashboard shows App generated with success.... The build will be pushed to your Apple account in few minutes. Download the certificate file for notification and upload it on the WPMobile plugin > Notifications > Settings > iOS. (on the wordpress site).
It seems XCode (the platform used to compile Mac and iOS apps) will push the build to our App Store Connect account. ... the app is seen there.... need to go through the process of editing the description etc and related online paperwork, and then send for review. appstoreconnect.apple.com/apps
In order to install the app before reaching the app store, we need to invite that particular user using testflight - and we need to invite using the Apple id which is associated with that particular iOS device.
Edit - In our case, the app review said that since this app was supposed to be used by the members of a particular organization, they would not approve public distribution. So, applied for unlisted distribution (where searching the app store will not find it, but we can link to the app from our website). And that was approved.
Initially submitted Dec 5
Rejected Dec 6
Applied for unlisted on Dec 8
Approved for unlisted distribution Dec 11
Again sent for review with this approval Dec 11
(respond to App Review directly in the App Review section in App Store Connect)
Review passed Dec 12
(available for distribution at apps.apple.com)
Monday, December 01, 2025
building an iOS app using github actions
Just like building Android apps on github actions, we can build iOS apps too - https://www.andrewhoog.com/posts/how-to-build-an-ios-app-with-github-actions-2023/
But of course, the Apple Developer program is $99 per year.
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






