Random Wits

Life is too short for a diary

$ random wits
├── tags

├── bookshelf

├── resources

├── quotes

├── habits

└── about

Sun 27 Jun 2021

Dear Vishi, have you seen a ghost?

Do you believe in ghosts? I did when I was a kid. I was infatuated with the paranormal. Sometimes I used to wander around desolate buildings with other kids concocting horror stories. I loquaciously gossiped about ghosts in school which earned me a sizeable audience. I was convinced that someday I would stumble upon an innocuous spirit that would instill some unearthly powers in me.

Vic Tandy, a British engineer, was working at Warwick Laboratory when he thought he saw a ghost. He later said, “I was sweating but cold, and the feeling of depression was noticeable – but there was also something else. It was as though something was in the room with me.” He then claimed to have seen a spirit emerging in his peripheral vision, but when he turned to face the figure, it vanished”. He later went home perplexed...

Continue reading → Tags : diary rambling infrasound

Fri 25 Jun 2021

Dynamically create cloudformation stack using AWS CDK

AWS CDK is a great framework to programmatically deploy cloudformation stack. If you are unfamiliar with AWS CDK, I would recommend first to check out Getting started with AWS CDK.

One of the pet peeves I have while designing cloudformation template is redundancy. I have to manually copy-paste the same properties across multiple resources. I wanted to leverage AWS CDK to create an interface that would allow tto dynamically create cloudformation. For the interface, I harked back to the good old CSV file...

Continue reading → Tags : aws cdk cloudformation typescript tutorial

Mon 14 Jun 2021

Gettting Started with AWS CDK

Cloudformation service in AWS allows you to describe an entire set of resources required to make a pipeline. The cloudformation template can be described in JSON or YAML format. Updating the cloudformation template was not a pleasant experience. I wanted to discover alternative ways to generate cloudformation template programmatically.

The CDK library provides you a way to declare the resources in your favorite languages like Java, Javascript, Typescript, and Python. In this tutorial, we will use typescript to generate our cloudformation template...

Continue reading → Tags : aws cdk cloudformation typescript tutorial