2022/06/21

2022-06-21 00:35:03 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
2022-06-21 01:03:53 +0200 <VarikValefor[m]> XMONAD's ability to get the hell out of the way and just let the user do stuff is great.
2022-06-21 01:38:30 +0200werneta(~werneta@137.79.236.20) (Ping timeout: 240 seconds)
2022-06-21 01:40:28 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-06-21 01:41:29 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-21 02:15:58 +0200logzet(~quassel@2001:9e8:e501:3300:dabb:c1ff:fed3:a1b9) (Ping timeout: 240 seconds)
2022-06-21 02:16:31 +0200logzet(~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9)
2022-06-21 02:55:15 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Ping timeout: 256 seconds)
2022-06-21 03:00:45 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2022-06-21 03:37:41 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 246 seconds)
2022-06-21 03:37:54 +0200werneta(~werneta@137.79.237.10)
2022-06-21 03:47:57 +0200pl(sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 260 seconds)
2022-06-21 03:52:25 +0200mudri(sid317655@2a03:5180:f:1::4:d8d7) (Ping timeout: 248 seconds)
2022-06-21 04:03:49 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-06-21 04:09:39 +0200mudri(sid317655@helmsley.irccloud.com)
2022-06-21 04:14:47 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
2022-06-21 04:18:05 +0200pl(sid98063@id-98063.helmsley.irccloud.com)
2022-06-21 04:23:10 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-06-21 04:32:24 +0200logzet(~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9) (Ping timeout: 248 seconds)
2022-06-21 04:49:43 +0200werneta(~werneta@137.79.237.10) (Ping timeout: 256 seconds)
2022-06-21 04:50:45 +0200nevyn(~nyven@c-68-43-234-118.hsd1.mi.comcast.net) (Remote host closed the connection)
2022-06-21 04:51:14 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-06-21 05:38:35 +0200esrh(~user@66.115.189.131)
2022-06-21 05:40:32 +0200 <esrh> hi, i really need some haskell help. I wrote a little XPrompt to let me select named scratchpads, and it works. However, I'd like to close whichever scratchpad I opened last with a single command. Clearly, this means I need to record some kind of state, about which scratchpads are open and closed. Anyone have any idea about how I should go about this?
2022-06-21 05:41:28 +0200 <esrh> (preferably, I'd like the same key to bring up the prompt i made when there aren't any scratchpads, and take them all away immediately when there are active scratchpads)
2022-06-21 07:58:55 +0200 <esrh> update: i got it to work after about two hours of absolutely flailing
2022-06-21 08:07:39 +0200 <Solid> \o/
2022-06-21 08:18:00 +0200 <esrh> god bless findM
2022-06-21 08:19:05 +0200 <esrh> if i have a handle on a window from StackSet.index, how can i check whether the window is currently floating or not?
2022-06-21 08:24:38 +0200 <Solid> the stackset has a `floating` field
2022-06-21 08:24:59 +0200 <Solid> it's a map with the windows as keys, so you can just look them up there
2022-06-21 08:27:11 +0200 <esrh> ok thanks, got it
2022-06-21 08:27:20 +0200 <esrh> holy cow
2022-06-21 08:27:24 +0200 <esrh> i think i lost years off my life
2022-06-21 08:27:28 +0200 <esrh> but my setup is sooooo good
2022-06-21 08:27:31 +0200 <esrh> worth it
2022-06-21 08:28:14 +0200 <esrh> I have like 5 different scratchpads and they're all accessible and closable through the exact same keybind
2022-06-21 08:31:12 +0200Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in)
2022-06-21 08:32:40 +0200 <Solid> that sounds pretty neat, actually
2022-06-21 08:33:07 +0200 <Solid> If you're up for it, this sounds like a great addition to contrib!
2022-06-21 08:34:09 +0200logzet(~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9)
2022-06-21 08:37:19 +0200 <esrh> Huh, maybe I could give it a shot. What i did though, was make an XPrompt to select NamedScratchpads, so would i write a patch to XMonad.Prompt or NamedScratchpad? I guess making a new module like XMonad.Prompt.NamedScratchpad could be cool too
2022-06-21 08:37:33 +0200 <esrh> not sure if this kind of interdependency is looked favorably upon
2022-06-21 08:39:26 +0200 <Solid> I think a XMonad.Prompt.NamedScratchpad would be totally fine in this case
2022-06-21 08:39:44 +0200Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net)
2022-06-21 08:40:31 +0200 <esrh> i think i will actually try to add it to contrib once i refactor my code a little bit. thanks!
2022-06-21 08:40:34 +0200 <Solid> An X.Prompt dependency of NamedScratchpads wouldn't be so ideal, I agree, (then again, contrib is full of those :) but we can just link to the prompt module in the docs
2022-06-21 08:40:34 +0200esrh(~user@66.115.189.131) (ERC 5.4.1 (IRC client for GNU Emacs 29.0.50))
2022-06-21 08:40:54 +0200esrh(~user@66.115.189.131)
2022-06-21 08:40:55 +0200 <Solid> nice, looking forward to it!
2022-06-21 08:41:23 +0200 <esrh> yeah, see you around though!!
2022-06-21 08:41:24 +0200esrh(~user@66.115.189.131) (ERC 5.4.1 (IRC client for GNU Emacs 29.0.50))
2022-06-21 08:45:13 +0200mc47(~mc47@xmonad/TheMC47)
2022-06-21 09:48:24 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-21 09:51:12 +0200cfricke(~cfricke@user/cfricke)
2022-06-21 09:51:42 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
2022-06-21 09:51:56 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-21 10:29:49 +0200spaceseller(~spacesell@31.147.205.13)
2022-06-21 11:00:10 +0200nihilipster[m](~nihilipst@2001:470:69fc:105::720) (Quit: You have been kicked for being idle)
2022-06-21 11:09:25 +0200 <liskin> Solid, mc47: Looks like multi-currency expenses are enabled now, so you can submit expenses in EUR.
2022-06-21 11:09:42 +0200 <mc47> sweet, thnaks!
2022-06-21 11:10:05 +0200 <liskin> I expected to be able to submit expenses in CHF as well but it seems it's only about being able to submit expenses in the currency of the bank account that it'll be reimbursed to.
2022-06-21 11:11:04 +0200 <liskin> (Which is probably fine becase I paid for all of that in GBP, but it's a bit silly anyway.)
2022-06-21 11:35:03 +0200 <Solid> liskin: coolio, thanks!
2022-06-21 11:48:12 +0200spaceseller(~spacesell@31.147.205.13) (Quit: Leaving)
2022-06-21 11:54:45 +0200spaceseller(~mario@31.147.205.13)
2022-06-21 12:46:42 +0200alternateved(~alternate@82.180.151.234)
2022-06-21 13:00:11 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-06-21 13:07:54 +0200 <spaceseller> hi
2022-06-21 13:10:51 +0200 <lyiriyah[m]> hi
2022-06-21 13:10:58 +0200 <spaceseller> suggestions about a) laptop and second monitor b) laptop and projector. Xrandr alternative maybe?
2022-06-21 13:11:44 +0200 <spaceseller> or, best practice for dual monitors on xmonad
2022-06-21 13:12:47 +0200 <spaceseller> with different resolutions.
2022-06-21 13:13:46 +0200 <spaceseller> I use xrandr --output LVDS-1 --mode 1366x768 --scale-from 1920x1080 --output HDMI-1 --mode 1920x1080 --scale 1 --same-as LVDS-1
2022-06-21 13:14:14 +0200 <spaceseller> but still, it is too small on the laptop screen
2022-06-21 14:02:20 +0200 <liskin> spaceseller: for a), I use the laptop's keyboard so I just put the second monitor 10-20 cm further than the laptop and the resolution differences become less painful
2022-06-21 14:02:37 +0200 <kaizoku> strange spaceseller , i don't have trouble with different resolutions across monitors. I use a 2k and a vertical 1080p (rotated)
2022-06-21 14:02:39 +0200 <liskin> if you wish to have them side-by-side there isn't any good solution I'm afraid
2022-06-21 14:02:52 +0200 <kaizoku> ah, you mean font/dpi sizing issues?
2022-06-21 14:03:09 +0200 <liskin> that's how I understood it
2022-06-21 14:03:52 +0200 <kaizoku> yeah, i just live with that. Since the vertical monitor is just a terminal 90% of the time it's not huge for me
2022-06-21 14:06:51 +0200 <Solid> especially 1366x768 to 1920x1080 should really be no problem
2022-06-21 14:06:59 +0200 <Solid> well, at normal font sizes, not sure how liskin does it :>
2022-06-21 14:07:51 +0200 <Solid> oh, but --scale-from mirrors the screens, right?
2022-06-21 14:08:36 +0200 <Solid> or rather same-as does
2022-06-21 14:08:43 +0200 <Solid> never done that, but I can see how that may result in tiny fonts
2022-06-21 14:12:31 +0200 <MrElendig> I just run different res on each
2022-06-21 14:12:35 +0200 <MrElendig> (no scaling)
2022-06-21 14:15:20 +0200 <liskin> geekosaur: can you please approve my zurihac expenses: https://opencollective.com/xmonad/expenses/83193 ? thx :-)
2022-06-21 14:16:20 +0200 <liskin> it's fun how it really is transparent; without logging in, bank account and receipts and comments (if any) are hidden but the breakdown into travel/accomodation is visible to everyone :-)
2022-06-21 14:23:27 +0200 <geekosaur> approved
2022-06-21 14:31:09 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
2022-06-21 14:32:24 +0200 <spaceseller> Solid: you get to the point
2022-06-21 14:32:56 +0200 <spaceseller> kaizoku: yes
2022-06-21 14:43:44 +0200 <spaceseller> wow, I see opencollective for the first time. You have donations as an income, everything transparent. Great.
2022-06-21 14:45:01 +0200 <geekosaur> that's the idea
2022-06-21 14:46:37 +0200 <geekosaur> OC charges for it but it's spread over a bunch of projects, so they can afford to operate and make a reasonable profit and we don't have to try to manage our own donations and expenses
2022-06-21 14:46:40 +0200 <spaceseller> where sponsors see the link for donations?
2022-06-21 14:47:10 +0200 <spaceseller> I see
2022-06-21 14:47:11 +0200 <geekosaur> there's a link on github and another on our main page https://xmonad.org
2022-06-21 14:47:35 +0200 <spaceseller> great
2022-06-21 14:47:38 +0200 <geekosaur> (and github sponsors feeds into OC since they don't provide the expenses side)
2022-06-21 14:56:56 +0200spaceseller(~mario@31.147.205.13) (Quit: WeeChat 3.5)
2022-06-21 15:12:11 +0200chomwitt(~chomwitt@2a02:587:dc0d:e600:d03e:b48f:9497:fc81)
2022-06-21 16:07:11 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-21 16:19:42 +0200neoatnebula(~neoatnebu@2409:4071:4e8a:6f9d:4507:b248:6603:16fb)
2022-06-21 16:44:06 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-21 16:54:34 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
2022-06-21 17:02:14 +0200neoatnebula(~neoatnebu@2409:4071:4e8a:6f9d:4507:b248:6603:16fb) (Ping timeout: 252 seconds)
2022-06-21 17:46:15 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.5)
2022-06-21 19:05:31 +0200geekosaurgets a headache re the latest on that GC crash
2022-06-21 19:36:50 +0200 <geekosaur> so for those not on the ticket: (a) it reproduces with `-threaded +RTS -N2` (b) at which point `XNextEvent` smashes the heap (c) in a way that looks like a supposedly fixed FFI bug, although ghc9.2 at least seems to be producing the correct code
2022-06-21 19:37:49 +0200 <geekosaur> also, still not reproducible with ghc8.10.7
2022-06-21 19:38:30 +0200 <geekosaur> and I just verified that `nextEvent` is correct, as is `allocaXEvent`
2022-06-21 19:39:04 +0200 <geekosaur> (and the X11 header file hsc2hs is using to build `allocaXEvent`)
2022-06-21 19:40:17 +0200 <geekosaur> so this appears to be a ghc bug
2022-06-21 19:42:21 +0200 <Solid[m]> funny, I definitely compiled (both xmonad and my config) without `-threaded`
2022-06-21 19:42:29 +0200 <Solid[m]> this is so confusing
2022-06-21 19:43:17 +0200 <geekosaur> interesting. but it may reproduce without -threaded under some circumstances, bgamari only found that it was very reliable with -threaded +RTS -N2 or higher
2022-06-21 19:45:00 +0200 <geekosaur> which may explain why sonme people only see it occasionally but abastro was seeing it very reliably, etc.
2022-06-21 19:46:06 +0200 <geekosaur> the weirdest part is that -N2 part, since we don't use threads so it shouldn't have any effect at all
2022-06-21 19:47:14 +0200 <geekosaur> and if it were a difference between non-threaded and threaded runtime, it should reliably show with -N1 as well
2022-06-21 19:47:43 +0200 <Solid> mh, now that you mention it, wasn't there an issue when running xmonad with -threaded a while ago?
2022-06-21 19:47:47 +0200 <Solid> something about 100% CPU usage
2022-06-21 19:48:03 +0200 <Solid> probably unrelated, but shows that -threaded can have an effect even for us
2022-06-21 19:48:32 +0200 <geekosaur> vaguely recall something like that but can't recall details. it does change the runtime's behavior even with -N1 though
2022-06-21 19:48:52 +0200 <Solid> https://github.com/xmonad/xmonad-contrib/issues/483 found it
2022-06-21 19:51:15 +0200 <geekosaur> right, I see parallel gc was involved too
2022-06-21 19:51:33 +0200 <geekosaur> which is why I asked someone to test with the non-copying gc this weekend
2022-06-21 20:04:40 +0200ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 3.5)
2022-06-21 20:14:28 +0200ectospasm(~ectospasm@user/ectospasm)
2022-06-21 21:07:04 +0200logzet(~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9) (Ping timeout: 248 seconds)
2022-06-21 22:04:49 +0200kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2022-06-21 22:05:42 +0200kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Client Quit)
2022-06-21 22:13:13 +0200kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net)
2022-06-21 22:19:11 +0200kayvank(~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
2022-06-21 23:20:17 +0200nomadxxxx3(~lanomadx@208.91.68.225)
2022-06-21 23:21:34 +0200nomadxx3(~lanomadx@208.91.67.238) (Ping timeout: 258 seconds)
2022-06-21 23:55:24 +0200logzet(~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9)