In this episode of the Elixir Mentor Podcast, I'm joined by Miguel Camba, a Senior Engineer at DockYard and key contributor to Beacon CMS. Miguel dives deep into the development of Beacon's visual editor, a powerful feature that bridges the gap between developers and content creators. We explore how the team leveraged Phoenix LiveView and JavaScript to build an intuitive, real-time editing experience while maintaining Beacon's commitment to performance. Miguel shares fascinating technical insights about implementing drag-and-drop functionality, handling real-time previews, and managing state across complex visual editing operations. Our conversation covers the challenges of building a modern page builder in Elixir, the architectural decisions that shaped the editor's design, and how it fits into Beacon's vision of making content management more accessible. This episode provides valuable perspectives for developers interested in building sophisticated browser-based tools with Phoenix LiveView and the future of visual editing in the Elixir ecosystem. #ElixirLang #BeaconCMS #PhoenixLiveView #DockYard #webdevelopment Connect with Miguel: X: https://x.com/MiguelCamba BeaconCMS GitHub: https://github.com/BeaconCMS SUPPORT ELIXIR MENTOR 🌐 My website: https://elixirmentor.com/ 🎙 Check out my podcast: https://www.hiredgunapps.com/podcast 🆘 NEED HELP?? Join the Discord Server: https://discord.gg/HcnjPsWATg 🔗 All my Links: https://linktr.ee/jacob_luetzow
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Testing Secure your Elixir apps with Paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO. Hi, I'm Jacob. My YouTube channel and podcast reach thousands of engaged Elixir developers every month. If you're looking to promote your developer tools, services, or job opportunities to a
focused audience of Elixir professionals, head to elixirmentor.com and let's discuss sponsorship options. What's up? I'm Jacob Blitzo, your Elixir mentor, and welcome to another exciting episode of the Elixir Mentor Podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the community, to innovative projects and library shaping. Elixir's feature. Today, I'm excited to welcome Miguel Camba, a senior engineer
at Dockyard and key contributor to the Beacon CMS project. Welcome to the show, Miguel. Thank you so much for being here. Do you want to just go ahead and give a brief introduction of yourself? Sure. Well, Miguel, as you said, I seen the developer doctor. I've been a doctor for the last six years. I think it's quite a long time. I live in Spain, northwest Spain, and yeah, even I feel
like a intruser to intruders to some extent because I don't do elixir all that often. I do it personally on Fridays mostly because I on my day-to-day I do more JavaScript than I do at Elixir by a third margin. It's not. It's not to be close, but I've been doing Elixir for a long, long time even though it's not my primary language. I started with Elixir in memory serves very early as soon as it was announced.
Probably because I do remember that was doing Ruby at the time I started my career as soon as I exit college doing Ruby and I was kind of very into the Ruby community and I knew many of the core contributors, including Just Say. So when Just Say published the idea of Elixir, I was interested for two reasons. First of all, I knew him and I knew the kind of things the OR the kind of premises Elixir was
based upon, like being, you know, nice to read performance, multi threaded. Even multi threaded is not really descriptive enough because it's not really they're not really threaded. The processes that took my that took my eye. And then it just happens that in my College, in university, I happen to, it happens to be or
it happens to have a pretty strong airline department. It did. It was by chance. And in fact, I wasn't particularly involved in Erlang while I was studying there, but I knew that they were doing cool things in Erlang. They do. They were working on a video distribution, video distribution platform in Erlang. So in some research team and I knew of Erlang, which is something most people didn't at the time. And the fact that this thing was supposed to be like a better Erlang or or at least a more a
more recent Erlang. Exactly that took my because I heard a lot of the things about Erlang even though I didn't use it myself while in while studying and lucky. Because when I was in college I was only able to learn Java. Well, I did learn Java, and I remember well, there was a few, there were a few odd tacks in among my professors because there were some who were very into Erlang, even though there wasn't one of the subjects at all, and also Ocaml.
So actually my first functional programming language was Ocaml, even though it was like, I mean, just deep in my toes. But I did do some small amount of functional programming while studying. And back to Elixir, when I saw the announcement, I, as soon as I could, I play with it, you know, open the puzzle, run some commands. And I remember maybe a few weeks or months into the release, someone published what I think was the first framework to start
in Elixir, which I remember was called Dynamo. And I, I tried it for like, you know, created a page where you could stream a story to several browsers at the same time. But well, that was my first naive attempt to doing multi, multi threading on web servers. And I, I mean, I thought it was cool, but again, I didn't have, I didn't have a professional
stake on it until much, much later because I've been after doing Ruby, even though I didn't stop Ruby doing Ruby, I also started doing Elixir, sorry Elixir, JavaScript, Ember in particular at the time before that was a time before React came out and even before. Well, I, I think Angular already existed, but, but back in the day was Backbone, Erlang, sorry Erlang, Ember and sorry, Angular one, the first Angular, the one
that pretty much everyone hated. Yeah. And I started doing JavaScript and it didn't stop ever since. JavaScript is a very It's probably the most popular language in the world. Yeah, it's done a. Good Python. Python is over there, but I think still there is a lot of people who does Python that also has to do JavaScript because the web is what it is. So even if you include first language and second language,
there is one of those is probably JavaScript. Whether you do Java and JavaScript, whether you do Ruby and JavaScript, whether you do Python And JavaScript, JavaScript is always there. My first like language where I started working professionally was Swift, and then it became JavaScript because I started working on APIs and became a back end engineer. And now I just try to stay in Elixir and I have to look up syntax every time I have to write JavaScript because I forget I forget how to write it.
But it's still it's still up there somewhere. We almost an awesome Elixir contributor back to JavaScript, Daniel who just landed his first full time Elixir job and that that's pretty cool. So I was excited, and that was from a conversation on this podcast, and I felt pretty, pretty special to be able to contribute to that. I also feel that sometimes if I'm I'm biased because I do JavaScript pretty often, but I I think that Elixir developers are
willing to go to great lengths to avoid the writing JavaScript. Yeah. Me I. I I've invented my own projects just to keep writing Elixir. I don't have that a bias or that, you know, allergy myself, but I can I can see the bill because I I I feel the the I feel the easiness of mind of having everything, you know, looking the same. I'm feeling the same. I'm not having to switch context. That is nice. Switching is difficult, but I
like, I'm interested to hear. So you want to explain a little bit about what you've been working on with Beacon CMS, because I think it is really cool and it's probably going to be the most noticed feature of Beacon, I think. Yes, and probably one of the ones one would have to get right for the project to be successful. Because at the end as developers we can create live view pages
that didn't. I mean and that's fine, but ACMS is not about developers. Although developers have a role in making plug insurance and extensions, it's mostly about non-technical people being able to use the two tools to create and maintain projects without without going into the trenches, or at least avoiding them for as far for as long as they can. So the keystone of that is an editor in order to ACMS.
It's it has 2 has two sides of the coin. One of them is the the publishing thing where you you see the pages and you load the pages and you navigate from 1:00 to the other and essentially you read the blog or go through the checkout process of a shop. All of that and the other part is the creation process. So one of them is for the end user as as in the shop would be the the buyer and the other one
is the admin area which is for the shop owner. Not that bacon is particularly centre as AE shop thing but it could be. Either way the admin area is should allow non-technical users to create whatever they want to create in live view without actually called in live view. Ideally at all. It just have to be a Lego Lego like UI that allows you to drop things and pre-order then change
the content, apply some styles. This has to be a heavy and this I want this margin to be wider. I want you know 3 columns with whatever images. Anything they can imagine should be done using a mouse and without writing a single line of felixer. Yeah, now I'm guessing too part of the visual editor that you're making, dude, not only have the drag and drop, right for the non-technical, non developers, right, you also have a code editor and I'm guessing that's a
major part of the same system. So you're constantly you're you have to support Elixir code and heeks templates as well as the drag and drop. And if you guys haven't checked it out yet, highly recommend at least checking out the demo, the demo project for Beacon and just the speed, like it's instant, like the real time updates between the code editor and the drag and drop is pretty, pretty amazing. Yeah, as soon as you, as soon as you drop something the the HTML
and Elixir, the Higgs template changes. We have to invent some cool things. I mean invent essentially we have to create a parser from Higgs to Jason. So we represent the AST of your template as a Jason object that we can manipulate from the editor and then serialize back into Higgs. So the template is safe, so. Everything the the base data of everything is just a Jason. They say that the single source
of true of your page is the Higgs template, and that is what we read and write. The Higgs template is the end of be all of your page. It just happens. We have to come up with a way of two ways of editing. One of them is just writing on an editor and the other one is dragging and dropping and using UIS. At the end, you are only modified. You are modifying the AST of that Higgs template and as soon as you save, it goes and it's serialized.
Well, actually you don't have to click save. It's save all the time on you only published. But yes, as soon as you make a change it should be persistent in the his template. And if you switch from the visual editor to the code editor, you can see the changes reflect immediately. Yeah, it's pretty cool. Now I'm curious, are those changes like when, when you toggle between the two, are you doing a fresh reload? Are you doing a full like live view reload where you just
update the change data or how does that work? Not really because every time you make a change it's like persisted because we have the channels open and we have the the the the Higgs template is being updated so. You're really just shifting UI and the data's there already. Essentially you you have at mode at somewhere in the template that it switches from visual to from from editor to visual. And if an if it's an if on the on your live view, either we
switch, we show the code editor or we show the the the visual editor and the visual editor. It is precisely not live view. At least most of them is not live view. I want to touch on that. That's probably kind of how you got pulled into this project because you're a JavaScript developer for Docyard, right? For the most part. Exactly. Yeah. So what were some of like your initial prototypes and like
failures at the beginning? Did you originally know you had to use JavaScript to accomplish what you wanted to accomplish? Yeah, we knew right away. And the reason being that I don't know if you tried to do drag and drop on live view. And while it's possible is not the most economic experience. I mean, because not like a simple drag and drop using the drag control PPI from JavaScript, because we're going far beyond the basic drop and drop. As soon as, you know, we have hovering and as soon as you
hover, you highlight an element and also the element around it. And then when you select it, you have to, you know, have a border and have a kind of a handle button that you click and and without releasing the mouse, you move up and down or left or right and the things reorder on the page. That would be quite challenging or not challenging. Well, when you start relying fully on like the client side, you don't want to always taking trips to the server.
You're kind of stuck using JavaScript. One of, yeah, there's two folds to that. One of The thing is you don't want any latency when you drag and drop things, even if it's 100 or 150 milliseconds, it's noticeable. So when we're talking about non committed states, like if you are hovering something but nothing has happened yet, you really shouldn't or don't have to let the server know that you're hovering an element. That would be an extra round trip that you don't really need and really the server doesn't care.
I mean, it's not that you want to persist what you were hovering at a certain point in time. That is not that actual value information that you you have to sync. Well, you don't want to lose performance and lag and then UX would go downhill too if you're constantly. Hitting. I mean there is some in situations in which you may want to relay that information in case, for instance, you wanted to allow multi user edition like you were talking about Google Docs. When you have, you know, John's cursor and Mary's cursor and they're moving around, that is
one situation in which you may want to, you know, relate this information. For the most part, most UI state on an editor of the desert is not a separate concern at all. It's just what you're hovering, what you're selecting. That is not something that necessarily has to be persisted. So can you kind of breakdown how you're implementing JavaScript like for for me, I'm only used to using it for, you know, I'll, you know, you create your JavaScript hooks and you know,
you do it for small front end animations, super simple drag and drop reordering things. How did you have to approach your visual editor to be responsive and organized and work well? Because essentially it's a project in itself. It's. Because it is. It is a different application. It just happens to be embedded within a larger live view app. Break that down for us and how does how does that like at least the macro, How does it work? OK, I'm going to explain how it started and how we transition into live view and what we gain
from that. So let me explain. The admin UI was already live view and it has the code editor because that was the easiest thing to do, which because you can just drop an editor, which is a JavaScript package with nice syntax lighting and you have something to work on the visual editor we need. We knew we needed one and at the beginning we were wondering how to do it by experience, by checking other other platforms doing visual editors.
And I'm thinking there's a lot of them. But I'm for instance, we took a look at, you know, framer, which is a very has a very nice editor shuffled on dev is another one. There are, I mean, there are many work WordPress plug insurance themselves that have nice editors. So looking at what they do, we realized that building that relying only on Labview with so much interactivity and very fine grain like, you know, as hovering and moving controls to
widen the margin of an element and everything reacting so instantly was probably not a good idea. We needed to do that in JavaScript. So if I think of that, I, I, I mentioned it earlier before we start recording that I think of JavaScript when we're doing live view, somewhat akin to going down to Rust when we're doing Elixir or some Elixir library. So maybe you want to build an
Elixir library that can, you know, parse Markdown, for instance, and it happened. I mean, you want this to be very, very fast. If you want something that does one specific task very fast, it's very common that you go for an existing C or Rust module and you wrapped that in a nice Elixir API and you do the linking with FFI. So, so when you need the maximum performance, you you when you would need to get closer to the metal, you use a better tool and
you link that is the idea of using Rust and C over when you're doing Elixir with FFI. It's also the idea when you're doing Rust or C to go to an assembler, if you are into this kind, if if you are into hard rocks. And it's the same idea when you're doing a web app like live view app, but you have one specific thing that has a lot of interactivity and it's very fine grain. And you have to be interacting with browser APIs all the time,
like crack and roll video, playing audio and things of that, that you have to get closer to the metal. And closer to the metal in the browser means JavaScript. So I think that is going a step down or yeah, step down in the. Abstraction layer, you go closer to the browser to do something that is either unavailable because you're you have to interact with browser with browser APIs, or you want to squeeze the maximum performance and not go through, not go
through the network or it just happens to be more convenient because of the kind of fine grained Doming Dom manipulation you're doing. And the way we decided that we're going, we're going to start building this application. We're starting at JavaScript allocation from scratch ING as well as well as well. JS is a very, very nice JavaScript framework that we have been using here for a while. Well, I'm not here to praise, to
praise it, to praise a JavaScript framework. I know my audience, but it is it is my my personal date. It is very is depending of the curve between nice to use and performance with in within JavaScript ecosystem. Now you're allowed to talk nice about JavaScript. It's a big part of your project, so you're allowed. We'll. Keep the We'll keep the elixir guys off your back. But yes, I mean, essentially it's a, it's a high level, high level JavaScript framework,
which is also a compiler to some extent. So by restricting the kind of JavaScript you write to some, it allows your JavaScript to be in understood at compile time and transfer in a very, very small and performant JavaScript bundle. And we started with a full, a full-fledged individual stand alone JavaScript application and
we started designing an API to communicate and but we find out that the designing this API was a lot of work. And because when something doesn't fill the contract of, you know, REST APIs very well, because the kind of operations you're doing, they're not really so much creating and updating things, but very fine grain things like reordering and editing a class and modifying a margin.
Technically those are updates, but updates over what? So it's not really, it doesn't feel really feel good to do that as a REST API. It wasn't easy to do that as more like a Graph QL API either. So we've, we spent some time thinking how the AST would work, how, how, how we would load it, load the list of components that you can drag, how, how we would get a preview of how the component would look if dropped
in a specific location. So you can preview what the the changes you are about to make without actually making them and so on. And we found that that was tricky. And then we learn about the project, which for us was a pretty life savior, which is life is felt. Life is felt. It is a project that essentially allows you to embed is felt applications as components within live view.
And I think I, I describe it as islands of is felt within a live view application because you just better application becomes sort of becomes a live component and you can pass properties and the wealth application can send events that you handle in live view. So of course, since it's JavaScript, it becomes a little bit of a black box, but it's a black box you can pass properties to and receive events from. So essentially it is a component when you see a component like, I don't know, open brackets dot
form and you pass things. Oh, open brackets dot my custom button in live view that is a blackboard for you when you you don't need to know what's going on inside. You just have an API to have to fulfil and some events you have to listen to. And this is the same. It just happens that this component it is actually JavaScript. So that we started exploring that and we think a couple hours I knew this was the way we
should load because it essentially remove there is 2 there is let me let me go back a little bit. There is 2 kind of problems, the ones you have to improve upon and go and make progress towards solving them and the ones you should eliminate all together. And this was the second. The best problem is not the one you have to fix, it's the one you have to not have. So by going into live view and
using spell components as sorry this multiplication as if it was a live view component, we realized that we didn't have to design A Jason API at all. So that entirely removes an entire not a problem. It it, it removes an entire category of problems. All that has to do with, you know, course communication, Jason format parsing, it all
goes all goes away. We just happens to have a component that receives, sorry, we'll have a compile component in this case, I mean a JavaScript spell component that happens to receive data from live view. And we don't know and we don't care how that happens. It just happens now I'm. Curious, did did you end up using live spelt for the whole admin dashboard then at that point or is it still just the visual editor components?
It's the visual editor because it's really the only place where we need to go closer to the metal. For everything else, we prefer to stay in live view. And in fact, I am removing parts from this wealth application and making them back into the live view applications because precisely I started building or let's when we built the application, we built all the life editor, the I mean editor, not the, you know, the sidebar and the buttons are out.
But the thing where you see the preview of the page and you can drag things and you can select something on the right side. You can change the classes or add new properties to an element that that all that was as as well. But over time we realize that really, for instance, the right sidebar that doesn't have any drop and drop and it only displays the classes and the elements. That is actually something that could perfectly well live in
live view because not it's not. You can have many JavaScript or as well components talking to each other and they don't have to be nested within each other. I mean they can be in different section of the live view page talking to each other without live view knowing about them at all. So that is so to put it to put an example, if imagine you have like it's not the case, but imagine you had one of these
chats pop up pages on the bottom right corner that, you know, it's like an assistant of sorts, an AI assistant. And then you and that maybe that assistant has some complicated logic and you you do you want that to be as well as component or a JavaScript component. And then you have the editor. And maybe imagine you can imagine that this AI assistant is very smart and is powered by some AI that you can explain to that assistant what you want to create. And you can type on there create, you know, create a
section with three columns. It's called has an image in the header and sunloading ipsum on the bottom. And that component could do its thing and communicate with the live admin, sorry with the live editor and create that code. And the rest of the rest of the live view application doesn't have to know if it doesn't, if it's not important. So the the communication, it can go through live view, but it doesn't have to. And for some concerns, like
where you have where you're hovering an element, again, that's not something that live view has to be concerned about. Maybe when you're hovering an element, you want to highlight something on the other side that can bypass live view because live view doesn't care. That's nice. So it just stays fully client side and just. Sadly. Just UI. Sadly, so we find out that in, for instance, by using or by moving the sidebar in back into live view from, we could
leverage the tools that we have for live view already built that we do have to port to JavaScript if we wanted. If we have a component library that we want to make public and that component library, it's built for live view. And if we want to, you know, create menus, and that's something we're going to do soon that we have to create or improve the menus, you know, to change font size, font style, family padding, marking, column layout, table layout, all of
that. Visually, we have already a very extensive library component that we could leverage in live view. So it would be a shame having to port all of that into JavaScript just to use them when that side of the app is not particularly challenging from the white side of things. It doesn't have a lot of, you know, very fine grained animations. If for instance, we happen to have one particular component that happens to be very complicated. Imagine we have a calendar
picker that you know you have to select A range of dates. Not that I see any point for are. These components to build right there right? It is by the way, I built one myself. It is once and never again. But yes, if you want to build 1 component that deserves to be a JavaScript component, you can do that elsewhere in the page. So I'm. Curious. Will you support like spelt components through the admin portal for sites on your page
like from like the agency standpoint or not necessarily? You mean that like? If I was using Beacon CMS to build sites, would I? Have, yeah, I mean the ability. To use JavaScript components. Well, you have the ability to use JavaScript already in your components because through hooks in this case, but it's technically possible that we could you, we could make live view available to.
Well, it was, it's something that you probably have to do because it's a choice of your page. But if you choose to create your own components, use the live view. When you add live and you add live view to your project, your project should be able your the components you create for your page should be able to use JavaScript or I mean Elixir components in this case. There's some questions about how the build process would look like, because at the end there are two different ramps. It's not that you you can right now when you create a component,
the component is safe and compile. If you if your component, if the only thing your component does it's invoking a JavaScript component, that's fine. But the problem is that that JavaScript has to come from it somewhere. So it's it's not that a technical limitation in Beacon, we would have to come up with a way of making those JavaScript components available to you.
But yes, no, it it is, it is possible that you could use them. For now, I think you at least out-of-the-box you're constrained to using JavaScript. Sorry, yeah, the JavaScript hooks from live view. But you could, you could create components that wrap in in fact. In fact we do actually not not like you, because that requires this glue code to make those components behave as if they were library components. But you can already have a
component that happens to be a wrapper around some JavaScript library for, you know, an editor with syntax highlighting for instance, or a tool tip library that is. Global. That's cool. I love that. I didn't realize you could that live spelt didn't have to totally entangle a project that you can use it at a component level. That's really nice. In fact, I mean we don't use
that feature, but it is somewhat funny that you can have, you can have live view inside the spelt inside live view. Nice. Because when this when you have an island of spelled JavaScript island on the live view page that is rendered a HTML. But if you if the HTML that this as well component is rendering has phoenix click events that it
works nothing prevents yet you to, you know, to have a spell component that happens to render something with buttons. And those buttons are have the, you know, the the phoenix click and phoenix value things and talk directly with live view without this belt even knowing. So something that is missing. But I think they're being they're working on that because precisely the new the is belt 5, which is fairly new.
I think it has maybe 3 weeks, has a new feature in which you can define what they call it. Snippets. Yeah, snippets. They're kind of slots, chunks of code you can pass around from component to component, which is a kind of block of HTML you can pass around. So they're working on allowing the content of the spelled
components to be customized from live view. Because you know, when you open a component, you have an open tag, a closed tag, and whatever you put in the middle, it's still a block of code. That is you're, it's going to be render somewhere within that wrapper. So yeah, that's something that being worked on because the the newest belt allows for receiving and passing snippets of HTML as properties. So that is, that would be cool.
I'm not sure how that would be useful for us. Maybe not in this case because this the the editor is pretty self-contained, but I can see you being able to create components that are customizable from live view, but they happen to have JavaScript logic attached. OK nice. Did you run into any weird like cross browser compatibility issues with your editor?
No, not so far. Although to be fair, since it's very early days in the development, we are focusing on desktop and mostly on Chrome because it's the the the browser that most people uses. I did. I do use Safari occasionally, especially when I'm battery on my laptop because so far I mean the the power consumption of Safari, it is much better than Chrome. So you can easily get two more hours of of battery of your laptop if you use Safari. But yeah, Safari and and Chrome
work fine. I didn't find any any issues. That's good. I feel like Safari is always the one that gets you. Today, not so much. I, I, I there was to be a time where Safari was the pain the asses, but I think that now, not so much. And now the Safari is, unless you're doing something pretty obscure, OK, it it it, it's not going to be a problem. Even even. I would even dare to say that it
is more likely that Firefox is going to bite you than Safari today. Don't play a lot. Yeah, you know, actually I kind of agree with that because I I like to use Firefox a lot and I always have the weirder issues hit me on Firefox. It's a shame because I think so far, well, this is changing subjects very widely, but I think Firefox is somewhat underfunded. And that shows they do they, they do their best, but they
are, I mean, they probably work with 2% of the of the budget that Chrome has. And then Chrome. Chrome is nice, but it's a memory hog. Yes. I mean, I, I have 30 gigabytes, so I don't care that much. But I do remember before changing laptops that it was it was I I guess I'm seeing Chrome alone taking 12 gigabytes of RAM. That's insane. You're not doing anything particularly crazy. But yes, going right, going back
around to the as well. Elixir communication seems we could pass properties directly to as well and send events from as well to live view. We we entirely deleted API that we were creating. It wasn't needed anymore and that's awesome. That always feels good. And well, essentially we, we, I mean, I, I, I don't have the number of, of lines of code as in the thousands, but
essentially we remove on in the friction between front end and back end all together because sometimes you think of fronting and back end as if they were two separate realms. And sometimes they are. And light view bends or blurs the line a lot because there is you don't, you don't have two separate bars that talk through an API unless you want to. And having an API sometimes from the business perspective make a
lot of sense. So you allow third party integrations to speak with you. But it's a choice. And with the editor, it doesn't really make sense to for the editor to have an open API because it's not that. If we were to open Bitcoin as an API so other people can do things with it, it wouldn't be the editor. The 1st pick or it not it's not the editor. Wouldn't be the the thing that most people would want to detail API because at the end if we want to, since the single source
is true for your pages, is the Higgs template. If you wanted to build your alternative editor, you could do whatever you want to do as long as you send the new template to the beacon. So it's the simplest API ever. You just send the text of, you send a text file and save it and that is it. That is, there isn't anything else to be done. So all the little details of the API as of you know update classes and and and have an AST
representing. Performance connecting through the channels for things like that too so. Yes, yes, I mean, that is true. Although in this case it's not a limiting factor because since we are, every time you make a change, we're saving the entire page as a whole. OK, the payloads can be you're. Doing that through an API request versus. No, we do it through channels. No, we do it through. What I mean is that seeing sockets, the bigger advantage of sockets or sockets shine the most when you have a lot of updates that happen to be very
small because you you skip the headers and so on. When you make updates not so often and they happen to be very big, it's not that advantage is not there, but it's not so noticeable because if you are sending, you know, 250 kilobytes request, even if it's through websockets, it is. If you are in 3G, it's still going to take a couple of seconds because it's a big request. But if you go back and make minor little copy changes, it's
going to be super. Fast. And if you have, I mean and for the editor predator not so much because most of the the the state is local precisely because it's JavaScript. But if we wanted to or we need to make some updates from the editor that are not as big as saving the entire page, this would be much faster going through the web sockets that going through an API besides. Handling when you send the updates, do you have like a
front end caching service and when do you decide or when when someone stops making edits as it pushed to the database? How does it work? Right now we are sending them after every change that it's worth persisting because we could throttle them if that's if that proves to be useful. But so far we didn't find any problems, we just saving all the time. So like right now, a keystroke gets sent immediately. Not a keystroke because we we do
wait for you to focus out of the element. If if you, I don't know if you are an input, you don't, we don't save the page for every screenshot, every every keystroke. We, you know, you're changing the an attribute of an image, you're saying the out of the image. So you type whatever and you move on to doing other changes and then we persist that or maybe I don't know if we persist, if we, if you stay, if you stay idle for a while, maybe we do. I think I need to check. But either way, it's not with every Chris stroke, it's maybe with every finalized
interaction. Yeah, that's good. I've noticed like if you like I've dug through some example code of other projects and they'll persist on like every change in like form validation and you'll get noticeable bottlenecks on local host where things kind of lock up. Now, and I mean, because most of the things, I mean, this is free, most of the things you do in the editorial are pretty free because you're writing even you're, you're right, writing Higgs to some extent, not writing it, but whatever changes
on things you're moving around is generating at the end a Higgs template. Now I'm curious, how do you keep track of revision history for changes? No, but we plan to at some point because it is. It would be so nice to be able to do common set and just go back. Yeah, a little undo button. Exactly. That would be nice and if. Right now it. Persists. Before I lose my track, that is something we could do in
JavaScript if we use immutable structures, which JavaScript doesn't have out-of-the-box. But there are some libraries that mimic the immutable structures and we could do. That Oh yeah, that's a good idea. That's kind of a cool. I like. That there is AI. Hope it passes someday, but there are a proposal for the browser to implement immutable versions of the main structures like arrays and objects. That would be nice, but so far you you can do that, but you
have options as libraries. Yeah, yeah, yeah. That would be see, immutability is just so beneficial once once you understand how to use it. Now what was I going to say? Oh yeah. So as you're making changes to, you know, your drag and drop or anything in the visual editor, it's persisting when you leave focus. So your updates are automatically going to the database. Then is the published version,
like when you press publish, is that just kind of running you're a build task that builds and compiles all the changes you just did with like your CSS and JavaScript and all of that Is that's what is that what happens? Pretty much. It's not the task itself, but it's basically promoting that draft into production because and promoting the draft. I'm guessing. Exactly. That is something that Leandro
can speak more about, but this is the magic of Picon that modules are when your templates are essentially Elixir files and they're compiled and in runtime they replay, they replace the existing version with a new model version without you noticing anything. So publishing it's compiling and doing a hot swap of a module somewhere in in Beacon. Yeah, I love it. It's so it's so cool. I highly everyone watching. Actually, I think it's funny
because we had Leandro on last week and he was like, I didn't think it sounded like that fun of a project. It's kind of boring. It's just ACMS. That was like his original take before he started diving in and figuring out like all the technical needs. And I was like, I don't know. I thought it was an exciting project straight from the start because I think I think it's a it's a big step, especially for onboarding and people adopting Phoenix Live View. Yeah, Besides, I don't think
there is such a thing as a boring project. See I. Agree, especially when you're the one building it right even. Exactly. Even if boring. People use your project. It's still it's still a cool project. Because I, I, the projects that were pretty fun in my days, I built a video game with our big team and it was a, you know, a football, football fantasy manager. And the, IT was also web-based. So the, and they also build like more boring user facing software for business to business thing
that, you know, they track for. I did, I did build one for recycling companies and producers companies so you can track where the trash is going. So you comply with all the, you know, health, environmental issues. So you can I mean, the only thing that changes is the the the business logic to some extent and the whelming with the business logic operates. And maybe in yeah, in one you're
tracking trash, literally. And and in one you are building, you know, training system that decide or a system that decides which players you are going to get in the playoff. Sorry, not not the playoff when you choose the player in the NBAI don't remember the name, the draft. It's a draft. Oh yeah, yeah, yeah, a draft. So it's. Like you're asking the wrong guy. So you, so it is. It is all the same, it just happens to be 1 is more fun than
the other to talk to your friends about. Yeah. Because I one just. Appears to be cooler, but still. It appears to be cooler, but at the end it's the same. Another one was for allowing studios to show movies and shows. And I remember that they one of the benefits they wanted to get from that was if they if they have a movie and they have to rent A tiger because you can rent tigers, are they actually? So how do they plan the movie when they should watch?
So they can't rent the tiger for the least amount of days because it's it happens to be very expensive to rent A tiger. So again, this makes for good anecdotes, but the work is the same. Yeah, exactly. I agree. Well, like one of my boring AS projects is my website hosting platform. And I say boring in quotes because yeah, I'm still doing really cool stuff. It's just it's not as exciting as an idea because it's been done before, right?
But again, it's just one makes for a better story. But the day-to-day it's, it's all the same and it is as fun as you make it to be. Yeah, so I am a struggling front end developer. I can I can hack my way through and I can do some stuff, but I wouldn't say I'm great at it. I'm I'm much more I'm much more comfortable on back end code. How do you like, I know like UX is a major thing, especially for like your visual editor, right? If it doesn't work well, people
will be frustrated. They won't want to use it. What kind of testing or quality assurance things have you put in place to make sure you don't fall into like regression bugs or anything like that? I'm glad you asked that because we just did something cool. I think we finished like finished it like two years ago or three weeks ago, because one of my pet peeve with live view was that the the worrying, in my
opinion, good enough tools for proper end to end testing. And because you know, you can use there are what is it name? I don't remember the name, something like Wallaby. I think it's Wallaby. You have Wallaby for controlling the browser through it's not Selenium, but yeah, you can control the browser and click on things. But it wasn't you didn't have enough resolution for our needs. So instance when you are testing that drag and drop works as you expect it to work. You want to check that when you
you just select, you have 4 items and you select this one and start dragging it. And you want to check that as soon as you overlap 3 pixels here this switch because that that's how you reorder things. So in order for you to test that the kind of tools that existed on the Elixir community, they were not, they didn't have the resolution for that kind of fine grained dumb checkings that you want to do. They're fine for clicking things, filling forms, submitting forms. But this kind of dragging 3
pixels to the right and assert that the elements has switched positions and this has been displaced 15 pixels down, that that one is, is not part of their spirit to do this kind of things. However, in the in the JavaScript community, there are very mature tools that have that have this kind of concerns in mind. And I'm thinking particularly the one we are using, it's called play Playwright. Playwright it's essentially a
way to control the browser to click on things, but it is designed for JavaScript. So what we are we were building it's precisely, well integrate that into live view. So you can write tests for this UI in Playwright, which at the moment I believe only has an API for in JavaScript itself or TypeScript and Python because Python is very popular and they also create a wrapper around it. I don't know if the wrapper is
up to date is it's the JavaScript is like the gold standard because that's what they are developing in and every other version of it is going to play catch, but it's never going. It's always, I mean nothing is going to be developed in for Python unless it's for JavaScript. But everything is a port. So the latest and the latest and greatest is going to be the JavaScript version of the tool. But the so we wanted to use that and it works beautifully. You can click on things, assert where things are on the in the page.
The problem is that is not end to end testing. That's only UI testing. The the only thing that you have to do is you in order to test that the editor is doing is doing what you expect it to do. You have to for every test, you have to seed the database because you want to test end to end. You want to load the page and the editor is going to get received information from live view which in turns read it from the database. So you have to see that and you cannot see ecto from JavaScript,
that is another thing. So we created a wrapper in or we created like a secret API in the project that you can use to seed the database from JavaScript. But the cool part is that when you start a test, the test gets assigned a connection to the server and it sticks with a connection. So we can do the parallel testing that you are used to in lexer. By sporting, you know, six
different browser windows. You can run 6 texts at the same time, each one is using a different server connection which is own database transaction. So you your tests are not polluting each other. And then at the end you can make assertions if you wanted all the state of the database. So you can, you know, see the database with a page that you know has three items that you want to move around and sort. You can then go move around and solve them and assert that every stage of the way that the UI is
behaving as you expected. And when you are done and think it's a safe, you can go and check that on the Higgs template. Things have uttered the community position on the list. Now it's in the first position of the list. So this kind of end to end testing is something that at least I couldn't find any tool that was good enough. Because what was good for Elixir lacked the granularity we needed for the UI testing. And the JavaScript tool in that already exists and is pretty
good for this kind of assertions and and check insurance on the browser didn't have a way of communicating with Elixir. We decided that it was easier to get the later and make it communicate with Elixer properly. And the magic was seen about in in making each connection persistent. And it's so you you can run tests in parallel as you're used to with Elixer with an an each one with its own database connection.
Nice, that's cool. Now like from personal experience, UI testing is very I think it's complicated. I think it's hard because there's so many use cases, right? How do you is there? Do you just concentrate more on like core functionality of? I don't think there is an answer, but I but I don't think there is an answer, but there is a beacon of hope, pun intended. And the beacon of hope is AI in this case, because precisely I wouldn't. I wouldn't say that writing test
for the UI is massively complicated, but it's. The randomization and like hitting all the edge cases I think. Is yeah, I mean, I agree on that, but but I think if you could pay, you know, paste all good old paper and pencil, you can come up with most of these cases or at least some experienced Qi engineer can come up with that. And one of the things in which I found AI to be very helpful if at this kind of repetitive task, you can, you can pretty much describe to, you know, copilot
or 10 GPT or anything that you want a test for playwright that, you know, clicks on the button with with on the box with ID, whatever. Move Draxis around 50 pixels to the left, release the mouse and assert that there is a you know, notification on the top right corner with the ID that says change saved or something like that. You can broadly describe what you want and the AI is going to
get you 90% there. So I found that this is the writing test is something this kind of boring tests that are easy to describe in plain English, but they are just over repeating the same things at the same steps over and over again Exactly. And that's what they shine about. So we, we think we can get pretty good coverage. And I say we think because again, this has been invented to some extent 2-3 weeks ago. So Bitcoin is not fully tested yet, but I found that we can
write tests faster than what we thought we could. And AI is part of that. That's a really smart idea. That's a good use case for AI to write tests. But besides I I must say one of the downside of the lexer is that AI or assistants are not particularly good at the lexer because it is still somewhat niche, whereas they are pretty if you want. If you're writing Python or JavaScript, they're pretty good and pretty consistent. I would say like, I don't really use AI much for writing code
unless it's like a very small function and it will sometimes it'll get you like 60% there and then you kind of have to finish it in Alexa, you know? I'm the same in JavaScript. I in fact in JavaScript I rarely use AI for writing the things and writing because it would take longer for me to explain the AI what I want than it would it would take for me to actually do. It well. I also find the the refactoring sometimes takes you longer than just writing it in the first place.
Yeah, sometimes, but I I say that if you're very experienced on a on a language or technology, AI helps only with the most repetitive task, but it's not particularly useful with the more involve part of the development. But for testing is great because test you can almost test you can you know this What is the what is the name the Gherkin, the Gherkin test syntax that is used for for describing high level scenarios in testing. You can almost you can feed if
you have someone, some Q engineer that actually write the Gherkin syntax for Wang something, if something, then something. You can feed that straight through an AI and it's going to come up with something fairly close to what you need I. Love that I don't know why I never thought about using AI for like helping me generate tests 'cause that's a great idea that's even good for just simple unit tests too. Yes, or. I mean for unit tests, yes or. But I I the thing with UI
testing is very prone to be described at this high level and you don't need all that information. Whereas with unit testing, very often the Gherkin description is not enough because it has it needs to have context of what your objects are like and what your map property. If you have a map but the properties your map. So whereas with this top level description you only need the Gorkin thing with if you want to make a, we get a testing that
needs to assert on a map that this key with this name has the value you expect. It needs to know what the object shape. Is to share your seed data with the. AI, well, you can with, you know, copilot and such, but I think that for UI testing it's great precisely because it doesn't need that much information. You can describe things at the very high level and you didn't and it gets you 90% of the way. Yeah, no, that's, that's great. Well, I feel like you could
probably even use it to generate slightly like randomized UI actions too. Maybe I didn't think of that, but as you know, this saying or this joke that QA engineer walks into a bar another, you know, 1 beer, 100 beers -1 beer, a lizard and, and everything breaks. So that's maybe, maybe you, you can probably tell an AI to come to come up with unexpected inputs for a function or a or a
or a test and see whether they break or not My. My favorite engineer QA meme is the one where the engineer has the bulletproof vest on and tells the QA engineer to shoot him and he shoots him in the leg. That is that that is pretty good and in fact we since we in Tactojar we like to dog food what we do which is the way you you assert. I mean, since we are doing BICON and also our page is in BICON, we want to create our blog post
using BICON. And that is precisely the, it's first of all, dog footing, which is nice. And secondly, if I, I mean, I, I work on the editor, so I can use it pretty well, but it's nice to get someone, especially if they don't have a particularly technical background, drop it using your app and see what they do. And it's the most humbling experience you're gonna have. It's wild, isn't it? Exactly because you, you, you
see things so clearly that something should go, should be done in a certain way. And if you drop someone with no context, it's not, it's not evident for them that it should be that way. Yeah. And you think about it twice and say, you know what? It's right. It's not. I mean, I know it's done that way, but it's not so obvious that it should be done that way. And it's very humbling. Yeah, what I always say too is the engineer that built the feature is the worst person to QA test because. They're only. Going to do it the way they wrote the feature in that. Order you're going.
You're only going to work to walk the golden path. Yeah, you're only. Going to use it the way you intended it to be used because you're not, you're so close to the problem. I used to do a lot of industrial automation, so like PLCS and touch screens and machine timing, and I would write this stuff the way it was intended to be used. And then when I unleashed it into testing and started letting other factory workers and operators use my equipment, they would like immediately break
things because they were like multi touch in the touch screen doing everything that, you know, I never thought about. And I was like, all right, we have to put locks and disable buttons in certain orders of things and. You just don't think. About it. That looks pretty cool because I'm somewhat involved into, you know, home automation and I do things with Arduino and so on, and I find that feel pretty mesmerizing. Yeah, it was fun. I, I enjoyed it, but it is also
what led me to become more of a software engineer because I, I was like, I want to not be stuck to a specific factory every day. Now, you know, software engineer, I can write code wherever my laptop goes. So that was kind of like why I exited. But it was cool, like when you build equipment and then see it functioning and creating a product, it's it's a pretty cool accomplishment. It is there is something beautiful by seeing the physical
facet of your, of the somewhere you, you build. Yeah. And that's why we found that even though if it's not physical dog food in your project, so you use them yourself, it's probably the only way for you to get honest feedback fast enough. Because you can always arrange like, you know, usual testing sessions, the sessions and you can find users to test what you do.
But when you when maybe not so much you because precisely you are blind for you like with these blinds that the horses have. So you only look forward and you know what you have to do. But when you get someone that sees in this case because we are a remote, but that's it's two seats from you, and you see that they have no clue how to use things that you see so clearly, how should it should be used? That is both. I mean, again, both humbling and
very very helpful, because you can iterate much faster than you could otherwise. Yeah, I have a superpower in breaking all my Co workers code. Like they'll hate when IQA test their products cuz I just I go and they'll make fun of me. They'll be like, and then, you know, I hung upside down, turned off my Wi-Fi and dunked my phone in water and found this bug. Well, I I think at the moment, since the where is this
internally everyone at doctor, it's to some extent AQA yeah. And we are aware that we have still a lot of work to do for. So the the editor which I'm, I'm talking about on my side of things, editor is up to the task with the best of the industry because at the end we are, we just released version 0.2. So we still have a lot to do on the UI side of things, but the
foundation was there because again like with Bacon, the most important part was to, you know, validate the technology that we could make ACMS in which you serve live view pages. And when you make a change, we could do hot reload and module in runtime and the page would update and it would be compiled and fast. That was like the thing you have to validate that was possible. And then everything around is tooling. Yeah.
So the idea of Beacon is deceptively simple. Is that compile Higgs templates or pages into modules into live view, essentially modules that you can replace in runtime. And once you do that, you create stooling around and that's that becomes Acms. Yeah. Yeah, because it is what it is, a CMS. It's a way of, you know, managing content without having
to reboot. Essentially you make changes and the changes get published and new users get the new content and and you don't on a compile language with with content that is not a static but it has itself to be compiled. Elixir. It's one of the few technology that is has that built in the language. The loading models in runtime is great. The architecture of routing and rendering and using the ads
table to speed up finding paths. It's impressive. You guys, you have a really cool project, that's for sure. I must say I cannot take any credit for that, but it is it is that is the part of the technology that was the core and everything around this tooling. And likewise with the editor. The core technology or the core thing we have to validate is that we could transform Higgs templates into some kind of AST. That was that we could manipulate in the browser and
and for and reverse get that modify AST and serialize it back. Once that was done, we need we that we could do some kind of nice drop and drop. And now we have those two things, those two pieces together. We know we can move things around the page. We know we can get from Hicks to AST and from AST to Hicks again. Everything else is tooling. Everything else is nice, controls to make the phone work
bigger the the the making it bold, increasing the margin, setting the columns or the styles of the grid. But it's tooling. And now it's when we're going to put the 5th gear and just go through the process of making these not only work, but be nice to use. Yeah, yeah, for sure. How do you track like your performance benchmarking and stuff with your visual editor? Are there any metrics you keep track of to make sure things
aren't getting less performant as you add features and options? I'm not very concerned about that to be honest, because the performance is coming. First of all. One of the three reasons we choose as well is precisely, it is very performant. I'm not kidding if I say that is sometimes maybe accelerating but it's close. Sometimes depending what you do is it can be 3 or 4 times faster than React in some extent because it's compiled.
It is when because you know without going into the details, they are reactors due to checking. So when you change the property and you know that some part of the AST gets embedded in because you know you have make a change that that change may have affected this section of the page. React use uses OK, title. I need to I changed this title. This node uses the title, No OK Next node this uses the title, no. What about the children? These children uses the title. No, the children uses the title, no, The children, these children
does use the title. OK, I have to go to this node, update the title and then go out and then carry on checking if every node had I mean had any dependency on this property. So it has to be updated, but with as well as well. Is pretty clever in the sense that since your code is analyzed in compile time, it know it knows exactly what has to change when this property changes. So if you have a variable for a
name and you display this name next to the name of the and the avatar in the right corner and then also somewhere down below, when you update the name of the user, it knows it has to go here and here and nowhere else. So this kind of a dates are very performant. And also the application itself, it is very small. The payout I mean, because, because it since it's compiled, it doesn't have a runtime
because it knows exactly what features you use. And if you don't use something that is not bundled. So if you don't happen to not use, you know, fading animations, you don't have the code for fading animations. So that that makes that makes is built very performant. And if there is any performance issue at the time, it would not be because of his wealth, because the application itself is not so big. It's a widget rather than an
application. And yeah, I'm just making an artificial distinction between widget and application based on the size and complexity. OK. An application it's like a very complicated widget and and or a widget is a very simplified application. And we have built way complex application with as well. And that has never been a problem. So I this shouldn't be approving either. And if and so far anything that doesn't use the network, it is
instant even though the things that it's doing is quite complex because every the AST is transverse and render as components. It goes through pages with many many items and it renders them within 100 or 200 milliseconds. That's awesome. That's awesome. Yeah. That's fast. I love that. That's really cool. Are there any upcoming features that you can talk about that you're excited about or current current features you're working
on? Well, the feature we're working on, it's just, I think they can be summarized on improving the editor, at least the one I'm working on myself, because the editor, it can, you know, allows you to drag and drop and modify classes. But we turn, we need to turn that into a more amicable interface. So you can expect that within the the next weeks, you're going to see first of all, a revamp of the UI because we're going to start using Station UI, which is UI library intern that we create
internally by Doctor. And it's going to be published very soon. Maybe by the time you listen to this, it has been published already. And that is going to first of all, make the older UI feel more modern and cohesive. And also, it's going to speed up a lot the development of the kind of features most non-technical users would expect or would hope the editor needs to to have. I'm talking if you ever write on
on something like, you know, Office, for instance, and you select A title, immediately on the side you have a set of panels to, you know, change the font size, change the size, then maybe change the indentation. All of that needs to be there. And we're going through, we're going to turn through all of these features pretty quickly precisely because we can leverage live view. So we don't need an API for all of these changes. And we have this component library that we have been created for months now.
And so we can reuse most of the controls and we'll have to work with the styles or CSS. We just drop an input, we just drop a button, we just drop a select and and that should work automatically. So we anticipate hopefully that we're going to go through them at pretty high speed. Awesome, that's exciting. I'm excited to watch this project develop more and I've been slowly digging through code base. Maybe I can even, maybe I'll even contribute at some point cuz this project is cool and
it's very similar to a lot of the internal tooling that I've been using at HGA. So I'm keeping my eye on it and it's very cool. And I appreciate you taking the time to chat with me today and talk about this because I think people forget how much JavaScript is is still used on front end web applications. And just to let, I mean, my advice would be to even though you may prefer with good, with
good reason to do things in, in live view or Elixir, don't be afraid of just going down, going closer to the metal occasionally because sometimes you do. And the JavaScript ecosystem has improved a lot in the last decade because some people, maybe some people haven't write JavaScript since the old days and they probably get they still, they have the bad reps that JavaScript had in the time has stuck with them and model
JavaScript has it's almost a different language from what it was a decade ago. So and also JavaScript frameworks, whatever you choose, whether it's React or Spelt or View, they come a long way in to making development economic. Yeah, the only thing that's hard to keep up with with JavaScript is the frameworks. I, I, I think the, you know, the gold rush of the framework has faded away to some extent.
It's not because, you know, this, this trope old trope that there is a new JavaScript framework every week. I, I think it's looking like right now with the eyes every week there is a new AI thing popping up like mushrooms in, in fall and you cannot keep track of everything that's going on. But time we tell, I know that we think three years, four years, they will be there will be 5 major players or so as it
happens always with most technologies, you're going to have whatever it is Open Eye and Tropic and maybe some it doesn't exist yet, but it will exist within months and it's going to take up very quickly and a lot of the others who are going to just fade away. So if you are one of those people who hasn't looked at JavaScript in many years, you will be surprised that you know this is not as Wild West as the used to be. Now things have the dust has
settled and they're clear, clear to say prominent frameworks that you are safe if you choose one of them. Even though explanation still happens. There is is not is not the that it used to be where there was a new framework in town every other week and everyone has to try and use the very latest and greatest. You heard it here guys, Miguel says use JavaScript not Elixir. No. No, that's awesome.
Yeah, I thank you so much. If you have any last words or any any advice, Yeah. People before. Well in this case it's just go around to the same thing that JavaScript and Elixir. Then it's not an either or. I agree. Yeah, completely. It's not an either or. In fact, if you're doing things that are complex enough visually, chances are you're going to need both. So just don't be scared to just if you're the same way. You shouldn't be scared of using
a Rust packets within from Elixir if you have to. You shouldn't be scared of using a JavaScript component in your page if you have to you. Have to be willing to use the right tool for the job, right? Yes, I mean because if the the same goes if you had the the only thing, if the only tool you have is a hammer. Every problem, every problem looks like a like a nail. And sometimes it's not a nail, sometimes the screw a unique mouth Ness.
Couldn't, couldn't have said it better myself. All right, Miguel, thank you so much. And for everyone that tuned in, thank you for joining us and I hope you guys all have a good weekend. Thank you for having. Me Hi, I'm Jacob. My YouTube channel and podcast reach thousands of engaged Elixir developers every month. If you're looking to promote your developer tools, services, or job opportunities to a focused audience of Elixir professionals, head to elixirmentor.com and let's discuss sponsorship options
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...