gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
b42 has quit [Quit: WeeChat 2.9]
rajivr has joined #nixos-chat
Dotz0cat has joined #nixos-chat
slack1256 has quit [Remote host closed the connection]
<veleiro> anyone like Matrix protocol?
<infinisil> Whoops, this time in the right channel
<infinisil> ,launch starlink in ~T-6 minutes: https://www.youtube.com/watch?v=DpsrExXlQrA
<{^_^}> starlink in ~T-6 minutes: https://www.youtube.com/watch?v=DpsrExXlQrA: Ping for space stuff (edit this command to add yourself, see ",help"): infinisil Taneb ldlework etu philipp[m] eyJhb gchristensen __red__ red red[evilred]
<infinisil> Totally unrelated: Arghh the youtube api sucks
<infinisil> It is totally confused about user ids/user names/channel ids/whatever
<infinisil> Launch is on hold
<infinisil> ABorted :)
<rajivr> How does a commit go from `staging-next` to `nixos-unstable`? I found this document, https://github.com/NixOS/rfcs/blob/master/rfcs/0026-staging-workflow.md and it nicely explains how commits land in `master` branch, but not into `nixos-unstable` branch. `mobile-nixos` tracks `nixos-unstable`, and I am waiting for a few commits to land there so I can use its cache.
<infinisil> ARGH
<infinisil> They're all the same channel!
<infinisil> The former you get when clicking on it from your subscription list, the middle one you get when you click to e.g. the About page, and the last one you get when searching for the channel
<infinisil> ...???!!!
<infinisil> What the heck is Jombo1? It's not the username, it's the channel name somehow? But there's also a channel title (which is just Jombo in this case), and there's the actual channel id (the former url)
<infinisil> But also, youtube provides only ways to search for either channel id or username, but no way to search for this "channel name"
<infinisil> Aha! Apparentyl it's a thing called a "custom url"
<infinisil> But of course, there's no way to get from this "Custom url" to the actual channel id with the API
<infinisil> I'm trying to make a very simple CLI for "list all videos of this channel"
<infinisil> And it seems like I have to actually scrape the channel URL to do that..
<infinisil> Just for finding the channel id
<aleph-> infinisil: Trying to scrape metadata?
<infinisil> aleph-: I don't think I have a choice if I want this to work reliably
<aleph-> Well what're you trying to do?
<infinisil> aleph-: Make a CLI to list all videos of a channel
<infinisil> Sounds simple right!
<abathur> youtube-dl can't do it?
<aleph-> infinisil: Hmm. Sec
<infinisil> Original goal was to only use the api, because it seems crazy to involve youtube-dl when you just want something which (should) be available via the api
<aleph-> infinisil: Let me reach out to a archivist I know tomorrow. He wrote a go prog to download all of yt's metadata
<aleph-> Think he had a part to do it per channel
<infinisil> By all of yt's metadata you mean of all the channels?
<aleph-> Eyep
<aleph-> Every single video
<aleph-> Think it's still running
slack1256 has joined #nixos-chat
<veleiro> youtube constantly changes api i think, youtube replacement programs get outdated quickly
<infinisil> aleph-: Hm don't think that's gonna help in this case
<infinisil> Because they just need any way to list all videos, could be channel id, usernames, whatever
<infinisil> But in my case, I specifically want a way to go from "Any channel url" to the channel id
<aleph-> Aye true, might give you a better idea however or some code to easily work off of
<infinisil> Got a solution lol: curl https://www.youtube.com/c/Jombo1 | sed -n 's/.*var ytInitialData = \(.*\)/\1/p' | jq -r '.metadata.channelMetadataRenderer.externalId'
<infinisil> Chance this breaks tomorrow? Non-zero
<risson> ohhh how do I add myself to ,launch
<infinisil> risson: Join #bottest, edit the command (see ,help) :)
<infinisil> (make sure to not clear any existing people)
<infinisil> (very adhoc)
<colemickens> 1. This is the second mobo I've had that just forgets UEFI boot entries sporadically. This time it was just enable XMP caused Win boot loader entry to disappear.
<colemickens> 2. The windows recovery environment seems fully incapable of automated boot repair. This was the most easy scenario and it failed to do it. (mount ESP, run bcdboot). Not sure why they even pretend to try to auto-recover it. Yeesh.
slack1256 has quit [Remote host closed the connection]
<hexa-> hehe, like my x1c6
<hexa-> it forgot the bootloader on every bios upgrade
<hexa-> after the third or fourth time I just installed the bootloader in fallback mode
<hexa-> damn you lenovo
<aleph-> infinisil: Cursedddd
<risson> infinisil: thanks!
<infinisil> Oh my god
<infinisil> Well, turns out the youtube api only *pretends* to give you the list of all uploads for a channel. It's not actually all the uploads unless you can also find the "uploads" playlist in the users channel from the browser
<infinisil> The heck
<samueldr> colemickens: rEFInd at the fallback loader location is what I do for those bad EFI implementations that are forgetful
<infinisil> So e.g. while https://www.youtube.com/watch?v=dQw4w9WgXcQ is linked to the channel https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw, the playlist youtube gives you for "relatedPlaylists.uploads" is https://www.youtube.com/watch?v=C5oeWHngDS4&list=PUuAXFkgsw1L7xaCfnd5JJOw which is the "Popular Uploads" playlist
<infinisil> Notably, the above video is missing from that playlist, even though it's the _most_ popular upload by far lol
<infinisil> Great stuff youtube, really great
<cole-h> ZFS peeps: should my pool's ID be kept secret, or does it not matter?
<infinisil> From the youtube api docs: "contentDetails.relatedPlaylists.uploads: (string) The ID of the playlist that contains the channel's uploaded videos." -.-
<infinisil> Good enough
<infinisil> Evening wasted on this..
<samueldr> infinisil: 👀 youtube-dl -J https://www.youtube.com/c/KRAZAM
<samueldr> 15 videos listed there too
<samueldr> not sure if your method can dig up more videos on other channels
<abathur> infinisil: is it straightforward for a monkey with a mouse to find these? wonder if it'd be easier to use chromedriver to make their front-end deal with the API and then extract what you want from the dom or by running JS
<colemickens> samueldr: yeah, I _had_ systemd-boot on the other NVMe but it seems like maybe it only detects other installs on hte drive its installed to, since the usual chainload windows boot option was missing in the systemd menu?
<colemickens> samueldr: but gosh darn it, you're right I forgot about nixos->refind again. Maybe I would've gotten there if I hadn't recovered it? Thanks again for mentioning it, one of these days its going to save my baco
<samueldr> haha, also a reminder that rEFInd is on the nixos usb installer image
<samueldr> not that it's useful with NixOS
<samueldr> who keeps the dang installer around?
<samueldr> not like you're reinstalling after your initial install... ever...
<infinisil> samueldr: Yeah I found that too, but the original motivation was to just use the youtube api, since it's so simple
<infinisil> Or supposed to be
<infinisil> youtube-dl requires constant updating
<samueldr> heh
<siraben> just an overlay of interesting software i've found in random places
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
LnL- is now known as LnL
ky0ko has quit [Remote host closed the connection]
cole-h has quit [Ping timeout: 260 seconds]
<ashkitten> i really dislike seeing people use github as a file host when the project isn't open source
<clever> ive seen a project get auto-banned, because they hosted source elsewhere, and only uploaded binaries on github
<clever> i think the bots where thinking its malware
Jackneill has joined #nixos-chat
<eyJhb> https://github.com/carlini/printf-tac-toe is kinde cool and scary
BaughnLogBot has quit [Ping timeout: 245 seconds]
BaughnLogBot has joined #nixos-chat
<ehmry> ashkitten: did you know that github is owned by microsoft?
<Ke> to be honest I really prefer nice hosting of the blobs I need to not being able to get the blobs I need
<ashkitten> ehmry: yes?
<ashkitten> why does that matter
<ashkitten> Ke: i mean me too but i also prefer when things are open source and not just linking to an empty gh repo where all the releases have the text "initial commit"
<ehmry> ashkitten: github is itself a trojan horse
<ashkitten> whatever
<ashkitten> that's not what i'm talking about and you're distracting my point
<ehmry> disingenuous thing is being used disingenuously
<ashkitten> okay?
<ashkitten> i'm not saying this for github's benefit
<ashkitten> i could care less if people abuse github's servers, that's github's problem
<ashkitten> it's the "oh! this project links to github, that's cool lemme look at the code- oh"
cole-h has joined #nixos-chat
supersandro2000 has joined #nixos-chat
<eyJhb> ashkitten: Do you have any examples of that? :p (I totally agree, I don't want to see blobs)
spudly- has joined #nixos-chat
spudly has quit [Ping timeout: 240 seconds]
spudly- is now known as spudly
__monty__ has joined #nixos-chat
<eyJhb> Anyone knows if you can get Mac OS X not to compress "__MACOSX", etc. files when you right click and press "compress" on a folder?
supersandro2000 has quit [Read error: Connection reset by peer]
<__monty__> eyJhb: Don't think that's possible. It's a "feature."
supersandro2000 has joined #nixos-chat
<__monty__> You'll have to use CLI or maybe The Unarchiver.
<__monty__> Hmm, nope, predictably that only decompresses.
<eyJhb> Thanks __monty__ , that is also what I could conclude so far.... :( Hoped there was an option some place
<eyJhb> Also... Wireshark + doas does not act nicely....
<__monty__> eyJhb: You could write a script for the person that removes the dir from a zip though.
<__monty__> They'd always need to postprocess but it avoids them having to use the CLI.
<__monty__> MacOS actually needs that directory to fully reproduce the uncompressed files btw, it's not just useless crap, only mostly useless : )
<eyJhb> Isn't it basically just settings and whatnot for the folder?
<__monty__> Not really settings.
<eyJhb> My vim just turned into windows.
<eyJhb> I think my PC just broke on latest unstable
<eyJhb> https://imgur.com/a/0GYK42c anyone seen that before?
<srk> I've seen something similar with plasma and nvidia legacy drivers
<srk> 20.09 tho
<eyJhb> Weird srk . Did a little Windows fixing (reboot) and it seems to work now
<srk> eyJhb: that gif is funny, it looks like you're cleaning dust off your left screen with cursor :D
cole-h has quit [Read error: Connection reset by peer]
cole-h has joined #nixos-chat
BaughnLogBot has quit [Ping timeout: 240 seconds]
BaughnLogBot has joined #nixos-chat
<__monty__> The haskell infra documentation was ripped out of the manual? :'(
BaughnLogBot has quit [Ping timeout: 265 seconds]
BaughnLogBot_ has joined #nixos-chat
BaughnLogBot_ is now known as BaughnLogBot
BaughnLogBot has quit [Ping timeout: 264 seconds]
BaughnLogBot has joined #nixos-chat
<sterni> I also don't really like it, I have haskell documentation on my list™
<sterni> I think a first step would be to translate documentation that only exist as youtube videos by peti to written form
<sterni> and then maybe add them to the manual again
<gchristensen> he might be willing to move it back to the nixpkgs repo once it is markdown'd
Jackneill has quit [Remote host closed the connection]
liebach has quit [Ping timeout: 272 seconds]
liebach has joined #nixos-chat
<__monty__> sterni: The manual has a link there. But I don't trust the readthedocs search. The monolithic manual isn't super nice to search but at least you can find stuff.
<sterni> yeah that's why I also lean towards the single file approach generally
<__monty__> Why does it always seem like writing docs is even harder than software?
<gchristensen> poking computers is fun, writing docs for people is mushy
<__monty__> I don't even mean writing as in composing the text.
<__monty__> Simply the problems surrounding that.
<__monty__> I assume peti took them out of the manual so as not to have to go through PRs to update docs?
<__monty__> That's an example of the sort of friction that can kill doc improvement efforts quickly.
<__monty__> But otoh having 20 separate docs that are all moving targets is hardly a better situation : /
<gchristensen> look at this absolute nightmare of a Go build: ttps://github.com/aws/amazon-ssm-agent/blob/3.0.755.0/makefile
<srhb> Holy moly...
<gchristensen> yeah honestly this is awful
<gchristensen> I thought the idea of Go is everybody had cookie-cutter goop? :P
<srhb> My favourite hate object is the kubernetes "api binding generator" for go which somehow doesn't support gomodules yet.
<gchristensen> O.O
joe[m]3 has joined #nixos-chat
<andi-> you mean that GO Api where nothing is verified on type level and it always fails during apply? Mirroring the TF experience.
<srhb> It's... not great.
<srhb> But I consider it a good day if I can make it run.
<andi-> not great is an understatement
<srhb> It's all about managing expectations!
<andi-> I am coming from NixOS to k8s and I have high expectations.
<srhb> Yes, that would be painful.
<andi-> *is* :P
<srhb> :-)
<jtojnar> __monty__: according to the issue he did not like removing TOCs from subsections
<__monty__> jtojnar: Thanks.
<__monty__> I've been using the manual since there was only the TOC at the top, though it was complete back then.
<__monty__> I'd take a man page with everything over the current situation tbh.
<gchristensen> programs that hard-code paths to things ... pro: makes it easy to find its dependencies, con: makes it harder to run on nixos
<gchristensen> without patching*
<V> gchristensen: nixos: makes it harder to run programs that hard-code paths to things without patching
<gchristensen> :)
<sterni> __monty__: unfortunately that has become less possible because converting markdown to a manpage… well is not nice
<sterni> __monty__: although it could work for the nixpkgs manual better than for the nix man pages
hplar is now known as aei
<__monty__> Hmm, I'm getting more disappointed with the choice of markdown the more time passes : /
<__monty__> Is this why someone's working on a bespoke markdown processor for nixos?
<f0x> bespoke?
rj has quit [Ping timeout: 268 seconds]
<__monty__> ryantm (with Mic92) is implementing a markdown processor just for the nixos manual, https://github.com/ryantm/mmdoc
<Mic92> __monty__: the markdown processor is imported as a library. This is more about styling + workflow
<__monty__> Mic92: Ah, thanks for clarifying.
<Mic92> __monty__: also it's quite fast like 1-2 seconds build time
aei is now known as hplar
mirage[m] has quit [Quit: Idle for 30+ days]
ky0ko has joined #nixos-chat
endformationage has joined #nixos-chat
waleee-cl has joined #nixos-chat
aei has joined #nixos-chat
<cole-h> https://i.imgur.com/aKYYtY1.png magic number
<gchristensen> uh oh
<gchristensen> what is that?
<cole-h> just queued jobs for the next (prospective) nixos-unstable bump
<gchristensen> ah
<siraben> anyone know why trunk-cross is so stagnant?
<siraben> after fast-forwarding master I wasn't able to test cross-compilation :(
<siraben> (unless I wanted to wait a while to compile GCC)
<siraben> hmm does nixpkgs have dogecoin
<siraben> > dogecoin.meta.description
<{^_^}> "Wow, such coin, much shiba, very rich"
<siraben> of course
<sterni> cole-h: the hydra night mode 😳
BaughnLogBot has quit [Ping timeout: 264 seconds]
<supersandro2000> dark reader is the only dark mode which is available on both chrome and firefox and does not suck, inverts some images but not all and also does not make everything yellow or high contrast
BaughnLogBot has joined #nixos-chat
<cole-h> AGreed
<joepie91> ++
<gchristensen> does anyone use GitHub Projects in Firefox and find dragging cards around does not work?
<__monty__> Seems to work for me.
<gchristensen> hrnm ...
rj has joined #nixos-chat
<cole-h> WFM
<__monty__> I don't disable JS, if that matters.
<gchristensen> "ClearURLs" was breaking it
<__monty__> Really? I have that enabled.
<gchristensen> huh
<gchristensen> ah ha, it also breaks Hey
<__monty__> The mail-for-people-who-hate-mail service? Don't use that so can't test.
<gchristensen> correct
<__monty__> I haven't ever had it mess with usability afaict.
<siraben> gchristensen: I just installed ClearURLs today, any effect on browsing?
<gchristensen> none except sometimes it apparently breaks stuff :)
lejonet1 is now known as lejonet
<__monty__> siraben: The effect I experience is getting rid of excruciating google urls : )
<gchristensen> hm interesting
<gchristensen> disabling and re-enabling clearurls fixed github projects
<__monty__> Weird
<sterni> maybe I should pick up my check all licenses in nixpkgs project again
<sterni> I wanted to use licensee which is what github uses for license detection
<siraben> sterni: what about gpl vs. gpl+
<__monty__> Yeah, that one's pretty much impossible to tell ime.
<sterni> siraben: yeah you could do that as well, but I wanted to basically build all sources in nixpkgs and then let licensee check them
<sterni> and then flag everything where something unexpected happens
<sterni> so we'd see some out of date cases possibly
<sterni> but with how unpackPhase works it's really annoying to get the source for any derivation
<sterni> the hack I used for this the last time around *shudders*
<siraben> ah I see
rj has quit [Ping timeout: 268 seconds]
ky0ko has quit [Remote host closed the connection]
rj has joined #nixos-chat
<gchristensen> you might want to use hydra's evaluator which would get most (but not all) things
<sterni> gchristensen: wait does hydra try to prefetch sources or something?
<gchristensen> no, but it'll print in a nicely parseable way the .drv path (which you can query with nix show-derivation and .jq for probable sources) + the license info
<sterni> sounds good yeah
<sterni> my first attempt at this was overriding derivations to just copy their src to $out
<sterni> but there's way too many edge cases for this I've discovered pretty quickly :p
* siraben exhales
cosimone has joined #nixos-chat
<joepie91> siraben: did you write that?
<siraben> i searched "nixos enterprise" on google and got the FUD piece as a top result? why oh why
<siraben> joepie91: no
<siraben> i was just relieved that someone published a detailed rebuttal
<joepie91> ah ok
<worldofpeace> yay!
<joepie91> honestly the original piece is barely worth reading or giving attention to
<worldofpeace> exactly
<joepie91> it reminds me extremely strongly of JS-bashing
<joepie91> "I had to work with it because of someone else's choice, didn't bother to learn it properly, and then got angry that it isn't exactly like how I'm used to, and now I'm claiming to have years of experience with it"
<siraben> right
<joepie91> exact same narrative arc
<joepie91> smoking gun for me is that they failed to accurately describe the many legitimate issues that Nix does have....
<f0x> "does not work exactly like im used to" :P
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
Jackneill has joined #nixos-chat
<eyJhb> I really hate when that happens
<eyJhb> echo "make webserver" > server.js
aei has quit [Ping timeout: 264 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
<siraben> Good thing about being young is it would be impossible for me to have "decades of experience in X devops or Y language" to lock in thinking
<siraben> downside i guess is i don't know what i'm doing half the time :P
<__monty__> Hmm, while it's probably correlated with age, I'd expect that to depend more on personality.
<samueldr> 0/10
<samueldr> "last name used in your government ID"
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
cosimone has quit [Quit: cosimone]
drakonis has quit [Quit: ZNC 1.8.2 - https://znc.in]
drakonis has joined #nixos-chat
<worldofpeace> samueldr: imagine being mononymous
<samueldr> that's illegal
<worldofpeace> eh, I guess I don' t know the laws in your country for that
<samueldr> (that was a joke)
<samueldr> it might be too, but I don't know
rj has quit [Ping timeout: 268 seconds]
<__monty__> Well, if you're mononymous your first name is obviously also your last name. And your middle name.
<samueldr> middle names are not real
<__monty__> Middle names must get complicated with spanish style names 🤔
<__monty__> "But I have an *even* number of names!"
rj has joined #nixos-chat
<samueldr> middle names are basically not a thing for a couple generations in the french-speaking population here in my province
<worldofpeace> __monty__: lots of my mail just has na at the
<samueldr> I *have* an even number of names
<worldofpeace> __monty__: at the end
<bbigras> samueldr: are our middle name like "joseph" and then "name of our godfather"? or that's just a church thing? I think I had that on my baptist paper.
<samueldr> I'm not actually sure
<samueldr> but I don't have those either
<__monty__> avg("Luiz", "Diaz") = Hioz?
<bbigras> I don't think I have them on my gov identity certificate or whatever it's called.
<samueldr> I mean, I'm "atheist by birth"
<__monty__> worldofpeace: "na"?
<samueldr> N/A but with english characters?
<bbigras> well we all born atheist. but for some of us, they shove it in our head in that soft spot we have as a baby. I had to revoke my baptist thing.
<bbigras> we all are*
<samueldr> bbigras: you know what I mean, there never was an intent to, and never was baptized
<bbigras> yeah
<gchristensen> careful now
<samueldr> to be clear, pretty sure bbigras is speaking about the act of baptism, not baptists the branch of protestants
<bbigras> yeah. the "What is dead may never die" thing
cosimone has joined #nixos-chat
<__monty__> worldofpeace: So you are mononymous? Did you have your name changed?
<__monty__> Anyone use multiple firefox profiles? Do you have a way not to get confused by the identical icons while tab-switching or quitting a firefox instance?
<worldofpeace> __monty__: a while ago. it was actually the second time. maybe one day I'll change it again
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
<bbigras> mononymous is like McLovin?
<__monty__> Mono - one, nym - name, ous - having.
<__monty__> #totallylegitetymologyexpert
<__monty__> 😎
<bbigras> uh. nice
<V> <__monty__> Well, if you're mononymous your first name is obviously also your last name. And your middle name. ← no, in the UK if you're mononymous you don't have a first name
<V> your name is, for legal purposes, your surname
<V> if you get a passport, the first name field is blocked out with Xs and there's a note attached stating that you don't have a first name
<f0x> pff reminds me the post service webform here was being annoying so i sent/received packages to "f0x f0x"
<V> webforms are even more annoying when your name doesn't contain 3 or more characters
<lukegb> ah yeah, "Please enter a valid name" being a hilarious error message (such as from samueldr's example...)
<cransom> worked with someone who had a `'` in their last name. they took pride in breaking every HR system he was hired in.
<samueldr> good ol' bobby O'Tables
<cransom> yeah. he would o'connor the crap out of those onboarding systems.
<__monty__> V: You can't get around facts. In a list of 1 names, that name is both the first and last element : )
<V> __monty__: try taking that up with a lawyer
<V> naturally there's a relelvant XKCD
<__monty__> Lawyers have their own special dimensions to get around facts. I'm pretty sure this is where all of those extra string theory dimensions come into play.
<samueldr> string theory is things like "is an hyphen an english character"?
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos-chat
<__monty__> Exactly. I see our galaxy brains are all synced up now. My work here is done.
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
<colemickens> Gonna report the yubikey gpg bug, wish me luck please.
<gchristensen> good luck, colemickens
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
omnd has quit [Ping timeout: 264 seconds]
rj has quit [Ping timeout: 268 seconds]
numkem has quit [Quit: The Lounge - https://thelounge.chat]
numkem has joined #nixos-chat
rj has joined #nixos-chat
omnd has joined #nixos-chat
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-chat
__monty__ has quit [Quit: leaving]