The Apache Common CLI library provides an API for parsing command line parameters passed to command-line programs in various familiar option-value formats, e.g., POSIX format (i.e., tar -zxvf myfile.tar.gz).
Using IBM Watson Visual Recognition to classify Images
This post is about using IBM Watson Visual Recognition service to classify images based on how we train it with positive and negative examples. Yes, we will train the service and let it classify some input images.
Using Mockito @InjectMocks with Constructor and Field Injections
There is a scenario to watch out for where we have class with a few instance variables of reference types but not all of them get initialized via a constructor. This post demonstrates shows how we could unknowingly miss initializing other mocks in a class and how to fix them.
Convert TypeScript to JavaScript
This post demonstrate the basic process of converting TypeScript codes to JavaScript.
Angular ngIf-else with ng-template Example
This post briefly demonstrates how to create an if-else construct in HTML using *ngIf and ng-template.
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.
Rust E0384 Cannot Assign Twice To Immutable Variable
By default, variables are immutable in Rust. This design helps up write concurrent codes and avoid common problems that come along with concurrency.
Path Parameter and JSON Payload in Actix-Web
This post demonstrates how to capture path parameters and JSON payload in Actix-web .
How To Windows Batch Files Using Rust
In Rust, we can use std::process::Command to run a .bat or .cmd file in Windows.
Async Fn and Await Example in Rust That’ll Open Your Mind
This post provides an example the uses async, async fn, and await for asynchronous processing. The sample codes use the futures crate to block the main function until the asynchronous function completes execution.