SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

HIBERNATE / NOTES</>↗
Hibernate08 Jun 2025

How do I create my first Hibernate entity using annotations?

To create a basic Hibernate entity using annotations, follow these steps: 1. Add Required Dependencies Ensure you have added the required dependencies for Hibernate, JPA (jakarta.persistence), and any database (e.g., H2 for testing) in your pom.xml. For example: <dependencies> <!– Hibernate Core –> <dependency> <groupId>org.hibernate.orm</groupId> <artifactId>hibernate-core</artifactId> <version>6.4.4.Final</version> </dependency> <!– H2 Database –> <dependency> <groupId>com....

Wayan · 4 min read
JPOS / NOTES</>↗
jPOS08 Jun 2025

How to Set Up JPOS in a Java Project for ISO 8583 Messaging

Setting up JPOS in a Java project to handle ISO 8583 messaging involves configuring a robust library used for financial message processing. Here’s a step-by-step guide to integrate and configure JPOS in your Java project: Step 1: Setup an ISO 8583 Configuration File Create an ISO 8583 configuration file (e.g., iso8583.xml) in your project. This […]

Wayan · 5 min read
KOTLIN / NOTES</>↗
Kotlin07 Jun 2025

How do I use reified types with inline functions in Kotlin?

In Kotlin, reified types are used with inline functions to enable type information to be available at runtime. Normally, type parameters in generics are erased at runtime due to type erasure, but reified allows the type to remain available for reflective operations or type-specific logic. Here are the key points to use reified types with […]

Wayan · 2 min read
KOTLIN / NOTES</>↗
Kotlin07 Jun 2025

How do I apply tail recursion in Kotlin functions for performance optimization?

In Kotlin, you can use tail recursion to optimize recursive functions by preventing stack overflow and enabling a more optimized execution during runtime. A tail-recursive function is one where the recursive call is the last operation performed in the function. To achieve this, Kotlin provides the tailrec modifier, which instructs the compiler to optimize the […]

Wayan · 3 min read
KOTLIN / NOTES</>↗
Kotlin06 Jun 2025

How do I build a Kotlin DSL using lambdas and receiver functions?

Building a Kotlin DSL (Domain-Specific Language) using lambdas and receiver functions is a powerful way to create an expressive syntax. Kotlin’s language features, such as extension functions, lambda expressions, and higher-order functions, make it an excellent choice for creating DSLs. Here is a step-by-step guide to building a Kotlin DSL with examples: Step 1: Understand […]

Wayan · 3 min read
KOTLIN / NOTES</>↗
Kotlin06 Jun 2025

How do I manage deeply nested nullable objects using Kotlin’s null-safety features?

In Kotlin, managing deeply nested nullable objects can be achieved elegantly using its null-safety features. Here are some approaches: 1. Safe Call Operator (?.) The safe call operator lets you safely navigate through nullable properties without needing to add explicit null checks. If any property is null, the entire chain will return null. Example: data […]

Wayan · 3 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.