Docker REST API wget request and responses
This blog will list Docker wget requests. This assumes you are using boot2docker with https connection. Create an Image Request Response
View ArticleWrite Infinite FizzBuzz Sequence in Java 8
One way to write FizzBuzz program in Java 8 using Stream API. Write a program that prints the integers from 1 to 100. But for multiples of three print “Fizz” instead of the number, and for the...
View ArticleLet’s master Java 8 Date Time API
So far in this series we have focussed on functional aspects of Java 8 and looked at how to design better API’s using Optional and default and static methods in Interfaces. In this blog, we will learn...
View ArticleHow to programmatically get process id of a Java process
This is how you can get process id of a Java process.
View ArticleJUnit Rule + Java 8 Repeatable Annotations == Clean Tests
Last couple of months I am spending most of my free time writing Docker Java REST API client using RxJava and OkHttp. I have been following TDD for developing this API. Some of the test cases in...
View ArticleFinatra Tutorial — Build Beautiful REST API The Twitter Way
Finatra is an open-source project by Twitter that can be used to build REST APIs in Scala programming language. Finatra builds on top of Twitter’s Scala stack — twitter-server, finagle, and...
View ArticleUsing boto3 with Jython
Few days back I had a requirement that I had to use boto3 with Jython. boto3 is AWS EC2 python SDK that you can use to work with various Amazon Cloud API’s. Jython is the JVM implementation of Python....
View ArticleSBT: The Missing Tutorial
Welcome to the second blog of 52-technologies-in-2016 blog series. From last year, I have started using Scala as my main programming language. One of the tools that you have to get used to while...
View ArticleSentiment Analysis in Scala with Stanford CoreNLP
So far in this series, we have looked at finatra and sbt open-source Scala projects. This week I decided to learn Stanford CoreNLP library for performing sentiment analysis of unstructured text in...
View ArticleSlick: Functional Relational Mapping for Mere Mortals Part 1
Welcome to the fourth blog of 52-technologies-in-2016 blog series. Today, we will get started with Slick. Slick(Scala Language-Integrated Connection Kit) is a powerful Scala library to work with...
View ArticleSlick 3: Functional Relational Mapping for Mere Mortals Part 2: Querying data
Last week we learnt the basics of Slick library. We started with a general introduction of Slick, then covered how to define a table definition, custom mappers, and perform insert queries. Today, we...
View ArticlePython abc.py Puzzle
Let me start with the confession that I am not an expert Python developer so this might not be a surprise for some of you. Yesterday, I was working on a Python REST API client using awesome requests...
View ArticlePython json object_hook
Today, I was building a REST client for one of the REST server applications using Python. I decided to use Python requests library for writing my REST API client. Requests is a very easy to use library...
View ArticleBuilding A Lightweight Scala REST API Client with OkHttp
Welcome to the sixth blog of 52-technologies-in-2016 blog series. In this blog, we will learn how to write Scala REST API client for Medium’s REST API using OkHttp library. REST APIs have become a...
View ArticleHugo: A Modern WebSite Engine That Just Works
This week I decided to take a break from Scala and scratch my own itch my building an online bookshelf using Hugo. Hugo is a static site generator written in Go programming language. You can use it for...
View ArticleCoreOS for Application Developers
Welcome to eighth week of 52 Technologies in 2016 blog series. This week we will learn about CoreOS, an Open source Linux distribution built to run and manage highly scalable and fault tolerant...
View ArticleRealtime People Counter with Google’s Cloud Vision API and RxJava
Welcome to the ninth blog of 52 Technologies in 2016 blog series. Recently, Google released Cloud Vision API that enables developers to incorporate image recognition in their applications. Image...
View ArticleGatling: The Ultimate Load Testing Tools for Programmers
Welcome to the tenth blog of 52 Technologies in 2016 blog series. Gatling is a high performance open source load testing tool built on top of Scala, Netty, and Akka. It is a next generation, modern...
View ArticleSentiment Analysis in Python with TextBlob
Welcome to the eleventh blog of 52 Technologies in 2016 blog series. If you are following this series then you would have probably noticed that I already wrote week 11 blog on tweet deduplication. I...
View ArticleDocker Machine Error Unable to Query Docker Version
Today, when I created a new docker machine I started getting Unable to query docker version: Get https://192.168.99.101:2376/v1.15/version: x509: certificate is valid for 192.168.99.100, not...
View Article