gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
slack1256 has quit [Ping timeout: 256 seconds]
jmarhee has quit [Ping timeout: 246 seconds]
hoverbear has joined #nixos-chat
slack1256 has joined #nixos-chat
slack1256 has quit [Remote host closed the connection]
<colemickens> ashkitten: yeah I was typing a reply earlier then tried to try to see if I could remember where I left off and then got distracted.
<ashkitten> ah okay
<colemickens> I don't have any HW, so outside of just trying to get it built further, I can't help too much.
<ashkitten> i have enough patience to work with you as much as you're willing, i'll be getting the stuff on wednesday, delivery goddesses be willing
<ashkitten> that is to say, if you've got the time to throw tweaks at me i'll test them all day if i'm not doing anything else
<ashkitten> though it does seem wxrc development has stopped for the moment...
<ashkitten> either way i'm interested in testing it out ;p
drakonis has quit [Quit: WeeChat 2.8]
rajivr has joined #nixos-chat
<colemickens> ashkitten: I avoid commitment and am unsure of my ability to contribute but I'm interested in it long-term, I'll be around wednesday, and I'm going to do some work on the overlay this week anyway so HMU :)
<colemickens> this is dangerous though, I'd already mentally bit the bullet on buying some sort of gear, and then backed off due to availability....
<ashkitten> it seems like the patches required to run wxrc are the same ones required to get steamvr working, so that doubles my interest :p
<ashkitten> might need some heavy rebasing though, but even if i'm not using wxrc it'll still be very useful for steamvr
savanni_ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
emilazy has quit [Ping timeout: 240 seconds]
peel has quit [Ping timeout: 240 seconds]
liszt has quit [Read error: Connection reset by peer]
betawaffle has quit [Ping timeout: 272 seconds]
peel has joined #nixos-chat
<aleph-> Kinda wish I hadn't bought that stupid rift
<aleph-> Only though of how well it'd work with arcan and not other software >_>
liszt has joined #nixos-chat
emilazy has joined #nixos-chat
betawaffle has joined #nixos-chat
<ashkitten> may be of interest (game referenced is hl:alyx)
<ashkitten> additional patches for other stuff seem to be only needed for openxr (so, for wxrc) but it might be easier to start with getting steamvr working in general
abathur has joined #nixos-chat
<bqv> fantastic, radio station i was listening to (bbc radio 5!) has just shat the bed
<bqv> transmission was silent for 3 minutes then some emergency tape kicked in
<bqv> :D
<bqv> short lived
<bqv> ahah, they've just piped another regional station into this one
drakonis has joined #nixos-chat
<abathur> bqv I once watched an entire broadcast of "Two and a Half Men" purely because somehow it accidentally ran on TV with no audio except for the laugh track
<bqv> that's excellent
<abathur> I kept expecting someone to figure it out and fix it after a commercial break, but they never did
<bqv> it sounds like an improvement tbh
<abathur> oh, it was
<samueldr> this is so funny... I'm watching an older sci-fi series, where as set dressing they have pallets of obvious 1997 e-waste computers, on one there is what looks like a pallet full of IBM 5150s
<samueldr> aaaaaand... there's a fight and damage (as in real-world damage) to what is "just e-waste"
<samueldr> possibly "thousands" worth in IBM "vintage" computers nowadays!
jmarhee has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.8]
hoverbear has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<bqv> 75
<bqv> 80
waleee-cl has quit [Quit: Connection closed for inactivity]
endformationage has quit [Quit: WeeChat 2.6]
rardiol has quit [Ping timeout: 265 seconds]
<aleph-> ,locate chihaya
<{^_^}> Couldn't find in any packages
<aleph-> Ah good. So I will package that
leah2 has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
bkv has joined #nixos-chat
bqv has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos-chat
<eyJhb> I believe in you aleph- ! You can do it
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos-chat
ixxie has joined #nixos-chat
cjpbirkbeck has joined #nixos-chat
cjpb0 has joined #nixos-chat
cjpb1 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 264 seconds]
cjpb1 is now known as cjpbirkbeck
cjpb0 has quit [Ping timeout: 260 seconds]
cjpb0 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #nixos-chat
colemickens has quit [Quit: killed]
emily has quit [Quit: killed]
leons has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
jtojnar has quit [Quit: killed]
arcnmx has quit [Quit: killed]
aanderse has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
ohhaimark[m] has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
balsoft has quit [Quit: killed]
jneplokh has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
leonardp has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
aterius has quit [Quit: killed]
rycee has quit [Quit: killed]
Philipp[m]1 has quit [Quit: killed]
CRTified[m] has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
cjpb0 has quit [Ping timeout: 256 seconds]
__monty__ has joined #nixos-chat
nckx has joined #nixos-chat
puzzlewolf has joined #nixos-chat
cjpb0 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 256 seconds]
cjpb0 is now known as cjpbirkbeck
cjpb0 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 244 seconds]
cjpb0 is now known as cjpbirkbeck
<eyJhb> Ahh the good ol' matrix
<eyJhb> Btw, anyone using i3/i3-gaps + compose key/multi key?
<eyJhb> Mine only wants to work, if I have the cursor over the window I want to type e.g. å in.
<__monty__> eyJhb: Sounds like you have focus-follows-mouse
<eyJhb> Ehmm, __monty__ but I can still type in the window. It is "actually" focused in i3 and the keystrokes are sent
<eyJhb> But I just don't get the compose thing. It just stays aa, instead of å
<eyJhb> Literally aa
<__monty__> Hmm, weird interaction between X and i3, I guess.
<eyJhb> Yup
<eyJhb> ANd I hate it
<eyJhb> Many of my emails are just ae aa oe all over...
<eyJhb> And I am sure that nordic people will understand how annoying that looks
ixxie has quit [Ping timeout: 256 seconds]
parsley936 has joined #nixos-chat
leonardp has joined #nixos-chat
tokudan[m] has joined #nixos-chat
thefloweringash has joined #nixos-chat
danielrf[m] has joined #nixos-chat
jtojnar has joined #nixos-chat
Irenes[m] has joined #nixos-chat
emily has joined #nixos-chat
leons has joined #nixos-chat
ohhaimark[m] has joined #nixos-chat
balsoft has joined #nixos-chat
colemickens has joined #nixos-chat
rycee has joined #nixos-chat
aanderse has joined #nixos-chat
JJJollyjim has joined #nixos-chat
CRTified[m] has joined #nixos-chat
jneplokh has joined #nixos-chat
vaibhavsagar has joined #nixos-chat
worldofpeace has joined #nixos-chat
aterius has joined #nixos-chat
arcnmx has joined #nixos-chat
Philipp[m]1 has joined #nixos-chat
ixxie has joined #nixos-chat
<JJJollyjim> eyJhb: wfm with i3
<JJJollyjim> å
<JJJollyjim> that's with a fairly vanilla i3 configuration and setxkbmap -option compose:ralt
<eyJhb> JJJollyjim: Using `${pkgs.xorg.setxkbmap}/bin/setxkbmap -option ctrl:nocaps`, and also fairly vanilla. Are you sure the cursor is not on the window?
<JJJollyjim> yeah, i'm switching focus with the keyboard and the cursor stays still
<JJJollyjim> i can compose into any window
<eyJhb> The hell
<eyJhb> Am I just the unluck one
<JJJollyjim> (i'm actually on arch rn, i3 4.18.1)
<JJJollyjim> does your keyboard have a built-in compose key? i guess that could be the difference
<eyJhb> Using ergodox, so I can give it one?
<JJJollyjim> ah right
<JJJollyjim> nah mine doesn't
<JJJollyjim> (hence the setxkbmap above)
<eyJhb> Could it be my use of key that does it?
<eyJhb> That shouldn't make a difference, should it?
<JJJollyjim> wait so how do you configure the key?
<JJJollyjim> i just see a ctrl:nocaps
<eyJhb> Ehm. sorry
<eyJhb> 2 sec
<eyJhb> Maybe I am actually using a actual compose key
<eyJhb> Where in the hell do I set that
<eyJhb> I guess that would be a start to find out
<JJJollyjim> haha
<eyJhb> Maybe my firmware for my keyboard is outdated...
<eyJhb> All the possibilites
<eyJhb> Can a keyboard actually have a compose key?
<JJJollyjim> not sure haha
<JJJollyjim> does alt-gr act as a compose key on european keyboards?
<JJJollyjim> i've never really used one
<eyJhb> Maaybee
<eyJhb> But I am not sure where mine is actually
<eyJhb> I have a blank keyboard for my laptop
<eyJhb> ANd everyone Lenove loves it
<eyJhb> Lenovo*
<joepie91> JJJollyjim: depends on your OS and keyboard settings but yes
<manveru> gchristensen: do you know if one can get ipxe working with ec2 somehow?
<eyJhb> As far as I can see, I have kc_slck , which I use to compose with. But I cannot see I remap it
<joepie91> actually that may have been Linux
<joepie91> eg. on, I think it was Windows?, you have various keyboard layouts that are marked "with AltGr dead keys"
<joepie91> point being, that makes AltGr a compose key for accents :P
<eyJhb> Lets reflash and see if nothing works then
<joepie91> basically you press AltGr + ' and then it will not actually input the ' and wait for you to type a letter like 'e'
<joepie91> and then it becomes accented e
<joepie91> (grave? whatever those things are called)
<JJJollyjim> yeah grave is the downward sloping one
<JJJollyjim> upward is acute
<joepie91> then I think 'e translates to e acute and `e translates to e grave
<JJJollyjim> my mum, a french teacher, traumatises students with the helpful mnemonic "acute mouse runs up the hill, then falls to its grave"
<joepie91> also in NL - and this is apparently very specific to NL? - it's commonplace to use alt + numpad
<joepie91> to type character codes for accented characters
<joepie91> nice
<joepie91> JJJollyjim: ha
<eyJhb> This takes forever... Appreciate the shell.nix QMK has, but eh..
<__monty__> joepie91: Isn't that a windows feature?
<__monty__> JJJollyjim: That mnemonic has too few flexing circles.
<joepie91> __monty__: apparently it is a Linux thing that has been ported to Windows: https://github.com/thomasfaingnaert/win-us-intl-altgr
<eyJhb> *still compiling*
<joepie91> eyJhb: is it assembling a chromium
<eyJhb> what the hell is this layout even
<eyJhb> sign, outdated..
<eyJhb> soo outdated. shift is delete
ixxie has quit [Ping timeout: 264 seconds]
<eyJhb> so the rest of the day, is fixing my keyboard
<eyJhb> i have no clue about what config i used before
<gchristensen> manveru: I don't think so
<manveru> haven't tried it yet though...
<eyJhb> JJJollyjim: no dice :(
<eyJhb> aaå
<eyJhb> Using setxkbmap -option compose:sclk
<eyJhb> Mayby try ralt I guess...
<eyJhb> Nope, no difference still
<eyJhb> Still no clue where it is set.. But hey, NixOS is kinda magic
<gchristensen> manveru: whoa.
<manveru> does that make any sense to you? :)
<gchristensen> manveru trying to kill the "registering AMI" time?
<manveru> yep
<manveru> i mean, we can already copy whole nixos instances and work from that... but this would be a bit cooler to not have to GC after deploy :)
<gchristensen> manveru: good gracious this is amazing
Synthetica has joined #nixos-chat
<manveru> i'm not sure what `sanboot iscsi:<Server IP>::3260:1:<IQN>:<name>` means...
<manveru> can <name> be anything?
<aleph-> eyJhb: I mean should be easy. Just a golang package.
<manveru> and where does IQN come from
<aleph-> And it'll be nice and simple to write a module for it.
<gchristensen> manveru: just ditch all that
<manveru> and how does one host ipxe images?
<manveru> i'm super new to all this :P
<gchristensen> manveru: do this one: chain -ar
<gchristensen> just create an HTTP(S) server
<gchristensen> then make your netboot.ipxe file available like this: curl https://netboot.gsc.io/installer-pre/x86/netboot.ipxe and in that same directory, put your initrd, bzImage, etc
<aleph-> Ah good old ipxe
<gchristensen> manveru: but don't turn on https the naive way. if you need https, ping me and I can get you a very extra special configuration which will get you working HTTPS
<__monty__> That sounds suspect.
<manveru> lol
<__monty__> Is graham secretly the NSA?
<gchristensen> lol
<gchristensen> ipxe implements its own TLS stack
<gchristensen> bootloader security is mostly "thoughts and prayers" for most servers
<joepie91> with a little sprinkle of theater here and there
<gchristensen> manveru: https://gsc.io/content-addressed/430a53d153eb15cbc6f4be57322c7d2916768f524a956f6dbe842c8d31b19f04.nix special call-outs to certs."${domain}".keyType = "rsa4096"; sslProtocols = "TLSv1.2"; and sslCiphers = "AES256-SHA256";
<manveru> and for the image i just use https://github.com/grahamc/netboot.nix/ ?
<gchristensen> yeah, or the netboot build stuff in nixpkgs
<manveru> but it's still not clear to me what should go into user_data then
<gchristensen> ah!
<gchristensen> one sec
<gchristensen> netboot.nix is based on nixpkgs' netboot code, just tweaked to support multiple stacked initrds and also recursive nix
<srk> you can also sign the images and use imgverify
<gchristensen> user_data: you have to direct the ipxe boot sequence to what you want to boot. you could do this by having a mutable URL which is continuously updated, and one ipxe-built EBS volume for every type of server
<gchristensen> or, you can `chain` to user data and in user-data you could put: #!ipxe\nchain http://your-boot-service/my-server-type/netboot.ipxe
<manveru> well, that sounds like the easiest...
<manveru> way nicer than that recursive nixos-rebuild i have going right now :P
<manveru> time for some experiments
<manveru> hm, is recursive-nix in flakes yet?
<gchristensen> I would imagine so
<manveru> seems like
<manveru> i'm now at `experimental-features = nix-command flakes ca-references recursive-nix` :P
<manveru> life can't get much more exciting than that...
<Philipp[m]1> I love the way ofborg assigns tags for rebuilds. More and more warning and redish towards 500 and then just resigns and uses grey.
<gchristensen> someone needs to give them colors :P
ixxie has joined #nixos-chat
<Philipp[m]1> I like it more this way ~_^
<jD91mZM2> manveru: You use flakes as a daily driver? I only have it in a container, I'm too scared to use it fulltime. Does home-manager and stuff work?
<manveru> jD91mZM2: yes, and yes
<FRidh> just started converting expressions at work to flakes
<FRidh> having to deal with systems is a bit annoying at first I find
<manveru> yeah... luckily i haven't had to try any cross-compiles with it yet
waleee-cl has joined #nixos-chat
<manveru> though they work in theory, you have to expose all combinations beforehand i think?
<manveru> using https://github.com/numtide/flake-utils i don't really care though :P
<FRidh> I suppose so, haven't gone there yet.
<andi-> Doesn't even have to be cross compilation. All target platforms that you want to support must be in there. Hopefully all flakes expose multiple targets in the same way and not just amd64..
<manveru> well, if they don't, then you can just treat a flake as a normal path to import from and call what you need yourself
cjpb0 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 244 seconds]
cjpb0 is now known as cjpbirkbeck
<manveru> gchristensen: guess the lack of kvm makes my life horrible again even with that :P
<gchristensen> manveru: what do you mean?
<manveru> my awesome upload speed for that small 350MB image :P https://usercontent.irccloud-cdn.com/file/oye6JzLh/2020-06-30_16-16-12_shot.png
<manveru> i wish i didn't live in a 3rd world-internet country
<manveru> guess i gotta build those on hydra
<bkv> Flake-utils looks neat
<bkv> I might use that
<bkv> Dedup some code
<manveru> gchristensen: they weren't kidding about the difficultiy to debug this...
<gchristensen> which part?
<manveru> well, i went with http for now because even with your settings there was something about OCSP
<manveru> but i only got that error in qemu
<gchristensen> oh hehe
<manveru> on ec2 all i see is an error even before that
<gchristensen> it sounds like it isn't doing dhcp
<manveru> i made a second image with the download url hardcoded because the for some reason returns 404s today
<gchristensen> huh
<manveru> eu-central-1 is a strange place :P
<manveru> yesterday KMS was failing...
<gchristensen> lol
<gchristensen> lol.
<manveru> how do people ever get anything done on AWS?
<manveru> so... i guess next i'm gonna hardcode the ip too
<gchristensen> =)
<gchristensen> you should see Azure
<manveru> hm, is the ipxe.usb the right one to use?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<aleph-> Hmm, question. What's the process for upstreaming a golang package that has need of deps.nix? Do you just include that deps.nix file as well?
<cransom> aleph-: yeah. no shortage of deps.nix chilling in nixpkgs.
<aleph-> Got it, thanks!
<cransom> does someone make an aarch64/arm machine that isn't raspberry pi form factor/power? something like an intel nuc/midgrade desktop machine caliber?
<aleph-> Think so, yeah. Let me think.
<srk> NXP.. QorIQ, imx6-8
<srk> QorIQ are more communication oriented than desktop
<thefloweringash> solidrun's honeycomb (also nxp qoriq iiuc) probably fits that description too: mini-itx form factor, socketed ram (2x sodimm), atx power header, pcie slot, nvme, sata
<Philipp[m]1> That does look like a nice board!
<Philipp[m]1> Expensive... But nice.
<Philipp[m]1> Or are you not talking about this? https://www.solid-run.com/nxp-lx2160a-family/honeycomb-workstation/
<cransom> yeah, that seems about right. definitely on the spendy side, but far more capable than a pi.
<cransom> (thats what i found)
<cransom> but the sfp+ ports there, it's slanting towards a networking use case.
<Philipp[m]1> Yeah, that's probably true.
<Philipp[m]1> Also 4xsfp+ is probably a factor in the price.
<Philipp[m]1> And the lower sales numbers ofc.
<ashkitten> woah, es2018 supports regex lookbehinds, that was a major thing it didnt have last i checked
<ashkitten> and now spidermonkey supports that
<manveru> gchristensen: yeah, i dunno, it's like that ipxe image doesn't have my embed script...
<manveru> can't find any of the strings in the binary either
<manveru> how are you building this?
<gchristensen> just nix-build
<manveru> i basically have `ipxe.override { embedScript = pkgs.writeText "ipxe" ''#!ipxe ...''; }`
<FRidh> manveru: how do you built something from a local flake, without adding it to the registry? Do you happen to know?
<manveru> `nix build .`?
<manveru> `nix build .#someAttr` as well
<manveru> the dot can be any path or flakeref
<FRidh> ah right, .# is it
<FRidh> thanks
<FRidh> hmm, cached failure
<manveru> i think there's a new flag for that
abathur has quit [Quit: abathur]
<gchristensen> manveru: ca n you `ls` the result dir?
<FRidh> Did you get "overlay" to function? In the flake that defines it it is not consider, which is understandable because it would lead to an infinite recursion. But, it is my understanding that when you have a flake as input that has an overlay, that it should be applied to nixpkgs. However, one needs to actually import nixpkgs so it seems overlays don't get automatically added
<manveru> gchristensen: `ipxe.dsk ipxe.efi ipxe.efirom ipxe-efi.usb ipxe.iso ipxe.lkrn ipxe.usb undionly.kpxe undionly.kpxe.0`
<manveru> FRidh: they're not automatic, no
<FRidh> ugh
<manveru> gchristensen: trying the ipxe-efi.usb right now, since it had the url in it
<FRidh> in a way it makes sense, but pff
<manveru> i mean, how would that overlay even work?
<gchristensen> manveru: I don't know about that, I've never done that...
<FRidh> I am working with a Python packages set, where different packages are different flakes
<manveru> i use it like that
<gchristensen> I've never built my own ipxe binary
<manveru> gchristensen: well, at this point i'm at randomly stabbing in the dark :P
<manveru> literally...
<manveru> ipxe-efi.usb hangs at the booting line
<manveru> i really don't know what those names mean :|
<gchristensen> hmm
<gchristensen> manveru: I think you want undionly.kpxe
<manveru> that EMBED option isn't even documented afaict
<manveru> alright
<gchristensen> undionly.kpxe being for BIOS machines I think
<manveru> only one way to find out
<manveru> just wish this wasn't so... slow
drakonis has joined #nixos-chat
<manveru> hm, that fails differently, but still no bootable device
<manveru> so the ipxe.usb still seemed the most promising
<manveru> but it lacked that EMBED script is my theory
<manveru> time to dive into source again...
<manveru> oh lol
<{^_^}> ipxe/ipxe#115 (by realtime-neil, 1 week ago, open): fix EMBED: don't eagerly assign over non-empty value
<manveru> let's try that workaround then...
<gchristensen> danderson: what all are you doing with ipxe exactly?
<gchristensen> "I make my living on exactly this kind of minutia, but IMHO, one parenthetical clause in the make manual is too little reason to flout the principle of least surprise." hehe
<gchristensen> I wish systemd.unit's Condition*s were applied at runtime
<manveru> yeah...
<manveru> trying to get the bootstrapping of consul, nomad, and vault expressed in systemd units was not much fun :P
<manveru> it's still way more fragile than i'd like
<manveru> these things are actively anti-declarative...
<gchristensen> yup.
<gchristensen> I have some vault bootstrap stuff but it is really gnarly and not truly declarative
<energizer> interesting post on fido2 ssh https://news.ycombinator.com/item?id=23689499
<manveru> i did vault twice, once with KMS auto-unlock and once with normal bootstrap...
<gchristensen> nice
<manveru> wish packet had something like KMS now :)
<manveru> oh well, that alleged fix didn't fix anything...
<danderson> gchristensen: a copy of ipxe with an embedded script is burned into pixiecore, for part of its boot process
Synthetica has quit [Quit: Connection closed for inactivity]
<sphalerite> nothing quite like killing a bunch of shells after a complicated debugging session. :D
<gchristensen> danderson: what do you use pixiecore for actually?
<manveru> gotta make dinner and then i'll just go the make-image-from-nixos-rebuilt-instance route...
<manveru> this ipxe stuff is too hard for my brain :|
<danderson> gchristensen: I was going to build a fancy provisioning system, but never got around to it. Now I use it to ad-hoc boot installers for stuff now and again
<gchristensen> manveru: pxe can be frustrating and difficult in a physical network where you can insert tcpdump at any point and see what the heck is going on, and also poke the bios.
<gchristensen> manveru: doing it in an environmet which has no expectation of it being a thing you want to do sounds like hard-mode pxe
<gchristensen> danderson: cool :)
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-chat
slack1256 has joined #nixos-chat
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos-chat
<manveru> gchristensen: I'm naturally masochistic...
cole-h has joined #nixos-chat
<FRidh> ohh I got fooled by a `with` again . Combination of flake inputs that have certain names, and the python packages provided them having the same name. Functions in the list of inputs to python.withPackages are removed silently
<energizer> `with` should be deprecated and replaced by `using` that clears the scope
<cole-h> Or just deprecate `with` period :^)
<energizer> then youd have to do `[python3Packages.foo python3Packages.bar]`. nicer to have `using python3Packages [foo bar]` which doesnt allow the `with` confusions
<__monty__> python3Packages.[foo bar] would probably cover most use cases.
<energizer> yep
<__monty__> Clearing the scope isn't very composable, is it?
<energizer> it only applies to the contained expression, like `with`
<__monty__> Yeah, I mean `using py3Pkgs { list_requiring_an_additional_scope = using additional [ foo bar baz qux ]; }`
<gchristensen> oh thaht is cute
<energizer> also, do we really need `rec`?
<energizer> let/in is usually easier to understand imo
<sphalerite> __monty__: using py3Pkgs; { list_requiring_an_additional_scope = using py3Pkgs // additional; [ foo bar baz qux ]; }
<sphalerite> __monty__: that way it's explicit
<sphalerite> makes it clear (no pun intended) what's in scope
<__monty__> Got it.
FRidh has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos-chat
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
<gchristensen> "Fauci: U.S. coronavirus outbreak could top 100,000 new cases a day"
<joepie91> in today's episode of "maps that are technically labeled correctly"
<joepie91> "Water"
<gchristensen> lol
<__monty__> Neither OSM nor Apple maps give that lake a name though.
<joepie91> "Groote Wielenplas" is correct
<joepie91> "Groote Wielen Plas" is incorrect
cole-h has joined #nixos-chat
<joepie91> "Water" is technically correct but somewhat missing the point :P
cole-h has quit [Client Quit]
<samueldr> joepie91: is the name of that place translating to "water"?
<samueldr> google maps is horrible at this, it tries hard to translate things that don't make sense in place names here
<joepie91> samueldr: "water" translates to "water", yes :P
<joepie91> (no, "Groote Wielenplas" would translate something like "big wheel lake")
<cransom> gchristensen: as i'm told by my spouse when she happens across those news releases. 'all bleeding stops eventually'.
<gchristensen> cransom: isn't that the truth.
<samueldr> joepie91: I assumed that your google maps was serving english because of "Beauty Salon Melal"
<joepie91> samueldr: what language it serves me stuff in seems to be 50/50
<samueldr> I mean, is your google maps' own UI in english? "Search Google Maps"?
<joepie91> yes, currently
<samueldr> I wonder if you use it in full NL if the name changes to something that is appropriate
<joepie91> dunno
<joepie91> it's refusing to switch to Dutch UI
<joepie91> so 🤷‍♂️
<samueldr> heh
<joepie91> Google-Grade Engineering(tm)
averell has quit [Quit: .]
<samueldr> where you can't know if the failure comes from a human or an AI?
<samueldr> sorry, "AI"?
averell has joined #nixos-chat
<sphalerite> samueldr: artificial idiocy?
<joepie91> samueldr: more like "the company which boldly and badly solves problems that others have deemed a bad idea years ago"
<joepie91> occasionally that results in a uniquely useful piece of software
<joepie91> most of the time... you get "Water"
cole-h has joined #nixos-chat
<energizer> https://about.google/products/ turns out there really aren't that many great google products
<__monty__> Search.
FRidh has quit [Quit: Konversation terminated!]
<energizer> search, chrome, docs, drive, maps, gmail, fonts, hangouts, pixel
<joepie91> energizer: the real question is which list is bigger, that one or https://killedbygoogle.com/
<energizer> joepie91: i dont think it's reasonable to expect them to support every product forever
<joepie91> I don't think I claimed it was
<energizer> sure. but the point of that website is to criticize google for shutting down products
<joepie91> yes. that is possible without "expecting them to support every product forever" :)
<joepie91> (sorry, I don't have a lot of patience for arguments ad absurdum today)
cole-h has quit [Quit: Goodbye]
<energizer> which products "should" they have kept
<energizer> and for how long
waleee-cl has quit [Quit: Connection closed for inactivity]
<infinisil> ,shrug = "¯\_(ツ)_/¯"
<{^_^}> shrug defined
<infinisil> ,shrug
<{^_^}> "¯\_(ツ)_/¯"
<infinisil> > shrug = "¯\_(ツ)_/¯"
<{^_^}> shrug defined
<infinisil> > vom shrug
<infinisil> ..?
<infinisil> > vom shrug
<infinisil> > :v vom
<infinisil> ,ping
<infinisil> RIP
abathur has joined #nixos-chat
<infinisil> ,ping
<{^_^}> pong
<infinisil> Wait is this reproducible
<infinisil> > vom shrug
<infinisil> ,ping
<infinisil> !
<infinisil> (I restarted the bot after the RIP btw)
<infinisil> Restarting it again
<infinisil> ,ping
<{^_^}> pong
<samueldr> infinisil: what did you do to the poor thing?
<infinisil> Yay, I managed to break the {^_^} backend
<samueldr> your backend, right?
<infinisil> This is what I get on my side: https://paste.infinisil.com/Q7ycBO9jt4
<samueldr> ah
<infinisil> I don't think this is my side
<samueldr> the joy of bytes being abused as a string
<infinisil> > vom "hello"
<samueldr> looks like your side is not handling the error in a restartable manner?
<{^_^}> "hello"
<samueldr> infinisil: it's the tsu + the bytes for irc colors
<samueldr> it must make an invalid UTF-8 sequence
<infinisil> samueldr: Yeah I guess, even though I already added so many code to handle restarting..
<samueldr> > vom ツ
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):318:5
<infinisil> s/many/much
<samueldr> > vom "ツ"
<samueldr> IRC messages are not UTF-8 strings!
<infinisil> (restarting)
<infinisil> Lemme go into debug mode
<samueldr> they are byte sequences if ASCII chars that have been co-opted into being compatible enough with utf-8 for all intents and purposes
<bkv> what language is it written in?
<infinisil> *puts on hacker glasses*
<samueldr> byte sequences of ASCII chars*
waleee-cl has joined #nixos-chat
<samueldr> infinisil: I don't think at any point that `streamUtf8` will be valid with IRC strings
<samueldr> there is no guarantee it's UTF-8, even though they act as it mostly
<infinisil> Where's streamUtf8?
<samueldr> (in your paste)
<infinisil> Ah
<samueldr> I don't know what is a good solution here, considering if you treat it as a pile of bytes, you're going to lose the context of utf-8 chars!
<samueldr> (and possibly break those even more!)
<infinisil> > "ツ"
<{^_^}> "ツ"
<infinisil> > vom "ツ"
<infinisil> (restarting)
<infinisil> > lib.id "ツ"
<infinisil> ,ping
<infinisil> Oh it never fully restarted
<infinisil> ,ping
<{^_^}> pong
<infinisil> > lib.id "ツ"
<{^_^}> "ツ"
<samueldr> it's the bytes for "mirc colours" that are at issue here AFAIUI
<infinisil> Yeah looks like it
<infinisil> Well I mean, the amqp connection closes
<manveru> gchristensen: holy moly i got ipxe working :)
<infinisil> That's either a bug in my amqp client library or the server library on the other end
<infinisil> (it's not my library, just the library I use)
<gchristensen> manveru: nice!
<manveru> i dug through the ipxe source and found this little gem: https://github.com/ipxe/ipxe/blob/master/src/config/cloud/aws.ipxe
<gchristensen> whao
<manveru> and now i'm ssh'd into that thing :D
<manveru> it's a tmpfs with 2GB...
<manveru> probably my memory?
<samueldr> tmpfs IIRC defaults to memory/2
<manveru> yeah, this got 4 usually
<manveru> t2.medium
<manveru> so let's see if there's any disk...
<manveru> there isn't even /dev/disks :P
__monty__ has quit [Quit: leaving]
<manveru> not sure how useful a nix store in ram is
<manveru> and i specified 30GB disk when making the AMI
<manveru> there must be some magic i have to do
<manveru> oh, right, i didn't even do any hardware config yet...
<aleph-> God I hate k8s so much
<danderson> aleph-: I'm sure it's no solace, but you are completely correct :P
<aleph-> danderson: Need to get this working by Friday for a demo at Microsoft
<aleph-> RIP
<aleph-> danderson: Gotta love my pod seeming to mount my SSL cert secret and then not reading them for the application... sigh
<manveru> hm, there are /dev/xvda* thingies, that looks promising
<aleph-> manveru: aws?
<manveru> yeah
<aleph-> Yeah they renaim disk dev names internally on instances
<manveru> i didn't include the amazon-image module in my build
<manveru> so nothing is magically working :P
<aleph-> heh
<manveru> even so my image took like an hour to upload over DSL...
<manveru> really need to build that stuff on packet
<manveru> heh, that still has a `# Always include cryptsetup so that Charon can use it.` in it...
<manveru> wonder if nixops is really still using that
<gchristensen> nixops' autocrypt code was moved out to a module
<gchristensen> sinec it really isn't unique to nixops
<manveru> i wonder if we could make something like nixery for ec2 instances now :)
<gchristensen> I have nixery for ipxe
<manveru> o.O
<manveru> you have all the tings...
<gchristensen> but ipxe doesn't like it the way I did it
<gchristensen> (one `initrd` command per store path... ipxe isn't good at id.)
<manveru> yeah...
<gchristensen> a very minor change of just cat`ing them together would fix it
<gchristensen> and moving that to a server-side thing instead of a build
<manveru> i was more thinking of basically putting a flake url in the userdata
<manveru> anw, let's see what i can hack together tonight
ixxie has quit [Quit: Lost terminal]
<aleph-> Wish I had time to hack tonight :/
<aleph-> Or this week
<manveru> who needs sleep anyway...
<aleph-> Right? I just really hope my boss didn't use the word "kubernetes" at any point in that email thread
<aleph-> Since I was clear that wasn't done yet >_>
<manveru> gchristensen: turns out you don't need kvm to build this netboot image :D
<manveru> your readme had me fooled
<c74d> huh, Google no longer asks me for a password to sign in, only for the second-factor auth from my phone
<c74d> so it's... no longer a second factor, only a first :/
<samueldr> to actually sign-in?
<samueldr> or to resume and verify you are you?
<gchristensen> manveru: oh you could delete that
<c74d> samueldr: to sign in on what should appear to be a new computer (actually just a new user account on an old computer)
<samueldr> right, scary
<manveru> gchristensen: i'm still pondering whether to fork the amazon-image module, or yours... they conflict atm
<c74d> I guess it could be looking at the IP address and deciding it must be me, but that seems... weak :\
<manveru> i'm assuming the default mounts in amazon-image aren't very useful for this...
<manveru> mkForce to the rescue...
<manveru> gchristensen: i got the ok for open sourcing all this btw, so will clean it up and put it somewhere tomorrow
<manveru> hopefully someone will write docs for it though :P
parsley936 has quit [Remote host closed the connection]
<gchristensen> nice!
<ldlework> Debate between Micheal Moreno and Suris The Skeptic on Liberty in less than an hour: https://www.twitch.tv/michaelmorenophilosophy
<gchristensen> manveru: what will you open source? it sounds great
<manveru> gchristensen: it's kinda nixops for terraform, with a hashicorp stack cluster as example
<manveru> i still tried to come up with the best way to provision autoscale groups for actually running the nomad jobs, and that's where this ipxe thing comes in :)
<manveru> there's still some hardcoded stuff like regions and kms keys and iam roles that should be exported form terraform, and i only support one region per deployment atm...
<manveru> but well, i hope someone will find it useful even though it's messy
<gchristensen> ahhh right
<samueldr> I have this issue where I need to figure out a solution with low latency streaming to game on (linux native) games
<samueldr> anyone has experience with this?
<samueldr> I had some hopes in a hardware solution but it looks like it introduces too much delay
<samueldr> I need to use streaming because my fast computer is all over the way in another room
<samueldr> and no, I can't simply bring it all the way over here