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, June 01, 2026
lobby Raspberry Pi not booting
Friday, May 22, 2026
visuals on planetarium dome getting washed out
Copy-pasting from an email thread -
Just a follow-up on the issues with washed-out visuals we were facing.
When slowly fading in particular scenes, we can clearly see a point where parts of the scene get washed out, with the projector suddenly jumping in brightness. Looks like this projector, Optoma ZK-507-W, has some poorly executed "high-brightness" handling, which we don't seem to be able to disable. As long as we keep large areas below 50% brightness, small bright areas like stars, trails etc can be viewed with good contrast.
I think it is some sort of local dimming similar to what is used in some TVs, https://www.academia.edu/88311604/Backlight_local_dimming_algorithm_for_high_contrast_LCD_TV but with very poor results.
Perhaps a warning line can be added at https://paulbourke.net/dome/faq/#projectors for this projector, indicating its poor performance.
To which Paul replied,
I assume you have tried
1. Turning off the DynamicBlack settings in Display -> Image setting -> Brightness mode menu.
2. Turning off the HDR/HLG in Display -> Image settings -> Dynamic range menu.
Yes for the 2nd, there was no such menu for the first point. Since my source is not HDR, I also tried "Auto" in addition to "Off".
Also, have tried all the different modes, including "Film" - even that has the noticeable brightness jump once a large enough area has a pixel value high enough (perhaps >50%).
(Interestingly, some planetarium shows have more problems than others.
Eg. Unseen Earth, https://www.unseenearth.eu/ - has some drone shots etc which look terrible on our dome if I don't mask out most of it to <50%
Mars - the Ultimate Voyage - https://www.bellmuseum.umn.edu/mars-ultimate-voyage/ - has gamma settings, lighting etc such that most of the show looks pretty good on our dome.
In our own productions using OpenSpace, https://www.openspaceproject.com/ , there seems to be a difference between scenes rendered on Mac and scenes rendered on PC (Linux). Maybe gamma differences.
These micro-organisms are rendered fine, while I had to darken these scenes rendered on Mac for Jupiter, Saturn and Europa to not become completely washed out.
Interestingly, this scene, rendered on Linux, is fine.)
Wednesday, May 20, 2026
OpenSpace builds on Github actions getting "terminated" - exit code 143
cmake --build . --parallel
cmake --build . --parallel 3
cmake --build . --parallel causes termination.
make -j $(nproc) does not cause termination, why?
Saturday, May 16, 2026
Moodle course order - manual sorting option vanished
Tuesday, May 12, 2026
msmtp instead of mail
Monday, May 11, 2026
UTM and the mouse
Saturday, April 25, 2026
two or three ways to make LLMs help with Blender scene creation
Can you now generate a python script to create a blender scene with
Fisheye 180 degree equidistant camera in the centre, pointing straight up equidistant circular screens subtending just less than 40 degrees so that they do not touch, having a small gap between them, 9 circular screens nearest the equator, and more rows of similarly sized circular screens, but fewer as we go up the hemisphere since the circumference of higher latitudes would be lower The lowest row of circular screens must be completely above the horizon for the viewport of the 180 degree fisheye equidistant camera The screens should fade in one by one starting from the lowest row, left to right, sequentially, one after the other, with a one second fade in time. So, circle one fades in by the 00:00:01 mark, then circle two fades in and finishes fading in by the 00:00:02 mark, and so on. The total duration of the animation can be one second greater than the time required to fade in all the circles. Each circular screen should have an image texture mapped to a unique file - named seq01.jpg for circle one, seq02.jpg for circle two and so on, with the jpg textures located in a subdirectory of the project directory called seq. The image texture would be square in shape, but should be zoomed in so that the entire circle is filled with the texture.
LLMs can even give us alternate ideas. For example, this conversation,
Tuesday, April 21, 2026
false alarm emails from github pages
Friday, April 17, 2026
Blender 5 VSE difference for extending clips
Blender 5 Video Sequence Editor (VSE) handles extension of clips differently than earlier versions. In earlier versions, if we extended a clip past its end by dragging its boundary, it would create still frames from the last frame of the clip, and if we used a speed control modifier, we could stretch clips both to extend them as well as to make them shorter. With Blender 5, we can't do that directly. Now, we need to go to clip properties, increase duration of the clip there. Just using speed control is no longer enough. Via https://blender.stackexchange.com/questions/69679/extend-video-strip-in-vse
Sunday, April 05, 2026
can't have a show all apps button on old Realme phone
There was no way to install a button to "show all apps" like on my Samsung M34, on the old Realme phone: in settings -> home screen, there is an option to show drawer instead of home screen icons - all the apps are listed in the drawer. Chose that instead.
Saturday, April 04, 2026
how to remove sim from moto phone
Artemis II launch video
Thursday, April 02, 2026
Wordpress website giving critical error
I enabled safe mode and also edited the configuration wp-config.php file,define('WP_MEMORY_LIMIT', '512M');define('WP_MAX_MEMORY_LIMIT', '512M');This seems to have solved the problem for now.
Logged in, saw that Wordpress and some plugins and themes needed to be updated, and updated them too. After updating, when I tried clicking on Edit for the home page, it seemed to work OK, probably because of the fix applied above.
Friday, March 27, 2026
using cloudflared to connect to our internal server
Thursday, March 26, 2026
OpenSpace - workarounds for toggle trails causing Pluto trail to appear
Using the default action by pressing the 'T' key, Pluto trail starts to appear if we disable it before we start.
One way might be to remove the Pluto Trail asset from openspace before starting the playback?
Another way would be to edit the recording to replace
openspace.toggleFade("Scene.*Trail.Renderable"); openspace.toggleFade("Scene.*trail.Renderable");
with
openspace.setPropertyValue("Scene.*Trail.Renderable.Fade", 0, 1.0); openspace.setPropertyValue("Scene.*trail.Renderable.Fade", 0, 1.0)
Thursday, March 19, 2026
openspace command convention
Error when calling script 'openspace.fadeIn': Could not find property 'Scene.Moon.Enabled'
Edit - Note: All of the above were with respect to the 0.21.x version. In version 0.22, things may change - for eg this commit.
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
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.
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
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
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.


