Alex Martsinovich
@distantprovince.bsky.social
📤 63
📥 82
📝 119
#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/
3 months ago
1
6
3
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/
4 days ago
0
2
0
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/
about 1 month 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/
about 1 month 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 💅
about 1 month ago
0
0
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
about 2 months ago
0
4
0
If food can only be soup, salad or sandwich, then functions can only be pure functions, side-effects or call sites
about 2 months ago
0
0
0
That was unexpected
2 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?
2 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.
2 months ago
0
15
0
I think the question is, does the world need DiscoHog?
add a skeleton here at some point
3 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 🤔
3 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?
3 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.
3 months ago
1
0
0
InstructorLite is slowly catching up with Instructor, huh
3 months ago
0
0
0
AI etiquette, I'm telling you
distantprovince.by/posts/its-ru...
add a skeleton here at some point
3 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
3 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/
3 months ago
1
6
3
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!
3 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/
3 months ago
1
6
3
reposted by
Alex Martsinovich
Dorgan
3 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.
3 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
3 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
4 months ago
0
0
0
Basically, LogHog hogs your logs and posts them to PostHog
4 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
4 months ago
0
7
3
My logging era is in full motion and my poor pet app is running Sentry, DiscoLog and LogHog handlers 💀
4 months ago
0
0
0
Just spilled my diet coke
4 months ago
0
1
0
PostHog Error Tracking might not support Elixir, but that won't stop Elixir from supporting it!
#ElixirLang
4 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
4 months ago
0
1
0
Took me a while to realize but this isn't a proper highlighting, Github!
4 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
5 months ago
0
5
0
today i'm planning to torture phoenix logs until they tell me who sent them
5 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 🥸
5 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
5 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
5 months ago
0
7
1
Great stuff
add a skeleton here at some point
5 months ago
0
0
0
no excuses
6 months ago
0
0
0
Oh boy I just received an AI generated github issues and the future is not bright
6 months ago
0
0
0
Daily caller tracking appreciation post
6 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
7 months ago
0
1
0
my silly little post mentioned 🥹
add a skeleton here at some point
7 months 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?
7 months 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
7 months ago
2
9
0
I run my
#ElixirLang
apps on a single VPS and for the most part their life was uneventful. Until one day someone tried to connect to them.
distantprovince.by/posts/hide-y...
loading . . .
Hide Your Nodes, AAAAAA@AAAAAAA is Coming | Alex Martsinovich
When AAAAAA@AAAAAAA shows up at your server, what will your nodes do?
https://distantprovince.by/posts/hide-your-nodes-aaaaaaaaaaaaa-is-coming/
7 months ago
0
8
0
Your outie can always make a test async
add a skeleton here at some point
8 months ago
0
2
0
Yep, Plug.BasicAuth is good enough
add a skeleton here at some point
8 months ago
0
1
0
I wasn't kidding
add a skeleton here at some point
8 months ago
0
0
0
What's the simplest way to hide Oban Web in an app that doesn't have any kind of authentication?
add a skeleton here at some point
9 months ago
2
3
2
I'm not a customer of Fibery and never was, but I've been following them for years. They are very open and it's very very interesting to see their story unfold
fibery.io/blog/startup...
loading . . .
Fibery.io in 2024: A Startup's Year in Review
Fibery has doubled its paid customer base while also adding 450 new features and fixed 1400 bugs. Tune in to CEO Michael Dubakov's retelling of 2024 with wins,
https://fibery.io/blog/startup-diary/fibery-2024/
9 months ago
0
2
0
reposted by
Alex Martsinovich
Andrea Leopardi
9 months ago
Super nice post about
@elixir-lang.org
's nimble_ownership library by Alex Martsinovich:
distantprovince.by/posts/what-d...
Great stuff to know about. Also, great technical writing 👏
loading . . .
What Does NimbleOwnership Do Anyway? | Alex Martsinovich
NimbleOwnership may not take bribes, but it certainly knows who your father is.
https://distantprovince.by/posts/what-does-nimbleownership-do-anyway/
0
41
14
Load more
feeds!
log in