Sign in

Alex Martsinovich

@distantprovince.bsky.social
93 followers 119 following 230 posts

#ElixirLang Developer 🇨🇦 Tech side: distantprovince.by Less tech side: distantprovince.substack.com

PostsRepliesMedia
Alex Martsinovich @distantprovince.bsky.social · 26/06/2026
I should write a new post
110
Alex Martsinovich @distantprovince.bsky.social · 22/02/2026
Working on improving PostHog error tracking for complex OTP errors. Chained exceptions is a fairly good fit. Hopefully will ship soon!
020
Alex Martsinovich @distantprovince.bsky.social · 19/01/2026
And who didn't want Oban job to just do the right thing for a small price of $0.003?
110
Alex Martsinovich @distantprovince.bsky.social · 19/01/2026
How about a general purpose term() -> 🪄magic✨ -> string() function? You creativity is the limit!
100
Alex Martsinovich @distantprovince.bsky.social · 19/01/2026
Handwave 👋 New Hex package that allows you to point in the general direction of desired outcome and let LLM figure it out. Sometimes, you just need a smarter if: #ElixirLang #MyElixirStatus
2120
Alex Martsinovich @distantprovince.bsky.social · 08/11/2025
👀
120
Alex Martsinovich @distantprovince.bsky.social · 21/09/2025
This is the best source I have
010
Alex Martsinovich @distantprovince.bsky.social · 27/07/2025
You mean this one? Admittedly I'm not great at UI so it's not very obvious to me.
010
Alex Martsinovich @distantprovince.bsky.social · 26/07/2025
That was unexpected
100
Alex Martsinovich @distantprovince.bsky.social · 24/07/2025
I finally updated one of my side projects to Phoenix 1.8 and DaisyUI. Looks much better now. Under the hood it runs ~100k Oban jobs per day and costs less than $5 per month to host. #ElixirLang is truly a miracle tech.
0150
Alex Martsinovich @distantprovince.bsky.social · 21/07/2025
Hmm, so with all my work on LogHog and DiscoLog, I have all building blocks in place to create a bot that will forward Discord gateway events to PostHog 🤔
000
Alex Martsinovich @distantprovince.bsky.social · 16/07/2025
170
Alex Martsinovich @distantprovince.bsky.social · 09/06/2025
Just spilled my diet coke
010
Alex Martsinovich @distantprovince.bsky.social · 06/06/2025
PostHog Error Tracking might not support Elixir, but that won't stop Elixir from supporting it! #ElixirLang
130
Alex Martsinovich @distantprovince.bsky.social · 30/05/2025
Took me a while to realize but this isn't a proper highlighting, Github!
000
Alex Martsinovich @distantprovince.bsky.social · 23/04/2025
no excuses
000
Alex Martsinovich @distantprovince.bsky.social · 16/04/2025
Daily caller tracking appreciation post
050
Alex Martsinovich @distantprovince.bsky.social · 22/03/2025
Ever found yourself inside an ExUnit test with a caught error on your hands wondering how to fail with this exact error and stacktrace? Well, it's a little too late, but I'm not here to judge, I'm here to show you how
010
Alex Martsinovich @distantprovince.bsky.social · 27/01/2025
I wasn't kidding
000
Alex Martsinovich @distantprovince.bsky.social · 31/12/2024
Having your logger online in a discord server feels very nice
000
Alex Martsinovich @distantprovince.bsky.social · 25/11/2024
TIL ExUnit can't guarantee processes spawned in a test stop by the time next test starts. One of the implications is that if you register the process under the same name between tests, the name might not become free in time. To address this, use start_supervised family of helpers #ElixirLang
0121
Alex Martsinovich @distantprovince.bsky.social · 19/11/2024
Sorry, I meant the one that's supposed to have N+1 problem. I believe `Repo.get(Post) |> Repo.preload(:comments)` always makes 2 requests, which isn't N+1?
100
Alex Martsinovich @distantprovince.bsky.social · 08/11/2024
For a long time, my "benchmarking target" was for a model to understand that "Monarch Manufacturer" means Kingmaker. But as of today I have a new one: recognizing that Abovaults is Abomination Vaults. I guess the easiest way to trick AI is to mess with tokens. Back to prompt engineering!
000
Alex Martsinovich @distantprovince.bsky.social · 05/11/2024
I was this 🤏close to a ExUnit disaster today
010
Alex Martsinovich @distantprovince.bsky.social · 01/11/2024
Could I pin all libraries to the versions used in the book? Of course. Will I do it? No, of course not.
030