Readit News logoReadit News
josevalim commented on Lazier Binary Decision Diagrams for set-theoretic types   elixir-lang.org/blog/2025... · Posted by u/tvda
MarkusQ · 17 days ago
Shouldn't it be:

``` type lazy_bdd() = :top or :bottom or {type(), constrained :: lazy_bdd(), uncertain :: lazy_bdd(), dual :: lazy_bdd()} ```

(where the members are `lazy_bdd()` instead of `bdd()`?)

josevalim · 17 days ago
Correct, I pushed a fix, should be live soon! Thank you!
josevalim commented on Lazier Binary Decision Diagrams for set-theoretic types   elixir-lang.org/blog/2025... · Posted by u/tvda
taeric · 17 days ago
I am a little confused on the idea that the "C [node] appears twice" in the diagram. I would expect that both of those are the same node such that the standard BDD implementation would already have reduced those. Though, my understanding for BDD is more that a label will only appear once per path to TOP/BOTTOM. Not that they only appear once per diagram.

Fun to consider how to use these for type checking. I hope to spend a lot more time reading more on this. Love that one of the linked papers has exercises in the appendix.

josevalim · 17 days ago
You are right, poor phrasing on my side. Instead of focusing on C appearing twice, I should rather focus on how complex the expansion is, meaning that everytime we have to expand the BDD (which we need to do during subtyping or emptiness for example), we end-up doing a lot of repeated operations. I will push an update, thank you for commenting.
josevalim commented on Elixir 1.19   elixir-lang.org/blog/2025... · Posted by u/theanirudh
bmitc · 2 months ago
The Phoenix churn is definitely real. It's so much so that I've never gotten into it. It's also extremely macro heavy, and so it's its own DSL or collection of DSLs. A concrete example of the churn is that the LiveView book has been "about to release" for five years now.

Although, what parts of Elixir itself are rough or missing creature comforts? I generally feel it's stable and fine, but I admittedly haven't written Elixir code in a couple of years, sadly.

josevalim · 2 months ago
LiveView was still before v1.0, hence the churn, but Phoenix itself did not introduce breaking changes since v1.0, released more than a decade ago. Our skeleton for new applications change, as best practices around web apps are still evolving, but it is completely up to you to migrate. As a reference point, most other web frameworks have gone through several major versions in the same time, changing how new apps are built but also breaking old ones.

The idea that Phoenix is also mostly macros does not hold in practice. Last time this came up, I believe less than 5% of Phoenix' public API turned out to be macros. You get this impression because the initial skeleton it generates has the endpoint and the router, which are macro heavy, but once you start writing the actual application logic, your context, your controllers, and templates are all regular functions.

josevalim commented on Tidewave Web: in-browser coding agent for Rails and Phoenix   tidewave.ai/blog/tidewave... · Posted by u/kieloo
Lio · 4 months ago
Thanks for this Jose, it looks great.

I only have one question and it's not a very important one; the name.

Why is it "tidewave" and not "tidalwave"? That just sounds wrong. (Told you it wasn't important :D )

EDIT: I think I might have answered my own question, there's another AI mortgage payment tool already called Tidalwave. I guess this saves confusion.

josevalim · 4 months ago
It was honestly a mistake from my side, as I am not a native speaker! But I was told to stick with it, since it has a gentler and unique meaning.
josevalim commented on Tidewave Web: in-browser coding agent for Rails and Phoenix   tidewave.ai/blog/tidewave... · Posted by u/kieloo
canadiantim · 4 months ago
Could it work with Django?
josevalim · 4 months ago
It is in our roadmap!
josevalim commented on Tidewave Web: in-browser coding agent for Rails and Phoenix   tidewave.ai/blog/tidewave... · Posted by u/kieloo
taatparya · 4 months ago
Does it include support for Ash framework?
josevalim · 4 months ago
It should just work. Ping me if you run into any issues!
josevalim commented on Tidewave Web: in-browser coding agent for Rails and Phoenix   tidewave.ai/blog/tidewave... · Posted by u/kieloo
elepedus · 4 months ago
I'm super-conflicted about this.

I've been loving Tidewave MCP since the day it launched and I wish I had that for all my work. I also fight the pain of driving web browsers through the playwright MCP every day, and while it's a huge help, it's also massively slow and kills my context window.

I want these problems solved. But I want them solved in a way that isn't unique to one stack, because I don't have the luxury of sticking to my preferred Elixir stack all the time. I also want them solved in a way that doesn't force me to take a huge backward step in my AI usage by bypassing my all-you-can-eat Max subscription.

The $10 subscription isn't that expensive, but then again, since this isn't a complete solution, it's going to be on top of other subs like Cursor/Max/Phoenix.new etc etc and it becomes death by a thousand cuts.

Maybe I just need to calm down a bit and not look at it as all-or-nothing.

Like, sure, switching to this full-time would be impossible. But maybe as a tool in my toolbox, where I pay $10 and use it once-in-a-while, when I have a tricky thing to do and it's worth me burning $10-20 on API tokens just to unblock me.

I'm just concerned that software development is fast becoming pay-to-play / pay-to-win, and that can quickly lead to chickenization, where prices are carefully titrated to shift most of the value to the tool providers.

We've seen this play out in infrastructure and tooling, and most orgs now "donate" a huge chunk of their profit margins to AWS.

josevalim · 4 months ago
I hear you. I'd love to integrate with whatever model subscription is available but it seems using Max outside of Claude products is against their terms. I suggest reaching out to Anthropic and letting them know you would like to use your Max subscription with other coding agents.
josevalim commented on Tidewave Web: in-browser coding agent for Rails and Phoenix   tidewave.ai/blog/tidewave... · Posted by u/kieloo
enraged_camel · 4 months ago
Hard for my team to get excited about this, because we haven't been able to use Tidewave at all, as neither it nor the Rust-based proxy support local HTTPS (which we need for our integrations with several third-party services, e.g. oauth providers).
josevalim · 4 months ago
Can you ping me on Tidewave's Discord or send me an email (you can find on github.com/josevalim)? We did test it on https recently and it worked fine, so there is something more going on. I'd be glad to see this ironed out!
josevalim commented on Tidewave Web: in-browser coding agent for Rails and Phoenix   tidewave.ai/blog/tidewave... · Posted by u/kieloo
prophesi · 4 months ago
Is it safe to say that the Tidewave MCP server will remain FOSS, but anything Tidewave Web related (localhost:4000/tidewave) will be proprietary yet optional?
josevalim · 4 months ago
Yes!

u/josevalim

KarmaCake day4176January 12, 2008View Original