Judge my shitty vibe code please
So long story short here: I'm using AI to write this Nginx Proxy Manager advanced config for Jellyfin because I've been having lots of issues with videos starting and stopping. Am I stupid? Any advice would be welcome!
-22
Comments9
lol. I don't even review my coworker's AI slop code. I'm not starting now.
dont
Do you understand the code, what it's doing, and why it's doing that? If not, then do not use an LLM for it.
If a human didn't write it, why should a human review it.
Do you have problems with videos if you don't use the proxy?
Not sure how well that will fly, does it pass a config test?
Also here is a working server block that I use and works fine everywhere
Thanks, you're reply made my day after all the negative comments. I'm a home hobbyist with zero training, so a lot of this stuff is jibberish to me still. Looks like we have a lot of the same stuff going on, I just needed a sanity check. Anyway, I went ahead and deployed it a few days ago and it seems to be very functional and snappy so I guess if it works it works?
it’s not stupid. i have pretty successfully done some NixOS work flying basically blind with an LLM guiding the way.
ask follow up questions. “can you show me in the docs where this is defined”, “why did you add this line here”, etc
you’re going to have to understand this config eventually. the LLM will start to get confused if you’re trying to squash a weird bug and you’re just chastising it. it will always tell you you’re right even when you aren’t.
document everything with comments and in git
Caddy is better :P
Using AI is stupid, yes. Go truly learn it yourself if you want to know how to do something.