Scala-IOT: Getting started with RaspberryPi without Monitor or Screen.

Hey folks, We are back again ! ( Did you miss me? ) A big Moriarty Fan ! 🙂 So where we left was, now we have a basic understanding of IOT i.e. Internet of things and we know which protocol it uses…

Source: Scala-IOT: Getting started with RaspberryPi without Monitor or Screen.


Scala vs Kotlin


It’s been a long time since I’ve updated this blog. Over the year I’ve moved away from Scala as my preferred language and towards Kotlin. I’ve found Kotlin a refreshing approach as its borrowed a lot of the good things I liked about Scala but kept it simple and practical by avoiding a lot of the gotchas and ambiguity that can exist in Scala.

Here is a collection of things I like about Scala and Kotlin and also a comparison of how these features are accomplished in each language.

Type Declaration and Inference

Something I love about both these languages is they both have static typing with type inference. This gives you the power of compile time type checking with out the declarative boiler plate. Largely it works the same in both languages. Both languages also have preference to immutable type declaration as well with the optional type declaration being…

View original post 1,243 more words

Deep Learning – Simplified

The buzz word is around for a few years in the analytic world, with companies investing heavily to fund the research. From understanding human perception to building self-driven cars deep learning comes with a package of great promises. I was thinking to myself as how I could put these concepts in simple terms which led this blog post. So lets get started.

What is deep learning?

 The foundations of deep learning has it’s inspiration from the ability of the human beings to perceive things as they appear to him. The human perception is  a miracle of nature. Well, lets try answering this – Which of the following pictures has a bi-cycle in it?


Well, I quite liked the banana!. But I am sure you would still go for  pictures 2 and 3. It would have taken a second for you to look at the images and make the classification unconsciously…

View original post 1,112 more words

IOT : Introduction to Internet Of Things.

Knoldus Blogs

Recently this word IOT is gaining lot of popularity. And we see a lot of news on it like the world is moving towards IOT , and its the next big thing and smart cities are no longer a fiction  and many other news like that.

As we are also a part of this world 😉 so we start digging into this and start exploring this land of new opportunities. So lets start with first things first,

What is IOT?

As wikipedia says, The internet of things (IoT) is the network of physical devices, vehicles, buildings and other items—embedded with electronics, software, sensors, actuators, and network connectivity that enable these objects to collect and exchange data.

So basically the vision is the world where each and everything is connected to the Internet and can be controlled from anywhere, these things can be anything…

View original post 717 more words

Neo4j with Scala : User Defined Procedure and APOC

Knoldus Blogs

In the last blog Getting Started Neo4j with Scala : An Introduction which got the overwhelming response from Neo4j and Dzone. We discussed about how to use Neo4j with Scala. For recap Blog and the Code. Now we are going to take one step ahead .

As we know that in the Relational Database, Procedure provide advantages of better performance, scalability, productivity, ease of use and security.

In the Neo4j we also used APOC and User Defined Procedure which provide same advantages which we get in the Relational Database.

User Defined Function

We used user defined procedure in the Relational Database which we store in the database and call from there whenever needed. In Neo4j we also do the same thing. Here we create procedure method with the @Procedure annotation.

When we annotated with @Procedure, it takes any Cypher Type as parameters and returns Stream of Data…

View original post 797 more words

Scala, Couchbase, Spark and Akka-http: A combinatory tutorial for starters

Knoldus Blogs

Couchbase and Apache Spark are best so far , for the in-memory computation. I am using akka-http because its new in the business. If you are not a big fan of akka-http and don’t think it is yet ready for production then you can take a look on this blog, which displays how to do the same task using Spray.

If you are new to all these technologies and all these sounds just like some weird names 😉 do not worry we will walk through step by step and at the end you will be able to make a REST Api that can be deployed on Spark Cluster with Couchbase as the database.

So first things first :

What is Couchbase ?

Couchbase is one of the best in-memory database with lots of capabilities and a user friendly UI to manage the database. It  is a NoSQL document database with…

View original post 493 more words