John Elm Labs (@johnelmlabs) 's Twitter Profile
John Elm Labs

@johnelmlabs

Elixir. LiveView. Linguist. Wannabe hacker.

Bluesky @johnelmlabs.bsky.social

📝Build an AI Powered Instagram Clone:
johnelmlabs.com/courses

ID: 1633157011201224722

linkhttp://johnelmlabs.com calendar_today07-03-2023 17:25:53

125 Tweet

241 Followers

56 Following

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

I’m using iSH to ssh into a Raspberry Pi so I can vibe code my side project without my fiancee yelling at me to get off the computer #MyElixirStatus Claude code + tmux = ❤️

I’m using iSH to ssh into a Raspberry Pi so I can vibe code my side project without my fiancee yelling at me to get off the computer #MyElixirStatus 

Claude code + tmux = ❤️
John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

It's kinda hilarious how they stuffed mountains of features into IDEs and now the best AI code tool on the market just awk / grep / seds your codebase from the CLI

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

How do you upgrade your plan on Fly.io? I've clicked on every tab, visited all account settings. I'm on the legacy hobby plan right now. I just want to upgrade so the machine doesn't go dormant after an hour.

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

There’s some (Elixir?) service on top of SES that lets you send bulk emails for a fraction of the cost of hosted providers (SendGrid et. al) but I can’t remember what it is Does anybody know / does this ring a bell? #MyElixirStatus

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

Please stop using `when not is_nil(var)`. Tells you nothing about what the data is supposed to be. Be assertive. Say what you _want_, not what you don't. Use is_binary, is_struct, is_boolean, is_list. I'm begging you. #MyElixirStatus

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

Elixir is so good for AI because the language is so small and terse. You need so many fewer tokens versus, say, a JavaScript / node app.

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

Public API functions should always return ok/error tuples The second tuple val shouldn't be just a primitive/struct. Wrap it in a map to allow extension of the return value w/o breaking / updating all call-sites. Broke: {:ok, "string"} Woke: {:ok, %{message: "string"}}

John Elm Labs (@johnelmlabs) 's Twitter Profile Photo

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