Alex Martsinovich
@distantprovince.bsky.social
📤 69
📥 91
📝 145
#ElixirLang
Developer 🇨🇦 ✨InstructorLite 🪵DiscoLog 🪵LogHog
https://distantprovince.by/
pinned post!
I am an AI optimist, but sometimes I feel like I am at war with AI. Or maybe with other people. Ugh, listen, you just need to imagine you are a scrambler.
distantprovince.by/posts/its-ru...
loading . . .
It's rude to show AI output to people | Alex Martsinovich
Feeding slop is an act of war
https://distantprovince.by/posts/its-rude-to-show-ai-output-to-people/
9 months ago
1
10
5
Shit like this made me go to therapy
add a skeleton here at some point
23 days ago
0
3
0
Code reviews are definitely dead and many of us, including myself, are grieving. I don't know how things will turn out, but I felt the need to write a farewell.
distantprovince.by/posts/a-fare...
loading . . .
A Farewell to Code Reviews | Alex Martsinovich
Code reviews as I remember them are gone
https://distantprovince.by/posts/a-farewell-to-code-reviews/
about 1 month ago
0
1
0
Working on improving PostHog error tracking for complex OTP errors. Chained exceptions is a fairly good fit. Hopefully will ship soon!
about 2 months ago
0
2
0
Maybe AI has made writing code an obsolete skill, but every engineer who plays with coding agents today gained their experience by writing code. To understand the real impact of AI, we'll have to look at a world where engineers _never_ had to write code.
distantprovince.by/posts/ai-fut...
loading . . .
AI Future Will Be Nothing Like Present | Alex Martsinovich
You and I have no idea what it's like to work with AI
https://distantprovince.by/posts/ai-future-will-be-nothing-like-present/
3 months ago
0
0
0
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
3 months ago
2
12
2
👀
5 months ago
1
2
0
Patch release 1.1.1 for InstructorLite * Make ChatCompletionsCompatible adapter more forgiving to Mistral's API responses * Fix rare bug when InstructorLite.ask/2 would refuse to call adapter because it wasn't loaded
#MyElixirStatus
#ElixirLang
6 months ago
0
2
0
I vibe coded an entirely new PostHog SDK— Actually, no. This summer I locked in, learned what needed to be learned, and built an error tracking library from first principles, that became an official PostHog SDK for Elixir Here's why I think it's good
#ElixirLang
distantprovince.by/posts/postho...
loading . . .
PostHog Elixir SDK is Good | Alex Martsinovich
PostHog Elixir SDK 2.0 is here and it's good
https://distantprovince.by/posts/posthog-elixir-sdk-is-good/
6 months ago
0
4
1
reposted by
Alex Martsinovich
caller tracking has been part of Elixir for quite some time now, but is still a relatively obscure mechanism. we need to fix this.
#ElixirLang
#MyElixirStatus
distantprovince.by/posts/5-minu...
loading . . .
5-minute guide to Elixir caller tracking | Alex Martsinovich
Now is the second best time to talk about caller tracking
https://distantprovince.by/posts/5-minute-guide-to-elixir-caller-tracking/
7 months ago
0
5
1
caller tracking has been part of Elixir for quite some time now, but is still a relatively obscure mechanism. we need to fix this.
#ElixirLang
#MyElixirStatus
distantprovince.by/posts/5-minu...
loading . . .
5-minute guide to Elixir caller tracking | Alex Martsinovich
Now is the second best time to talk about caller tracking
https://distantprovince.by/posts/5-minute-guide-to-elixir-caller-tracking/
7 months ago
0
5
1
If you're a junior engineer, don't ask cheap models for advice. Ask the most senior engineer on the team. The latency is garbage, the personality is questionable, but your employer pays for subscription 💅
8 months ago
0
1
0
Last week InstructorLite hit 100 stars and 10k downloads on Hex 🎉 Almost a year after its initial release! InstructorLite is the best way to get comfortable with structured outputs before you inevitably transition to raw Req.
#ElixirLang
#MyElixirStatus
8 months ago
0
5
0
If food can only be soup, salad or sandwich, then functions can only be pure functions, side-effects or call sites
8 months ago
0
0
0
That was unexpected
9 months ago
1
0
0
Registry is such a versatile tool. How did we live without it? How do I stop using it for everything?
9 months ago
0
1
0
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.
9 months ago
0
15
0
I think the question is, does the world need DiscoHog?
add a skeleton here at some point
9 months ago
0
1
0
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 🤔
9 months ago
0
0
1
What have I done my silly AI essay is "on HN front page". I don't even know how hacker news work. Should I open comment section?
9 months ago
1
1
0
A tech lead who I highly respect once told me that in order to get something _really_ right, you need to rewrite the code ~5 times. I think about this often.
9 months ago
1
0
0
InstructorLite is slowly catching up with Instructor, huh
9 months ago
0
0
0
AI etiquette, I'm telling you
distantprovince.by/posts/its-ru...
add a skeleton here at some point
9 months ago
0
13
2
I distinctly remember that I discovered this blog somewhere in late 2010s, although I don't remember how exactly. Time has passed, I myself became Canadian, and the man continues to drop gems like this 😭😭
add a skeleton here at some point
9 months ago
0
6
1
reposted by
Alex Martsinovich
I am an AI optimist, but sometimes I feel like I am at war with AI. Or maybe with other people. Ugh, listen, you just need to imagine you are a scrambler.
distantprovince.by/posts/its-ru...
loading . . .
It's rude to show AI output to people | Alex Martsinovich
Feeding slop is an act of war
https://distantprovince.by/posts/its-rude-to-show-ai-output-to-people/
9 months ago
1
10
5
Posthog is such a branding powerhouse. I know they have stories now. I wrote an error tracking library for them. And I don't even use the product that much! I barely know what they do!
9 months ago
0
1
1
I am an AI optimist, but sometimes I feel like I am at war with AI. Or maybe with other people. Ugh, listen, you just need to imagine you are a scrambler.
distantprovince.by/posts/its-ru...
loading . . .
It's rude to show AI output to people | Alex Martsinovich
Feeding slop is an act of war
https://distantprovince.by/posts/its-rude-to-show-ai-output-to-people/
9 months ago
1
10
5
reposted by
Alex Martsinovich
Dorgan
9 months ago
`check_possible_steal_victim` is probably the best function in the otp codebase
0
2
1
I'm a big fan of playful naming in code and I really love the concepts of "task stealing", "task immigration", and "scheduler evacuation" in Erlang schedulers.
9 months ago
1
1
0
Ever wondered what `Sentry.PlugCapture` does? How come we need a plug to log Plug errors? Aren't they... just logged like any other error? The answer is for 🏛️ historical reasons 🏛️. These days, it's not necessary.
#ElixirLang
10 months ago
1
0
0
In the meantime, fully human-made, hand-crafted banger libs InstructorLite 1.0.0 and DiscoLog 2.0.0 are coming next week, I think
10 months ago
0
0
0
Basically, LogHog hogs your logs and posts them to PostHog
10 months ago
0
0
0
🚀 Time to announce LogHog - PostHog 🦔 Error Tracking for Elixir
#ElixirLang
elixirforum.com/t/loghog-pos...
loading . . .
LogHog - PostHog Error Tracking for Elixir
PostHog introduced their Error Tracking solution a couple of months ago. Right now they only support Python and JS, but the team was kind enough to add support for language-agnostic errors, which LogH...
https://elixirforum.com/t/loghog-posthog-error-tracking-for-elixir/71265
10 months ago
0
7
3
My logging era is in full motion and my poor pet app is running Sentry, DiscoLog and LogHog handlers 💀
10 months ago
0
0
0
Just spilled my diet coke
10 months ago
0
1
0
PostHog Error Tracking might not support Elixir, but that won't stop Elixir from supporting it!
#ElixirLang
10 months ago
1
3
0
Did a deep dive into logging metadata and what it means to have an "unhandled" error in Elixir. Hence the two new pages in LoggerHandlerKit docs!
hexdocs.pm/logger_handl...
loading . . .
Metadata — Logger Handler Kit v0.2.0
https://hexdocs.pm/logger_handler_kit/metadata.html
10 months ago
0
1
0
Took me a while to realize but this isn't a proper highlighting, Github!
11 months ago
0
0
0
Every once in a while I open Bandit repo just to check what weird corner case was discovered this week
github.com/mtrudel/band...
loading . . .
More info on (Bandit.HTTPError) Body read timeout · Issue #490 · mtrudel/bandit
👋 I'm using Bandit v1.6.11 and I started noticing more [error] ** (Bandit.HTTPError) Body read timeout in my logs today, like a couple every hour. And I wonder if there is a way to get more informa...
https://github.com/mtrudel/bandit/issues/490
11 months ago
0
5
0
today i'm planning to torture phoenix logs until they tell me who sent them
11 months ago
0
0
0
Alright, so
@posthog.com
Error Tracking requires backend implementation for each supported language. If anyone asks, Elixir is Python now 🥸
11 months ago
0
0
0
After tinkering with DiscoLog for quite some time I decided to share my findings as LoggerHandlerKit - Hex package that helps you write logger handlers
elixirforum.com/t/loggerhand...
loading . . .
LoggerHandlerKit - your guide to Elixir logger handlers
I’m excited to announce LoggerHandlerKit – an educational package for developers who want to write their own logger handler. It provides: An example test suite for the default Elixir logger A collec...
https://elixirforum.com/t/loggerhandlerkit-your-guide-to-elixir-logger-handlers/70690
12 months ago
0
2
0
Sometimes I open Hex front page and browse newest packages just to discover things like this (by
@binaryape.bsky.social
)
hexdocs.pm/unicode_smug...
loading . . .
UnicodeSmuggler — UnicodeSmuggler v0.1.0
https://hexdocs.pm/unicode_smuggler/readme.html
12 months ago
0
7
1
Great stuff
add a skeleton here at some point
12 months ago
0
0
0
no excuses
12 months ago
0
0
0
Oh boy I just received an AI generated github issues and the future is not bright
12 months ago
0
0
0
Daily caller tracking appreciation post
12 months ago
0
5
0
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
about 1 year ago
0
1
0
my silly little post mentioned 🥹
add a skeleton here at some point
about 1 year ago
0
1
0
Is there a way to package tests in
#ElixirLang
? Lots of libraries package adapters separately, but are there examples of packaging test suites to make them easier to develop?
about 1 year ago
2
1
0
"I asked chat gpt and it gave me this response ... " ok, I'm at the point where I consider this rude
about 1 year ago
2
9
0
Load more
feeds!
log in