Jain Basil's Blog

Thoughts on Programming, Life etc.

There are only two hard things in Computer Science: cache invalidation and naming things. — Phil Karlton

Reading this post shared in Hacker News today was thought-provoking. One among the TwoHardThings – naming things – might have an implication on society. Am I right when I say that I have a file named blacklist.yaml which stores all those words which are not allowed in my application?

Read more...

The word “machine” has its origin in the Greek word “makhana” meaning “device”. Initially used to refer mechanical structures built to perform an intended action, the term “machine” in modern times encompass a lot more – automobiles, computers, farm machinery, factory automation systems, robots – the list goes on. At times, reading and learning about those old machines which paved the way for the new and technologically advanced ones is fascinating.

Read more...

The Active Support component of Ruby on Rails provides a class named KeyGenerator for generating secret keys. This is a wrapper around OpenSSL’s implementation of PBKDF2 (Password-Based Key Definition Function 2) and is commonly used to generate secrets keys for encryption use-cases.

Read more...

Recently, I decided to digitise my songbook (lyrics with chords annotated) using the TeX typesetting system. TeX provides amazing packages for typesetting songbooks. Since my collection had mostly Malayalam songs, XeLaTeX was my choice of TeX engine which has better support for non-Roman scripts – like Malayalam, Tamil etc.

Read more...

Munnar, popularly known as “Kashmir of South India”, is a famous tourist destination in the Idukki district of Kerala state. Known for its picturesque hills and Neelakurinji (a shrub with purplish-blue flowers that blossoms only once in 12 years ), it is one among most sought out destinations by the tourists visiting India.

Read more...

September 7, 2018, was the last working day of my 3.9-year stint with SAP Labs India, Bangalore.

I joined as a Developer Associate @ SAP Cloud Platform, contributing to the Job Scheduler as a Service on Cloud Foundry. It was an amazing journey since January 2015 that enriched my knowledge and experience developing highly scalable services for a Platform.

Read more...