gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
hedning has quit [Quit: hedning]
<infinisil> tilpner: gchristensen: Wait what are cloaks?
<infinisil> The wiki page doesn't have any explanation
<gchristensen> what kind of explanation do you want?
<gchristensen> oh
<infinisil> Ahhhh
<samueldr> infinisil: /whois samueldr or /whois gchristensen
<infinisil> "replace the hostname/IP displayed when you are connected"
<samueldr> yeah
<infinisil> gchristensen: I wouldn't mind having that :D
<infinisil> Can I have NixOS/user/infinisil please?
<gchristensen> ping me in ~13 hours?
<infinisil> If I can remember
<infinisil> I'll be going to sleep now, so let's try this:
<samueldr> sleep for 13 hours
<infinisil> ,tell infinisil Remind gchristensen to cloak you!
<{^_^}> infinisil: I'll pass that on to infinisil
<samueldr> this seems... weirdly wrong
<gchristensen> lol
<infinisil> Hold on, i can do better
<{^_^}> infinisil: 3 minutes, 12 seconds ago <infinisil> Remind gchristensen to cloak you!
<gchristensen> ,tell infinisil to remind me in 11hrs and 55 minutes
<{^_^}> gchristensen: I'll pass that on to infinisil
<infinisil> ,tell infinisil Remind gchristensen to cloak you, but only when this message is > 12 hours old!
<{^_^}> infinisil: 20 seconds ago <gchristensen> to remind me in 11hrs and 55 minutes
<{^_^}> infinisil: I'll pass that on to infinisil
<gchristensen> wat
<samueldr> infinisil spoke after you told the bot to tell
<gchristensen> I mean the "> 12 hours old!" bit
<elvishjerricco> Well crap. Adding `module_blacklist=ahci` to my kernel params was apparently a bad idea :P Which is unexpected because I didn't think I was actually using ahci at all.
<elvishjerricco> But now my system is failing to boot
<elvishjerricco> and to add insult to injury, apparently I never tested the ability to go to all generations screen in my nested grub setup. Because apparently it doesn't work and I can't boot the older generation :/
<elvishjerricco> For some reason, pressing the down arrow just chooses the default entry
<samueldr> can you ssh to host? start the qemu with serial and control grub from serial?
<elvishjerricco> samueldr: Lol no the *host* is the broken one now
<elvishjerricco> I was trying to passthrough a SATA controller
<samueldr> on the host the down key doesn't work?
<samueldr> what about the up key?
pie___ has joined #nixos-chat
<samueldr> (oh right, no wraparound)
<samueldr> usb boot, comment out the wrong generation :)
pie__ has quit [Remote host closed the connection]
<elvishjerricco> samueldr: My setup has gotten a little... complicated :P I now have a ZFS pool over LUKS. On this ZFS pool, there are two separate Linux systems, each on its own dataset. Grub is configured to get the grub.cfg from my main system, which has a menu entry with a `configfile` line pointing to the secondary system's grub.cfg
<elvishjerricco> So I can hit down to get to the secondary system's menu entry
<elvishjerricco> But once I enter that menu, it starts counting down 5s until it boots the default generation of the secondary system
<elvishjerricco> During this time, if I press down, it just boots that generation anyway.
<elvishjerricco> So I've still got the primary system to boot to, thankfully
<samueldr> are you taking nixos as a challenge to make something complex work gracefully?
<samueldr> (though it sounds "fun", it also sounds "fun"!)
<elvishjerricco> I am trying to dual boot windows over ZFS :P
<elvishjerricco> Saw no reason to make a second ZFS pool lol
<elvishjerricco> Ah ha! Grub took like 2-4 seconds to render each screen because of my 4K display. Setting the gfx mode to a low resolution makes it fast, and I can pick generations now
<samueldr> oh right, that issue too :)
drakonis has joined #nixos-chat
<elvishjerricco> Now to figure out how to pass this sata controller through...
<elvishjerricco> Which is obscure because I don't actually care to do that; I'm only *trying* to pass through the on-board audio controller, and that for some reason depends on a different IOMMU group, which contains the SATA controller
<samueldr> this is on a tower type thing?
<elvishjerricco> yea
<samueldr> maybe easier to cave in and use another audio source than onboard?
<elvishjerricco> possibly.
<elvishjerricco> Could try to get pulseaudio or something working and just tell qemu to use that
Guanin has quit [Remote host closed the connection]
Lisanna has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.3]
pie__ has joined #nixos-chat
pie___ has quit [Ping timeout: 250 seconds]
Lisanna has joined #nixos-chat
sir_guy_carleton has quit [Quit: WeeChat 2.2]
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
drakonis has quit [Quit: WeeChat 2.3]
Lisanna has quit [Ping timeout: 272 seconds]
jackdk has quit [Ping timeout: 272 seconds]
linkrage has joined #nixos-chat
pie___ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
hedning has joined #nixos-chat
jasongrossman has joined #nixos-chat
__Sander__ has joined #nixos-chat
Lisanna has joined #nixos-chat
__monty__ has joined #nixos-chat
<sphalerite> elvishjerricco: will you write a blog post or something about this when you're done? :D
<elvishjerricco> sphalerite: probably. Though I haven't been taking notes, so I'll probably leave out some stuff :P
<sphalerite> elvishjerricco: looking forward to it!
hedning has left #nixos-chat [#nixos-chat]
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos-chat
<gchristensen> it is icicles-in-the-beard cold today, yum
<__monty__> What were you drooling over? : >
drakonis has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
<gchristensen> just moisture in the breath :)
<gchristensen> but I like this cold
<infinisil> My laptop suddenly works again!
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<{^_^}> infinisil: 12 hours, 46 minutes ago <infinisil> Remind gchristensen to cloak you, but only when this message is > 12 hours old!
<infinisil> Heh
<tilpner> Did you hardcode that specific "but only when" clause?
<infinisil> Yes, is there a problem with it/
<tilpner> No, just wondering how you did it, because it's a very specific thing to express in natural language
<tilpner> Other bots go with !remind(12h) foo
<infinisil> Ah yeah, my bot unfortunately doesn't have that (yet?)
<gchristensen> so, I'm confused, did it actually do anything?
<infinisil> gchristensen: I talked -> it showed the message i left with the time that passed since then, which is over 12 hours
sir_guy_carleton has joined #nixos-chat
<gchristensen> yeah, but did it take in to account the "but only when" clause? and if so, what is the syntax there?
<sphalerite> gchristensen: it didn't AFAICT from the source :p
<gchristensen> right, I was thinking that might be :P
<samueldr> infinisil was just wise enough to sleep for 12 hours
<gchristensen> best way to add features
<sphalerite> Oh that's a nice one
<sphalerite> "The app supports this feature, it just needs to be implemented between the keyboard and the chair."
<gchristensen> Solution: sleep more
infinisil has joined #nixos-chat
infinisil has quit [Changing host]
sphalerit has joined #nixos-chat
sphalerit has quit [Changing host]
sphalerite has joined #nixos-chat
sphalerite has quit [Changing host]
srhb has quit [Quit: ZNC 1.7.1 - https://znc.in]
<infinisil> I've actually been awake for 8 hours now!
<gchristensen> jesus
drakonis has quit [Quit: WeeChat 2.3]
srhb has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
drakonis_ has joined #nixos-chat
<drakonis_> so in a hilarious twist of fate, zfs on linux is now zfs prime
<gchristensen> oh man, w.r.t. freebsd?
<drakonis_> yes
<joepie91> drakonis_: huh?
linkrage has quit [Quit: Leaving]
<drakonis_> illumos is so slow moving that it may as well belong on a freezer, so freebsd is now using ZoL for their zfs
<joepie91> ooooof
<drakonis_> alternatively: the much vaunted "FREEBSD HAS THE BEST ZFS" is now "LINUX HAS THE BEST ZFS"
<joepie91> lol, yeah
<joepie91> I imagine this is going to lead to some sour tribes
<drakonis_> yes
<samueldr> uh, please excuse me, I think you mean "FreeBSD has the best ZFS", since it uses only the finest source available (ZoL) as a basis [says he jokingly]
<drakonis_> so, what's the difference between running zfs on linux or zfs on linux on freebsd?
<samueldr> (I didn't even know about freebsd having "the best zfs" before around now)
<drakonis_> its a long running joke on the making i suppose
<gchristensen> this is interesting
<joepie91> to some it is a joke
<joepie91> to some it is more of a religion
<joepie91> :P
<drakonis_> because folks would beat their chests about how freebsd had the most battle tested implementation despite linux having a vastly wider zfs userbase than freebsd
<gchristensen> because FreeBSD's ZFS supports TRIM, so there a;re #zfsonlinux trolls which redirect people there to FreeBSD saying it'll perform better
ekleog has quit [Quit: back soon]
<drakonis_> i suppose freebsd has massively kneecapped itself
ekleog has joined #nixos-chat
<drakonis_> entertaining nonetheless
<sphalerite> drakonis_: how so?
<gchristensen> they're exposing the apparent lie that freebsd's zfs is the best :P
<drakonis_> it kneecapped itself by becoming overly reliant on zfs
<sphalerite> reliant on zfs as its distinguishing feature you mean?
<drakonis_> yes
<drakonis_> a thing it did not invent
<sphalerite> right
<drakonis_> it isn't the only way it has kneecapped itself
<drakonis_> it doesn't have anything else, when you take away zfs, what else do you have?
<samueldr> a kernel and integrated userland?
<drakonis_> today that's not worth much
<drakonis_> because their userland is inherently less powerful than the gnu userland
<samueldr> [citation needed]
<drakonis_> one moment
<samueldr> for "inherently" less powerful, as in "in a characteristic way"; I would assume so given gnu vs. busybox, but FreeBSD?
drakonis_ has quit [Remote host closed the connection]
drakonis has joined #nixos-chat
<drakonis> they used to have the gnu userland among a variety of components developed by the project
<drakonis> the gnu userland got purged in favour of bsd licensed components
<drakonis> the majority should be close to the posix coreutils
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 244 seconds]
<drakonis_> samueldr: but yeah that's the gist
__Sander__ has quit [Quit: Konversation terminated!]
<drakonis_> its gnu vs posix here
<infinisil> Kill me now, there are like 8 children next to me in the train
<infinisil> It's like a zoo here
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
rawreraw has joined #nixos-chat
<joepie91> infinisil: feed them peanuts
<joepie91> lol
<infinisil> I am safe now, they have left the train, thank god
<joepie91> hehe
rawreraw has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 252 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
hedning has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis has quit [Ping timeout: 252 seconds]
<infinisil> gchristensen: Ah, thanks for the cloaking!
drakonis has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
Guanin has joined #nixos-chat
pie___ has joined #nixos-chat
pie__ has quit [Ping timeout: 268 seconds]
hedning has quit [Quit: hedning]
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-chat
hedning has joined #nixos-chat
sir_guy_carleton has quit [Ping timeout: 250 seconds]
Guanin has quit [Remote host closed the connection]
<gchristensen> erlang is ridiculous
jackdk has joined #nixos-chat
__monty__ has quit [Quit: leaving]
<jasongrossman> gchristensen: Say more please.
<jasongrossman> gchristensen: I've never used it, but from a distance I find it kind of appealing.
<gchristensen> so in a few lines inside `erl` I was able to get a working SSH server... but for some reason it wasn't working, so just debugging:start(). opened up a fully featured graphical debugger where I could set breakpoints and step through the code to figure out why it wasn't doing what I expected
<samueldr> that's ridiculous, no way anyone would believe you ;)
<gchristensen> so next up I'm going to implement a custom transport (I think?) to parse Nix's remote builder protocol ... we'll see how I like it after that :P
<ivan> after using Elixir for a while my main problems were very poor support for stdin and subprocesses & lack of sane shared-memory concurrency abstractions
ottidmes has joined #nixos-chat
<ivan> now that I'm using nix maybe I would work around things by writing NIFs in Rust?
<gchristensen> is stdin weird because of its distributed computation thing?
<jasongrossman> gchristensen: Interesting. Thanks.
<manveru> how's nix support for beam apps these days?
<gchristensen> no idea :) it builds rabbitmq, so ..?
<manveru> last i tried it, it was almost impossible to use the hot upgrades
<jasongrossman> Someone was asking for advice about doing more work on beam a few days ago, so maybe they're doing so.
<manveru> building isn't that much of an issue :)
<gchristensen> manveru: my understanding is very few places actually do that, because of the perils involved... I dunno :)
<manveru> well, i guess in our case we'll also stuff the apps into docker containers for kube again... so just curious :)
<ivan> gchristensen: it's just busted, you can't reliably read all of stdin or write to a child process stdin and _close_ it
<manveru> using edeliver manually was cool though
<ivan> there's erlexec and it's great except for https://github.com/saleyn/erlexec/issues/91
<{^_^}> saleyn/erlexec#91 (by ghost, 2 years ago, open): Can't use non-latin characters in cmd argument
<gchristensen> oh wow, how is that true
<gchristensen> jasongrossman: fwiw I have written approx. 100 lines of erlang in my life, so my experience is pretty ... novice :)