Category Archives: Uncategorized

Using TypeSafe’s Config In Scala

Using TypeSafe’s Config In Scala Our application behavior is generally defined with a set of configurations. Instead of hard-coding the values in the code, we like to define them separately in a configuration store. In this post, we are going to see how we can define configurations using TypeSafe’s config. Let’s create a SBT project…. Continue reading »

Structural Sub Typing in Scala

Structural Sub Typing in Scala

Structural Sub Typing in Scala Structural typing is compile time checked duck-typing. It allows us to specify the characteristics of a required type instead of an actual concrete type. Let’s create a new SBT project ScalaTyping. In this post we are going to discuss how Scala supports structural sub-typing. Let’s create a simple Scala SBT… Continue reading »

Apache Thrift And its usage in C#

Apache Thrift And its usage in C#

Apache Thrift And its usage in C# Services are based on the idea of RPC (Remote Procedure Calls). Apache Thrift is just another framework allowing us to write services but it makes it easier to write them by enabling polyglot development. Apache Thrift enables writing cross language services development. Why do we need Apache Thrift… Continue reading »

Observables in Javascript

Observables in Javascript

Observables in Javascript Observable pattern allows us to execute code blocks when a change happens. There are different implementations to support observables in different programming languages. In ECMAScript 6, Object.Observe() was introduced for the same purpose. It allows us to write functions which get called when an object’s properties are changed. Let’s look at the… Continue reading »

Running Kafka on Windows

Apache has provided an amazing documentation for Kafka. It also includes step-by-step guide to run download and run kafka. Unfortunately, the documentation misses any info for running it on windows platform. I really had to struggle running it on my windows box, so i thought i should add it here for anyone else going through… Continue reading »

Kafka – Introduction and Terminologies

Kafka – Introduction and Terminologies

Kafka – Introduction & Terminologies Kafka is an apache project originally introduced by LinkedIn as an open source project. It is a distributed, fast, durable and scalable publish / subscribe messaging system. This messaging is also persistent with constant time performance [ O(1) ] even with many terabytes of storage. It also supports parallel data… Continue reading »

Beacon Hardware Decisions

Beacon Hardware Decision Beacon provides us the ability to create applications which are location aware, context aware and personalized. This is the data which cannot be faked. Beacons come in different shapes and sizes. Since they all need to be based on iBeacon specification, it seems that we can be provider agnostic here. Had this… Continue reading »