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.

KOTLIN / NOTES</>↗
Kotlin05 May 2025

How do I declare variables in Kotlin using val and var?

In Kotlin, you can declare variables using two keywords: val and var. The choice between them depends on whether you want the variable to be immutable or mutable. 1. Declaring Immutable (Read-Only) Variables with val Use val when the value of the variable will not change after it is initialized. The variable becomes read-only (similar […]

Wayan · 2 min read
KOTLIN / NOTES</>↗
Kotlin05 May 2025

How do I write my first Kotlin program?

Writing your first Kotlin program is simple! Follow these steps to create, write, and run your first Kotlin program: Step 1: Set Up Your Environment To write Kotlin programs, you need a development environment. The recommended setup is IntelliJ IDEA, which is specifically designed for Kotlin development. Download and Install IntelliJ IDEA: Visit JetBrains’ IntelliJ […]

Wayan · 2 min read
JAVA 10 / NOTES</>↗
Java 1005 May 2025

How to Use Container-Aware JVM Features in Java 10 for Docker

Java 10 introduced new container-aware JVM features that greatly improve how Java applications run in Docker environments. These features provide enhanced automatic detection and utilization of container-based limits for memory and CPU resources, allowing Java applications to respect the constraints of containers better. Here’s a step-by-step guide to using the container-aware JVM features in Java […]

Wayan · 3 min read
JSCH / NOTES</>↗
JSch05 May 2025

How do I manage timeout and keep-alive settings in JSch sessions?

When working with SSH connections using JSch (a popular Java SSH library), it’s important to configure timeouts and keep-alive behavior correctly. This helps you: Avoid hanging indefinitely when a server or network becomes unresponsive Detect dead connections in a predictable way Keep long-lived sessions alive across unstable networks This article explains how to manage timeouts […]

Wayan · 8 min read
CONCURRENCY / NOTES</>↗
Concurrency05 May 2025

How do I synchronize phases of execution with CyclicBarrier?

The CyclicBarrier class in Java allows you to synchronize phases or threads at a common point. It is particularly useful when you have multiple threads working on subtasks that need to wait for each other to proceed to the next phase of their work. Key Features of CyclicBarrier Reusable: The barrier can be reused once […]

Wayan · 5 min read
BASIC / NOTES</>↗
Basic05 May 2025

A basic understanding of Java Classes and Interfaces

Java classes and interfaces are essential building blocks in Java programming. Here’s a simple explanation of both: Java Classes A class in Java is a blueprint or template used to create objects (instances). It contains: Fields (Instance Variables): To store the state of objects. Methods: To define behaviors or functionalities of the objects. Constructors: To […]

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.