Insights and perspectives to keep you updated.

Highlights of Scala Days, New York 2018

Scala Days was held on June 19-21, 2018 in New York and hosted by Lightbend, which brings together hundreds of like-minded Scala developers, engineers, and sponsors from around the world to exchange info, learn from keynotes and to celebrate Scala community. Did you miss the event? Don’t worry; we’ve got you covered. Vikas Hazrati and Ram Indukuri from Knoldus Inc. attended Scala Days 2018, New Continue Reading

Lagom 1.4: Response compression | GZip Encoding

In the previous blog, we discussed response compression using GZip filter for Lagom 1.3. Here, we will go over the steps we use to add similar response compression in Lagom 1.4. The steps remain the same with minor changes due to underlying changes that came as Lagom upgraded from Play 2.5 to Play 2.6. Step 1: The code The first step is to write the Continue Reading

monads

ScalaFP: Let’s Find The Reasons Behind Monads.

Monads in Functional Programming play an important role but they mostly confuse the beginners. One of the reasons for the confusion is that they mostly have a knowledge of imperative style programming, where they have no idea about function composition and its importance. In the terms of functional programming, the composition is the root where we have a set(Z) and we compose the elements of Continue Reading

Migrating to Lagom 1.4.x in Java

This blog will help you to migrate your Lagom service from 1.3.x to 1.4.x. Here, I have shared few of the things that need to be considered while migrating your Lagom version. Play and Akka version supported: Lagom 1.4 updates to the latest versions of PLAY(2.6) and AKKA(2.5). That means, the part of the code that uses Play and Akka APIs directly, needs to be Continue Reading

Custom ErrorHandlers and Lagom

Hello everyone, it’s been quite a while now since I started working on Lagom(java) and it was only recently when I came across a scenario wherein I was required to override the ErrorHandler provided by Play in my Lagom microservice. As you all already know that Lagom is built on top of Play and Akka, so there will be times when we’ll be required to Continue Reading

Usage of “?.” in Angular

In some code snippets, you may have seen that Angular expressions have a question mark after them. Angular refers to it as ‘Safe Navigation Operator’.It makes sure that we are not seeing null and undefined values in our application when we want to access properties of an object. “Safe Navigation Operator” can be used to prevent Angular from throwing errors, when trying to access object Continue Reading

BASIC UNDERSTANDING OF WEBSOCKETS IN ANGULAR

Here we are going to get a basic understanding of how to establish a connection between client browsers and the application server over a TCP connection using WebSockets in angular. Websockets WebSocket is a technology that allows two-way communication over single TCP socket. It is designed to be used between client’s browser and application server. Role of RxJS in Websockets RxJS(Reactive extension for Javascript) plays Continue Reading

Authentication in Akka-Http

Hi All, In this blog, I will try to explain what is Authentication and why we need this and how you can do authentication in Akka HTTP What is Authentication:- Authentication is the process of establishing a known identity for the user, whereby ‘identity’ is defined in the context of the application. This may be done with a username/password combination, a cookie, a pre-defined IP or Continue Reading

Manipulating Server returned dates at client Side in Angular

Hey Visitor, Have you ever faced an issue with the date values on your website, when the date and time returned from server doesn’t change according to the client timezone , for eg. values returned from server at US will be different for a client at India so we need to manipulate the received time according to Indian Time Zone. So recently, I encountered this Continue Reading

Best Practices for Cassandra Data Modeling

People new to NoSQL databases tend to relate NoSql as a relational database. But there is quite a difference between those. For people from relation background, CQL looks similar but the way to model it is different. Picking the right data model is the hardest part of using Cassandra. I will explain to you the key points that need to be kept in mind when designing a schema Continue Reading

Cassandra User-defined types(UDTs)

Cassandra supports a rich set of data types that we can use to create our tables. You can refer to all the supported data types from here. Other than that Cassandra also provides support to user-defined data types. User-defined types (UDTs) can attach multiple data fields, each named and typed, to a single column. The fields used to create a UDT may be any valid Continue Reading

Code Combat II : The Code Battle For The Vanguard Continues…

“If you can dream it, you can do it. ”  -Walt Disney For some coding is a job. For some, it is an exercise. But for us folks here at Knoldus, it’s a Passion. So in order to bring a twist in the daily work schedule, Knoldus held an overnight Hackathon competition within the organization on 18th May 2018 which presented an opportunity for every Knolder(employees Continue Reading

RUST: Quick Start & Exploring Cargo

This blog will guide you through the brief introduction to RUST, installation, uninstallation, version updating and quick start with its own build tool CARGO. RUST – safe, concurrent, and practical language, much similar to C++ (syntactically) supports functional as well as imperative-procedural paradigms. Setting up RUST in your system: For Linux or Mac: It’s quick and easy to install and setup your system for RUST Continue Reading

%d bloggers like this: