John Elm Labs

198 posts

John Elm Labs banner
John Elm Labs

John Elm Labs

@JohnElmLabs

Elixir. LiveView. Linguist. Wannabe hacker. Bluesky @johnelmlabs.bsky.social

Austin TX เข้าร่วม Mart 2023
67 กำลังติดตาม275 ผู้ติดตาม
John Elm Labs
John Elm Labs@JohnElmLabs·
My (unproven) hypothesis would be that you could write the current in-flight tasks to disk and read them back on start up to kick them back off Things you lose with this would be scheduled / future / cron, but that’s not my goal I don’t need all the connections & polling for simple job retries. Database is always the bottleneck in prod. Elixir systems I’ve worked on. I think a stupid simple retry would serve most use cases Oban is great and when the needs dictate the move to it, I’d move to it. It just seems there’s room for a smaller, simpler starting point
English
0
0
0
24
{:ok, "Joel Jucá"}
{:ok, "Joel Jucá"}@holyshtjoe·
@JohnElmLabs I’d say that for very simple retries an arrangement of Tasks would do it. But then, you’ll end up stumbling on things like “restart survival”, logging, error capturing, etc., etc. — and then you’ll find yourself writing your own Oban. We call it “reinvent the wheel.”
English
1
0
0
68
John Elm Labs
John Elm Labs@JohnElmLabs·
I’ve always felt like for simple job / function retry there was a lighter dep. you could bring than Oban I think I can finally vibe code it now All OTP primitives and file system….here goes nothin
English
1
0
2
141
John Elm Labs
John Elm Labs@JohnElmLabs·
I don't even use my editor anymore. It's just Claude and the GitHub diff window
English
0
0
0
36
Sean Moriarity
Sean Moriarity@sean_moriarity·
I feel like there is a layer missing right now in the development flow with AI. We’re at the point where I want agents to authenticate and make purchase decisions on my behalf (with my approval). Why can’t I just give them a credit card and say: “find me an API that does X, ask for permission, and give me a key” It’s easy to develop against these APIs, but there’s still friction in researching, setting up billing, generating credentials, etc.
English
2
0
1
422
John Elm Labs
John Elm Labs@JohnElmLabs·
@josevalim Wow! Congratulations, and best of luck on the journey ahead
English
0
0
1
109
José Valim
José Valim@josevalim·
Almost 5 months since launch, Tidewave has crossed 100k ARR! 🎊 The best part is that we can invest all profits back into the product, since we are not reselling/subsidizing tokens. Thanks to everyone who is using it and for all of the feedback!
English
22
16
320
10.1K
John Elm Labs
John Elm Labs@JohnElmLabs·
Codebase architecture is a skill that is never taught and yet it's now more valuable than ever.
English
0
0
1
35
John Elm Labs
John Elm Labs@JohnElmLabs·
AI is amazing at writing code. Amazing. It's awful, and I mean awful, at organizing code It makes sense when you know AI is just a _really good_ next word predictor
English
2
0
1
39
Rajat Kulkarni
Rajat Kulkarni@JokingRajat·
Update #10 on Diff - a fast and local PR reviewer app Quickly change the base branch of your PR in the app.
English
1
0
4
2.6K
John Elm Labs
John Elm Labs@JohnElmLabs·
Anybody gotten a decent system to "compose" claude slash commands? Something like "do feature [x]. /test /format /commit /open-pr #MyElixirStatus
English
1
0
0
83
John Elm Labs
John Elm Labs@JohnElmLabs·
TOON is premature optimization
English
0
0
0
47
Brian Cardarella
Brian Cardarella@bcardarella·
I have been agentic coding in @ziglang for over two months and today switched over to @elixirlang to build a basic Phoenix app. I can say definitively that with the same setup the LLM is *way* dumber writing Elixir than Zig. I suspect the following: 1. I'm writing a phoenix app and not using tidewave so insight to the server environment is more difficult 2. my Zig work didn't require any outside dependencies so outside of the Zig stdlib the entire API surface is available 3. Zig's typesytem I have some ideas how to improve this, going to experiment.
English
8
2
41
8.5K
John Elm Labs
John Elm Labs@JohnElmLabs·
@mmmykolas @form Yes, checkbox + label can absolutely be styled to work with strictly the form In practice, I find few devs I've worked with know you can style labels like that ;)
English
0
0
1
35
Mykolas 🇱🇹
Mykolas 🇱🇹@mmmykolas·
I've read your post. You can still simplify this. You don't need javascript. <.form for={@form} phx-change="validate" phx-submit="save"> <.input type="checkbox" field={@form[:has_referral_code]} class="peer sr-only" /> <.input field={@form[:referral_code]} label="Referral Code" class="hidden peer-checked:block mt-3" />
English
2
0
2
60
John Elm Labs
John Elm Labs@JohnElmLabs·
HexDocs over swagger for public REST api documentation? Good Idea? bad idea? #MyElixirStatus
English
1
0
1
57
John Elm Labs
John Elm Labs@JohnElmLabs·
Claude fails to add some code comments and loses its mind 😭
John Elm Labs tweet mediaJohn Elm Labs tweet mediaJohn Elm Labs tweet mediaJohn Elm Labs tweet media
English
0
0
0
79
Brian Cardarella
Brian Cardarella@bcardarella·
LLM Codegen against well written specs is kind of magical. However, there are some optimizations I've had to do: 1. fetch original spec document (usually in HTML) 2. pandoc convert to markdown 3. ask LLM to analyze and remove anything from the document that is unnecessary and optimize for tokenization Without losing spec fidelity: DOM: 760k tokens to 62k tokens HTML: 3.7M tokens to 750k
English
1
0
11
985
Zach Daniel
Zach Daniel@ZachSDaniel1·
Got a PR in to #ElixirLang to fix a pretty rough footgun I noticed. Running the following code in an iex console could lead to a very bad day 😅. What do you think this code does in iex? Still work to do, but a PR to address this behavior is here: github.com/elixir-lang/el…
Zach Daniel tweet media
English
13
3
79
4.3K
John Elm Labs
John Elm Labs@JohnElmLabs·
Does anybody else's macOS updates seem to nuke their local Postgres installs into some sort of black hole? I swear every time I get a MacOS update I have to re-install Postgres entirely
English
0
0
0
99