Skip to main content

Posts

What The Hell Is gRPC?

Time is the longest distance between two places. ― Tennessee Williams  If you are a software engineer and you work on websites or any other software which is in high demand by your consumer, but you see that some parts of your application say the products page gets higher demand than any other services you provide at some point of time or let's say you want to loosely couple your application for your application to be developed more easily and flexibly.  These are a few use cases, there are many more. We are seeing a trend in the industry getting more aligned toward following microservices patterns while building the application. The When, Why, Where, and How parts of microservices can be easily found on the internet.  Here I want to talk more about some new technologies which have become an integral part when we talk about microservices. So this blog would be more fruitful for people who know the  When, Why, Where, and How  parts. Today, I will talk a...
Recent posts

Spring Security - An Introduction

Building an application without security is like building a house without doors – Unknown When I was in my college days, all I used to care about was creating an application that would bring a change. My thought process was limited to the development of the UI + Backend + Database. I even created a website that would register users, retrieve logged-in users, and book bikes and cars for them. It was a great portal to book and track your bookings after logging in. But all this changed when I came across this subject in my third year based on networking. What changed in my perspective was the following : I came to know that the data will travel from one router to another before reaching the actual server. For example - let's say the server is in the USA, and I send a request from India. It will pass through a lot of networking devices before reaching the actual recipient. This means that there might be a scenario, where someone intercepts this data in the middle, ...

Lambda in java

Java is to JavaScript what car is to Carpet – Chris Heilmann Hello to all the java enthusiast out there! Today I will talk about lambda's in java and about colon operators. So What exactly is a lambda? Simply put, it is a function without any name, any return type or any modifier. Let us understand with a simple example      public void divide(int a , int b) {           System.out.println(a/b);      } The above code has the following attributes : Name : divide Modifier : public There is no return type here. For lambda, we will remove these first as -      (int a , int b) {           System.out.println(a/b);      } If you have some knowledge about lambda's, you might think - Hey ! Where are those arrow things? We add them after the parameters :      (int a , int b) -> { ...

Developing an app with react native and firebase - firestore - Part 1

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. –John F. Woods Let's face it, we are two years into work from home, quarantined from the outside and this makes me wonder that how lucky I am as an engineer to be able to have so many domains open for me to work on, with which I could eventually make money, help others. In other words, it gives me the power to bring a change. I just can't think of a problem where technology cannot help. As soon as I find a problem in minutes my mind starts to work on how it can be solved technically. I think this development is what our college provides us with, to open our technical aspects. Today, I will be talking about react-native and firestore, making app development a little painless and fast. If we are looking to solve a simple everyday problem and want an app to do it for us, an app that is not very complex - react native is the way to go. So,...

My Every day's Dilemma

Ideas are easy. Implementation is hard. –Guy Kawasaki, Alltop Co-Founder and Entrepreneur Let me start this blog by asking a simple question. Do you want to be rich? We all know the answer to that. And usually, whenever I think in that perspective, I often think of having a passive income and then I open my laptop and start searching for ways to earn passive income. Results I get are freelancing (too many fake projects) and stuff I am not very interested in as an engineer. After searching for half an hour or so, I start thinking about what I can do with my skills and start thinking about automation and innovation. As I think about it, I usually get many ideas that could potentially help a lot of people and help me start a passive income through a startup. That is how my first venture in this domain actually failed. I just thought about the whole thing from an engineering perspective and I was a college student back then. I created the product but didn'...

My Quarantine "Efforts"

A true relationship is two imperfect people refusing to give up on each other. – Them This blog is on relationships and of course a bit of coding, otherwise it would be stupid to put it here anyways. My girlfriend and I have been having some issues lately regarding the term "Efforts". Now when I put it in front of any of my friends, They have the same reply "Efforts" and when asked what efforts are? … Nothing. I get a supposedly deep answer - Efforts come from within. What does that even mean?. So I tried some stuff to get a response from her. Well for some context we came in relationship on 28 february,2020 and guess when the lockdown started in India. Don't guess, you may as well google it. It was not even a month before the lockdown began and we flew back home. She lives more than 1500km from my state. But you know sometime you just meet the right person and you just know. We knew we had to fight this as we had so much left to say to each ot...

Basic Terminal Commands

Code is like humor. When you have to explain it, it’s bad. – Cory House Namaste Developers,  Let us have a look at some basic commands which we would like to run from our integrated terminal inside Visual Studio Code or may be outside it through command prompt or may be on a remote computer. Let us understand some basic commands and their relevance while developing a website: Change Directory Command : cd <directory name> This command is used to navigate to various directories/folders present in our system. First we should understand where we are at in the terminal and then navigate from there to our working directory or else we can just write the whole address after cd. For Example : Say we want to navigate to folder named terminal_example in our desktop. With User interface you can just navigate to desktop and double click on folder to open. But, during creation of our project, we may want to navigate ...