gchristensen changed the topic of #nixos-borg to: https://www.patreon.com/ofborg https://monitoring.nix.ci/dashboard/db/ofborg?refresh=10s&orgId=1&from=now-1h&to=now "I get to skip reviewing the PHP code and just wait until it is rewritten in something sane, like POSIX shell. || https://logs.nix.samueldr.com/nixos-borg
orivej has joined #nixos-borg
ekleog has quit [Quit: WeeChat 2.2]
ekleog has joined #nixos-borg
<LnL> gchristensen: what's up with erlang?
<gchristensen> I just keep coming back to it ,wanting to do something with it :)
<gchristensen> don't know what, though
<LnL> might not be worth the overhead, but I think certain parts of ofborg are better suited for a language like erlang than rust
<gchristensen> oh really?
<gchristensen> which parts? :)
<LnL> the commentfilter, things that mostly handle messages/events rather than subprocesses, etc.
<gchristensen> ah, yeah, that makes sense
<LnL> and maybe decoupling it a bit from rabbitmq?
<ekleog> rewriting ofborg as an erlang application with Cnodes :3
<gchristensen> seems moving to erlang would couple it more to rabbitmq?
<gchristensen> or you're saying just a pure function
<LnL> I think a lot of the events don't really need to go over rabbitmq, I think replacing those with a simpler implementation makes it easier to test and run locally
<gchristensen> ah yes, ye ole local testing problem
<gchristensen> every nixos install should just come with a local rabbitmq
<LnL> maybe I should work out my idea a bit more, my rust isn't good enough to just refactor it in a more testable way
<gchristensen> it is definitely not nice now
<LnL> yeah, so I have an idea on how to improve it but don't know how to get there :p
<gchristensen> what if you wrote what is pretty much valid Rust of what you'd like the implementation code to look like , and I'll see if I can make the code to support it?
<LnL> that's what I was talking about, I can probably make a toy example of the idea I have in my head
<gchristensen> that'd be great
orivej_ has joined #nixos-borg
orivej has quit [Ping timeout: 268 seconds]
<infinisil> Huh, why does this throw an eval error for it being unfree? https://github.com/NixOS/nixpkgs/pull/45412
<{^_^}> #45412 (by costrouc, 11 weeks ago, open): minecraft-server: 1.12.2 -> 1.13.2 + service refactor
<LnL> I'm guessing that
<gchristensen> using example = literalExample "pkgs.minecraft-server_1_12_2"; might fix it?
<LnL> + my comment
<LnL> yep, pretty sure that's what is causing it
<gchristensen> great, thank you LnL :)
<infinisil> Nice find :D
<LnL> yay for ofborg, otherwise everybody on unstable would suddenly be downloading minecraft xD
<gchristensen> :D