Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,977 events total
2023-02-13 11:30:33 guygastineau joins (~guygastin@137.184.131.156)
2023-02-13 11:30:36 dminuoso_ joins (~dminuoso@user/dminuoso)
2023-02-13 11:30:54 telser_ joins (~quassel@user/telser)
2023-02-13 11:30:57 smashgra_ joins (~smashgrab@188.166.8.80)
2023-02-13 11:31:02 thaumavorio_ joins (~thaumavor@thaumavor.io)
2023-02-13 11:31:07 avalan joins (~dweller@178.62.146.60)
2023-02-13 11:31:18 laman2 joins (~laman@rego.ai)
2023-02-13 11:31:22 mightyby1e joins (~mightybyt@ec2-52-201-220-249.compute-1.amazonaws.com)
2023-02-13 11:36:28 × banc quits (banc@gateway/vpn/protonvpn/banc) (*.net *.split)
2023-02-13 11:36:28 × telser quits (~quassel@user/telser) (*.net *.split)
2023-02-13 11:36:28 × smashgrab quits (~smashgrab@188.166.8.80) (*.net *.split)
2023-02-13 11:36:28 × dweller quits (~dweller@178.62.146.60) (*.net *.split)
2023-02-13 11:36:28 × ml| quits (~ml|@user/ml/x-5298235) (*.net *.split)
2023-02-13 11:36:28 × haskl quits (~haskl@user/haskl) (*.net *.split)
2023-02-13 11:36:28 × RMSBach quits (~guygastin@137.184.131.156) (*.net *.split)
2023-02-13 11:36:28 × ElKowar quits (~ElKowar@srv-fin.xware-gmbh.de) (*.net *.split)
2023-02-13 11:36:28 × jsoo quits (~znc@irc.refl.club) (*.net *.split)
2023-02-13 11:36:28 × _qw quits (~eqw@31.134.178.99) (*.net *.split)
2023-02-13 11:36:28 × thaumavorio quits (~thaumavor@thaumavor.io) (*.net *.split)
2023-02-13 11:36:28 × mightybyte quits (~mightybyt@ec2-52-201-220-249.compute-1.amazonaws.com) (*.net *.split)
2023-02-13 11:36:28 × dminuoso quits (~dminuoso@user/dminuoso) (*.net *.split)
2023-02-13 11:36:28 × deepy quits (deepy@user/deepy) (*.net *.split)
2023-02-13 11:36:28 × exordiri quits (~ex@user/exordiri) (*.net *.split)
2023-02-13 11:36:28 × laman1 quits (~laman@rego.ai) (*.net *.split)
2023-02-13 11:36:35 ElKowar8 is now known as ElKowar
2023-02-13 11:36:45 _qw joins (~eqw@31.134.178.99)
2023-02-13 11:43:23 ml| joins (~ml|@user/ml/x-5298235)
2023-02-13 11:50:58 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
2023-02-13 11:54:39 [Leary] joins (~Leary]@user/Leary/x-0910699)
2023-02-13 11:59:15 × _qw quits (~eqw@31.134.178.99) (Ping timeout: 260 seconds)
2023-02-13 12:11:11 × Hmmf quits (~Hmmf@2a01:e0a:582:bb40:e5c6:f484:7015:1722) (Quit: Client closed)
2023-02-13 12:21:34 avalan is now known as dweller
2023-02-13 12:48:38 _qw joins (~eqw@31.134.178.99)
2023-02-13 12:50:36 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
2023-02-13 12:56:53 × BetweenUs quits (~spacesell@cpe-94-253-202-138.zg2.cable.xnet.hr) (Quit: Leaving)
2023-02-13 13:04:02 tremon joins (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl)
2023-02-13 14:19:27 alternateved joins (~user@staticline-31-183-180-86.toya.net.pl)
2023-02-13 15:17:22 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.8)
2023-02-13 15:50:03 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 268 seconds)
2023-02-13 15:51:30 mvk joins (~mvk@2607:fea8:5caa:ac00::fa57)
2023-02-13 16:00:05 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
2023-02-13 16:07:38 × patrl quits (~patrl@user/patrl) (Ping timeout: 246 seconds)
2023-02-13 16:41:17 × alternateved quits (~user@staticline-31-183-180-86.toya.net.pl) (Remote host closed the connection)
2023-02-13 16:47:33 <galactic_starfis> what's the best way for me to determine why my config continues to crash?
2023-02-13 16:48:19 <geekosaur> check ~/.xsession-errors or equivalent for crash messages
2023-02-13 16:48:35 unclechu joins (~unclechu@2001:470:69fc:105::354)
2023-02-13 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"...
2023-02-13 16:49:01 <galactic_starfis> none of these problems existed before I revamped my config... how do I determine where these errors arise from?
2023-02-13 16:49:06 <geekosaur> compile your config with profiling and run with +RTS -xc to find out where any exception is happening
2023-02-13 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)
2023-02-13 16:55:16 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-02-13 16:57:14 <galactic_starfis> https://paste.ee/p/4bLNH
2023-02-13 16:57:46 <galactic_starfis> any idea why this is behaving like this?
2023-02-13 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
2023-02-13 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)
2023-02-13 17:10:18 <geekosaur> (`readFile`'s exception includes the file name. `guard`'s is "user error (mzero)")
2023-02-13 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
2023-02-13 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 /
2023-02-13 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
2023-02-13 17:22:55 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds)
2023-02-13 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
2023-02-13 17:24:27 <geekosaur> if the exception moves to that then your filename is bottom for some reason, which means checking your parser
2023-02-13 17:24:57 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-02-13 17:29:40 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds)
2023-02-13 17:30:36 werneta joins (~werneta@70.142.214.115)
2023-02-13 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
2023-02-13 17:35:20 <galactic_starfis> why exactly is this gridselect setup broken?
2023-02-13 17:37:07 <galactic_starfis> not sure what's going on with readFile... but the gridselect thing is more worrysome
2023-02-13 17:37:42 <galactic_starfis> and I stripped it down to just readFile, as that just makes more sense
2023-02-13 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
2023-02-13 17:43:46 <geekosaur> (IO is strict, yes, but strict is WHNF and that's likely to be `return _|_` or `pure _|_`)
2023-02-13 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
2023-02-13 17:54:21 <geekosaur> wait. can't be `settings` unless you used `unsafePerformIO` to define it
2023-02-13 17:58:27 <galactic_starfis> the only unsafePerformIO I have is the definition of home ($HOME env var)
2023-02-13 18:02:52 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
2023-02-13 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?
2023-02-13 18:20:04 <geekosaur> I would expect an infinite loop if it were, not an exception
2023-02-13 18:26:48 <galactic_starfis> yeah
2023-02-13 18:26:56 <geekosaur> btw, you don't need hex6
2023-02-13 18:28:08 <galactic_starfis> I believe stalonetray only takes #------ not #---
2023-02-13 18:28:13 <galactic_starfis> so, standard of 6 is easier
2023-02-13 18:29:42 <geekosaur> oh. broken. it should use XParseColor which supports #rgb just fine
2023-02-13 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
2023-02-13 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
2023-02-13 19:12:13 <galactic_starfis> but I can probably sort that part out myself
2023-02-13 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
2023-02-13 19:15:55 <geekosaur> do you get one of those exceptions spit out when you try to use one of those keybinds?
2023-02-13 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
2023-02-13 19:24:59 <geekosaur> you won't see anything without +RTS -xc; xmonad eats exceptions from user code
2023-02-13 19:25:48 <galactic_starfis> hm, time to somehow ditch my display manager then
2023-02-13 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
2023-02-13 19:30:02 <geekosaur> ~/.local/share/sddm/xorg-session.log
2023-02-13 19:32:28 <geekosaur> anyway exceptions are the most common reason for keybindings to not work
2023-02-13 19:34:50 <galactic_starfis> the weird thing is that the entire wm hangs if I use my main gridselect
2023-02-13 19:35:57 <geekosaur> that might be a symptom of a recursive definition
2023-02-13 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
2023-02-13 19:40:59 <galactic_starfis> <galactic_starfis> "the weird thing is that the..." <- but the first time I ran it it appeared before hanging...
2023-02-13 19:41:14 <galactic_starfis> I'll double check that definition
2023-02-13 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
2023-02-13 19:43:28 <geekosaur> unless you happen to catch the flicker as it redisplays, which is a little tricky on modern hardware

All times are in UTC.