Author: Ramandeep

The Law of Demeter

You’ll often get to hear from good programmers about having “loosely coupled” classes. What do they mean by saying that? Let’s understand this first before jumping onto the Law of Demeter. Loosely Coupled  In object-oriented design, the amount of coupling refers to how much the design of one class depends on the design of another class. In other words, how often do changes in class

Clean Code – Robert C. Martin’s Way

Writing good code in accordance with all the best practices is often overrated. But is it really? Writing good and clean code is just like good habits which will come with time and practice. We always give excuses to continue with our patent non-efficient bad code. Reasons like no time for best practices, meeting the deadlines, angry boss, tired of the project etc. Most of Continue Reading

Meetup- Boost your App with Gatling

Hi all, Knoldus has organized a 45 mins session on 23rd March 2018. The topic was Boost your App with Gatling. Many people have joined and enjoyed the session. I am going to share the slides here.

Docker Architecture

In my previous blog, we had a little glimpse of what Docker is. It’s time to take one step ahead of that. Let’s understand more about Docker through its architecture. A Quick recall WHAT? Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the Continue Reading

What is Docker?

Docker is not a new term to almost all of us. It is stealing the thunder everywhere. But what exactly Docker is? In simple words, Docker is a software containerization platform, meaning you can build your application, package them along with their dependencies into a container and then these containers can be easily shipped to run on other machines. Okay, but what is Containerization anyway? Continue Reading

Blaze your App with Gatling

Every time we write code, we think if it works fine on local, it would work fine on production too. We do check on production as well but for limited users or non-real scenarios. A system may run very well with only 1,000 concurrent users, but how would it run with 100,000? It may or may not respond on time. Are we doing anything to deal Continue Reading

Jenkins next step: Pipelining

In my previous blog, I briefly gave an introduction to continuous integration, what Jenkins is and we made our first build using Jenkins. Now, in this blog, we will see how can we build a Pipeline in Jenkins. Pipeline – what and why? When the number of plugins executed on SCM or code, then it is known as Pipelining. With the help of Pipeline plugin, users Continue Reading

Jenkins for Continuous Integration

Jenkins is not a new term to almost all of us. It’s a continuous integration/continuous deployment server. Before starting off with Jenkins, let’s first understand what Continuous Integration is. Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.

Validating XML using XSD

Lately, I have been working on a use case where I was asked to parse XML for its validation and retrieve its values. There are two different document type definitions that can be used with XML: DTD – The original Document Type Definition XML Schema – An XML-based alternative to DTD A document type definition defines the rules and the legal elements and attributes for Continue Reading

Scala Best Practices: SAY NO TO RETURN

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler Writing readable and understandable code is often overrated. I feel it’s not big a deal. One should just start following the code conventions right from the start of their career. They’re simple rules just like good habits. Talking about Scala coding conventions, the most basic Continue Reading

Knolx- Machine Learning with Decision Trees

Hi all, Knoldus has organized a 30 min session on 11th August 2017 at 4:15 PM. The topic was Machine Learning with Decision trees. Many people have joined and enjoyed the session. I am going to share the slides here. Please let me know if you have any question related to linked slides. Machine Learning with Decision trees from Knoldus Inc. Here’s the video of the session: For Continue Reading

Is your decision tree accurate enough?

In my previous blog, we were successfully able to make the decision tree as per the given data. The story doesn’t end here. We cannot just fit the data as it comes. This leads to Overfitting in the Decision tree. Overfitting – what and why? If a decision tree is fully grown, it may lose some generalization capability. This is a phenomenon known as overfitting.

Machine learning with Decision Trees

“Machine learning is the subfield of computer science that gives computers the ability to learn without being programmed.”    – Arthur Samuel, 1959 Machine learning is a buzzword in the technology world right now. It is fun, challenging, puzzling, and even a bit scary if you’re one of those people that believe robots will someday steal our jobs and rule the world. Whether we like Continue Reading

%d bloggers like this: