John Elm Labs

200 posts

John Elm Labs banner
John Elm Labs

John Elm Labs

@JohnElmLabs

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

Austin TX Katılım Mart 2023
69 Takip Edilen275 Takipçiler
John Elm Labs
John Elm Labs@JohnElmLabs·
@thdxr Why can’t you just have an agent doing this ? Why a person?
English
0
0
0
46
dax
dax@thdxr·
are there people out there who just want to refactor every day? just wake up and find the worst code and just chip away at it and clean it up wake up the next day do it again, infinitely improving things with zero external impact?
English
776
62
3.4K
313K
John Elm Labs
John Elm Labs@JohnElmLabs·
I wanna see the global Git commit graph overlaid on Claude’s uptime, I bet it’s a 1:1 correlation
English
0
0
1
43
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
75
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
144
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
37
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
423
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·
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
987