Skip to main content

I went for lunch

It is an ordinary Saturday morning in Trinidad. It is fifteen minutes before I change and head out for lunch. Today is not so hot which is welcomed. It gets cooler and colder at the end of the year and into the new year in Trinidad. Sometimes these seemingly simple moments in our lives can make great stories. I am a writer. I am always looking for a good story. It is the beginning of the month and I have some extra money so I can afford to buy out food. My choice for lunch today is dhal, rice and curry duck with some pepper sauce that they said they make fresh every day. I will wash down my feast with half of diet coke.

On my way back I will stop for bananas. My mom loves fruits and specifically bananas. Then there is the cafe in my village that sells samosas and cakes and has the book shelf where I can take free books to read. In that cafe there is a table made from an old foot peddle sewing machine stand. I also want to try my luck with a scratch ticket. I feel lucky today. The lotto booth is located in the rum shop. I do not drink alcohol but it is worth noting that there are four rum shops and four lotto booths in my vicinity. It is like a little Las Vegas or something except there are four masjids I can walk to.

I set off on my lunch time sojourn. Two white garlins flew away from inside the big drain. The sound of construction echoed through the quiet back road. Shortly after a car sped by playing a Rasika Dindial chutney tune. I turn unto the road that takes me to the main road. It was mostly quiet. Some households seemed to be resting while others were busy with weekend chores. The hustle and bustle of cars on the main road contrasted with the quiet I had left. The old man who cleans the masjid rides his bicycle slowly past me.

I was too early and the food shop was not ready with the curry duck. I had to settle for stew chicken dhal puri roti. For twenty five dollars this is good value for money. My mom and I would share half each. I arrived back at home soaking in sweat. I ate my lunch and changed my shirt and escaped to the air conditioned room to continue where I had left off with my blog post. Not a bad day so far. I just checked the football score and my team of Manchester City are winning their football game with three goals. I liked how this blog post came out and my goal now is to write more like these.

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