Home liberachat/#xmonad: Logs Calendar

Logs on 2022-08-31 (liberachat/#xmonad)

00:13:03 trillpoli[m]1 parts (~trillpoli@2001:470:69fc:105::da4e) ()
00:43:57 × catman quits (~catman@user/catman) (Remote host closed the connection)
00:50:33 <[Leary]> Re security and distributed binaries, nix's content-addressed derivations are supposed to make it a non-issue, but I'm not sure about the details. It seems like NixOS isn't ready to go content-addressed by default yet.
01:08:31 <[Leary]> Though I'm confusing myself with that. Wouldn't you need to build the binary yourself to know what the correct hash is? I guess you still need an authority to tell you that much.
01:28:15 catman joins (~catman@user/catman)
01:42:10 × catman quits (~catman@user/catman) (Remote host closed the connection)
01:46:38 catman joins (~catman@user/catman)
02:03:37 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
02:23:44 banc joins (banc@gateway/vpn/airvpn/banc)
02:47:15 × td_ quits (~td@94.134.91.35) (Ping timeout: 252 seconds)
02:49:07 td_ joins (~td@94.134.91.66)
02:53:26 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 255 seconds)
05:38:45 <Solid> Yeah accepting binaries from the place you accept the source code (or hash) from anyways seems like a non-issue
05:39:08 Solid has had enough people pester him about nix that he has at least switched to it on his desktop at home
05:39:21 <Solid> but the lack of documentation on literally anything makes me want to not dig too deep tbh
05:39:48 × Solid quits (~slot@xmonad/slotThe) (Quit: Connection reset by pear)
05:53:09 Solid joins (~slot@xmonad/slotThe)
06:16:50 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds)
06:24:33 <[Leary]> Solid: Yeah, it has that problem. There are half a dozen ways to achieve anything you want to do, but often there's nowhere that actually lays them out or says what the modern option is.
06:26:20 <[Leary]> Despite kinda being the local nix guy, I'm actually in a love-hate relationship with it. I love the ideas underneath it all, and I love that nix the cli tool and NixOS exist and work. But nix the language and nixpkgs are desperately wanting for some real types and some structure, respectively---not at all unrelated problems.
06:28:21 <[Leary]> The documentation partially stems from that, in that fragments of the solution to any one problem are scattered in the belly of nixpkgs, not easily found or understood, difficult to document.
06:48:25 <Solid> :/
07:52:57 Harper_breey[m] joins (~barron00m@2001:470:69fc:105::2:73a6)
08:31:04 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
08:52:01 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
08:59:08 wonko_ joins (~wjc@2a0e:1c80:2::130)
09:11:08 × lazycat quits (~lazycat@user/lazycat) (Quit: ZNC - https://znc.in)
09:11:25 lazycat joins (~lazycat@user/lazycat)
09:26:47 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
09:34:50 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
09:59:16 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
11:07:43 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
11:07:45 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Client Quit)
11:18:45 HAL[m] joins (~evadk8mat@2001:470:69fc:105::3ed0)
12:02:26 m5zs7k joins (aquares@web10.mydevil.net)
12:06:44 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
12:07:56 Benzi-Junior parts (~BenziJuni@dsl-149-67-162.hive.is) (WeeChat 3.0)
12:08:30 <diep> Hi, for some reason I fail to bind (using EZConfig) `<M-,>`. Is this normal?
12:09:01 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
12:09:12 <diep> When I try to use this keybind there is an error log `Prelude.head: empty list`
12:09:38 <diep> not sure how to interpret this
12:17:51 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
12:32:51 <geekosaur> @tell diep that sounds like a bug in the EZConfig parser, but the correct sequence is "M-," without the brackets
12:32:51 <lambdabot> Consider it noted.
12:35:30 geekosaur tries to remember who rewrote the parser. Solid?
12:40:22 × catman quits (~catman@user/catman) (Remote host closed the connection)
12:41:55 catman joins (~catman@user/catman)
13:04:51 <geekosaur> @tell diep Brackets are used with keys that have long names, for example you could bind to "M-<Escape>". the list of such keys is in the XMonad.Util.EZConfig documentation
13:04:51 <lambdabot> Consider it noted.
13:06:45 <geekosaur> @tell diep maybe a better example is that "M-F1" would bind to the sequence `M-F`, `1` (which you probably can't type), whereas "M-<F1>" binds to the F1 key
13:06:45 <lambdabot> Consider it noted.
13:36:07 Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl)
13:36:34 × wonko_ quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 244 seconds)
13:45:02 <Ehllie> how does one configure xmonad to handle polkit authentication request popups?
13:45:33 <Ehllie> i use 1password, and have it act as my ssh identity server
13:46:28 <geekosaur> I have no special configuration for them, they just work. What's going wrong?
13:46:48 <Ehllie> so whenever an app wants to use an ssh key, it asks the 1password socket, which then prompts me for a password, or at least it did on gnome
13:47:36 <Ehllie> on xmonad i just get an authentication failiure
13:47:45 <geekosaur> hm. I'm using the mate / gnnome 2 stuff because I run xmonad under mate
13:47:56 <Ehllie> on xmonad i just get authentication failiure
13:48:14 <geekosaur> you may need to run xmonad under some polkit agent, lemme check
13:48:34 × Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Quit: Ehllie)
13:49:48 <geekosaur> oy
13:49:49 Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl)
13:50:01 <geekosaur> looks like you need to be running dbus
13:50:41 <Ehllie> ah, i thought i had it enabled globally, but it might have only been in my gnome module
13:51:41 <geekosaur> `exec dbus-launch xmonad`
13:55:13 <geekosaur> I haven't tried 1password for linux, if you're running some agent before xmonad then you have to start dbus differently so both it and xmonad know about the dbus session
13:55:48 <Ehllie> so should i put `exec dbus-launch xmonad` in my .xsession?
13:56:57 <geekosaur> https://paste.tomsmeding.com/XfC4PDrq
13:58:15 <geekosaur> do either one or the other, it depends on whether you start anything else that needs dbus in your .xsession
13:59:07 × Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Remote host closed the connection)
14:01:11 Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl)
14:01:30 liskin needs to run /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 explicitly
14:02:08 <Ehllie> ok, switched back to xmonad to have it in front of me
14:07:30 <Ehllie> also, is <Ctrl-\> bound to anything by default in xmonad? cause i can't use my toggle term keybind in neovim
14:09:24 <geekosaur> all xmonad keybinds use whatever you've defined as modMask (default Alt, often changed to Super/Win key)
14:13:06 <Ehllie> i've changed it to super, but beyond that and setting my default terminal to alacritty, i haven't done anything
14:13:40 <Ehllie> i'm just trying to figure out which default could be clashing with it
14:14:32 <geekosaur> does it work outside of xmonad?
14:15:03 <geekosaur> (unless you're using it in graphical mode, I'd expect C-\ to cause problems because it's the default abort-with-core key)
14:16:25 <Ehllie> it does work outside of xmonad
14:16:52 <Ehllie> i'm not even running neovim through the terminal but via neovide
14:17:33 <Ehllie> but the behaviour is the same when running neovim directly
14:17:43 <Ehllie> the cursor just flashes for a second and nothing happens
14:19:24 <geekosaur> fascinating. here it inserts it as a control character but it doesn't show until I press escape. I wonder what its default binding is
14:19:54 <geekosaur> actually it shows if I press some other key also.
14:20:51 <Ehllie> my xmonad config is literally just 11 lines rn https://pastebin.com/8weL0bJY
14:21:30 <geekosaur> looks fine, shouldn't do anything with C-\
14:22:19 <geekosaur> have you verified that your nvim config file is being loaded? (I don't even know what that is these days, I still use .exrc because I'm ancient 🙂
14:22:47 <Ehllie> oh, it is. it's very custom and i'd know if it wasn't lol
14:26:40 <Ehllie> https://imgur.com/a/m6aNlVG
14:27:54 <geekosaur> goodness gracious, looks like it's trying to be vscode 🙂
14:29:19 <Ehllie> i have been using vscode for a while, and having a smooth transfer to neovim was the plan
14:32:47 <Ehllie> and btw, entrypoint for neovim is usually $XDG_CONFIG_HOME/nvim/init.lua nowadays
14:42:29 × Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Remote host closed the connection)
14:51:22 <geekosaur> I still wish there were a way to ask the X server what clients have passive grabbed what keys
16:05:21 uhoreg joins (~uhoreg@2001:470:69fc:105::35f)
16:26:33 benin0 joins (~benin@117.207.69.221)
16:47:59 logzet joins (~quassel@2001:9e8:e525:a800:dabb:c1ff:fed3:a1b9)
16:50:19 <Solid> geekosaur: yes I rewrote the EZConfig parser (but I wrote property tests for the old parser first, so hopefully nothing broke :)
16:51:00 <geekosaur> so the old one would have also thrown an error from head?
16:51:11 <geekosaur> [31 12:09:12] <diep> When I try to use this keybind there is an error log `Prelude.head: empty list`
16:51:25 <geekosaur> from the incorrect keybinding "<M-,>"
16:51:43 <Solid> let me double check
16:54:36 <Solid> Mh, I don't get an exception at all with the new code
16:55:12 <geekosaur> maybe they're still running 0.15/0.16
16:56:09 <Solid> maybe I fixed bugs \o/
16:56:47 <geekosaur> hopefully it produces a better error message for a special key not in the list
17:00:04 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
17:00:54 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
17:01:53 jeeeun joins (~jeeeun@78.40.148.178)
17:10:42 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
17:14:10 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Client Quit)
17:14:26 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
17:14:33 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
17:23:23 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
17:24:33 wonko_ joins (~wjc@2a0e:1c80:2::130)
17:35:39 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Quit: diep)
17:36:27 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
17:40:31 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Client Quit)
17:55:56 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
17:56:58 × wonko_ quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 244 seconds)
17:58:54 jeeeun joins (~jeeeun@78.40.148.178)
18:06:46 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
18:27:50 [Leary] joins (~Leary]@user/Leary/x-0910699)
18:39:20 × benin0 quits (~benin@117.207.69.221) (Ping timeout: 255 seconds)
18:47:34 benin0 joins (~benin@59.92.178.116)
18:57:04 Ehllie joins (~Thunderbi@2a01:110f:4308:a900:f2aa:769c:9b96:63fa)
19:01:52 <[Leary]> Oh dear. My session log is full of <<loop>>.
19:02:14 <[Leary]> Makes me rather glad ghc can catch those. >.>
19:07:38 × Ehllie quits (~Thunderbi@2a01:110f:4308:a900:f2aa:769c:9b96:63fa) (Remote host closed the connection)
20:03:16 wonko_ joins (~wjc@2a0e:1c80:2::130)
20:47:53 × logzet quits (~quassel@2001:9e8:e525:a800:dabb:c1ff:fed3:a1b9) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
20:57:06 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Ping timeout: 260 seconds)
21:44:50 × wonko_ quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 268 seconds)
23:14:54 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
23:20:11 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
23:36:26 × catman quits (~catman@user/catman) (Remote host closed the connection)
23:37:09 catman joins (~catman@user/catman)
23:37:37 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds)
23:39:47 banc joins (banc@gateway/vpn/airvpn/banc)
23:48:55 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)

All times are in UTC on 2022-08-31.