Quantcast
Browsing all 168 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Java 17 – Sealed classes

Prior to Sealed Classes feature there were two ways a developer could prevent a class to be extended: by declaring the class as final where no one can extend this class. public final class MyClass { }...

View Article


Image may be NSFW.
Clik here to view.

Book Review: The Psychology of Money

The Psychology of Money by Morgan Housel is a must-read book on personal finance. A lot of times decisions on personal finances, investments are done using the historical data of the market analyzed...

View Article


Image may be NSFW.
Clik here to view.

Book Review: The Subtle Art of Not Giving A F*ck

The book The Subtle Art of Not Giving A F*ck by Mark Manson is a book about managing your problems and failures. I can aptly call this book a Problem Management manual. The author talks about looking...

View Article

Image may be NSFW.
Clik here to view.

Book Review: Ikigai: The Japanese secret to a long and happy life

This book is all about secrets to longevity i.e living longer. The authors do a case study of people living in a place called Okinawa in Japan which has a higher average life expectancy than Japan and...

View Article

Image may be NSFW.
Clik here to view.

Book Review: The Almanack Of Naval Ravikant

My cousin gifted me this book which I long wished to read. This book is a collection of Naval Ravikant’s ideas, and thoughts he posted on multiple places like Twitter, his podcasts, interviews, and...

View Article


Image may be NSFW.
Clik here to view.

Book Review: Everything Is Out of Syllabus

Everything Is Out of Syllabus is a book by Varun Duggirala who has worked in MTV and other media houses in the entertainment and media industry. In this book, he is trying to list out his experiences,...

View Article

Image may be NSFW.
Clik here to view.

Book Review: When Breath Becomes Air

When breath becomes air is a book by Paul Kalanithi about his life, experiences, and his ordeal with a terminal illness. The book is very emotional, especially the Epilogue written by his wife. Tears...

View Article

Image may be NSFW.
Clik here to view.

Book Review: Show Your Work

The author Austin Kleon shares 10 ways to make your work visible to the world in his book Show Your Work!: 10 Ways to Share Your Creativity and Get Discovered. The book is targeted toward all forms of...

View Article


Image may be NSFW.
Clik here to view.

Book Review: Steal Like an Artist

The author Austin Kleon shares 10 ideas for a content creator creating content in his book Steal Like an Artist: 10 Things Nobody Told You About Being Creative. The author’s advice is relevant to all...

View Article


Image may be NSFW.
Clik here to view.

Book Review: Make Time

Make Time is a collection of tactics for getting the most important work done daily. It’s not about making your schedule super busy. It’s not about tactics for getting a lot of work done in a day....

View Article

Image may be NSFW.
Clik here to view.

Book Review: Rework

Rework, authored by David Heinemeier Hansson(DHH) and Jason Fried, is a collection of business principles providing guidance at the individual as well as at the organizational level. The book has lots...

View Article

Image may be NSFW.
Clik here to view.

Integrate with OpenAI(ChatGPT) Completion API in Java using WebClient

By now you all would have heard about OpenAI and played with its famous product ChatGPT. OpenAI also provides APIs which can be used to integrate features like text completion, code generation, image...

View Article

Integrate with OpenAI(ChatGPT) Chat Completion API in Java using Webclient

In my previous post I showed how you can integrate with Completion API. The completion API doesnt support the ChatpGPT model. The ChatGPT model is supported in the Chat completion API. In this post we...

View Article


Image may be NSFW.
Clik here to view.

Convert XML to HTML using XSLT in Java

In this post I will show you how to convert XML to HTML using XSLT in Java using Saxon HE version 11 library We will add the dependency to our pom: <dependency>...

View Article

Image may be NSFW.
Clik here to view.

Setting value of XSL parameter xsl:param in Saxon Java API

In one of my previous posts I showed you how to generate HTML from XML data using XSLT. At times you would need to pass certain parameters to the XSLT and use the value of that parameter in generating...

View Article


Image may be NSFW.
Clik here to view.

The correct way to do @Async in Java Spring based applications

Spring provides an annotation @Async to run tasks in a separate thread. In Spring boot applications we can enable asynchronous tasks by adding the annotation @EnableAsync to any of the Spring...

View Article

Gotcha: Using Apache Commons StringUtils.isNumeric

StringUtils java class in Apache commons library provides a method isNumeric to check if given sequence of characters contains digits only. But this is not a sure shot way to check for numbers because...

View Article


Image may be NSFW.
Clik here to view.

Unveiling the Magic of Java ServiceLoader API: Building Modular and...

In the vast realm of Java programming, developers are often faced with the challenge of creating modular, extensible, and maintainable applications. As software systems grow in complexity, the need to...

View Article

Image may be NSFW.
Clik here to view.

Book Review: Deep Work

The author, Cal Newport, in the book Deep Work throws light on two types of work anyone can do: Highly attentive work which requires a high level of attention which he calls as “Deep Work”. Examples...

View Article

Image may be NSFW.
Clik here to view.

Book Review: Superlife: The 5 Simple Fixes That Will Make You Healthy, Fit,...

In the first part of the book Superlife the author Darin Olien explains the 5 life forces which are the driving factors to lead a healthy and fit life. The 5 life forces he talks about are: Nutrition...

View Article
Browsing all 168 articles
Browse latest View live