Home liberachat/#xmonad: Logs Calendar

Logs on 2021-11-13 (liberachat/#xmonad)

00:05:47 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 264 seconds)
00:26:21 electr0n joins (~electr0n@about/security/founder/electr0n)
00:44:07 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
00:48:09 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Client Quit)
00:48:33 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
00:48:36 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Client Quit)
00:48:53 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
00:59:55 obimod joins (~obimod@gateway/vpn/pia/obimod)
01:05:33 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
01:57:06 diep joins (~diep@2a01:cb11:2d7:4a00:7f5f:843d:9df3:52a9)
02:00:36 × diep quits (~diep@2a01:cb11:2d7:4a00:7f5f:843d:9df3:52a9) (Client Quit)
02:17:47 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
03:02:51 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds)
03:22:20 banc joins (banc@gateway/vpn/airvpn/banc)
03:45:05 × eyenx quits (~m-5paiux@eyenx.ch) (Remote host closed the connection)
03:45:14 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
03:45:49 eyenx joins (~m-5paiux@eyenx.ch)
03:59:59 × td_ quits (~td@94.134.91.243) (Ping timeout: 256 seconds)
04:01:29 td_ joins (~td@muedsl-82-207-238-039.citykom.de)
04:59:15 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Quit: Going elsewhere)
05:25:58 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
06:47:47 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Ping timeout: 264 seconds)
07:45:31 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
08:09:23 <Solid> liskin: I'm a bit OOTL, what's the current state of "let's try to affiliate with the HF"?
08:28:51 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 245 seconds)
09:02:13 qbt joins (~qbt@user/edun)
09:16:35 mc47 joins (~mc47@xmonad/TheMC47)
09:17:33 allbery_b joins (~geekosaur@xmonad/geekosaur)
09:17:33 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
09:17:36 allbery_b is now known as geekosaur
09:17:48 <mc47[m]> Solid: we'd need to make our governance structure clear, and not only have guidelines for the community but a way to enforce them
09:18:06 <mc47[m]> I wanted to try to come up with something but life got in the way
09:19:35 × pl quits (sid98063@helmsley.irccloud.com) (Ping timeout: 264 seconds)
09:21:51 × amir quits (sid22336@user/amir) (Ping timeout: 256 seconds)
09:23:39 pl joins (sid98063@helmsley.irccloud.com)
09:25:02 <liskin> We don't necessarily need to have all of that, but we should at least have some docs about what happens if (some of) the current maintenainers die, how important decisions are (to be) made, and how we all want to conduct ourselves. It doesn't need to be perfect and there doesn't need to be a real CoC enforcement committee.
09:25:36 amir joins (sid22336@user/amir)
09:25:58 <liskin> I'm quite sure anyone who likes writing and doesn't like perfection can put all that into place in a matter of hours but I'm neither. :-)
09:55:25 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
09:59:30 Guest13 joins (~Guest13@host-87-14-36-87.retail.telecomitalia.it)
09:59:43 <Guest13> Hello?
10:01:09 × Guest13 quits (~Guest13@host-87-14-36-87.retail.telecomitalia.it) (Client Quit)
10:25:03 <M-elo-[m]> Can someone helpme make the xmonad config I am using work again? It seems to be failing in
10:25:03 <M-elo-[m]> ```hs
10:25:03 <M-elo-[m]> activateLogHook (reader W.focusWindow >>= doF
10:25:03 <M-elo-[m]> logHook def
10:25:06 <M-elo-[m]> * Can someone helpme make the xmonad config I am using work again? It seems to be failing in... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/b46dbcbb7c46fce9f9ccc0daf8aa3c96c382c301)
10:25:23 <M-elo-[m]> * Can someone helpme make the xmonad config I am using work again? It seems to be failing in:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/67e17e27e00c5582a92b7e1747df338babcf184d)
10:25:31 <M-elo-[m]> Huh code format is not working...
10:26:43 <M-elo-[m]> * Can someone helpme make the xmonad config I am using work again? It seems to be failing in:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/5c0f04e92c89b0ae6ce50fc064a1ec858b4a1c98)
10:27:10 Mion prefers a proper pastebin
10:27:33 <M-elo-[m]> Cannot, stuck in xsession
10:27:49 <Mion> gist works from cli
10:27:58 <M-elo-[m]> s/xsession/display manager atm due to amdgpu crap/
10:28:10 <M-elo-[m]> I sent the whole code file though
10:28:12 <Mion> so does rs and other sites
10:28:33 <M-elo-[m]> it's in the github repo
10:28:38 <Mion> yea could have just posted that instead of having to go trough the silly matrix bridge link and copy paste the link from the text
10:29:22 <Mion> full error would also be helpfull
10:29:27 <M-elo-[m]> Oh crap... forgot about how the bridge worked again
10:29:31 <M-elo-[m]> Sorry about that
10:29:56 <Mion> and which version of xmonad(-contrib) this is
10:30:17 <M-elo-[m]> 17.0-9 due to conditionalLayouts
10:30:46 <M-elo-[m]> Error says variable not in scope activateLogHook and I assume it's because of recent change
10:33:27 <M-elo-[m]> Variable not in scope:
10:33:28 <M-elo-[m]> activateLogHook
10:33:28 <M-elo-[m]> :: Query (Endo (W.StackSet i0 10 sd0)) -> X ()
10:33:28 <M-elo-[m]> Then line number
10:36:54 <M-elo-[m]> I think I should replace it with setEwmhActivateHook` but idk how exactly, still learning haskell
10:40:13 <Mion> you can probably simply get rid of it, if you want it to focus the window
10:41:03 <Mion> if you don't*
10:41:29 <Mion> but yea seems like setEwmhActivateHook is the new replacement
10:43:19 <Mion> https://github.com/xmonad/xmonad-contrib/commit/08ec79eec1dd1cd5d571ee6b241a9c9673e3da80#diff-cf9308345d1d5de4c1e403c5874d91d723ffc5d4ff79b21c4dbfe6390a592598L42
10:46:42 <M-elo-[m]> Will do that for now then, appreciate it
10:47:16 <M-elo-[m]> (That's what I had done initially but it somehow crashed amdgpu every single second)
10:47:29 <M-elo-[m]> I think something might he wrong with my kernel though 🤔
11:03:01 seschwar joins (~seschwar@user/seschwar)
11:27:02 × Solitary quits (~Solitary@user/solitary) (Ping timeout: 240 seconds)
11:31:10 Solitary joins (~Solitary@user/solitary)
14:37:37 qbt joins (~qbt@user/edun)
14:43:21 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
14:43:36 qbt joins (~qbt@user/edun)
14:59:30 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
15:00:32 qbt joins (~qbt@user/edun)
15:29:13 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
15:32:51 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
16:09:26 × ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.3)
16:14:47 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
16:19:33 ectospasm joins (~ectospasm@user/ectospasm)
16:52:57 obimod joins (~obimod@gateway/vpn/pia/obimod)
17:00:23 × Vermoot quits (~vermoot@89-158-106-112.rev.numericable.fr) (Remote host closed the connection)
17:06:25 Digit joins (~user@user/digit)
17:35:40 Ceaseless[m] joins (~ceaseless@2001:470:69fc:105::1:255e)
17:42:11 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
17:48:53 × thunderrd quits (~thunderrd@183.182.110.1) (Remote host closed the connection)
17:53:39 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
18:02:44 <Solid> liskin: ah I see
18:03:13 <Solid> this seems "doable" but also an area that I have _absolutely_ no idea about
18:03:28 <Solid> fingers crossed that mc47 finds the time to work on this at some point, I suppose :)
18:06:56 Phandal joins (~Phandal@user/phandal)
18:08:01 <Phandal> Hey
18:08:24 <liskin> Solid: I've kind of given up on HF helping us with the funding situation so it's not really a pressing issue for me now, tbh
18:09:07 <liskin> and I wonder what other things they might help us with then, or what our relationship will be about in general?
18:09:48 <liskin> I imagine the only interaction we'll have with them over the next year may very well be "we've migrated our content off the wiki you can delete it now kthxbye"
18:10:51 <Solid> yeah I wasn't really thinking in terms of them helping us with funding
18:11:25 <Solid> It's more of a "oh here's this foundation that's supposed to push Haskell forward and here's a well-known project and they kinda like each other"
18:11:56 <Solid> (plus, I think that a GOVERNANCE.md would perhaps even be good for the project :))
18:12:35 <liskin> yeah, signalling, perhaps, but it's a very weak signal at this point
18:14:08 × Phandal quits (~Phandal@user/phandal) (Remote host closed the connection)
18:14:12 <liskin> and the chats I had with them didn't signal much of "like each other", it was more of a "if you have an idea of something that we do and would do regardless of you but which looks beneficial to you, then by all means feel free to interpret it as an act of good will"
18:14:43 <liskin> anyway, you're absolutely right about the governance docs being useful of themselves
18:15:00 Phandal joins (~Phandal@user/phandal)
18:15:09 <liskin> it's certainly something we might need to align expectations about the future and how we spend the donations
18:21:25 <geekosaur> HF might not want to be seen as favoring specific projects
18:22:30 <liskin> that probably makes sense; perhaps I just overestimated the value of xmonad in today's Haskell community
18:22:57 <geekosaur> seems to still be popular, but it's not like everyone who uses Haskell runs it
18:23:13 <liskin> the Haskell Language Server definitely does get some PR benefits out of HF
18:23:26 <liskin> which is okay, because its goals are directly aligned with HF
18:23:29 <geekosaur> I'm just thinking of what happens if they support us and then hledger comes calling and says "but you supported them"
18:24:34 <geekosaur> HF is likely to go for stuff that supports or is seen to support the entire community
18:25:11 <geekosaur> so they might e.g. help with governance because that could easily be adopted by other projects, but i wouldn't expect financial support
18:26:12 <liskin> yeah, and I did think that xmonad helps the entire community by getting more people exicted about Haskell and by giving them motivation to learn Haskell and also the means to learn it, as our codebase is somewhat simple
18:26:31 <liskin> and I didn't expect them to actually financially support us, just help spread the message
18:26:58 <liskin> and even that was seen as asking too much, and I was disappointed at the time
18:27:03 <geekosaur> I'd expect more meta-support in that area, e.g. helping projects find and make use of financial resources
18:27:26 <geekosaur> spreading the message I wouldn't expect them tpo do, that's too much like supporting a specific project
18:33:12 <liskin> hm, what would that meta-support look like exactly? I have a hard time imagining what you mean
18:42:58 <liskin> anyway, open collective sends me e-mails sometimes offering some help
18:43:10 Josh[m]123 parts (~iooioioma@2001:470:69fc:105::c8f8) ()
18:43:22 <liskin> which makes sense because the better we do the more money they make
18:43:44 <liskin> might as well try to answer that e-mail sometime :-)
18:47:06 <geekosaur> more or less what they're doing plus things like tips on how to allocate funds to make best use of them
18:54:47 allbery_b joins (~geekosaur@xmonad/geekosaur)
18:54:47 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
18:54:50 allbery_b is now known as geekosaur
18:56:00 Garibaldo[m] joins (~jeremydoe@2001:470:69fc:105::609)
19:15:19 × Phandal quits (~Phandal@user/phandal) (Quit: Phandal)
19:16:14 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
19:17:09 × catman quits (~catman@user/catman) (Remote host closed the connection)
19:20:28 catman joins (~catman@user/catman)
19:22:09 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
19:42:47 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
19:47:36 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
19:51:38 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
20:10:10 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
20:25:25 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
20:49:07 <liskin> Solid: if all goes well Clemens will transfer X11-xft to the xmonad org in a couple hours
20:49:15 <Solid> oh wow
20:49:19 <Solid> that was fast
20:49:24 <Solid> thanks for reaching out :)
20:49:35 <liskin> it may take me a couple days until I get to setting up CI for testing and releases though
20:50:05 <liskin> or someone else can do it, should be just a copypaste from X11 or xmonad mostly
20:56:53 <liskin> hm, and those layout screenshots, I'm somewhat worried that it's not the best of ideas to add a couple dozens megabytes to the xmonad-web repo, but perhaps I'm just from a different century :-)
20:57:23 <liskin> probably not a good idea to block this activity any further :-/
21:01:40 <Solid> we could git-lfs them?
21:02:25 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
21:04:27 <liskin> oh, yeah, I keep forgetting that thing exists
21:05:14 <liskin> although it seems github pages doesn't do git-lfs :-/
21:06:10 <liskin> I should've raised this concern early, and push hard for the screenshots to be simple rather than pretty
21:06:18 <liskin> but then we might not have had any at all
21:06:24 <liskin> because it would be boring
21:06:32 guru joins (~guru@c-73-57-140-245.hsd1.fl.comcast.net)
21:10:12 <geekosaur> we already did push for them to be simple rather than pretty
21:10:16 guru is now known as etrigan63
21:10:51 <geekosaur> they wanted to "rice them up" originally, we vetoed on the grounds that fancy backgrounds/xmobars/etc. draws attention away from the layouts that are supposed to be highlighted
21:13:27 <liskin> I see, then we didn't push hard enough I guess :-)
21:13:57 <etrigan63> Hi all.
21:14:04 <geekosaur> œ
21:15:04 <etrigan63> I have a question. Is there a way to assign layouts to monitors so that the desktops shown on the left monitor have a different selection of layouts from the right monitor?
21:15:47 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-PerScreen.html
21:16:08 <geekosaur> only works if you can distinguish screens by size;p the layout has no access to screen information
21:16:16 <etrigan63> I would like the layouts on mu left monitor to be reflectHoriz Tall + Full and on the right monitor be Tall + Full.
21:16:44 <etrigan63> Both monitors are exactly the same size
21:18:04 <geekosaur> the problem is, the layout has no idea what screen it's being run for. It only has access to the screen (physical) rectangle, so that's the only way it can use to distinguish what screen it's on
21:19:48 <etrigan63> This is a pity. I love the tall layout for productivity, but I want the main window to be next to each other in the middle of my view. Qtile can do this but the fullscreen bug drives me nuts.
21:21:20 <geekosaur> it might be possible to do something silly like steal one pixel from the side of one screen, so you can compare that way without losing a lot of space (the xrandr command should be capable of this)
21:22:18 <liskin> I guess this is another usecase for the generic conditional layout(modifier)
21:22:41 <liskin> I wish I could clone myself into a dozen :-/
21:24:57 <etrigan63> Would it be possible to identfy the physical rectangle of each screen and then use that to assign layouts?
21:25:33 <geekosaur> the rectangle only carries size information, not position
21:25:55 <liskin> if that was true then NoBorders wouldn't work
21:26:07 <liskin> the rectangle absolutely does carry the position as well
21:26:08 <geekosaur> I specified "physical" to distinguish it from a RationalRect which carries only relative size information
21:26:29 <liskin> AvoidStruts wouldn't work either
21:26:35 <geekosaur> those are the window rectangles that the layout places within the screen rectangle
21:27:26 <geekosaur> it woulld be more correct to say the rectangle is relative to a screen rectangle (0,0)-(w-1,h-1)
21:27:41 <geekosaur> but carries no information about what position on the root window (0,0) corresponds to
21:28:49 <geekosaur> this kinda follows from how xmonad places workspaces on monitors
21:29:23 <liskin> not sure what you mean
21:29:40 <liskin> both runLayout and redoLayout take a Rectangle, which is just x, y, w, h, in pixels
21:29:51 <liskin> so that's what PerScreen has
21:30:09 <liskin> and if one wanted to make a position-based PerScreen, it would be no problem
21:30:21 <liskin> which is probably what etrigan63 should do
21:40:54 <etrigan63> So would the x of the right screen be 3841 if my screeens are 3840x2160 each?
21:43:20 <liskin> etrigan63: you can try putting rect_x instead of rect_width here: https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/PerScreen.hs#L65
21:43:33 <liskin> and then use ifWider 3840
21:43:41 <liskin> it's probably zero-based rather than one
21:45:51 <etrigan63> So I would basically be forking this module to check for position of x instad of width? I am rather new to Haskell so forgive the simpleton questions.
21:46:37 <liskin> yeah, you can either change it in your clone of xmonad-contrib or copy the file to ~/.xmonad/lib/XMonad/Layout/PerScreenPosition.hs
21:46:49 <liskin> (or ~/.config/xmonad if you use xdg)
21:51:46 <etrigan63> OK I will play around with that and if it works I will submit it for review.
21:52:19 <etrigan63> Will I need to change the other bits so it doesn't confict with PerScreen?
21:52:40 <liskin> just the module name at the top of the file
21:53:12 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 268 seconds)
21:53:49 <liskin> regarding submitting for review: there's https://github.com/xmonad/xmonad-contrib/pull/582 which should eventually replace PerScreen and IfMax and things like this, so I'm not sure if we want to add a layout that will be deprecated in favor of this other thing in the next release
21:54:08 <liskin> but then… maybe it's good to home something now rather than the perfect solution later
21:54:41 <liskin> we can decide later what to do
22:00:28 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
22:34:00 allbery_b joins (~geekosaur@xmonad/geekosaur)
22:34:00 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
22:34:03 allbery_b is now known as geekosaur
22:41:59 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 256 seconds)
22:42:19 obimod joins (~obimod@gateway/vpn/pia/obimod)
23:12:59 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
23:22:35 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Ping timeout: 264 seconds)
23:31:59 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
23:59:58 allbery_b joins (~geekosaur@xmonad/geekosaur)
23:59:58 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))

All times are in UTC on 2021-11-13.