Jaeyson Anthony Y. ⚗️

Jaeyson Anthony Y. ⚗️

@jaeyson.dev

Full Stack Engineer at Boogiebrands. Building fancies with Elixir ⚗️ and relearning fundamentals. https://jaeyson.dev #ElixirLang

616 followers85 following148 posts

Jaeyson Anthony Y. ⚗️ reposted

Oh, every visitor opened at least one LiveView socket, so this is how it looks like to have 10k LiveView sessions on a 8$/mo droplet 😄 (not simultaneously though)

Peter Ullrich@peterullrich.com

Oh nice! My Postgres WAL post got the attention of HackerNews! I didn't even notice it but I should probably increase my tiny $8/mo droplet's memory :D

Jaeyson Anthony Y. ⚗️ reposted

Isn't that what Erlang was all about? "OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I'm not aware of them."

Jaeyson Anthony Y. ⚗️ reposted

PSA! It's so easy to forget to handle websocket reconnects in LV, but if you're deploying regularly, your users are likely seeing A LOT of bugs coming from this. Go to one of your pages, click around a bit, then run `liveSocket.socket.triggerChanError()`, and see what happens. #ElixirLang

Jaeyson Anthony Y. ⚗️ reposted

I'm closing out, for now, my series on questions at the heart of development with an analysis of when we need more abstraction. For example, taking @germsvel.com's advice about architecting more accurate models can reduce future bugs. programmersstone.blog/posts/why-is... #ElixirLang

programmersstone.blogWhy is this hard?This article is part of the series JEG2's Questions. In a previous article of this series I talked about how we must remain ever vigilant against what is making it into our code. I talked about the ne...

Jaeyson Anthony Y. ⚗️ reposted

I made an Ash extension! Elixir is capable of hitting services hard; great for throughput but harsh when those services are trying to recover from an outage. The circuit breaker pattern addresses this issue and is now available in Ash! #MyElixirStatus hex.pm/packages/ash...

Long time ago newspapers aren't bombarded with ads, until realized. Same thing with tuning to radio stations. Same thing with TVs. Years ago, "Googling" shows little to no signs of targeted ads, until it's realized they can abuse cow's milk. Still, same thing for AI. #ads #monetization #attention

Jaeyson Anthony Y. ⚗️ reposted

"LiveView does the same thing as Eclipse RAP 15 years ago" "Unusable as soon as there is network latency" Great comment I heard yesterday at #jugpb talk on #elixirlang Offline mode? Latency >500ms -> Don't use LiveView Most business SaaS incl. mobile -> Use LiveView Let's dig deeper 👇

Jaeyson Anthony Y. ⚗️ reposted

In #Phoenix #LiveView v1.1.0-rc.0 we shipped `:key` support for comprehensions in HEEx. The idea was to finally be able to have change tracking in comprehensions. We did this by leveraging LiveComponents. Sounds easy enough, right? There were some problems though. A thread. #MyElixirStatus

Jaeyson Anthony Y. ⚗️ reposted

PSA: Tailwind (aka Phoenix) users should add the following CSS to their project: .\@container > * + * { border: 5px solid red !important; } With a comment saying "if you see this, you messed up, containers should only ever have one child element!" #elixirlang

No k8s, extra databases or message brokers needed? seems like a good idea 👀 #ElixirLang #OTP #Erlang

DLed@dmlled.bsky.social

Talk is cheap. There's a difference between knowing something can be done and having done so. Sometimes you just have to externalize the thoughts by implementing them. Zero downtime upgrade of a server-side rendered animation of SVG. #myelixirstatus #elixir #phoenix #erlang #otp

Jaeyson Anthony Y. ⚗️ reposted

It would be great if #OTP and #ElixirLang releases were better coordinated with Docker Hub and GHA - current situation: OTP 28 breaks a lot of Elixir code, our Sentry SDK is broken, there are a couple of fixes needed and we can't yet run our test suite on GH as there is no OTP 28 there yet.

Both of these books convinces you that Ash is designed to solve really difficult problems (regardless if it's under SME's or not). It is SUPER RARE to have an active community + authors who's answering to feedbacks DAILY!!! tbh I really don't know how they managed to do that (do they get sleep?)

1. temporary issues tied to Ash’s small but growing community, which will resolve on its own as the community expands 2. misconceptions about Ash’s purpose, which will persist until we shift our perspective to understand the complex business logic problems Ash is designed to solve. quoted it

Jaeyson Anthony Y. ⚗️ reposted

TIL: Electric SQL and phoenix_sync is not as good as I'd want it to be, I added it to my codebase to try it out and now they want me to deal with client side mumbo-jumbo :< #MyElixirStatus

👏🏾

Lucas Vegi@lucasvegi.bsky.social

🚨 Big news! My PhD thesis "Code Smells and Refactorings for Elixir" is a finalist for the SBC Dissertation Award — among the 6 best Computer Science theses in Brazil in 2024! 🇧🇷 As a result, we're organizing @se4fp.github.io. Follow the event profile to stay updated! 🔍👨‍💻 #ElixirLang #PhD #SE4FP

Jaeyson Anthony Y. ⚗️ reposted

Jaeyson Anthony Y. ⚗️ reposted

Replying to @jaeyson.dev

Do you know any CLI apps built with Elixir that are distributed as binaries? I am thinking of tools like docker or esbuild that are self-contained programs. I haven't seen that being done with the BEAM.

Jaeyson Anthony Y. ⚗️ reposted