Tech Blogs

Getting started with Svelte

Svelte is a lightweight modern JavaScript library (4.57KB minified) intended for use on projects where legacy browser support is not necessary. It uses modern JavaScript (querySelectorAll, classList, matchesSelector) to help make it as lightweight as possible and therefore only works on the latest version of modern browsers E.g. Chrome, Firefox, Opera, IE10+. Svelte is used to develop cybernetically enhanced web apps. Why Svelte? Svelte is Continue Reading

How to deal with Inheritance while using Lombok builder

Today, I came across a problem and found a beautiful solution for it, which is pretty much straight forward, but the problem may occur to anyone while using the lombok library for java. So let’s look at the problem. The Problem I have a class Person, which consists of some fields. It is annotated with the @Builder annotation of lombok, so that lombok can generate Continue Reading

Manage API Doc via Swagger

Swagger is a framework for describing your API using a common language that everyone can understand .Think of it as a blueprint for a house. Swagger reduces the manual work out of API documentation, provides a range of solutions for generating, visualizing and maintaining API docs.You can use whatever building materials you like, but you can’t step outside the parameters of the blueprint. For millions Continue Reading

Http/2 Client in Java9

Hypertext Transfer Protocol (HTTP) is an application protocol that is, basically used as a request/response mechanism for data transformation. HTTP is based on the Client/Server model. Client/Server model can be explained as two computers, Client (receiver of service) and Server (provider of service) that are communicating via requests and responses. Talking about earlier HTTP which is currently, the foundation of data communication for the World Wide Web. WWW Continue Reading

Knoldus-Scala-Spark-Services

StackWalker in Java9

StackWalker was introduced in JDK9 as Stack Walking API or JEP-259.  StackWalker gives the snapshot of the stack trace of the current thread at any given point of time and has methods to walk over it. Now, we can easily filter out the information required, sort them and perform almost all the stream operations provided by Java.

Knoldus-Scala-Spark-Services

Jshell : Java REPL

A good programmer is always lazy when it comes to writing the code. They always try to complete their functionality in minimum lines of code. The same thing is expected by them when it comes to debugging or learning new features. In order to fulfil this requirement, almost every programming language has a REPL, a tool which has proved to be of great importance, especially for Continue Reading

What’s New in Angular 8

I am sure you all are excited about the Angular 8 release, So your wait is over now. In this blog, we will discuss newly introduce features and also discuss the breaking features which is partially introducing a feature which is yet to be developed completely and will introduce in Angular 9. Angular 8 is finally here and includes a preview of Ivy, service worker Continue Reading

Delete operation in Dgraph using GRPC

Deletion in dgraph is an easy operation we just have to keep few things in mind before deleting anything in dgraph. Before I explain how can we delete I am going to explain the different scenario. For example, Delete the edge Delete the node. Delete the one value in a list We will take a scenario where we have a person who has the following Continue Reading

protecting sensitive data in docker

Running a Cron Job in Docker Container

Setting up a cron job within a docker container might not sound new to many of us. But depending upon the base image that we use to build the docker image we might end up struggling with different issues. In this blog, I will walk you through the different challenges that I dealt with while setting up a cron using bash in a docker container. Continue Reading

Writing Java APIs using Apache Atlas Client

In the previous blog, Data Governance using Apache ATLAS we discussed the advantages and use cases of using Apache Atlas as a data governance tool. In continuation to it, we will be discussing on building our own Java APIs which can interact with Apache Atlas using Apache atlas client to create new entities and types in it. How to create new Entities and Types using Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!