In this episode of the Elixir Mentor Podcast, we dive into JustCrossPost with creator Peter Solnica, exploring his journey from Ruby to Elixir development and the evolution of his social media automation tool. Peter shares insights on using AI for development, particularly for frontend work, and discusses how his background in functional programming through Ruby helped smooth his transition to Elixir. We explore the technical architecture behind JustCrossPost, including its use of Oban Pro workflows for reliable cross-platform posting, Cloudinary for image optimization, and his approach to testing both backend and frontend components. The conversation also covers the challenges of learning LiveView, maintaining multiple SDK clients at Sentry, and his thoughts on the impact of AI on software development, particularly for junior developers. Peter also teases upcoming features for JustCrossPost, including GitHub integration for open source maintainers and automated release announcements. Links from the discussion: - TDD Phoenix: https://tddphoenix.com/ - Cloudinary: https://cloudinary.com/ - Cursor.sh: https://cursor.sh/ - Playwright: https://playwright.dev/ Connect with Peter: - X: https://x.com/solnic_dev - BSKY: https://bsky.app/profile/solnic.dev - Website: https://solnic.dev/ - JCP: https://justcrosspost.app/ - GitHub: https://github.com/solnic SUPPORT ELIXIR MENTOR - Elixir Mentor: https://elixirmentor.com
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. All right, 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 future. Today I'm excited to have a Peter Solnica on and he's the creator of Just Cross Post, which is a new platform he created. He is a Elixir and Ruby developer, and he also is known for Elixir drops and other open source projects. Welcome Peter. Thank you so much for joining me. If you have anything you want to add to your introduction, please please go ahead and do that now.
Yeah, I'm excited to be here, so thanks for having me. That was perfect. I really don't like doing introductions, so let's just talk. All right, that works for me. So I guess, sorry, my stuff is today is just one of those mornings everything is breaking for me. But yeah, let's start talking about your background a little bit. What got you into the Elixir ecosystem and starting to build
with Elixir? Yeah, so that's a weird story, I guess. So before Alex here, I spent like over 15 years doing Ruby mostly. But at some point I got interested in functional programming. That was in 2012, around 2012. So I started experimenting with applying functional concepts in Ruby, starting with immutability, which broke my brain for a little bit, but I. Think it breaks everyone's brain
a little bit and. Yeah, when you start, it's hard. Like if you are used to like object oriented programming, then yeah, it's really hard, yeah. But I pushed through and, you know, I sort of started to see that like this is my new direction. Like I really like how my code starts to look like. So I started writing libraries in Ruby that would like enable people to write more functional Ruby code than other object oriented. And like Long story short, I
ended up writing functional code in Ruby and I I did that for many years pretty successfully. I wrote a bunch of libraries like especially Ruby Object Mapper, which is like a toolkit for persistence and data mapping that is based on the idea that you're just not mutating data in Ruby. And it works really well. So that kind of proved to me at least that this can work and it's just a good idea. And I actually like to say that ROM is kind of like Ecto in
Ruby. They are really similar, like when it comes to like the concepts that they have. I also built a bunch of libraries under dry RB organization for like functional data validation, for example, where you're like not creating immutable object to validate it. You're just validating data without changing them. And you know, I, I spent many years doing this and I always knew about Alex here. Like, I mean, it was created like right there, like near Krakow.
So I knew about it, about it, but I, I just didn't have any opportunity to like really work with it. But I for like many years, like since 2016, I think I thought that, yeah, that's, that's going to be the language for me after Ruby. I just waited for the right moment and I waited for like, you know, some time. And eventually in, in 2021, I got my first Elixir job and
that's how it started. So I, I didn't think much like, I just took the opportunity because I was just so excited about, you know, the fact that I'm going to write Elixir on a daily basis. And I, you know, played with the language before getting the job. Like every now and then I would like check it out and then see how it's evolving. So I, I like, I had like basic understanding of the syntax and like basic concepts, but I like, really learned the language during my first job. So between like April 2021 and
and and last year's April I worked there and then it was a start up and unfortunately it didn't work so we had to shut it down and I started looking for a new job and eventually I found a new job at Century where I'm maintaining the Elixir SDK and Ruby SDK as well. So still doing Elixir as my job and that's kind of my like primary language. Now I last year I actually decided to stop contributing to
my Ruby libraries because just no time that was hard to, you know, decide, but it felt like there's no other choice. So I'm basically fully focused on Elixir these days. Oh, and yeah, I created Elixir drops, which is kind of like a Alix you're part of Tri validation library, or at least initially it, it works like that. So it's for like, it's good for validating things like Jason,
for example, where where you can like really easily define validation schema for even like very deeply nested complex data structures. I know that you can do it in in Ecto as well with like embedded stuff. I just find it easier to define a schema without, you know, you know, too much noise around it. It's just shorter to write it in drops. But yeah, I didn't have much time to work on this library lately unfortunately. I use it in my project and just cross post.
It works for me. So I like don't feel the need to like change it, but I'm definitely planning to like work more on it and and add more features and like see what what else I can do with this library. That's cool. Oh yeah, that's Long story short. No, that's awesome. I, I, I feel like, like, so you kind of got to learn elixir on the job. Like people don't realize how lucky they are when you don't have to apply and get an elixir job. And it's kind of nice when you get to kind of learn it as you
go already in a role. That's cool. Yeah, I was super lucky. Essentially I was fired with like very basic knowledge. But like the founders of the company knew me from from Ruby ecosystem. So there was just mutual trust there. And you know, like the hardest part I think when learning a language like Elixer is to understand functional programming. And I understood it already. So it was mostly, you know, remembering that there's due at
the end of the function definition, stuff like that. Because I would like trip on it all the time and like just learning what kind of libraries there are and like how to use them, stuff like that. So it was like pretty, pretty easy to, to just, you know, become quite productive. I think it took me like 5-6 months to like become like really productive. Like I, I couldn't tell the difference between writing Ruby versus Alex here. Oh. That's awesome. I feel like when I, when I'm in projects where I have to like
context switch a lot, I'm always Googling syntax no matter what and I can't, like I feel like I can't maintain memory, muscle memory of either syntax. So like, luckily like the last few years I've been just Elixir for the most part and it's nice. I'm not going to complain. Yeah, although I notice that I'm, I'm getting better at this. Like I, I switch between Ruby and Alex here almost daily. And I notice that there's just something that just switched in my brain.
Like when I see that this is a Ruby project, some like, you know, a switch flips and I'm like, OK, I'm in Ruby mode, you know, and I also, you know, like one of the things that was driving me crazy was running tests. I would keep writing write, write or R spec in LX2 projects and mix in Ruby projects all the time. Yeah. So I, I just wrote a script that detects if this is a Ruby or LX2 project and it runs the right command and it's the, the script is called T So I just press hit enter and it just runs the test. So.
Perfect. Yeah, that's awesome. Yeah, Context switching is hard. At least it's hard for me. So I feel like that's a superpower you have, that you can do it so easily. Oh well, yeah, thank you. Otherwise like, well, I forget like I used to jump between like JavaScript and Swift and TypeScript and C# and I would always, I would forget how to do for loops and things like that. Like Oh my gosh. And some is just always Googling syntax what people probably use all the large language models
for now, but. Yeah, I was going to say exactly this. Yeah, yeah, yeah. I'm I feel like I I use them to help me write tests and sometimes look up documentation, but I always do that with like like I don't really trust it so I'll usually pull it up myself anyways. Yeah, Something that helped me that I just remembered was that I, I back then in my previous job, I used to use GitHub Copilot. So whenever I wasn't sure how to write something in Elixir, I
would just write it in Ruby and and be like, yeah, like please rewrite it in Elixir. Oh, that's smart. Yeah, that's, and these are like little snippets of code, you know. So it was very fast to do it, to do this and and immediately see how it can be, how it can be done in Elixir. So that helped me a lot. Yeah, no, that's a good idea. Yeah, refactoring and things I think are are pretty nice to use in, you know, the AI world. I still, I don't find it very, very awesome for writing code
yet. I mean, like small snippets. Yeah, like here, I need to do this algorithm, I need take this input, I need this output. And you can usually get a good start, but you're going to be cleaning the code up. Yeah, I'm, I have different experience. I, I basically write code with AI like every day since like September. Yeah since September last year. I mean, it's not 100%, but it's, it's a big chunk of code that I have is is basically AI cuz like I learned how to do it so that
it doesn't drive me crazy and it's see. I think that's my. Problem. I feel like I'm, I'm just fighting it and like, you know, it's not giving me what I want, so I fight it and I waste more time doing that than what it could have just written it, you know? Yeah. Maybe I'm just I'm not a good prompt writer. Well, it's a skill, you know, you can, yeah. That's that's funny. So all right, your day job is
Century and you maintain SDKS over there, which is really cool. And tell us about just cross post. That's your new app. I feel like it hasn't been out very long. Or when did you officially launch it? It's not like publicly available yet. Oh, OK. Yeah, but will be later this year. It's in close alpha and the beta is around the corner so I could. Have sworn I looked checked it out and I was like thinking I was like this is something I
need. Everybody needs it these days. Yeah. That's the truth. I use what is Opus Pro for like creating the video snippets from like all my long form stuff, which is great and I can cross post my videos, but there's nothing to cross post just like a simple tweet. And so like I find myself like when I'm announcing like this podcast, I'm copying and pasting
my my post everywhere. Yeah, so right there you have a use case, so. Yeah, exactly. Sign up, sign up for beta. What can I say? But yeah. So the story is kind of funny. Yeah, That's great. Yeah. So the story is kind of funny. So I I recently added to my like LinkedIn profile that that I'm a founder so. Because why not? Yeah, because why not? It looks cool and it looks. Cool, and then you get DMS from
everybody. I'm not there yet. I mean I am getting DMS but not from everybody. Well, mostly like sales people just that's so a little hack that I do on LinkedIn. So I know if it's an automated bot, I put my middle initial after my first name. And so if it's an authentic message, they say hey Jacob. If it's an automated message, it's hey Jacob A and I'm like, yeah, later bro. I'm going to steal that.
Yeah, that's good. Yeah. So yeah, anyway, like on like on LinkedIn profile, the the, the founder role that I added is described as I built the product by an accident and that's like my description and then that's the truth. Like I try to use some cross posting apps in the past for like 2 years plus. And I just, I, I didn't like any of them. And I thought that one day I will just, you know, spend a couple of days building like a quick, like just for me, just
for, for, for, for my own usage, a quick app that will be messy, but will work the way I like it to work, right. And I did that in September. And just coincidentally, like somebody on LinkedIn recommended to me that I should check out cursor AI. And I was like, OK, cool. It's like AAI driven editor based on VS Code that I use. So like all my settings, all the extensions that I use will be there like vim mode will be there, which is super important
for me. So awesome. I can just check it out. I already had a little bit of experience with with cloud for like generating HTML mockups and I really like saw potential in this, but this was not integrated with my editor. So I couldn't see how I could like effectively productively use it in my everyday, you know, programming routines. But when I learned that there are editors with like deeply integrated an eye where the experience is like really good, I was like, yeah, I have to
check it out. So I installed browser and in less than a week, I built like the entire app supporting like I think 2 networks initially. And it just blew my mind because it didn't look like crap. It looked pretty good. And I have to say that this was the first time when I built an app with a web app with AUI since like 2010 or so. Yeah. I do not understand how modern CSS works like I don't. I'm right there with you.
I, I don't know, yeah. And I hate HDMA. Like I could not write it, but I can kind of, you know, explain how I want the UI to look like. And it turned out that that was enough. Yeah. And you know, I, I wasn't really aware of how much it can do for me, so I learned things like it can generate icons for me. I can describe the type of icon that I want and it's going to generate an SVG. Yeah, yeah, that's cool.
It's ridiculous, you know, So it went so fast and it looked pretty good. And I thought to myself, I can build a product, you know, that's great. Well. I, I use AI for front end of all the time, like Elixir, mentor.com, most of that because I'm the same as you. I'm all thumbs when it comes to like tailwind and divisions. And I just, I, I don't, I don't know, my brain just doesn't like it.
Yeah, I hear you. So it was a breakthrough for me. Like I, I, I for like 2 weeks or so, I, I just couldn't think about anything else. Like I was just so, so excited, like all the things that I wanted to build for years, like I just shut all those doors, you know, in my head and they just all of them opened at the same time. And I was like, Oh my God, you know, now I'm for like 2 weeks or so. Exactly. I can do it again, you know, So it was crazy. Like literally like I felt like it's just, I'm losing my mind.
It's just so awesome. And then I calmed down and just continued working on the app. But you know, it's not perfect. There are lots of things that just, you know, lots of things that will not work well and you may not notice stuff like that happens. So it's a learning curve for sure. I think that's all software products though. You're always going to have those bugs that people might not notice, but you're always going to be working on them. Yeah, yeah, that is true.
But yeah, you know, I had to develop new skills for working with AI on a daily basis, but it wasn't too hard. And there are lots of resources out there to like help you. But you know, at the end of the day, like the most like critical parts of the system, like for example, the publishing back end, I, I rewrote it myself. Like it's, it's like probably like 8090% my own code because it was just such a, such a mess with, with just so much stuff that wasn't needed and some some
weird things breaking in ways that are hard to, you know, fix. And also I just, I just knew that the, the like the architecture design of it was just just bad. And I moved to urban pro and just rewrote it using workflows, which are amazing. I love them. And it helped me, you know, break it down into like, smaller nice, you know, urban workers, like, combined together into a bigger workflow. Yeah, Open's amazing. I just got the bonus of starting to work with Open workers and
things, and it's amazing. It's a really nice product. Yeah, yeah, using Open was like almost 100% of my previous job, honestly. Like. OK, awesome. Yeah, cuz we did a lot of data processing in the back end, so I always. Just like hacked together my own Gen. servers and and I never really had a need for like scheduling and retrying things. Like I just never hit those points with whatever products I was building. But like the ease of use that you have with Open Pro is like it's life changing.
Yeah, exactly. And and in case of just crossbars there's there are just lots of scenarios where things fail all the time and you you got to retry and again and again. Well, you're connecting to so many third party social media networks, right? So it's unknown and you probably get crazy different errors from each one and you just have a lot of use cases to cover. Yeah, yeah. And you also get to learn like how individual services work and what what quirks they have. Like for example the like the initial publishing back end was
so dumb that it would. It had, I mean, I mean not dumb, it was just buggy. So there was a use case where it wouldn't process the response from one of the AP is Mastodon specifically and it would treat it as a failure and it would retry the job publishing the post again. And interesting thing is that some networks like they do not allow you to do this. Like you cannot pass the same
thing, like the same text and attachments and stuff like that in a short period of time. LinkedIn for sure, and X for sure. I think blue Sky as well. But Mastodon doesn't have that. You can just spam it. Yeah, you can just spam it and it's going to accept it. So at some point I, it was funny, like I posted something on Mastodon, I don't remember what it was exactly, but it was some, you know, opinion that was maybe a little bit controversial
or something. And it would go in a loop and it would just keep posting it again and again. And I got a message from some random person, like, do you really think it's funny? And, and I was like, oh, I know it was, it was an opinion by like kind of like 1/2 a joke, you know? And I was like, yeah, actually it's kind of funny. And then I looked at my timeline and I was like, oh shit. That is so funny. That's hilarious. It's funny that that's like the type of post that it happened on too. Yeah, exactly. So if if Peter is spamming out
there guys, it's just he accidentally wrote a bug. Yes, I think a lot of people learn about this. That's so funny and I'm guessing other platforms will just throw you an air if you try to do it. Oh yeah, they will actually tell you why they are not accepting your your request that that you cannot pause the same thing again. So it's actually really nice because you just know exactly what happened. I will say not many people support Blue Sky. And so you're kind of you're
kind of a first for that one unless I just don't really do that much research. But like. For at least, like with Opus and video platforms, not many do. Yeah, so when it comes to more like like post text oriented cross blasting platforms like Buffer or or Typeflee, they recently added support for Blue Sky because because Blue Sky exploded last year and they just decided to catch up very
quickly. So they they do support Blue Sky. And yeah, I added support for it like immediately because I started using it. There are some friends there. So yeah, it was a no brainer. I know I feel like the elixir community is is split now and I just have to I just post in both places. Yeah, yeah. But like Joseph joined Blue Sky. So that's that's a big step for. That is a big step. Yeah, so right. Yeah, like when I rewrote it to
urban Workflows, like most issues just disappeared. And it's just so easy to manage this code now. Like I didn't really touch this code since December, I think, which is a good sign. It's it would be changed like almost every day. So I'm very happy about that. What does alpha testing look like for you right now? What? What are you working through and what features are you hoping to have before you have a before you go into beta? Oh, yeah. So I when I started like writing about it, like publishing some
some, some social media posts about it, people started just reaching out to me asking whether it's going to be available like publicly soon or whether it's going to be open source, for example. But I was like, no, no, no, it's a, it's a product. And I just decided to open it up to people who are really interested in testing it out and who are my friends. I mean, that's a good spot to start, right? You get good feedback and hopefully a couple power users that can break it, right? And that's exactly what happened.
So yeah, all of them are programmers. So they are using the service like in all kinds of weird ways. And yeah, I had lots of bug reports, especially during the like initial phase where a lot of the code was written by AI and I just fixed them all and a lot of also feedback related to just how the UI works. So that was very helpful. I think I have like over 20 people with access, but like the
number of people who actually use the service on a daily basis is, I know maybe like 6 people, but that was honestly enough to get a lot of feedback and bug reports. So it was very helpful. Yeah. So when it comes to features that I need for the the better release, like everything is done in terms of like user facing features. The only thing that I need to finish is like everything related to like plans and features and subscriptions that like just payments basically.
And it almost like it's almost done as well. So like I have like a system for defining features with some like optional limitations, like for example, how many boss you can schedule on a like per month, stuff like that. And plans are like a way of grouping features and I can add features to specific people, for example, so that I can give you access to one of the features even though you're not on the
plan that has this feature. So I spent quite a quite, quite some time like playing with how to implement it and, and it's looking good. So it's gonna be flexible cuz if I wanna like experiment with a new feature and have some people test it out, it's gonna be very easy to do it so. That's nice. And you can slowly roll it out and kind of beta test each feature on your production platform. Yeah exactly. So so I need to wrap up this part cuz there are a couple of
features that are not applied in the code like I don't know like media upload like uploading images and videos like we have limits but they are not applied. So you can upload like A1 GB, you know, video now, but I need to limit that because you know, lots of gigabytes sent to just Crossbus will be pricey and eventually so. Well, and then you probably have different size requirements that for each social platform as well. Yeah, exactly like for blue sky
is like the most restrictive they have like one MB is their image limit. And I'm not an expert when it comes to like image optimization. So I I have very I use Claudinary cloud in area. I don't know how to say IT service which supports like on demand image optimization. You just add some, some additional parameters to the download URL of an image and it just on the fly it optimizes it. And I thought that it's just
going to work, but no, sometimes there are some images which will still be too big. So I need to figure out a way to like, I don't know, maybe like iteratively just keep trying optimize it until OK, like get the right size if you. Hit an error. You'd or an error, yeah. Or yeah, whatever it may be, like read the error one MB and then you can optimize the image to one MB or whatever you need to do. Yeah. That would be cool. That's cool. Yeah. Image stuff is over my head too. I always use some sort of like CDN service and then pull just
whatever optimized size image you need because like I was saying, like I'm not a front end web guy and like there's a lot of headaches that come with that that UI piece. Oh yes, yeah, I spend like most of the time struggling with UI. I built like the, there's this form editor, post editor, I call it, where you are able to write your, your post in a single
place And it's, it's going to be like automatically synced with like all other like networks or you want to publish it so you can just change it in one place. And one thing that was driving me crazy in other places was that like the, the workflow would typically look like this. You write something and it's a threat, for example. So we have like, I don't know, like like 4 like post replies in a thread. And it's like you write it for like all the networks, but then it turns out that, you know, it exceeds the limit in some
networks. So you got to go there and customize it and make it shorter. And once you start doing that in multiple places like it, it really, really sucks. And it's hard because you will end up with duplicated content. And when there's a lot of content, you'll have to like keep track of what you change where. So one simple thing that I wanted to have was that I, I want to sync everything like on demand. So we can like uncheck sync check box for a particular post that exceeds the limit for
example and tweak it and just tweak that one and and leave the rest untouched and the rest will will still be synced with the like the canonical as they call it content. So it speeds up the process of writing text content for multiple networks. Like one simple thing that really helps me. Yeah, I was gonna just ask you that. I was gonna ask if you can like write a post and then oh, it's too long for Blue Sky and then you can have just your edited version for Blue Sky. Yeah, that's exactly what we have.
You have like dedicated versions that are synced, but again on demand and on a post basis. Like if it's a thread, every single item in this thread is synced separately. Is synced separately, which is not what other services do. Yeah. Oh that's cool. So you support threads as well? How do threads work for like, let's say like LinkedIn? Is it just kind of a comment? No. So I decided to just combine all the thread items into a single post, OK. And if you have things like, for example, I know some counters,
like one out of 10 or something like that, that people typically, I mean, not typically, but some people like append in thread items or like, you know, I know a hand with a, you know, with your finger pointing that there's more, which is what I, which is what I do. So you can write your thread and then at the end, go to LinkedIn tab in the editor and just remove the stuff that doesn't make sense. But I'm actually planning to add some features that will just do it automatically for you.
So it's like the simple simplest thing that that that you can do. But I'm also considering adding like an option that you want to write like only the, like the beginning of the thread and then add the remaining parts as LinkedIn comments. I don't know, maybe it it makes more sense for some people. So yeah. And obviously there are some AI features that you can use to like automatically shorten content for you, which I'm definitely going to implement. Automatically do that and then still allow people to edit it
just in case cause AI likes to throw words in there you'd never use in a post. But that would be cool. Yeah I love that. I I don't know, I feel like LinkedIn people are used to longer form posts so I don't think you necessarily would need to ever make comments or a thread as long as you're not hitting. I don't even know. Do they even have a limit on post length? Yeah, 3000. OK, 3000, which that's a lot of content, I feel like.
It's a long article. Yeah, yeah, that's cool. So what? Let's see you support Blue Sky LinkedIn X. And Mastodon. And Mastodon any, any plans for like Instagram, Facebook, any of those? Yeah, but I'm not sure which exact platforms I will support. It depends on what people will ask for. So there will be like a feedback
app, I mean, I already have it. So we can like leave feedback and and and like send some feature requests. So I will see what what people are asking for. I'm actually kind of weird with some ideas that I have for the service. Like there will be some like features for nerds, for example, I want to add and I will probably do it pretty soon because just I need it. I'm going to add support for GitHub that yeah, that you will just connect your GitHub account.
You will give access to your static page repository, like the repository where you have your static page set up. It will just configure where you want the post to go and how it should be named and and you will be able to like post to your blog from just cross post and for example create a summary as a social media post at the same time for example. That's awesome, I like that. Stuff like that. I also want to add some like features to essentially help open source maintainers be active in social media and like
talk about their open source projects with like not wasting too much time. Like one thing that I did, at least in the past would be to positive messages about like new features or like a a new release announcement. Is, is is is a common, you know, post that that you can publish. So you can like automate that. Like you can just connect to GitHub and be like create like a draft of a post with an announcement for this, you know, repository whenever a new
release comes up and and and draft will be created for you. Anyone just accepted in a quicksand boom that? Would be awesome, I think. Yeah, that's a really cool idea. Is anyone else doing things like that with GitHub? I'm. Pretty sure no. Yeah, that's amazing. I love that. There you go. Yeah. So yeah, I'm basically sorry. It's. 2 apart. Yeah, I'm I'm just targeting like the niche which is developers with this server. So it's it's going to be
probably like a weird service eventually, but I don't care. Like it should work well. The weirder the better I think. Like if you have a lot of cool just random integrations that developers use and not necessarily like people don't have to use them, but just having the ability there I think will be awesome. Yeah, yeah, we'll see how it goes. But yeah, GitHub will be added for sure. Like I'm, I'm moving with my blog to a static side generator. Again, it's a cycle and I just
need a way of like writing. And then you'll post your blog posts through through just. Cross post. Just cross post, yeah? OK, I like that idea. Yeah, I'm guessing you've done So what is your blog currently on? Like a live view or what did you write it in? No, it's Oh my God I forgot. Like what's the name? Let me check. I literally forgot hash node. It's called I think hash node?
Yeah, I think. Build blogs and API docs for developers and. Hash node yeah, so it seems like they are not evolving well and I had some technical issues so and also I just I want to own my content again. Yeah, well, there's something to be said about that, right? Right. Like, yeah, my blog is I, I,
yeah, it's just stored in my Postgres database. And I don't have a good editor right now because I just haven't had time. Right. But static is good and then you can just write just static HTML files. Is that and then update a repo or how would you handle that? So it's typically markdown. Markdown. Yeah, that. Yeah, yeah, yeah. With like the, what's it called, like GitHub flavored Markdown, I think. OK, yeah, because they have like nicer syntax for code blocks and
and highlighting. So nice. Yeah. And then are you just you just host the markdown inside of an HTML site or how or do you just can you just host a markdown? No. So like if you use a static side generator, it's going to just convert markdown to HTML. Into the HTML gotcha. OK, well how how are you automating that process then when when you build the markdown like a GitHub action or how would that work? Yeah, yeah, it's yeah.
It's typically a GitHub action and there are, you know, for for every major static site generator, there are like existing actions that you just click a button on GitHub and you get it installed. So. OK that's cool. I've never really used any static site generator stuff, but. They're pretty cool. I definitely see the benefit of it because it's it's got to be nice and fast too. Yeah, yeah. And simple. And you know, it's just marked down. So it's, it's easy to like, I, I transferred my blog to like, I
don't know, like 3 or 4 static side generators and it was always like a day of work, maybe even less. Just convert files a little bit and like rename them maybe and locate them. I mean like put them in the right directory and that was it. Yeah, that's nice. I, I, honestly, I hate writing content and I, I put a blog on my website just, you know, to try to help with SEO and I'm so bad at actually writing posts, but like, his video is much
better. So I've been trying to think of a way to like some people told me I should just take the transcriptions from YouTube, which I'll probably do, but put the transcriptions of my podcast on my actual episode. And then that would probably be I I have to figure out a good way to do it. I don't know if just like dumping transcriptions somewhere or I don't know how to do it yet. I haven't really thought thought it through, but I think that might be a better approach than writing blog posts for me. Yeah, yeah, I I think that I
actually thought about it recently. I think that using transcription to like generate a draft from it using AI and then just rewriting it yourself would work, at least for me, I think because it's it's going to kick start the process. Like for me, the hardest part is to start for sure. But once I have like a draft, even if it sounds super weird, it's going to get me going and I will just, yeah. Well, that a good use case too.
I could use it to summarize the episodes a little better 'cause right now I've just like made generic paragraphs of what I think we're going to talk about and like, summarizing what was actually covered in the conversation I think would be a big benefit for people. Yeah, one thing that I thought about when it comes like converting videos with like programming content, which includes code, like converting them to to articles, was to somehow, somehow, excuse me,
figure out how to extract code examples from the video. Cause 'cause, yeah, 'cause cause 'cause LMS can actually do that. Probably. Like if you, if you like, upload an image, an image with, with a piece of code and ask AI to describe what the code does, it's, it's going to figure it out. At least that's my experience, which is crazy. So theoretically you could just send the video and be like extract all the code that I used
there and it's probably not going to be perfect, but it would also be a good starting point, like it would save time I think. Yeah, that would be really cool. I wonder like, yeah, if you write a post and then you could grab code snippets. I mean, if you screenshot the frame, it would probably grab the code snippet for you too. True. Yeah, Yeah. That could, that would be cool. Maybe that'll be my LLM project that I don't need to start, but I probably will.
Yeah, I hear you. I I tried to, I started using like instructor and stuff with one of my projects trying to generate static websites and I kind of got to a spot where I was creating decent stuff. But then I kind of hit a wall like it was, I was very limited, like I got it almost good enough to be a good site generator. And then I just like couldn't get over that hurdle. But maybe, maybe someday, maybe AI can help me get over my hurdle.
Yeah, yeah, give it a go. I can. Yeah, I can unblock you on on many things, honestly. Because I was like, I have a, a website called sitebrains dot IO and I kind of just grab, you know, like product hunt websites and like other featured websites that are just cool. And I screenshot them with like mobile desktop mode. And then I try to have a color palette analyzed through like ChatGPT or open AI, I should say.
And it's cool and it works well. But my goal would be like, I want to build something like this and then you put in like company name, your color palette, upload a logo and then have it site generate something similar like with the same kind of layout and all of that. And I think it would be really cool. I just it's not quite there. Yeah, but it sounds like a really cool idea, honestly. And there's the thing like you can like, like I mentioned, like so many doors are open. Right.
Yeah, so like it would be really cool. Like, oh wow, someone comes to just post, just cross post it dot app and they're like, this is an awesome product page that I want for my product. And then it can kind of it takes the same concepts and knocks it out with your product. And then you can press like host, host me and you automate the hosting process and everything and then tell them to point their domain, give them some like a records or something and good to go. Yeah, it's actually what I did.
I mean, not, not with all the pages, but definitely with the front page. I I don't remember which pages I used as a as an inspiration, but I, I just paste it in the editor, a couple of URLs and I was like, I like these pages, please generate something similar. Nice. And it and it just did that. I mean, it wasn't immediately exactly the way I want it to be, but like interactively, like we like I said, we it's like my new friend, your. Assistant.
Yeah, we went through the process of like, making it better and better and better and, you know, kind of like it so. Yeah, that's awesome. Yeah. I mean, that's kind of the same approach I took when I did Elixir mentor.com because I was just like, I, I almost like this, but I don't like and then you just do little tweaks, right? And then I, I mean, I do some code fixes when I know of better ways of doing things 'cause I feel like at least with Elixir, you get a lot of bad code back or, you know, they might not
really flex pattern matching or they might not do things very illuxory. Claude I found is like pretty decent at right in Elixir but I feel like ChatGPT is not nearly as good. Yeah, for me on the cloud works with Alex here honestly. But I would say in most cases it generates code that I would write honestly. Yeah. Well, I think especially with like front end stuff, right, If you're just using Tailwind and
HTML and you just need your front end layout, yeah, it's pretty good. So yeah, yeah. Like markup and CSS Yeah, but when it comes to live view it like the thing gets lost so often. It gets confused like between JavaScript hooks. That too. Listeners or why am I not like handle events and things like that and it'll just kind of use
them. I've like in a unconsistent pattern as well. I don't know. Yeah, and it, and it, it, it just cannot learn what types of components exist that there's a live component and a normal component and and you know that you can define a component as a function or some, you know, stuff like that. It, it, it gets confused and it generates some weird broken code. And no matter what I do, it just cannot improve for whatever reason. I think I just need to create like a a bunch of examples that
I will be always attaching to the prompt. That's a good idea. And and and tell it to like. Here are examples of live view components with like comments describing them and like follow these patterns. I guess like I've always used it just for like the heeks portion and then I write everything else because I feel like it. It does. It definitely gets confused and doesn't know what to do with itself. Exactly. On the other hand, when it comes to JavaScript, it's crazy. Like it's really good. I mean, there's so much JavaScript code out there that,
yeah, learned all of it. I was just watching a Prime Video. He was talking about how he was like going through another dude's video who's talking about how the fear behind AI is like, you have so much code out there, right? But most of it's just mediocre code, and that's where it's grabbing from. So are we going to end up with just a big pile of mediocre code? Because that's just what all
these large language models are training off of. Yeah, yeah, it's actually exactly what I thought previously, but I no longer think that. Again, like most, I mean, right now it's hard to tell. It's even impossible for me to verify this, but a significant portion of of of the code in just Crossbus is is is is generated by AI and it's good code honestly so. But I feel like you're also in a position where you know if it's
good like you. Have. Like, if you don't have the code smell skill, you don't really know what's being. You're just assuming what's being returned to you is good code, right? Yeah, exactly. I, I was going to say that, that I think that you need to be really experienced as a developer to reuse AI effectively. And otherwise. Like if you, if you let me say this, like if you don't know how to implement an app and you will rely on AI to build it, it's going to be shit like right,
it's going to be pretty bad. But if you know how to build it yourself, then it's going to speed up the process. Like a lot. Yeah, because you can do small bits and pieces versus trying to get it to build an entire thing for you too, because you actually know the process. Yeah, exactly. And you know, the when it comes to coding with AI, what I found at least is that the very same rules apply. I mean, guidelines applies, like you don't want to make too many changes at once.
Like if you're building a feature, you want to start with like the simplest thing that can work, you know, when you are fixing a bug, you shouldn't refactor. You should fix the bug, you know, improve your tasks and then maybe refactor, you know, stuff like that, you know, but, and it's funny because I knew that, right? But I was so excited about AI that I was talking, you can do everything for me. And I would be like implement this feature and would describe all of it at once. And I would end up with just so much code that is broken or
partially working, you know, so again, it's a learning curve. And, and then you got to know how to, how to use it effectively. And if you, if you are experienced as a software engineer, you, you can succeed, you know, quite a bit with, with AI. But like what, what's like an unknown, I think is, is what the impact overall will be eventually. Like lots of programmers and non programmers are building apps right now with AI and they may get an impression that their apps work well. So when in reality there are
lots of weird bugs and we will probably see some disasters because of this and hopefully they will not be, you know, too bad. But you know, at the same time, all these models are getting better and better very fast. Like I can see the difference, you know, September last year and and January now I can see a significant difference in inequality. Like for example, there's this new agent mode in, in, in in cursor editor that kind of
simulates how a, a, a person would would work with code. So it would like search for code, It would execute commands like obviously you need to give it permissions to, to execute them automatically without your permission. I mean without your permission when, when it's when you're in, in the prompter. So it's a great improvement. Like it, it, it, it knows how to search for code that that you actually have and then figure out what it should use what like what functions actually exist, Although sometimes it it doesn't
do it, it's a little bit unstable, but still like we didn't have that in, in in September and and it's a huge improvement. Like I can, I can give you a good example. Like I had AI had a use case where is there was an issue with a Rubygem that was used in a way that the code would like reach for some internals and like like private instance attributes. And I had a like a theory that
this was causing some issues. And I asked like I was just out of curiosity. Like I asked it like, hey, like I think that this is causing some trouble. Like can you investigate? And what that thing did? Was it installed the jam? It opened an interactive session, it required the jam, it used it in the session to see how it works and then came up with some conclusion that was wrong by the way. But but it blew my mind that it actually just insults the jam itself and it knew what to do
with it. It was crazy. I don't. That's kind of scary. I don't know if I want to give permissions to just open up my terminal install things. Yeah, I'm using docker, so it's all in a. OK, you're you can at least just. Be done. With the container, yeah. So the Safeway of doing things Docker, I mean all my development stuff is always in Docker. But yeah, a lot of my local
environment stuff isn't though. I always keep databases in Docker, even locally. But but yeah, I usually keep my local host projects local host just because it's a little easier. Yeah. Do you build? I switch. To build everything in a docker instance. Yeah, I was going to say that, yeah, that that's my main, not the only way, but main way of writing of like building projects in Docker. But, you know, I have some less,
let's say less standard requirements because I switch between versions of of different languages constantly. I switch between like configurations to like reproduce some really obscure bugs. So I need a way to like very quickly set up something that would replicate some, you know, some, some environment. And I just find Docker to be easier to manage because I'm not messing with my, you know, host system. So. Yeah, for sure. No, that makes a lot of sense. I'll have to I, I noticed I was, I was on YouTube and I was
browsing your channel a little bit right before this and you have some videos about your, your, your, your dev set up, right. I'm going to have to check those out because that's cool. Yeah, yeah. So yeah, I think I showed how like how I set up Sentry because in in VS Code, you have like first class support for dev containers, which is an open standard right now. So we can like define Docker containers for development using some like, whoa, some like special, special syntax.
And I actually learned that last year that you can use this feature to like configure your container without like having your own like Docker file and stuff like that. You just say like, hey, I need Redis and I need Ruby and I need this and that. And you just like check boxes. You just. See, that's why I don't use it for everything because I just. I thought you had to have your like yaml file and everything set up in your docker file and.
Not the case anymore. And you know, for like more complex things like like just cross plus has its own docker file because it's it's also used for deployment. I like to like unify my like infrastructure set up. So that's. Well, deploying with docker is the only way that's it makes life so much easier because you don't even have to worry about what do they call like the cluster, like the local host cluster when you launch more than one image. That's warm, I think.
Yeah, yeah, yeah. Just like that being built in makes it so nice because it's just all your like your database, your project, whatever you may have. It's just all communicating local hosts essentially. Yeah, yeah, and, and sometimes things break and you just rebuild your thing and cleaner. It's so easy. So yeah, I like it. It's been like again like my main way of working for for years now so. Yeah, I've always used Docker for deployments, but not so
much. I mean outside of just having my DBS on it, not so much local host. But I'm going to have to. I might have to change my ways because you have a lot, a lot more protection too, when you're just in your own in. Your docker containers? Yeah, exactly. Especially yeah when it comes to AI. When? You're laying on AI Monster. Just open terminals and install things. Yeah, that's funny. But yeah, then you don't really have to worry about it. You're just you're in your own little safe atmosphere or
environment that you can just rebuild if you need to. Yeah, yeah, yeah. It's got that's everything you know, it's, it's, it's got it's pros and cons. And like for me, the, the pros were always like greater than the cons, so. Yeah, for sure. What made you want now you said that just cross post kind of you built as like a personal need. So what was it originally? Just like command line kind of thing or how, how?
What was the? What was the OR just really ugly UI? What was the first iteration of it? No, the first iteration was actually like a full blown web UI because I used AI to generate it. So yeah, that was the crazy part. That's why it's so, you know, just excited. What part made you say, hey, this is a good product so. Many people started telling me that. Oh, they want. Oh my God, I need it so much and I was like I know. That's awesome. I love that the accidental
products that's. Yeah. I, I, I know I'm going to annoy people because I talk about it all the time, but I made like a website host basically for my own needs. Like I wanted to be able to get clients websites just built and hosted faster. And yeah, it actually turned into, it would be a pretty awesome product to sell like web development platform or like SEO
agents, whatever you want to call it, any kind of consultancy out there and it and they could just kind of cluster host, you know, hundreds, thousands of websites all in one Phoenix project. Well, that is interesting. Yeah. And hosting is still hard for whatever reason. I don't know. It's 2025. I mean hosting is not hard, but I. Struggle. I mean, yeah, I get what you're like, but I feel like I use my same systems over and over. I'll always just use digital
ocean droplets and then it's just always Docker. So I have kind of my same build scripts for everything. But what the pain in the butt was always like SSL certs and just like all the initial configuration you do for individual websites. I was like I'm doing this over and over when now I have it just set up in one project and I add HTML and like I do some dynamic routing. I have a dynamic live view and like dynamic static view
routers. So like my router file is awesome. There's like 3 routes in it and it dynamically loads every website that I host, which is pretty cool. And then I see cool projects like Beacon CMS and I'm rethinking everything that I'm doing for at least how I'm routing things and stuff 'cause they use ETS tables. So they like kind of load everything once and then they're using ETS tables as kind of like a cache for remembering routes which allows them to customize.
Like the thing that I did, I ended up routing off of file names. So I kind of have like a a website generator that creates the same like directory format for every project. So if naming convention changes at all, I can break my routes, which is kind of limited. But. But yeah, and then you see cool projects built by smarter people, and you're like, that's a brilliant idea. And then it allows you to get
rid of physical files too, and you can store and render everything from the database. Yeah, that is nice. Yeah, Yeah, I, I looked into Beacon last year. I maybe I will try to like convert my blog to to use Beacon because Alex here. Yeah, yeah, yeah. Yeah, we'll see. Yeah, I, yeah, it's, it's, it's nice. Like I like the the like editing capabilities that it has. The, the, the way they
architected everything to, I can't imagine the learning curves they went through and they first started the project, but they're in a really awesome place now. Like I feel like I'm like a couple stages behind them. And then and then Beacon CMS came out and I was like, Dang it. Like. If I could have just had that project before, but yeah, it's a cool, it's definitely a really cool project. Yeah, it's good to see that, you know, we have such systems
appear in the ecosystem like every language needs Acms, right? For sure. Yep, and every project turns into Acms, so you might as well. Yeah. I mean as well. What are you using for Like hosting your videos and images and everything? Are you using the cloud? I forgot what it was for. Everything clouding area yeah yeah, yeah, it's it's it's yeah it's a storage and and it's. Good for video as well. Yeah, yeah, yeah, it, yeah, it
optimizes videos. OK, Well, I guess you're more uploading files, you're not streaming video, right? Yeah. So you just really need the storage. That makes sense. Yeah, yeah, I just need to make sure that it's possible to upload something to a given network. Yeah, yeah. Do you main? Are you maintaining history for forever of assets or do you do things expire? No. So there will be limitations like.
Hard to tell now how exactly it's going to work, but but some limitations when it comes to how much of the history is maintained. Yeah, that makes. Sense cuz that's gonna be a lot of your costs is Yep, store assets, right? Yeah, exactly. And but at the same time, I wanna make sure that it's easy for people to like just get their content and like export it somewhere. Like for example with GitHub, you'll be probably able to just upload stuff to GitHub automatically through GitHub Actions, so.
Yeah, yeah, that'll be cool. You'll have some fun growing pains as this thing takes off. Hopefully I mean. There's no void in it. I know I, I think it's an awesome product. I, I think I think you'll, you'll take it places for sure. I'm excited to see to see it launch. I'm going to have to, you know, try to get in that inner circle alpha group for for cross posting though. Yeah, yeah, it's, it's it's a
good thing to do these days, honestly. Like you're going to reach more people. And, you know, some people have their preferences when it comes to networks, so it's just good to be everywhere. Yeah, no, I agree. I agree. I feel like adding platforms and knowing what like that's going to be a never ending, never ending job. Yeah, probably, yeah. But you know, at the same time,
I honestly don't have like, big plans to like support as much as possible. I want to like keep it as quiet as possible while at the same time being financially, you know, viable. Yeah. No, that's smart. Yeah, I actually want to build more stuff. So like more apps, like one app that I have, I built it in Ruby, but now I have a better idea how it should work. Is it's a tool for like like automation related to open source maintenance for things
like if you have like a lot of repositories and you have a lot of similar files like readmese or, I don't know, some, some pieces of docs or, or, or whatever. It's it's often the case that you want to keep those files In Sync in terms of like the structure and common information. And it's a pain in the ass to like do it manually. So you can automate that. And then like have a tool where you like define templates for such files. It includes like configuration files, like for example, common workflows for GitHub actions,
for example. It's, it's a really good example. So I want to have like an app that just does this for you and it can either like automatically sync everything or open pull requests with updates to your, to your files. I built something like this for Ruby projects where we had like definitely over 50 projects, 50 repositories. And it, you know, it saved so much time. Like all the read me's would be up to date. Like all the license files would be up to date. Stuff like this.
Yeah. So you. Change it in one spot and then it'll spawn it across whatever template's been used. Yeah, yeah, exactly. But it was based on the idea that there is a like a source repository where you added files and then whenever you change something, it gets synced with other repositories. But actually now I want to build it in like differently where you, you just define things in the app. So it's stored not on GitHub, but in the app. And there's just first and foremost there is UI because
hello, I can do it now. And you just define your templates there using a nice interface and you configure like which repositories should use use which templates. And what's nice is that you can like render these templates using information from GitHub. So like if you have a read me you can like replace common parts like the name of the project or stuff like this 'cause you all like it's all in the in the. So how do you see this working? Like a web app? And then I just would connect my
GitHub account to it. Yeah. So it would be like a web app alongside an actual GitHub app. So you could give permissions to a GitHub app and the GitHub app would operate on their behalf and it would like open pull requests or like it would push to to repositories if if that's what you want. But you would control everything from the app from like the the web app. Yeah, that's awesome. I would.
I would use that. That's a really cool idea. Yeah, yeah, it's it's also something that a lot of people told me that like we want to pay for this like like please deal with. So hopefully I will do it. I want to do it this year. We're just going to see. So Peter's going to have this just umbrella of awesome apps that just developers need. Hopefully like that would be awesome. Yeah, I love that. That's cool. So that'll be cool. Now everyone that's listening and listens to this has to keep
you in check to make sure this comes out. So make sure you guys follow him on social media and and bug him every once in awhile. Yeah, but you know, I abandoned a lot of projects in the past, but always it would like, it was always the same thing. I would start building the UI and I would hit a wall and I would give up. It was the same story for like 10 years so. And like, like I'm majority like I'm a back end developer. So I was, it's always the same for me.
It's just like if I could just wrap my head around Tailwind and all that stupid stuff, I could really pull out this app quickly and then I just like don't have the drive to to figure it out. Well I like I can figure it out, but I move so slow with front end dev when I am doing it on my own that yeah AI is a nice handy handy assistant for that. Yeah, it's crazy. Like there are a lot, a lot of people who are just, let's call
them like AI skeptical or something. Like no matter what you what you say, they they almost don't want to believe that. Like some people would argue that it's not that big of a difference. And I like, I mean, it depends on what we're talking about exactly when it comes to like engineering. But again, like when it comes to UI, excuse me, UI, it's it's huge. Like I can, I can build a piece of UI in like 15 minutes that would previously take me a day,
if not more. And even then it wouldn't work well on some displays, especially mobile stuff like this, you know? And now it's like 15 minutes, like, yeah. And you can like. Make this mobile friendly and then it will you know I'm like. I did that actually. Yeah, I think I'm on the fence. I find myself going both directions depending on the day with how I feel about AI. Sometimes I'm skeptical and I'm like, oh, this is garbage. And then I'm like, wow, that's actually pretty impressive. And like, I don't know, I'm in
that. I get tugged both directions right now. Yeah. I see the benefits, like I don't think it's something to be scared of. I think it's just an extra tool to make us more productive. Yeah, that's exactly how I see it. But at the same time, like, I don't think that, you know, software engineering skills are not going to be needed. I I think we will need engineers for a long, long time. But like the approach is changing. Like I think that eventually
most engineers pretty soon will be using AI. And if you're not using AI, you're going to be left behind. I I really, I really think that. It's kind of like a graphing calculator, like so many people were against graphing calculators and calculus and like doing all that and you have you can't just not find the derivative by hand like and it's just a tool. I'm horrible at mental math, but I can do it with a calculator. How do you one thing that I
always think about, and I don't know how I should ask this question more with actually guests that come on, do you think there's going to be like, I think AI is a great tool, right? It'll be part of our forever tool bank for software development. But I think it makes us so efficient that now more companies are only hiring senior level developers and there's less junior roles available. Do you think we're going to run into a weird like skill gap when we like senior developers start
to retire? They stop working and no one's trained junior devs. Yeah, yeah, it's it's a huge problem and it was a huge problem before AI honestly. Like so many companies would always hire seniors or at like at least mid seniors and, and, and, and it was really difficult for juniors to find work. And, and now it's, for me, it's difficult to like, it's hard to predict.
Like AI is definitely turning things upside down for sure. And it's a new scale that everybody has to learn, But like how it's going to impact junior developers, I, I have no idea. Like it can go both ways. Like it can be really, really good or it can be really, really bad. I have no idea. Honestly, like if, if we kind of like do something to make sure that new developers are learning
engineering at at least like a basic level to understand at least at the basic level what the AI is generating, then we should be good. But if we if we see like, yeah. Oh, no, I was just going to say I think like the biggest problem though, is there's so much you don't learn until you're in the field working with people because like, you can understand how to write functions, how to create modules, you know, the overall app architecture. But you don't learn a lot of
things until you're on a team dealing with merge conflicts, scaling issues, deployment problems. Like you don't really learn that stuff until you have to learn it. Yeah, but you know, the push is to replace, I mean not replace, but to make most of of of of this type of work unnecessary, right? So I, I think that they will succeed because again, it's
moving so fast, it's growing so fast. Like it's, it's becoming more powerful, like almost weekly, maybe not weekly, but like monthly. So I don't know like even for like for things like debugging and like figuring out bugs, not always, but quite often I cannot figure out something and AI gives me the answer like immediately. I can give you a very simple example. It's, it's ridiculous. Like I, I had a situation where a piece of UI was not rendered
and I was so confused because it's there. I can see it in the template. What the hell is going on? It's not rendered. And I was like it, it should be so easy to fix that. I'm not going to like, I'm not going to bother with like writing a prompt, stuff like this. And I just couldn't see it. And I feel like I don't know how long, but after some time I was like, I give up. I will ask AI. And I was like, hey, AI like this piece of UI is not rendered. I cannot understand why.
And I immediately got an answer. Well, there is an if and it you know, it's false. So like this, this this special, you know, call and if attribute. Yeah, yeah. I couldn't see it. I just couldn't see it it. Happens to the best of us. Yeah, exactly. But you know, in, in, in, in, in even like silly cases like this, like it can help. I don't remember why I'm saying this by the way. It was the starting point. I mean, I like, so I use it a lot for writing tests and like I
obviously go through and make sure that I agree with all the use cases that are written. But just the other day I wrote a test and I was like, why is this thing failing? And it I just crossed variable names. So I was asserting two different things and it was failing. And yeah, same kind of circumstance. It immediately sees something like that, yes. Yeah, yeah, it. Has its benefits. Yeah, but I also had some cases where something was like really difficult to find and figure out. And it would like scan the whole code base and, and, and provide
a lot of information and, and in some cases it would actually tell me that like what the culprit is. And I was like blown away. Absolutely. I guess that's the benefit of using cursor or something too, because it can actually see your full code base. Yeah, although it's not perfect like you have to either provide like add explicitly add certain files to the context. But you can also like at mention some things like entire folder for example. But what I'm waiting for is, is
is having cursor or any other editor to just always have the entire context like the entire code base because that that would be like the the perfect I feel. Like, it can't be that hard to do that, right? Because you would only have to update files if they've been touched. So I feel like they'd be able to just like kind of hold them in cache. Yeah, I think it's it's, it's more about like the limitations of the, like the context window or whatever it's called and.
When you send the prompt, right? Because it probably doesn't include all that then. Yeah, exactly. Yeah. So I don't know. That would be really cool. Like if like as you're searching a project for a function and your language server crashes and you can't click on it, it could just pull it up really quickly. You know, yeah, You know, so yeah, like going back to to like your question, which I now remember, I think, you know, in
theory, like we should become way like way more productive, but we need to like consciously learn people how to use AI. Yeah. Like it, it, it has to become a thing because I, I, I don't think it is now. Right. And we can't forget about everyone that's learning how to code too, because I feel like that like it's going to. I don't think it would not be enjoyable, enjoyable to Start learning right now and try to find a job. It'd be very difficult.
Yeah, for sure. Like I don't have any people, honestly. Like there's just so much technology. Like even if you like even in our niche like Elixir and like surrounding ecosystem, it's already so big and so many things to learn. But like if you want to find like a JavaScript job, for example, like JavaScript ecosystem, Oh my God, like go and learn all of that. It's crazy. Yeah, well, you can't even just say JavaScript, right? It has to be. It would have to be like React, no JS or like whatever it might be like you have to pick your
poison. Yeah, the framework of the week. Yeah, I actually didn't use any framework in, just post. You did what? I didn't use any framework, any JavaScript framework in just post. Yeah, there's a lot of JavaScript, but I just wrote everything as like vanilla JS. OK, I don't know. It's, it's simple enough and I, I like the joke that I, I used to write, you know, SP as before we had the term like back in
2007. So I'm pretty comfortable like putting together a little like a little bit of, of, of, of JavaScript like abstractions for like events and, and handlers, stuff like that. So I have my own little thing and and it works. I do worry that at some point I will realize that it was a mistake, that I should have used, you know, a framework, but I don't know. So far so good. I struggle my way through writing like JS hooks and things, but I can still write
JavaScript. Yeah, I can read it better than I can write it. But in another life I wrote JavaScript every single day and now I don't. Yeah, I typically avoid it, but once I start writing it and something's like starts to work like, I start to enjoy it for. Yeah, it comes back really quick. And honestly, like, I was writing TypeScript randomly the other day and I was like, I kind of miss TypeScript. TypeScript is nice. Yeah, about. That like I cannot like I I should have written this in
TypeScript because I really like TypeScript. I do not understand. Why I forgot about that script and I wrote the thing in plain JavaScript. I just. Yeah, well, there's a nice weekend project for you, right? Yeah, I mean, maybe it's easy to convert JS to TypeScript. Maybe, I don't know, hard to. I don't know. Yeah, I don't know. It's been a minute, but it's doable. It's not hard. You just have to go through and
put your typing everywhere. Yeah, but it would be a risky task. Yeah, you break a lot. Yeah, it's so easy to break this stuff. And you know, I I have, you know, some tests for the UI, but there are so many scenarios that are definitely not covered. Like I have like a test suite in Jest. It's called, I think for like the model stuff in JS and, and a bunch of playwright end to end tests that are like, I, I, I, I
wrote, I mean, I asked AI to, to write a script for me that would run end to end tests, but in isolation. So like it parses the files, it extracts all the file numbers where the tests are defined and then it runs, I mean in isolation, it's like every single test scenario is run in isolation. And I have that because I, I didn't figure out how to properly configure like all the database stuff in Ecto so that things are isolated between the
test runs. It's, it's a challenge and, and I and I didn't figure it out and it runs fast enough. So I'm OK with that for now. But still, you know, even with these end to end tests and just tests, I, I every now and then I would, you know, make a simple change and then realize that I actually broke a feature. So yeah, the, the front end stuff is really hard to test. I mean, to, to have automated tests that would really cover a lot of ground. It's really hard. That's why like I don't I love
being just a back end dev because I feel like our life is so much easier to write a test for. Like this function should do this and it's done and then if it breaks, you know you have to go just check on whatever you just refactored and you don't have to worry about a button showing up in a certain spot and then it doing a certain action when you tap it. Like it, like so much, can break. Yeah, Playwright is actually
advertised as, as, I mean, it used to be, at least when I discovered it like 3 years ago or so. It it's it it's it says that it it fixes the problem of flaky tests and it absolutely does not feel that. That's why, well, I just feel like, yeah, like front, like end to end testing is difficult. It's a difficult thing. Like writing a good unit test is just so much easier. Absolutely. Yeah, Yeah, yeah, actually. Integration tests and like like all that stuff is so much
easier. Oh for sure, yeah. I mean I sometimes struggle with the tests for for live view components and it's just because I don't don't remember the syntax. I'm still learning it. I actually learned live view like properly learned live view when working on just cross bus because at my previous job, like I mentioned, it was Oban and and and integrating with external services and processing data in Oban almost all the time.
So I barely touched front end there, barely did anything with live view. So I really learned it now. But when it comes to testing, I'm still, sometimes I would try to do something like intuitively and it turns out that it doesn't work, especially when it comes to like, I know filling in the form. I didn't do remember how to do it. And I, I, I wrote like fill or something. And, and, and then I realized that, oh, I mean, not realized I had to like go to the docs and see that it's you, you pass data into the form helper, like test
helper and that's it, which is beautiful actually, because it's just a single call and I love it. But I like my intuition told me something completely else that like you create a form and then you pipe through like fill this, fill that because this is how it works in, in many other frameworks. But it wasn't like that in, in this live view test. So like I tripped on it and and the worst thing for me is like, like trying to see if some piece of text or something is in the output and you get this like gigantic, you know, BLOB of text in like the output.
And you got to like copy and paste to to the like to to AI to the composer in a in in cursor and be like, yeah, like, why is this not passing like? I have not written any live view tests. I feel like I should probably I should probably learn and dig in a little bit because it it would probably be a good skill to have. Oh, so like I, I complain a little bit, but I actually really, really like them. You know, you, you have like the
really easy way of, of rendering these components and tests and, and a lot of helpers for like assertions. So we can like really write a lot like cover a lot of functionality just by writing these tests and they are very fast. So it's a win. But you know, it's still it's I consider it the back end test still, right? Like it, you can't like you cannot compare this with an end to end test where like an actual cursor clicks on an actual button, right. So I still, I still for like crucial functionality, I still
like to have end to end tests, even though I hate, I hate maintaining them. It's a nightmare. Because they always break 1 little tweak. Yes, exactly. Yeah, I should write some front end tests, UI tests, but I don't know. Yeah, so I break. My website all the time because I change things and then I don't catch it. Yeah, you can have some like basic smoke tests, like go to
the page, see if there's, you know, a piece of text that you expect it to be there and, and yeah, that stuff like this. So it's super basic and it's gonna, you know, help you catch some, some really, you know, silly mistakes or something. Just broke completely. Yeah. I believe in testing, I do. I just like living in the back end. Yeah, yeah, same. But yeah, what I wanted to say, like mentioned is, is like previously before I started using AI for development, I was
like really into behavior driven development slash test driven development. So I would always write tests 1st and then then make them pass and then refactor in, you know, the common DDD cycle. But I would approach it from like a more behavior driven development point of view. So I would focus on like high level functionality first and describe something like at the very top level, like how something should work. And then I would, you know, go deeper and deeper as I would, you know, continue developing a feature or, or something. So that was like my natural way
of writing code for many years and then just turned upside down. Like I, I stopped doing that because AI gives me a lot of code immediately with tests, tests. I do review them and and and sometimes it struggles with the setup. So sometimes I would have to provide some examples where the setup exists and be like, yeah, see this 5 for reference. But it generates really good tests and it does this so fast.
Like I have a lot of tests for for just crossbows a lot, a lot of case. I mean, definitely not everything is impossible, but you know, a lot so, and again, like, it feels weird for me because I'm not just, I'm not used to it. And I try to, to, to, to ask it to actually follow that like test driven development cycle, like please write a test for it, blah, blah, blah, blah, blah. But then I was like, it's a waste of time. Like it's going to generate the same thing.
And you know, like, whatever. I mean, there's value in seeing the tests failing. So I guess. Oh, I could do it. My process is probably a little backwards, like I'll always write the function for how I think it'll work, then I implement my test and I hope my test fails and then I go fix all my logic. Oh, that's interesting. But the problem is, the problem with that approach is when your test passes, you're like, did I do something wrong? And then you have to make the
test fail on purpose to make sure that it your function's actually working. Yeah, I don't know. I probably have extra steps because then I have to add some logging and stuff and I don't always trust my work. But Test Driven Developments, good. I just I, I I always write the test after. I don't know. Yeah, I I know that for for many people, it just feels more natural. I like force myself to learn that the opposite is natural.
Yeah, yeah. Well, I mean, it's a good right? Because you always start with a failure then, and then you see it go green when you finish your function. Yeah, and it also helps you like prevents you from writing too much code, which is very, very valuable. So yeah, over solving is a problem. Yeah, yeah, no, that's good. That's good advice too. Test driven. I'm trying to think who who wrote the test driven development?
Is it Phoenix Test? TDD. Yeah, there. Yeah. There's a book out there about it, I think, or or or or maybe not a book, but like a online curse or something, I don't know. Yeah, it's an online book. Who wrote it, though? Oh, Jermaine. Right. Yeah, yeah, he's a good fellow. Yeah, he has a lot of good content. And how am I not following him on Twitter? Follow. But yeah, go.
That's a really good book actually. I started scanning through it, but it's just TDD, phoenix.com and lots of good stuff. Yeah, I now remember that I have A to do to check it out more closely because. I do, that's my problem. My to do is just open tabs and then like I'm like well I'm not actually going to ever go back to this and then I slowly start closing my tabs because they've been open too long. Yeah. But yeah, this one, it's worthwhile for sure.
And I have the opposite problem like close tabs too fast and then I am like oh damn it what was it? Where was it? Oh I hate when I accidentally close the tab too quick and then you have to like pull up your history and be like, I think it was this one. Yeah, yeah, that's my right. Yeah. For. Yeah, sorry. Go ahead. I was going to say we can probably wrap this up. It was awesome. It was awesome meeting you Peter and just cross posted dot app
looks awesome. Everyone go go check it out. I keep thinking I'm going to like be dyslexic on it and turn it around and tell people the wrong domain but yeah just cross post it dot app and in the show notes I have all of Peter's contact info and give him a follow. I think you prefer blue sky or X, but you're on both of them I believe. Yeah, yeah, Blue Sky and Mastodon are actually like my favorite networks now. OK nice. I've never gone on Mastodon,
I'll have to check it out. Is it same things at short form or what is it? It depends on the instance. Some instances have like very large like limits. Oh, OK, cool, I'll to I'll to check it out. We have a a guy by the name of old coder. Yeah, 72 year old anti social developer who's been flipping bits for 50 years. Well, thanks for tuning in. That's awesome. He could probably teach us quite a bit. But all right, thank you Peter,
and thank you everyone else that tuned in. Have a good weekend everyone testing.
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...