Pretty pictures of our solar panel installation,
https://livingatlas.arcgis.com/wayback/#active=9892&mapCenter=77.81341%2C14.16102%2C18
(without)
and
https://livingatlas.arcgis.com/wayback/#active=11351&mapCenter=77.81341%2C14.16102%2C18
(with)
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!
Pretty pictures of our solar panel installation,
https://livingatlas.arcgis.com/wayback/#active=9892&mapCenter=77.81341%2C14.16102%2C18
(without)
and
https://livingatlas.arcgis.com/wayback/#active=11351&mapCenter=77.81341%2C14.16102%2C18
(with)
I thought that exFAT was just the new name for FAT32. But apparently exFAT does not have the 4 GB file size limit, and can be read by MacOS natively (though not by all devices which can read FAT32) - https://superuser.com/
Copy-pasting from an email exchange -
As the message says, a few thousand files did not download properly, there were errors. Most probably due to bad internet connection. Would need to retry again and again until all are downloaded. Or, use a better internet connection - for eg, I use home BSNL fiber (100 Mbps) when I need to download large files. Another option is Airtel 5G, for one-time downloads.
When I downloaded on BSNL Fiber using Azure explorer, the download went at around 50 Mbps, 111 GB in 17605 sec or just below 5 hours.
Copying from one hard disk to another showed another possible reason for the previous download to fail - the external hard disk was corrupted, leading to file copy failure - repaired the file system and the file copy worked OK.
If needed again, can explore rclone on the RPi.
A Moodle admin reported internal server error 500 on trying to reset the password for another user. And confirmed that the same error occurs even when resetting his own account's password from the profile field. But the password reset via the login page works.
So, perhaps there is some setting in Moodle which prevents anyone from changing passwords except via the password reset page
or
maybe there's a bug
or
there's some issue which prevents updating of user records.
I could reset the password using the commandline,
https://docs.moodle.org/405/en/Administration_via_command_line#Reset_user_password
which in our case is
sudo -u www-data /usr/bin/php admin/cli/reset_password.php
# this prompts for the username and then for the new password.
Onezoom.org has this beautiful visualization of the "tree of life" - zooming in and out of the "homo sapiens" entry - captured using GPU Screen Recorder at 60 fps, and slowed down to 15 fps without any motion compensation etc using avidemux.
The original video is also shared on archive.org
There was an email from Microsoft Azure, "Migrate Service Principals from the retiring Azure AD Graph APIs to Microsoft Graph" - clicking through, the recommendation only showed the id of the function or resource using the deprecated API, and did not provide any other information.
After an internet search, this faq showed how to identify it -
https://learn.microsoft.com/en-us/graph/migrate-azure-ad-graph-faq#as-an-it-admin-how-do-i-identify-apps-in-my-tenant-that-use-azure-ad-graph
(It was not an application which I had created, it says the owner is "Power Virtual Agents Service" - so no action was taken. More info - https://techcommunity.microsoft.com/blog/azure-ai-services-blog/use-your-own-data-to-create-a-power-virtual-agent-with-azure-openai-service/3891860 )
Since I'd set up CPU and disk space monitoring emails on some of our servers, I started getting CPU usage alert emails regularly from the mysql database server VM which served some of our Moodle instances. CPU usage kept going up, not declining even during night hours.
Troubleshooting -
Some of our Moodle instances which used XOAUTH to send emails via smtp.gmail.com had issues with temporary authentication failures. Apparently GMail's smtp servers have started rate limiting after approx 100 emails were sent in 3 minutes by Moodle. Mostly mod_forum email digests.
Since Moodle itself doesn't seem to have any provision for rate limiting, we need to set up some mail relay which can retry mails which get throttled.
SSMTP which is currently installed on the server, doesn't seem to support any advanced features like rate limiting.
Since I'm familiar with Postfix, looked up ways to send emails from Postfix through google's smtp servers - https://computingforgeeks.com/
After setting up postfix as above, and changing the outgoing mail configuration on our Moodle instances to the default values (which would use the server default, ie postfix), emails seem to be going out fine.
For checking the postfix logs for errors,
journalctl -t postfix/smtp | more
journalctl -t postfix/smtp -f # for tailing the logs
With the postfix config with a single relayhost, there are a few errors once in a while "Network unreachable" but a second later, the mail gets sent. So, use of postfwd or extra config was not needed. If needed in future, multiple postfix instances or the use of multiple relay hosts based on authentication might be options.
Currently sending two large instances' emails through these, 250 emails have gone out last night with no problems as seen via the gmail interface in the sent folder.
Running Sheepit render farm in the background on one of our machines, I wanted to limit the download speed of the Sheepit client, since office bandwidth was limited.
First tried wondershaper and tc - did not work - finally ended up with trickle. Modified the desktop shortcut launcher I use to the command
trickle -s -d 1024 -u 1024 java -jar sheepit-client-ver.jar
Earlier tries and misses, and links for reference -
https://securitynetworkinglinux.com/how-to-shape-traffic-using-wondershaper-on-ubuntu-20-04-cli/
https://askubuntu.com/questions/1523362/server-24-04-only-starts-a-single-interface-on-boot
https://superuser.com/questions/1053003/what-is-the-difference-between-eth1-and-eno1
We have eno1 instead of eth0.
Used git clone instead of the apt version as per
https://github.com/magnific0/wondershaper
Then, syntax has changed. But errors,
sudo ./wondershaper -a eno1 -d 1024
Error: Exclusivity flag on, cannot modify.
Error: Exclusivity flag on, cannot modify.
Error: Exclusivity flag on, cannot modify.
RTNETLINK answers: File exists
Trying tc with this syntax from
https://superuser.com/questions/1598721/adding-both-delay-bandwidth-restrictions-via-tc
sudo tc qdisc add dev eno1 root netem rate 10mbit
no errors shown
sudo tc qdisc add dev eno1 root netem rate 1mbit
Error: Exclusivity flag on, cannot modify.
The 2nd command above was with protonvpn on.
Furthermore, trickle will not work with statically linked executables, nor with setuid(2) executables.
Shortcut to creating rocket scene - from https://sketchfab.com/3d-models/gslv-mk3-0426922358b4444f9887bcd551d3a5cb - zoom in the view, take screenshots, then composite it with Earth background.
Editing Blender Image Texture with Gimp - How to Link Blender with any External Image Editor! (youtube.com) - as of now, only directly edited the png texture file(s) by loading them into Gimp outside Blender.
How to make millions of bodies - https://www.youtube.com/watch?v=CQ9VmCN2EsE - How to Render Millions of Objects in Blender.
Rigid bodies physics - falling etc https://www.youtube.com/watch?v=nHVYYMG3QVY
DNA in Blender in one minute - nicely explained - https://www.youtube.com/watch?v=xgPlgiOQWPA
Biochemistry L12: Building Bacteria (E. coli) in Blender - https://www.youtube.com/watch?v=XoDDNCWyziI - that channel has lots of Molecules, Chemistry, proteins, petri-dish etc Blender tutorials. @LuminousLab, "Blender for Scientists".
Smart UV project - for easier uv unwrapping of simple objects - https://www.youtube.com/watch?v=qa_1LjeWsJg - UV > Smart UV project - https://youtu.be/qa_1LjeWsJg?feature=shared&t=820 - This did not seem to work for the cubes - would always turn out sideways for some cube faces. Did rotation and rescaling of the uv mesh manually.
Idea for Swami video composition - or a sequence of stills - 5 stills left to right, come at 1 sec intervals, 4 stills above that (found in testing that one layer of stills looks better than 2 layers.) Each frame changes every second? May not be required - could have new frames appearing every second, then after 5 seconds, the first frame changes, etc. Change would be like a page turn? - or not - quick fade to black and change also works. Another option: A large photo album, with pages turning. Each page has 2 + 2 photos? This might need animation. So, earlier option might be easier. Page turn tutorial - https://www.youtube.com/watch?v=K3lfNXAZblA
Keyframe the multiply factor, to change the speed of clips - to slowly speed up or slow down clips - https://docs.blender.org/manual/en/latest/video_editing/edit/montage/strips/effects/speed_control.html - as of now, used only the "stretch" method, which is the default for the Speed Control effect, which is easy to use. We can cut clips with Shift-K and apply different speeds etc.
Privacy blur mask in Blender VSE - https://www.youtube.com/watch?v=v0qoIRKNtnE -
Set active camera - animate camera smoothly - https://www.youtube.com/watch?v=a7qyW1G350g
How to use google colab to render blender files - Speed Up Your Blender Renders with Free Google Colab- using Sheepit Render Farm instead as of now.
3d text in Blender - Add a text object, choose the font in the object's properties. 3D Text in Blender: Everything You Need to Know! - but has problems with Hindi rendering etc
Copy-pasting from an email exchange, when a well known name was proposed to be used for one of our servers -
Why it is a bad idea to have other people's product name in the name of your product/service - though legally permissible, it is generally regarded as being due to incompetence or due to malfeasance (trying to scam people to get more traffic.)
https://www.nolo.com/legal-encyclopedia/question-trademark-infringement-use-company-name-28198.html
and so, we should choose another name.
Since the theme for some of our Moodle instances was "Moove" and this theme had some updates which would work on 4.5 only after upgrading the theme, first changed the theme to the built-in theme "Boost" from the UI, completed the upgrade, upgraded the plugins including the Moove theme, changed back to Moove theme, OK.
The upgrade itself was
screen
cd /var/www/theLMSgit
sudo -u www-data /usr/bin/php admin/cli/maintenance.php --enable
git config core.filemode false
#git branch --track MOODLE_405_STABLE origin/MOODLE_405_STABLE - this was done earlier.
git checkout MOODLE_405_STABLE
git pull
sudo chown -R azureuser:www-data .
sudo chmod -R 775 .
sudo -u www-data /usr/bin/php admin/cli/upgrade.php
There was a request from a user that he wanted activity to be turned on -
he is not able to see who all opened the document through the shared link.
Copy-pasting from my reply -
in our case, xfce4-terminal --working-directory=/the/relevant/directory
Some possible data sources for displaying storms etc in OpenSpace -
https://bin.ssec.wisc.edu/pub/mtpw2/images/tpw_nrl_colors/global2/202409/comp20240926.000000_tpw.png
https://bin.ssec.wisc.edu/pub/mtpw2/images/tpw_nrl_colors/global2/202409
Hurricane Helene.
By trial and error, for neuronDuplicated scene, fast rendering with acceptable quality - Blender Cycles render:
Noise threshold Off
Max time 1 seconds,
1024 max samples,
denoise on - seems to be fastest with good results.
For 3 cubes with video textures,
0.5 noise threshold
4096 max samples
Max time 1 sec
denoise off
seems to be fastest with good results.
There was a request for a method to show the rules for creating usernames (shouldn't have spaces, should be only lowercase) for new users registering on Moodle.
While a help message is provided for the password, similar information is not provided for username...
My reply was:
https://our.moodle.server/admin/settings.php?section=manageauths
There is an "instructions" field available at the above link, which you can use to provide instructions to the people logging in. Maybe that might help you.
(Another option is to remove the option for users to enter Username, and instead only use Email address as username. But I'm not sure how to do that.)
With this "instructions" field the problem seems to be mitigated - these instructions are shown on the login screen itself.
Creating this neurons scene.
Shift selected to select multiple neurons, then Alt D to duplicate, move mouse to move, R to rotate etc.
In Blender, for keyframing visibility of objects - https://blender.stackexchange.com/questions/115526/trying-to-hide-object-during-animation
has screenshots. "Show in" > Viewports or Renders
Need help. In the activity completion report, we do not get cohort id /name. Could you please modify this system report to include cohort id?
As of now the team is convinced that they can generate individual group wise reports. Presently there are about 10 groups. If the number of groups increases, we may need to think of a solution.
Trying to set up awstats for one of our servers which needed referer information to be captured - the referer info was not being displayed initially.
https://simonecarletti.com/
better to have separate logs for each virtual server. So, set that up.
For the particular app, from the Google Play developer console,
Store presence ->
(default listing)
--> at the right-hand side
scroll down to Graphics.
What I did for getting suitable screenshots was to take screenshots from mobile, and in landscape mode for tablet screenshots, since my Samsung M34 5G's screen resolution was high enough.
sudo adduser theuser
https://duckduckgo.com/?t=lm&q=ubuntu+adduser+or+useradd&ia=web
https://tecadmin.net/generate-ssh-keys-in-pem-format/
ssh-keygen -m PEM -t rsa -b 4096 -f filenameOfKey.pem
and for the user to make modifications,
cp -r course coursemod
cp -r report reportmod
chown -R auser:www-data coursemod
chown -R auser:www-data reportmod
https://forums.linuxmint.com/viewtopic.php?t=319869
As the above forum posts said, the solution was to
Right-click on the panel (the strip along the bottom of the screen)
Choose the menu item Panel > Add new items > XApp status
(But since such an applet is not visible, just set to ignore? - Status Tray plugin is added.)
Nasa's Scientific Visualization Studio has a few fulldome videos available at https://svs.gsfc.nasa.gov/gallery/fulldome-gallery/
Many from the Dynamic Earth show, and Mars from Wet to Dry
The Azure portal had emailed us that the Azure CDN from Edgio would be retiring, and that since Edgio had gone into bankruptcy, service continuity was iffy. Their "recommended replacement" Azure Front Door Standard or Premium, looked pricey:
Front Door seems to have a minimum monthly cost of $35,
https://azure.microsoft.com/en-us/pricing/details/frontdoor/
So, instead, shall I just migrate the content elsewhere?
Currently, only old issues of a newsletter seems to be on cdn.ourdomain.org - content being served from a particular storage container.
I could move all the stuff there to a github pages repository instead, and map cdn.ourdomain.org to that - Github pages is free, (limited to 2 GB per repository).
Another option is that I can configure a cheap VM to point to the relevant container, mounting the container with blobfuse -
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux?tabs=RHEL
Looking at the size of the content, which was only 780 MB of archival content and not expected to grow, thought of going with github pages.
Created a github pages repository,
put all the files there,
and changed cdn.ourdomain.org CNAME record to point there instead of the CDN.
Tested with google site:cdn.ourdomain.org for old cached links, working with the new site - like
http://cdn.ourdomain.org/sssihms/wp-content/uploads/2018/01/nameoffile.pdf
OK.
After an operating system upgrade, Wordpress upload file size limit had decreased to the default, and 50 MB was desired. Increased by editing the php.ini file,
upload_max_filesize = 50M
post_max_size = 58M
max_execution_time = 300
and restarted the web server.
Via https://www.baeldung.com/linux/mint-ubuntu-base-check
Either
cat /etc/upstream-release/lsb-release
or
inxi -Sx
or
System Reports in the UI - System Information tab
Linux Mint 21, for example, is based on Ubuntu 22.04 while Mint 22 is based on Ubuntu 24.04
The problem was that I had not "enable"d the tunnel service (details in a previous post) which was tunneling the database connection over ssh - so, on server reboot, the tunnel service was not restarting automatically. We need to do
sudo systemctl enable name-of-our-service
to make it start automatically on reboot, and then
sudo systemctl start name-of-our-service
to actually start it the first time.
As a commandline, and as a service on linux
https://erlangen-sheppy.medium.com/sheepit-renderfarm-on-linux-16ccb1f5f5a6
Edit: finally ended up using Sheepit manually, and not as a service, and with trickle to limit the bandwidth - https://hnsws.blogspot.com/2024/12/limiting-download-speeds-with-trickle.html - the advantage is that when I want to run something else like OpenSpace, I can easily stop Sheepit from the UI.
Decided to try out Linux Mint on one of the desktops which had Windows 10 installed. To minimize interference with the borrowed machine, we installed Linux on a separate 256 GB SSD. To connect the SSD, we disconnected the CD/DVD drive.
To boot into the install USB, F10 is the key we have to press on boot, which gives the option to go into System Settings or BIOS.
The machine was rebooting instead of shutting down when the 'Shut down' option was chosen.
https://askubuntu.com/questions/1321208/computer-reboots-instead-of-shutting-down
All Power > "Power on X" settings should be turned off in BIOS. I also found a setting which said, "When lose power" --> "go back to previous state". Changed that to 'shut down', too.
With these changes, the machine shuts down. But when power is removed and re-applied to the SMPS (by putting on the UPS the next day), the machine still automatically boots even without pressing the power button - so a separate switchable plug would be desirable.
Then, added swap to prevent sudden freezes due to memory issues (though system freezes due to insufficient power is still possible, the SMPS is underpowered) -
https://thelinuxcode.com/add-swap-space-linux-mint/
free -h
sudo fallocate -l 32G /swapfile
sudo mkswap /swapfile
sudo chmod 0600 /swapfile
sudo swapon /swapfile
free -h
Edit: The above method of adding a swap file does not persist on rebooting - apparently it will persist only if added to /etc/fstab - so I added a line to root cron -
sudo crontab -e
#(at the bottom of the file)
# all other cron jobs must be above this
@reboot swapon /swapfile
System app > advanced startup options
https://www.thewindowsclub.com/how-to-boot-from-usb-drive-within-windows
If Fast Boot is enabled in UEFI/BIOS, we may not be able to boot from a USB drive with the usual methods like ESC, F1, F2, F8, F10 or F12 - then we have to do it when Windows is running, by going to
System app > advanced startup options
Many more options are listed at
https://www.makeuseof.com/windows-11-access-advanced-startup-options/
When replacing the compiled dll for a dot net app running on Linux - Ubuntu 24.04 server - we need to reload the daemons.
Just
sudo service ourapi restart
results in
Warning: The unit file, source configuration file or drop-ins of ourapi.service changed on disk. Run 'systemctl daemon-reload' to reload units.
73:~$ sudo systemctl daemon-reload
Then,
73:~$ sudo service ourapi restart
73:~$ sudo service ourtestapi restart
are done without errors or warnings.
Search Console has identified that some pages on your site are not being indexed due to the following new reason: Alternative page with proper canonical tag
According to this blogger support page,
"So there is nothing you need to do."
The m=1 page (mobile page) was not being indexed, but the non-mobile page was being indexed. That's fine, so no action needed.
A good guide for LAMP installation - https://www.digitalocean.com/community/tutorials/how-to-install-lamp-stack-on-ubuntu