dimitrios
banner
dnlytras.com
dimitrios
@dnlytras.com
husband, dad, && programmer.

react, onyx, typescript, elixir, phoenix, gyarados

blogging at dnlytras.com
Random, but I'm not posting here anymore. Consider connecting on twitter/x. x.com/dnlytras

Cheers!
dimitrios (@dnlytras) / X
dimitrios (@dnlytras) / X
x.com
June 5, 2025 at 1:58 PM
Is there an estimate for phoenix 1.8? I was planning to start a new project, and I'm not sure if I should pull the trigger with the RC>
April 16, 2025 at 1:59 PM
When building a Phoenix app, do you use the marketing name for your modules?

For example: `defmodule MyAwesomeSaas.Something.SomethingElse` or do you prefer a generic name? like `MyApp`?

I would hate it if I had to carry over an old name, and even more, renaming stuff down the road.
April 10, 2025 at 2:20 PM
I really like TanStack Start. I feel like I'm getting nerdsnipped into building something new, along with better-auth.

I'm not sure what to use for queues/jobs - that was always my pain point. I love how simple Oban is, and I definitely don't want to boot up a Redis instance.
April 7, 2025 at 12:55 PM
"Please generate a Studio Ghibli image of me dunking over redditors"
April 4, 2025 at 11:33 AM
Again, there's some good discussion in my post.

I spend a good chunk of my non-work time (new father) studying Elixir, Phoenix, LiveView, and experimenting with them.

I kept reading, "Just use LiveView," so I decided to try it out. I was surprised at how controversial my takes were.
This is a very good hot take on Liveview dnlytras.com/blog/on-live...

Many of my @elixirlang friends will immediately dismiss this a "hating" and they'd be wrong for doing so.

#ElixirLang
My experience with Phoenix LiveView | Dimitrios Lytras
Some takeaways from my time with Phoenix LiveView
dnlytras.com
March 23, 2025 at 11:35 AM
The more I use Dependabot, the less I like it.

I would much rather have a bot spam Slack every two days with the output of `npx npm-check-updates -i`.

You spend so much time updating pointless patch versions with the illusion that you are fighting tech debt.
March 6, 2025 at 11:01 AM
Just published my zed theme. Check it out if you want, search for "Lydia" in the extensions
February 7, 2025 at 2:50 PM
Some thoughts on my experience with using Inertia and Phoenix!

dnlytras.com/blog/phoenix...
Using Phoenix with React and Inertia | Dimitrios Lytras
Getting the best of both worlds; Phoenix's productivity, and React's ecosystem
dnlytras.com
February 3, 2025 at 9:04 AM
I wrote a bit about some issues I've faced when working with LiveView dnlytras.com/blog/on-live...
My experience with Phoenix LiveView | Dimitrios Lytras
Some takeaways from my time with Phoenix LiveView
dnlytras.com
January 21, 2025 at 9:26 PM
I want to be bullish on LLMs for coding, but every time they suggest a non-existent package, my confidence plummets.
January 14, 2025 at 12:16 PM
I'm not a fan of how everything is a `user_token` in the Phoenix auth generator.

It's a very leaky abstraction. Why would I need `sent_to` in my session tokens?

Imagine needing to add more metadata (IP, Browser, Etc) to sessions now.

Almost always you have to separate them.
January 13, 2025 at 12:10 PM
Finally found some time to try the Phoenix/Inertia/React combo, and I can honestly say it feels much better than LiveView to me. Heavy emphasis on "to me".

I don't hate JavaScript. So to be able to use the fantastic Elixir ergonomics, with React, is a big win.
January 11, 2025 at 1:34 PM
Patiently waiting to see which framework will win, React Router 7, or Tanstack Start. Ain't got time to read both docs.
January 9, 2025 at 8:00 AM
I honestly don't know how indiehackers died so suddenly.
January 7, 2025 at 10:34 AM
Not sure how everyone's eslint 9 migration went, but for me it's a net negative. I still don't care about the configuration, docs everywhere are a mess, and the codemod broke half the rules.
January 3, 2025 at 8:41 AM
Starting the year with light mode, just to feel something.
January 2, 2025 at 8:40 AM
Phoenix auth generator takes the most sensible approach. Fully transparent on what's happening.

I can't fathom why would you want a library (Devise for example) take over your whole users table. You get some goodies, sure, but good luck debugging and patching that.
December 4, 2024 at 9:44 AM
I'm debating if Liveview makes sense for me. It's a nice way to keep everything doing everything in Elixir, but I'm not too happy with the JS-hooks.

I also don't like the confusing and duplicate code in on_mount. This is too easy to mess up, and I'm most certainly messing up.
December 3, 2024 at 10:39 AM
Pushed some updates on my advent of code template:
- Properly parse description as markdown
- Optional follow-up with downloading the 2nd part when finishing the 1st

Also finished the first challege

#elixirlang

github.com/dimitrisnl/a...
GitHub - dimitrisnl/advent-of-code-elixir: An advent of code boilerplate using Elixir
An advent of code boilerplate using Elixir. Contribute to dimitrisnl/advent-of-code-elixir development by creating an account on GitHub.
github.com
December 1, 2024 at 10:59 AM
A very interesting thread on why Evolu removed Effect-TS..
I love Effect-TS - it's a fantastic library, but there's a good reason to not let something take over your codebase like this.
github.com/evoluhq/evol...
Why the Effect dependency removal? · Issue #499 · evoluhq/evolu
Hi! Thanks for the great product! I saw this from your API docs: We are currently rewriting the entire Evolu codebase to implement a new synchronization protocol and remove the dependency on Effect...
github.com
November 30, 2024 at 11:24 AM
Wrote this rushed Advent of code boilerplate, feel free to suggest improvements! #elixirlang

github.com/dimitrisnl/a...
GitHub - dimitrisnl/advent-of-code-elixir: An advent of code boilerplate using Elixir
An advent of code boilerplate using Elixir. Contribute to dimitrisnl/advent-of-code-elixir development by creating an account on GitHub.
github.com
November 29, 2024 at 6:39 PM
Torn between Gleam and Elixir for this year's advent of code.
November 29, 2024 at 3:04 PM
Before Claude and other AI tools, I wasted so much time tracking down subtle bugs, like typos. I would get into unproductive rabbit holes. Having them is such a great sanity check.

- "Why is this test failing"?
- "Well look at line X, ..."
November 26, 2024 at 8:28 AM