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!
Saturday, September 05, 2026
avidemux on Mac - default settings are fine
Friday, September 04, 2026
investigating lack of referrals
- In the new site (swayamplus.education.gov.in redirected from swayam-plus.swayam2.ac.in) login is via email sent to our email id, and my previous email registration doesn't seem to work. Maybe because I had unsubscribed from course alerts?
- After logging in with a fresh email, found that swayamplus is no longer adding a referer id to the course URL. There is no &ref=ABC123 part in the URL.
Moodle server error alert - due to .jpeg extension
trying to add a content update. I keep getting this error: "servererror,moodle". What could be the problem?
I asked for the URL, and what he had been trying to do. Apparently, the issue was with adding image files with .jpeg extension in a rich-text box. When I renamed the files to .jpg and added them to the box, there was no error.
Thursday, September 03, 2026
creating m3u playlists with Claude
Just like this playlist, please create a playlist called U055newname.m3u where the items
#EXTINF:0,1.mp4
/var/media/1.mp4
#EXTINF:0,2.mp4
/var/media/2.mp4
#EXTINF:0,3.mp4
/var/media/3.mp4
are replaced by the files
/var/media/4.mp4
/var/media/5.mp4
/var/media/6.mp4
/var/media/7.mp4
and the appropriate EXTINF lines.
Claude did catch some typos I had made, and double-checked some files, like
Note the last item keeps its .mp4 extension (matching what you specified: only.mp4), unlike the ENG version which was .avi. Let me know if that should also be .avi.
Also asked Claude to create a python script with the prompt
Now, please write a python script to check each m3u file in the current directory if it has all these items as the first few items of the playlist,
(lines of playlist pasted here)
(for playlists which have TEL in the name)
and if any items are missing, to add them in this order.
Similarly, for m3u files with 3lang or ENG in the name,
(lines of playlist pasted here)
and for playlists with HIN in the name,
(lines of playlist pasted here)
which worked well - I have uploaded to the private repo upstairs-Kodi-playlists
Wednesday, September 02, 2026
dotnet api timeouts and action taken
The API is intermittently failing, and we are seeing a CORS error in the browser Network tab.
Claude noted that the CORS error is misleading, and it is probably because of a backend API timeout.
this is almost never an actual CORS policy misconfiguration — it's the browser's error message for "the actual response didn't carry an Access-Control-Allow-Origin header," which happens whenever the request fails or errors out before your CORS middleware gets a chance to run. Since it's intermittent, that's your biggest clue.
Friday, August 28, 2026
All of your Google Play apps have been successfully registered
- The Google Play App Signing SHA-256 (found in Play Console -> Release > Setup > App Integrity).
- Your Local Keystore SHA-256 (the one generated from yourkey.keystore).
major changes needed for Moodle app
Thursday, August 27, 2026
recovering h5p activites after mod_hvp bug on Moodle
sudo apt install mysql-server
systemctl status mysql
quit;
https://aistudio.google.com/prompts/14Bv6L5AfaOglFuUY_VJZ6F7A1cchR-FQ
Moodle H5P Interactive video playing only audio with black screen
$CFG->mod_hvp_dev = 1;
3. Go to https://your-moodle-domain/mod/hvp/library_list.php
and upload the saved InteractiveVideo.h5p in the Upload Libraries box.
4. Verify that the new version is installed with the query
5. Now in mod/hvp/library_list.php we see Interactive Video (1.27.9) listed, and also a green button at the right to "Upgrade library content". Click on the upgrade library content button to automatically fix all the interactive videos on the site. The page goes to 100% with AJAX updating in less than 30 seconds.
6. Purge caches (sudo php admin/cli/purge_caches.php on CLI ) and test one of the videos to see if it is OK
7. Restore the config.php by commenting out the mod_hvp_dev line we added.
Monday, August 24, 2026
tests of mid-tones brightness reduction on planetarium dome
Friday, August 21, 2026
Cloudflare Origin Server Certificate for Wordpress instance on Hostinger
After chatting with Hostinger support, the following is the reply.
"Yes. Your WordPress instances on Premium Web Hosting support custom SSL certificates on their virtual hosts"
(Copy-pasting from an email exchange).
So, we could install the cloudflare origin server certificate as per the procedure at https://www.hostinger.com/support/1583785-how-to-install-a-custom-ssl-in-hostinger/
Doing this has both Pros and Cons.
The pro is that then we can be sure of the certificate being valid for Cloudflare - unlike the letsencrypt certificate currently present, which would need updating every three months.
The con is that once the cloudflare origin server certificate is installed, you can only access the wordpress site through cloudflare (or you would get a scary "certificate not trusted" message) and you would be limited by cloudflare's file upload and timeout limits.
(The team opted to not use Cloudflare Origin Certificates.)
removed defunct DNS records
Sunday, August 16, 2026
speed up file transfers on NTFS
Private URL for my reference - https://chatgpt.com/c/6a814e36-5198-83ee-8072-7555b22d45d7
Related posts - set up file sharing on Mac , ntfs write on MacOS
When copying files from a USB SSD on a Mac to a USB HDD on Linux over the network, the files initially start at 9.8 MBps since it is a 100 Mbps network, but later the transfer speed drops to 4.5 MBps and sometimes to 2.5MBps.
ChatGPT asked me the model of the hard disk, and said, "That particular 4 TB Toshiba Canvio Advance is a 5400 RPM 2.5-inch portable HDD powered entirely from USB. A healthy 5400 RPM drive should still sustain roughly 80–120 MB/s sequential writes, which is far above your 100 Mbps network limit (~10 MB/s). So under normal circumstances the HDD alone should not reduce a transfer from 9.8 MB/s to 2.5 MB/s." And suggested
iostat -xm 1
"If you see the HDD at 100% utilization (%util) while the network transfer has slowed, you've found the bottleneck."
But that was not the case. In the next iteration, the NTFS filesystem was narrowed down as the culprit - mount showed
/dev/sdc2 on /media/sssvv/TOSHIBA EXT type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
and ChatGPT said, "type fuseblk - This means the drive is not using the newer kernel NTFS3 driver. It is mounted through FUSE, which on Mint 22.1 typically means ntfs-3g (or a compatible FUSE-based NTFS implementation)."
To use the kernel ntfs3 driver instead,
uname -r
cat /proc/filesystems | grep ntfs
modinfo ntfs3
which showed the driver was present, but not loaded. So,
sudo modprobe ntfs3
# and to verify,
cat /proc/filesystems | grep ntfs
sudo mkdir -p /mnt/ntfs-test
sudo mount -t ntfs3 /dev/sdc2 /mnt/ntfs-test
That worked (read-only).
To find why ntfs3 was not loaded,
apt policy udisks2
udisks2:
Installed: 2.10.1-6ubuntu1.3
"With udisks2 2.10.1-6ubuntu1.3, the built-in defaults already specify: ntfs3, ntfs - meaning udisks2 should try ntfs3 first and only fall back to ntfs (which typically ends up as ntfs-3g/FUSE)."
Verified with
grep -R ntfs_drivers /etc/udisks2 /usr/share/udisks2 2>/dev/null
/etc/udisks2/mount_options.conf:ntfs_drivers=ntfs3,ntfs
/etc/udisks2/mount_options.conf.example:# ntfs_drivers=ntfs3,ntfs
Then I found I had these lines in /etc/fstab -
# External NTFS disk
UUID=fc6965f0-d088-48df-a082-b413ceb02a1c /mnt/toshiba ntfs-3g rw,uid=33,gid=33,umask=022,allow_other,nofail,x-systemd.automount 0 0
So maybe that was the culprit. ChatGPT asked me to change it to
UUID=fc6965f0-d088-48df-a082-b413ceb02a1c /mnt/toshiba ntfs3 rw,uid=33,gid=33,umask=022,nofail,x-systemd.automount 0 0
and noted that
- allow_other is primarily a FUSE option. It's not needed with ntfs3 and may generate warnings if left in place.
- uid=33,gid=33 means all files will appear owned by user/group 33 (www-data on Ubuntu/Mint). Keep it if that's intentional.
- If you want your desktop user to own the files, use your UID/GID instead (typically 1000:1000).
Now I get 9.8 MB/s for large files over the network - limited by the 100 Mbps network. Tested with a 2.2 GB file.
Even faster than this would be: copy from the Mac's internal drive to a Mac-formatted external drive, then eject the external drive, mount it on Linux (mounted automatically) and copy from that Mac-formatted external drive to the NTFS formatted external drive mounted on Linux - 70+ MB/s for 2.5 GB.
move vmware vm to another location on the same computer
URL for images on Google Drive for other websites
Saturday, August 15, 2026
4k fulldome frame saving speeds - OpenSpace 0.22 ARM on VMWare
Running Win11ARM on VMWare, 12 GB RAM, 5 cores on a Mac Mini M4.
Running OpenSpace on local drive, was saving 4k frames of ts_002 of "The Search" in around 800 to 1500 ms.
Running on Z drive, was saving 4k frames of ts_002 in around 5000 to 6000 ms - probably because it is a network drive.
Crashed after 1695 frames. Maybe because screensaver came on? Or maybe not - it would have run for more than two hours before crashing. Maybe out of memory etc.
Edit - So, now I have moved the VMWare VMs to an external SSD formatted with Mac filesystem - Mac OS Extended (Case-sensitive, Journaled) - using Disk Utility on Mac - so that OpenSpace can run and save to local filesystem - possibly faster than the Linux machine with 8 GB RAM and NVidia 1050 graphics card.
Monday, August 10, 2026
setting up passkeys with keepassxc on linux
sudo apt install keepassxc
Saturday, August 08, 2026
bundling dependencies in MacOS app
Friday, August 07, 2026
Passkeys by default and retirement of Microsoft-provided SMS and voice authentication
Microsoft sent us an email and has a blog post where they say
To address these evolving threats, Microsoft Entra ID is updating its authentication experience by making passkeys the default phishing-resistant authentication method, helping customers reduce reliance on phishable methods such as SMS and voice.I asked Gemini at aistudio.google.com, "How do I Identify users who still use SMS or voice in portal.azure.com?"
Gemini suggested
- Method 1 - The Authentication Methods Activity Dashboard in Azure portal - portal.azure.com > Microsoft Entra ID > Security > Authentication methods > Monitoring > Activity, "Click the Usage tab to see a high-level visual chart of which authentication methods are actually being used to sign in across your tenant"
- Method 2 - Export a Report using Microsoft Graph PowerShell
- Method 3: Check Actual Usage via Sign-in Logs - portal.azure.com > Microsoft Entra ID > Sign in logs, look at the Authentication Details tab

