Raphael Costa
banner
costaraphael.bsky.social
Raphael Costa
@costaraphael.bsky.social
Elixir/Rust dev
Sometimes plays games and the guitar
Exciting stuff!
August 7, 2025 at 9:37 PM
What browser is this? 👀
August 7, 2025 at 9:06 PM
That’s awesome! I wonder what the lift is to ship it with the precompiled binary (to remove the Rust dependency on the dep users), like Explorer and friends.

Since I’m interested in using this, happy to have a look at that if you don’t mind.
July 30, 2025 at 10:12 AM
I think this is a good sign for adoption though. More companies using Elixir means more developers that dislike it will have to use it at work, meaning more dislikes in SO surveys.
July 30, 2025 at 10:08 AM
Ahhh, modularity *chef’s kiss*
July 7, 2025 at 12:00 PM
Ohhhh that looks nice!

Is it a library? Or more like a full fledged tool?
July 7, 2025 at 9:56 AM
That would make sense since there’s no concept of a process in the JS land (yet haha)
June 4, 2025 at 7:13 AM
This is truly fascinating stuff!

I was reading the example code, and I see the Elixir node it sends the message to a process named “counter” in the JS node, but I couldn’t see where the JS node registers this name. Did I miss something or is the JS code receiving messages directed at all processes?
June 4, 2025 at 7:13 AM
Yeap, might be just crazy enough to actually work haha
January 20, 2025 at 11:51 AM
What if you register a custom reporter that stores the test states, and then query it from the callback?

It is a bit hacky, but should work.

The unknown here for me is whether the reporter gets notified before or after the callbacks are run.
January 20, 2025 at 5:18 AM
That is clean!

I’m going to take some inspiration from yours and add a “copied” tooltip and a “loading” state.

I was building some Livebook apps last Friday and really missed a “copy to clipboard” button there.
January 19, 2025 at 6:52 PM
I love his stuff!
December 4, 2024 at 4:07 PM
That is true for factors, not for sums. Like, using primes I can be sure the products will be unique, but I cannot ensure the sum of products will be unique. In essence, you can have more than one set of 4 products that yield the same sum, which can cause you to overcount.
December 4, 2024 at 2:07 PM
Got it! In that case I posted a solution using it earlier, and I also link to this great video by 3blue1brown about convolutions. It is great to build that intuition about what is actually happening there.
December 4, 2024 at 2:05 PM
I don’t want to spoil anything, but you should have a look at a thread I posted earlier today once you’re done with the puzzle 😄
December 4, 2024 at 2:01 PM
Similar logic applies to your kernel, except the two required dimensions are output channels and input channels. The latter has to match the second dimension of your input. So for the same case you have a {n_kernels, 1, x, y} dimensional tensor kernel.
December 4, 2024 at 11:44 AM
It is supported, but you need two dimensions for batch size and channels and then n dimensions for your n-dimensional input.

So if you need to run a convolution over a 2D grid, and you don’t care about channels or batches, you need a {1, 1, x, y} tensor.
December 4, 2024 at 11:38 AM