<samueldr>
>> [...] pointed out that my header archive took too much time during kernel rebuilds. Generally, the kernel build process is expected to be incremental. It should take a long time only during the first build, not every build
<samueldr>
well, here it's every build
<aleph->
Hmm think I'm gonna package jellyfin and add an option to the emby service to select a binary.
<aleph->
Or should I just replace it given emby is no longer oss...
<aleph->
Still looks easy and then I can port my media box to nixos
Drakonis has quit [Ping timeout: 276 seconds]
<samueldr>
ooh, netsurf 3.9 even supports media queries, but the current implementation requires a reload
<samueldr>
I'm not 100% positive, but I think it's the only non-major browser with contiuous development
<samueldr>
let's prefix that by "graphical browser"
<Ralith>
anybody got a google fi referral code?
<samueldr>
hmmm, wondering if fabrice bellard's javascript thing could be useful here
<aleph->
Hmm, think I'm gonna port our company software to run on nixos
<gchristensen>
oh cool
<aleph->
Yeah, we'll probably never do NixOS in prod. Since linode doesn't support it afaik and we need good support
<aleph->
Plus I think some of our contracts assume Ubuntu for sec purposes
<gchristensen>
how many servers do you use?
<gchristensen>
maybe could build with nix and deploy to ubuntu
<samueldr>
ninja'd
<aleph->
Eh 26 enterprise/multitenancy servers, then 80 odds and ends
<gchristensen>
cool
<aleph->
Various node services, internal stuff, etc
<aleph->
Tempting though
<gchristensen>
if you use docker, Nix can build docker images pretty nicely
<aleph->
Oh yeah I know :p
<gchristensen>
=)
<aleph->
I hold the record for smallest nginx docker image because of it
<gchristensen>
oh nice! maybe you could blog about it :)
<aleph->
Super lovely and small. Admittedly loses some of the caching abilities
<aleph->
Well I think it's the smallest? Like 300-400kb
<gchristensen>
pretty good
<aleph->
Think I'll go finish the lobsters service finally this weekend too
<gchristensen>
eh?
<aleph->
gchristensen: Oh thanks to samueldr and manveru I had a working copy of https://lobste.rs as a nixpkg. I have a service around it as well.
<gchristensen>
oh wow, that is great!
<aleph->
Planning to upstream them once finished. Trying to move lobsters over to nixos finally
<gchristensen>
even better!
<aleph->
Yeah heheheh, pretty sure mentioning that got me my job oddly enough
<samueldr>
double dog dare you to do it
<gchristensen>
hmm... why do you think that is?
<aleph->
Is there a style guide on PRs?
<aleph->
samueldr: Do what?
<gchristensen>
the nixpkgs manual has some stuff on contributing changes
<samueldr>
make lobste.rs adopt nixos :D
<aleph->
gchristensen: Eh they were interested that I was using NixOS and that I worked on lobsters. Bunch of FreeBSD and Kernel devs apparently
<gchristensen>
ahh cool
<aleph->
samueldr: Oh I want to! Same with the sysop
<aleph->
I've just been with work
<aleph->
And pushcx gave up on nix for a while :p
<aleph->
been busy*
<aleph->
samueldr: Like this is basically the last thing I needed then I can set up a test box for us to try out for all our services
<aleph->
gchristensen: samueldr: Question, planning to build and PR jellyfin the oss fork of emby. Should we keep emby up given it's no longer maintained oss wise and is proprietary only? Or should I just make a change to the emby service to choose what package to use?
<aleph->
Either old emby or jellyfin.
<aleph->
Emby being the media server fyi.
<gchristensen>
let's move this to #nixos
<samueldr>
not sure (though this channel is for off topic stuff! 💢 )
<gchristensen>
:D
<samueldr>
ninj'ad again
<gchristensen>
sorry samueldr :')
<samueldr>
don't worry
<samueldr>
that west coast TZ sure makes a difference
<gchristensen>
oh yeah it is a bit late over there
<gchristensen>
being here for a couple weeks proves to me America/New_york is a great TZ.
<aleph->
gchristensen: Oh? From NY? Or visiting?
<gchristensen>
I live in Massachusetts. I'm in the bay area to meet with clients and do some trainings
<aleph->
Nod nod
<gchristensen>
pretty fun meeting local Nix users :)
<ashkitten>
i upgraded to ryzen 3600 and an x570 board but it wouldn't recognize my gpu because it wasn't in the top slot
<ashkitten>
so i had to swap out my gigantic noctua cooler for the stock one from my 1700 so i could fit the gpu in the top slot
Drakonis has joined #nixos-chat
<andi->
23 days later my Digital Ocean Space (s3 foo) still exists without me being billed for it. It still has 3 stale files in it…
endformationage has quit [Ping timeout: 248 seconds]
<sphalerite>
opinions: is there an age threshold after which backups should be deleted completely?
<sphalerite>
(thinking general-purpose backups, e.g. "my ~")
<jasongrossman>
sphalerite: You're going to die pretty soon. Keep your old backups until then.
<sphalerite>
jasongrossman: ah, so I should have a dead-man's-switch mechanism that will delete all my backups when I'm dead?
Drakonis has quit [Ping timeout: 250 seconds]
<jasongrossman>
sphalerite: Depends what's on them, but anyway if they're encrypted then maybe only you know the password?
<sphalerite>
jasongrossman: hmm, they're encrypted with a password that I don't even know
<jasongrossman>
sphalerite: Just don't make the password "Rosebud".
<sphalerite>
which, come to think of it, isn't ideal
<sphalerite>
uh, yeah, I need a solution to access my backups if I lose my yubikey and laptop
<sphalerite>
thanks jasongrossman
<ashkitten>
wow, 57 packages in the minimal install iso depend on systemd?
<{^_^}>
systemd/systemd#12536 (by poettering, 10 weeks ago, merged): random-util: eat up bad RDRAND values seen on AMD CPUs
<sphalerite>
ashkitten: yeah, since udev is provided by systemd a lot of things depend on it
<ashkitten>
ahh
<sphalerite>
I wonder if we could build it separately.
<ashkitten>
not sure, but doesn't it still need this patch?
<ashkitten>
oh i think i was misreading but still it was a number of packages i had to build
<ashkitten>
wait, why am i building linux
<ashkitten>
how could that depend on systemd
Drakonis has joined #nixos-chat
<ashkitten>
does something in stdenv depend on systemd??
<sphalerite>
I don't think so
<sphalerite>
no
<elvishjerricco>
ashkitten: Definitely not. You can test with `nix build --store $(pwd)/foo nixpkgs.stdenv`. You'll find no systemd in `./foo/nix/store`
<ashkitten>
hm
<gchristensen>
we could never bootstrap if systemd was in stdenv
<ashkitten>
wonder why it's building, then
<gchristensen>
a LOT of thingsdepend on systemd.
<ashkitten>
sure but why is linux building
<etu>
Wouldn't think that nix would work at all on darwin if stdenv depended on systemd
<sphalerite>
elvishjerricco: or nix-store -qR :)
<sphalerite>
etu: well, the linux stdenv and the darwin stdenv are completely different beasts
<elvishjerricco>
Curiously, this is not the case with nixos-18.09
<elvishjerricco>
So this is a relatively new dependency...
<ashkitten>
hmm
<ashkitten>
glad i caught it then?
<elvishjerricco>
It's a build time dependency of linux-pam, which is a build time dependency of util-linux
<elvishjerricco>
er, I thought it was. `nix-store -q --tree` shows it is. But I can't find it in `nix show-derivation`
<ashkitten>
weird
<ashkitten>
well it's definitely being built
<elvishjerricco>
ashkitten: Yea, take a look at this to see for yourself `nix-store -q --tree $(nix-instantiate channel:nixos-19.03 -A linuxPackages.kernel)`
<ashkitten>
it's been building for like half an hour ;-;
<elvishjerricco>
Oh whoops my eyes are bad. It's being depended on directly by util-linux, not linux-pam
<elvishjerricco>
So why didn't it do that before...
<ashkitten>
this hints that the eject binary was needed for some reason and someone wanted to include it from utillinux rather than the eject package
<elvishjerricco>
You should probably raise an issue about this. Having to build systemd to build the kernel is silly
<ashkitten>
can you test if it builds without utillinux? it seems like it shouldn't actually need that if it's only being used for eject, which also seems quite ridiculous to need for building the kernel
<ashkitten>
i'd test but i'm trying to build an installation image for myself to get an os actually running on my desktop again
<elvishjerricco>
Yea I'll give it a shot
<ashkitten>
thanks
<ashkitten>
after i get my desktop running i should be able to build it in like 10 minutes...
<elvishjerricco>
Yea I've got a 16 core threadripper. Takes about that long for me
<ashkitten>
ahah nice
<ashkitten>
i just got a ryzen 3600
<ashkitten>
pretty significantly faster than my old 1700
<elvishjerricco>
The new ryzens are so good.
<ashkitten>
even at 2 cores less!
<elvishjerricco>
Which ones the 2600 again?
<elvishjerricco>
3600*
<ashkitten>
it's got 6 cores and somehow significantly higher multithreaded performance than a first gen 8 core
<elvishjerricco>
Yea. If I understand correctly the single core performance is pretty absurd, isn't it?
<ashkitten>
it's wild
<elvishjerricco>
Almost makes me wanna switch from my threadripper... almost :P
<ashkitten>
you'd have to get a new motherboard and stuff for that though
<elvishjerricco>
The single core of first gen threadripper is so-so by comparison IIRC
<ashkitten>
and even if they haven't announced a new threadripper, they're definitely still gonna have an epyc lineup for this gen
<elvishjerricco>
So a 12 core third gen ryzen would probably be better in a lot of cases
<ashkitten>
you could have 64 cores tho!
<ashkitten>
build linux in 5 mins
<ashkitten>
:p
<elvishjerricco>
Lol faster, if each core is faster too
Jackneill has joined #nixos-chat
<ashkitten>
tru
<elvishjerricco>
Just finished. 8m15s
<elvishjerricco>
Built fine
<ashkitten>
nice
<ashkitten>
well i guess we can remove that dep
<ashkitten>
>,,>
<elvishjerricco>
Dunno what the ramifications of not having utillinux are
<elvishjerricco>
but it built :P
<elvishjerricco>
Definitely worth opening an issue about
<ashkitten>
idk but you can easily replace it with busybox if you need those utilities
<ashkitten>
i'll go ahead and write up an issue
Jackneill has quit [Remote host closed the connection]
<elvishjerricco>
thanks
Jackneill has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos-chat
<ashkitten>
elvishjerricco: want me to tag you? if so what's your gh username
<elvishjerricco>
Sure. @ElvishJerricco
<elvishjerricco>
Though I haven't been keeping up with github much lately :P
<gchristensen>
is there a simple CLI transfer tool which can do UDP holepunching?
<adisbladis>
I spent a lot of summers there as a kid
<jasongrossman>
adisbladis: In what way? (Also vegan food would be a bonus, but scenery is the main thing.)
<jasongrossman>
eyJhb: Yeah, well cheap air travel is only a short aberration in human history, right?
<adisbladis>
jasongrossman: Nice beach, they have some beatiful marshland
<adisbladis>
jasongrossman: Can be accessed easily by train from CPH
<jasongrossman>
adisbladis: Sounds lovely (really) but too similar to what I have at home (you should visit).
<adisbladis>
jasongrossman: Hmm I dunno then..
<adisbladis>
For the true scandinavian nature experience you'll have to venture a bit further north
<jasongrossman>
I think for the TSNE I just need more time. For a quick trip I might go to Italy instead, or just stay home.
<jasongrossman>
Thanks for the advice. adisbladis++ eyJhb++
<{^_^}>
adisbladis's karma got increased to 12, eyJhb's karma got increased to 1
<jasongrossman>
Sorry eyJhb, your karma is positive.
<adisbladis>
Sweet sweet internet points
<eyJhb>
Sweet sweet karma, I am finally better than some!
<jasongrossman>
eyJhb: Yes, you've gone from having the same score as the bottom 8 billion to quite near the top.
<eyJhb>
jasongrossman: Sorry I can't tour you better, I have only been to Odense a couple of times, and generally suck at beautiful places in DK. I just enjoy the beaches (Vesterhavet), and whatever forests I can find
<eyJhb>
Also I just enjoy driving around! But it is quite easy to find some forrest, nature, beach, etc.
<jasongrossman>
eyJhb: But that is helpful. It's not your fault Denmark doesn't have fjords.
<eyJhb>
At least I don't hope so!
<jasongrossman>
eyJhb: Well are you Slartibartfast?
<eyJhb>
I will neither deny or confirm that.
<eyJhb>
;)
<etu>
:D
<jasongrossman>
:-)
<eyJhb>
Oh how I hate Signal sometimes. It keeps saying "you might have new messages" or something like that, and then I got none :(
Drakonis has quit [Quit: WeeChat 2.4]
<infinisil>
Haha, what a troll
<eyJhb>
It literally does it everytime I swipe the notification. So.. Open phone "Oh something!", open Signal, *nothing*, notification goes away, lock phone, 5 sec later, repeat
<etu>
eyJhb: Mine doesn't do that...
<sphalerite>
uninstall signal, that will make the problem go away
<sphalerite>
oh wait no, this is a wonderful opportunity for a pun
<sphalerite>
so you're saying signal… is making noise??
<eyJhb>
etu: mine does that sometimes. Might be my unstable WiFi at home...
<eyJhb>
sphalerite: damn you
<sphalerite>
:D
<adisbladis>
jasongrossman: Are you going anywhere else in europe or just scandinavia?
<srhb>
jasongrossman: So, I'm a huge cynic, but I would say Odense isn't really worth sticking around in for too long for tourismy purposes.
<srhb>
jasongrossman: And yeah, in general, there's no nature in Denmark, just fields. Definitely go to Norway or Sweden for nature :)
<srhb>
In Odense I would basically beeline for all the historical buildings and get it over with fast. :-P
<adisbladis>
Also eat some Marzipan (it's the only mental association I have to Odense)
<srhb>
xD
<srhb>
Do they even have an outlet...
<eyJhb>
srhb: what do you mean we only have fields! *looks out window and can almost see a field*
<srhb>
I mean we literally have almost no nature, only "cultured" land.
<srhb>
:P
<eyJhb>
We do not have any beautiful nature like Norway, the only real beautiful things we have is some... Forrest, beach, etc. but yeah.. Nothing, that.. Nature.. Like..
<eyJhb>
Small patches of things
<srhb>
We have almost no forests :P
<eyJhb>
Shys, you are runing my life! :(
<eyJhb>
But yeah, true..
<eyJhb>
I miss marselisborg skoven in Aarhus...
<srhb>
You're not too far from ROld, are you?
<srhb>
wow, according to wikipedia, the UK actually has a higher percentage of forested area than we do. That's very surprising to me.
<srhb>
er, lower, sorry.
<eyJhb>
Nope, 30 minutes away. But... I somewhat have a idea of, it isn't that big :/
<eyJhb>
Higher seemed right, lower does not
<eyJhb>
But then again, properly have more sheep
<Taneb>
srhb: UK has a lot of moorland, for example, and other natural non-forest
<srhb>
I guess I just flew over southeastern England and went "Wow, that's a lot of forest" :-P
<Taneb>
My partner says the same (she's from Italy)
<eyJhb>
48 files changed/added, +3.500 lines, -1.900 lines and I can finally run the code after a month of work :D Good feeling! Now I just need to refactor the client and agent..
<infinisil>
eyJhb: Oh wow, statically typed language with a big refactor?
<eyJhb>
Now I just need to update my client API, and how the CLI interacts, then I should be good to go! But I am considering if there is a easier way.. Because I have a lot of duplicate code in my client API
<jasongrossman>
I think it must depend very much on definitions, because there's very little *continuous* forest in England. It's all broken up by small towns.
<jasongrossman>
Congratulations eyJhb
<jasongrossman>
(Of course half of the UK is Scotland, which has fewer towns.)
<sphalerite>
jasongrossman: um, there's also Wales, and Northern Ireland, the latter of which is playing quite an important role in brexit being an awful awful idea
<jasongrossman>
They're tiny. In terms of area. I'm not saying they're not important!
<sphalerite>
and England is almost twice as big as Scotland :p
<jasongrossman>
Ascension Island is also in the UK for that matter.
magnetophon has quit [Ping timeout: 272 seconds]
magnetophon has joined #nixos-chat
psyanticy has quit [Quit: Connection closed for inactivity]
<pie_>
maybe commands should take anargment somehow that says a scripy is being run by a human
<pie_>
though i suppose that being the defualt would make more sense and have a standardized argument for "machine readable"
<adisbladis>
pie_: It could detect if the output is a terminal
<infinisil>
pie_: tty is exactly that
<pie_>
hysterical raisins
<infinisil>
Well not exactly
<pie_>
adisbladis: i hate the autodetection stuff
<pie_>
what if i want to pipe the fanct colors to something (and then there needs to be an override)
<pie_>
though tbf i dont know much about terminal internals and it seems kind of horrible
<pie_>
apparently you need to implement colors in every tool or something? watch doesnt work with colored output for example iirc
<adisbladis>
pie_: It is kind of horrible. But as a user of CLI apps it's a rarity that I don't want colours
<infinisil>
Yeah, a lot of things have --color or --no-color arguments
<infinisil>
But not nix..
<infinisil>
Which is why nixbot can't display colors anymore for nix errors
<adisbladis>
Anyway.. I try to get away from using CLI apps to the largest extent possible.
<infinisil>
Because nix detects "Oh you're not in a tty, so I won't give you color!"
<samueldr>
if unix was a collection of nice self-contained tools, as often parrotted, this wouldn't be an issue and everything would always output colors, and pipe through | strip-colors or something
<jasongrossman>
Or, better, through lolcat.
<samueldr>
useless uses of lolcat | strip-colors
<jasongrossman>
LLOL
magnetophon has joined #nixos-chat
<ashkitten>
hm
<ashkitten>
rcu_sched detecting stalls everywhere
<ashkitten>
what the heck
magnetophon has quit [Ping timeout: 248 seconds]
<pie_>
samueldr: idk this feels like the exact opposite problem? no desig conventions?
<pie_>
design
<samueldr>
don't force all tooling to include code to handle adding/removing column as needed
<samueldr>
filter the color
webster23 has joined #nixos-chat
magnetophon has joined #nixos-chat
magnetophon has quit [Ping timeout: 246 seconds]
magnetophon has joined #nixos-chat
<ashkitten>
..apparently you can disable rdrand in the kernel with a param
<ashkitten>
for posterity, adding "nordrand" to my kernel params and using an overlay for systemd with a patch to work around the faulty rdrand makes it work
<ashkitten>
and i believe it was wireguard which was triggering the bug aside from systemd
<ashkitten>
since wireguard is a kernel module i can use nordrand for that, but systemd is userland so it doesn't care about that
<ivan>
oh, you don't want to use -1 for all your wireguard keys?
<ashkitten>
what?
<ivan>
(that's the RDRAND output on the new Ryzens)
<ashkitten>
nice
magnetophon has quit [Ping timeout: 248 seconds]
magnetophon has joined #nixos-chat
magnetophon has quit [Ping timeout: 245 seconds]
<eyJhb>
Somebody that can recommend a vim like spreadsheet program?
<eyJhb>
Trying out sc-im.. But it just seg faulted on me, gg
magnetophon has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos-chat
<ashkitten>
a nixos module that hooks your shell and runs a random binary from a random store path if you mess up a command
<eyJhb>
what ashkitten ?
<ashkitten>
thinking about a corollary to suicide linux with a nix spin
<eyJhb>
setup busybox and do rm -rf /!
<ashkitten>
sure but that's too simple
<ashkitten>
anyways, why does cpuinfo still show my cpu as having the spectre bugs? ryzen 3000 is not affected, yes? it just hasn't been special-cased in the kernel?
<ashkitten>
hmm
<ashkitten>
i'll add the cmdline to disable those mitigations and check if the bugs are still present
magnetophon has joined #nixos-chat
adamt has joined #nixos-chat
<eyJhb>
etu: I am feeling more and more that my wallet might hurt
<samueldr>
hmm. with big discussions happening in PRs, it would be useful to "replay" all actions by users, with focus follows new comments, because otherwise it's plainly impossible to follow the myriad discussions opene
<samueldr>
d
<gchristensen>
+1
<aleph->
samueldr: gchristensen: How is nixos.org/options.html generated?
<samueldr>
carefully
<gchristensen>
github.com/nixos/nixos-homepage has a Makefile which shows
<gchristensen>
also I might get my feet wet in rust async by starting to implement a more dynamic frontend for r13y
<ashkitten>
i'm kinda scared that this random lockup i had which i can't seem to attribute to anything specific is gonna turn out to be an actual issue
<ashkitten>
i am extremely tired of random cpu crash bugs
<gchristensen>
(as someone whose laptop randomly rebooted in the night) its probably fine lalalala *checks backups*
<ashkitten>
as someone who's been dealing with the awful memory controller and bad silicon of a first batch ryzen 1700 for 3 years now... any random crashes make me incredibly suspicious