Home liberachat/#xmonad: Logs Calendar

Logs on 2023-02-13 (liberachat/#xmonad)

02:12:09 <xmonadtrack> New branch created: dependabot/github_actions/cachix/install-nix-action-19 (1 commit) https://github.com/xmonad/xmonad/tree/dependabot/github_actions/cachix/install-nix-action-19
02:12:14 <xmonadtrack> New branch created: pull/439 (1 commit) https://github.com/xmonad/xmonad/pull/439
03:03:32 × banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 268 seconds)
03:20:40 banc joins (banc@gateway/vpn/protonvpn/banc)
03:23:46 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
03:52:11 [Leary] joins (~Leary]@user/Leary/x-0910699)
03:56:35 × td_ quits (~td@83.135.9.6) (Ping timeout: 252 seconds)
03:58:30 td_ joins (~td@83.135.9.23)
04:14:24 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
04:17:51 [Leary] joins (~Leary]@user/Leary/x-0910699)
06:26:19 <xmonadtrack> xmonad dependabot[bot] {GitHub} * v0.17.1-46-gf734f19: build(deps): bump cachix/install-nix-action from 18 to 19 (4 hours ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad/commit/f734f19c1ace
06:26:22 <xmonadtrack> xmonad Tony Zorman {GitHub} * v0.17.1-47-g3ae5f46: Merge pull request #439 from xmonad/dependabot/github_actions/cachix/install-nix-action-19 (3 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad/commit/3ae5f4605283
07:06:08 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
08:03:07 mncheckm joins (~mncheck@193.224.205.254)
08:29:20 cfricke joins (~cfricke@user/cfricke)
09:00:04 × terver[m] quits (~tervermat@2001:470:69fc:105::2:ed76) (Quit: You have been kicked for being idle)
09:00:08 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
09:01:13 × playback2396[m] quits (~playback2@2001:470:69fc:105::2:feb8) (*.net *.split)
09:01:13 × ChaoticMist[m] quits (~gilganixm@2001:470:69fc:105::3d09) (*.net *.split)
09:01:13 × imaneb[m] quits (~imanebmat@2001:470:69fc:105::2:ff84) (*.net *.split)
09:01:13 × Solid[m] quits (~slot-matr@2001:470:69fc:105::1:a84) (*.net *.split)
09:01:13 × sanalMakina[m] quits (~sanalmaki@2001:470:69fc:105::2:fe9f) (*.net *.split)
09:01:13 × MrElendig quits (~Urist@archlinux/op/MrElendig) (*.net *.split)
09:01:14 × Solitary quits (~Solitary@user/solitary) (*.net *.split)
09:01:14 × liskin quits (~liskin@xmonad/liskin) (*.net *.split)
09:01:45 liskin joins (~liskin@xmonad/liskin)
09:02:10 BetweenUs joins (~spacesell@cpe-94-253-202-138.zg2.cable.xnet.hr)
09:04:46 imaneb[m] joins (~imanebmat@2001:470:69fc:105::2:ff84)
09:04:47 sanalMakina[m] joins (~sanalmaki@2001:470:69fc:105::2:fe9f)
09:04:48 Solid[m] joins (~slot-matr@2001:470:69fc:105::1:a84)
09:06:59 Solitary joins (~Solitary@user/solitary)
09:09:20 ChaoticMist[m] joins (~gilganixm@2001:470:69fc:105::3d09)
09:11:57 playback2396[m] joins (~playback2@2001:470:69fc:105::2:feb8)
09:21:28 mzanic joins (~mzanic@141.138.10.98)
09:26:56 × mzanic quits (~mzanic@141.138.10.98) (Ping timeout: 255 seconds)
09:28:23 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
09:36:50 [Leary] joins (~Leary]@user/Leary/x-0910699)
09:40:41 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
09:49:45 <xmonadtrack> xmonad-contrib l * v0.17.1-132-g2dd3c614: add loggers for window classname (23 hours ago, 2 files, 139+ 31-) https://github.com/xmonad/xmonad-contrib/commit/2dd3c614e244
09:49:47 <xmonadtrack> xmonad-contrib Yecine Megdiche {GitHub} * v0.17.1-135-g1bcdbc90: Merge pull request #800 from 1in1/master (37 seconds ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/1bcdbc9072df
09:50:01 unclechu joins (~unclechu@2001:470:69fc:105::354)
09:51:47 [Leary] joins (~Leary]@user/Leary/x-0910699)
10:06:19 × ft quits (~ft@p3e9bc443.dip0.t-ipconnect.de) (Quit: leaving)
10:20:41 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
10:24:14 [Leary] joins (~Leary]@user/Leary/x-0910699)
10:27:19 T_X joins (~T_X@diktynna.open-mesh.org)
10:27:39 × T_X_ quits (~T_X@diktynna.open-mesh.org) (Read error: Connection reset by peer)
11:00:05 spaceseller_ joins (~spacesell@cpe-94-253-202-138.zg2.cable.xnet.hr)
11:01:50 × spaceseller_ quits (~spacesell@cpe-94-253-202-138.zg2.cable.xnet.hr) (Client Quit)
11:08:26 patrl joins (~patrl@user/patrl)
11:12:10 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
11:13:27 [Leary] joins (~Leary]@user/Leary/x-0910699)
11:27:55 ElKowar8 joins (~ElKowar@srv-fin.xware-gmbh.de)
11:28:41 banc- joins (banc@gateway/vpn/protonvpn/banc)
11:28:52 haskl[error] joins (~haskl@user/haskl)
11:29:59 exordiri_ joins (~ex@user/exordiri)
11:30:19 jsoo_ joins (~znc@irc.refl.club)
11:30:21 Magician joins (deepy@user/deepy)
11:30:33 guygastineau joins (~guygastin@137.184.131.156)
11:30:36 dminuoso_ joins (~dminuoso@user/dminuoso)
11:30:54 telser_ joins (~quassel@user/telser)
11:30:57 smashgra_ joins (~smashgrab@188.166.8.80)
11:31:02 thaumavorio_ joins (~thaumavor@thaumavor.io)
11:31:07 avalan joins (~dweller@178.62.146.60)
11:31:18 laman2 joins (~laman@rego.ai)
11:31:22 mightyby1e joins (~mightybyt@ec2-52-201-220-249.compute-1.amazonaws.com)
11:36:28 × banc quits (banc@gateway/vpn/protonvpn/banc) (*.net *.split)
11:36:28 × telser quits (~quassel@user/telser) (*.net *.split)
11:36:28 × smashgrab quits (~smashgrab@188.166.8.80) (*.net *.split)
11:36:28 × dweller quits (~dweller@178.62.146.60) (*.net *.split)
11:36:28 × ml| quits (~ml|@user/ml/x-5298235) (*.net *.split)
11:36:28 × haskl quits (~haskl@user/haskl) (*.net *.split)
11:36:28 × RMSBach quits (~guygastin@137.184.131.156) (*.net *.split)
11:36:28 × ElKowar quits (~ElKowar@srv-fin.xware-gmbh.de) (*.net *.split)
11:36:28 × jsoo quits (~znc@irc.refl.club) (*.net *.split)
11:36:28 × _qw quits (~eqw@31.134.178.99) (*.net *.split)
11:36:28 × thaumavorio quits (~thaumavor@thaumavor.io) (*.net *.split)
11:36:28 × mightybyte quits (~mightybyt@ec2-52-201-220-249.compute-1.amazonaws.com) (*.net *.split)
11:36:28 × dminuoso quits (~dminuoso@user/dminuoso) (*.net *.split)
11:36:28 × deepy quits (deepy@user/deepy) (*.net *.split)
11:36:28 × exordiri quits (~ex@user/exordiri) (*.net *.split)
11:36:28 × laman1 quits (~laman@rego.ai) (*.net *.split)
11:36:35 ElKowar8 is now known as ElKowar
11:36:45 _qw joins (~eqw@31.134.178.99)
11:43:23 ml| joins (~ml|@user/ml/x-5298235)
11:50:58 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
11:54:39 [Leary] joins (~Leary]@user/Leary/x-0910699)
11:59:15 × _qw quits (~eqw@31.134.178.99) (Ping timeout: 260 seconds)
12:11:11 × Hmmf quits (~Hmmf@2a01:e0a:582:bb40:e5c6:f484:7015:1722) (Quit: Client closed)
12:21:34 avalan is now known as dweller
12:48:38 _qw joins (~eqw@31.134.178.99)
12:50:36 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
12:56:53 × BetweenUs quits (~spacesell@cpe-94-253-202-138.zg2.cable.xnet.hr) (Quit: Leaving)
13:04:02 tremon joins (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl)
14:19:27 alternateved joins (~user@staticline-31-183-180-86.toya.net.pl)
15:17:22 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.8)
15:50:03 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 268 seconds)
15:51:30 mvk joins (~mvk@2607:fea8:5caa:ac00::fa57)
16:00:05 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
16:07:38 × patrl quits (~patrl@user/patrl) (Ping timeout: 246 seconds)
16:41:17 × alternateved quits (~user@staticline-31-183-180-86.toya.net.pl) (Remote host closed the connection)
16:47:33 <galactic_starfis> what's the best way for me to determine why my config continues to crash?
16:48:19 <geekosaur> check ~/.xsession-errors or equivalent for crash messages
16:48:35 unclechu joins (~unclechu@2001:470:69fc:105::354)
16:48:53 <galactic_starfis> it crashes almost every other restart, my gridselect freezes, half my keybinds don't work, my barHook pipe is stuck "updating"...
16:49:01 <galactic_starfis> none of these problems existed before I revamped my config... how do I determine where these errors arise from?
16:49:06 <geekosaur> compile your config with profiling and run with +RTS -xc to find out where any exception is happening
16:54:16 <geekosaur> GridSelect freezing shouldn't "normally" happen, although it's got an unfortunate assumption built into it that can trap you (the main loop isn't running during it so trying to pop a non-override_redirect window in the middle of it will lock up)
16:55:16 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
16:57:14 <galactic_starfis> https://paste.ee/p/4bLNH
16:57:46 <galactic_starfis> any idea why this is behaving like this?
16:59:23 <galactic_starfis> another oddity: recompilation via M-q makes it complain about missing modules... but this might be due to something in my nixos config, so, unsure
17:07:50 <geekosaur> dunno about nix. `guard` throws an IO exception, so you gain nothing over letting `readFile` throw it (and in fact lose information since the exception is less helpful)
17:10:18 <geekosaur> (`readFile`'s exception includes the file name. `guard`'s is "user error (mzero)")
17:11:52 <geekosaur> I would question where this is running from, if it's not finding files (or modules). xmonad itself typically runs from your home directory, not the xmonad config directory. recompiles run from your config directory though
17:12:47 <geekosaur> but those errors at the end from `getDirectories` makes me wonder if xmonad has been run from an unexpected place like /
17:22:50 <geekosaur> actually this is a bit confusing. if you aren't seeing the readFile exception then it's being thrown by something forced by readFile, not readFile itself… but the usual cause there is a bad filename, which should be thrown by doesFileExist instead in your code
17:22:55 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds)
17:23:53 <geekosaur> oh, it's tryReadFile, not readFile. so you need to add a debug traceIO there to show what it's trying to access
17:24:27 <geekosaur> if the exception moves to that then your filename is bottom for some reason, which means checking your parser
17:24:57 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
17:29:40 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds)
17:30:36 werneta joins (~werneta@70.142.214.115)
17:35:20 <galactic_starfis> https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/lib/Custom/Grid.hs and https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/lib/Custom/Keys.hs#L214
17:35:20 <galactic_starfis> why exactly is this gridselect setup broken?
17:37:07 <galactic_starfis> not sure what's going on with readFile... but the gridselect thing is more worrysome
17:37:42 <galactic_starfis> and I stripped it down to just readFile, as that just makes more sense
17:43:04 <geekosaur> if "half your keys don't work" and half your keys use `settings`, then I'd suspect that. and since most of your crashes go through that `readFile` via Custom.Vars, again I suspect something is not where you expect it to be and `settings` is full of bottoms that "detonate" when used
17:43:46 <geekosaur> (IO is strict, yes, but strict is WHNF and that's likely to be `return _|_` or `pure _|_`)
17:47:43 <geekosaur> also it seems like you may have done this non-optimally if it's reading `settings` from a file on every use
17:54:21 <geekosaur> wait. can't be `settings` unless you used `unsafePerformIO` to define it
17:58:27 <galactic_starfis> the only unsafePerformIO I have is the definition of home ($HOME env var)
18:02:52 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
18:11:13 <galactic_starfis> I define settings here https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/xmonad.hs#L547 , does the recursive definition cause issues?
18:20:04 <geekosaur> I would expect an infinite loop if it were, not an exception
18:26:48 <galactic_starfis> yeah
18:26:56 <geekosaur> btw, you don't need hex6
18:28:08 <galactic_starfis> I believe stalonetray only takes #------ not #---
18:28:13 <galactic_starfis> so, standard of 6 is easier
18:29:42 <geekosaur> oh. broken. it should use XParseColor which supports #rgb just fine
19:09:53 <galactic_starfis> I suppose I was hasty with the "half nmy keys", it's more like all of my gridselect and X.A.prompt related keybinds are broken
19:12:03 <galactic_starfis> and I somehow broke my floatMolds (which are just rectangles onscreen used to float a window at will) and tangentially made my scratchpads nearly unusable
19:12:13 <galactic_starfis> but I can probably sort that part out myself
19:14:23 <galactic_starfis> but, moving struts underneath my fullscreen layout modifier did work and allow me to remove one message being sent in the toggling process
19:15:55 <geekosaur> do you get one of those exceptions spit out when you try to use one of those keybinds?
19:24:04 <galactic_starfis> nothing in xsessionerrors, but I'm starting to be annoyed with my display manager... not sure where to find that out truly
19:24:59 <geekosaur> you won't see anything without +RTS -xc; xmonad eats exceptions from user code
19:25:48 <galactic_starfis> hm, time to somehow ditch my display manager then
19:29:37 <geekosaur> also different systems can put the session log in different places. some use journald, for example. and sddm puts the session log somewhere else that I always have to look up
19:30:02 <geekosaur> ~/.local/share/sddm/xorg-session.log
19:32:28 <geekosaur> anyway exceptions are the most common reason for keybindings to not work
19:34:50 <galactic_starfis> the weird thing is that the entire wm hangs if I use my main gridselect
19:35:57 <geekosaur> that might be a symptom of a recursive definition
19:39:34 <geekosaur> `nest` looks slightly suspicious, since it appears to reinvoke itself, but I can't tell if it's eta-reduced. still `nest settings items = … nest settings items` looks wrong
19:40:59 <galactic_starfis> <galactic_starfis> "the weird thing is that the..." <- but the first time I ran it it appeared before hanging...
19:41:14 <galactic_starfis> I'll double check that definition
19:42:35 <geekosaur> right, but if that's repeating itself then it just keeps redisplaying the same menu over and over and looks hung
19:43:28 <geekosaur> unless you happen to catch the flicker as it redisplays, which is a little tricky on modern hardware
19:51:50 ft joins (~ft@p3e9bc443.dip0.t-ipconnect.de)
20:01:53 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Quit: ....and i am outta here....)
20:02:55 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
20:05:50 Magician is now known as deepy
21:07:50 mc47 joins (~mc47@xmonad/TheMC47)
21:29:08 <galactic_starfis> that isn't it, changing nest settings items to return False didn't make the problem go away
21:31:59 <geekosaur> wait. I just noticed, I think you have two different `settings`. one is your configuration, one is line 64 of Grid.hs
21:32:54 <geekosaur> no, sorery, misreading\
21:33:05 <geekosaur> trying to do too many things at once
21:34:00 <geekosaur> (don't codeswitch to perl while reading haskell, kids 🙂
21:35:48 <geekosaur> this is approaching the point where I'd start dropping some debug prints into the code to see what's executing when
21:36:29 <geekosaur> foo … | traceShow "foo" False = undefined; foo …
21:41:12 × mvk quits (~mvk@2607:fea8:5caa:ac00::fa57) (Quit: Going elsewhere)
21:51:13 <geekosaur> (import Debug.Trace for `traceShow`)
21:56:29 <galactic_starfis> I'm still having trouble getting my log file... this setup is really annoying me...
21:58:13 <galactic_starfis> well, I'll have to come back to this in 7 hours or so, duty calls...
22:09:26 horzion joins (~horzion@ProtonDB/horzion)
22:10:05 beastwick parts (~beastwick@pool-74-102-103-88.nwrknj.fios.verizon.net) (WeeChat 3.0)
22:56:10 sagax joins (~sagax_nb@user/sagax)
23:19:51 × tremon quits (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
23:24:05 mvk joins (~mvk@2607:fea8:5caa:ac00::fa57)
23:24:43 × mvk quits (~mvk@2607:fea8:5caa:ac00::fa57) (Client Quit)

All times are in UTC on 2023-02-13.