Category Archives: Uncategorized

Setting up IntelliJ IDEA behind Proxy

Plugins Download First you need to set proxy for plugins download. Go to File\Settings and open Plugin tab. Get Proxy settings from internet explorer (Internet options) and update it here: org.scala-sbt#sbt;0.13.16: not found Here you need to use the same version build.propeties file as the one in sbt launcher. Check SBT Version on your machine… Continue reading »

SBT Behind Proxy

SBT Behind Proxy If you are running sbt behind firewall, you need to update proxy settings to be used: sbtconfig.txt Update the sbtconfig.txt where you have sbt installed: In addition to this, please make sure that sbt is added to $PATH variable. Using SBT from Git Bash Even though I had it configured as follows,… Continue reading »

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 »