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, November 30, 2024
ffmpeg commands - image sequence to mp4
Wednesday, November 27, 2024
why it is a bad idea to have other people's product name in the name of your product/service
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.
Tuesday, November 26, 2024
upgrade Moodle 4.4 to 4.5
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
Sunday, November 24, 2024
Activity dashboard in google docs
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 -

linux desktop shortcut to open a directory in terminal
in our case, xfce4-terminal --working-directory=/the/relevant/directory
Saturday, November 23, 2024
Water vapour map
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.
Friday, November 22, 2024
blender rendering settings
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.
show the rules for creating username on Moodle - email based signup
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.
animating visibility for neurons scene in Blender
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
Thursday, November 21, 2024
recaptcha and Moodle
modifications to activity completion report
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.
Wednesday, November 20, 2024
brain and neuron modeling in blender
https://github.com/hn-88/Blender-files/tree/main/brainmodel
referer in apache logs not seen in awstats
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.
Sunday, November 17, 2024
customizing email-based self sign-up in Moodle
- There is a discussion here for customizing the welcome email for the students - https://moodle.org/mod/forum/discuss.php?d=389805
- To change whom to send the confirmation email in the case of "self registration with admin confirmation" - Navigate to `Site Administration --> Plugins --> Plugins overview --> Email-based self-registration with admin confirmation ( Settings ), you should be able to set captcha and admin email id to be whom the email to be sent.
- If you would like to change any email content,etc. Navigate to `Site Administration --> General --> Language customisation --> Choose English (en) --> Open language pack for editing --> In filter strings choose auth_emailadmin --> Click Show Strings`, it has detailed descriptions on what each string means. If you would like to update/customise any email content, etc you can update there accordingly.
Friday, November 15, 2024
Moodle notification - Task failed: Send user digests
Thursday, November 14, 2024
how to change Google Play store screenshots for an Android app
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.
Wednesday, November 13, 2024
onboarding a user on a linux webserver
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
Monday, November 11, 2024
'send user digests failed' error on Moodle
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.
Sunday, November 10, 2024
notice to add the xapp status applet in Linux Mint Xfce desktop
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.)
Saturday, November 09, 2024
OpenSpace - running version 0.20.1 on Linux Mint 22
sudo apt install libboost1.74-dev
with
sudo apt install libboost-all-dev following https://askubuntu.com/questions/922625/cannot-install-libboost-all-dev-because-dependencies-are-not-getting-installed
make -j 2
doing 2 concurrent jobs instead of unlimited concurrent jobs - and now the linker complained that some symbols were not found. I suspected that this was due to the interrupted builds due to the crashes - so,
make clean
sudo apt install task-xfce-desktop -y



