“The first time you do a thing is always exciting.” -Agatha Christie
As lines of code overshadow the fleeting sense of time and space for us developers, there comes a time when we contribute back to the world in the form of a package. This article is going to tell you a tale for just that.
There’s always a first time for everything. A first time for your bike ride, a first time for heartbreak and definitely a first time for a package you write which will someday be used by other developers.
As I write this, I have spent a total of 117 days locked up in my house. COVID19 has indeed taken a toll on not just economies but the psyche of the general public. As a developer, I decided to take this as an opportunity to revisit algorithms and data structures. This idea which was throttled by the job interviews I have been taking recently made me wonder how there must be others who are looking for this. A way for you to visualize these famous algorithms so that you can base your own on them.
A building is only…
Microservices are still a buzzword till date. We have thousands of teams starting their new application with a microservice architecture and the remaining trying to refactor their monoliths to a microservice architecture. Now this article is not going to talk about what microservices are or what benefits they propose. If you are here and reading this article, I expect you to understand that and I shall only be your guide in your struggle to solve the one common problem people run into.
Another thing to note is that I will be using Spring Boot here as I believe Java or…
Quarkus claims to provide you with a “Supersonic, subatomic Java” experience. Quarkus helps you, as a Java developer to wander about in the realm of Serverless. Quarkus tailors your application for GraalVM and attends to common existing problems with Java applications such as high start times, greater memory consumptions etc.
GraalVM is a universal virtual machine for running applications written in various different languages, as well as providing the ability to compile JVM bytecode to a native executable (this native executable runs a special virtual machine called SubstrateVM). …
Unit testing your Angular application in the browser takes time and if you do not want to deal with PhantomJS or Chrome Headless then Jest is the solution you need.
According to its website,
Yes, Facebook. Jest is a testing framework developed by Facebook. It does not run in the browser and instead uses the jsdom. It aims to be zero-configuration, although that statement is only applicable for testing React applications.
Because of the popular…
This is how I got rid of slow excel file generation, memory exhaustion traps and finally found the one solution which worked wonders for my team and project.
Before we move on to what worked for me, let’s take a look at the problem statement.
We need to gather records from our SQL database which match a given set of query parameter, populate these results in an excel sheet and let the client[in this case an Angular app] download it. The columns in the excel sheet should be auto adjusted to content width.
Enter Apache POI. Apache POI has long…
“Your mind will answer most of the questions if you learn to relax and wait for the answer”
A situation presents itself to you and you are required to make a decision. In your hurry to not miss out on the opportunity you take a hurried decision which you soon regret. Sounds similar? Well, we all have been there and done that haven’t we.
“What did he understand? Nothing. Where was he headed? Nowhere. What did he want? To know. What? A meaning. Why? A riddle.”
The difference between a reaction and response is not much to the naked eye…