gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<infinisil> Yea
<infinisil> neeasade: How many playlists do you have now?
<infinisil> And how many songs?
<neeasade> 26
<neeasade> 7281
<infinisil> The main worry I have is that it gets unmanageable if more playlists and more songs are added
spudly1 has joined #nixos-chat
<neeasade> for sure. other worries: there are probably songs that are not in a playlist -- or like, mixes can have different vibes. or selecting by artist
<infinisil> I guess if your songs have appropriate metadata and you're using that to add/remove them, then it should be fine
<neeasade> I've got various experiments for the above but it's all ~interesting~
<neeasade> infinisil: mine don't
<neeasade> but that's why this approach is appropriate I think
<infinisil> Don't you need some metadata to include stuff in your playlists?
<neeasade> no -- the matching is done against the filepath
spudly1 has quit [Remote host closed the connection]
<infinisil> Hmm I see
<neeasade> then I can do stuff like have a "highschool" playlist that is against an archive from wayback
<neeasade> and shit like that
<infinisil> So I guess that is metadata, just not very structured metadata :P
<neeasade> (by adding the named folder, rather than an artist)
<neeasade> infinisil: yus
<infinisil> I see
<neeasade> infinisil: I see now I added something after that post -- some mangled artist specific handling:
spudly1 has joined #nixos-chat
<infinisil> Nice to see that an approach like that works well in practice
<infinisil> Once I get to writing my tool for that, I'll probably go for a cleaner approach that doesn't rely on file paths
<neeasade> yepp -- when I started doing this I thought it was so janky but honestly it's been pretty smooth, b/c I can slam stuff in and it automatically gets added to the right playlists
spudly1 has quit [Remote host closed the connection]
<neeasade> <infinisil> Once I get to writing my tool for that, I'll probably go for a cleaner approach that doesn't rely on file paths
<neeasade> for sure
<infinisil> Hm but yeah, I guess one should make use of any metadata available to help the system
spudly1 has joined #nixos-chat
<infinisil> Regarding the size problem, the idea of "in a new playlist (aka a new tag), all songs are included by default and need to be removed manually if not wanted" becomes a bit problematic
spudly1 has quit [Remote host closed the connection]
<infinisil> With a 10000 song library, creating a "rock" playlist requires you to just filter through all of them
spudly1 has joined #nixos-chat
<neeasade> yeah -- I guess that's not /quite/ a problem I face, since I first fish with search terms
<neeasade> still some filtering, just less so
<infinisil> Yea
<infinisil> But it might be okay if some smart inference is added
<neeasade> or just make it a keypress away
<infinisil> As shown earlier (inferring one tag from another, probabilistically)
<infinisil> neeasade: Yeah I'm gonna go for "skipping the song means removing it from the playlist)
Fare has joined #nixos-chat
<neeasade> nice
spudly1 has quit [Remote host closed the connection]
<infinisil> But then you need to make sure to change playlists when your mood changes
<neeasade> naturally
spudly1 has joined #nixos-chat
<neeasade> I've currently got hopping around "dmenu-fied"
spudly1 has quit [Remote host closed the connection]
spudly1 has joined #nixos-chat
<gchristensen> I really wish git could know about local caches
<elvishjerricco> gchristensen: Local caches?
<gchristensen> yeah
<gchristensen> like this CI step starts by cloning nixpkgs. it'd be cool if git just knew there was a cache at ~/.cache/git
<elvishjerricco> Ah, yea
spudly1 has quit [Quit: Bridge terminating on SIGTERM]
<gchristensen> instead of fetching 1.4G of nixpkgs every time
<gchristensen> especially since I'd like this job to run every 5 minutes
<cole-h> đź‘€
<gchristensen> https://buildkite.com/grahamc/nix-channel-monitor moving the channels.nix.gsc.io from a cron job and a mutable state directory to a scheduled CI step
<colemickens> do you mean automatically / something beyond what you can do with --reference?
<gchristensen> yeah
<gchristensen> I'd like it if git did it automatically if the user's git config specified a cache location
<colemickens> I keep thinking of use cases for a local git daemon
<colemickens> watch my worktrees, keep a huge pool/cache of all commits across repos
neeasade has quit []
<gchristensen> maybe buildkite can be told to not destroy the entire work tree
lukegb has quit [Read error: Connection reset by peer]
lukegb has joined #nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos-chat
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos-chat
rajivr has joined #nixos-chat
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
Raito_Bezarius has joined #nixos-chat
<cole-h> What email services are people using as a "backup"? e.g. you're signing up with a domain registrar to set up an email domain -- all that I've come across require an email to sign up.
<gchristensen> gmail :(
rj_ has joined #nixos-chat
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
<hexa-> yeah, sadly gmail
* cole-h wonders if protonmail would be an OK alternative
<cole-h> Doesn't require an email to sign up, which is a plus
<cole-h> s/a plus/required/ lol
<gchristensen> I use gmail for it b/c sites need gmail anyway sometimes :(
patagonicus1 has joined #nixos-chat
<cole-h> that's true
<cole-h> thinking about setting up a hetzner VM for email (using simple-nixos-mailserver) thanks to past discussion here
* infinisil is using simple-nixos-mailserver
<cole-h> infinisil: Hetzner as well, or somewhere else?
<infinisil> digitalocean
<cole-h> Are you using nixus to deploy it? :P
<infinisil> Yup :D
<cole-h> infinisil: ~ how much does it cost you per month / per year? If you're comfortable sharing. (/query also works if you don't want to publicize it)
patagonicus has quit [Ping timeout: 264 seconds]
patagonicus1 is now known as patagonicus
<infinisil> Oh I'm just using the $5 per month droplet
<infinisil> It's not super reliable I guess. If that droplet fails I can't receive mail :P
rj_ has quit [Quit: rj_]
<cole-h> hm
<infinisil> Hasn't failed me yet though
<infinisil> And I'm using that droplet for pretty much everything
<infinisil> paste service, nixbot, mail, znc, radicale, mumble server, minecraft relay
<infinisil> I do have backups of course though
<cole-h> Maybe stupid question: can you run the droplet on zfs?
<infinisil> Yea doing that
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
<cole-h> Cool, that means easy backups over the network :P
<infinisil> Yup :D
<cole-h> I saw some providers that charged for backups, so...
<infinisil> Oh yeah digitalocean can also do backups for me which I guess would be easy
<infinisil> "Enabling backups will automatically create a snapshot of your Droplet once a week. Enabling backups for this Droplet will cost $1.00 per month."
<infinisil> But I'm better off with my hourly zfs snapshots :)
<cole-h> yep
<cole-h> :P
<infinisil> Speaking of which, my backups are broken because of znapzend..
<cole-h> infinisil: does the 1GB RAM really work well? You probably do all instantiation locally due to nixus, so I guess there's no need for "more" RAM
<cole-h> infinisil: :O time to make a module for zrepl? <:D
<cole-h> /s
<infinisil> Yeah, but I also have 2 GB of swap
<infinisil> Yeah zrepl looked interesting!
rj_ has joined #nixos-chat
<gchristensen> zrepl is nice!
<infinisil> gchristensen: You using it?
<gchristensen> casually
<gchristensen> it feels very well done
<gchristensen> yeah I borrowed that
<cole-h> So it's probably "almost there"
<infinisil> I'd want to add some Nixus sprinkles
rj_ has quit [Quit: rj_]
rj_ has joined #nixos-chat
<infinisil> Ah though it doesn't rely on ssh, there's different transport modes, neat
<jtojnar> infinisil: do you think it would be worth it to add specialization for ≤ 4 to levenshteinAtMost?
<jtojnar> need that if I want to detect two transpositions in https://github.com/jtojnar/nixpkgs-hammering/pull/29
<{^_^}> jtojnar/nixpkgs-hammering#29 (by jtojnar, 1 hour ago, open): Add 'attribute-typo' check
<infinisil> jtojnar: Not sure how easy that is. The case for ==2 was already pretty hard to come up with, and it's exponentially harder from there
<jtojnar> hmm, maybe I want Damerau–Levenshtein instead
<infinisil> Ohh that sounds even trickier and slower to implement
<jtojnar> yeah, I guess I will just ignore it for the time being, the domain is not too big
<lovesegfault> Me: This isn't good because you clobber old releases and cause hash verification to fail whenever you update your package
<lovesegfault> Them: Why don't you just compute the hash dynamically when you download
* lovesegfault explodes
<cole-h> >> not versioning urls
* cole-h sighs
<cole-h> infinisil: Did you do anything special for the DO image? Or was it just `imports = [ (modulesPath + "/virtualization/digital-ocean-image") ];`
<cole-h> (The one you upload to DO itself as custom image)
rj_ has quit [Ping timeout: 268 seconds]
<infinisil> It's a bit of a pain, I wonder if I could automate that with Nixus at some point
<lovesegfault> I hate this
<cole-h> You know what I hate? RX 6800XTs being like $1200 from newegg and the like, but GTX 3080s being only ~800-900 (when either is in stock, of course).
<samueldr> "just load arbitrary code from a server, which we'll execute later"
<samueldr> the lad says
<cole-h> "which they get to define as owners of their code"
<cole-h> ._.
<samueldr> technically not wrong
<samueldr> they can make things as hard as they like for everyone else
<colemickens> it's closed source software anyway
<cole-h> infinisil: So IIUC, you basically just booted an e.g. ubuntu droplet and followed that page?
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
slack1256 has joined #nixos-chat
<DigitalKiwi> infinisil: do you ever have problems delivering mail?
<DigitalKiwi> i've heard digitaloceans ip blocks are uh not well liked by mailservers/spamfilters/lists
* DigitalKiwi knows like 6 people that used to work at DO lol
<DigitalKiwi> and that all of them *used to* is a somewhat important detail
<lovesegfault> samueldr: exactly, his answer to me being "just curl the script and run it" made me head explode
<DigitalKiwi> wtf is roon
<DigitalKiwi> other than something i'll never use after reading what i've read so far lol
<lovesegfault> DigitalKiwi: https://roonlabs.com/
<lovesegfault> Music library management with multi-room sound system integration
<lovesegfault> it's really excellent at what it does. Unmatched.
<cole-h> unfortunate
<DigitalKiwi> it's not ncmpcpp so i don't want it
<lovesegfault> cole-h: yeah, it being so good is the only reason I put up
<lovesegfault> also there are literally no alternatives
Taneb has quit [Quit: I seem to have stopped.]
kini has quit [Quit: bye]
<bbigras> google home speakers are nice for multi-room audio.
<cole-h> also not open source :P
<bbigras> is roonlabs open source? I see a 14 day free trial...
<cole-h> it's not
<cole-h> free != open source :P
<bbigras> I didn't say that free means open source. I was saying that a free trial implies it's paid normally. paid and open source are normally exclusive. and I was just saying that the google home was an alternative for roonlabs for the hardware part.
<bbigras> for the server, maybe jellyfin could be used.
<bbigras> I wish the chromecast protocol was more open too.
slack1256 has quit [Ping timeout: 272 seconds]
<lovesegfault> roon server is paid and closed source, yeah
evanjs has quit [Read error: Connection reset by peer]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
evanjs has joined #nixos-chat
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
endformationage has quit [Quit: WeeChat 2.9]
Fare has quit [Quit: Leaving]
<clever> matthewcroughan: ive also been working on getting linux (specificaly nixos), to run blob-less on the rpi
<matthewcroughan> hot
<clever> matthewcroughan: i can boot it on both a pi2 and a pi3, without any closed-source firmware being involved
<matthewcroughan> All of them? Or just the 3?
<clever> pi1 is still giving trouble, and pi4 is basically a complete rewrite
<matthewcroughan> What you're doing is invaluable, but I set hardware.enableAllFirmware = true; on my ARM devices.
<matthewcroughan> makes the wifi work fine on the Orange Pi 3.
<matthewcroughan> And I'll allways use unfree if it lets me use my hardware fully, software I can workaround, hardware is unforgivable to leave it in a non working state.
<clever> yeah, i cant get any video outputs to work yet
<clever> so if you go open-source, you loose hdmi :P
<matthewcroughan> Yeah, hdmi works flawlessly on the Orange Pi 3 after https://github.com/NixOS/nixpkgs/pull/111700
<{^_^}> #111700 (by MatthewCroughan, 5 days ago, open): U-Boot: Adds Orange Pi 3 build
<matthewcroughan> kernel 5.10.3 leaves out only the Ethernet on this board.
<clever> matthewcroughan: switching to pm for the lengthy part of things...
ravndal has quit [Quit: WeeChat 3.0]
kini has joined #nixos-chat
ravndal has joined #nixos-chat
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
cole-h has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has quit [Client Quit]
cole-h has joined #nixos-chat
kini has quit [Remote host closed the connection]
kini has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
Jackneill has quit [Ping timeout: 272 seconds]
Jackneill has joined #nixos-chat
<ashkitten> bbigras, lovesegfault: wonder if jellyfin+snapcast would be a decent replacement for roon
<ashkitten> i've been using jellyfin for a while and it's pretty great
<ashkitten> i imagine you could set up a snapcast client as a dlna renderer for jellyfin pretty easy, for synced multi-room streaming
<bbigras> I'm guessing jellyfin with an Android phone and some google home would be enough.
<ashkitten> gross, google spystuff
<ashkitten> does google home casting do proper synchronized playback?
<bbigras> yes you can create groups
<ashkitten> ah
<ashkitten> anyway i'd use snapcast for that but tbh i never listen to music on speakers
<ashkitten> and wouldn't have a use for multi-room playback at all
<ashkitten> i recently got some open ear bone conduction headphones and they're real great
<bbigras> snapcast could be nice on some raspberry pi
<ashkitten> not the highest sound quality possible from headphones, but i've also got some better headphones for that
<ashkitten> open ear headphones are real nice for just wearing around everywhere
<ashkitten> and they don't make my head hurt or anything, i barely feel they're there at all
larrym has joined #nixos-chat
<larrym> I'm trying to install a system-wide gcov, but can't seem to figure out how.  Is this something possible on nixos?
<lovesegfault> larrym: It's possible, but usually not recommended to install things system-wide. Why can't you just use `nix-shell`?
<lovesegfault> let's move to #nixos
lunc has joined #nixos-chat
Taneb has joined #nixos-chat
Taneb has quit [Client Quit]
Taneb has joined #nixos-chat
<patagonicus> Yay: nix-bisect is awesome. Nay: it still takes forever to debug why a kernel build stopped working, since the problem is somewhere in the deps and as it's armv7 it needs to bootstrap the whole toolchain.
<patagonicus> Maybe I should have spent some time on disabling optional dependencies.
<adisbladis> patagonicus: I'm trying to organise something to get a armv7l binary cache
<adisbladis> But the logistics are pretty difficult for me atm
<patagonicus> adisbladis: As in official, NixOS supported armv7l cache? Or community organised?
<adisbladis> Community organised
<adisbladis> I wouldn't want to officially support armv7l tbh
<adisbladis> But a community cache is viable, and wouldn't cost too much to set up
<patagonicus> Ah. Yeah, I don't really want to use non-official caches. But if that means that master or nixos-unstable is more likely to build on armv7l then that's all I need, since the actual compile time is not that bad.
<adisbladis> What I really want is a couple of remote builders for https://hydra.nix-community.org/
<adisbladis> But I'm talking native armv7l cache here, not cross
<patagonicus> I'd be happy to throw a few bucks your way to help with the costs of the servers if you do manage to set something up.
<eyJhb> Is there any channels for NixOS Simple Mailserver
<philipp[m]1> ashkitten: bbigras jellyfin+mpv shim that directly streams into snapcast could be pretty great for multi room home setups I think. Been meaning to set it up like that myself for a while now.
<adisbladis> eyJhb: The nix-community hydra runs snm tests
<adisbladis> So presumably it should all be in the nix-community cache
<eyJhb> adisbladis: s/channels/IRC channels/ :D
<ashkitten> philipp[m]1: oh mpv shim might work better depending on the dlna renderer... gmrender-resurrect was kinda weird with gapless playback when i tried
<adisbladis> eyJhb: Oh, then no :P
<ashkitten> dlna/upnp implementations can be a bit... bitrotty i think
<ashkitten> it's a shame
<philipp[m]1> Yeah, it is.
<ashkitten> so many compatibility issues between clients and renderers
<ashkitten> maybe upnp media needs a replacement, something with synchronized playback support and simpler implementation
<ashkitten> i wonder if snapcast can carry video streams... though i never got snapcast working at all and i don't think it's suitable to replace upnp
<philipp[m]1> It seems like all the vendors want to to push their own proprietary protocols instead of upnp.
<ashkitten> yeah :/
<ashkitten> need something portable, easily implementable, and open
<ashkitten> tbh it's kinda google's fault
<ashkitten> making their chromecast protocol proprietary
<philipp[m]1> I think apple has a similar protocol, don't they?
<philipp[m]1> Also sonos is a not so small player in that market also completely proprietary.
<ashkitten> apple has uhhh the thing pulseaudio supports right?
<ashkitten> air something
<adisbladis> The apple protocol is RAOP2
<adisbladis> Idk if it does video?
<philipp[m]1> Oh, it's actually somewhat open. That's nice. That pulseaudio stuff looks pretty bitrotten though, doesn't seem to be actively developed any more.
cole-h has quit [Ping timeout: 256 seconds]
larrym has quit [Quit: Ping timeout (120 seconds)]
BaughnLogBot has quit [Ping timeout: 264 seconds]
BaughnLogBot has joined #nixos-chat
larrym has joined #nixos-chat
<lovesegfault> Oh, look, a nice package on hacker news
<lovesegfault> Oh look it's not packaged
* lovesegfault goes package
* lovesegfault sees waf
* lovesegfault backs away
<siraben> lovesegfault: what's waf
<lovesegfault> the worst build system in existence
<lovesegfault> https://waf.io/
<siraben> are you referring to https://github.com/Soldat/soldat?
<lovesegfault> no, this: https://nuvola.tiliado.eu/
<lovesegfault> soldat is packaged IIRC
<siraben> ah
<adisbladis> siraben: Waf is a weird build system
<adisbladis> I've only encountered it in mpv
<siraben> heh, glad to see I'm not the only one with an instinct to build packages I see on HN
<lovesegfault> in all my experiences so far waf = unbuildable
<adisbladis> lovesegfault: mpv is absolutely buildable ^_^
<adisbladis> But it may be the exception
<lovesegfault> Well, I didn't package it! :P
<lovesegfault> The problem with waf is it's _too_ loose
<lovesegfault> so maintainers commit crimes with it
<adisbladis> So waf is for cool people?
<adisbladis> Hang loose and so on
<lovesegfault> No, waffers aren't cool criminals like, idk, antifa who break banks
<lovesegfault> they're criminals who like hijack grandmas' cars
<adisbladis> :/
<lovesegfault> fear the waffers!
<adisbladis> lovesegfault: For some reason I'm now picturing grandmas jacking cars
<lovesegfault> lol
<siraben> mpv is one heck of a default.nix..
<adisbladis> siraben: It's completely bonkers
<adisbladis> I love it
<adisbladis> It really showcases how good of a meta-build system Nix is
<lovesegfault> but waf is a meta build system
<siraben> heh I even touched a few lines of it unknowingly during the stdenv.lib PRs
<lovesegfault> so nix is a meta meta build system
<lovesegfault> what build system is building nix?
<siraben> the git blame for that file is nuts
<lovesegfault> how far does this go?!
<siraben> What's waf supposed to do? Anyone got some examples?
<lovesegfault> I tried and failed to package this
<lovesegfault> (waf based)
<eyJhb> `clamav 6975 0.7 58.3 1573016 1162104 ? Ssl 10:49 0:28 /nix/store/wr3rg4lxkp75qkn3c0630q6a90gm8sn1-clamav-0.103.0/bin/clamd` taking all my memory, 58.3% of my 2GB
<siraben> what's with the binary string at the end
<adisbladis> siraben: I'm partially responsible :3
<lovesegfault> it's a signature for the binary, IIRC
<lovesegfault> waf-packaged things redistribute waf in their own tree
<lovesegfault> this is the waf build description if you wish
<siraben> this is like a glorified shell script
<siraben> so many implicit dependencies
* adisbladis has thought about writing an ast-based patcher for python
<adisbladis> It would be super nice to have something similar to resholve for python and subprocess/os.system calls
<adisbladis> I've thought about it for a different use case though, to patch setup.py params in structured form instead of string replacement
<siraben> Just realized this was -chat and not -dev hehe
<siraben> lovesegfault: what failed?
<lovesegfault> whatchu mean?
<siraben> when you tried to package that program
<lovesegfault> Ah, idk, it was 2y ago
<lovesegfault> maybe 3 if you count 2020
<lovesegfault> i don't really know, what even is time
<siraben> Also, is the packaging procedure for python packages such that I have to manually go through the requirements.txt and add them to propagatedBuildInputs or have I been missing out on automation the whole time?
<siraben> yeah how is it almost mid February already >.<
<lovesegfault> honestly I was doing pretty well through quarantine until now
<adisbladis> siraben: Yeah, but don't do that
<lovesegfault> the realisation that a whole year passed was pretty hard on me
<adisbladis> Shameless plug (as usual) github.com/nix-community/poetry2nix
<siraben> adisbladis: but not all python projects are poetry based
<adisbladis> siraben: You can manage the env with poetry/poetry2nix anyway
<adisbladis> And avoid the insane mess that is pythonPackages
kini has quit [Remote host closed the connection]
srk has quit [Remote host closed the connection]
kini has joined #nixos-chat
srk has joined #nixos-chat
cynthia_ has quit [Quit: Connection closed for inactivity]
<adisbladis> siraben: This took me less than two minutes: http://ix.io/2OJk/nix (default.nix), http://ix.io/2OJl (pyproject.toml), https://paste.rs/oRU (poetry.lock)
<siraben> adisbladis: is that all? and generated by poetry2nix?
<adisbladis> Yep
<siraben> oh cool! what command did you run to do that?
<adisbladis> I didn't hand write anything in either pyproject.toml or poetry.lock
<adisbladis> just `poetry init`, then the interactive wizard
<adisbladis> The default.nix is handwritten
<adisbladis> The only thing you'll have to fill in a bit is the meta
<adisbladis> Things like licenses are not included in the poetry metadata
<adisbladis> I just remembered I made a PR for that https://github.com/python-poetry/poetry/pull/2097
<{^_^}> python-poetry/poetry#2097 (by adisbladis, 49 weeks ago, open): Add package licenses to poetry.lock
<adisbladis> Wow, almost a year ago
<adisbladis> My PR is growing up
<siraben> awesome
eyJhb has quit [Remote host closed the connection]
<adisbladis> Hm, a fairly simple change to poetry2nix would be to add the pypi url to the homepage meta
eyJhb has joined #nixos-chat
eyJhb has joined #nixos-chat
eyJhb has quit [Changing host]
<adisbladis> description also seems to have been added to the lock file at some point :)
<adisbladis> Nice
<larrym> Hi adisbladis, I don't know if you saw but I tried your mkShell suggestion in my VM over on #nixos but wasn't able to get it to work
<larrym> "not of type package"
<eyJhb> larrym: back into #nixos-chat :)
<eyJhb> I mean
<eyJhb> #nixos
<eyJhb> Write there + more info maybe? :)
__monty__ has joined #nixos-chat
<eyJhb> Someone borked Github - https://github.com/go-yaml/yaml/issues/132
<{^_^}> go-yaml/yaml#132 (by DirectXMan12, 5 years ago, closed): Support (un)marshaling of comments
kini has quit [Remote host closed the connection]
kini has joined #nixos-chat
<patagonicus> Interesting. It shows up in the list of issues (if you changed the filters, since it's closed). Title says it's about unmarshaling comments.
<eyJhb> Yeah, it is weird
<eyJhb> It worked like 10 min ago
betawaffle has quit [Ping timeout: 240 seconds]
steveeJ has quit [Ping timeout: 240 seconds]
feepo has quit [Ping timeout: 265 seconds]
rajivr has quit [Ping timeout: 260 seconds]
sdier has quit [Read error: Connection reset by peer]
midchildan has quit [Write error: Connection reset by peer]
emilazy has quit [Read error: Connection reset by peer]
sudocurse has quit [Write error: Connection reset by peer]
higebu has quit [Read error: Connection reset by peer]
sorear has quit [Read error: Connection reset by peer]
pasukon has quit [Read error: Connection reset by peer]
sorear has joined #nixos-chat
betawaffle has joined #nixos-chat
sudocurse has joined #nixos-chat
higebu has joined #nixos-chat
davidtwco_ has joined #nixos-chat
emilazy has joined #nixos-chat
pasukon has joined #nixos-chat
sdier has joined #nixos-chat
rajivr has joined #nixos-chat
steveeJ has joined #nixos-chat
feepo has joined #nixos-chat
cosimone has joined #nixos-chat
midchildan has joined #nixos-chat
raboof has joined #nixos-chat
<gchristensen> it is completely absurd that the PassFF extension fills in the name of the entry as the username if there is no username in the entry
<eyJhb> That seems like a idiotic thing to do
<eyJhb> `gitlab-super-secret-user`
kini has quit [Remote host closed the connection]
larrym has quit [Quit: Connection closed]
kini has joined #nixos-chat
<jD91mZM2> Any minecraft players in this channel? I have done a thing... https://gitlab.com/jD91mZM2/nix-datapack. (If you're getting Deja Vu, I have done a similar announcement in the past with an earlier version of the builder)
<jD91mZM2> Nix must be used for *everything*. It must take over the world.
<eyJhb> Not even sure what a datapack is for Minecraft anymore
<jD91mZM2> It's like a mod but "coded" with JSON files because mojang hates flexibility
<eyJhb> I was force to "code" with ini files last semester, I would take json any day. But looks cool! :D
<eyJhb> Nice job
<f0x> eyJhb: command blocks but as a file
<jD91mZM2> The main feature, to me, is just being able to run Minecraft commands from a text file instead of from command blocks
<jD91mZM2> ah yes, f0x was quicker to type that
<jD91mZM2> eyJhb: Thanks :)
waleee-cl has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-chat
<pie_> jD91mZM2: infinisil i guess
davidtwco_ has quit []
<infinisil> Indeed, though not using datapacks
davidtwco_ has joined #nixos-chat
davidtwco_ has quit [Client Quit]
davidtwco has joined #nixos-chat
kini has quit [Remote host closed the connection]
slack1256 has joined #nixos-chat
kini has joined #nixos-chat
endformationage has joined #nixos-chat
slack1256 has quit [Ping timeout: 265 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-chat
<andi-> in a year from now no human is able to comprehent the nixos pull requests anymore because 50 bots are fighting on being the first to report. Thankfully we do not have nixcoin yet...
<gchristensen> oh boy what is happening
<{^_^}> #112377 (by fabaff, 9 hours ago, merged): python3Packages.praw: 7.1.3 -> 7.1.4
<gchristensen> heh..
* andi- scripts automated risc5-darwin test results
<gchristensen> lol
<gchristensen> it does seem like we need to get a handle on these bots before we get more
<gchristensen> remember when it was just ofborg spamming the comments?
<andi-> that was great.
<gchristensen> and then it became statuses, which people didn't lke
<andi-> I still likes that better than the github checks
<andi-> *liked
cole-h_ has joined #nixos-chat
<andi-> It gave us a history of what has already happened. Now it is just some random list of checks that might have been run and no history.
<gchristensen> ah yea
<gchristensen> anyone want to try their hand at making this nicer? https://channels.nix.gsc.io/
<cole-h_> andi-++
<{^_^}> andi-'s karma got increased to 56
<cole-h_> I noticed the same. Kinda annoying...
<andi-> cole-h_: How hard is it to add a label to a PR when all ofborg checks passed? That would (finally!) allow us to filter for PRs that are ready to be merged (for some definition of ready that I do not support).
<cole-h_> Not hard at all. But then we have to decide which checks are "important" (e.g. this label wouldn't be applied to any PR that supported darwin as our darwin builder is still gone)
cole-h has quit [Ping timeout: 240 seconds]
<cole-h_> If the definition is "every check that borg tries must be green", then see the e.g. above
<gchristensen> oh btw I think we're getting macs again
<cole-h_> :D
<cole-h_> But we'd still want an allowlist or denylist for certain checks that would contribute to or impede the application of that label
<andi-> cole-h_: all of the supported platforms for that package must pass + all the handbook, eval, ...
<cole-h_> Do we require builds to succeed? I'd say no, just because we give them grey statuses if they "fail" for any reason
<gchristensen> maybe if some builds fail, apply a label of some-builds-fail (not quite a red X, but close)
<gchristensen> maybe we should go to -ofborg
<gchristensen> erm, -borg
<andi-> -graham?
<cole-h_> lol
cole-h_ is now known as cole-h
srk has quit [Remote host closed the connection]
* colemickens The amount of pain I'm willing to subject myself to, just to get code callouts to work, is maybe inapporporiate.
srk has joined #nixos-chat
<gchristensen> haha
<cole-h> <gchristensen> it is completely absurd that the PassFF extension fills in the name of the entry as the username if there is no username in the entry
<cole-h> sorry, that might be my fault
<gchristensen> oh?
<cole-h> wait nvm
<cole-h> I thought I had requested that feature to be in line with the suggested pass layout, but I didn't :D
<cole-h> (The layout I use is "Category/website.com/username/password")
<gchristensen> ah
<cole-h> gchristensen: you *could* create an empty `username` file for whatever that one is: https://i.imgur.com/C8tO5ni.png
<gchristensen> whoa I didn't know passff had config
<cole-h> :D
{`-`} has joined #nixos-chat
<cole-h> And you can blacklist files / folders. Might be useful in the future
<gchristensen> neat
<cole-h> that one *is* my "fault" :D
<gchristensen> I have a totally flat pass structure ...
<cole-h> I basically only have two categories FWIW: Gaming and Internet
<cole-h> lol
<gchristensen> hehe
julm has quit [Remote host closed the connection]
aleph- has quit [Read error: Connection reset by peer]
aleph- has joined #nixos-chat
julm has joined #nixos-chat
julm has quit [Remote host closed the connection]
julm has joined #nixos-chat
<samueldr> reported for ludicrous indentation
<infinisil> Not my code :P
<samueldr> "I was only holding it for a friend"
<gchristensen> "ennnnnnnnnnnnnd"
<aleph-> infinisil: Heh node?
<andi-> we should make }'s optional.
<andi-> Just like HTML.
<andi-> will certainly help with market adoption
<gchristensen> lol
<samueldr> bad andi-
<andi-> what worked then will surely work now!
<samueldr> "worked"
<andi-> YES!
<andi-> And it probably still does
<samueldr> a couple years back we had to fix stuff on a website so broken that it *relied* on misclosed tags
<samueldr> fixing the misclosed tags broke the site even more
<andi-> see, it is a feature :D
<andi-> the browser knows better
<samueldr> fun addition: there was a global "try ... catch { /* no-op */ }"
<samueldr> which the site *also* relied on
* andi- nods
<samueldr> which made working on things basically impossible
<andi-> Now imagine that experinece for nix! You got it all wrong yet it still works
<samueldr> "works"!
<__monty__> Hmm, what do if shellcheck does *not* tell you something needs double-quoting but you suspect it does?
bkv has joined #nixos-chat
bqv has quit [Ping timeout: 265 seconds]
bqv_ has joined #nixos-chat
<samueldr> do it, shellcheck's not the boss of you
<aleph-> ^^
<gchristensen> __monty__: what is the case?
bkv has quit [Ping timeout: 264 seconds]
bqv_ is now known as bqv
<__monty__> A couple simple variable defaulting lines like this `HIGHLIGHT_STYLE="${HIGHLIGHT_STYLE:-pablo}"`
<__monty__> These have always been quoteless and shellcheck never pointed them out.
<samueldr> seems to be fine quote-less
<samueldr> I guess it's because expansion is different in variable assignation?
<infinisil> aleph-: Nah that's Nix
<aleph-> Ah heh
lucus16 has quit [Quit: WeeChat 2.8]
<__monty__> samueldr: Hmm, this page makes no mention of parameter expansion being different in variable assignments though, https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
<__monty__> I should just go ask over in #bash. I'll report my findings : )
<samueldr> __monty__: I was literally guessing
<__monty__> samueldr: Your guess was right. Word splitting and globbing isn't performed on the rhs of assignments.
<samueldr> note that my guess was only done after trying it in the REPL
<samueldr> (yes, bash is a REPL, fight me)
* cole-h wishes vim's gq was available as a separate binary
<monsieurp> you mean visual then gq?
lunc has quit [Ping timeout: 265 seconds]
<__monty__> monsieurp: Nah, gqap is where it's at.
<monsieurp> thanks for the tip :)
<leah2> gwap wont move your cursor :)
<cole-h> yes, visual-gq :P
<cole-h> It's the best reflow tool I've used.
<cole-h> "tool"
<__monty__> leah2: Ah, thanks. I do consider moving the cursor to the end of the formatted region kind of a feature though. A way to confirm I only reformatted to where I expected. Can always get back with ^O.
cosimone has quit [Quit: cosimone]
sudocurse has quit [Ping timeout: 240 seconds]
higebu has quit [Ping timeout: 240 seconds]
feepo has quit [Ping timeout: 246 seconds]
higebu has joined #nixos-chat
sudocurse has joined #nixos-chat
feepo has joined #nixos-chat
<__monty__> Ooo, does sound cool.
<__monty__> Maybe I can switch from my bespoke colorscheme.
<__monty__> I assume WCAG AAA is higher contrast that AA?
ky0ko has quit [Remote host closed the connection]
<colemickens> now someone make a module that wraps those themes and then integrates with home-manager
<colemickens> I halfway sort of made something. It's just built on imports instead of modules, but I can switch the fonts/colorschemes of kitty/alacritty/termite in tandem.
<ldlework> Wasn't someone working on that
<{^_^}> nix-community/home-manager#361 (by NefixEstrada, 2 years ago, open): Color scheme switcher
<colemickens> nice, thanks ldlework
__monty__ has quit [Quit: leaving]