Tips & tricks for testing Elixir applications… there are tons of libraries for testing, each one with different syntactic sugar, runtime (sync vs. async) and implementation details but all we need for unit testing are these 3: ExUnit, Hammox and Mimic.
[Read More]"The noblest pleasure is the joy of understanding" - Leonardo Da Vinci
"If you can't explain it simply, you don't understand it well enough" - Albert Einstein
OneRidge: Eastern Carpathians
Trekking
Eastern Carpathians (Carpații Orientali in Romanian) mountain range stretching from the northern border of Romania down to the Prahova Valley.
[Read More]The Power of Mnesia
Erlang/Elixir
Mnesia is the master-less distributed storage built-in Erlang and by default it inherits all the goodies of Erlang cluster distribution. Lets give it a try.
[Read More]OneRidge
Trekking
Uniting the Carpathians through a continuous trekking route
The mission of OneRidge project is to design and establish a continuous trekking route(s) that spans the length of Romania’s Carpathian Mountains, starting from the Iron Gates in the southwest and stretching all the way to the northern border with Ukraine.
[Read More]Click, Percent, Zscore changes
Tradingview
As a wise man once said:
- beginners think in $ change,
- intermediates think in % change,
- pros think in Z change.
Introducing new Tradingview Outlier changes alert indicator that calculates click (price change), percentage change, and Z-score (standard deviation multiple) changes while displaying outliers based on defined ranges.
[Read More]SSL-offloader for Dokku
PaaS
I use Dokku as Platform As A Service (PaaS) tool, which is very convenient until you have dozen of apps deployed (like I do) and hit Let's Encrypt limits.
[Read More]Functional architecture
Elixir
A functional architecture design with a "functional core" layer for business logic, then a "state servers" layer for state management and finally an "imperative shells" layer for side-effects.
[Read More]Personal VPN server
Linux
I was not a big fan of traditional VPN services (which are highly centralized and slow) until Wireguard has arrived and was merged into Linux Kernel; a VPN for this century, peer to peer with state of the art cryptography.
[Read More]Risk-adjusted performance metrics
Finance
You can easily double the investment and also double your return right? Not really… read on to see a few metrics that I use.
[Read More]Wildcard SSL certificate
Linux
Self-generated certificate is good for bootstrapping purpose but sooner than later we need a valid SSL certificate for all services (IMAPS, HTTPS, DoT etc).
[Read More]