Home liberachat/#xmonad: Logs Calendar

Logs on 2022-04-05 (liberachat/#xmonad)

00:07:33 × syg quits (~syg@flamebot.net) (Ping timeout: 256 seconds)
00:08:22 × coldpress quits (~coldpress@72.136.212.35.bc.googleusercontent.com) (Quit: ZNC 1.7.2 - https://znc.in)
00:08:43 coldpress joins (~coldpress@72.136.212.35.bc.googleusercontent.com)
00:09:08 syg joins (~syg@flamebot.net)
00:13:47 × akamar quits (~akamar@p5b0ca16a.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
00:13:47 × wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (Ping timeout: 256 seconds)
00:13:47 × joshproehl quits (~quassel@user/joshproehl) (Ping timeout: 256 seconds)
00:14:09 rieper|net joins (~riepernet@sxbeta1.geo.uni-leipzig.de)
00:14:14 joshproehl joins (~quassel@user/joshproehl)
00:14:21 × rieper quits (~riepernet@sxbeta1.geo.uni-leipzig.de) (Ping timeout: 256 seconds)
00:15:10 akamar joins (~akamar@p5b0ca16a.dip0.t-ipconnect.de)
00:23:22 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 29.0.50)
00:26:31 wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de)
00:47:05 × steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 246 seconds)
00:53:15 vanvik joins (~vanvik@78.156.12.223)
02:00:01 mc47 joins (~mc47@xmonad/TheMC47)
02:02:16 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
02:04:07 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds)
02:10:10 smashgra_ joins (~smashgrab@bare.metal.computer)
02:11:05 × fcser quits (~fcser@booty.farted.net) (Ping timeout: 256 seconds)
02:11:05 × smashgrab quits (~smashgrab@bare.metal.computer) (Ping timeout: 256 seconds)
02:11:39 × twiclo quits (~twiclo@204.14.20.66.static.utbb.net) (Ping timeout: 256 seconds)
02:13:36 twiclo joins (~twiclo@204.14.20.66.static.utbb.net)
02:16:10 fcser joins (~fcser@booty.farted.net)
02:18:00 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
02:23:11 banc joins (banc@gateway/vpn/airvpn/banc)
02:42:54 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:45:20 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
04:09:31 × Jazzah quits (~jazz@user/jazzah) (Ping timeout: 256 seconds)
04:15:12 Jazzah joins (~jazz@stolen.plutonium.dk)
04:15:12 × Jazzah quits (~jazz@stolen.plutonium.dk) (Changing host)
04:15:12 Jazzah joins (~jazz@user/jazzah)
04:52:06 × jludwig quits (~justin@user/jludwig) (Quit: ZNC - https://znc.in)
04:53:10 jludwig joins (~justin@li657-110.members.linode.com)
05:23:44 chomwitt joins (~chomwitt@2a02:587:dc19:3600:a66b:8309:cc51:32)
06:16:34 <Solid> https://github.com/NixOS/nixpkgs/pull/160733 is merged now so nixos should have 0.17.0 I think
06:16:40 <Solid> at least unstable
06:17:04 <Solid> and yeah the matrix bridge is having some issues :/
06:17:12 <Solid> I noticed some messages not making it IRC -> Matrix
06:35:37 cfricke joins (~cfricke@user/cfricke)
08:18:00 <abastro[m]> Since when did `isDialog` existed
08:18:11 <abastro[m]> When I took hours coding in that
08:19:59 <abastro[m]> Perhaps it has been there near permanently
08:20:12 <abastro[m]> And I might not have notice it.. :<
09:00:06 × eayavas[m] quits (~eayavasma@2001:470:69fc:105::3097) (Quit: You have been kicked for being idle)
09:00:13 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
09:05:56 <abastro[m]> When I was trying hard to reproduce the behavior, but with the minimal example the desktop is so unstable....
09:06:03 <abastro[m]> It is eager to turn itself off
09:21:45 cyr4x3 joins (~cyr4x3@139.47.114.80)
09:45:06 × chomwitt quits (~chomwitt@2a02:587:dc19:3600:a66b:8309:cc51:32) (Read error: Connection reset by peer)
09:45:19 chomwitt joins (~chomwitt@2a02:587:dc19:3600:a66b:8309:cc51:32)
10:15:07 mc47 joins (~mc47@xmonad/TheMC47)
10:23:14 <geekosaur> ManageHelpers has been around a fair while
10:23:21 <geekosaur> including isDialog
10:23:27 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
10:23:56 <geekosaur> it's worth going through contrib once to see what's there' although remembering all 200 modules is probably asking a bit much for most people :)
10:30:08 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
10:30:32 geekosaur joins (~geekosaur@xmonad/geekosaur)
11:28:23 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.4.1)
12:18:56 cfricke joins (~cfricke@user/cfricke)
12:31:33 <abastro[m]> Interesting
12:31:59 <abastro[m]> I am lost at what would be causing the frequent shutdown on the simplest xmonad instance.
12:32:20 <abastro[m]> Do you have any idea? It just goes back to login screen without any log.
13:15:50 <abastro[m]> Perhaps it might be ghc 9.2.2 bug..
13:36:39 <geekosaur> no¸that usually means xmonad wans'tfound and the sessionshuts down immediately
13:37:01 <geekosaur> make sure xmonad is in the session's PATH (remember that without helpit's usually /bin:/usr/bin)
13:40:21 <geekosaur> most commonly you are using an old-stylesession (~/.xsession) and you just need to `source ~/.profile` or similar in it to get your PATH
14:24:16 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.4.1)
14:37:45 × chomwitt quits (~chomwitt@2a02:587:dc19:3600:a66b:8309:cc51:32) (Ping timeout: 248 seconds)
14:44:49 <abastro[m]> No, I mean
14:45:12 <abastro[m]> It turns on fine
14:45:22 <abastro[m]> But minutes later, it turns off again
14:46:02 <geekosaur> uh
14:46:08 <abastro[m]> Somehow for unknown reason, it suddenly shuts oft
14:46:18 <abastro[m]> And goes back to login screen
14:46:39 <abastro[m]> Quite haunting tbh
14:46:45 <abastro[m]> Not even logs tell anything
14:47:50 <abastro[m]> geekosaur: any guess?
14:48:04 <geekosaur> nope
14:48:10 <abastro[m]> Is it wrong to upgrade to ghc9.2.2
14:48:46 <geekosaur> I haven't heard of any problems with it, but can't rule out a codegen issue
14:49:53 <abastro[m]> Wait, xmonad does codegen?
14:50:07 <abastro[m]> Hmm
14:51:09 <geekosaur> no, I'm suggesting oif the compiler produces bad code then xmonadmight simply be dumping core
14:58:43 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
14:59:04 geekosaur joins (~geekosaur@xmonad/geekosaur)
14:59:38 <abastro[m]> Ohno
15:00:16 <abastro[m]> Hm how would I..
15:05:55 chomwitt joins (~chomwitt@athedsl-31881.home.otenet.gr)
15:13:01 <geekosaur> possibly a wrapper script
15:20:56 <abastro[m]> Hm idk if it would be dumping core
15:21:21 <abastro[m]> I also observed that this random crashing happens often after recompiling
15:22:03 <abastro[m]> I can do many things, like browsing the internet with xmonad working, but when I trigger recompile functionality
15:22:05 <geekosaur> you might not find core files if the system has them disabled (many linuxes default to `ulimit -c 0`) or catches them (that normally provides a pop-up, but not if it takes the session with it)
15:22:11 <abastro[m]> It suddenly turns off!
15:22:29 <abastro[m]> Then it turns off in a minute a few times more
15:22:55 <geekosaur> hm. something about handleEventHook then, maybe?
15:26:05 <abastro[m]> What does handleEventHook does?
15:26:11 <geekosaur> I would arrange to build with debug info (requires a build script) and then run it via gdb, but I know what to do with the result :) (and how to do it…)
15:26:11 <abastro[m]> do*
15:27:13 <geekosaur> any event xmonad receives from the server goes through the master handleEventHook. first it runs the user handleEventHook (which is normally empty), then it handles various internal events
15:27:39 <geekosaur> oh wait, recompile doesn't send any events, only restart does
15:28:06 <geekosaur> what kind of machine is this? any chance you could be running out of memory?
15:30:51 <abastro[m]> Oh wait
15:31:03 <abastro[m]> I was doing recompile, not restart
15:31:10 <abastro[m]> So that makes sense.
15:31:13 <geekosaur> yes, I was the one confused, not you
15:31:14 <abastro[m]> No chance of OOM
15:33:34 <abastro[m]> Oh no I was doubly confused
15:33:48 <abastro[m]> I was doing restart
15:33:50 <abastro[m]> Not recompile
15:34:11 <abastro[m]> Me lol.. I wonder if I am a human being at this point
15:34:11 <geekosaur> are you just doing mod-q? that will do both
15:34:45 <geekosaur> the restart part happens only if the recompile is successful, and sets a property on the root window which the master event hook detects
15:36:54 <abastro[m]> Yes, mod+q
15:37:08 <abastro[m]> Why did I even say recompile meh
15:37:26 <abastro[m]> Sorry, I am a dumb being
15:46:43 × twiclo quits (~twiclo@204.14.20.66.static.utbb.net) (Killed (erbium.libera.chat (Nickname regained by services)))
15:47:07 Guest5934 joins (~twiclo@204.14.20.66.static.utbb.net)
16:00:10 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
16:40:10 × jludwig quits (~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
16:41:07 jludwig joins (~justin@li657-110.members.linode.com)
16:47:54 <Solid> I love how, instead of user error, the first instinct is bad codegen by GHC :D
16:48:09 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
16:48:28 <geekosaur> if it's crashing randomly in the middleof a session, with a relatively new ghc version, well, yes
16:48:41 <geekosaur> especially if it doesn't happen with other versions
16:49:25 geekosaur wonders if he's dumb enough to risk trying it himself
16:49:42 <geekosaur> don't like randomly losing my session…
16:50:11 <Solid> didn't they come around to it being user error?
16:50:37 <geekosaur> no?
16:51:00 <geekosaur> the only user error they admitted to was being confused about recompile vs. restart vs. what mod-qdoes (which is both)
16:51:04 <Solid> all this apologising sounds to me like "oh sorry I did a thing"
17:06:42 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
17:08:22 geekosaur joins (~geekosaur@xmonad/geekosaur)
17:52:53 × chomwitt quits (~chomwitt@athedsl-31881.home.otenet.gr) (Ping timeout: 268 seconds)
17:58:15 chomwitt joins (~chomwitt@athedsl-20549.home.otenet.gr)
18:04:51 × vifon quits (~vifon@user/vifon) (Quit: WeeChat 2.9)
18:46:04 × chomwitt quits (~chomwitt@athedsl-20549.home.otenet.gr) (Ping timeout: 260 seconds)
18:47:22 chomwitt joins (~chomwitt@athedsl-369869.home.otenet.gr)
19:07:09 YusefAslam[m] joins (~yusz1matr@2001:470:69fc:105::1:12c)
19:08:23 <YusefAslam[m]> Hi everyone, is there any way to switch a window into my own custom floating layer that has a decoration when doing mod + mouse button 1 and also move it aswell, I looked at XMonad source but I don't know how I would do this
19:08:59 <YusefAslam[m]> wait leme try something brb
19:12:11 <geekosaur> not presently. I've thought a bit about a layout which allowed for multiple layers, in particular so we could add true EWMH layer support, but it would have several shortcomings basically coming from the same source as our floating layer's many shortcomings. (To wit, each layer should really have its own StackSet.)
19:16:47 <YusefAslam[m]> ah man, I guess I'll just deal with the limitation then I guess, not a big problem though, but would be nice to have
19:18:38 <geekosaur> well, its own Stack, not a whole StackSet. but still. things would just behave way too weirdly if it kept jumping layers and intermixing windows, unless we gave the user some way to reorder a Stack
19:22:35 Nahra joins (~user@static.161.95.99.88.clients.your-server.de)
19:23:51 kelnoky joins (~kelnoky@2a02:8108:50c0:5650:7495:4f81:a1eb:3e61)
19:25:43 <YusefAslam[m]> 👍️
19:27:56 obimod joins (~obimod@gateway/vpn/pia/obimod)
19:34:04 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
20:34:26 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Quit: every day brings new choices)
21:15:04 × kelnoky quits (~kelnoky@2a02:8108:50c0:5650:7495:4f81:a1eb:3e61) (Ping timeout: 250 seconds)
21:23:15 <anon_kun600[m]> was there anything in particle wrong with my config
21:26:09 <geekosaur> you have `main =` twice, once at the beginning (correct), once at the end (with an empty do block which is a syntax error)
21:26:47 <geekosaur> remove lines 311–316
21:31:16 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:11:56 <anon_kun600[m]> thank you
22:21:02 <YusefAslam[m]> s/layer/layout/
22:27:22 <geekosaur> hm. an actual "floating" layout that didn't simply kick stuff into the floating layer like SimplestFloat would be a lot of work
22:28:18 <geekosaur> and our layout handling probably isn't very up to it, although I guess storing a Map Window RationalRect of your own including decorations would be doable
22:41:08 <abastro[m]> Floating layout?
22:43:37 × chomwitt quits (~chomwitt@athedsl-369869.home.otenet.gr) (Ping timeout: 248 seconds)
23:02:50 × cyr4x3 quits (~cyr4x3@139.47.114.80) (Quit: WeeChat 2.3)
23:24:58 theproffesor joins (~theproffe@2601:282:847f:7f00::87)
23:46:47 mvk joins (~mvk@2607:fea8:5ce3:8500::9d5a)

All times are in UTC on 2022-04-05.