RSSAmplifier

Blog

Hauleth's blog

Blog about BEAM, Rust, fantasy & stuff

hauleth.devRSS feed ↗17 posts

Latest posts

The Lion, The Witch, and the audacity of recruiters

Some stories of how recruitment processes went completely bonkers. Incompetence, lies, and plain lack of any respect or common sense from recruiters that I encountered.

Guards! Guards!

Small gotcha about boolean operators in Elixir.

Reviewing code requires reading

On Lobste.rs I have found today the article written by the Charity Majors - CTO of the Honeycomb.io "AI enthusiasts are in a race against time, AI sceptics are in a race against entropy" . This was pretty good read until there was this question posed: What would it take for you to feel comfortable shipping code to production without reading it? Her proposed solutions were: Better evals? Better…

How do I write Elixir tests?

Personal guides for writing tests that are readable and maintainable. Stuff to use, stuff to avoid, and how to organize stuff. Furthermore, I think that mocking must be destroyed.

Scotty, I need warp speed in three minutes

My journey into optimising Elixir codebase of Ultravisor (my fork of Supabase's Supavisor). This story is not about a goal, but ~~friends~~ optimisations we met along the way.

Jeopardy! world

Some time ago, there was an anime available on Netflix — Godzilla Singular Point . It wasn't a spectacular success, but it featured a plot device that I think reflects something increasingly common today: you need to know the answer to your question before you can ask it. This is something I see all the time in the current wave of AI hype. You need to know what the answer should be before you…

Who Watches Watchmen? - Part 2

Continuation of travel into making systemd to work for us, not against us. This time we will talk about socket activation and how to make our application run only when we need it to run.

How much memory is needed to run 1M Erlang processes?

How to not write benchmarks

Who Watches Watchmen? - Part 1

A lot of application use systems like Kubernetes for their deployment. In my humble opinion it is often overkill as system, that offers most of the stuff such thing provide, is already present in your OS. In this article I will try to present how to utilise the most popular system supervisor from Elixir applications.

Log all the things

In Elixir 1.11 landed set of new features that allows for more powerful logging by utilising Erlang's logger features. Here I will try to describe new possibilities and how You can use them to improve your logs. New log levels # Elixir gained 4 new log levels to total 8 (from most verbose to least verbose): debug info notice * warning (renamed from warn) error critical * alert * emergency * *…

Treachery of Representation

Representation is not data - something that developers (and not only them) often forgot when working with different data.

Stop Spreading Crap at My `$HOME`

Disclaimer: Yes, this is a rant. Yes, I am displeased with state of software. And yes, I can use some harsh words. You were warned. For some time now we have Filesystem Hierarchy Standard which describes which data goes where in your *nix installation. In fact we have that for 28 years, which is almost as long as I live. This is quite some time. But for whatever reason we apply that only for the…

Writing Vim Plugin

Article about writing Vim plugins, but not about writing Vim plugins. It is how to conceive plugin, how to go from an idea to the full fledged plugin.

Let's talk about `application/0`

Have you ever thought about that one simple function in your `mix.exs`? It comes out as quite powerful and useful place for storing configuration and post-launch scripts.

Common Test for Elixir developers

In my new job I have opportunity to work a little bit more with Erlang code and Erlang related tools than earlier. That forced me a little to learn and use Common Test library which is the testing library in Erlang world. When after that I needed to work back it hit me hard how much stuff I am missing in Elixir. In this article I will try to present Common Test library from the viewpoint of long…

Here be (owned) books

Simple introduction to Rust's ownership system

Dumb Elixir VIsual (and iMproved) editor

How I have configured Vim for working with Elixir and Erlang projects

Hauleth's blog · RSS Amplifier