2023-09-07
Since v1.18, Go supports generic data types(also known as generics).
Generics allow us to write elegant, concise and easy-to-maintain code. In this guide
I want to show you how to take this concept to the next level by creating a
function that takes a generic struct as a parameter.
::
Read moreU happy now, lighthouse? ::
2023-07-08
If you own a Yamaha Reface synthesizer, you already know how great these little machines can be.
Yet, they have a minor inconvenient: you cannot export patches to your computer! In this tutorial
I want to explain some workarounds to save your patches without using Soundmondo.
::
Read moreU happy now, lighthouse? ::
2023-04-27
A backup can be anything from an external hard drive where you
manually copy files one-by-one to a fully-automated orchestration service that provide you disaster recovery
services through cloud computing(DRaaS). In this article, I want to explain my way of doing backups.
::
Read moreU happy now, lighthouse? ::
2023-02-02
Over the years, many libraries and frameworks, such as Tensorflow, have made the task of training and using a neural network as
simple as possible, but while this is a great way to build AI-powered apps in no time,
it is not optimal to treat a neural network as a mysterious device.
In this guide we will try to understand the theory and the math behind a simple multilayer perceptron.
We will then try to build one from scratch by ourselves, and finally we will use it to make some predictions.
::
Read moreU happy now, lighthouse? ::
2023-01-11
Some months ago, I published an article on how to set up a Wireguard server with
adblocking capabilities on GNU/Linux systems, focusing Debian and PiHole specifically.
Recently I wanted to reproduce the same setup on an OpenBSD server(since the Wireguard protocol is available on *BSD systems as well)
and, while PiHole is not currently available for *BSD systems, I managed to accomplish the
same result using the DNS resolver unbound(8) and unbound-adblock to fetch updated blocklists every day.
In this guide, I will show you how to achieve the same result.
::
Read moreU happy now, lighthouse? ::
2022-10-24
Regular expressions are one of the most useful tool to extract information from raw data.
Developers, sysadmins, data scientists and even editors can benefit from learning this
powerful language. In this guide we will try to learn regex through practical examples.
::
Read moreU happy now, lighthouse? ::
2022-08-09
In this guide we will see how to set up a VPN server with advertisement
blocking capabilities using Debian, Wireguard and PiHole.
::
Read moreU happy now, lighthouse? ::
2022-07-18
One of the most useful features in functional languages(such as Haskell, Scala or OCaml)
are algebraic data types; i.e., types built by the union of other types.
Typescript supports ADT by using discriminated unions. In this tutorial we will see what
discriminated unions are, how they work and how to use them.
::
Read moreU happy now, lighthouse? ::
2022-04-30
Functional programming is a programming paradigm in which programs are built by
applying and composing pure functions(more on that later). In this tutorial we will give an introductions
to its core features using Javascript.
::
Read moreU happy now, lighthouse? ::