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