Properties button of a disk (except the system disk or Windows disk) > Status section >
Online/Offline button
Repartition Bad Drive (from Abstradrome),https://www.dposoft.net/rbd.html
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!
So for allowing googlebot and bingbot and nothing else, the syntax would be:
User-agent: *
Disallow: /
User-agent: Bingbot
Disallow:
User-agent: Googlebot
Disallow:
Copy-pasting from an email I sent out:
... doing bulk actions on the Moodle instances can cause timeout failures if the action takes more than a minute or so to complete. So, actions should be done in small batches. For example,
1. Deleting users - first start with deleting one user, see how long it takes, and then scale to as many as possible to complete in one minute. A detailed post about automating this process is at
https://hnsws.blogspot.com/2024/10/moving-multiple-moodle-instances-from.html#deleting-users
2. Deleting courses - you may need to delete module by module, checking how long each process takes, as above.
3. Running ad-hoc queries - please filter for small result sets and optimize code so that the query completes within a minute or two.
Similarly, when designing the course pages, please use themes / modules / etc in such a way that only a limited number of images and or other content loads on a single page - otherwise, the site will be experienced as slow to load, slow to edit, etc. A rule of thumb would be to limit the scrolling to two screen heights, and not more than that.
In general, if you experience timeout errors (which usually will be displayed as "gateway error" if using cloudflare), you can simply close and re-open your browser after a couple of minutes, login again, and the site should load.
Copy-pasting from an email, regarding the onetopic plugin's version for Moodle 4.5 and compatibility with older (3.x?) versions -
I'm updating the format_onetopic plugin on all our Moodle instances. When doing that, it notified me of a new setting, backward compatibility with old styles, which it says will be removed soon.
Currently I have enabled it, but if possible, please check the courses which use format_onetopic to see if they can be migrated to use the format_onetopic new style editor. The setting for format_onetopic is at
/admin/settings.php?section=formatsettingonetopic
- the 2nd option,
"Use legacy style controls. This option is only available for compatibility with older versions of the plugin and will be removed in the future in favor of using only the new style editor."
Most probably, the way to do this would be:
1. check if the course is displayed correctly
2. go to admin/settings.php?section=formatsettingonetopic and uncheck the "Use legacy style controls"
3. check again if the course is displayed correctly
4. make some edit to the course, check again if the course is displayed correctly
5. If displayed OK, then you can revert the edit, and leave the check box unchecked.
6. If not displayed OK, please let me know.
If you find that unchecking this box does not create any problems for some course which uses format_onetopic, please uncheck the box for all the instances.
Site Administration > Plugins > Plugins Overview > Onetopic_format Settings
Noting the conversation with the developer of the format_onetopic Moodle plugin, https://github.com/davidherney/moodle-format_onetopic/issues/204
Today I've been notified of a new plugin update by Moodle, so changing the Maturity level (by the developer, from Beta to Mature) seems to have fixed the "not being notified by Moodle about new updates" issue.
Inspired by
SSSHSS || Karunyamatanvate || Drama Trailer 2025 ||
Tried out via
ai generated video for free duckduckgo search
(not very good)
Same prompt, "big bang which started the universe evolving into millions of galaxies", gave a 4 minute + documentary with commentary but watermarked, using invideo.io
https://ai.invideo.io/watch/sCKIn5VJQDE
Uploaded to youtube and embedded below. Though what I wanted was a visualization of the Big Bang and this is not what I wanted, as a mediocre youtube video, this is OK.
Wanted to check if we can use php to automatically change the copyright year in Moodle footer, using the Moove theme. For example,
https://natclark.com/tutorials/php-automatic-copyright-notice/
<?php echo date('Y'); ?>
But no, when we add this to the footer via the Moove theme's UI, the footer displays the code instead of allowing php to parse it. So, updated manually.
Thought about doing a render of the "pillars of creation" in Blender or something like that, using some 3d model available online.
https://hubblesite.org/contents/media/videos/2024/020/01J0KSWQV7N2ZC4JEKE2Q0RCJ8
has the video and
https://hubblesite.org/contents/media/images/2024/020/01HZ7KZ85WKVG3H46A8B7GCEV8?app=true&news=true
has the 3d model, STL model for 3D printing
https://webbtelescope.org/contents/media/products/01HZ7M91P8DY5J5JFQJ28WQ72X
But then, found this "zoom in" video was quite nice, needn't spend too much time on Blender,
zoom into pillars of creation
https://www.youtube.com/watch?v=lj3t_gjuXWk
https://esahubble.org/videos/heic1501f/
UHD download.
---------------------------------------------------------------------------
Similarly, for Hubble Deep Field, Extreme Deep Field, etc - there are some resources online,
https://hubblesite.org/contents/media/videos/2012/37/718-Video.html?news=true
extreme deep field flythrough
(On the dome, the video provided by Lionel Ruiz looks nicer.)
There's a Blenderkit HDRI,
blenderkit james webb deep field hdri
https://www.blenderkit.com/asset-gallery-detail/6973dec9-f137-47da-9c5b-7bc9fa6780df/
Hubble ultra deep field animation in 3d
https://www.youtube.com/watch?v=oAVjF_7ensg
720p
(link to hubblesite in description is dead)
And HD download at
Across the Universe: The Hubble Ultra Deep Field
Following this page,
https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html
the following encoding went at around 21 fps with the NVidia 1060 graphics card -
ffmpeg -r 30 -start_number -003875 -f image2 -i "OpenSpace%06d.png" -c:v h264_nvenc ../filename.mp4
Using h265_nvenc gave codec not found error, but hevc_nvenc worked. That went at around 23 fps. Without acceleration, when using the "lossless" parameter, it was taking several seconds per frame. 0.2 fps or so.
Edit - apparently full hardware transcode with NVDEC and NVENC:
ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -c:v h264_nvenc -preset slow output.mp4
But apparently lower quality - https://stackoverflow.com/questions/44510765/gpu-accelerated-video-processing-with-ffmpeg
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
One of our Moodle instances had around 100 of "send user digest failed" messages. It appears that these are due to the following users (listed around 21 users). We can log on to the GMail email id being used to send emails from the server to check if these are due to "mailbox full" or whether it is due to wrongly entered email ids or something else.
Accordingly, one of the admins disabled notifications for these users.
I've confirmed that doing so -
Site administration > Browse list of users > (choose the user) > (Administration) > Preferences > Notification preferences > Disable notifications
does in fact change the "emailstop" column of the prefix_user table in the database. So, this is the correct procedure.
I have enabled forwarding of bounce notifications from two of our Moodle instances which send emails, to my email address, I will do this (Disable Notifications) for each bouncing email user going forward.
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