We can use the Rust functions to_string(), and format functions to format or convert integer values to string values. This post shows how to use these functions on each of Rust’s integer types. Rust Integer Types There are six (6)
Rust – How to check for NULL values
Rust does not support NULL; therefore, we don’t perform NULL checks on values. It does not even have keywords for NULL. However, it provides an enum Option that we can use similarly to Java 8 Optional. No NULL Check because
Rust Plugin for IntelliJ IDEA – Install And Use
By default, IntelliJ IDEA does not support Rust. However, there is a plugin that we can use to start programming in the IDE.
How to Install Rust on Windows 10 The Easy And Painless Way
This post shows how to install Rust on Windows 10. There are two ways to do this – through rustup-init.exe and curl within the Windows Subsystem for Linux. This post does that former. Requirements To start with, we use the
Lenovo ThinkPad T495 Purchase: Just Bought It!
Today I bought a Lenovo ThinkPad T495 online. I kept looking at this product for several weeks but could not make up my mind. I wanted an AMD Rayzen 7 Pro 3700U but could only get a maximum of 8GB onboard memory plus a 16GB selectable memory.
Angular Multiple Components With One EventEmitter
This post how to send messages from multiple Angular components using the same EventEmitter. We have three parts – AppComponents, AnotherComponent, and YetAnotherComponent. The setup is usually hierarchical, where we embed the selectors of AnotherComponent and YetAnotherComponent in AppComponent’s HTML.
Java – Deploy Java CLI Application to Docker Image
With Docker, we can create portable Java CLI applications for various environments by pre-building container images. These images could make deployment a lot easier and less messy in particularly in Production environments. This post briefly demonstrates how to create a
Monitor Directory for File Creation Using Only Java
In batch processing, some use-cases require event triggers to start operations on data sources, e.g., files or remote web endpoints. These could be user events like clicking a button. On the other hand, they could be system events like file
Run Java Codes Before Application Shutdown
This post shows how to run Java codes before an application shutdown. We can use this idea to clean up resources, notify remote systems or display a farewell message before the application completes its execution or terminates. Java Runtime Class
Golang – Write Text to File Line by Line Using Buffered IO
Writing text to a file is a familiar use case that we may need to implement for our applications. Like most programming languages, Golang has facilities to enable us to implement such write text to files. This post briefly shows