Author: Rachel Jones

slack-scala-client

Introduction to slack-scala-client

Reading Time: 3 minutes Here, we are going to see how we can communicate on slack with the help of slack-scala-client. What is Slack? A messaging app for teams. Slack’s channels help you focus by enabling you to separate messages, discussions and notifications by purpose, department or topic. However, if you need privacy, Slack provides that as well with invite-only channels. Slack integration with our application Integration is what Continue Reading

Quorum : Ethereum-based distributed ledger protocol

Reading Time: 3 minutes In Simple words Quorum is an Ethereum-based distributed ledger protocol that supports transaction and contract privacy. The primary features of Quorum. Transaction and contract privacy Voting-based consensus mechanism Network/Peer permissions management Higher performance Apart from these feature Quorum includes one of the powerful feature that is support of Private and Public Transactions. Private Transaction :- are those Transactions whose payload is only visible to the Continue Reading

BlockChain Internals: Data Storage

Reading Time: 2 minutes A BlockChain is a public ledger that create a digital ledger of transactions and share it among a distributed network of computers. BlockChain uses cryptography to allow each participant on the network to manipulate the ledger in a secure way without the need for a central authority. BlockChain is just an data structure i.e. how logically data can be put together and stored. BlockChain in Continue Reading

Templating in NodeJs with simple signup example with MongoDB

Reading Time: 3 minutes In this blog we will see the comparison of different NodeJs templating engines as well as we will go through the basics of NodeJs then we will create a signup application in NodeJs with MongoDB as backend. If you are starting with NodeJs from this blog post, you are right place, when i started NodeJs previous week and tried some examples i got into the Continue Reading

Display long dynamic text into adjacent columns like newspaper layout

Reading Time: 3 minutes Folks, If we have quite a long text, and we want to show it into three adjacent columns, One way to implement it via three <div>’s  or <p>’s in HTML and adding CSS properties. For example If we have a long text as following : And We want to show it into three separate adjacent columns for better readability, it can be done as follow: HTML: And furthermore for adjacent Continue Reading

Deep Dive Into Elasticsearch

Reading Time: < 1 minute In this presentation, we are going to discuss how Elasticsearch handles the various operations like insert, update, delete. We would also cover what is an inverted index and how segment merging works. You can also watch the video on youtube:

Hadoop Word Count Program in Scala

Reading Time: 2 minutes You must have seen Hadoop word count program in java, python or in c/c++ but probably not in Scala. so, lets learn how to build Hadoop Word Count Program in Scala. Submitting a Job to Hadoop which is written in Scala is not that easy, because Hadoop runs on Java so, it does not understand the functional aspect of Scala. For writing Word Count Program Continue Reading

Autocomplete using Elasticsearch

Reading Time: 2 minutes You would have seen in a movie data store like IMDB, Whenever a user enters ‘g’, the search bar suggests him that you might be looking for gone girl or all the movies that have ‘g’ in them. This is what an Autocomplete or word completion is and it has become an essential part of any application. Autocomplete speeds up human-computer interaction by predicting the Continue Reading

Introduction to Apache Hadoop: The Need

Reading Time: 3 minutes In this Blog we will read about the Hadoop fundamentals. After reading this blog we will be able to understand why we need Apache Hadoop, So lets starts with the problem. Whats the Problem :- The problem is simple: the storage capacities of hard drives have increased massively over the years, access speeds—the rate at which data can be read from drives— have not kept Continue Reading

Shapeless- Generic programming for Scala!

Reading Time: < 1 minute Knoldus organized a half an hour session on 15 July 2016 at 4:00 PM. The topic was “Introduction to Shapeless- Generic programming for Scala !”. Broadly speaking, shapeless is about programming with types. Doing things at compile-time that would more commonly be done at runtime to ensure type-safety. A long list of features provided by Shapeless are explained in the enclosed presentation. Here is the Continue Reading

Introduction to Shapeless !

Reading Time: 3 minutes Shapeless is a type class and dependent type based generic programming library for Scala. It is an Open Source project under the Apache License v2, hosted on github. Well, simply put, it is a well known library for generic programming in scala. Earlier, reflection APIs were used to write generic programs. However, since reflection is usually done in runtime, it sacrifices type-safety, and introduces runtime Continue Reading

Introduction to Scala Macros

Reading Time: < 1 minute Hi all, Knoldus have organized a half an hour session on 17th Jun 2016 at 5:00 PM. The topic was Introduction to Scala Macros. Many people have joined the session. I am going to share the slides here. Please let me know if you have any question related to linked slides.   Here is the video of that session:

Initializing data with eager binding in play

Reading Time: 2 minutes I just came across a scenario where I had not to choose Play GlobalSettings to execute some tasks on start up of the application, as it is being deprecated in Play 2.5. So as the alternative what we can do to make things happen at the time when application just gets started. So whatever was done using GlobalSetting.onStart and GlobalSetting.beforeStart needs to be implemented using the dependency injection. For this, we Continue Reading