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!
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.
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.)
