When ChatGPT is better than Google

ChatGPT offers quicker solutions compared to Google for some tasks

April 24, 2023

scalac -feature

Use scalac’s -feature option to emit warnings for features that should be imported explicitly.

June 27, 2020

Easily distributable Scala CLIs using jlink

JDK’s jlink tool streamlines custom JRE creation, shrinking distribution sizes, ideal for lightweight command-line apps like a Scala CLI.

March 25, 2020

Calculating n digits of pi using Chudnovsky Algorithm

Chudnovsky Algorithm for calculating π to N digits precision, along with a simple CLI for testing

August 10, 2019

TIL: Unix shells have a $RANDOM env variable

Leverage $RANDOM in Unix shell scripts for controlled randomness and use awk to generate random numbers within defined ranges.

April 9, 2019