gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
supersandro2000 has quit [Ping timeout: 246 seconds]
supersandro2000 has joined #nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
rajivr has joined #nixos-chat
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 260 seconds]
tilpner_ is now known as tilpner
<ldlework> elvishjerricco: https://streamable.com/0o1gan lol
<ldlework> argh, linux audio broken again!
<ldlework> I didn't even change anything!
<worldofpeace> infinisil: I can't 🤣
<worldofpeace> tho I've seen worse
<colemickens> I wonder if anyone has tried closed-source patreon releases for OSS software. Write a feature, release it to Patreon only, add it to the open source release after N weeks, or after some donation threshold was met.
<samueldr> it gets hard when you mix in contributions from others AFAIUI
<ldlework> colemickens: I know some people who are doing that for D&D modules
<samueldr> because the license applies to their copyright ownership
<ldlework> patreon's get exclusive access for a couple months, then everyone gets it for free
<samueldr> so unless you have a CLA, which is not great for OSS, it's harder to do *outright* closed-source
<samueldr> (or reject any external contribution)
<colemickens> ldlework: nice, I hope that is going well for them; I haven't really come across that model in any of the things I patron so far. it's all "exclusive extra" content so far.
<colemickens> samueldr: hmm
<colemickens> samueldr: I guess maybe all CLAs bottom out on this, but it'd basically be a CLA that says "you have to give me exclusive non-OSS license for any code contributions" which feels... well, I'd be turned off.
<samueldr> yeah
<samueldr> wel
<samueldr> well*
<samueldr> CLA doesn't necessarily mean that
<samueldr> but generally you end up handing-off control of the code to that other party
<samueldr> which generally can include them just pivoting-it-off into closed-source outright
<samueldr> depending on the license though
<samueldr> you can do it
<samueldr> and even not depending on the license
<samueldr> you can do it in spirit
<samueldr> all those that allow distribution without distributing sources (e.g. MIT) you can just do it
<samueldr> and GPL, you could do it, and distribute the source to those who pay
<samueldr> hopefully no one leaks it
<samueldr> but if they do, it's what the license is there for
<samueldr> "hopefully", as in "hopefully for your support scheme"
<samueldr> though ideally you're doing it not relying on secrecy, but relying on people being good
kalbasit_ has quit [Remote host closed the connection]
danderson has quit [Remote host closed the connection]
danderson has joined #nixos-chat
<lovesegfault> Huh
<lovesegfault> God, ini is cursed
Guest88372 has quit [Read error: Connection reset by peer]
jared-w has quit [Ping timeout: 260 seconds]
sorear has quit [Ping timeout: 260 seconds]
Guest88372 has joined #nixos-chat
sorear has joined #nixos-chat
jared-w has joined #nixos-chat
<ldlework> argh, after figuring out this jack stuff I sort of feel a mortal obligation to write it all down
<ldlework> heh mortal
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
danderson has quit [Remote host closed the connection]
<clever> , i said!
<clever> ,
<{^_^}> Special commands: find tell locate expand inclusive-language random-pr - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help libraries ping channels paste escape'' -a escape" library overlay ifd pinning profiling botsnack unfree ask which-channel xml xy fancy-uninstall imperative wololo nixlang++ cache pills pointers tofu home-manager invite runtimedeps stateversion thesis commands exec matrixbridge smart-questions tias
<{^_^}> Invalid command syntax
<clever> ?
<clever> there it goes
danderson has joined #nixos-chat
<ldlework> woahhhh, i just figured out how to dynamically connect hardware devices to jack at runtime O_O
<ldlework> I wonder what the general mechanism is in linux to respond to USB devices being plugged in and what not.
<ldlework> I wonder if I could write a thing such that when you plugin a USB mic, it automatically adds a new source/sink to jack, and then wires them up to the pulseaudio fakes.
<ldlework> then....
<ldlework> /you could like just plugin a device and have it operational/
<ldlework> lol
<ldlework> hmm something something udev rules probably
<ldlework> i remember these being an arcane hell though hmm
<ldlework> I wonder if I could just leave the device running all the time, and it would only work when the device is connected?
<clever> ldlework: pulseaudio is getting udev events from somewhere, let me see
<clever> where did i leave that usb sound card...
<clever> ah, that should do
<clever> [clever@system76:~/shared]$ ps aux | grep pulseaudio
<clever> clever 3469 0.1 0.0 598748 10600 ? S<sl Jun09 263:06 /nix/store/ig9wg490s41f28q8wxp3pq39kyblaw27-pulseaudio-13.0/bin/pulseaudio --daemonize=no
<clever> [clever@system76:~/shared]$ strace -p 3469 -f
<clever> strace: Process 3469 attached with 3 threads
<clever> ldlework: when the daemon is idle, it is properly idle, all 3 threads are stalled out in poll() syscalls
<clever> [pid 3469] ppoll([{fd=4, events=POLLIN}, {fd=19, events=POLLIN}, {fd=18, events=POLLIN}, {fd=10, events=POLLIN}, {fd=13, events=POLLIN}, {fd=30, events=POLLIN}, {fd=29, events=POLLIN}, {fd=3, events=POLLIN}, {fd=28, events=POLLIN}, {fd=27, events=POLLIN|POLLERR|POLLHUP}, {fd=27
<clever> , events=0}, {fd=21, events=POLLIN}, {fd=24, events=POLLIN}, {fd=14, events=POLLIN}, {fd=17, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=7, events=POLLIN}], 18, NULL, NULL, 8) = 1 ([{fd=11, revents=POLLIN}])
<{^_^}> Invalid command syntax
<clever> ldlework: and this poll syscall returned, upon inserting a snd card
<clever> [pid 3469] read(11, "\1\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0pcmC1D0p\0\0\0\0\0\0\0\0"..., 272) = 64
<clever> [clever@system76:~/shared]$ ls -l /proc/3469/fd/11
<clever> lr-x------ 1 clever users 64 Oct 22 13:57 /proc/3469/fd/11 -> anon_inode:inotify
<clever> ldlework: aha, its using inotify to watch something!
<ldlework> this is some fuckin wizard shit
<clever> ldlework: i'm guessing its using inotify to watch /dev/snd/
<clever> and when udev creates new device nodes, inotify wakes it up
<ldlework> so that seems pretty straight forward
<clever> [clever@system76:~/shared]$ gdb /proc/3469/exe 3469
<ldlework> i bet i could use python to listen to the file, and register jack sink/sources for the device as they come and go
<clever> #0 0x00007f99843d5c72 in ppoll () from /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libc.so.6
<clever> Thread 1 (LWP 3469):
<clever> #1 0x00007f9984a2bf31 in pa_mainloop_poll () from /nix/store/ig9wg490s41f28q8wxp3pq39kyblaw27-pulseaudio-13.0/lib/libpulse.so.0
<clever> ldlework: yep
<ldlework> i can't understand how I, ldlework, have to write this in 2020
<clever> step 1, google python + inotify
<ldlework> i've worked with inotify before, I actually had the thought, but it seemed too easy
<ldlework> i guess that's the appeal of everything-as-files
<ldlework> "Write error: No such device" ah well, there goes the "just keep the jack sink/source running all the time" idea heh
<ldlework> maybe I will just make a few bash commands that let me enable disable my usb mic and everyone else can figure it out for themselves
<clever> ldlework: that would get you everything i think, not just sound
<ldlework> ah yeah i figured there'd be some information to descriminate by, but yeah might actually complicate things maybe
<ldlework> i was thinking at least I wouldn't have to parse a file
<ldlework> man I wish all command line utilities had --json flags
<ldlework> I have autojack.py open and I'm gripping my desk like "noooooooooooooooo don't do itttttt"
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos-chat
kalbasit_ has joined #nixos-chat
kalbasit has quit []
kalbasit_ has quit [Remote host closed the connection]
kalbasit has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
<clever> ldlework: and here, i just threw together a heap of C to dump the pi boot rom!
* colemickens grumbles loudly https://github.com/microsoft/vscode-ripgrep
cjpbirkbeck has quit [Quit: Goodbye, take care]
<etu> It's nice that now with 20.09 we actually have a manual section for PHP: https://nixos.org/manual/nixpkgs/stable/#sec-php
<etu> We improved that package quite a lot this release :)
aszlig has quit [Read error: Connection reset by peer]
aszlig has joined #nixos-chat
<ldlework> clever: strangely i can't get inotify to work!
<eyJhb> ,ping
<{^_^}> pong
<eyJhb> Sweet
<eyJhb> ,cookie
<eyJhb> etu: Never seem to remember syntax for the bot
<ldlework> strangely not even inotifywait sees the /proc/asound/cards file changing
<clever> ldlework: /proc is special, dont expect it to behave like normal things
<clever> ldlework: you want to watch /dev/snd/
<etu> ,botsnack eyJhb
<{^_^}> eyJhb: Oh thanks, have a cookie yourself
<eyJhb> Thanks etu :D
<ldlework> clever: I see, thanks.
<ldlework> clever: lmao, I just plugged in my mic and external speakers/mic started working
<ldlework> yey
<ldlework> freakin linux
<eyJhb> ldlework: SHYS! Don't say that out loud, maybe there is a Windows user lurking
<ldlework> heh
<eyJhb> They must not know we still have sound issues sometimes
<ldlework> "I knew it!"
<eyJhb> ^^^ That is what will happen
<ldlework> heh, I am writing some python for this
<ldlework> and I've been writing so much typescript/javascript
<ldlework> I am quadruple questioning myself on the syntax for literals and stuff
<eyJhb> ldlework: that is generally how it is going back to Python
<eyJhb> IF you want to screw yourself over even more, then do some Matlab once in a while
<ldlework> i have lisp to accompany the typescript hehe :)
<eyJhb> I feel like some of our packages, someone has just bundled it, and then never tried to actually use it.
<eyJhb> "It builds!", and then no clue how you can actually use it for other stuff
cole-h has quit [Ping timeout: 264 seconds]
danderson has quit [Remote host closed the connection]
danderson has joined #nixos-chat
<ldlework> hehe
<ldlework> i like how calling jack_lsp -c, that just prints out the current wirings, causes audio glitches
danderson has quit [Remote host closed the connection]
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<eyJhb> Also, so used to ctrl+c when I am installing something. Does not work well on Ubuntu
<ldlework> so looks like my challenge has changed to "packaging an existing python application"
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
<ldlework> Something is super screwy with recording audio
dadada_ has quit [Ping timeout: 264 seconds]
__monty__ has joined #nixos-chat
<gchristensen> doing io intensive things like "reading the disk" on AWS is reminding me that bare metal is pretty sweet and the cloud isn't quiiiite so good as I remembered
dadada_ has joined #nixos-chat
<supersandro2000> you mean someone others computer?
<gchristensen> I don't buy that perspective. the cloud is super good for a lot of things
<gchristensen> but doing traditional linuxey tasks that you maybe wouldn't normally bother doing in the cloud... not great!
<joepie91> gchristensen: depends a lot on the provider. the big cloudycloud providers just have bad perf :)
<gchristensen> yeah
<joepie91> with Azure topping the list in terms of utterly unusable disk I/O, AFAIK
<gchristensen> they have nice prices, apis, geodistribution, and services though :P (even when I fundamentally disagree with their business)
<gchristensen> yesterday I tried to `dd` one 2T drive to another, and it was going to take 4 days
<joepie91> can't agree on the prices, geodistribution is okay but not meaningfully different from 'a handful of reputable VPS providers' - the only real selling point there IMO is the API
<gchristensen> and one vendor
<joepie91> that's the thing that other providers are usually behind on
<joepie91> eh, I don't consider "one vendor" a feature, personally :P
<joepie91> baskets are bad
<gchristensen> depnsd on who you are :)
<gchristensen> not to mention their security posture, which basically no other provider can match
<gchristensen> anyway this morning is brought to you by `dd` running at 7.4MB/s, reading from an EBS volume and writing to /dev/null
<joepie91> lol
<joepie91> nice
<joepie91> 'compiling' xkcd goes here, but dd'ing
<Ashy> don't forget to crank the ebs volume type and iops up
<Ashy> io2 goes up to 64k iops on a single volume
<gchristensen> it took the machine like 9 hours to boot
<Ashy> you can change it on the fly without rebooting
<gchristensen> Ashy: it is snapshot based, so not sure even going to io2 w/ 64k iops will improve it in the short term
<Ashy> as always test on some other instance first of course
<Ashy> ah yeap
<eyJhb> gchristensen: 7 MB/s! That is faster than like, less than 7 MB/s.
<eyJhb> I actually see that often on some of my systems and get mad :p
<eyJhb> But mostly when I think it should be 100 MB/s (home file transfer), but I forget my default ssh config will go waaay out to connect to my server next to me
<gchristensen> 5400rpm rust can hit 250MB/s, how are you hitting 7? :) a hard disk over USB 2.0 would be faster at 60MB/s
<joepie91> 250? huh? afaik 100-130MB/sec is typical sequential for 5400rpm
<__monty__> : (, stuck on USB2 and 100 Mb networking.
<eyJhb> gchristensen: Sometimes I get slow speeds with USB 2, but it is mostly network. Soo HOME -> Luxembourg -> OpenVPN to home
<gchristensen> joepie91: ah yeah whoops
<aminechikhaoui> gchristensen did you just say nice things about Azure ? :o
<__monty__> I *think* he was talking about AWS?
<gchristensen> I'm talking about AWS this whole time
<aminechikhaoui> ah lol
<aminechikhaoui> I'm just trolling
<gchristensen> speaking of which, our AMI uses an MBR partition table so it is impossible to make /nix/store bigger than 2T without surgery
<aminechikhaoui> yeah I got bitten by that one time
<gchristensen> (:
<gchristensen> maybe we can sneak that fix in to the 20.09 AMIs
<eyJhb> I am having a harder and harder time, to realise that 2000 is 20 years ago, and that people form 2000 are not 10 years old... Like movies from 2005, etc. seems like fairly new...
pie_ has quit [Quit: pie_]
pie_ has joined #nixos-chat
<eyJhb> Any Makefile experts regarding for C++ projects?
<eyJhb> I have a Makefile that I would just want some eyes on real quick, before I add it to the wiki
<joepie91> eyJhb: heh, yeah, familiar problem
<eyJhb> joepie91: I never do much Makefiley stuff :p
<gchristensen> I have recently been working with a person who is an outright expert in Makefile and whooooboy the things they do are wow
<eyJhb> But can they do the same as Nix gchristensen ?
<eyJhb> :D
<gchristensen> they use it with Nix of course
<eyJhb> Then it is lovely! :D
<gchristensen> I'm not so sure.. :D
<eyJhb> I really want to bulid everything using Nix
<joepie91> eyJhb: no, I mean the age thing :P
<eyJhb> If I could, I would rebuild Earth in Nix
<eyJhb> OHh.. :p
<eyJhb> But nice I am not alone!
<sphalerite> eyJhb: "my default ssh config will go waaay out to connect to my server next to me" sounds like a case for tinc :p
<eyJhb> sphalerite: Shyyyysss, but yes, but no, but yes!
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
kalbasit has joined #nixos-chat
cole-h has joined #nixos-chat
<cole-h> For the interested, AMD's RDNA2 event is going live soon at https://www.youtube.com/watch?v=oHpgu-cTjyM (pre-recorded)
<cole-h> ~2m to go
<cole-h> (Live now)
<hexa-> rrraaaayyyyy traaaaccciinggg
<hexa-> tbh, I'm more interested in CDNA
<hexa-> pytorch/tensorflow support comes to mind
<hexa-> also they're talking 4k all the time, but the stream is only 1080p :<
<cole-h> $649 6800XT, $579 6800. If it's not a paper launch, Nvidia feeling pretty bad.
<drakonis> 999 bucks for the 6900
<cole-h> lol $999 6900XT (competitor aimed at 3090)
<drakonis> TOO MUCH
<cole-h> Better than a 3090 :P
<hexa-> according to AMD :p
<cole-h> Fair enough
<joepie91> dunno, so far AMD has been pretty honest with their benchmarks AFAIK
<hexa-> yeah, it's easy when you're on a streak :P
<gchristensen> how is sway's support for radeon?
<drakonis> uh
<drakonis> the best one
<hexa-> ^
<cole-h> Much better than nvidia lol
<gchristensen> neat
<drakonis> there's native kernel support for radeons
<cole-h> ^
<gchristensen> ahh right
<hexa-> nixos defaults to amdgpu, no configuration necessary
<cole-h> Considering they actually collaborate on the kernel and the open source driver
<hexa-> and sway just starts up
<drakonis> no issues ever
<cole-h> (Do note they also have a closed driver, not sure what the differences are)
<hexa-> rocm pro, likely compute?
<drakonis> the closed driver is for providing a few non essential stuff
<hexa-> amdgpu-pro even
<drakonis> proprietary components
<drakonis> amd's own implementation of pieces
<drakonis> amdgpu uses mesa instead
<joepie91> cole-h: amdgpu-pro is basically amdgpu with some extra proprietary stuff (I believe OpenCL and some other stuff?) layered on top
<joepie91> as I understand it
<drakonis> amdgpu is faster it seems
<drakonis> i'd buy it just to escape my nvidia hell
<cole-h> ^^^^^^^^^^^^^^^^^^^^^^^
<joepie91> I've refused to buy nvidia cards for years now specifically because of the driver crap
<cole-h> I bought my 1080 before I was on Linux x)
<joepie91> and I honestly can't think of anything to complain about in amdgpu
<drakonis> same
<drakonis> i bought my dinky ass 960 before linux
<joepie91> it just... works, no bullshit, no crashes, no weird errors
<drakonis> i'm still paying for it
<joepie91> no mysterious card resets
<drakonis> ah yes
<joepie91> UNLIKE A CERTAIN OTHER BRAND
<drakonis> i hate that i cant hibernate my machine...
<cole-h> 👀
<drakonis> because the driver wont recover
<joepie91> that appears to work fine for amdgpu also
<cole-h> I'm probably going to keep using my 1080 + a 5800 in tandem until all the bugs are ironed out, however
<drakonis> hmm
<cole-h> see: Navi reset bug
<drakonis> i see people caring too much about perf
<drakonis> i see not having to worry about the horror show that is dealing with nvidia
<drakonis> plus reasonably competitive perf
<cole-h> Well, when you're playing video games, you do want the best performance...
<drakonis> i dont even play anything that needs all this performance
<joepie91> eh
<joepie91> disagree
<joepie91> I want my games to actually, y'know, run
<joepie91> and with that I mean the game I selected to play, not the "what's broken with the drivers this week" game
julm has quit [Ping timeout: 265 seconds]
<drakonis> yes
<joepie91> performance is secondary to me :P
<cole-h> Fair enough. But in Windows, I never had any issues with Nvidia. Considering that's where the majority of "gamers" are... seems about right that they'd go for Nvidia
<cole-h> gamers -> desktop gamers
<drakonis> lol
<drakonis> yes
<joepie91> back when I still ran Windows, which was admittedly quite some time ago, nvidia was a shitshow there too
julm has joined #nixos-chat
<drakonis> its still kind of bad there
<cole-h> Really? Huh.
<drakonis> in some minor ways of course
* cole-h runs a win10 VM and hasn't had any issues
<drakonis> i've had some issues with cursors on full screen with flux and night light
<cole-h> tbh, the only issue I ever had with Nvidia was how the control panel takes 10 million years just to change tabs
<drakonis> the cursor would disappear or not be affected by the tint
<cole-h> OK, I don't think that's Nvidia related since there's a registry tweak to fix the "unaffected by tint"
<cole-h> At least for Night Light
<drakonis> it forces it to be a software cursor
<drakonis> from what i recall
<drakonis> but it breaks some apps
<drakonis> i've done it already[
<hexa-> Graphics card performance
<hexa-> Lmao playing among us
<cole-h> Hehe
<drakonis> yes
<supersandro2000> Windows Defender Quarantized my VM Disk Image last week
<supersandro2000> VirtualBox: Disk is full
<drakonis> lmao
<ldlework> elvishjerricco: drakonis: http://logos.ldlework.com/caps/2020-10-28-16-46-07.gif
<supersandro2000> took almost 30 minutes to get it out of that again
<drakonis> sick
<drakonis> love it
<drakonis> being able to read the compendium from the comfort of your emacs buffer
<ldlework> yeeeeeep
<supersandro2000> important question: .de or .org?
<drakonis> the last release of the year, everyone.
<drakonis> 20.09 is out
<gchristensen> what a treat =)
<drakonis> indeed
<drakonis> up next in the schedule, 21.03, featuring our goodest boy nix 3.0 (hopefully)
<cransom> seemed like a lot of interesting things in the release notes that i want to poke into.
<averell> almost hit the let's encrypt rate limit because of a bug, but other than that smooth ride
<gchristensen> sphalerite: pv -d is amazing!
<cole-h> drakonis: FWIW, 3.0 is 2.4 again
<sphalerite> gchristensen: :)
<Taneb> ldlework: that looks pretty cool, from where can I steal that?
<drakonis> hm, i see
<drakonis> so no experimental features will be moved out
<drakonis> Taneb: that's palantiri
<drakonis> i'm writing a thing in elixir
<Taneb> drakonis: thanks
rajivr has quit [Quit: Connection closed for inactivity]
<drakonis> elixir feels a bit alien
<drakonis> heck yeh
<drakonis> i see my domain there :v
<drakonis> i invite y'alls to play some rpgs on my foundry instance
<ldlework> yeah it would be fun to even do an impromptu thing
<ldlework> for just like an hour or whatever
<ldlework> drakonis: you should be helping me make foundry tools
<ldlework> for impromptu justice
<drakonis> hah
<drakonis> i'm writing a thing in elixir
<drakonis> now that i'm learning the basic constructs
<drakonis> i should be able to do it
<drakonis> the basic elixir constructs...
<ldlework> that doesn't bring us any closer to the theatre of mind!
<sphalerite> jD91mZM2: ma27 thinks your username is a result of confusing username and password
<ldlework> heh
<drakonis> hmm, i wonder if that experimental config module would ever get merged before nickel reached mvp status
<drakonis> it overlaps with it
adisbladis has quit [Quit: ZNC 1.8.2 - https://znc.in]
adisbladis has joined #nixos-chat
<drakonis> nice.
waleee-cl has joined #nixos-chat
danderson has joined #nixos-chat
sphalerite has quit [Quit: nixos 20.09, here I come!]
cjpbirkbeck has joined #nixos-chat
vesper has quit [Ping timeout: 256 seconds]
vesper11 has joined #nixos-chat
vesper has joined #nixos-chat
<jD91mZM2> sphalerite: ma27 is correct, my username is indeed confusing. One of the many points of it is that when someone IRL that I don't like asks for my username, I just power through it and leave
<jD91mZM2> They'll be like "yeah, uh, I didn't... oh... never mind"
<jD91mZM2> it's a flawed plan, a single pen and paper foil it
<jD91mZM2> s/foil/\0s/
vesper11 has quit [Ping timeout: 272 seconds]
<lovesegfault> jD91mZM2: your bio on github is one of my favorite things
<lovesegfault> literally every time I read it I laugh
<jD91mZM2> :D
<jD91mZM2> It's incredibly, incredibly old. I'm not sure why I haven't changed it, but now I'm pretty happy that I didn't
<lovesegfault> Please never change it
<jD91mZM2> I guess I won't, lol
<jD91mZM2> I'm getting Deja Vú, have you praised my bio before, or was that someone else maybe?
<lovesegfault> Hopefully I have!
<jD91mZM2> Hmm, not finding anything in the chat logs (thank God (samueldr) for those btw), I guess this is the start of my path towards insanity. I knew it would happen eventually ¯\_(ツ)_/¯
<samueldr> ,jdwhat
<{^_^}> jD91mZM2
<samueldr> it sums up what you said earlier
<V> "what's your username?" "V." "how do you spell that?" "V." "like, v e e?" "no, V."
<jD91mZM2> LOL
<samueldr> wee
<jD91mZM2> How many platforms have you been able to hog that name on, V?
<V> hog? hardly
sphalerite has joined #nixos-chat
<V> IRC only, pretty much
<jD91mZM2> Aww
<V> but it doesn't matter all that much, because I don't care for having a username
<jD91mZM2> Makes sense. I'm starting to think I should've separated my usernames across services, just like everyone should separate their passwords
<V> since I also get to have conversations like "what's your name IRL?" "V." "no, like, what's your *real* name?" "it's V."
<V> and then people get very confused
<jD91mZM2> It is?
<V> yes
<jD91mZM2> That is cool, did you change name or were you actually born as V?
<jD91mZM2> I mean I don't mean to be disrespectful, just confused and amazed
<V> is anyone born as anything? :)
<jD91mZM2> I'm pretty sure I was born as a human...
<jD91mZM2> But yeah I mean did your parents give you that name?
vesper11 has joined #nixos-chat
<V> nah. but they kind of forfeited any right to call me anything
vesper has quit [Ping timeout: 260 seconds]
<jD91mZM2> V: Oh, okay
<V> my point is really just that names are common identifiers given to something by people, and there's really no reason why anyone should keep a name given to them before they had a personality
<jD91mZM2> Absolutely, no, you're right.
<gchristensen> it is your name, do whatever you want with it
<V> I quite like the system some cultures have/had where a child gets an arbitrary name and then gets to choose their own at coming of age
<V> much more respectful
<gchristensen> that sounsd cool
<V> but there's no reason why you can't just do that regardless ^^
<jD91mZM2> Some day I want to get really rich and legally get all the names. Like a crap ton, until I hit some kind of strange limit and break all systems
<jD91mZM2> And then, at least how it works in Sweden, I can change between my first names for free I think. Well actually, I did hear there's a new law that makes your first name always be your *first* first name, but idk if it applies to me since I was born before this
<gchristensen> just take the name Bo and you'll already break a bunch of systems
<V> but yeah. I feel that mononyms are a concept that people can grasp, or that they're plausibly going to have come across at some point, but a single character? that usually blows peoples' minds :)
<jD91mZM2> gchristensen: Oh, why?
<gchristensen> misguided minimum length requirements
<jD91mZM2> Oh... oh no...
<V> minimum length requirements are usually at 2, sometimes 3
<V> I have fun :)
<joepie91> falsehoods about names article link goes here
<V> ayup
<jD91mZM2> I imagine you spam VVVVVVVVV, V?
<sphalerite> jD91mZM2: yep I saw ;)
<jD91mZM2> Great, okay
<joepie91> jD91mZM2: that's the name of a game, isn't it
<jD91mZM2> joepie91: Wait what?
<jD91mZM2> *googles*
<V> jD91mZM2: well, if I can't put my name, I'll put random crap in and prod customer support with GDPR :)
<V> if I care
<V> joepie91: only 6 of them
<V> jD91mZM2: thelettersixtim.es
<V> er
<V> thelettervsixtim.es
<V> thanks autocorrect
<joepie91> jD91mZM2: https://en.wikipedia.org/wiki/VVVVVV or https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ depending on what the "wait what" was in response to
<V> it's an awesome game
<jD91mZM2> joepie91: It was the former, VVVVVV. I'll check it out, has a fun name for sure
<jD91mZM2> Btw wait, I gotta try something... jD91mZM2jD91mZM2
<V> the soundtrack is really good too
<jD91mZM2> oh ok it doesn't ping me when I do it twice, so I'm not pinging V six times when I mention that game which I didn't know about. Good.
<V> a) that's client-specific, b) I have a number of custom highlight rules to prevent getting highlighted on things like voltage or SPIR-V
<joepie91> lol
<joepie91> and when I say something is v good?
<V> lowercase is out :)
<joepie91> AND WHEN SOMETHING IS V GOOD?
<V> yeah that highlighted me
<jD91mZM2> \o/
<joepie91> :P
<V> basically nobody does that though
<cransom> i feel bad for probably accidentally pinging c lever once in a while.
<V> I get a few bogus highlights but it's kind of rare at this point :)
* joepie91 can think of a community where you would very quickly be driven mad
<__monty__> V: Basically nobody *used* to do that though, FTFY.
<joepie91> cransom: I remember someone with the nickname 'Brick'
<sphalerite> cransom: clever only gets highlights if you put his name at the front of your message
<sphalerite> cransom: exactly for this reason
<joepie91> turns out 'brick' gets used as a word a lot more than you might think
<jD91mZM2> Oh, that's cle- smart.
<V> I was considering matching on start of line only, but people often put me in the middle/end of sentences
<V> so a blacklist is more useful
<__monty__> VVVVVV is a great game fwiw.
<__monty__> Is there a way to protect a directory from `rm -r` without taking away read permission, don't wanna miss out on ls?
<sphalerite> __monty__: -w
<sphalerite> __monty__: if the directory is write-protected, it can't be deleted from.
<sphalerite> Though you'll need to apply that recursively if you want to protect the whole tree.
<sphalerite> of course, root can still do whatever it wants.
<__monty__> sphalerite: No, I want to be able to delete files in it, add files to it, look at the files in it, but not accidentally delete the directory.
<__monty__> I don't need protection from root, just from myself.
<sphalerite> alias rm='rm -i'
<sphalerite> or zfs snapshots :p
<__monty__> Nah, that's a recipe for blindly saying y.
<colemickens> we need some nix community based musicians to contribute tunes for zimbatm's next stream :P
<sphalerite> hm, simpson seems to be away right now.
<V> [21:45] <jD91mZM2> Makes sense. I'm starting to think I should've separated my usernames across services, just like everyone should separate their passwords <- I do this. for anything where is isn't something publicly identifying me (e.g. GitHub), I just generate a random one and keep that in my password manager as well. comes with the nice side effect of not requiring something untaken across all the services
<sphalerite> like MichaelRaskin
<colemickens> I wonder how they make the random bit. I like to sha256 silly things and then take substrings that look nice for stuff like that
<jD91mZM2> sphalerite: Another solution: Switch to using trash-cli. I mean it's kinda silly, but I've gotten the habit to never use rm anymore, and it doesn't often save me I'm really happy when it does
<immae> __monty__: you can alias rm = rm -i
<__monty__> I mostly only use rm when I need the space.
<__monty__> immae: That just trains you to press y with muscle memory.
<immae> right
<jD91mZM2> sphalerite: TIL MichaelRaskin is 7c6f434c, I had no idea lol
<jD91mZM2> V: Nice
<sphalerite> colemickens: base64 for a wider variety of characters ;)
<sphalerite> base64 </dev/urandom | head -c 10
<V> tr -cd a-z </dev/urandom | head -c10
<V> for more controlled selection
<V> (then you can vary the set and such)
<samueldr> no *you* are an ofjevfikznko
<sphalerite> pwgen -0 for things that are halfway pronounceable
<andi-> How terrible is faking `curl` in a nix build with a script that just copies from /nix/store? Finally building coreboot...
<infinisil> Acceptable!
<samueldr> as terrible as you want it to be
<samueldr> I think it's not that bad of an idea though, as a way to move forward, leaving a huge breadcrumb to come back to and fix later
nckx has quit [Ping timeout: 264 seconds]
nckx has joined #nixos-chat
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
__monty__ has quit [Quit: leaving]
rajivr has joined #nixos-chat
* colemickens is so intimidated trying to jump into the middle of C++ codebase
<colemickens> I figured I'd look at https://github.com/NixOS/nix/pull/4086/files to see if I could implement https://github.com/NixOS/nix/issues/4193 but... I'm not sure.
<{^_^}> nix#4193 (by colemickens, 23 hours ago, open): nix: flakes: allow overriding flake inputs in bulk with extra nix file
<worldofpeace> colemickens: ooh, you're suggestion of an input override file is a great idea
<colemickens> cole-h: you use flakes and h-m and use the h-m module directly right? do you understand the who thing about nixUnstable being unsupported? Is that only if h-m is used "standalone" ?
<energizer> my APC UPS makes a *plink* noise every minute or so. is this normal?
<infinisil> colemickens: That seems a bit too ad-hoc to me, I feel like there has to be a better solution than that
<colemickens> infinisil: hm I'm a bit surprised at that reaction. I have a hard time imagining a good alternative (but that's likely my limited imagination).
<ashkitten> ugh that reminds me i need to replace my UPS
<colemickens> I thought it seemed elegant-ish or at least soemwhat simple? it would be the same schema as flake.inputs and the tooling could load the override file, parse it the same way and then update the inputs it'd already loaded.
<ashkitten> i even replaced the battery but it doesnt handle power outages at all
<colemickens> Just curious what you're thinking :)
<infinisil> colemickens: Ahh I didn't realize it's the same format as the lock file
Raito_Bezarius has joined #nixos-chat
<infinisil> s/lock file/flake.nix
<colemickens> infinisil: I should be more explicit!
<ashkitten> my uninterruptible power supply is quite interruptible
<infinisil> colemickens: Maybe this could be generalized to a full second flake.nix file
kalbasit has quit [Ping timeout: 240 seconds]
<infinisil> Well, one you could pass with --flake-override
<infinisil> And it would temporarily override any values in flake.nix
<colemickens> infinisil: yes, maybe, I was just wondering how far it makes sense to go with the override idea.
<colemickens> and then I also added a point about maybe calling it `--impure-overrides`? idk, trying to emphasize that this won't update the lock file and is considered a one-off-ish thing?
<cole-h> colemickens: That's my understanding -- if it's used as a package rather than the module