worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
page_ has joined #nixos-dev
page has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-dev
drakonis2 has quit [Ping timeout: 264 seconds]
tv has quit [Ping timeout: 260 seconds]
drakonis has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos-dev
<pie_> xpost from guix chat, did not read, sort of skimmed, may contain arguments that sound like what eelco is taking about, https://nibblestew.blogspot.com/2020/06/short-term-usability-is-not-same-as.html
drakonis has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
justanotheruser has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
drakonis_ has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos-dev
justanotheruser has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.8]
Emantor has quit [Quit: ZNC - http://znc.in]
drakonis has joined #nixos-dev
Emantor has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 256 seconds]
{^_^} has quit [Excess Flood]
{^_^} has joined #nixos-dev
vdemeester has quit [Read error: Connection reset by peer]
vdemeester has joined #nixos-dev
page_ is now known as page
cole-h has quit [Quit: Goodbye]
justanotheruser has quit [Ping timeout: 256 seconds]
tv has joined #nixos-dev
justanotheruser has joined #nixos-dev
ryantm has quit [Ping timeout: 252 seconds]
ryantm has joined #nixos-dev
Jackneill has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos-dev
FRidh has quit [Remote host closed the connection]
FRidh has joined #nixos-dev
v0|d has quit [Ping timeout: 260 seconds]
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
klys has quit [Ping timeout: 256 seconds]
klys has joined #nixos-dev
alp has joined #nixos-dev
justan0theruser has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
urkk_ has joined #nixos-dev
urkk has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
__monty__ has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
<sphalerite> qyliss: do you want to review my mailman PR at some point? If not, I'd go ahead and merge it (and take out the change that adds you to the maintainer list for the module).
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
<srk> sphalerite: id?
<sphalerite> srk: #86177
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86177 (by lheckemann, 6 weeks ago, open): Mailman refactor
<srk> ty
<srk> cool, I've struggled with mailman2 nixos module before
<sphalerite> srk: would be great if you could give it a try, I added a little manual section about it as well since it's still not trivial
<srk> yup, will play with it
<sphalerite> srk: and any questions feel free to ask, especially since that's valuable feedback for improving the docs :)
<srk> will do! :)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<Mic92> sphalerite: worldofpeace niksnut spacekookie we got a rfc comittee meeting today
<sphalerite> yep
justanotheruser has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos-dev
alp has joined #nixos-dev
prusnak has quit [Read error: Connection reset by peer]
prusnak has joined #nixos-dev
aria has quit [Read error: Connection reset by peer]
noonien has quit [Ping timeout: 258 seconds]
aria has joined #nixos-dev
tazjin has quit [Ping timeout: 265 seconds]
tazjin has joined #nixos-dev
noonien has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
<Mic92> worldofpeace: coming?
rajivr has quit [Quit: Connection closed for inactivity]
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
asymmetric has quit [Changing host]
asymmetric has joined #nixos-dev
<mdlayher> WilliButz: thanks again for the reviews! the prometheus exporter testing infrastructure is super nice. NixOS has been the only configuration management system I've ever used that doesn't make me want to pull my hair out, which is amazing!
<mdlayher> the testing infrastructure in general is totally amazing, really
<gchristensen> woo!
<mdlayher> i've converted two of my infrastructure machines to NixOS and am looking at moving the rest of them now. it's too good.
<WilliButz> mdlayher: thanks to you for contributing! :)
<mdlayher> no problem!
<mdlayher> i've been keeping an eye on https://status.nixos.org/ to see when my packages appear in nixos-unstable-small but notice that the "last updated" values here don't seem to reflect what is actually latest in the git repository, such as: https://github.com/NixOS/nixpkgs/tree/nixos-unstable-small
<mdlayher> is there a job wedged somewhere that is preventing status.nixos.org from updating?
<gchristensen> oh yeah I need to get that info for lnl
<LnL> right, forgot about that yesterday
<LnL> so since my changes didn't do anything my current assumption is that the loop gets stuck for some reason
<LnL> does that same port stay in established?
<mdlayher> I just noticed there is a Prometheus running that alerts on stuck updates, nice! I'm a member of the Prometheus team and love to see it being used in interesting ways. :)
<gchristensen> LnL: it sure does, stable over the past 3 minutes
<gchristensen> mdlayher: nice! :)
<LnL> yeah so one of the requests in the loop is blocking everything
<gchristensen> maybe we can specify a timeout
<LnL> tought requests did that by default but perhaps not?
<gchristensen> I guess not
<gchristensen> "You can tell Requests to stop waiting for a response after a given number of seconds with the timeout parameter. Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely:" https://requests.readthedocs.io/en/master/user/quickstart/#timeouts cool
<gchristensen> LnL: can you PR that? :)
<LnL> yeah I thought about that before, but _really_ expected that to have some kind of default
<gchristensen> honestly me too, this is incredible
<LnL> something crazy like 10m which you probably want to override but not just forever :)
<gchristensen> yeah
<gchristensen> like, anything please
<LnL> I'll test something out in an hour or so
<LnL> also have a test project somewhere that does this in parallel during the request instead, avoiding the loop, but that only handles the revisions at the moment
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
<gchristensen> LnL: I'm going to restart the thing now, and then will push out the timeout when you can :)
<marek> so, any dotnet expert around? I'm trying to package an app written in dotnet, but it seems our build helpers are little bit outdated. this is what am I trying: https://gist.github.com/mmahut/d4268f1ee80dd4dff51eec5b0253eb17
<marek> I'm thinking of wrapping it around as standard derivation with donet commands as buildPhase, not sure if there is a better way to do it
<marek> that said, I never used dotnet and I do not know what I am doing :)
<mdlayher> Lol. Damned infinite timeouts.
<gchristensen> you're telling me :|
alp has joined #nixos-dev
<mdlayher> i dunno what the current limitations of the Python system are, but if there is interest, i could work up a Go prototype that can do the requests in parallel and also export Prometheus metrics about requests, latency, errors, and such. let me know!
<gchristensen> oh cool
<gchristensen> it is very simple and bodged together over a couple hours, if you want to take a proper look at it, that'd be useful :) https://github.com/NixOS/nixos-org-configurations/blob/master/delft/eris/channel-exporter.py
<mdlayher> aha, easy enough
<mdlayher> i do a twitch stream where i do Go coding work. this could be a fun project for tomorrow. i'll see what I can do.
<gchristensen> nice
<gchristensen> cool!
<gchristensen> I have a preference for simple, fwiw :)
<mdlayher> sure, i think we could strike a nice balance.
<gchristensen> sgtm
<mdlayher> gchristensen: it's not required to follow this, but did you know about https://github.com/prometheus/prometheus/wiki/Default-port-allocations? i guess in theory normal users wouldn't be running this exporter anyway though.
<gchristensen> nope
<mdlayher> ah but i see the prometheus docs also mention: "For exporters for internal applications we recommend using ports outside of the range of default port allocations.", so it's probably fine to use whatever
<gchristensen> I think I just grep for 900 and pick the next number, heh
rsa_ is now known as rsa
<mdlayher> gchristensen: i am not sure if the Python Prometheus library has the concept of "const metrics" that the Go one does, but those solve the problem of not exporting timeseries with stale labels by producing all the metrics on demand
<mdlayher> regarding the CHANNEL_REVISION.remove block at the bottom of the file
<LnL> haven't heard about that before
<mdlayher> Yeah. it's a very common stumbling point when building exporters.
<LnL> thought the general recommendation was, don't do that :)
<mdlayher> the official terminology is "direct instrumentation" versus "const metrics". you use the former when an application exports native metrics and the latter for building exporters.
<Profpatsch> lol gchristensen it’s impossible to load https://gist.github.com/GrahamcOfBorg
<Profpatsch> Unicorn
<LnL> there's an Info type
<gchristensen> lol
<Profpatsch> But the gists display just fine, so *shrug*
<mdlayher> loads okay for me but it did take a sec
<Profpatsch> mdlayher: maybe because I tried a few times, and it finally had enough in cache to not time out the reverse proxy :)
<mdlayher> lol yeah could be
<Profpatsch> now it works
<Profpatsch> but only barely, sometimes
<Profpatsch> prob depends on where in the world you are
<Profpatsch> inb4 this alerts the ops team and they terminate ofborg because of violating bot rules
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
FRidh has quit [Quit: Konversation terminated!]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos-dev
justanotheruser has joined #nixos-dev
drakonis1 has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
<matthewbauer1> Anyone able to re-review https://github.com/NixOS/nix/pull/3523? I just cleaned it up and think it's ready to merge. It would be really good to get it in for the next nix release.
<{^_^}> nix#3523 (by matthewbauer, 7 weeks ago, open): Add --build and --eval to `nix path-info' command
zarel has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
cole-h has joined #nixos-dev
<cole-h> Any chance this is related to the vault creds issue we're seeing with the community box deployo?
<gchristensen> huh
<gchristensen> probably not
<gchristensen> that stuff is pretty separate
<gchristensen> let's see if a simple restart fixes it
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
drakonis has joined #nixos-dev
ashkitten has quit [Quit: WeeChat 2.8]
jared-w has quit []
jared-w has joined #nixos-dev
ashkitten has joined #nixos-dev
alp has joined #nixos-dev
<cole-h> gchristensen: Looks like it failed again
drakonis has quit [Quit: WeeChat 2.8]
<gchristensen> most, maximally, annoying
<cole-h> :') Sorry
<gchristensen> no worries
<gchristensen> hmm
<gchristensen> *tap* *tap* *tap* you doing okay, server?
<danderson> hi yes?
<gchristensen> I think you're sick and I've just deprovisioned yo, sorry
<danderson> aw :(
<timokau[m]> 4̸0̷4̴ ̴S̴e̸r̸v̵e̴r̸ ̴n̴o̸t̵ ̴f̸o̸u̶n̵d̸
<gchristensen> you weren't feeling good anyway. INFO: rcu_sched self-detected stall on CPU 26-....: (98925627 ticks this GP) idle=28a/1/0x4000000000000002 softirq=62962123/62962131 fqs=44280970 (t=98950761 jiffies g=75354001 q=4426387)
<cole-h> ouch
orivej has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
ryantrinkle has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos-dev
__monty__ has quit [Quit: leaving]
alp has quit [Ping timeout: 272 seconds]
globin has joined #nixos-dev
globin_ has quit [Ping timeout: 260 seconds]
globin has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 272 seconds]