Transcript
00:00:00[Silence]
00:00:21Okay.
00:00:22[Silence]
00:00:27Back.
00:00:28Let's see how quality is now.
00:00:33[Silence]
00:00:43Waiting for people to connect to then see how quality is.
00:00:48[Silence]
00:00:57So I hope.
00:00:58Okay.
00:00:59Good, good.
00:01:01So, yeah.
00:01:02Welcome back everybody.
00:01:03Sorry about that.
00:01:04Not sure what it was.
00:01:06I hope the connection now stays stable.
00:01:11Interestingly enough, bad FPS.
00:01:15Still nope.
00:01:16Oh, okay.
00:01:17Wow.
00:01:18That's a bummer.
00:01:21Yeah, I can try my phone.
00:01:24[Silence]
00:01:28Oh, well.
00:01:30Still lagging.
00:01:31Wait a second.
00:01:33[Silence]
00:01:39See.
00:01:40[Silence]
00:01:51This is all annoying.
00:01:54[Silence]
00:02:13Okay.
00:02:14So let's see.
00:02:18That is annoying.
00:02:25So if you can see or hear me, let me know.
00:02:31If this is better now.
00:02:34It may not be.
00:02:53Am I live is my question.
00:03:04Okay.
00:03:05You can hear me.
00:03:06Video is still lagging.
00:03:08Okay.
00:03:09I switched to my phone now.
00:03:11So totally different network.
00:03:15Yeah, it's weird if it's the webcam feed because I actually, so is this also lagging?
00:03:24The video is lagging.
00:03:25Is it just my face or is it the other part too?
00:03:30The screen.
00:03:35So weird.
00:03:36It's the same setup as always.
00:03:39So it's not the internet connection as it seems.
00:03:43It's better.
00:03:44It's better.
00:03:45Okay.
00:03:46Okay.
00:03:47Thank you.
00:03:48Yeah.
00:03:49Thanks for your patience.
00:03:50This is annoying.
00:03:51Yeah.
00:03:52Let's hope it's good now.
00:03:57Yeah.
00:03:58Okay.
00:03:59Yeah.
00:04:00Let me know if it gets worse or if it is still bad for some of you.
00:04:04The audio is fine.
00:04:05Video is still lagging.
00:04:07Okay.
00:04:08For some it's good.
00:04:09For some it's lagging.
00:04:11So I'm on a different network now.
00:04:13I switched to my phone.
00:04:16So in theory, it shouldn't be a network problem anymore.
00:04:21And the screen cast, I mean, yeah, I mean, in theory, of course, it could be OBS or something,
00:04:28but I haven't changed anything there.
00:04:34The entire video stream is lagging, but it doesn't seem to be the network.
00:04:42Connection.
00:04:44YouTube is showing my connection as good.
00:04:47Whatever that is worth.
00:04:49Good enough, I guess.
00:04:51Some moments is lagging, but mostly okay.
00:04:53Yeah.
00:04:54I'm very sorry about that.
00:04:58Yeah.
00:04:59I'll continue like this for now.
00:05:01Very sorry.
00:05:02I'll investigate this after the stream.
00:05:05Really weird.
00:05:06I switched network and it's still bad.
00:05:09I'll probably update OBS and double check my settings, though it's the same settings I've used for over a year.
00:05:15So, okay.
00:05:17Let's hope for the best.
00:05:18Thank you so much for staying with me.
00:05:21And let me know if it gets worse again.
00:05:24So, yeah.
00:05:26I wanted to talk about BUN.
00:05:29So I don't want to repeat everything and bore you.
00:05:32But BUN, of course, is an alternative to Node.js and they were venture capital funded.
00:05:39And so one problem BUN had was that they needed to earn money, of course.
00:05:44So how do you earn money?
00:05:47Well, one idea many of these companies had or have is that they want to launch some hosting product.
00:05:55And they tried that, too, or I think they wanted to try it.
00:06:00I'm not sure.
00:06:01But then Enfropic acquired BUN.
00:06:03And Enfropic acquired BUN, mostly, I guess, because of this single file executable thing,
00:06:08because with BUN you can compile your TypeScript program to a single file executable which you can run in the terminal, for example.
00:06:16And Cloud Code is just such a program.
00:06:19Cloud Code is a single file executable or it's a BUN program, a TypeScript program in the end,
00:06:25but that uses BUN APIs most likely and that definitely has been compiled to a CLI tool with that single file executable feature.
00:06:35So Enfropic acquired BUN.
00:06:39And that kind of started a different kind of development in BUN.
00:06:45And that is what I find interesting because you would say, OK, BUN, it's a JavaScript runtime, right?
00:06:50It's an alternative to Node.js and that's all good and nice and great to have.
00:06:56But what would you expect from such a Node.js alternative?
00:06:59Well, you would expect Node.js compatibility and you would expect it to keep up with the Node.js developments
00:07:07and then some refinements, some improvements like, for example, better performance, which BUN has always offered.
00:07:14So that is great.
00:07:15And for the most part, BUN is pretty compatible.
00:07:22Do they have a table here?
00:07:25BUN Node.js compatibility.
00:07:29They have pretty good compatibility, just some niche features which aren't fully supported.
00:07:37But generally it's quite decent.
00:07:40But then here's the interesting part.
00:07:42If you take a look at the documentation these days, you will for one find that BUN has some things like built-in SQLite clients,
00:07:51a built-in SQL client, a built-in S3 client, built-in Redis client, which I personally find quite useful.
00:07:59And it has these for quite some time now.
00:08:03And the idea here, of course, is that that makes it easier for you to build a program, to build a web server, for example,
00:08:10that uses SQLite or S3.
00:08:12And I'm using that a lot for a lot of my services.
00:08:15I find that really convenient.
00:08:17But you will also find things like, where is it?
00:08:22The WebView.
00:08:24The WebView here.
00:08:25And that is interesting, in my opinion, because this WebView here is a feature, a BUN API,
00:08:34which you can use in your JavaScript code and your TypeScript code if you're running it with BUN.
00:08:39That allows you to spin up a headless browser and then click around in it and do stuff in it.
00:08:46So essentially what you could be doing with Playwright.
00:08:49Now, Playwright, of course, is an end-to-end testing tool.
00:08:54The main idea behind Playwright is that you can, or the main idea was, I should say, is that you can use it for end-to-end testing.
00:09:04So you can basically write tests to test your website and to test certain user flows and so on.
00:09:13Now with AI, that has kind of shifted.
00:09:15Now Playwright is being used a lot through their MCP server, for example,
00:09:22so that tools like Cloud Code or Codex and so on can test the code they wrote.
00:09:29So an application is building, not an application, Cloud Code is building something like a React app.
00:09:40And in order to test it, it can use something like the Playwright MCP to open up a browser,
00:09:47click around and see if the stuff works the way and looks the way it wants it to work so that you can close the loop, so to say.
00:09:54The agent can verify its output.
00:09:56That's the idea behind stuff like the Playwright MCP.
00:09:59So tools like Playwright have actually shifted a bit from being end-to-end testing tools,
00:10:05which you can still do with them, but from being only that, to being tools that can be leveraged by AI agents to verify their changes.
00:10:15And this is now the interesting part about BUN.
00:10:17And in the chat, Kevin Ury is saying, in my opinion, something like this WebView doesn't belong in a runtime.
00:10:22And that's a very good point because that's the interesting part I also see with BUN.
00:10:29It was a JavaScript runtime.
00:10:32It was primarily useful for building, well, not primarily useful, but one main application was and is that you can use it to build web servers.
00:10:43But now all of a sudden you can build complex applications or CLI tools that can, for example, spin up a web server.
00:10:52And as I just said, one use case is that AI agents can verify their work and they might be doing that through an MCP.
00:11:01But guess what?
00:11:02As I said, it is Anthropic that acquired BUN.
00:11:05And Anthropic owns Claude Code, so it makes sense that suddenly Claude Code has a built in WebView
00:11:13so that Claude Code can open a browser and click around without needing the Playwright MCP or any other MCP that gives it browser use.
00:11:24There might still be certain benefits by using dedicated tools.
00:11:29They may have more features and stuff, but of course, there also is a strong incentive for Anthropic to have features like this built into BUN
00:11:40for obvious reasons, I would say, because that makes it easier for them to build Claude Code.
00:11:45And therefore, it's probably fair to assume that more and more features will end up being built into BUN that you can use in your applications as well,
00:11:59but that are purpose built or specifically optimized for the requirements of Anthropic and AI agents like Claude Code.
00:12:08Now, I'm not sure if that is necessarily bad or a problem because you don't have to use them, but of course, it kind of bloats the API surface.
00:12:19It of course also takes away some of the resources, some of the developers that could be working on the more traditional parts that make up BUN,
00:12:32though of course you could make the argument that with AI there is more capacity, so you can work on more things at the same time,
00:12:39but it's an interesting trend nonetheless. And it's also something you can see in other areas, too.
00:12:45If you take a look at the BUNX account, you can see that they do ship still performance improvements and stuff,
00:12:58but now they also have this here coming up, an API that allows BUN to manipulate images.
00:13:09Now you can do that, of course, with tools like ImageMagick. That's a tool which you can invoke through the CLI.
00:13:21Hello. So you could install a tool like this and use it to transform images programmatically or in the CLI in the end.
00:13:31Now, suddenly something like this will be built into BUN.
00:13:37Again, I don't necessarily think this is bad or a problem, and I'm reading the comments in the chat and I'll get back to that, but again, it's interesting.
00:13:49Now, this feature is maybe something you could use for certain web applications or CLIs,
00:13:56but it's of course also, again, a feature that could be interesting for cloud code,
00:14:01because these agents, they can also generate images and they can also analyze images.
00:14:08So for cloud code to be able to natively resize or crop images could be interesting.
00:14:15And there is more stuff like that. I mean, there also was something related to markdown rendering, if I remember correctly.
00:14:25And there still is plenty of stuff being added that is very likely not built for cloud code, I want to be clear.
00:14:33And I actually like BUN. I also want to be clear about that, but it's still an interesting direction they're taking.
00:14:40Yeah, I'm not finding it, but not too long ago there also was something about markdown rendering in the terminal and how BUN has that built in.
00:14:51So stuff like that.
00:14:55And therefore, long story short, I think we can clearly see that after Anthropic acquired BUN, it is becoming a tool for Anthropic.
00:15:06It's no longer, obviously, no longer an independent runtime.
00:15:13Instead, it is just, yeah, it's still that runtime.
00:15:18And I think, and also from what you can see, they're still taking that seriously, but it's definitely also a tool for Anthropic.
00:15:26And yes, sorry to hear that the video seems to be lagging again.
00:15:30We went through that before, unfortunately switched networks already, not sure what it is.
00:15:36I'll investigate after this livestream. I hope it'll get a bit more stable soon.
00:15:43It was better before.
00:15:46So yeah, now I read in the chat, the only reason I'm clear,
00:15:53Oh, seeing you're on Mac OS that reminded me of video call lags with my colleague every time turned out being low on memory, so he then closes some browser tabs.
00:16:01Oh, that could be it.
00:16:05Yeah, let me close some browser tabs. Maybe that is the magic trick.
00:16:11So close some browser tabs, maybe that will improve it. Thanks so much. If that helps, that's amazing.
00:16:19The only reason I'm glad bun exists is that it makes node move faster. Fair point.
00:16:26Glad to see you hope you're doing a great thing so much for your work.
00:16:33Yeah, but that is in the end, simply what I wanted to share on bun I found that interesting and I think it will be interesting to see in which direction bun will be moving in the future.
00:16:44Because I personally think it is a really great runtime great alternative to node.js I basically built all my projects with bun, simply because of the speed boost and because of useful built in stuff like the SQLite client or the S3 client which means less extra dependencies, which especially now in the time of supply chain attacks is something that that I find quite valuable.
00:17:13Now it's one FPS. Okay, now I closed a bunch of tabs closed a bunch of tools. There isn't much left which I can close to be honest.
00:17:34But now I closed pretty much everything except for OBS.
00:17:43So maybe that will help. So annoying.
00:17:50Poor connection quality again.
00:18:00Let's see if that gets better.
00:18:03What type of database and auth libraries should juniors learn? Postgres and better auth?
00:18:09Yeah, I think Postgres and better auth are good choices there.
00:18:14Why not forking it and integrate the tools they need?
00:18:18Forking bun you mean? Anthropic? Why they don't fork bun? I think they also acquired bun because they didn't want bun to go broke and it's probably valuable for them to have the expertise of the bun team.
00:18:34So the people that built bun continued developing it because even with AI it is of course valuable to have someone who knows the ins and outs of that tool.
00:18:50Yeah, I closed pretty much all Electron apps now. I don't have anything running anymore.
00:19:02So there shouldn't be too much on my system now that's taking up memory. Let me take a look at the activity monitor.
00:19:13Yeah, I mean I have lots of free memory.
00:19:37That should be fine. Got no agents running right now.
00:19:47When you navigate a lot the video starts lagging freezing. I mean the memory issue point really makes a lot of sense. It's just I really killed everything.
00:20:05There isn't much left that is consuming any memory on my system here.
00:20:15So that's the weird part.
00:20:22That is the weird part.
00:20:31Well, yeah, I would love I mean it could be it could be OBS itself. Of course, though. It's only it's not that bad in the activity monitor.
00:20:49No, that all looks fine. I don't know. I don't know. I don't know what is the problem.
00:21:01And OBS has the same settings as always. Is it worth learning bun in order to find a job? I don't think it's it's the website.
00:21:11That would be horrible if it were to bun website.
00:21:17Okay, let me close. I mean this website I had open in other streams to that hopefully isn't a problem.
00:21:26I mean, I can do a stream without showing anything.
00:21:29But yeah, I closed all these tabs now. So let's see.
00:21:38But with that. Let me close tabs on my second screen, but there isn't really a lot open there either.
00:21:57Okay. I've never in my life had so, so few tabs open. No, there aren't there aren't any downloads in the background.
00:22:08No. Is Starlink available in Germany? I think it is. I think it is.
00:22:13But the network seems to be fine. The network seems to be fine, actually.
00:22:17And I switched networks anyway. I switched from the local network to my phone network and had the same problems.
00:22:29That seems to be fine. Interestingly enough, by the way, OBS is showing me absolutely no problems, no dropped frames, nothing.
00:22:39So I have perfect stats here in OBS. But I can see on YouTube that it's showing a poor connection.
00:22:50Which is interesting enough.
00:22:54But I'm out of ideas because really I have not changed anything about my settings here. You could try to ask AI why it's lagging.
00:23:10I guess I could. Let's let's do that. My stream via OBS is lagging.
00:23:26Why? Let's see if AI is any good.
00:23:33No, the second screen should not be the problem. I always have that and I need it. I want to I can't really see the chat if I turn that off or something.
00:23:41It's just my my laptop. And then it's the other screen on which I'm recording.
00:23:48Because one part. Dropped frames. No, I have no dropped frames. Zero skipped frames.
00:24:01Yeah, I don't know.
00:24:09Is the problem the same on on on Twitch, by the way?
00:24:22Seems like YouTube's team wipe code at something.
00:24:28So, yeah, I really I closed everything.
00:24:32It's showing me perfect