<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:
<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]
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
<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
<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)
<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>
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
<{^_^}>
#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>
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
<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
<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
<{^_^}>
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
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...
<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]
<__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.
<__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.