April 27, 2024
Reserving entity IDs ahead of time can address a bunch of issues in software development and system design, particularly in distributed systems, databases, and applications requiring high concurrency or real-time processing. Here are some of the key benefits and problems that this approach can solve:
Avoiding Collisions and Ensuring Uniqueness In distributed systems where different nodes generate IDs independently, reserving IDs in batches can prevent collisions. Each node or service can reserve a block of IDs and use them without needing to coordinate with others in real time, ensuring uniqueness across the system.
...
November 7, 2023
ps aux | grep java | grep unlogged-sdk- | grep -v grep | awk '{print $2}' | xargs kill -9 This is a command that can be used to identify and terminate Java processes that are using the UnLogged SDK library in Linux. Here’s an explanation of each part of the command:
ps aux: lists all currently running processes on the system, along with their process ID (PID), user ID, CPU usage, memory usage, and other relevant information.
...
June 11, 2023
Introduction # Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more. This post is not a guide to use lombok, you can find plenty of them with a search. This post is about how the lombok works internally.
...
Can the clay ever understand the potter’s vision? Does the ocean comprehend the dance of the waves upon its surface? Hardware, the vessel of potential, might ponder the song of the software that animates it, yet can the body ever fully grasp the essence of the spirit?
In the dance between tangible and intangible, what is the role of consciousness? Does the dancer truly know the dance, or are they both but fleeting moments of expression in the vast expanse of existence?
...