gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-chat
evanjs has quit [Client Quit]
evanjs has joined #nixos-chat
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos-chat
vika_nezrimaya has quit [Ping timeout: 265 seconds]
drakonis has quit [Quit: WeeChat 2.6]
drakonis has joined #nixos-chat
<infinisil> Yay I got my machine working again, nvme powered
<infinisil> For some reason the nerdfonts build failed though, so my fonts are kind of messed up right now
<Church-> Alright I might try packaging a Java app
<Church-> Wanna package this up. https://github.com/tools4j/stacked-off
mog has joined #nixos-chat
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos-chat
cjpbirkbeck has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos-chat
endformationage has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
cjpbirkbeck has quit [Quit: Quitting now.]
xd1le has joined #nixos-chat
<gchristensen> aaand we're back to XML for declaring hw
<pie_> XD
<pie_> wheres the last place we had that?
<gchristensen> dunno actually :P
<ivan> I know it from http://docs.bcfg2.org/
<gchristensen> I'm telling you if we just hold on a bit longer docbook will get popular again
<etu> It feels like markdown has quite some dominance... I don't like markdown, it feels like a worse org-mode.
<gchristensen> yeah we should actually use markdown
<pie_> ive recently been wondering, maybe docbook isnt that hard
<pie_> its the lack of integration isnt it
<gchristensen> yea
<pie_> i guess if you had to edit markdown with a hex editor that would also suck
<etu> :D
<pie_> thus i have come upon profound knowledge today. real zen moment here.
Synthetica has joined #nixos-chat
chreekat has quit [Remote host closed the connection]
chreekat has joined #nixos-chat
chreekat has quit [Ping timeout: 246 seconds]
chreekat has joined #nixos-chat
<tilpner_> infinisil: What lbafs does nvme-cli list for your device, and which one did you choose?
<tilpner_> (logical block addressing formats, AFAICT)
<gchristensen> where does nvme-cli come from?
<etu> > pkgs.nvme-cli.meta.description
<{^_^}> "NVM-Express user space tooling for Linux"
<gchristensen> hm
<gchristensen> ah I see, I tried to run the command nvme-cli
<tilpner_> gchristensen: "nvme id-ns /dev/nvme0n1" in a shell with nvme-cli
<gchristensen> lbaf 0 : ms:0 lbads:9 rp:0 (in use)
<tilpner_> Huh
<tilpner_> That's the only one, right?
<gchristensen> yeah
<tilpner_> I guess that saves you the choice
tilpner_ is now known as tilpner
<gchristensen> what choice?
__monty__ has joined #nixos-chat
<eyJhb> Some place at the university, they are doing sound tests (in the basement we think), so at random intervals there are some spacy sounds
<eyJhb> Its more weird than I would expect it to
<gchristensen> neat
<tilpner> gchristensen: Mine has two formats
<tilpner> lbaf 0 : ms:0 lbads:9 rp:0x2
<tilpner> lbaf 1 : ms:0 lbads:12 rp:0x1 (in use)
<__monty__> Don't say that too loudly. People might decide to storm the place. Since storming Area 51 is a criminal offense.
<tilpner> lbaf 0 was in use OOTB
<tilpner> gchristensen: The only source I found on interpreting the values of rp (relative performance) was a random blog entry
<gchristensen> seems weird
<tilpner> gchristensen: And it said that 0 is best, and it would make sense that if physical block size equals logical block size, the block emulation is not necessary, and the drive performs better
<gchristensen> that is definitely true
<tilpner> My zpool already used an ashift of 12, so the format with lbads:12 seemed like a good idea too
<tilpner> And I figure lbaf 0 is only the default for legacy reasons, but that's just an assumption, so I'm looking for someone else to confirm it
<tilpner> Reformatting the namespace of course delete all your data, so it's not something you can easily benchmark after the drive is already in use
* tilpner should have done the benchmarking, but was too impatient
<gchristensen> many/most drives like about it anyway
<gchristensen> lie*
<tilpner> Perhaps this disables the lie
<tilpner> I don't recall the reported block sizes before reformatting
<tilpner> But at least now queue/physical_block_size = queue/logical_block_size = 4096
<gchristensen> right on
<eyJhb> __monty__: they are welcome! THere is cheap beer as well
<eyJhb> Whoo, you got your cloak srhb
<eyJhb> They have now for some reason slowed the sound down. It did not make it more pleasant
<__monty__> Is this loud enough for recordings?
<eyJhb> I would assume so yes :p
<__monty__> Well send us some.
<eyJhb> I will try to catch it next time
<eyJhb> Damn it. It is waaaay too fast for me to open my recorder...
<__monty__> Just have it open and poise your finger over the button. Don't think about lost productivity rn. We need to hear these sounds.
<__monty__> ; )
<tilpner> Or keep it open, work, later cut out everything not relevant
<eyJhb> I might have gotten it!
<__monty__> Bonus points for recording in an open format like opus.
<eyJhb> mp3 sorry
<__monty__> Ugh, the worst of the audio formats.
<eyJhb> It was either mp3 og wav
<tilpner> Pssh, don't be picky, __monty__
<eyJhb> Which site it good to share it on?
<__monty__> Ogg could be opus. But vorbis is still cool and open.
<eyJhb> __monty__: you must know a site I can upload it to ;)
<__monty__> I don't actually. I always share direct.
<__monty__> Some pastebins handle other mime types gracefully.
<__monty__> Others just serve whatever you give them.
<tilpner> I use my own, so I don't know a good one either
<eyJhb> Then lets to it this way I guess
<eyJhb> curl https://termbin.com/hdcz | base64 -d >test.mp3
<tilpner> :D
<eyJhb> #ez
<eyJhb> Well, if it works it works :D
<__monty__> No go for me.
<__monty__> I guess soundcloud's the go-to for audio.
<tilpner> Works fine, and doesn't contain enough training data to tell what you typed
<tilpner> Is a little quiet, so __monty__ needs to turn their volume up
<__monty__> My curl's complaining.
<eyJhb> Weird, what is it saying?
<eyJhb> 2 secs
<__monty__> "curl: (23) Failed writing body (0 != 16384)"
<tilpner> __monty__: https://tx0.co/Duq
<tilpner> Can listen in browser
<__monty__> And base64 is complaining about no option -d >.<
* tilpner illegaly redistributes eyJhbs file
<eyJhb> I should setup my server to allow me to push file more easily, thanks tilpner :p I was almost ready with my SimpleHTTPServer
<eyJhb> Haha, I will sue you! :D
<eyJhb> *gets sued myself for recording their sounds*
<__monty__> Huh, a lot more spacey than I expected.
<eyJhb> Precisely! And they are going nuts atm. playing it all the time
<__monty__> eyJhb: Hey, you could argue the breathing makes it an original work of art. For those longing for the times of creepy phonecalls ; )
<eyJhb> I think like 10 times this past minute. But yes... It is weird sitting writing report, and then it happens :p
<tilpner> eyJhb: I can recommend and provide minio+local s3 client
<eyJhb> The breathing is actually my project partner, which just made the noise
<eyJhb> tilpner: provide you say? ;)
<tilpner> eyJhb: Not host for you, but provide modules, expressions and code for the s3 client
<eyJhb> So basically, MiniO provides a API like S3? So you can integrate directly with it, like you would s3?
<tilpner> Yes
<eyJhb> Which client do you use to upload to it?
<tilpner> Minio serves the content, and remembers the mimetype you set for it
<eyJhb> And tx0.co is your server?
<tilpner> Previously, I had some lua-in-nginx setup, and it was a lot simpler, but openresty broke permanently for my case
<tilpner> Yes, my minio instance is serving tx0.co
<eyJhb> I should get a shorter domain name..
<eyJhb> eyjhb.dk is not short enough!
<eyJhb> Also it points to Github
<tilpner> Also does code highlighting if you ask it to
<eyJhb> Niiice :D
<eyJhb> I should set that up then
<eyJhb> So it handles /paste as well
<tilpner> That's the bucket name
<tilpner> But you can choose any object name you want
<tilpner> This is actually paste/paste.nix in the paste bucket
<tilpner> ^ that's the convenience wrappers to install on the client
<infinisil> Pasting stuff is done with piping to `ssh machine pst` :)
<tilpner> infinisil: I had a much simpler setup before, but it didn't handle mimetypes well
<tilpner> And the also-simpler openresty setup became impossible, so I did this nonsense
<infinisil> For filetypes i can do `ssh machine pst png`, then nginx does some good mimetype thing and it gets displayed properly in the browser
vika_nezrimaya has joined #nixos-chat
<tilpner> Yes, but then your URLs are longer :)
* eyJhb should be taking notes, for when he has time
<tilpner> Which is a problem if you need to dictate it to your grandma on the phone
<infinisil> Hehe
* etu tend to just put files in a directory that a webserver exposes :p
<eyJhb> Come on, just do a full sha256 hash and use as URL
<etu> Sometimes I hash filenames and/or contents and use that in the path, if it's supposed to be hard to guess.
<eyJhb> tilpner: waaay too accurate
<eyJhb> etu: I will guess it anyways!
<infinisil> tilpner: Haha so accurate
<eyJhb> Wondering if you could actually do some timing attacks on that, but I guess not......
<eyJhb> Never really found a place where you could do a timing attack in real life
<etu> eyJhb: sha512 hashes :)
<etu> eyJhb: Have fun :D
<eyJhb> etu: give me a couple of years
<eyJhb> :D
<infinisil> I guess Firefox Send is a great way to quickly send a file without setup nowadays
<eyJhb> Didn't know about it until worldofpeace used it
<eyJhb> Damn, free without signup is a GB
<eyJhb> 1**
<tilpner> infinisil: Ehh
<tilpner> I need to sign in to change the settings
<tilpner> And with the "expire after 1 download", it's not something you could use to share to a channel
<infinisil> tilpner: I'm more thinking of the usecase in the xkcd
<tilpner> Ahh, it'd work for that. I was applying it to the space sounds from earlier
<infinisil> Thunderbird even automatically suggests firefox send with too big files i think :o
<eyJhb> I might as well just come to terms with, I am not going to accomplish anything project related today
vika_nezrimaya has quit [Ping timeout: 265 seconds]
<etu> I wounder...
<etu> Is there some way to build a FUSE with php?
<eyJhb> NO! Bad etu !
<gchristensen> I'm sure!
<eyJhb> We shouldn't encourage such ideas :D
<etu> So I could have configuration.php and such and when you read configuration.nix it would parse the php file through the madness that composer2nix uses to generate nix expressions from php code
<etu> How... eh, uh, useful... :D
<gchristensen> this reminds me of a certain hackathon
<eyJhb> etu: use the ping FUSE instead
<eyJhb> :D
<etu> I have a hackday that I'm attending on Saturday
<etu> I need a project
Shoubit has joined #nixos-chat
<adisbladis> etu: Look at this madness: https://github.com/svanderburg/nijs
<adisbladis> It's very similar in spirit :)
<gchristensen> how about a fuse filesystem which when reading a file searches github for a file by that name and returns the content of a random match
<etu> gchristensen: Seems sane
<etu> :D
<etu> gchristensen: How does ls work?
<etu> or "echo *"
<gchristensen> no ls support
<etu> adisbladis: Aaah, written by the same person :D
<infinisil> qyliss: Regarding the "being typed means it's a subset" thing, yeah that
<infinisil> S wrong, but
<infinisil> I think the idea is that if you remove the typechecker from a language it will allow at least the programs that were valid before
<infinisil> But potentially more
<eyJhb> gchristensen: I didn't need to do anything today anyways
<gchristensen> lol
<eyJhb> :D
<gchristensen> the 3cheese printer is especially nice
<__monty__> infinisil: That's not wrong.
<eyJhb> The reverse ad blocker is nice as well
<eyJhb> `Unfriend the Poors by JB Rubinovitz is a free service that helps you ferret out and then unfriend your poor friends on Facebook.`
<Taneb> eyJhb: blocks everything that isn't an ad?
<eyJhb> So basically today.. 1. Send one security related email 2. Ate cake 3. Nothing
<eyJhb> Taneb: yup
<eyJhb> :D
<tilpner> infinisil: What lbafs does nvme-cli list for your device, and which one did you choose?
* infinisil goes to check
<infinisil> tilpner: `nvme list` doesn't show anything lbafs
<gchristensen> nvme id-ns /dev/nvme0n1
<infinisil> lbaf 0 : ms:0 lbads:9 rp:0 (in use)
<infinisil> Only one
<tilpner> Aww, thanks
<infinisil> Why are you asking?
<tilpner> Because mine has two and I wanted confirmation I chose the righ tone
<tilpner> *right one
<gchristensen> what is your system?
<infinisil> Hm I see
<tilpner> gchristensen: My system?
averell has quit [Remote host closed the connection]
averell has joined #nixos-chat
psyanticy has joined #nixos-chat
ajirx has quit [Quit: Leaving]
waleee-cl has joined #nixos-chat
drakonis_ has joined #nixos-chat
<ashkitten> hrng... wishing my pi4 kodi box could do web browsing
drakonis has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos-chat
<ashkitten> i wanna use cytube on it
drakonis1 has joined #nixos-chat
drakonis_ has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos-chat
<__monty__> Is there anything slower than a `systemctl status` on a 32bit computer?
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
<tazjin> __monty__: launching a Slack client?
<thefloweringash> Running anything off a microsd card
<Taneb> I have fond memories of trying to run Runescape on a dial-up connection
<joepie91> I have fond memories of trying - and succeeding! - to run Runescape on an ancient Dell Optiplex, ex-corporate desktop, running Windows... 98?
<Taneb> joepie91: this would have been my parents' old Windows 98 deskop, which is still in my bedroom at their house and in principle works
* gchristensen knows of a small engineering firm running windows 95
<Taneb> gchristensen: Godspeed to them
<gchristensen> it was either spend $10k on a new software license or $10 on a thrift store computer
<cransom> the upside is that i bet it runs real, real fast.
<drakonis1> the math checks out
<gchristensen> it runs pretty well
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 240 seconds]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-chat
evanjs has quit [Client Quit]
evanjs has joined #nixos-chat
<gchristensen> uh oh I've implemented firewall holepunching with netcat
<infinisil> With -c and a bash script?
<gchristensen> udp firewall holepunching is where you mutually send each other udp packets to the same ports to trick firewalls on both sides in to opening a hole between you
<leons> gchristensen: Are you only sending diagrams with comic sans now?
<gchristensen> lol it was just a funny coincidence that it was the best, first diagram to show up
<leons> That's what I'd say too now ^^
<gchristensen> lol!
<infinisil> Ah I was initially thinking of port knocking, thinking it could be implemented with -c of netcat or ncat, which can handle connections with a script
<gchristensen> ah, no
<gchristensen> it is a nice way to evade firewalls :)
<infinisil> Yeah i know about hole punching :)
<infinisil> NAT's, NAT's everywhere!
<gchristensen> anyway I've been wanting to make it work with netcat :)
<__monty__> Sounds pretty straightforward. Why would it be harder with netcat?
<gchristensen> I find netcat rarely does the thing I expect
<thefloweringash> can I recommend socat?
<gchristensen> https://pastebin.com/m31ZEEQy neat
<gchristensen> socat is a bit too complex for my taste
<pie_> i kind of figured youd end up with a router somewhere that does point to point port opening or something these days >.>
<thefloweringash> related trivia: the hole punching technique requires endpoint independent nat (rfc4787 REQ-1), which I have yet to figure out how to implement in a map-e environment on linux, which nats to m groups each containing n ports (rfc7597). anyone handy with rewriting packets with bpf? or better yet, can we just turn off legacy ipv4?
<gchristensen> as soon as #nixos-on-your-router fixes my ipv6 yes
<__monty__> Don't think there's any *users* clinging to IPv4. It's just not implemented well enough by ISPs yet, no?
<thefloweringash> is that a channel I can join? I was considering switching from routeros to do the bpf stuff when I found some free time to hack on it
<gchristensen> yup
<samueldr> I know I *can't* switch to ipv6 yet because of the way ISPs work here :(
<samueldr> the way they're left free to act in bad faith
<thefloweringash> my line provider has a strong incentive to use ipv6: the ipv4 over pppoe infrastructure is overloaded, but native ipv6 + ipv4-in-ipv6 is not, and it goes ~50x faster
<gchristensen> wow
xd1le has quit [Quit: leaving]
psyanticy has quit [Quit: Connection closed for inactivity]
drakonis1 has quit [Quit: WeeChat 2.6]
drakonis_ has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 268 seconds]
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis1 has quit [Ping timeout: 246 seconds]
drakonis1 has joined #nixos-chat
__monty__ has quit [Quit: leaving]
drakonis1 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos-chat
<eyJhb> etu: should I create PR for your files ;)
drakonis1 has quit [Ping timeout: 250 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<manveru> my ISP has ipv6, but for some inscrutable reason gives me a new IP every hour...
<gchristensen> forward-thinking on privacy?? :|
<manveru> so i setup a systemd timer that sets my DNS every 5 minutes :P
<manveru> plus wireguard, so i can pretty much always reach it anyway
<manveru> guess i could improve on that, just hasn't been a priority yet
<gchristensen> meh :)
<manveru> i just imagined the ipv6 future a bit different :)
<eyJhb> manveru: every 5 secounds!
<eyJhb> I so rarely use my VPS providers website, that I just forgot the name of them
<clever> ,unstable
<ashkitten> i forget, should i be using self or super in overlay
<gchristensen> use self until you get an error, then use super for that case
<infinisil> You mean final or super?
<infinisil> :)
<ashkitten> final?
<gchristensen> ashkitten: if you replace "self" with "final", does the meaning make more sense to you?
<ashkitten> maybe
<ashkitten> idk
<gchristensen> when you hit an error with self, see if renaming it to "final" gives you better intuition?
<gchristensen> (good night!)
<ashkitten> nini
<ashkitten> anyways im tryin to figure out how to get the aria2 daemon working
endformationage has quit [Ping timeout: 268 seconds]
<ashkitten> got it!
<ashkitten> hmmmmmm what if aria2c but you can upload things to it in addition to giving it urls
<ashkitten> why doesnt its rpc protocol let you do that tbh