Skip to main content

My understanding of life

I believe in God. I believe in an infinitely powerful higher Creator. I believe life is a test and if we pass this test we will be rewarded in the next life. I have asked myself but why test us? I dont know why. Maybe that why comes in the next life. I worship God so that I do not worship things in this world. I do not become a slave to this world. Why does God allow hunger, poverty, war, etc.? What if God asked us the same question? There is enough money, resources, knowledge, good people, smart people to solve our problems. Why do we allow it?

I don't think that riches is a blessings in the same way I don't think that poverty is a curse. We are all tested differently. When we are rich do we become boastful, wasteful and arrogant or do we become thankful, kind and generous. When we are poor do we become bitter, ungrateful and troublesome or do we become humble, hopeful and grateful. Our blessings and rewards come in the next life, not this life.

I do believe in separation of religion and state. I believe persons should have the right of choice as long as those choices do not infringe on other people rights.

I get the feeling that many persons are struggling to understand life. We want meaningful lives. We want life with purpose. We want to feel loved. We want to be appreciated. It is harder to appreciate life when things are falling apart. When life is hard. When bad things happen. I have found that when I cant find it on the outside I can look within. Persons hating on you. Who cares. Love yourself.

I like this quote that I found. "Life must be understood backwards, but it must be lived forwards" said by Soren Kierkegaard. Sometimes I find a quote I like without knowing the person behind the quote and leave it at that. I take the message regardless of the messenger. Something told me I should find out more about this person. Maybe because the statement was such a profound one. I found out that Soren was a Danish philosopher. From the little I have read so far, I find his views interesting and I am challenging myself to learn more.

Comments

Popular posts from this blog

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

Recursion example with SQL

I asked my friend Chatty, can you use recursion in SQL? For example I have a table (ID, value) ordered by increasing ID. Can you guide me through using recursion to select all the rows of consecutive repeated values using and creating an SQLite database. Provide the small sample data. Is there a better way to do this? A More Modern Alternative (Window Functions) In real-world SQL, this problem is usually solved more efficiently using window functions like: LAG() ROW_NUMBER() SUM() OVER But recursion is excellent for learning traversal logic and hierarchical thinking. Recursion example using sqlite on termux DROP TABLE IF EXISTS sample; CREATE TABLE sample (     id INTEGER PRIMARY KEY,     value TEXT ); INSERT INTO sample (id, value) VALUES (1, 'A'), (2, 'A'), (3, 'A'), (4, 'B'), (5, 'B'), (6, 'C'), (7, 'A'), (8, 'A'), (9, 'D'), (10, 'D'), (11, 'D'), (12, 'D'); WITH RECURSIVE grouped AS (    ...