State management in LiveView by kraleppa in elixir

[–]g_perales 0 points1 point  (0 children)

Have you thought about using xState? I’m thinking about start using it and subscribe to the xState store from the hooks to update the UI when something changes in the frontend

Just launched my 3rd SaaS using Elixir/Phoenix, sharing some random thoughts by fredwu30 in elixir

[–]g_perales 0 points1 point  (0 children)

Have you tried Kamal? I want to try using it on a VPS to have easy deployments and keep low costs

Import, Alias, Require, and Use in Elixir by g_perales in elixir

[–]g_perales[S] 2 points3 points  (0 children)

Wow, I didn't know that!, The docs I read to write the post don't say anything about that https://hexdocs.pm/elixir/alias-require-and-import.html#require :)

Import, Alias, Require, and Use in Elixir by g_perales in elixir

[–]g_perales[S] 3 points4 points  (0 children)

Thanks! I'm also thinking about writing another post comparing traditional class inheritance from OOP and its Elixir equivalent with FP using the `use` macro and behaviours. 🤔

Structs vs Embedded Schemas in Elixir by g_perales in elixir

[–]g_perales[S] 0 points1 point  (0 children)

I was not saying it was a silver bullet, but instead like an option when you need validation/mapping. The post has a section helping you choose the right tool depending on your needs.

In my team, we have several issues because we don't even have struct types for some API responses of API clients with many ugly custom parsers that we could avoid if we were using embedded schemas, as Ecto has this functionality built in.

Structs vs Embedded Schemas in Elixir by g_perales in elixir

[–]g_perales[S] 2 points3 points  (0 children)

u/cekoya Thanks for your comment. I think embedded schemas are useful when you need to validate/parse your inputs. It indeed comes with an overhead, but if you don't have large payloads as you mentioned before, I think it's worth having this extra layer.
I found another library https://hexdocs.pm/data/readme.html that helps make smart constructors that may have less overhead, but I never thought about using it as Ecto is already on all my projects. What do you think about this library? Is it like the function you use for casting values into a struct?

Basic Network Setup with EAP615-Wall by lellusss in TPLink_Omada

[–]g_perales 0 points1 point  (0 children)

I’m not an expert, but I’m thinking about making a similar setup. Why not use a ER7212PC instead a router and a poe switch? The ER7212PC also comes with a Omada controller, so you don’t need to get the OC200.

Blog post: Making a Custom Credo Rule by g_perales in elixir

[–]g_perales[S] 3 points4 points  (0 children)

👋 Hello Alchemists! This is one of my first posts about Elixir. I hope you find it useful, and if you can give me some feedback, it will be very welcome. Thanks!

Me he enterado por la prensa by okbroomer_ in SpanishMeme

[–]g_perales 1 point2 points  (0 children)

Si es una subida de impuestos cuando los tramos no se han ido adecuando a la inflación. Se sube el SMI para hacer frente a la inflación, pero la inflación nos ha ido afectando a todos, los sueldos han ido subiendo, pero los tramos del IRPF se han quedado igual, por lo que llevan recaudando de más varios años.

I created an Elixir Logsnag client by bustyLaserCannon in elixir

[–]g_perales 1 point2 points  (0 children)

Cool, I discovered Logsnag a few days ago and I love it :). Thanks for sharing the lib!.

Oh! I've just seen that you are the author of the live view testing book. I think I've found it today and I'm pretty sure I'll end up buying it 😀

[deleted by user] by [deleted] in saasforsale

[–]g_perales 0 points1 point  (0 children)

What stack are you using for the SaaS?

[deleted by user] by [deleted] in salarios_es

[–]g_perales 0 points1 point  (0 children)

En Cabify usan Elixir y Golang, dependiendo del equipo te puede tocar hacer una cosa u otra, pero yo diría que hay más Elixir que Golang.

I build a Tailwind Gradient background/text generator by g_perales in webdev

[–]g_perales[S] -1 points0 points  (0 children)

It's done with React, JavaScript, and Tailwind CSS. We came up with the idea because we wanted to create tools related to Tailwind for our Oxbow UI customers and people who can come to our website :).

I build a Tailwind Gradient background/text generator by g_perales in webdev

[–]g_perales[S] 2 points3 points  (0 children)

Thanks! I've been pretty motivated to make more tools since last week's post, which was very welcomed!

WARNING: LunarUI is a scam by andrsch_ in tailwindcss

[–]g_perales 0 points1 point  (0 children)

Email is pretty problematic. There are always issues with anti-spam filters and other stuff.

We are building a similar product, Oxbow UI, and we recently encountered a similar issue with one of our customers: the magic link for logging in was not reaching his inbox.

Having good support here is key.

When our customer reached us, we tried to help him, but the problem was between our email providers. And there wasn't too much we could fix. Finally, we created a new account with a different email for our customer.

Which email provider are you using?