Thejesh GN Blog

0

Simple CGI programming

A simple HTTP server serves static HTML, Javascript, CSS, Images, etc. Sometimes you need a bit of dynamic content from the server-side. There are simple microframeworks to mega frameworks to achieve this. You could use any of these available web frameworks on the server side. But let’s say you don’t have access to any of those frameworks, and you want it to be simple and lightweight. You could try CGI.

Or you are just a web geek and want to spend an hour on old but interesting technology.

0

How to Use Podman to run Workflows in Digdag

I often try to use Docker with my Digdag workflows. That way, we can keep the dependencies clean and separate for each DAG. I have blogged about it in detail before. Now instead of Docker, I can use Podman, by just making one small change.

1

My Boring Yet Modern Web Starter Stack

I like to use the same stack again and again. It makes me productive, makes code less buggy, and builds knowledge over time. Unless there is a real need like unmaintained software or a different kind of application or unless I am going to build a Facebook or Google, I rarely change things in this stack. Even if I am going to build Facebook, I would start here and then adjust as it grows, just like Facebook did with it’s stack.

3

Mumbai

I was in Mumbai for work. Since Anju was with me, we spent a couple of evenings eating, walking around, and buying books.

0

SWL – ShortWave Listening using Eton Elite Traveler

All credit to my curiosity in radio should go to RadioCity. As far as I know, it was the first private FM and started its first station in Bangalore. It used to broadcast 91.0 MHz (now 91.1). There was nothing like that in 2001. I went to national market and got myself a cheap pocket radio. It still works. I have been curious about radios since then.

0

Linked List: Fake or Mock SMTP Servers for Email Testing

To test SMTP integration, you can either send emails using the production SMTP or you can run a test SMTP server just for testing. But its not easy for every developer in your team to do that or make it part of your CI/CD. This is where Fake or Mock SMTP servers play a role. They can run on a developers machine and expose an SMTP endpoint to connect and send test emails. They usually have web access to view the test emails to check formatting etc, manually. Some of them also expose a web API to retrieve the content for CI/CD integration. Here are some of my favorite mock SMTP servers.