Andrés's Avatar

Andrés

@andresgutgon

#elixirlang #typescript #react

207
Followers
392
Following
232
Posts
21.04.2023
Joined
Posts Following

Latest posts by Andrés @andresgutgon

Claude recommended to tag critical e2e tests with `e2e_smoke` and run the full e2e suit not in PRs but maybe in another callback like "before deploy".

So easy with Elixir testing system 🔥

08.03.2026 15:46 👍 1 🔁 0 💬 1 📌 0
Post image

Lovin #elixirlang . I wanted to experiment with E2E testing using github.com/germsvel/pho... and the playwright adapter.

My concern with e2e tests are that are expensive so I asked AI what I can do to mitigate it.

08.03.2026 15:46 👍 3 🔁 0 💬 2 📌 0
Preview
a close up of a man 's face with his eyes closed in front of a body of water . ALT: a close up of a man 's face with his eyes closed in front of a body of water .
28.02.2026 09:44 👍 0 🔁 0 💬 0 📌 0
Post image Post image

Holy shit. Thanks. From 4 minutes to 34 seconds 😂

07.02.2026 12:40 👍 1 🔁 0 💬 0 📌 0
Grok is even worse than you think.
Grok is even worse than you think. YouTube video by Benn Jordan

Could Grok, the Ai of Elon provoking CANCER to the people of Memphis?
youtube.com/shorts/jBJxX...

03.02.2026 18:09 👍 0 🔁 0 💬 0 📌 0

Thanks! I'll take a look

01.02.2026 18:58 👍 1 🔁 0 💬 1 📌 0

I think I do. Do you see something I can improve github.com/andresgutgon...

01.02.2026 18:40 👍 0 🔁 0 💬 1 📌 0
Post image

Man dialyzer is super slow. I wish native Elixir types arrive soon

01.02.2026 16:57 👍 2 🔁 0 💬 2 📌 0

x.com/grok/status/...

02.01.2026 17:09 👍 0 🔁 0 💬 0 📌 0
Grok saying openly that Trump is a pedophile

Grok saying openly that Trump is a pedophile

Got to admit. Grok was savage here 😂

02.01.2026 17:09 👍 0 🔁 0 💬 1 📌 0
Post image

I just discovered Ash code interfaces :cheff_kiss:

31.12.2025 18:00 👍 3 🔁 0 💬 0 📌 0

@zachdaniel.dev I linked to the magic link controller here. You asked for it last time we talked about this : )

22.12.2025 18:56 👍 2 🔁 0 💬 0 📌 0
Preview
My first impressions with Ash and Ash authentication My experience using Ash framework for the first time.

My first impressions with Ash and Ash authentication
andres.fika.bar/my-first-imp... My experience using the Ash framework for the first time. #elixirlang @ash-hq.org

22.12.2025 18:56 👍 7 🔁 1 💬 1 📌 0
Post image

Without almost no modification, you can use @ash-hq.org auth package to build a multi-account OAuth connection.

Now this user can connect to the app with 2 different Google accounts and one Github account. Really nice. I'll publish the code changed to make default auth work this way. #elixirlang

22.12.2025 14:24 👍 6 🔁 0 💬 0 📌 0

I'm a big fan of not doing that xD

15.12.2025 07:08 👍 0 🔁 0 💬 1 📌 0
Preview
ash_learning/lib/ash_learning_web/controllers/magic_link_controller.ex at 5a12807b7315a929b495ad2eba688cf3fd9a23cc · andresgutgon/ash_learning Just playing with ash. Contribute to andresgutgon/ash_learning development by creating an account on GitHub.

This is all the magic-link workflow
github.com/andresgutgon...

What do you think? Can it be done in a more Ashy way?

14.12.2025 16:22 👍 0 🔁 0 💬 0 📌 0
Post image

Oh! It works. This is beautiful
The level of compression here is amazing

✅ Register/login with password
✅ Register/login with magic link
✅ Register/login with GitHub
✅ Register/login with Google
✅ Change password flow
✅ Remember me cookie
✅ `return_to` session redirect after login

14.12.2025 16:17 👍 2 🔁 0 💬 0 📌 0
Post image

Is this a nice way of splitting actions in an @ash-hq.org resource? Didn't try yet but just with all the auth stuff, my user resource is huge

Is this works would be fantastic

14.12.2025 16:02 👍 2 🔁 1 💬 3 📌 0

Happy to learn. But starting from Phoenix team generated auth would you say is safe? If the answer is yes the same could be done in Ash.

It would make even easier the migration from vanilla auth to Ash auth if the controller paths and names are the same.

08.12.2025 18:44 👍 0 🔁 0 💬 1 📌 0

I trust your design I'm just following it. That's the point of this digging. But the UI is mine and mine alone xD

So far everything clicks perfectly

08.12.2025 17:59 👍 1 🔁 0 💬 0 📌 0
Preview
Eject from Ash Auth liveview screens by andresgutgon · Pull Request #2 · andresgutgon/ash_learning What? I want to understand how complex is to use Ash Auth without default components. In the future I want to use Inertia.js so for now I think migrating to plain Phoenix views will give me an idea...

Actions from Ash auth
github.com/andresgutgon...

08.12.2025 17:55 👍 0 🔁 0 💬 1 📌 0

Shit, did i say that? : / not my point at all.

But i think these magic routes hurt more than help ash auth adoption. Would be better the Phoenix approach. We already discussed this has the tradeoff of delegating security on the devs. But if they're using Ash auth in their controllers i think is ok

08.12.2025 17:54 👍 0 🔁 0 💬 1 📌 0

This is for registration and login. Is the right way?
bsky.app/profile/andr...

08.12.2025 17:50 👍 0 🔁 0 💬 0 📌 0

So far super happy with Ash actions bsky.app/profile/andr...

08.12.2025 17:47 👍 0 🔁 0 💬 0 📌 0

I'm using Ash actions. Otherwise i lost my weekend 😂

08.12.2025 17:43 👍 0 🔁 0 💬 2 📌 0

Not migrated yet. I'll do a blog post and link to the repo. Happy for your feedback when done!

08.12.2025 17:42 👍 0 🔁 0 💬 0 📌 0
Video thumbnail

This is what the AI did. But I can plug here shadcn with React or plain old CSS or Liveview.

The point is that's mine and mine alone. At the end of the day in a real project, working with a product team will be a brand identity to be followed. You're not going to go with Ash auth almost never.

08.12.2025 17:07 👍 1 🔁 0 💬 2 📌 0
Post image

But if my requirements change I can easily change.

This is `submit_form` method inside helpers

Easy to change, use Ash Form, do remember me for login and register and also handler `return_to`. Not bad for 20 LOC

08.12.2025 17:02 👍 0 🔁 0 💬 2 📌 1
Post image

This is my register old boring controller

Two things here
a) The view is mine and I can style as I please
b) Yes, this has an abstraction in AuthHelpers that use Ash under the hood.

All code for `new` and `create` is exactly the same for me so I abstracted.

08.12.2025 17:02 👍 0 🔁 0 💬 1 📌 0
Post image

Ash auth view abstractions are all liveview super complex to follow. Example of signin.

This uncessarily complex because it has to cover all type of auth strategies but maybe you just want magic link.

Is impossible to fully change to the pixel this UI

08.12.2025 17:02 👍 1 🔁 0 💬 1 📌 0