- 1 Post
- 11 Comments
chrash0@lemmy.worldto
Jellyfin: The Free Software Media System@lemmy.ml•Judge my shitty vibe code pleaseEnglish
78·11 months agoit’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
-
chrash0@lemmy.worldto
Selfhosted@lemmy.world•MPV: The Ultimate Self-Hosted Media Solution You're Probably Sleeping OnEnglish
34·11 months agoi mean… sure. some neat tricks in here i wasn’t aware of, but asking my mom to open the terminal… i mean it’s not rocket science but that doesn’t make it accessible. all the scripting and stuff that you’re talking; that stuff comes in the Jellyfin box. honestly, it might be worth it to have both if you have users that aren’t comfortable in the terminal
ok i’m not saying do this
i recently setup an API proxy, C&C server, Grafana and Prometheus, and Discord bot. now i can send pings via Grafana or with a simple request (provided it’s authed via VPN or proxy) and have my Discord bot use a local LLM on my network to deliver the alert to a Discord channel in the voice of Ultron.
chrash0@lemmy.worldto
Selfhosted@lemmy.world•SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataEnglish
2·1 year agoah that makes sense
chrash0@lemmy.worldto
Selfhosted@lemmy.world•SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataEnglish
2·1 year agofuckin weird that an extension would inject invalid JSON into an API payload. if you’re gonna make a shady plugin at least test it lol
anyway, if that’s truly the issue i’d be worried about what my extensions were doing, personally.
chrash0@lemmy.worldto
Selfhosted@lemmy.world•SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataEnglish
3·1 year agoi would start by seeing what the actually API response is. i haven’t used OpenWebUI, but to me this looks like some kind of error response from the server. you could use an API tester like Bruno. also check your Ollama logs to see if it’s getting the request and any other output there.
chrash0@lemmy.worldto
homeassistant@lemmy.world•Is it normal to not have any malicious login attempts?English
4·1 year agothat seems abnormal, but if you’re worried about people creeping into your infra, you could add a VPN for an extra layer of security. i use Tailscale, and it works like a charm
i worked in Android development for years. i used Kotlin and Jetpack Compose in alpha. their docs weren’t perfect but they existed. in my experience good documentation evolves with the project and isn’t tacked on as an afterthought.
otherwise i get you point and really don’t know enough about the drama to pick a side. i just want my software to work 🤷♂️
ETA: honestly documentation as a first class primitive in Nix is a selling point. if only that consistency could be applied to high level docs
The Nix project has long intended to release version 3.0 when flakes 4 are stable. With Determinate Nix 3.0, we’ve fulfilled that promise
i noticed this language recently as well. i’m glad Nix upstream is defending themselves, but honestly, the place where Nix “3rd party” tooling shines is in documentation. i swear to god the #1 things holding back Nix adoption is piss poor documentation. and i love the idea of Nix to be clear, but if the official docs are years out of date for installing popular user space software like CUDA and the Rust toolchain, for which the docs are either far out of date or using solutions that are not standard or otherwise clunky, then it’s silly to recommend for my work. and also to be clear, i could pull string and make this happen at my company—we’ve done it for Rust—, but i will not stick my neck out for this kind of tribalism.
on one hand tho, Determinate Systems provided clear install instructions for flakes (which is an important feature, for a lot of maintainers for sure) and did make it clear what the differences were (some of which were clearly better defaults), even if the verbiage is a bit aggressive. i honestly don’t know what it will take. i’m slowly but surely becoming competent in the ecosystem, but i get the vibe from forum posts (which i’m forced to read in lieu of docs) that there’s this “why don’t you already get this” from the already established community. and maintainers act like there’s no reason for these “soft forks” to exist. Nix is not straightforward, and, no, the language isn’t simple enough to learn in an hour. adoption requires good docs
chrash0@lemmy.worldto
Nix / NixOS@programming.dev•Finally a half-decent CUDA solution on NixOSEnglish
2·2 years agothis is so timely ha. i just installed NixOS on my 4090 machine and was about to install CUDA.
three, maybe four things:
flake.nixsome things are resistant to documentation and have a lot of stateful components (HomeAssitant is my biggest problem child from an infra perspective), but mainly being in that graph mindset of “how would i find a path here if i forgot where this was” helps a lot