gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<gchristensen> an annoying thing with this freezer is when it exits everything is frozen
<joepie91> I now have a NixOS NAS!
<joepie91> or well, mostly the first half
<joepie91> it doesn't do very many NAS-y things yet
<gchristensen> nice!
<joepie91> but it boots, and it networks, and I am currently rsyncing things to it and confused why it's bottlenecking at 25MB/sec whereas Dolphin was doing 55MB/sec over sshfs earlier
<joepie91> also there is a bug in KDE that makes it believe there is insufficient space in the target folder lol
<gchristensen> too much space?
<joepie91> gchristensen: I think it's because of the layers of indirection
<joepie91> sshfs -> disk mount
<joepie91> ~/ is my local system, ~/nas-fs is the NAS root fs, ~/nas-fs/disks/bulk1 is the storage disk
<joepie91> I can copy small files to it, so I suspect it's getting stuck on the freespace of ~/nas-fs which is the sshfs mount
<joepie91> just realized there was another way, sftp://foo in Dolphin, which is EVEN SLOWER, at 9MB/sec
<joepie91> now the rsync is slow too ._. what is going on here...
maxdevjs has joined #nixos-chat
<cole-h> gchristensen: "an annoying thing with this freezer is [...] everything is frozen" isn't that the point? ;^)
<gchristensen> yeah but nothing to unfreeze anything :') might should unfreeze everything it froze
<cole-h> If you just take something out, it should defrost, no? ;^)))))
<cole-h> (I was being sarcastic and talking about an actual freezer, not your experiment with systemd-run)
<cole-h> I kinda wanna go through every single file in nixpkgs and nix and remove all the smart quotes. They look like blobs in TTY >:(
cole-h_ has joined #nixos-chat
<abathur> "smart" quotes :(
<abathur> cole-h: sounds like a job for a linter? :)
<emily> sounds like a job for fixing your terminal/fonts!
<emily> though the options aren't great on linux console
<cole-h_> emily: I'm open to suggestions for TTY fonts
<cole-h_> :P
<emily> / /run/current-system/sw/share/consolefonts contains a ton to try, but if none of those work for you then terminus and spleen are external options
<emily> eh, I guess that's only if you have /share linked in
<emily> nix path-info nixpkgs.kbd or something
<emily> not sure what options have the best unicode coverage. I use latarcyrheb-sun32 because it's the biggest thing in kbd and I have a hidpi screen
<emily> but I don't like the linux console much and vaguely want to replace it
<cole-h_> I wonder if there's a way to set console font early... Because the smart quotes I saw happened before whatever sets the console font runs :D
<samueldr> hm, can't be arsed to go further on that, but there's this tool to check headset battery levels that made me a bit annoyed
<samueldr> AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'
<samueldr> it looks like Python3 has a socket type AF_BLUETOOTH available when built with bluez as an input
<samueldr> and that's where I stopped building myself a yak shave rabbit hole mountain, bluez has python as an input
<cole-h_> I think I'm actually gonna run my h-m and system-wide separately... Then I can have h-m and system generations separate.
cole-h has quit [Quit: Goodbye]
cole-h_ is now known as cole-h
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
cole-h has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.8]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
<cole-h> colemickens: Good news -- I no longer have the redshift issue :D (was related to my Arch system, it appears)
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.6]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 265 seconds]
cole-h has quit [Quit: Goodbye]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
noonien has quit [Quit: Connection closed for inactivity]
<sphalerite> emily: I quite like terminus for the console, console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
<sphalerite> that said, I'm not sure it's actually possible to cover that much because of how linux console fonts work
<sphalerite> caveat: I'm not entirely sure I know what I'm talking about
drakonis has joined #nixos-chat
<sphalerite> but I believe that's why there are different font files for the same typeface and size
<sphalerite> if you want proper fonts, use a proper terminal emulator %)
<sphalerite> aww, we don't have an fbterm module anymore
drakonis_ has quit [Ping timeout: 260 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 244 seconds]
parsley936 has joined #nixos-chat
<sphalerite> oh nice, I can use a raspberry pi as a JTAG debugger :D
<sphalerite> as far as I understand
slack1256 has joined #nixos-chat
<eyJhb> sphalerite: what is the end goal?
<srk> c|lever is using it like that to debug another pi
slack1256 has quit [Remote host closed the connection]
<eyJhb> srk: inpiception
<bqv> Lol
<srk> :D
<sphalerite> ooh or even the CP2104 USB-serial converter that I already have that happens to have some GPIOs
<sphalerite> eyJhb: hoping I can back up the firmware of my heating controller using JTAG
obadz has quit [Quit: WeeChat 2.8]
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos-chat
obadz has joined #nixos-chat
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos-chat
<eyJhb> sphalerite: what will you use the backup for?
<eyJhb> Soure these isn't UART?
<eyJhb> Sure* and I mean, that it does not have
<sphalerite> eyJhb: there is uart, but that doesn't help dumping the firmware. I want the backup so I can restore the original firmware and settings if I screw it up
<eyJhb> Also, this little lovely snippet from Bitwarden CLI. So easy to add a entry `bw get template item | jq '.name = "myname" | .folderId = "test" | .login = $(bw get template item.login) | .login.username = "testing"' | base64 | bw create item`
<eyJhb> sphalerite: you can dump firmware using UART at times? :D
<eyJhb> But maybe not the case there
sphalerite has quit [Ping timeout: 244 seconds]
sphalerite has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 244 seconds]
<aanderse> my tv turned on again, after a nixos-rebuild, and i looked at the log
<aanderse> it appears ModemManager may be the culprit
<aanderse> relevant lines:
<aanderse> ModemManager[3587]: <info> Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0': not supported by any plugin
<aanderse> ModemManager[3587]: <info> [device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6] creating modem with plugin 'Generic' and '1' ports
<aanderse> so why is modem manager just recently starting to take an interest in my CEC device?
* aanderse continues research
<joepie91> aanderse: I had this a year ago or so, after upgrading NixOS, where suddenly ModemManager started prodding some serial device for being-a-modem and the device in question started losing its shit
<joepie91> because it did not appreciate the junk being sent over the line
<joepie91> IIRC you can blacklist certain devices from being prodded by modemmanager
<aanderse> aha! this is a known issue and fixed a long time ago... on debian
<aanderse> so why did it just start happening on nixos i wonder
<aanderse> fix looks easy enough
<joepie91> (the TL;DR, if I recall correctly, is that a serial modem does not announce itself as such; the only way to discover that a serial device is a modem is by sending it modem-y things and observing what it does)
<aanderse> hmm... unfortunate issue with nixos: i can't just submit an easy fix for this
<aanderse> kodi and libcec are just packages, no module
<aanderse> so installing udev rules can't be done automatically... can it? :\
<aanderse> easy enough for me to add udev rules to my system, but would be nice to fix for nixos
<joepie91> aanderse: udev rules need to be installed from a module, yeah
<aanderse> mhm
<joepie91> aanderse: if this is ModemManager misdetecting a definitely-not-a-modem then you can just submit it as a patch to the global udev rules though I think?
<joepie91> at least those installed with ModemManager
<joepie91> it doesn't need to be conditional ypon libcec being installed
<joepie91> * it doesn't need to be conditional upon libcec being installed
<aanderse> well... i suppose that is a good point
<aanderse> pretty straight forward i guess
<joepie91> (because that device won't be a modem regardless of whether libcec is being used)
xd1le has joined #nixos-chat
<sphalerite> aanderse: joepie91: that seems like a rule that should maybe be in modemmanager upstream?
<sphalerite> in src/77-mm-usb-device-blacklist.rules
<joepie91> yeah, probably
<sphalerite> though the policy "Plug and play at the cost of breaking unrelated devices" implemented by modemmanager is IMHO kind of awful :/
<aanderse> sphalerite: also the "# do not edit this file, it will be overwritten on update" at the top of that file makes me think that might not be the best spot :p
<aanderse> oh, or maybe thats a message to...
<aanderse> ha ha ha yeah nevermind me
<aanderse> :)
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos-chat
<sphalerite> aanderse: it's for non-nixos users ;)
xd1le has quit [Quit: Quit]
xd1le has joined #nixos-chat
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos-chat
<emily> 07:44 <sphalerite> that said, I'm not sure it's actually possible to cover that much because of how linux console fonts work
<emily> sphalerite: as someone who was recently implementing a .psf parser: the font format actually supports it about as well as you'd want
<emily> it can store more glyphs per font than TrueType
<emily> but I think the kernel implementation is limited yeah
<emily> also, the history of that font format (used pretty much exclusively by the Linux console) is "H. Peter Anvin needed a font format so he stole his old toy one from a DOS program" https://www.win.tue.nl/~aeb/linux/kbd/font-formats-1.html#ss1.4
<emily> as far as "if you want proper fonts, use a proper terminal emulator %)" goes, I'd like to :) CONFIG_{FB,VT} are well-known to be blobs of legacy code of questionable security anyway so I'd love to turn it off. unfortunately the userspace options are limited (kmscon is dead, systemd-consoled never really existed, nosh has a thing I keep meaning to try out though https://jdebp.eu/Softwares/nosh/user-vt-screenshots.html )
<emily> (the usecase being "minimal recovery console for boot / when desktop environment is broken"; I could just assemble this out of a minimal Wayland compositor and a minimal Wayland-supporting terminal to be honest, but there aren't many of the latter I like terribly much, I really don't want to put gnome-terminal in my server initrd)
<MichaelRaskin> Does Weston support no-VT operation?
<emily> not sure
<MichaelRaskin> (I am not sure what kind of attack on CONFIG_VT would make CONFIG_VT anywhere less secure than any existing display composer other than Weston, given that landscape…)
<emily> tbf the changes to get a compositor working without CONFIG_VT should usually not be too hugely invasive
<emily> but it's a shame yeah
<emily> my idle plan was to write my own tiny wayland compositor and treat the separation between compositor and terminal as basically glorified privsep, because I love assigning myself more work than I can possibly hope to complete
<MichaelRaskin> But CONFIG_VT is not that bad in the sense that simple chvt has probably been executed a trillion of times by now, and anything more interesting requires root.
<MichaelRaskin> CONFIG_FB might be indeed more interesting.
<sphalerite> emily: fair enough!
<emily> MichaelRaskin: sure, it's more that CONFIG_VT kinda depends on CONFIG_FB for most of its functionality, taint by association
<emily> like, the risk is "potential to be shortest path from userspace to awful ancient driver"
<emily> but yes, chvt is not exactly super worrying
<emily> if you already have a whole logind thing going then it's kind of redundant though
<MichaelRaskin> Speaking of awful…
<MichaelRaskin> I think in CONFIG_FB there is actually a separation: the _driver_ part is nowadays unloaded to the actual GPU drivers, and so the ancient part does not need to do anything awful
<gchristensen> lol sway is crashing, and I can tell because it it is progressively eating more windows
<MichaelRaskin> Slow-motion sway-wreck
<evanjs> *checks free*
<evanjs> ughhhh
<evanjs> --gibi -> swap = 35; --giga -> swap = 37
<evanjs> ;_; noooo
<evanjs> 36237 it looks like
<MichaelRaskin> You know the value is large when GiB and GB disagree by more than one!
<emily> hm, I need a gtk whisperer
<emily> getting "(nicotine:156): Gtk-WARNING : 14:58:00.118: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg. This may indicate that pixbuf loaders or the mime database could not be found." in the nix sandbox
<emily> wonder if this is a "cache generated impurely" thing or just an "environment variable not set" thing
<evanjs> whoah, wtf. windows calc: programmer: 32 + equals -> 32 * 1024. that's convenient lol
<evanjs> oh that's memory. I am tired lol
<evanjs> where the heck did this number come from, though ...
<evanjs> Hrm. Maybe I was going for "swap size with hibernation" or similar https://itsfoss.com/swap-size/
<evanjs> yeah idk. some sources list 1.5X ram but like.... that's a lot :P
<evanjs> >64GB -> Hibernation not recommended
<evanjs> lol
<eyJhb> Regarding a way back discussion on what background on what text. let me give you, whatever this is - https://i.imgur.com/k2McXsm.png
<gchristensen> what if there was a thing to integrate NixOS with LDAP, where configuration is stored in LDAP and on log-in, your system is built based on configuration stored in ldap
<eyJhb> +1
<MichaelRaskin> Wait, how it should work if the method of login depends on system configuration?
<gchristensen> the device would clearly need to be preconfigured with some hardware + software support
<MichaelRaskin> No, my point is that your configuration should be restricted
endformationage has joined #nixos-chat
<gchristensen> ah
KeiraT has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos-chat
KeiraT has joined #nixos-chat
cole-h has quit [Client Quit]
cole-h has joined #nixos-chat
__monty__ has joined #nixos-chat
KeiraT has quit [Excess Flood]
<infinisil> If you ever wanted to see floppy trees: https://www.reddit.com/r/Simulated/comments/gm1wmb/forest_malfunction/
<cransom> thanks... i hate it.
<cole-h> infinisil: ....why
xd1le has quit [Quit: Quit]
xd1le has joined #nixos-chat
KeiraT has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
<jtojnar> emily missing librsvg in GDK_PIXBUF_MODULE_FILE?
<emily> jtojnar: yep, had to generate my own cache in the checkPhase...
<emily> would be nice if there was a way to use nixos modules in a test without going all the way to a heavyweight VM test
cole-h has joined #nixos-chat
<emily> (also, I wonder if gdk-pixbuf shouldn't just include it by default? if the default Adwaita theme requires SVG icons)
<emily> (it seems to be the only thing that actually gets added to the path for the module that creates that cache file)
drakonis has joined #nixos-chat
qyliss has quit [Quit: bye]
qyliss has joined #nixos-chat
<jtojnar> yeah, I think it should be in by default, not sure how to do that, though
<jtojnar> not a fan of the module
<emily> jtojnar: going by https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-query-loaders.html, it seems like we could just depend on librsvg in gdk-pixbuf and run gdk-pixbuf-queryloaders to output to $out/lib/... in the latter's derivation?
<emily> and then not set GDK_PIXBUF_MODULE_FILE at all
<emily> oh, but there's a circular dep :(
<eyJhb> infinisil: no play for me I guess
drakonis1 has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos-chat
<cole-h> lovesegfault: (sorry to ping again) How did you get swaylock working? I get PAM "failed to authenticate" errors... Do I have to add swaylock and friends to `programs.sway.extraPackages`?
<bqv> bqv:
<manveru> damn... https://github.com/mrc-ide/covid-sim is quite the read
<lovesegfault> cole-h: I think I have them there, I never had any issues with swaylock
<cole-h> Alright, I'll try that on my next boot. Fingers crossed.
waleee-cl has joined #nixos-chat
xd1le has quit [Quit: Quit]
xd1le has joined #nixos-chat
xd1le has quit [Client Quit]
xd1le has joined #nixos-chat
xd1le has quit [Quit: Quit]
xd1le has joined #nixos-chat
<Taneb> I have a distinct memory of using some sort of LDraw tool (Lego CAD stuff) in NixOS, and I can't remember which one or how I had access to it
<Taneb> Anyone have any idea what it might have been?
<cole-h> Taneb: LeoCAD?
<Taneb> I think it may have been!
<Taneb> cole-h++
<{^_^}> cole-h's karma got increased to 0x37
<cole-h> It's the only thing that shows up with `lego cad` on https://nixos.org/nixos/packages.html :P
<Taneb> That'd do it :P
<ldlework> I'm gonna be holding a beginner's tournament for Go in a few weeks. If anyone is interested in joining, or getting an introduction to the game, I figured I would mention in here.
<__monty__> What's the format? I.e., how many games would someone play if they expect not to make it very far.
<ldlework> I suppose it depends on how many people participate.
<ldlework> It will be 13x13. Basically everyone is brand new to the game.
<ldlework> I think we will leave it up to people matched up to work out the best time to play their matches.
<FireFly> hm that might be fun
<ldlework> If you are interested you can PM me your online-go.com username
<ldlework> And I'll try to keep in contact.
<FireFly> ldlework: mine's "Effilry"
<ldlework> Sent you a friend request
<FireFly> I've barely played, but I should remember the basic rules and idea at least
<ldlework> FireFly: have you played before?
<ldlework> OK
<FireFly> cool!
<ldlework> FireFly: what's your UTC?
<__monty__> I'm interested too but can't dedicate time for too many games : /
<FireFly> ldlework: CEST, UTC+2
<ldlework> FireFly: thanks
<eyJhb> Always happy when I see Go :p
cole-h_ has joined #nixos-chat
<ldlework> __monty__: let me know if you decide. i'll bug you again probably as it gets more formulated.
cole-h has quit [Quit: Goodbye]
<eyJhb> __monty__: Remember the backgroud + text color discussion? https://i.imgur.com/k2McXsm.png
<MichaelRaskin> «what's your UTC» sounds like a line from space-travel utopia
<__monty__> 👍
<eyJhb> My editor won
<ldlework> cole-h_: are you interested in participating?
<pie_> anyone have experience with using tree style tab with lots of tabs?
<pie_> has performance improved?
<pie_> hyperfekt?
<hyperfekt> sorry, i don't use tree style tab
<hyperfekt> my firefox setup is still a bit further down the yakdag
<hyperfekt> actually
cole-h has joined #nixos-chat
<ldlework> Some of the players who will be participating are playing now, if you'd like to see the competition in action, https://online-go.com/game/24042931
<ldlework> :)
<FireFly> maybe I should refresh my mind on go :p reading some SL and whatnot
<FireFly> watching hikaru no go piqued my interest in the game :p
<manveru> ldlework: looks like they're new too?
<ldlework> manveru: basically everyone is new
<ldlework> iamidly is a bit stronger than the rest
<ldlework> bchrome is on our level manveru, they're not around right now
<ldlework> but they'll be in the tourney
<pie_> though i have like 5000 tabs
<ldlework> FireFly: if you would like the beginner intro I've given everyone else, just let me know
<ldlework> i don't mind at all
<manveru> ldlework: been training some live/death on tsumego and played a bunch of 9x9 on GoQuest, it's been fun getting into it again :)
<ldlework> manveru: nice
<manveru> just wish days were a bit longer...
<jtojnar> pie_ with 2.5K+ it is better than it was
<pie_> jtojnar: meaning what exactly?
<jtojnar> pie_ it is usable once the tree gets constructed
<pie_> i think doing the initial tab organization was one of the things that was excruciatingly slow for me
<pie_> so if thats still slow im kinda screwed
cole-h has quit [Ping timeout: 256 seconds]
<hyperfekt> why are there so many terrible tab hoarders in the nixos community
<jtojnar> pie_ but sometimes it gets stuck and you need to start firefox again
<pie_> something something, if a cluttered desk is a sign of a cluttered mind, of what then is an empty desk a sign?
<pie_> jtojnar: oh no
<pie_> jtojnar: by "when its constructed" do you mean just startup? how is moving tabs around? - re: i need to ingest 5k tabs
<eyJhb> Any thoughts on a API that provides webhooks, for when a resource updates, but only tell the clients the UPI to the resource that updated? - Thinking of doing this, since the clients may not have HTTPS on their endpoint, but the server will always. The other way is to use self signed certs for each client, where the server has the public key shared in advance
cole-h has joined #nixos-chat
<pie_> jtojnar: it interacts fine with the tabunloady stuff?
<jtojnar> pie_ browser startup
<pie_> ok
<jtojnar> pie_ yeah, it should support unloading
<pie_> guess i should just try it
<cransom> 5000 tabs... i'm not sure i can fathom that.
<pie_> cransom: i used to be at like 2k idk what happened
<pie_> too much attempts at research
<jtojnar> pie_ moving trees around is still slightly painful but nowhere near when it was initially ported to webextensions
<cransom> research, ok. but why are they all in active tabs? there's a bookmark all tabs button
rardiol has joined #nixos-chat
<jtojnar> I still feel like the port is horribly broken, compared to the original verion
<pie_> cransom: 1) theyre not in active tabs - they are unloaded xD 2) firefoxs bookmark search is garbage 3) idk >.>
<FireFly> ldlework: hm maybe, not tonight though :)
<pie_> jtojnar: i dont think i ever really used the original :(
<pie_> less things to miss i guess
<pie_> kinda sucks how all the uis for the new extensions have to be ad hoc crap
<jtojnar> pie_ firefox tab search is even worse garbage :(
<pie_> jtojnar: i actually kind of survive with that
cole-h has quit [Client Quit]
<jtojnar> it no longer shows me even some active tabs
<pie_> jtojnar: you know about % right?
<pie_> huh
<jtojnar> yup, that is what I mean
<pie_> hm idk i seem to have some luck
<pie_> i mean yes it is garbage but at least it works for me if i can narrow stuff down
<pie_> some weird stuff happens where sometimes it wont switch to the window of an unloaded tab htough
<pie_> also i increased the number of results it shows
<pie_> but its dumb that you cant scroll it
<pie_> im considering if anything good will happen if i start using buku
* jtojnar uploaded an image: fractal-pasted-image (415KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AbhbrQGAYYKctscrUXhzwuWQ >
<pie_> hyperfekt mentioned that backin the day there was something that would give you full text searchof pages and now im
<jtojnar> pie_ nada
<pie_> like
<pie_> maybe i really want that
cole-h has joined #nixos-chat
<pie_> ^ not a buku thing
<pie_> jtojnar: nada what
<jtojnar> matrix sends things out of order :/
<pie_> 0_o
<pie_> yeah that sure
<pie_> im just saying the idea is kinda enticing
<cransom> i guess the good thing about digital hoarding is that houses don't collapse you at least.
<pie_> yeah but indexing overhead
<pie_> maybe thats why im getting dumber
<hyperfekt> cransom: if you don't count firefox corrupting its session...
<jtojnar> what is buku?
<infinisil> > buku.meta.description
<{^_^}> "Private cmdline bookmark manager"
<infinisil> > buku.meta.homepage
<pie_> well, time to watch tree style tab grind my machine to a halt
<pie_> aaaaa /me smashes add to firefox
<hyperfekt> anything that calls itself a 'manager' is far too high friction for me to ever use it to curb my tab hoarding
<hyperfekt> oh it's really just for bookmarks. but pretty cool
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
<pie_> jtojnar: going by its readmeTST is kinda opinionated
<pie_> though given its current state i guess decreasing code volume isnt a bad idea
cole-h has joined #nixos-chat
drakonis1 has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos-chat
<jtojnar> pie_ it is still too configurable for my taste
<jtojnar> cutting the code size sounds like a good idea
<adisbladis> pie_: Instead try to realise that tabs are not good and windows is the one true workflow
<__monty__> That sounds awful and like something only a tiling WM addict would say.
<jtojnar> is there a window manager that supports organizing windows into trees?
<adisbladis> __monty__: I _am_ a tiling WM addict =)
<adisbladis> jtojnar: What do you mean by trees?
<adisbladis> I have a hard time picturing what you mean
<jtojnar> and a way to signal to the browser that it can unload window from memory? 5000 active browser windows sounds like a bad idea
<__monty__> Imagine a christmas tree, but instead of baubles...
<pie_> adisbladis: dude window management is even worse than tab management
<adisbladis> I have ~100 firefox windows right now
<pie_> adisbladis: ok actually im using kde so there's that
<pie_> adisbladis: im at 150 windows
<gchristensen> omg
<gchristensen> adisbladis: okay now make it 100 firefox processes, each with my freezer
<pie_> i want serializing stuff to disk so bad or something <jtojnar> and a way to signal to the browser that it can unload window from memory? 5000 active browser windows sounds like a bad idea
<pie_> big brain:
<pie_> one VM per window
<adisbladis> gchristensen: Sounds pretty nice, though I'm not sure how your freezer works
<jtojnar> adisbladis when I open a link in a new tab, tree style tabs make it a child of the page I opened it from
<pie_> gchristensen: wait i thoguht you were talking about your food freezer, what is this freezer
<adisbladis> jtojnar: Ahh
<pie_> (didnt make much sense with a food freezer)
<pie_> can we hibernate containers btw?
<adisbladis> Actually freezing browser windows sounds like a dream
<adisbladis> I wish I could just keep every window open pretty much indefinitely
<pie_> with a process model that could work
<jtojnar> the api is there for tabs, maybe we could have an extension that would open about:blank in each window and unload the primary tab when signalled by WM
<pie_> even better if you can migrate tabs btween the processes
<gchristensen> pie_: I've been forcing programs to onl ybe allowed to run while they are my currently focused window, using cgroup.freeze
<pie_> oh. thats neat but not what im looking for right now, gonna keep that in mind though
<etu> jtojnar: [trees] Isn't that what i3 does? It can have nested containers with windows in the containers
<adisbladis> gchristensen: That wouldn't really work for me :/
<adisbladis> Unless the freezing is super fast?
<gchristensen> super fast!
<pie_> so, lxc-checkpoint *might* be a thing
<adisbladis> I would only really use it for firefox, but this is worth an experiment =)
<pie_> youd end up freezing all of firefox tho no?
<gchristensen> adisbladis: 0.00s user 0.00s system 92% cpu 0.002 total
<adisbladis> What does "focus" mean though
<pie_> actually gchristensen maybe i should really try thisbecause firefox eats a ton of my cpu on idle for no reason
<adisbladis> Hmm
* adisbladis gets philosophical
<adisbladis> Visible on screen, keyboard focus, mouse focus?
<gchristensen> echo 0|1 > /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/run-....scope/cgroup.freeze
<adisbladis> Visible on any workspace?
<gchristensen> me? it literally has to have main focus for me right now, but that is too strict.
<adisbladis> gchristensen: Just thinking what my prefered flow would be
<gchristensen> yeah
<gchristensen> I wrote this in bash at first but rewrote in python so I could do nicer rules
<adisbladis> Since I have a "weird setup"(tm)
<pie_> we should put this stuff on my firefox for pathological tabbers thread
<pie_> jtojnar: still waiting for things to start rendering live again :V
<jtojnar> etu: that only seems to be layout tree (with windows as leafs), in tree style tabs parent is the opener
<pie_> jtojnar: have you by any chance tried setting up a firefox sync thingy
<jtojnar> pie_ it mostly works
<jtojnar> unless you want to synchronize nosript list
<pie_> lol
<pie_> not really
<jtojnar> or use the beta mobile app
<pie_> jtojnar: i cant check right now, still trying to render...do we have the server as a module?
<pie_> err, to be clear i mean self hosting
<jtojnar> I am not sure, I use the official servers
<adisbladis> What I want in reality is a browser fully integrated in emacs
<jtojnar> last time I looked into selfhosting it was kind of broken
<adisbladis> I miss Conkeror :/
<pie_> probably still is then
<jtojnar> but that was many years ago
<jtojnar> I should revisit that
<eyJhb> gchristensen: cool!
<pie_> knowledge management is ugh
<eyJhb> adisbladis: no no, no Emacs for you
<adisbladis> eyJhb: You will pry emacs out of my cold dead hands
<cole-h> gchristensen: :OOO
<adisbladis> <insert joke about emacs pinkie>
<jtojnar> pie_ they were switching to the new architecture at the time I last checked, so hopefully it has settled down
<eyJhb> Can I use that as a signed contract ?
<pie_> adisbladis: cut off the pinky
<eyJhb> <reality about vim health>
<pie_> remove the weakness
<adisbladis> When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a “viitor”. Not a “emacsitor”. Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!
<cole-h> lol
<MichaelRaskin> Well, current SUS requires both ed and vi
<eyJhb> adisbladis: You use Emacs as a DE? :p
<eyJhb> It isn't just a editor! It is a virus! :|
<adisbladis> eyJhb: Yeah, I even have a mode called desktop-environment ^_^
<pie_> oh hey firefox is rendering again
<abathur> <3 gchristensen
<{^_^}> gchristensen's karma got increased to 300
<pie_> jtojnar: i think this might still be causing a bit of a perf hit
<infinisil> Weeee
<pie_> maybe more than a bit
<pie_> (on waiting for ff when switching desktops; not once it scrolls)
<jtojnar> 😭️
* jtojnar needs to find time to write a custom browser/de/emacs
<gchristensen> heck yeah jtojnar
<pie_> jtojnar: was there another addon that was like tree style tab? also pretty full features?
<pie_> featured
<jtojnar> I think I was trying tree-tabs before piro finished the port
<jtojnar> do not recall how it was
<pie_> i need to make a script that sets me up a new firefox profile with all the addons and stuff
<pie_> i think tab mix plus or what was it used to do session management, but that doesnt exist anymore?
<jtojnar> oh, right, there was the trivial issue of the tree structure disapearing on quitting
<jtojnar> yeah, the api does not allow for session management (exporting history and form state)
<jtojnar> or at least it did not, last time I checked
__monty__ has quit [Quit: leaving]
<pie_> which would certainly be an alternative solution to my problems and also about concerns of profile reliability
<pie_> really what is up with mozilla :P
<pie_> after looking at tree tabs again i now remember it is indeed what i was tryin
<pie_> i think i also had perf problems with that
<pie_> maybe thats better too now
<jtojnar> it is apparently abandoned now
<pie_> huh.
<pie_> holy s*** my ram is full
<pie_> like, all 16g of swap
<pie_> whatdidyoudo
<pie_> that might explain the perf issues
<pie_> restarting firefox and having it load like that seems to be going somewhat better though
<samueldr> pie_: I know of a trick someone told me with systemd that could help
<pie_> mmm im afraid to ask :P
<pie_> dont want it to get killed and its already using the encourage swapping/deallocation or whatever it is
<adisbladis> gchristensen: What was your config to disable cgroups v1 again?
<samueldr> adisbladis: ^
<samueldr> (it also started from that discussion I just linked)
<hexa-> 17:14 <gchristensen> "cgroup_no_v1=all""systemd.unified_cgroup_hierarchy=yes"
<adisbladis> Thanks
<pie_> jtojnar: i wonder if it decided all tabs are loaded and decided to blow my ram
<pie_> because it doesnt seem to be doing great right now
<pie_> good thing i made a profile backup
<adisbladis> Oh wow, we're down to 66 failing emacs packages O.o
<pie_> jtojnar: is it just me or does tst have a loading bar? xD and it looks like its at 10% or so
<eyJhb> adisbladis: and that is why you have a addiction!
<pie_> pet peeve about the : your firefox is hella slow, kill script y/n dialog
<pie_> the dialog also freezes
<jtojnar> pie_ have not seen that, only the throbber
<jtojnar> (bouncy ball)
<eyJhb> AE, anonymous emacsers (?)
<samueldr> Æ
<samueldr> æmacsers
<adisbladis> eyJhb: I'm not addicted! I can quit whenever I want
<eyJhb> samueldr: you're not from a nordic place? :o
<samueldr> eyJhb: we did have a "nordiques" hockey team until the mid 90s
<adisbladis> samueldr eats frozen frogs (french canadian)
<eyJhb> adisbladis: *tsh*, you have chosen emacs over me every time you get :(
<eyJhb> Ah, but that doensn't give him the Æ right!
<samueldr> my compose key tends to disagree :)
<adisbladis> I'll deputise samueldr as an honorary viking
<manveru> samueldr: isn't there `browser.tabs.unloadOnLowMemory` config for that in firefox?
<samueldr> manveru: maybe
* samueldr enabled it
<samueldr> just now
<manveru> i use it with ~300 tabs and it's fine :)
<samueldr> it'll help *the next time*
<manveru> hehe
<samueldr> that's what irritated me the most, nothing could be done to fix the situation, since the whole computer locked up :(
<samueldr> (reisub is not recovering)
<eyJhb> adisbladis: damn it...
<eyJhb> Anyways, night ! Take care till the morning
<manveru> yeah... i have never had luck with reisub on nixos for some reason...
<samueldr> sun's not down yet, in about an hour and a half it'll be blam streaming straight between the bulidings and into my eyes
<pie_> manveru: samueldr: reisub is disabled by default on new releases
<manveru> o.O
<samueldr> (anyway it woulnd't have been what I wanted)
<pie_> unless you reenabled it i have a whole rant thread github issue that i went back and crossed everything out and went like
<pie_> lol oh reisub is disabled guise
<pie_> and had a whole rant at flokli
<pie_> flokli is cool
<pie_> i was just really frustrated >w<
<pie_> (on irc)
<pie_> technically its in the release ntoes
<manveru> i was on 20.03 before there were release notes... i guess :|
<manveru> should read them sometime
<pie_> anyway flokli was kind enough to look into changing the defaults back to at least having some things enabled
<pie_> dont think anything came of that yet though
<pie_> what happened is we just imported the defaults from systemd
<pie_> though i think the oom killer was something some people wanted to keep disabled because muh security and it can under some circumstances kill the screen locker
<pie_> i dunno.
<pie_> theres an issue thread that i cant link right now
<aleph-> joepie91: I hate JS so much >_>
* aleph- is having to patch a 3yo code base that is barely touched
<joepie91> aleph-: no time for JS discussions, building PC: https://www.youtube.com/watch?v=JR8ImMYSCdA
<aleph-> Neat, enjoy
<pie_> jtojnar: i really want this to work but it doesnt seem to be working out
<jtojnar> I feel your pain
<pie_> hyperfekt: jtojnar: just realized, 3 pathological tabbers in bsalc? coincidence? i think not
<pie_> though to be fair maybe it shoudlnt be considered pathological unless say youre above 1k
<pie_> its not gonna be DSM-IV criteria tho
<pie_> or until it causes your machine to start swapping?
<pie_> i guess its fine as long as your workflow isnt impeded
<pie_> mine is impeded
<jtojnar> then I meet all the criteria
<jtojnar> and even wanted to make a DSM joke but you beat me to it
<pie_> oh i thought you said 800 xD
<pie_> haha
<hyperfekt> pie_: my machine never swaps from tabbing because firefox gets too slow first
<pie_> and then what happens
<pie_> i get both
<jtojnar> 2701, it was 2.5k yesterday
<pie_> though im not sure how samueldr managed to fully lock up his machine
<hyperfekt> then it becomes unusable and i don't hit restore session on the next crash
<pie_> usually i can at least switch to a tty and kill (after some minutes)
<pie_> ah.
<samueldr> I *think* it was because of downloads happening in private mode
<manveru> pie_: thanks, i totally missed this sysrq stuff, also found out why my ~/bin wasn't working anymore :)
<pie_> huh
<manveru> pie_++
<hyperfekt> basically the only thing keeping my tabs under 5k
<{^_^}> pie_'s karma got increased to 9
<pie_> manveru: heh x)
<pie_> hyperfekt: the downsides of reliability
<pie_> less clean slate
<samueldr> I'm not sure if private mode was relevant, but I think download was
<samueldr> big files
<pie_> who would win
<pie_> big files
<pie_> one rammy boi
<samueldr> everybody loses
<adisbladis> Obligatory download more ram
<pie_> >>>> <samueldr> everybody loses
<pie_> so much
<jtojnar> ram compression 😱️
<adisbladis> Swap to the cloud
<pie_> defers it a bit and then hangs you anyway
<pie_> re ram compressoin
<pie_> (havent tried it xD)
<adisbladis> pie_: But now with more CPU usage!
<adisbladis> It's great
<pie_> yeeeee
<pie_> jtojnar: so hows this
<pie_> - has greater than 1k tabs open OR causes machine to swap
<pie_> - workflow is significantly impeded
<jtojnar> does it count as significant if I have to quit firefox before building haskell packages, or I have to reisub?
<pie_> ...
<pie_> yes
<pie_> i used to have similar problems when i ran VMs for whatever it was
<pie_> VM or firefox pick one
<ashkitten> sway really loves crashing when i so much as sneeze at a qt window
<pie_> and noone wants to waiit for firefox to restart or move all the windows onto the right desktops again
* pie_ counts 15 virtual desktops though he hasnt been using the categories and a few usually just end up being separators so i canfigure out what desktops to swap between
<pie_> god what is wrong with me
<pie_> XD
<pie_> computing is not built for the modern polyhistor
<MichaelRaskin> That you are not switching by naming them and using rofi, obviously!
<pie_> or i need to switch to emacs idk
<MichaelRaskin> (so need separators)
<samueldr> pie_: get distinct computers per topic
<pie_> samueldr: im not even joking the thought has almost crossed my mind
<pie_> i thought of getting different actual desks
<pie_> didnt think as far as getting computers for those desks because thats even more money xD
<MichaelRaskin> Tag everything, manage by tags…
<pie_> its kind of fine once things are inthe right place righ tnow but having to restart firefox sucks because firefox doesnt seem to care to restore itself to the right desktop (there are some issues on the moz tracker?) and its not like you can write something that goes by window titles
<pie_> well actually. hm. if you periodically manage to export tab titles you could have a script that *tries* to match them
<samueldr> pie_: like the other day I said, it now works here, don't know how or hwy
<pie_> samueldr: hm?
<samueldr> firefox places the windows back where they belonged, on the right display _and_ desktop
<pie_> huhh
<pie_> kde?
<samueldr> not sure about the order though
<samueldr> awesome
<pie_> oh
<pie_> *shrug*
<jtojnar> yeah, it changed recently
<bqv> Got direnv working in xonsh with my xontribs flake
<bqv> Now just gotta migrate the config from fish
<adisbladis> Can a few people run `busctl --user status org.freedesktop.systemd1` and report back what their display manager + de/wm is?
<samueldr> Failed to get credentials: No such device or address
<samueldr> awesome, with a custom launcher script
<adisbladis> Thanks samueldr
<cole-h> adisbladis: https://paste.rs/sVJ swaywm, launch from TTY
<samueldr> I wouldn't discount me not doing something it should, adisbladis
<adisbladis> I'd really love for some gnome+gdm user to run this
<MichaelRaskin> Considered trying just for lulz, turns out I have no busctl
<MichaelRaskin> (in $PATH)
<adisbladis> samueldr: I have a fix for this bug
<samueldr> (is this a bug?) ;)
<adisbladis> MichaelRaskin: Hardly surprising considering your setup ;)
<MichaelRaskin> samueldr++
<{^_^}> samueldr's karma got increased to 230
<samueldr> (maybe probably yes depending on how you want those things to work well and be integrated well)
<adisbladis> samueldr: Yes, I believe we're incorrectly setting up our systemd user sessions.
<MichaelRaskin> Well, it would be plausible if I ended up with busctl in $PATH, just without a DBus session
parsley936 has quit [Remote host closed the connection]
<emily> don't hack me
<adisbladis> As I suspected, Gnome is doing it correctly
<emily> samueldr: you probably need to be starting a dbus session or something at the very least I'm guessing
<adisbladis> Thanks emily
<emily> that's the most common thing to mess up in X launcher scripts
<samueldr> I think I am
<adisbladis> emily: Our launcher scripts are doing that, just not in the blessed systemd way
<emily> right
<emily> I use GDM too, so fewer janky NixOS launcher scripts involved I'm guessing
<emily> (though I'd kinda rather not use GDM)
<emily> adisbladis: out of curiosity, what's the blessed systemd way? if there's something fancier than dbus-run-session I'm unaware of it
<adisbladis> emily: It seems `systemd-run --user dbus.socket` does the right thing
<MichaelRaskin> Hmm, managed to get «Failed to get credentials: No such device or address»
<MichaelRaskin> (By running in an nsjail with an empty DBus session)
<emily> clang -bundle -undefined dynamic_lookup -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib
<emily> things you see when everything is just fine
<pie_> *deep breath* eeeeeee
<adisbladis> Alright, here we go #88101
<{^_^}> https://github.com/NixOS/nixpkgs/pull/88101 (by adisbladis, 2 minutes ago, open): nixos/display-managers: Use dbus socket unit shipped by upstream
<adisbladis> I'd love testers
<adisbladis> Since I don't _really_ grok all of this
* joepie91 uploaded an image: IMG_1536.JPG (3129KB) < https://pixie.town/_matrix/media/r0/download/pixie.town/tznEHDAhaHqTJSOoQNkCNnZi >
<joepie91> a lot of work later...
<emily> this script kinda scares me
<emily> I'm definitely not using it because I don't have $HOME/{.compose-cache,.local/share} I guess (my $XDG_DATA_HOME is different)
<samueldr> joepie91: expect to see outcry at using a molex to sata power (I presume) in the build :)
* emily wonders if https://kdemonkey.blogspot.com/2008/04/magic-trick.html still applies to software released in the past decade
<joepie91> samueldr: how'd you guess :P
<samueldr> joepie91: position of it
<samueldr> joepie91: close to an ODD
<samueldr> or what looks like one
<adisbladis> Nothing wrong with a bit of yank
<samueldr> could be a slidey thing for a hard drive
<joepie91> heh
<joepie91> correct on all counts
<joepie91> blu-ray drive
<joepie91> connected with molex to SATA power
<adisbladis> emily: Yes.. Here be dragons ^_^
<samueldr> I say you'll hear outcry because some of those adapters are poorly made and can result in flames, anecdotally
<samueldr> though, anecdotally I never had flames from those I used
<adisbladis> Hm, the last person to touch the dbus session bus stuff was me
<joepie91> right
<adisbladis> Haha
<joepie91> I've been using this one for a long time fwiw
<joepie91> if it were going to burst into flames, it'd probably hvae done so already
<joepie91> have*
<samueldr> joepie91: just saying since you might have wanted to know about their reputation :)
* joepie91 uploaded an image: IMG_1535.JPG (2892KB) < https://pixie.town/_matrix/media/r0/download/pixie.town/VyOJTaAbtrIGRGVmHrZNwDaT >
<joepie91> samueldr: aware, but thanks anyway :D
<joepie91> anyway, have a front side pic
<samueldr> oof, I hate the case design :)
<joepie91> now, the moment of truth... will it boot
<joepie91> lol
<samueldr> I guess those type-c ports are not thunderbolt, right? or are there motherboards with thunderbolt+AMD yet?
<joepie91> plastic-fantastic gamer aesthetic, I know
<joepie91> samueldr: nop, just USB 3.1
<samueldr> still neat
<ashkitten> ...now i want a phone with thunderbolt ports
<joepie91> I wanted USB-C
<ashkitten> i want to plug my phone into an external gpu
<ashkitten> but like, actually
<joepie91> so I got USB-C
<joepie91> samueldr: https://twitter.com/joepie91/status/1262072684696961026 for explanation on why this case
<joepie91> lol
<joepie91> samueldr: TL;DR it was literally the only option
<samueldr> that would be nice, pcie lanes off the bottom of your phone
<ashkitten> EXPANSION PORT
<samueldr> joepie91: is a usb blu-ray drive not enough? I mean, I really don't know what issues there would be
<ashkitten> i want to be able to plug my phone into a game boy player
<ashkitten> and use it in dolphin
<ashkitten> ky0ko: this not be the ultimate gaming experience?
<ashkitten> would this*
cole-h has quit [Quit: Goodbye]