Sign in

Hauleth

@hauleth.dev
1.1K followers 287 following 648 posts

Dad | Meme Driven Developer | ex-Supabase All opinions aren't my own, these belongs to supreme being chosen at random Sometimes I do some #ElixirLang, #Erlang and #RustLang

PostsRepliesMedia
Hauleth @hauleth.dev · 25/08/2026
Reason, why every Pole, should avoid Omarchy
Venn diagram constructed from 2 circles.

Left one contains single letter C.
Intersection contains text "OMARCH".
Right one contains single letter Y.

Left part reads "COMARCH".
Right side reads "OMARCHY".
020
Hauleth @hauleth.dev · 18/08/2026
This is how @tangled.org is treating us Nixers. We will not allow to treat us like that. There are dozens of us, DOZENS!
Discord channels #off-topic and #nix under the category named "bs".
2621
Hauleth @hauleth.dev · 29/07/2026
Anthropic right now arstechnica.com/ai/2025/06/a...
Book burning in Opernplatz, photo by Georg Pahl, 1933. Source: Wikimedia Commons
010
Hauleth @hauleth.dev · 27/07/2026
Medieval Capitan America #photo
A person dressed as an early medieval warrior stands at a historical reenactment, wearing chainmail and a conical metal helmet while holding a long-handled axe across their shoulders. They carry a large round shield painted with concentric red, white, and blue rings and a white star in the centre, resembling Captain America's shield. Behind them, tents and a small crowd of spectators, including adults and children, are softly out of focus in bright daylight.
031
Hauleth @hauleth.dev · 20/07/2026
Two astronauts looking at the globe with Poland map on it.

One in front, with ONZ flag on sleeve, says: Wait it's all Poland?

Behind them is another one that points gun to back of his head. He has Polish ensign flag on his sleeve. They say: Always has been.
040
Hauleth @hauleth.dev · 20/07/2026
Still looking for a job…
Text on the back of the contractor van:

We fix what
ChatGPT said
You should try!
0204
Hauleth @hauleth.dev · 16/07/2026
Image from chan-like forum

Image of Pepe frog in front of waving European Union flag

Next to it is text
> wake up
> still European
030
Hauleth @hauleth.dev · 19/06/2026
I heard that people there may like photos of nice keyboards
Ortholinear keyboard with black and blue keycaps with runic letters. In top left corner there is resin keycap with dragon inside and in left bottom corner there is knob.
2231
Hauleth @hauleth.dev · 18/06/2026
010
Hauleth @hauleth.dev · 20/04/2026
Being proud of the fact that your developers need to wake up in the middle of the night during their weekend to solve some non-critical bugs is the peak american capitalism… fixvx.com/saltcod/stat...
111
Hauleth @hauleth.dev · 24/11/2025
In theory that would be equivalent to `__block__(1, 2)`, but that will be rejected by the compiler/interpreter. Elixir is funky sometimes.
000
Hauleth @hauleth.dev · 14/09/2025
Polish conservative/right-wing newspaper used photos of Trump and Polish president Nawrocki in form of GTA cover. I wonder whether they know who the main characters of GTA were and what was their professions…
Newspaper called "Gazeta Polska" with cover stylised as Grand Theft Auto cover with photos of president Donald Trump and president Karol Nawrocki. Text on cover says "Make Poland and America Great Again" with subtitle "unruly freedom protectors".
150
Hauleth @hauleth.dev · 11/07/2025
030
Hauleth @hauleth.dev · 07/07/2025
Image showing river with sign next to it with name "Bug"

Over the image there are 3 lines of text, from top to bottom:

It's not a bug
It's not a feature
It's a river in Poland
060
Hauleth @hauleth.dev · 07/07/2025
So something is hatching. It is a tease of incoming project I am working on with a friend. Yes, this is `psql` session, but it is *not* Postgres. #ElixirLang
2110
Hauleth @hauleth.dev · 09/04/2025
Close up
Ortholinear keyboard with black and blue keys with runic legends, rotor encoder, and clear cap with dragon in it.
110
Hauleth @hauleth.dev · 09/04/2025
Fairly clean. This is mine **after** major cleaning session.
330
Hauleth @hauleth.dev · 27/03/2025
I think I see some potential for new #ElixirLang function
2190
Hauleth @hauleth.dev · 25/03/2025
The fact that #ElixirLang always required `:do` keyword for single line function definitions was IMHO weird. I get it that the idea was to not have N different ways to do the same, but honestly, I think that supporting `def foo(a, b) = a + b` would make code easier to read
defmodule Foo do
  use Bonkers

  def add(a, b) when is_integer(a) and is_integer(b) = a + b
end
250
Hauleth @hauleth.dev · 14/01/2025
900 followers, impressive number taking into account that I do not post that much.
040
Hauleth @hauleth.dev · 10/01/2025
#NGD
Photo of:

- Marshall 2525h Silver Jubilee guitar amplifier
- Marshall Silver Jubilee 112 guitar column
- Strandberg RESQ:D Canvas guitar on guitar stand

In front of the window
040
Hauleth @hauleth.dev · 09/01/2025
Moonlander is column staggered IIRC. I use QWERTY, but I am thinking about checking out Workman. My current daily is Planck
120
Hauleth @hauleth.dev · 07/01/2025
Looks awesome, if only it would provide an instructions how to use it without Docker. Otherwise it looks exactly as a thing I have in mind. BTW - it is funny to see MS product to use Safari in screenshots of their product.
Safari window that has opened Aspire Traces view
200
Hauleth @hauleth.dev · 31/12/2024
My rocker, also FF, but headless as well
Photo of white Strandberg RESQ:D guitar with HSS pickups setup
420
Hauleth @hauleth.dev · 10/12/2024
Classic that sometimes need to be reminded in broader audience.
Meme if format where Kermit the Frog explains to other muppet something.

Introductory text says:

Tankies be like: Russia did nothing wrong and Poles hate it only because of US propaganda.

In meme text:

Top: My brother in Christ
Bottom: we hated Russia before USA even became a thing
080
Hauleth @hauleth.dev · 03/12/2024
Like, what the actual hell is that? I do not know what kind of person you need to be to be able to read that links. It strains my eyes and i simply do not want to look at that website any longer.
100
Hauleth @hauleth.dev · 01/12/2024
I couldn't match this post any better.
020
Hauleth @hauleth.dev · 28/11/2024
@bsky.app there is typo (BkueSky instead of BlueSky) in Polish translation when joining service via Startup Pack.
130
Hauleth @hauleth.dev · 27/11/2024
I would like to point out that Gerrit allows to review commit messages as well, which is not supported by GitHub at all
Screenshot of Gerrit window for reviewing commit message.
110
Hauleth @hauleth.dev · 27/11/2024
You can have multiple different forms of relationship between commits. Here is an excerpt from Gerrit used by Lix at some random commit (gerrit.lix.systems/c/lix/+/2232). Stacked Diffs is what is used in Google (they use Gerrit) or in Meta (IIRC they use(d?) Phabricator)
210
Hauleth @hauleth.dev · 27/11/2024
Personal best
Lines added: 31,157
Lines removed: 31,042
110
Hauleth @hauleth.dev · 16/11/2024
I have resumed my work on `logger_udp`, which is a missing component of OTP - logging to the UDP sinks. Current design allows me to get rid of all overload protection configuration, which should make whole design easier to comprehend. After that I should be able to get back to work on systemd 1.0
Window with source code of logger_udp_h.erl module:

%% @doc Implementation of `logger' handler for UDP sinks.
%% @end
-module(logger_udp_h).

-export([adding_handler/1, changing_config/3, filter_config/1, log/2]).

adding_handler(Config) ->
    #{config := HConf} = Config,
    Type = type_for(HConf),
    Sockets = logger_udp_server:get_connections(Type),

    Config1 = Config#{config := HConf#{sockets => Sockets}},
    {ok, Config1}.

changing_config(_SetOrUpdate, _OldConf, NewConf) ->
    #{config := HConf} = NewConf,
    Type = type_for(HConf),
    Sockets = logger_udp_server:get_connections(Type),

    {ok, NewConf#{config => HConf#{sockets => Sockets}}}.

filter_config(Config) ->
    #{config := HConf0} = Config,
    HConf = maps:remove(sockets, HConf0),
    Config#{config := HConf}.

log(LogEvent, Config) ->
    #{config := HConf, formatter := {FMod, FConf}} = Config,
    Dest = destination(HConf),
    #{sockets := Socks} = HConf,
    SchedulerId = erlang:system_info(scheduler_id),
    Sock = map_get(SchedulerId, Socks),
    Message = FMod:format(LogEvent, FConf),
    logger_udp_server:send(Sock, Dest, Message),
    ok.

-spec type_for(map()) -> logger_udp_server:sock_type().
type_for(#{type := Type}) when Type =:= inet; Type =:= inet6 -> Type;
type_for(#{host := localhost, port := _Port}) -> inet;
type_for(#{host := {_, _, _, _}, port := _Port}) -> inet;
type_for(#{host := {_, _, _, _, _, _, _, _}, port := _Port}) -> inet6;
type_for(#{socket := _Path}) -> local.

%% @doc Returns destination for packets.
-spec destination(map()) -> inet:family_address() |
                            {inet:ip_address(), inet:port_number()}.
destination(#{socket := Path}) -> {local, Path};
destination(#{host := localhost, port := Port}) -> {inet, {localhost, Port}};
destination(#{host := Host, port := Port}) -> {Host, Port}.
2101
Hauleth @hauleth.dev · 08/11/2024
My favourite word, with German origins but from Greater Poland - wihajster (from *wie heßt er*), which mean that-thingy-that-you-know-what-I-mean-but-I-forgot-a-name-right-now
Wiktionary entry:

wihajster
(colloquial) placeholder for a thing with an unknown name, thingamajig, whatsit, whatchamacallit (especially an elongated tool or part of a mechanical device) 
Od radia oderwał się taki wihajster i przestało działać. ― Some whatchamacallit broke apart from the radio and it stopped working.
Podaj mi ten wihajster z szarej skrzynki po lewej. ― Give me that whatsit from the grey box on the left.
110
Hauleth @hauleth.dev · 05/11/2024
There is also different thing, if you spawn unsupervised task (so with `Kernel.spawn/1`, not `Task.start/1` as these *are* supervised), then you will not be informed about some abnormal results, like for example `exit/1` calls.
Example code showing that `exit(:abnormal)` is not reported back when using unsupervised processes.
010