Generate Python, Java, and .NET software libraries from a TypeScript source

Cross-posted from the AWS Open Source Blog article that I authored.

As builders and developers, many of us are aware of the principle of Don’t Repeat Yourself (or DRY) and practice it every day. Entire runtimes and programming languages have been developed by taking that principle to an even higher level, with the core idea of writing software once and having it run on many different platforms, hardware, and operating systems. In this post, I explore the possibility of authoring and curating a software library in the TypeScript language, which at build time can then be generated into libraries in multiple other programming languages such as Python, Java, and .NET/C#. This is made possible by an open source software framework developed by AWS called jsii, one of the core architectural components in the AWS Cloud Development Kit (AWS CDK).

Read More…

DIY Smart-Garage with Raspberry Pi

Summary

We have a detached garage that opens into the alley behind our home and it has always been difficult to quickly tell from within the house if the garage door is currently open or closed. And this is something that I really wanted to fix with some sort of DIY hacks, right from the very first day we started living in our home.

Sometime in early March, the garage door began having another problem - closing it with one of the remotes or with the wall-switch begins with the closing, but immediately stops and backs out after closing a few inches. I later diagnosed this to be an issue with misaligned/dirty sensors and have rectified it.

But that problem energized my desire to start a DIY project to convert my plain old, “builder quality” garage door opener (which is Chamberlain HD400DM) to a “smart one“.

Read More…

Spring!

Spring is here!
The flowers are blooming
The grasses are glowing
The birds are singing
The bees are buzzing
The butterflies are fluttering
There are seasons, the seasons travel
They come around, around, around

- Maya Haridas

Second poem by Maya

🌱 🍄 🌷 🌼 🌸 🌺 💐

Welcome 2016

I realized only now that the previous entry on my blog was posted almost an year ago!

Looking back, a lot of good things did happen in the year of 2015 - both professionally and personally; but blogging was definitely not one of them.

This entry is basically an attempt (yet another attempt is more right) to break the shell and to start writing again - here’s hoping that there would be a lot of posts that gets added to this blog in this year!

Happy New Year !