Latest thoughts

Mysql clean

Failure re-create user in MySQL

Hello there! When managing your MySQL database, it’s important to regularly clean up inactive users. This helps optimize performance, improve security, and ensure only active user accounts remain for your current projects. THE ISSUE When I ran one of my codes, I got the following message: At first, I thought there was no mistake since […]

Read More →
Adam Kika

When my first son had been born (June,2010)

Its been many years a go that i have decided a married with my wife (@wondernisa08) and she was planning give our first son’s name like… Anugrah Putra Adam I fell silent for a moment to hear her give our son his name. Hmmm..Adam? I think it’s actually a great name 😊🥰. EAT WELL AND […]

Read More →
confidence matter

Build Confidence And Destroy Fear

Hello There, I was testing a personality test using www.16personalities.com. And i did conduct testing was in 2022 The result that i got is Commander 😀. Here is the pdf related for Commander explanation in detail and this is my testing result. My experience and background is in IT field, which most people not all […]

Read More →
byte array to hex string

Converting from byte[] (array) to hex string in Java

Hello there! I just wanted to share a small piece of code I wrote way back in 2011 when I was working at my previous company. Yep, that was ages ago 🤭. It’s a simple utility function I created to convert a byte[] into a hexadecimal String. Nothing fancy, but still useful even today! Its pretty simple code isn’t it? […]

Read More →
Date Class

Simple DateUtils Class in Java

In PHP, you can easily adjust dates — whether to move forward or backward — using a built-in function. By combining strtotime() with date(), you can format and modify dates effortlessly. Here’s a quick example: Difference In Java, you need to define which Object that need to be use for an output on each function or method. But […]

Read More →
Sign jar file from jks file

How to sign a jar file from your *.jks file

First, generate a RSA key for signing Second, sign the jar with jarsigner You can ignore : “warning : POSIX file permission and/or symlink attributes detected. These attributes are ignored when signing and are not protected by the signature.”

Read More →
aes ecb encryption with padding

AES ECB encryption with padding and no padding in java language.

Hello there! When working with AES encryption in Java, one important thing to understand is how AES handles input length, especially when using ECB mode with padding and no padding. AES is a block cipher, which means it encrypts data in fixed-size blocks. For AES, the block size is always 16 bytes. Because of this, the input data must fit into […]

Read More →
javax persistence doesnt exist

Error : javax.persistence.* doesn’t exists.. 

My Old code was 2.5.3, when I tried to migrate to springboot 3.2.4 it said….”can not resolve symbol persistence”. So I tried to replace javax to jakarta, and viola! The error has been disappeared! Reference : https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress

Read More →