Quick guide to Internet privacy for families

Over the weekend we activated an iPhone for our teenager. I decided to put this guide together for other families who might be less technologically inclined. Picking the right device iPhones and iOS ecosystem are fundamentally more secure and private than Android. Apple doesn’t make money from tracking people. Google does. There is no shame … Continue reading Quick guide to Internet privacy for families

Leaving Facebook and Twitter: here are the alternatives

In my post on social media and intersection of politics and technology I wrote about a social networking platform that addresses the ills of the current big providers like Facebook and Twitter in light of the 2016 election interference. I have more thoughts on the topic today. I am not going to rehash what everyone … Continue reading Leaving Facebook and Twitter: here are the alternatives

When politics and technology intersect

It’s been awhile since I last wrote. I’ve been experiencing a sort of a writing block since at least six months ago. This post is my attempt to break it. Ever since the election I’ve been deeply concerned about the state of the United States. What used to be collegial disagreements over policy issues between … Continue reading When politics and technology intersect

TypeScript starts where JavaScript leaves off

As a software engineer, I learned that one measure of my success is whether or not the code I've written is in production and maintainable by others years after I moved on to other things. Self-documentation features of the programming language play a crucial role. The rapid adoption of JavaScript and Node.js in the enterprise … Continue reading TypeScript starts where JavaScript leaves off

Node.js is a perfect enterprise application platform

In a July 2017 article, Node.js Foundation surveyed developers around the world asking them how they use Node.js. As it turns out, Node.js is taking over the world of business applications and the enterprise by storm and is rapidly supplanting platforms like Java which has to do with a few factors. JavaScript Node.js is a … Continue reading Node.js is a perfect enterprise application platform

Design patterns in TypeScript: Factory

A Factory hides the details of instantiating objects within a class hierarchy. The client provides some information regarding the object it needs. Based on that information the factory determines which class of objects to instantiate and how to go about it. Factories are typically Singletons but don’t necessarily need to be, and it depends on … Continue reading Design patterns in TypeScript: Factory

Design patterns in TypeScript: Chain of Responsibility

In event-driven systems messages produced by one object can be handled by one or more other objects. None of the objects need to know of one another – all they need to share is a common mechanism for distributing messages. Messages are sent from one object to another making them part of a chain. This … Continue reading Design patterns in TypeScript: Chain of Responsibility

I built an ultimate development environment for iPad Pro. Here is how.

I've been trying for a long time to come up with a setup for using my iPad Pro as a development tool. There is a ton of options out there, mostly in the form of text editors and terminal emulators or some combination thereof. None made me happy. I want a full IDE, with no … Continue reading I built an ultimate development environment for iPad Pro. Here is how.

Singletons in TypeScript

Singleton

A singleton[1] is a pattern that guarantees there is a single instance of an object in the system. A singleton can maintain a state which is shared across the entire system. Singletons abstract their internal workings from the rest of the system. Singletons are common in business applications. They help model real-life business processes that … Continue reading Singletons in TypeScript