Skip to main content

Balance is the best key

Last Ramadan I resolved to soften my heart and I wrote about it in my blog post. This Ramadan I resolve to find balance. I am a big proponent of holistic living. I think that everything has advantages and disadvantages and we are always trying to balance both of these. I did not know what I would set as my theme this year but then I remembered my favorite prayer (or dua).

Rabbana atina fid dunya hasanatan wa fil akhirati hasanatan wa qina azaban naar.

Our Lord! Give us in this world that which is good and in the Hereafter that which is good, and save us from the punishment of the Fire!

Sometimes we are attracted to that which is not good for us. Sometimes we want and ask for things that are not good for us. Sometimes we end up on the wrong path going in the wrong direction. Sometimes we focus on this world and neglect the next life. Finding balance means wanting good in this life and the next life and working towards this. Life is a test and we endeavor our best to pass this test. We can be tested with both good things and bad things. Finding balance means being humbled by our imperfections and making the best of what we have.

If I see balance as the key then what is the door that is being opened? I think the door leads to God's mercy and favors. My original title was "balance is the key" then I figured out I could make it 19 letters and 23 with spaces by adding the word best. But why would I want to add the word best? Maybe there are multiple doors and different levels and this is a master key that can open all of these? Maybe this is the key that leads to all the other keys? Maybe this is the best one for me. Maybe my mind is trying to tell me something through rhyme like "life is a test and to get the best out of it you need balance and leave the rest up to God and you will be blest". That might be the best way to end this blog post and I could say that's a w-rap!

*Ahsan is an Arabic word meaning best and I read that Ahsan is the superlative of Hassan

*Surah 2 verse 143 tells us: Thus, have We made of you an Ummat justly balanced, that ye might be witnesses over the nations, and the Messenger (saw) a witness over yourselves;

*Some translation say "middle nation"

*143 is exactly half (the middle) of the 286 verses of that surah

Comments

Popular posts from this blog

Hobby project - Store and view exchange rates

The next step in my project was to test out being able store and display the rates in a database. I decided to use nodejs and supabase for this. Everything worked beautifully. Only hickup was the following error due to my package.json not being correct. SyntaxError: Cannot use import statement outside a module Added this to package.json   "type": "module" This works beautifully. Right now I am just testing fragments of what could be part of a bigger system to see what is possible and what works and how easy to code on a mobile. There is no fully functioning integrated end to end system just yet. This is also what I tested. A serverless append-only database using GitHub + Actions + Pages. That’s basically a lightweight backend system. This was the ChatGPT prompt I used. Guide me through each step. This is what I want. A manually run github actions that adds to docs/data.json with the current date and time. docs/index.html displays all the entries in data.json. Make s...

Running php and apache on termux

This was my experience getting php and apache to run on termux apt update && apt upgrade -y apt install php-apache I was following an old blog post that used php 7 and got these errors Can't locate API module structure `php7_module' in file /data/data/com.termux/files/usr/libexec/apache2/libphp.so: undefined symbol: php7_module Cannot load /data/data/com.termux/files/usr/libexec/apache2/libphp7.so Corrected in apache config file vim $PREFIX/etc/apache2/httpd.conf LoadModule php_module /data/data/com.termux/files/usr/libexec/apache2/libphp.so Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP. Comment out mpm_worker and use mpm_prefork #LoadModule mpm_worker_module libexec/apache2/mod_mpm_worker.so LoadModule mpm_prefork_module libexec/apache2/mod_mpm_prefork.so This still does not work as apache (httpd) was failing silently. According to Chatty LoadModule php_module ...libphp.so often fails in Termux becau...

Stuck running sftp server on termux alpine for multi-user setup

The below is my journey trying to get multi-user sftp working using alpine on termux pkg update && pkg upgrade pkg install proot-distro openssh proot-distro install alpine proot-distro login alpine apk update apk upgrade apk add openssh shadow sudo apk add vim vim /etc/ssh/sshd_config Port 8022 PermitRootLogin no PasswordAuthentication yes Subsystem sftp internal-sftp Match Group sftpusers     ChrootDirectory /sftp/%u     ForceCommand internal-sftp     X11Forwarding no     AllowTcpForwarding no addgroup sftpusers adduser user1 adduser user1 sftpusers mkdir -p /sftp/user1/upload chown root:root /sftp/user1 chmod 755 /sftp/user1 chown user1:sftpusers /sftp/user1/upload How I run my server each time pkill sshd rm -f /etc/ssh/ssh_host_* ssh-keygen -A /usr/sbin/sshd -D -d -d -d From another termux session sftp -P 8022 user1@127.0.0.1 Connection reset by 127.0.0.1 port 8022 Connection closed Some troubleshooting steps mkdir -p /run/sshd chmod 75...