Review a pull request by booting it

26 points by domenkozar a day ago on lobsters | 18 comments

pepegar | a day ago

What fzakaria has been doing lately with trynix.dev and previously the nixpkgs multiverse is amazing, I really hope this approach takes off.

BTW, why is this tagged vibecoding?

anex9d | 23 hours ago

automatically changed from user suggestion, probably because claude is a co author of the repo. doesn’t matter the quality of the code or usefulness, it’s vibecoding if a clanker is involved

pepegar | 20 hours ago

ah, I see, thx

WilhelmVonWeiner | 19 hours ago

Aside from the code being vibecoded the blogpost is edited by an LLM in some noticeable capacity.

munksgaard | a day ago

This seems absolutely bonkers. I am in awe...

Edit: I spend some time reviewing PRs on Nixpkgs, and this would greatly improve that experience. It's also easy to imagine using this for reviewing stuff at my dayjob. Very impressive work.

fzakaria | 20 hours ago

It might not be obvious to people but if you need any fixture files or test data along with your application, that is just another Nick's package to add to the boot path! Super simple next derivation.

This is a really slick workflow. It's pretty easy to replace part of it with a back end firecracker VM to allow full GUI and cut down on the latency caused from emulation.

I think however the novelty is the fact that it's free and 100% local.

natkr | 19 hours ago

At this point, @domenkozar and @fzakaria basically seem like a self-promo ring. (To the extent that "self" makes sense at all when it's all slop anyway.)

ile-du-fantome | 17 hours ago

@domenkozar has made five posts in the past two months. Three of them were links to fzakaria.com.

@fzakaria has made five posts in the past two months. Four of them link to sites associated with @domenkozar.

The fzakaria.com domain itself was posted eighteen times in the past two months, by fourteen different users, and all of those posts, except one, received at least ten votes and three comments.

At most, I think you can say that @fzakaria posts links to @domenkozar's stuff a lot, but @fzakaria's stuff is posted to Lobsters by quite a few different people. Does not seem like a "self-promo ring" to me.

(I wish you would have just messaged a moderator with your concerns.)

miloignis | 18 hours ago

In that @domenkozar has submitted 3/44 of the times fzakaria.com has been submitted, and @fzakaria has submitted 2/5 times domenkozar's website has been submitted?

I don't think that's a self promo ring, just people interested in each other's work.

I added fzakaria.com to my RSS reader after the first couple of nix experiments and have been very interested to read each additional one, I think this is very interesting work.

wmurra | 18 hours ago

Secretspec and devenv are Domen’s projects, so fzakaria has only submitted Domen’s and his own work. I don’t think it’s a terrible stretch, but I’m not sure what the rules actually are, or should be, for submitting links to your friends’ posts. That said, I also appreciate both of their work.

natkr | 17 hours ago

Personally, I think self-promo-as-fraction-of-account-activity is more relevant than self-promo-as-fraction-of-domain-activity.

How does network access work, here? Is someone running a CORS proxy for free, or does Nix/wasm somehow get around that?

fzakaria | 21 hours ago

The in browser VM has no network access. If there is a CORS proxy I can use for free we can write it up though.

Just spitballing: Could there be a nix package that configures the whole VM to use a CORS proxy of my choice?

I honestly have no idea how any of this wizardry works, I'm just excited about the possibilities.

fzakaria | 19 hours ago

What do you mean ?

Oh.

The NixOS cache is a free CORS cache proxy for most packages and I show in the blog using Cachix as another CORS proxy that you can self-publish too.

No, I'm saying, could I host my own CORS proxy, say, inside my own network, and then load a nix package that configures the whole VM to make network calls over that proxy. That would allow me to test packages that require network access, while still keeping the base project (Review a PR by booting it) entirely local only by default.

I might not be explaining myself well. I'm just very impressed by what you've done here.

fzakaria | 18 hours ago

there is an open to run a local WebSocket server that funnels all the traffic as a way to give network access; I wasn't sure how likely people would want to do that?
(Obviously not an option for mobile too)

jaculabilis | 20 hours ago

Incorrect "authored by" bit set? ~fzakaria is the author, unless I missed something.