文字起こし 🔗
Janko: Hello, hello.
Matija: So, hello, welcome everybody to the first ever episode of broworking space. Why is it called broworking space, Janko?
Janko: Well, because we are, you and I are brothers and twin brothers in fact. So when...
Matija: Wow twin brothers what kind of twin brothers Janko
Janko: Identical twins.
Matija: Wow, what does that mean? I think everybody knows what that means.
Janko: That means that we are the same person, basically.
Matija: Yes. And I'm Matija. I didn't introduce myself. just so that everybody knows, my voice tends to go like this. And it means that everything is fine. It's just what happens sometimes as a byproduct of surgery. That's how you can tell each other's voices apart, by the way. Now you see that my voice is fine. It will go on and off like that so that you can get used to it. But we do share similar voices as well. And we both share similar interests, in web development. But what I do is front end. what do you do?
Janko: I do backend and yeah, or full stack and I work in Rails mostly. Yeah.
Matija: Great, great. I do currently in React a lot, like Node.js development, so kind of things and React and stuff like that.
Janko: I won.
Matija: what do we have in store for you today?
Janko: I first wanted to start off with the fact that I don't like waking up early. I thought that when I finish school, those days are done. And now I have a job that's six hours a day. So I don't have to wake up early. I started at 10, which is great.
Matija: that everybody likes waking up early.
Janko: Yeah, and now I have a three year old daughter and she started going to kindergarten and I didn't realize that means that I also have to wake up early for kindergarten, not only her. So, yeah, newsflash. But yeah, now like what what the hell is this?
Matija: This is a universe pulling of what first one on you.
Janko: Yeah, yeah. And there
Matija: Totally.
Janko: is one other thing I wanted to share before we dive into programming topics.
Matija: Yeah.
Janko: But yesterday at the office at my company, we saw I live in Brno, Czechia. So I forgot to mention that I'm Croatian, we're both Croatians. And Yeah, so in the office, we were having lunch but then one colleague he set up a speaker That was next somewhere like on the window Which just plays random michael jackson sounds so you would be having like a peaceful lunch and then you would just hear And
Matija: That sounds awesome.
Janko: and you will be like Then you will be like where did that come from? And yeah, so that was, I think it was like, after some time it was like, started to get annoying, but it was really quality trolling, I have to say.
Matija: have made respect for that. As Janko said, we're both from Croatia, a country where nobody knows where the heck it is. Everybody knows about Yugoslavia, but lesser known fact is that Yugoslavia doesn't exist anymore.
Janko: I think people know that.
Matija: From the conversation I had with people, I have to make that fact clear.
Janko: But you're right, Thai people don't know that. When I was in Thailand, they were like, is he from Yugoslavia? And I was like, that doesn't exist anymore. And he was like, yeah,
Matija: Yeah.
Janko: the news didn't reach there.
Matija: Yeah, yeah. And so we're from Croatia, but we are split apart because Janko decided to screw me over and get married and have children and move away. so now, but then we decided to try this to have a podcast. And this is what we will try to do together now. And I'm very stoked about it now. one thing about twins is that we do think alike in some ways. So that is true. But we don't have telepathy. don't finish each other's...
Janko: Yeah, we don't.
Matija: Yeah, you see, you see, it didn't happen. So it doesn't work. But let's get into the meat and potatoes of this episode. Git git the,
Janko: Git
Matija: yeah, let's get into it. Git is somewhat of a tool that is very efficient, but people don't really want to use it directly. And I was wondering why that was. I was wondering so much that I researched articles. mean, by researched, I mean just looked up. the articles of people who don't like it. And my understanding was that people don't like the API. And I didn't know what that means because the API isn't some lesser known API where there is a hyphen L and you don't know what that L stands for. In the Git CLI, there are There are short, short hands like that, but there is usually there, is, an entire documentation written right into the CLI. So I didn't really know what it means that, that Git CLI has a bad API. The API keeps improving by the way, for example, Git checkout, a very powerful and too powerful command, which can do all sorts of things like erase all of your changes and change and switch over to other branches, like two completely unrelated functions now split off into Git restore and that does the unstaged changes and switching and Git switch. which switches you to another branch. So that was a good thing. the AI keeps improving. But I was wondering so much that I wrote a four-piece series on the topic of Git, which I have to give myself credit, is one of the least... read articles on my blog. I, I, nobody reads.
Janko: Congratulations.
Matija: I thank you so much, Janko I know that you're clapping inside. nobody reads, reads those, those, those posts, like they read, they read the posts about Jest Jest mocking, like nobody likes testing and they read that so much more. than the git CLI posts. So I have no idea what...
Janko: They would be... They were like going and seeing your series of posts and man, four-parter, I don't wanna learn, git CLI
Matija: I think that's partially what happened, but also what happened is like, git CLI. Yeah, yeah. I'm just going to use my GUI.
Janko: in terms of new CLI commands, I really like the new Git history family, where you can, for example, amend the commit without changing the worktree, or you can, I think you can even drop a commit from history and
Load full transcript
it will do the auto-rebasing for you. and I was recently at at the Ruby conference in Brno, Uruco, which was excellent. And I attended a JJ workshop. And JJ is aimed to be like it uses Git storage. So it's Git compatible. You can both push, you can use JJ locally and push to a Git repo on GitHub. But it bolstered itself. as having a nicer, a more like user-friendly interface. But what I see is that the new Git commands are kind of converging a bit to the JJ interface. So I don't think that with all of, with how like, how many Git releases we have, I don't think that this will stay. an advantage of JJ or Jujutsu for a long time. But yeah, I like those commands that are a mixture of a combination of old commands that I would have to do manually. so yeah, Git
Matija: I see.
Janko: history is interesting.
Matija: I see. didn't know about JJ. This is one of those things that I kept hearing about, I didn't get into it.
Janko: And that was exactly like so in that workshop, I was like, everybody's talking about like, whenever there is there was a new Zed release of the Zed editor that we both use. Then everybody was like, when will JJ support come? And I was like, this is now an opportunity at the conference to actually learn a bit more. And it was... presented by Andre Arco, which is the creator of Bundler, the famous, like, for managing Ruby gems, which is like
Matija: Yeah.
Janko: a rock star in the Ruby community. And it was like, I think it was great. And he's like presenting at conferences, like presenting Jujutsu. But I was like, I realized I don't have space to rethink the version control. Because
Matija: Yeah.
Janko: even though it's Git, it's still Git under the hood, it's a different mental model. Yeah, but I don't want to like hijack the conversation. I just wanted to say that I realized that I'm not ready to change the mindset that I'm fine with Git as it is. I'm eagerly watching the new changes being added.
Matija: Yeah, the Zed folks from the Zed editor built also Delta on top of Git, which tracks your changes, more of your changes, as I think as a form of conversation. And you can kind of roll back your changes. through the conversation that you had with your, I guess, either with your colleagues or your AI agent, whoever you're talking with. And that's the sort of version control that is built atop of Git. But I don't know enough about it to talk more about it. But that's also the sort of thing that I... I didn't really want to rethink much. Wasn't ready because I got so comfortable with Git.
Janko: so when I used Git CLI a lot when I was still using Vim and yeah, I never ended up switching to Neovim properly. Like I tried it and everything. And
Matija: Yeah.
Janko: then Zed came along and I never like got into VS Code or Atom, but Zed felt different. and I liked its minimal UI and how fast it was and everything. So, and then when it added a lot of the Git support in the UI, I found myself using the Git CLI less and less. And also with the fact that my agent can now performs Git commands for me. So, I rarely reach for... the CLI anymore now. But yeah, I really like how far the Git integration in Zed has evolved. I mean, it's probably something VS Code users are used to, but yeah, it seems like for me it's really enough now to... Yeah, also
Matija: I see.
Janko: with the blame and being able to recurse into the blame. down, or traverse commits in the blame view. That's something I still use the GitHub UI for and now it's built into Zed.
Matija: There are some like this is where two of us diverge by the way, where I still like to reach for Git CLI because it's just there. And I feel like nothing from Git GUI can replace that. mean, things from the IDE are not, I think not really considered UI, even though they are part of UI. They're just considered shorthands. They're separate apps for Git GUIs. But I forgot their names. But I know that they're there because somebody told me when I was advocating for usage of Git CLI, somebody told me that I wouldn't pry the... that Git GUI from their cold dead hands. So there was a message received. Strong
Janko: The strong stance.
Matija: statement right there. But can you show me something? And I want to show you the power of Git CLI. Can you, for example, how would I say, can you clone my site?
Janko: So I will go to clones and clone silvenon silvenon.com, right?
Matija: Yeah.
Janko: So yeah.
Matija: Can you open it? Maybe look for... Is there a lefthook YAML there?
Janko: Yeah.
Matija: Yeah, okay. So it's currently using biome check. Can you see what was there before biome check?
Janko: Yeah, so I now open the site panel in Zed for git blame. And then I can just, I can do a right click and then there are blame revision or blame previous revision buttons.
Matija: Mm-hmm.
Janko: So that's similar to how you can traverse in the GitHub UI. You can just have it open
Matija: Yeah, this is.
Janko: a previous version of the file and then blame that.
Matija: This is familiar to everyone because you're jumping through line changes because biome check now moved to somewhere else, but there is still biome check But what was there before biome check?
Janko: Before biome check, okay, let's I will
Matija: Yeah.
Janko: click blame previous revision again. It was.
Matija: Okay, ESLint.fix. You got there fast, but
Janko: Hmm.
Matija: there could have been if this was a file and you were tracking how some function got there, it could have been a lot longer jump. Can you open your CLI?
Janko: Yeah.
Matija: Git log. P dash P dash capital S.
Janko: Mm-hmm.
Matija: and open quotes and a biome check.
Janko: Like this?
Matija: And then the name of the file, can preface it with dash dash.
Janko: Aha, dash dash? Okay. Like this? Okay.
Matija: Yeah, I think that's safer. Yeah.
Janko: wow. that's so it. It caught. Mm hmm. Yeah.
Matija: What this does is it checks for commits where biome check got either removed or added to this file.
Janko: No. That's so it traverses
multiple commits. So for example, if biome check was there, but it just that line got new CLI arguments or the CLI arguments changed, then the CLI will skip those, right? And it will tell you when the actual string, like well, the actual substring biome check changed, which is, yeah. Definitely something you can't do from Zed.
Matija: it's kind of interesting to do. The dash capital S answers the question, why is this there? When was this added? And it answers those kinds of big questions. And for me, it's powerful because Git history tells a story and a story that sometimes not even your colleagues can answer, but sometimes not even you. because you forgot why you added something.
Janko: Mm-hmm.
Matija: I don't know if you remember why you added something four months ago, but I sometimes don't. people sometimes
Janko: No, I sometimes...
Matija: write sloppy history, but the patch, the diff tells us certain story. Yeah.
Janko: Yeah, sometimes when I say like, who wrote this? And then I sometimes identify that it was me a couple of years ago. Yeah.
Matija: My sounds familiar.
Janko: Yeah.
Matija: So what are you, one interesting addition to that has taken Git by storm is a Git worktrees And I'll let you take this over because I'm not an avid user of Git worktrees yet. I would like to use them much, but not yet. Would you like to introduce me
Janko: Sure.
Matija: to this concept?
Janko: Yeah, sure. So I'll share my screen again and I'll for people who are just for people who are just listening, I will tell I will explain what I'm doing. So it should still be interesting. So I will open the Zed editor from my Rodauth Rails project, which is the Rails integration for the Rodauth authentication framework. in Ruby. And so let's say that I want to like work on a new feature and I'm now on the main worktree and worktrees are basically like checkouts. So I could create a copy of my codebase somewhere else, but that copy is still linked to my Git repo. So I will say okay, create new worktree based on main. And then Zed is like, okay, creating a worktree. And it created the copy of my codebase somewhere on disk. And what's cool about it is that when I actually started using Git worktrees, and I think that they existed for far longer than agents, than AI. is that now I can have multiple AI agents working in parallel on different worktrees. So I can say, I can spawn an agent on the new worktree that I created. And I will say like, I could say, give me ideas on how to make this integration more Rails like. and then it can start working on it. I gave it a prompt that it won't make any edits, so that was not a great example. But now I can then switch back to my main worktree, and it's just a switcher in the UI. And then I can spawn a new agent. in the main worktree and I can say, don't know, test whether it's still compatible with Rails main, for example, like the Rails 8.2 is soon to be released and then maybe I want to check if there are no breaky changes there that where I want to... update my integration ahead of time. So, okay, this prompt will also not make any code modifications. But the point is that now I have like two parallel agents within Zed that are working off of different worktrees. So they're not, they won't be stepping on each other's toes. And then I can tie a worktree, of course, to a Git branch. So I can say, don't know, on the new work that I created, can say like, "rails-like", I can name that branch. And then once I'm done with it,
Matija: You can, you just created a branch called the "rails-like" right off of, off of
Janko: Yeah, yeah.
Matija: mas– off of main.
Janko: I know I so I'm now on the other worktree and I just tied created the "rails-like" branch and then I tied it to that worktree. So I just basically gave it a branch name before it didn't have a branch assigned.
Matija: but that worktree was it based off of main.
Janko: That was based off of a main, yes.
Matija: Okay, yeah, that was my question.
Janko: So, I created, when I'm done with editing, then I can just delete the worktree. I can delete the physical copy of my code based from disk, but the branch will still stay. The code will still stay. So that's when I'm done with editing and I don't need a separate copy. And what's useful there when you're creating worktrees, it is to set up some automation. which will automatically copy your, I don't know, your secret file, I don't know, .env file or node_modules or whatever. So that, yeah, so that you don't have to set the top in the new worktree every time because creating a new worktree will only copy the files that are in the version control. It will not copy the files that are not from the main worktree. So yeah, Zed has hooks for that.
Matija: I noticed that agents tend to make lately more worktrees for various changes more often. I was just wondering how they know what to copy, what is necessary. I guess the .env file is their go-to thing to copy.
Janko: Yeah, I think they quickly figure out or maybe they try to run something and something is missing. But yeah, my Claude Code started doing that as well. I didn't previously to do it only when I explicitly told it to create a worktree.
Matija: I see
Janko: What I really like about Zed's parallel agents and worktree support is that I don't need to use anything like Herder or I think Conductor is another also famous like there are this couple of these terminal emulators which are specifically designed for parallel agents and I think that they have worktree support built in but I like that here I can just do it all from Zed and I can stay there in the editor.
Matija: I see, you had to use different apps to have parallel agents before or you didn't but you knew about them.
Janko: I tried, yeah, I used them. There is one app from Aaron Francis and it's called, how is it called? I forgot, but it was pretty good. it had basically, had all of these like, it's a meta harness. So it's like, it doesn't replace like the
Claude Code CLI, but it just adds on top of like managing agents or also processes. And it also has, think, I'm not sure if it has worktree support, but that was something that I used. and tried before Zed added the parallel agent support. So now I don't need any other tool other than my editor. Solo,
Matija: Is it maybe Solo or Superset?
Janko: yeah, exactly. I'm ashamed that I forgot, but yes, it's It's
Matija: It's okay. I'm here.
Janko: solotherm.com. and Aaron Francis
Matija: Mm-hmm.
Janko: is amazing. So, yeah, definitely check it out.
Matija: Good. When I said that I haven't got around to using it yet, I kind of lied. I used it in a very... in a very measured way when I wanted to do some very aggressive refactor. And I didn't want to constantly switch between my branches over and back and everything because that forces me to either stash all of my changes and or commit them when I'm not ready or even change my environment variables back and forth, which is not sustainable when doing back and forth. And I wanted this worktree to just be there and then I'll come back and then we'll do more. and I wanted the main worktree to be there for the stable things. And I wanted this refactor worktree to be here. And that's what I found it most useful for like a manual usage. So...
Janko: So you basically used the Git worktrees before they were cool. You used it before at the olden
Matija: No, after they were cool.
Janko: times when we still typed code by hand. So you actually used it.
Matija: I but I did use them via Git CLI. I'm sorry to say I didn't click all the buttons like you did.
Janko: Mm-hmm.
Matija: I actually go to the terminal and type git workspace. I don't know if you could handle it. I have
Janko: No, I don't think, yeah.
Matija: a Jack Nicholson impression now. Yeah.
Janko: Yeah, I don't think I would always... I tried a couple of times and I could never remember the commands. And I was like, wait, I have to choose where to create the worktree. There are so many decisions.
Matija: But I did place them outside of my repo. I noticed that both Delta, Delta also uses worktrees, I think, and maybe Claude, sometimes if given under certain circumstances, Claude Code, I mean, places them inside. Sorry?
Janko: You can also tell it to create a worktree. No, sorry, you could also tell it to create a worktree, Claude Code yeah, if you
Matija: Yeah.
Janko: want to explicitly to create it.
Matija: yeah, then if you maybe tell it to create a worksheet, it will maybe create it inside the project. And this
Janko: Yeah.
Matija: created problems for me because I had to not only ignore it by git, but I had to ignore it in my formatter, in my linter, in my TypeScript config, in my tests. And I think... I think that's about it. But then Delta came along, then I had to do the same thing for Delta. And I was wondering, is this the right place to put them? If I had to repeat the same steps for every new tool and you had a different tech. I get the appeal because it's very self-contained. It's inside the worktrees are inside the project. So what better place to put them than inside the project? But if it takes such effort to ignore them, guess I'm wondering. I guess it depends on the setup as well, on the stack.
Janko: I love that when Claude Code added worktree support, then you started using it and you were like, Jesus, like all of the configuration of my tools that I need to do so that having worktrees being created inside the project directory so that it works so that the linter is not linting two copies of the codebase at the same time. And then Zed added worktree support and it did it the way that you liked, which is creating the worktree outside of the project directory. And then now you're playing with Delta, which was also created by the Zed team. But then there they decided to create it inside the project again. Like, not all over again. So I
Matija: Yeah.
Janko: was lucky to stay in the Zed support, so maybe I would have issues now also with some linting, but I like that Zed creates them outside of the project directory and honestly I like when I don't have to think about it.
Matija: In Delta, I think that they added it because Git, .git is inside of your project. So they added for the same reason, because Delta is not only workspaces. So that's the reason workspace is just one tiny piece. It contains our... entire history in some way. I didn't really look what it's inside of .delta. I think I would really understand, but it doesn't really hurt to look. I don't really
Janko: So.
Matija: want to give Delta a bad rep because I barely scratched the surface.
Janko: Yeah, we're focusing on just one tiny detail, which is probably configurable. So yeah, I think we can maybe talk about Delta in a future episode if you like. I wanted to
Matija: Yeah. So yeah, this, yeah.
Janko: Maybe I was thinking that maybe I wanted to share some two tips that I found or that they came to when working with parallel agents.
Matija: Absolutely.
Janko: Which is basically, so yes, so worktrees, they are like essential when you want two agents to write. two parallel agents to write to your code. So then the worktree isolation is important. But once you were using worktrees, then what happens is two parallel agents try to run the test suite at the same time. So if you have a backend codebase with a test database, then two parallel agents will try to tests in parallel concurrently, but against the same test database. So then there will be like race conditions, then they would be like overriding
Matija: that sounds exciting.
Janko: each other's data. So there are, found for my purposes, I found two solutions for that. So I think you have two options. Either one option that I used before. was it a test database isolation, like worktree aware test database names. So basically, Git allows you to read some of its files about worktrees and map them to a number. So if you create a worktree, then that would get the numbers
zero. And a new worktree would get the number one. And every time you delete or add new worktrees, they will just reuse that same scale, 0, 1, 2. And you can append that to the name of your database. So it will
Matija: Mmm.
Janko: be like, don't know, if my app underscore test underscore 0. And basically, because the test database is being like, rewritten or reverted at the start of every test run, then it shouldn't leak from a test run from one worktree that happened yesterday shouldn't leak into a test run from today's worktree. And so that's one solution is to allow concurrent test runs, but isolate the databases, whether using Postgres, or like relational database, Redis also needs to be isolated, anything. And that works. I found in my new job that that works if you're not relying on your cores. So if you're running tests in a single core, then parallel test runs are absolutely doable. But if you're relying on your multiple cores, for the test run to finish if you're parallelizing your tests, then you kind of like are already using all of the available cores from one test run so that it finishes in reasonable time. And then they aren't really like available cores for a concurrent, for another agent to also run. parallel test. So if I have 10 cores and I decided, okay, I will have my test run use five cores and I still want the other five cores for like the system processes so that my computer doesn't slow down to hold or like for a database or Chrome or whatever. And then, yeah, then the other agent can just like use the remaining. five cores, then you don't have anything else for your system processes. So what I did there, and I can show that, what I did there
Matija: Yeah.
Janko: was that I actually just prevented concurrent test runs. instead, so I'll open my project. So instead of having, instead of agents having to figure out from deadlocks or something, that there is another Claude Code session, like also running tests. What I would do is that, so this is in my current project in the company that I worked on. But basically I took a file system lock at the beginning of the test run. And then when another agent tries to run tests, then it will be greeted with like explicit error message like, another test run is in progress, wait until it finishes. And that, I think that can make agents like quickly realize that, okay, no, the test run is like occupied, so I'll wait for it. And then maybe like, it just knows immediately should wait. And I think that then they can still work in parallel and they're only like, have to synchronize on the test run, which I think is the minority of the time the agent spends doing stuff. yeah,
Matija: Yeah.
Janko: so that's what I came up with here.
Matija: Wow, that's... yeah, your flock sounds familiar to me because the lefthook is... because it also does parallelization. It's a bash command, shell command, that also kind of holds it in order for the two processes not to deal with the same... to not work on
the same thing in order to wait for each other so that they don't write on the same file at the same time.
Janko: Mm-hmm. Mm-hmm. Yeah, so in summary, you either allow concurrent test runs, but isolate the databases and eliminate the cores, or you prevent concurrent test runs cleanly. So that was, that were my two tips for handling that.
Matija: I see. This, what you were talking about and you showed me, reminded me of how I handled something else. I'm not sure if it's really... If it's comparable, you'll let me know. in my case, the tests ran, but in parallel. But they both dealt with the database and they ran the output at the same place. So I made them run based on, I named the directory based on the worker index. So the
Janko: Interesting.
Matija: worker that was each worker that ran in parallel had an index attached to it. So all of the workers ran, wrote in their own place. I don't know if that was the best way to deal with it, but it was a way to dealt with the parallelization error that I have.
Janko: You're talking about when you run test in parallel and then the interleaved output is confusing, where?
Matija: Because the tests were storing the data in some
Janko: Mm-hmm.
Matija: way.
Janko: Like to a database.
Matija: I'm not sure if it ended up being a database anymore, but it used to be. But I think at the end, it just wrote a file system.
Janko: Mm-hmm.
Matija: So that's what I ended up using. I just had this for the first time, this parallelization, I guess what I would call a flaky test. And I didn't know what to do at the time because it was the first time I encountered such a thing. But in my case, It was actually database, yes. I had to create
Janko: Mm-hmm.
Matija: multiple users and delete multiple users, keep track of those users and delete multiple users based on the worker index. I couldn't handle with the same user for some reason. because the parallelization would delete the user
Janko: Yeah.
Matija: that the previous worker was dealing with. So
Janko: Yeah.
Matija: I had to create multiple users for multiple workers, if that makes sense.
Janko: So that's interesting. So you ended up using a shared database, but you probably had some like multi-tenancy setup, like based on worker IDs, right? So that kind of the data is scoped to a given worker based on its worker ID. Yeah, so that's an interesting solution.
Matija: Yeah, I'm not sure if it was the right, the best way. I'm not, this is kind of your area of expertise, but it was a way to deal with it because I was building an app for myself or dealing with for tracking medicine for myself. Because as it turns out, if you... take a lot of medicine, you, it's, it's just hard to like, know, okay, how much medicine do I have to take? When does it run out? And I just didn't want to deal with that. So I, I built myself and then I use Prisma, an ORM. And then I realized, yeah, I can, I can do this database. Then Prisma will do the database for me. Right. But then I ended up running into database problems because I was using a database because that's so unexpected,
Janko: Surprise, surprise.
Matija: right? I did this to kind
Janko: Yeah, I mean
Matija: of save myself because it was a necessity for me. I didn't even deploy it anywhere. It's like a local thing, it only operates on localhost. And that's it.
Janko: Yeah, local SQLite, right?
Matija: Local SQLite, yeah. And yeah, but but it's pretty fascinating how much the pill apps available suck.
Janko: still?
Matija: I mean, I don't know if it's still, but at the time that I was building one, was just not good enough, not nearly. And even the native ones, the ones that come with iOS, was just, what even is this? Where is this going?
Janko: Yours is a progressive web app, right? That you can install.
Matija: I mean, it could be. That's kind of the wall I hit because I wanted to have like push notifications because without push notifications there really is no such app that I could deploy for others to use but Safari and maybe other apps. But I think mainly. or solely mobile Safari is very possessive about what gets to send push notifications. So I think it had to be a progressive web app because Safari is otherwise like really like, no, I want only some apps to send me notifications, like really, really particular apps. Can this app send me notifications? No. This one? No. So none of the apps. Yeah. None of the apps. Okay. So none of the apps. I didn't really
Janko: I like
Matija: get clear whether there was some kind of leeway in the meantime on the push notification area on Safari. But I really needed those because I really needed the app to tell me. you need to, you need to, you, need to take this medicine out. running out of it or something like that. because, and I didn't want to build mobile apps, but I kind of feel like I had to because, because I couldn't really have a good experience push notifications aside. I need to have the better user experience from it if I would be able to deploy this for others to use. But I didn't want to get into this. didn't have the skill set. I didn't want to employ the skill set. And so I just kept it for myself because I needed it for myself anyway.
Janko: I am, here I am.
Matija: And then AI came and then it kind of disrupted everything.
Janko: I am using a progressive web app. It's called Campfire and it was extracted from Basecamp. And it's just a chat like in Rails. And I found that the push notifications, they work well. I don't know what they needed to do to set it up. Maybe.
Matija: I guess, I guess being a progressive app is enough.
Janko: Yeah, so actually that works quite nicely. But yeah, maybe like your UI is more like high fidelity calendars and stuff. So it's more interactive. But yeah, but now you can have AI build an Xcode clone of your web app, which is basically what I understood that 37signals did. where they had a hey.com, an email client and a calendar. And it was a hot or is still a Hotwire native app, which basically allowed it to have a web app that runs on iOS, Android and on macOS and Windows, basically using a shared codebase. for people who are not familiar with Rails. So Hotwire Native is maybe no more similar to React Native, but it also, yeah, yeah. So it's specialized, yeah, shared codebase for iOS and Android. But now they realized that it doesn't, that with AI agents, that maintaining parallel code bases is now practical. that agents are good at rebuilding clones or maintaining feature parity between iOS and Android apps. So they now have six code bases, I think. One is web, iOS, Android, macOS Windows, and probably Linux. So that means that if they can maintain six code bases, then you can maintain two, or like you can have AI like rebuild.
Matija: But, but Hey kind of, but Hey didn't like have the performance I wanted the UI, the UX I wanted.
Janko: Yeah.
Matija: But I get your point. I could, have coded my app in a stack that is completely unfamiliar to me. in every possible way. I
Janko: Yeah.
Matija: get the appeal of that. But thanks. Yeah.
Janko: Okay, I don't know why that feels like out of the comfort zone. it's that you are able to actually understand what you're building. Like that's, you know, we don't have to look at the code anymore.
Matija: Yeah.
Janko: yeah, that's what some people say. Some high profile people.
Matija: Yeah, no, yeah.
Janko: haha
Matija: Yeah, so it feels to me like we could end it here.
Janko: Yeah, yeah, I'm down with wrapping it up here,
Matija: Yeah.
Janko: Seems like we talked, yeah, we talked in detail, like what we, the main topics and yeah.
Matija: Yeah, it was nice to chat about, mainly about Git, and about other stuff, and to introduce ourselves to people and... and I hope many more episodes to come.
Janko: I think it's now it's time for us to get out of here. I had to. I had to.