How are you doing it? Do you have one big pipeline script with all sorts of logic that incorporate everything? Or do you have a lean pipeline where a single stage does one and only one thing well? I've seen many different ways in which companies organize their CI/CD pipelines. And it works for them. But there are a few designs that were really simple to understand and … [Read more...] about Jenkins Pipeline Script Should Not Contain Complex Logic
Have you ever got a chance to review a Pull Request that contains the change across 100 different files? If you have not then you are in a wonderful place. But if you have... then this article is for you and your team. Big PR takes a lot of time, concentration and focus to understand what all parts of the code have changed. This is such a turn-off for the reviewers that … [Read more...] about How To Break A Big Pull Request Into Multiple Smaller PRs?
I have been investing in a particular stock for some time now. Every time I buy some of those shares, it drops in value. It has seen a steady decline in the past few days with slight spikes here and there. The graph is like a declining slope. But I'm not investing in the market rather my trust in the company. I've used its services and I know it has amazing potential. … [Read more...] about Would You Keep Investing?
Wait... before you start reading... get this - it is a very important topic. Maybe you are someone who already knows about idempotence or someone who is hearing this word for the first time. This article is going to help you all in some way or the other. I'm a backend engineer. No that's not right... I'm a full-stack developer specialised in backend development. Yeah, … [Read more...] about Idempotence Is Very Critical In Backend Applications
Lately, my days are passing in a snap. I'm working more than 10 hours a day without break. And not because someone is forcing me to but because the work is so interesting. Almost everything around me is new and I really can't stop absorbing the essence of it all. Today was one such day. I was quite busy from the start. I don't know how long can I keep up this positive … [Read more...] about Let’s Do Iterative Merge Sort After A Hectic Day At Office
Lately I have been coming across posts and questions on the forums asking how to learn programming quickly. This question is pretty vague but shows an intent that the person is looking for guidance on how to start on a path to becoming a software developer that would probably become a full-time career. And if that is the case then I would recommend you to start with any … [Read more...] about Selection Sort Is A Good Way To Get Started With Algorithms
Malicious + Software = Malware This is one heck of a topic under ethical hacking. Malware is any piece of software that was built with the intention to do some damage to the device on which it is running on. There are a lot of variants. Every Malware is built with a dedicated objective. That depends on the hacker who designs in. That said, the main objective of every … [Read more...] about What is Malware? Types Of Malware? How To Protect Yourself Against It?
There are literally 3 rules to be winning. In this article I will be discussing about it. Usually, people think that becoming successful is hard. Or it requires some kind of divine talent for doing things. Or I have even heard people say that it's not for me. I was not born to do this. This is not my calling. And to all the people who thinks that people are born with some … [Read more...] about How To Be Winning?
I've always talked about the importance of achieving financial freedom. Financial freedom can give your life a purpose. You can live your life fearlessly and do what you love without ever worrying about money. Travel around the world, play your favourite sport or do nothing. You have the freedom to do anything. In this article, I will talk about 5 Ways through which you … [Read more...] about How To Become Financially Independent In India?
What would you do if your professor ask you to come up with a solution for a symbol table that is targeted only for string-based keys which are Faster than Hashing and more Flexible than BSTs? Trie Data Structure is the solution that you will be looking for. Trie is a fast search and miss data structure when it comes to storing key-value pairs where key is a string. This … [Read more...] about Trie Data Structure Implementation | (PUT, GET, DELETE)
It has been a long time since I reviewed a product. But recently I had to research the best mid-range laptops that are available on the market because one of my friends called me and asked me to pick a laptop for her. I'm always waiting for such opportunities. So in this article, I will be sharing the top 3 best laptops that can be used for almost every normal use case. 1. … [Read more...] about 3 Best Laptops (Mid-Range) For Every Use Case In India
Distributed Systems are complex. There is no doubt about it. But thanks to the experts and the years of experience and experimentation, we now have some of the reference architectures. In this article, I will be discussing four distributed architectural patterns along with their pros and cons. This will be a good reference point for someone who is just starting out or … [Read more...] about Distributed System Architectural Patterns
This is a medium difficulty problem in Leetcode. This is medium only if you are talking in terms of algorithm and time complexity. But let's say you have to build a calculator for an enterprise. The calculator that will be extensible, maintainable and optimized at the same time. How would you build such a calculator? Well the first thing would still be coming up with the … [Read more...] about Basic Calculator Leetcode Problem Using Object-Oriented Programming In Java
Finally, Directed Weighted Graphs have made their way to the Advent Of Code 2020 on Day 7. If you are unfamiliar with graphs then I highly recommend you to go through the below articles: Undirected Graphs and Graph Processing This above article will give you enough information to get you started with today's problem. On this note, let's start with today's problem. We … [Read more...] about Advent Of Code 2020 – Day 7 – Handy Haversacks
This problem was a bit hard to understand at first because the information is not directly given, you have to derive it from the given input. The story goes like this, your aeroplane has reached a regional office where you will switch to a much larger plane, custom declaration forms are distributed to passengers. The form asks a series of yes-or-no questions marked from … [Read more...] about Advent Of Code 2020 – Day 6 – Custom Customs
You've made it through the passport verification phase. Now, it's time to board the plane. You board the plane but then you realize that you have dropped your boarding pass. So, how are you going to handle this situation. Well, you are a developer, you know only one thing and that is to write code. That is what you are going to do. Somehow, you scanned all the nearby … [Read more...] about Advent Of Code 2020 – Day 5 – Binary Boarding
I just love the way Eric Wastl links the story. This time it's about passport processing. Do visit the link to read the story and understand the task better. But at a high-level, you need to understand this - there are two types of documents: North Pole CredentialsPassport The passport scanner machine is slow and facing some problem detecting which passport have … [Read more...] about Advent Of Code 2020 – Day 4 – Passport Processing
Great job reaching here so far. Finally, we've logged in to Toboggan successfully, now we have to travel to the airport through a jungle. The path is not very good and has a lot of trees. So, here comes our next task. The trees in this area only grow on exact integer coordinates in a grid. You make a map (your puzzle input) of the open squares (.) and trees (#) you can see. … [Read more...] about Advent Of Code 2020 – Day 3 – Toboggan Trajectory
The Password Philosophy is the topic of today's discussion. Since there is not much to do with today's problem apart from the string parsing, I thought of doing it in an object-oriented way. The problem statement is mostly based on the string parsing. You will get a list of lines with the password and password check policy. The task is to parse the policy and password from … [Read more...] about Advent Of Code 2020 – DAY 2 – Object-Oriented Way
In this article, I'll discuss on the Day - 1 problem of "Advent of Code". And from today onwards, I will try to discuss everyday's problem. Make sure you subscribe to the blog to stay in touch. Feel free to share your ideas or even post your solutions in the comment section below. Let's start... PART - 1 of DAY - 1 The problem is simple - Given a list of years, … [Read more...] about Advent Of Code 2020 – Day 1 – Report Repair