Choosing my physical and mental well-being over the financial blanket that wrapped me in the warmth of mediocrity was the single most good thing that happened to me last week — I submitted my resignation.
After having worked as a programmer for Corporate Giants for more than a decade I decided to take an adult gap year, starting this November (I still need to serve my 2 months notice period) till October 2022.
This is not the first time I’m leaving a job or company but this time was different. Every time I planned to move out of one I…
The “Early” in the Early retirement movement differs from person to person. Whether one wants to retire in the early 30s or early 40s depends entirely on the personal and financial commitments one has.
In any case, if by retirement one hopes to achieve the freedom to choose the when and what to spend their valuable time on without worrying about money then there is a less popular way to test the waters before going all-in.
In the corporate world, this would be named a career break or sabbatical but I see it as — A Pilot Retirement.
Women understand fashion — A 600 billion dollar industry can vouch for that. Would it then be true to say that all a woman wants is to look beautiful?
I see it as a sales and marketing trap. People and businesses have been selling these picture-perfect images of women all prettied and dressed up, and we have been buying them blindly all this time.
But how many of these fashionistas do you know of in your real life? When you think of the women around you, what image comes to mind? I bet most of us would remember women in…
While building microservices one would always think of creating a resilient system. Especially when the service has an external dependency to an API or datasource and its availability in the lower environments is questionable.
Another scenario would be when we want to take a different course of action if a certain kind of exception is thrown from the external system.
In a Microservice architecture, we can implement the circuit breaker design using any of the popular implementations. The two most popular implementations are provided by Netflix as Netflix-Hystrix and Alibaba as Alibaba-Sentinel.
Both the implementations provide the basic features needed…
Spring boot annotations make project configuration very easy and starting a project hassle-free.
But there are times when these annotations are used incorrectly.
Let’s go through a few of them and understand how to use them effectively.
This annotation is an equivalent of all the three annotations mentioned in the below list. If you are using the ones mentioned below, then do not use SpringBootApplication annotation.
These annotations are not mandatory so you could use them based on the features your application needs by default.
Validated is often confused with @Valid annotation which belongs to…
During my teen years and even a little after that, my family went through a huge financial and emotional crisis. We could only afford the basic necessities of life during this period. Dad passed away when I was 11 and Mom brought up my sister and me on a Family Pension which was very basic even by the standards of Rural India.
We relocated to a different state and Mom had to take out a loan to build our house and once the monthly payment towards the mortgage was taken out of her pension we had literally very little left…
The first time I touched a keyboard was in school, we were all given one chance to play a video game, and when the prince dies in the game, hand over the keyboard to the next Student in line. I just played it once and as it was an optional class I never went back to that room.
Later in high school, I enrolled in a crash course on Microsoft Office. It was fun for the first couple of days but then I was bored to death. How much can you tolerate MS Office right?
Later I got my bachelor's…
What is Brave?
It’s a browser, just like chrome, firefox, safari, and others. We can browse, watch youtube, read blogs and do everything one would normally do with chrome or other popular browsers.
How is Brave different?
Brave removes all the ads and ad tracking elements while loading the web page, replaces them with a few of its own advertisements (based on…
In this tutorial, we will learn to implement a simple SpringBoot application that implements the CQRS principle.
We will use Axon 4 framework in this use case. To store events, we will use Mongo DB, and instead of a repository to store and query data, we will use a static Map.
CQRS — Command Query Separation. In simple words, either perform an action on the data or query and return the data.
Axon is an open-source Java framework to develop event-driven microservices. Axon comes with Axon framework and Axon server. …
In this tutorial, we’ll walk through a simple implementation of the hexagonal architecture. Alistair Cockburn proposed this concept in 2005.
This architecture is also called “Ports and Adapters” and “Object Structural”.
We’ll go through the concepts first and then learn the implementation of this architecture using Java.
Hexagonal Architecture defines that an application’s business logic should be isolated from the external applications.
Based on this concept, we can divide our application into 3 parts. The business logic will be the inside of an application. The user and server sides of the application would be the outside of an application.