Stream didn't have audio, now they will. Alright, anyone have any other PRs they want to get merged? Does the stream have any PRs they want to get merged? The way we're doing it is we're just calling out the number. Let's see what the stream says. Chat, what PR do you want to get merged? Alright, chat. Already merged. I think we did four... I think four PRs yesterday. We're up to three today. Let's see here. Yeah, the GDM one. Some idea stuff. And one more. Let's see if I can hide the video because it's... there we go. We'll see that. Any PRs the room wants merged? Otherwise we'll defer to the stream. Alright, we got one. 430558 from the stream. Let's look at this one. MatrixAlertManager from Aerothon. Thank you, Aerothon. Let's check CI. Alright, CI looks good. Let's check the diff. Apologies, we didn't have audio. We have a limited number of AV folks. This looks actually incredibly trivial. We can't NixPackagesReview on stream because we have a shallow checkout of NixPackages because of DEF CON Wi-Fi. So what we've just been doing, or what I've just been doing is I've just been doing either GetFetch or just manually applying patches. We're just going to manually apply the patch. Let's build on Air64, actually. Let's mix it up. This is Genos, which is, if you look at this one, it's got 128 cores, 128 gigs of RAM. I mean, I'll pull all these up. This one's 128 cores, 128 gigs of RAM. Big Xam, this is our System76. Note how it doesn't actually show all the CPUs, it just shows average. 512 gigs of RAM and a terabyte of swap because we had mismatches in our SSD size. I think, let's see what VTOP displays. Yeah, there we go. I mean, it doesn't even... Yeah, see, that's all the CPUs. 120, let's see... 192 cores, actually, on that System76. All right, we're going to do this on our... Should I do this on Genos? Yeah, let's do this on Genos. All right. Let's see, all right. All right, looks like we've got, actually, two PRs queued up. I was probably going to do this in the unconference, too, because it's fun. So, I've just been doing this, just grab the patch, basically. And, I mean, yep, this is the same thing. Let's see, which attribute is this? Matrix Alert Manager, all right. NOM, Build... We actually have all of Unstable, and... 2505, all right, so I see a Matrix Alert Manager. All right, another one, 400653. Yeah, for chat, we have 10 minutes left in this before we get to some more talks, but if we have time this afternoon in the unconference, we might continue doing this. All right, 400653. It's the MK Studio. Looks like there are two patches. That seemed pretty trivial. We're actually, let's see here, oh yeah, here we go. There's a patch on this one. This patch does not look trivial. And this looks like a pretty standard Rust package. And then we're knopping out some NPM during the build. Deleting a download page. And yeah, this looks pretty standard. Looks like it's Nix for our memory, so thank you for that. There's that diff. Okay, so we add resolve and integrity. So, interesting thing that we can do. We don't necessarily have to do it. There is a, let's see here. There is a way to actually fix NPM locks just automatically as part of the fetching, I'm pretty sure. We can definitely merge this now though. I think this is fine. But the, let me see if I can find an example. There's a, let me see here. Search.NixOS. MatrixAlertManager is building. We actually do this in Mattermost because we build the web app in Mattermost. Let me see if I can pull up the code that fixes this. So, yeah. I mean, we have, this is VendorHash and NPMDepthHash. Very similar. This is a Node frontend project. If you go to Mattermost. Let me find it here. So, we build the whole frontend. Yeah, so the one, okay. So, let's see here. I missed it. Right, yeah. So, we have a postFetch, basically. And it does all this kind of nonsense to chain, like, fix things in the lock file too. But there's this NPMLockFileFix package, basically, that you can run as a postFetch. And that will effectively do exactly what, kind of, it'll add the resolve and integrity, basically, if it's not already there. And because it's a fixed output derivation, you always get a consistent hash. So, that's actually a way to do this without doing a patch. You can just run. It's literally NPMLockFileFix. Yeah, it's this one right here. Add missing integrity and resolve field to a package lock.json file. Great example of things being difficult to discover without happening to know, like, exact other packages that need this stuff. However, we can merge this. Let's see what chat says. All right, chat doesn't say anything. We can still merge this. Let's see where... Come on. There we go. All right. I will actually grab the patch. Actually, here's my recommendation to... Who was this last one? Toma, on stream. What you can do with this one... Let me actually just comment on it. I don't think we actually need this big patch file. What we can do, instead of this... Let me just link this here. So, yeah, this is on live.nix.vegas. Actually, yeah, that's probably true. We probably need to add it. We tweeted it out. I think it might be pinned or something. But, yeah, it's not on nix.vegas, I don't think. All right. Let's... Let's see here. So, yeah, basically, we can add a post patch that just uses this npm lock file fix. I'm going to actually link an example here. So... I'm just going to comment that... Here's an example. All right. So... I'm just going to comment on that. Yeah, and we'll get this merged at some point. But that will actually remove the need for this patch. I think it will... Let's see here. npm deps... Because this inherits from source. And because source will have a post patch after the patch from GitHub, it should just kind of work. So... So, yeah. All right. Let's see the matrix alert manager one that everything wants merged. Oh, yeah. It's doing this thing that it did. So, for some reason, there's, like, some npm thing going on on Air64 where it doesn't always fetch. Or, rather, it doesn't always... Like, npm hangs or something. However... I'm just going to... I'm just going to reset dash dash hard. Add. Clean. I'm just going to do the same thing here. Oops. Patch. build-matrix alert manager. I saw this with another package. It's not just this one. Where npm deps will get stuck in build phase on Arm64. But, yeah, let's just see if this... Looks fine on x86. Yeah, there we go. Alright. Looks like it works. And I assume this is just because this is not configured, but it looks like it's at least building. So this one looks good. Very trivial one. Yeah, so this is the mkstudio one. We can merge later, but yeah, I would just use the lock file fix. So I will actually... I'll actually request changes. Alright, cool. Yeah, once you do that I'll merge it afterwards, but thanks for your contribution. Alright, we got like five minutes. Any other PRs? No worries? Yeah, we merged four PRs yesterday. I think we're up to possibly either four or five today. Yeah, doing... I would like to do more, like, someone commented that the... What's the point of having a live camera feed if we have to turn it off between segments? And I mean, it's just DefCon rules, basically. We would like to have some sort of chat participation because that's cool. The thing is, yeah, there's rules about if some random person walks in front of it, they may not be consenting to be recorded, and that whole thing. We actually have to tape up a sign on the camera that says, like, for speaker recording only because that's just the rules, basically. But yeah, we'd like to get more chat involvement. Also, the good point that we didn't link it on Nix.Vegas although we did tweet it out, so we'll probably add that to the site in a PR pretty soon. Alright, any other PRs y'all want merged? Chat or room? In the meantime, yeah, we can check all the hardware specs for these various machines. So we have four machines here. We have Big Zam, which is our System76. It's running POSNIC, actually. 512 gigs of RAM, 192 cores. This thing churns through builds like crazy. Then we have Genos, which is... these are named after One Punch Man characters, actually. 128 cores, 128 gigs of RAM. And then this looks like the same thing, because it's almost the same machine, Tatsumaki. And then, do I not have... Let's see here, Tatsumaki... Let's go into Genos, because again, I'm on the attendee network, and I'm trying to get back into the NOC, so I'm not safe from the link. 21... That's Genos. I was actually on there already. What I wanted is Saitama. There we go, alright. 21222 And then this is... there we go. This is Saitama, this is our primary cache server. So this thing, same thing, 128 cores, only 64 gigs of RAM, but this one's actually kind of fun. So this has... Yeah, like, 3.5 terabytes of Nix packages on it, but that's after being deduped and compressed. If I do zpool status dash d... There we go. You can see it's actually, like, logically, effectively into... 8 terabytes, logical. I think it's more like 5. Let me see if I can find that, though. zpool list... What did I find out here? zpool status dash l... Oh yeah, here it is. Yeah, lsize allocated, it's like 5 terabytes basically, referenced 8 terabytes, so it's like 8 terabytes referenced basically effectively means that's, like, the amount of data then, like, allocated, which is physically how much we have, it's like 5 terabytes. So... Actually, that's the logical size, not... This is the physical size, which is much smaller given the fact that we are using zstandard. But yeah, we got... Here's it. Harmonia, which is the enix cap server running on these things, and then nginx proxy in front of that. Does github have a random open tr button? Well, you know, we can... I think there's one. Actually, let's see what our schedule is. We'll make sure we're not pinging on somewhere else. All right, it's Britinstall. All right, so I think that's it for maybe a few hybrid failures. Yeah, this is it for today. Thanks for tuning in, and yeah, we'll keep going as long as the stream cooperates. All right, it's time for more PR merging. Let's see if chat has any PRs they want merged. Check, check, check. All right, chat. I think it's PR merging time. All right, I'll also put it out to you guys, of course. If you guys have any PRs you want merged, call them out. Call them out by number, or call them out by keyword, or you can search in nginx packages, PRs, but just let me know, and we'll start merging stuff. Well, after testing, of course. This is ZMK Studio PR, which we just had. We requested changes because we don't actually have to patch this package to change the lockfile. There's actually a fix called ntm-lockfile-fix. It's a package in nginx packages that will just automatically compute the integrity hashes for everything. You can do it as part of a post -fetch step, and it will automatically fix a package, lock .json, to a limited extent. What's up? So how that works is it will basically do the ntm dependency resolution step as part of the final step of the fetch. So because fetch is a fixed output derivation, meaning it always has the same hash, you will get a consistent fetch. So if something changes, the hash will change, and you'll no longer get a consistent fetch. So it just... So post-fetch is part of fetch? Post-fetch is part of fetch, yes. And there must be a hash, right? Yeah, you still specify the output hash, but post-fetch can affect that hash. So you can use that, for instance, we use that in fetch-patch. Yeah, this is like how we massage the patch. Yeah, exactly. So you can do normalization of patches using fetch-patch, like you can say, omit these chunks, or like, I don't know, revert... the classic one is like you can change the patch to be a revert of a patch, basically. And that actually will affect the output hash of the fetch-patch, because that is done as part of that fetch-patch. So we put this in the fetch from the get? Correct, yeah. Yeah, post-fetch works on a bunch of fetchers. Good example, so here's actually the Mattermost, which is a chat program, it's kind of like a self-hosted slack. And I'll just zoom in. We do a bunch of weird things with jq in the package lock, because we have to effectively... they have their package lock broken in other ways, so fix-npm-deps doesn't fix everything, it just adds hash and the source, basically. But you see, we just do lib.get.exe on npm lock file fix, and then it just applies that in place, basically. We already have this .fix.json because we do a bunch of other nonsense to it. That's another good point, is basically, if there's not dependencies locked, the thing is, I think we have this, because not all projects actually have integrity in their package lock. Oh, really? So, basically, npm is sometimes screwed up, which is not surprising. Actually, yes. So... effectively massaging vendor deps, basically, before that hash is computed. Yes, actually, and I think we do that in Mattermost as well. Yeah, so there's this overrideModAtters, which is a function that basically acts as an override atter. That's fine. I think it's generally when people get close to the speaker, it reflects back. No worries. The overrideModAtters, I think, is just basically Nix packages has a lot of magic, and overrideModAtters with Go packages is one of those pieces of magic. It's just, effectively, lets you do an override atters on a Go module fetch. You see it takes a function. We don't care about the argument, so it's an underscore. All it does is we just assign a custom build phase that does this Go work vendor thing, because Mattermost uses Go's workspaces, and really, Go's workspaces are pretty infrequently used, and so we need a custom step in the fetcher that this automatically generates. This is a good example of there is magic, but there is a way to override it, but also that way to override it is kind of tribal knowledge, and you'd probably either have to go digging through Nix packages manual, or look at similar derivations to do that. So we actually, interestingly, in Mattermost, do both of them. Yeah, no worries. Alright, let's see if I'm not posting the question in the chat. And yeah, as a reminder, this is who's PR is it anyway, where version bumps are all made up, and the merges don't matter. Do you guys want any PRs merged? I mean, I can search stuff too. Let's just pick a random PR, why not? Let's do one that's just a pretty I think I have a unifier, hopefully. Let's try a more complicated one. Let's see if anyone has any PRs open to something that is going to be a lot of rebuilds. One of you up here, alright, what's the number? Or what's a number? Here we go... filters... I think it's by... or from... I'll go from your GitHub. Let's pick a 5000. See, I want one that's like kind of unambiguous. Most of these are actually merged. See, this one... GlobalLVMVersionBump I'm not sure I want to merge that right now. Let's just pick any rebuild. Here we go, someone updated ikeyroute2. That's an important package. Alright, this one's pretty unambiguous. It's a merge into staging which is designed to prevent mass rebuilds from tying up all of Hydra until staging next is run, basically. Let's do this one on the 192 core machine. Let's see actually how long it's going to take to clone all of Nick's packages on Defcon WiFi, first of all. Actually, that's not half bad. It's actually going at a reasonable rate. Mostly because I want to actually run a good demo would be running Nick's packages review on this except it's going to rebuild everything. Let's see what Chad has to say. It's actually going pretty quickly now. One of the things that we did earlier today is we wrote or rather, Andrew wrote an nftables rule that sets all of the IP priority bits on all of our outgoing packets. Maybe things will drop packets less, but who knows. Let me grab the exam. Here is how we're going to do this one. I'm just going to apply as a patch. You can actually get a .patch file from github. Matrix alert manager doesn't really matter, but let's just try first of all just make sure that iproute2 makes sure that iproute2 at least builds because that's the subject of the PR. Because this is the 192 core machine, let's git stash git checkout fetch origin staging. So we're actually going to try building staging because this PR was made against staging. You don't necessarily have to do that when reviewing staging PRs. The downside of using staging is that because it's staging, Hydra doesn't build it. So you have to basically rebuild everything if you're going to be building staging. But we have 192 cores at our disposal so we're going to be doing that actually. And I'm actually just going to say git fetch dash depth equals 1. I don't want more than that. You do that because it has to download way less than it ordinarily would. Alright, so we got staging. So check out staging origin slash staging Oh , I know why. I actually have to use git clone dash dash branch because we did a depth one. Let's see how our full clone is doing . That's not bad. 1.6 gigs so far. Defcon WiFi has definitely gotten better. Alright, we got staging now. Alright, we're going to patch that. Well, that's the wrong patch. Let's see here. Dispatch. Alright. NOM build dash AIP route 2. Alright, let's see how many rebuilds we have because this is staging. So NOM is Nix output monitor. It is a wrapper around Nix that you will see very, very shortly what it is. It is a nice wrapper around Nix that does that. Alright, so we have 386 rebuilds. A good handful of fetches actually. But not a whole lot actually. And, well, it's going to start rebuilding fairly soon. Let's see how many of these it can churn through at once. This is a System76 I think, like Filio Ultra or something. Filio Mega. And once it stops fetching, well... Yeah, here we go. I'm working on it. Here we go. Let's go HTOP first. So HTOP actually doesn't list all the CPUs. It only lists the average. Let's check VTOP. So there's actually more. It's 192. Oh, there we go. 192 cores in this Threadripper Pro. That's Compiling Pro and about a million other things. Just going to put that Tmux window out of the way. Oh, there we go. Alright, we're talking now. Let's check HTOP too. And just for fun, let's configure HTOP to display all the CPUs. Alright, there we go. There we go. I have to actually add all the CPUs. Maybe not. Yeah, there we go. So now I can't get that gone. Setup. Okay , so I've got so many CPUs that I broke HTOP's config. I can't go and remove all this display from HTOP. So I'm going to have to... Just going to do that. Just delete my HTOP config. It should be noted that this machine is also streaming, so how's the stream quality? Although it is actually mostly using the GPU for encoding. So it actually might be okay. Alright, there we go. It's using a good chunk of memory. It's right there. Yeah. Alright. Let's try the CPU thing again. 1 to 8. Oh, I see. Gotcha. Yeah, there we go. At least somewhat reasonable. There we go. There we go. Technically, Ampere has a 256 core CPU. It's... It's going for Pearl right now. By the way, yeah, the System76 is running Cosmic because, of course it is. And actually, alright, yeah, here we go. The Defcon Wi-Fi has gotten kind of slow, not due to this build, but just due to the fact that it's gotten slow. Actually, I'm relatively sure that this is my laptop having a bunch of Wi-Fi interference from everything. Because NixVegas Wi-Fi is actually on 2.4. I've got a thing on that, on the NOC table to add a 5, but I just haven't gotten around to it. It's actually still going for 4 gigabytes of Nix packages fetched for the full clone, which I should have totally done at home. And actually , it's pretty reasonably fast. It's 5 megabytes per second. I mean, that's actually pretty good. So actually, this might be the reason that it's slow, is that we're just using all of our available bandwidth. Luckily, at least, this is mostly done for our full Nix packages clone, so we'll be able to run Nix packages review on a 192 core Threadripper Pro pretty soon. Mostly because I just want this thing to rebuild everything on a Nix packages review, because it would be funny. In any case, the staging PR is going. Oh yes, that open sprinkler PR actually got merged today. It got unblocked in review and it looks like that got merged, so we got one more today. There we go. We're 90% received in Nix packages, so hopefully we should be stopped using all the bandwidth relatively soon. Alright, there we go. Alright, bandwidth is all back. There we go. That's the number of builds that I'm kind of expecting on this system. What's that? Yeah, go for it. If you guys have a PR, shout it out. Sorry, say again? 432? 432397. Empire Compiler. So, do we normally add maintainers entries in separate commits? Yeah, I'm pretty sure they should be separate commits. Yeah. The other question I got, maybe this is more of a common question too. Is the maintainer supposed to add themselves? I guess my question is why are we adding a maintainer entry if it's Farid committing it? Oh, Burmex. Yes, yeah. Alright, here we go. We have Nix packages. So yeah, now we can actually show off Nix packages for view on something. Let's check chat. Yeah, the stream should be better a little bit now because we're not shoving all of Nix packages over Defcon WiFi. Alright, if anyone else has a PR, call it out. Let's see how this IPRoute2 compile is going. And it's going. Oh, there's 13 minutes in, 246 builds left, and it is using... Oh, oops. What? It just failed there. Well, that's weird. Let's run it again. It's configuring curl and corutils. That's probably going to unlock a whole bunch of builds at once after those two go through. Running the corutils check phase. Alright. Why the hell did corutils fail? Oh, boy. The corutils test suite failed. That's probably true, honestly. Let's do dash dash cores. Let's pretend there are 32 cores. See if corutils does any better. It's ironic that it's called corutils, yet it's failing if the machine has 192 cores. I don't know. Maybe they should fix that. So, yeah. If you're doing mass rebuilds of things, sometimes you will run into packages that just fail if various system-level things that you can't control with Nix exist. Like having a bunch of cores. I've run into... Actually, with Java having too much memory, sometimes if you have a huge Java build, it will try to use the heap very aggressively. And this can cause issues. It forgets to GC. And actually, I've not really gotten failures. More just slowdowns. Yeah, or file system stuff. For some reason, corutils is actually failing on staging, apparently. It's the same two tests as well. I think. Test dupe 2. I don't know. Actually, that's different. Let's do fewer cores. I wonder what changed. All right. We are back. So, corutils is actually failing on staging for some reason. It's like random test 2. No, actually, that's the same test. All right. So, we can't do that one right now. I'm not sure why. Does chat have an EPR if they were merged? All right. We're going to take a break from Who's Who. Who's PR is it anyway? We actually have a lightning talk. We're going to get set up for that. Give us a sec. All right. Good evening, NixVegas.