César Guzmán's Avatar

César Guzmán

@cuwano

Elixir developer https://github.com/Ironjanowar

28
Followers
44
Following
25
Posts
19.11.2024
Joined
Posts Following

Latest posts by César Guzmán @cuwano

Has probado a reiniciar?

23.06.2025 21:41 👍 1 🔁 0 💬 1 📌 0

La clave al final de la carrera es farmear créditos que luego se queda la carrera a medias xDDD

12.02.2025 20:13 👍 1 🔁 1 💬 1 📌 0

Todo son risis hasta que hay que operar con raíz de menos 1

31.01.2025 06:44 👍 1 🔁 0 💬 1 📌 0

Hey, just read the second part and it’s super nice! I wish I had guides like this when I started!! ❤️

29.12.2024 00:02 👍 1 🔁 0 💬 1 📌 0

I have the same doubt, I was wondering if it’s just for the shake of showing how to create client hooks maybe. But calling the lookup functions in the Liveview is what I would’ve done

27.12.2024 12:35 👍 0 🔁 0 💬 1 📌 0

#TIL append /rss to any @bsky.app profile and you have RSS feed.

example: bsky.app/profile/arat...

openrss.org/blog/bluesky...

26.12.2024 12:13 👍 24 🔁 5 💬 0 📌 0

Esto con teletrabajo 100% no pasa LOL

18.12.2024 15:27 👍 0 🔁 0 💬 0 📌 0
Video thumbnail

View a step-by-step playback of your feature test incl. JS console and network.
Powered by PhoenixTest + trace.playwright.dev
Great tool to debug feature test failures in CI.
#ElixirLang

15.12.2024 07:36 👍 13 🔁 4 💬 1 📌 0

Vaya pedazo de obra de arte tienes entre manos

11.12.2024 20:56 👍 1 🔁 0 💬 0 📌 0
Video thumbnail
09.12.2024 21:03 👍 1 🔁 1 💬 0 📌 0
Preview
live_isolated_component Simple library to test LV components live in isolation

Live Isolated Component update! v0.9.0 adds support for LiveView 1.0 thanks to Chase Gilliam!

#Elixir #myelixirstatus

hex.pm/packages/liv...

05.12.2024 12:06 👍 3 🔁 1 💬 1 📌 0
Preview
Elixir Streams |> How to synchronize the asynchronous within a GenServer Elixir and Phoenix tips, courses, and more.

Was trying to explain this the other day.

How do we coordinate a message that runs through a GenServer’s handle_call and handle_info in a way that makes it seem synchronous from the caller’s perspective?

The secret, use GenServer.reply/2

Check it out 👇

www.elixirstreams.com/tips/sync-th...

04.12.2024 12:04 👍 20 🔁 2 💬 3 📌 0
Phoenix LiveView 1.0.0 is here! - Phoenix Blog LiveView 1.0 is out!

Phoenix LiveView 1.0 is out!!!

Official blog post with a history of LiveView: phoenixframework.org/blog/phoenix...

Full changelog here: github.com/phoenixframe...

03.12.2024 22:30 👍 56 🔁 17 💬 0 📌 4
Preview
Parse a Regex with NimbleOptions Learn how I discovered that ~r-sigils return Regex structs and how to include regex patterns as valid input in NimbleOptions.

🚨 New Blog Post 🚨

I wrote a tiny blog post about:

1. how to print out the type info of an #ElixirLang variable and
2. how to allow regexes in NimbleOptions definitions

peterullrich.com/parse-regex-...

02.12.2024 11:23 👍 17 🔁 4 💬 2 📌 0

Ah que ha sido después de cargar un LLM

bsky.app/profile/afer...

30.11.2024 19:48 👍 1 🔁 0 💬 1 📌 0
Post image

Maybe?

30.11.2024 19:45 👍 1 🔁 0 💬 1 📌 0
Post image

And after that, for a little sweet treat - pick up Peter's book at PragProg's Black Friday sale
40% off checkout code turkeysale2024
pragprog.com/titles/pupho...

29.11.2024 18:27 👍 2 🔁 2 💬 0 📌 0
Post image

Intrusive thoughts

29.11.2024 14:33 👍 2 🔁 1 💬 0 📌 0

El tamaño de la muestra no es importante, lo que importa es como la usas. O algo así, no soy 100tífiko

29.11.2024 14:28 👍 2 🔁 1 💬 0 📌 0

Pues aquí veo un claro test que escriba a un fichero el resultado de la estadística no? Efectivamente no te hace falta hacer asserts de cosas pero bueno. Recopila datos y luego puedes hacer gráficas y mierdas

29.11.2024 12:29 👍 1 🔁 0 💬 1 📌 0

Además si consigues hacer unir tests, las pruebas quedan escritas. Ahora mismo te tienes que acordar de todas las que haces

29.11.2024 06:49 👍 1 🔁 0 💬 1 📌 0

También entiendo que si estás generando cosas aleatorias es más difícil pero bueno, ahí está la idea xD

29.11.2024 06:46 👍 1 🔁 0 💬 1 📌 0

Ta guapo, una pena que sea Python pero guay. A lo mejor te ayuda hacer un unit test de verdad en vez de hacer prints, pones unos asserts (y si quieres prints) y evitas cosas como estar mirando un print que no deberías. Pones asserts con lo que esperas ver y si va bien lo ves inmediatamente

29.11.2024 06:45 👍 3 🔁 0 💬 1 📌 0

Se puede decir de que va tu TFG? O es privadito

28.11.2024 23:27 👍 1 🔁 0 💬 1 📌 0
Post image
28.11.2024 23:26 👍 1 🔁 1 💬 0 📌 0
Preview
GitHub - TanklesXL/gladvent: A Gleam framework for running Advent of Code solutions A Gleam framework for running Advent of Code solutions - TanklesXL/gladvent

If you’re planning to do #adventofcode this year using @gleam.run, check out Gladvent! It’s a framework for running AoC solutions

github.com/TanklesXL/gl...

28.11.2024 07:55 👍 7 🔁 1 💬 0 📌 0
Preview
dk-handle_data_raw by dkuku · Pull Request #16 · derekkraan/curl_req Hey @derekkraan I often copy curl requests from the browser. In my case the data is always under the key data-raw which does the same as --data but does not support @ which is reading from file or ...

Couldn't sleep, so I merged a PR and made a new release for curl_req. Now supporting --data-raw, --data-ascii, and stripping $ from messages (frequently seen copying curl reqs from browser).

PR: github.com/derekkraan/c... (h/t @dkuku.bsky.social)

Pkg: hex.pm/packages/cur...

#elixirlang

28.11.2024 09:06 👍 8 🔁 2 💬 0 📌 0

functional programming suggests the existence of dysfunctional programming

27.11.2024 19:57 👍 33 🔁 5 💬 4 📌 1
Preview
Robust Session Storage in Phoenix Live View Sessions - 9elements For an internal project called ‘ControlManiac’, which helps us with all the boring numbers juggling in our software studio, I had to add a global filter to the navigation bar, which lets me select the...

Just did a short write-up on storing session data in a #LiveView application so that it survives page reloads and navigation events within the same live_session.

9elements.com/blog/robust-...

#ElixirLang #ElixirPhoenix

27.11.2024 12:20 👍 12 🔁 3 💬 0 📌 0
Preview
Create a Reusable Calendar in Phoenix LiveView Updated for Phoenix 1.7. In this tutorial I am creating a simple calendar in Phoenix LiveView. The calendar should be able to switch month, highlight current day and select a specific day. I might ext

I don’t know if you’ve seen this fullstackphoenix.com/tutorials/cr.... We adapted it for a scheduling UI in our product and it works wonderfully as a LiveComponent with its own state

27.11.2024 13:02 👍 8 🔁 3 💬 2 📌 0