Home liberachat/#xmonad: Logs Calendar

Logs on 2022-06-21 (liberachat/#xmonad)

00:15:58 × logzet quits (~quassel@2001:9e8:e501:3300:dabb:c1ff:fed3:a1b9) (Ping timeout: 240 seconds)
00:16:31 logzet joins (~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9)
00:55:15 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 256 seconds)
01:00:45 geekosaur joins (~geekosaur@xmonad/geekosaur)
01:37:41 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 246 seconds)
01:37:54 werneta joins (~werneta@137.79.237.10)
01:47:57 × pl quits (sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 260 seconds)
01:52:25 × mudri quits (sid317655@2a03:5180:f:1::4:d8d7) (Ping timeout: 248 seconds)
02:03:49 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
02:09:39 mudri joins (sid317655@helmsley.irccloud.com)
02:14:47 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
02:18:05 pl joins (sid98063@id-98063.helmsley.irccloud.com)
02:23:10 banc joins (banc@gateway/vpn/airvpn/banc)
02:32:24 × logzet quits (~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9) (Ping timeout: 248 seconds)
02:49:43 × werneta quits (~werneta@137.79.237.10) (Ping timeout: 256 seconds)
02:50:45 × nevyn quits (~nyven@c-68-43-234-118.hsd1.mi.comcast.net) (Remote host closed the connection)
02:51:14 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
03:38:35 esrh joins (~user@66.115.189.131)
03:40:32 <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?
03:41:28 <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)
05:58:55 <esrh> update: i got it to work after about two hours of absolutely flailing
06:07:39 <Solid> \o/
06:18:00 <esrh> god bless findM
06:19:05 <esrh> if i have a handle on a window from StackSet.index, how can i check whether the window is currently floating or not?
06:24:38 <Solid> the stackset has a `floating` field
06:24:59 <Solid> it's a map with the windows as keys, so you can just look them up there
06:27:11 <esrh> ok thanks, got it
06:27:20 <esrh> holy cow
06:27:24 <esrh> i think i lost years off my life
06:27:28 <esrh> but my setup is sooooo good
06:27:31 <esrh> worth it
06:28:14 <esrh> I have like 5 different scratchpads and they're all accessible and closable through the exact same keybind
06:31:12 × Hash quits (~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in)
06:32:40 <Solid> that sounds pretty neat, actually
06:33:07 <Solid> If you're up for it, this sounds like a great addition to contrib!
06:34:09 logzet joins (~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9)
06:37:19 <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
06:37:33 <esrh> not sure if this kind of interdependency is looked favorably upon
06:39:26 <Solid> I think a XMonad.Prompt.NamedScratchpad would be totally fine in this case
06:39:44 Hash joins (~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net)
06:40:31 <esrh> i think i will actually try to add it to contrib once i refactor my code a little bit. thanks!
06:40:34 <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
06:40:34 esrh parts (~user@66.115.189.131) (ERC 5.4.1 (IRC client for GNU Emacs 29.0.50))
06:40:54 esrh joins (~user@66.115.189.131)
06:40:55 <Solid> nice, looking forward to it!
06:41:23 <esrh> yeah, see you around though!!
06:41:24 esrh parts (~user@66.115.189.131) (ERC 5.4.1 (IRC client for GNU Emacs 29.0.50))
06:45:13 mc47 joins (~mc47@xmonad/TheMC47)
07:48:24 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
07:51:12 cfricke joins (~cfricke@user/cfricke)
07:51:42 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
07:51:56 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
08:29:49 spaceseller joins (~spacesell@31.147.205.13)
09:00:10 × nihilipster[m] quits (~nihilipst@2001:470:69fc:105::720) (Quit: You have been kicked for being idle)
09:09:25 <liskin> Solid, mc47: Looks like multi-currency expenses are enabled now, so you can submit expenses in EUR.
09:09:42 <mc47> sweet, thnaks!
09:10:05 <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.
09:11:04 <liskin> (Which is probably fine becase I paid for all of that in GBP, but it's a bit silly anyway.)
09:35:03 <Solid> liskin: coolio, thanks!
09:48:12 × spaceseller quits (~spacesell@31.147.205.13) (Quit: Leaving)
09:54:45 spaceseller joins (~mario@31.147.205.13)
10:46:42 alternateved joins (~alternate@82.180.151.234)
11:00:11 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
11:07:54 <spaceseller> hi
11:10:51 <lyiriyah[m]> hi
11:10:58 <spaceseller> suggestions about a) laptop and second monitor b) laptop and projector. Xrandr alternative maybe?
11:11:44 <spaceseller> or, best practice for dual monitors on xmonad
11:12:47 <spaceseller> with different resolutions.
11:13:46 <spaceseller> I use xrandr --output LVDS-1 --mode 1366x768 --scale-from 1920x1080 --output HDMI-1 --mode 1920x1080 --scale 1 --same-as LVDS-1
11:14:14 <spaceseller> but still, it is too small on the laptop screen
12:02:20 <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
12:02:37 <kaizoku> strange spaceseller , i don't have trouble with different resolutions across monitors. I use a 2k and a vertical 1080p (rotated)
12:02:39 <liskin> if you wish to have them side-by-side there isn't any good solution I'm afraid
12:02:52 <kaizoku> ah, you mean font/dpi sizing issues?
12:03:09 <liskin> that's how I understood it
12:03:52 <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
12:06:51 <Solid> especially 1366x768 to 1920x1080 should really be no problem
12:06:59 <Solid> well, at normal font sizes, not sure how liskin does it :>
12:07:51 <Solid> oh, but --scale-from mirrors the screens, right?
12:08:36 <Solid> or rather same-as does
12:08:43 <Solid> never done that, but I can see how that may result in tiny fonts
12:12:31 <MrElendig> I just run different res on each
12:12:35 <MrElendig> (no scaling)
12:15:20 <liskin> geekosaur: can you please approve my zurihac expenses: https://opencollective.com/xmonad/expenses/83193 ? thx :-)
12:16:20 <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 :-)
12:23:27 <geekosaur> approved
12:31:09 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
12:32:24 <spaceseller> Solid: you get to the point
12:32:56 <spaceseller> kaizoku: yes
12:43:44 <spaceseller> wow, I see opencollective for the first time. You have donations as an income, everything transparent. Great.
12:45:01 <geekosaur> that's the idea
12:46:37 <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
12:46:40 <spaceseller> where sponsors see the link for donations?
12:47:10 <spaceseller> I see
12:47:11 <geekosaur> there's a link on github and another on our main page https://xmonad.org
12:47:35 <spaceseller> great
12:47:38 <geekosaur> (and github sponsors feeds into OC since they don't provide the expenses side)
12:56:56 × spaceseller quits (~mario@31.147.205.13) (Quit: WeeChat 3.5)
13:12:11 chomwitt joins (~chomwitt@2a02:587:dc0d:e600:d03e:b48f:9497:fc81)
14:07:11 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
14:19:42 neoatnebula joins (~neoatnebu@2409:4071:4e8a:6f9d:4507:b248:6603:16fb)
14:44:06 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:54:34 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
15:02:14 × neoatnebula quits (~neoatnebu@2409:4071:4e8a:6f9d:4507:b248:6603:16fb) (Ping timeout: 252 seconds)
15:46:15 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.5)
17:05:31 geekosaur gets a headache re the latest on that GC crash
17:36:50 <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
17:37:49 <geekosaur> also, still not reproducible with ghc8.10.7
17:38:30 <geekosaur> and I just verified that `nextEvent` is correct, as is `allocaXEvent`
17:39:04 <geekosaur> (and the X11 header file hsc2hs is using to build `allocaXEvent`)
17:40:17 <geekosaur> so this appears to be a ghc bug
17:42:21 <Solid[m]> funny, I definitely compiled (both xmonad and my config) without `-threaded`
17:42:29 <Solid[m]> this is so confusing
17:43:17 <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
17:45:00 <geekosaur> which may explain why sonme people only see it occasionally but abastro was seeing it very reliably, etc.
17:46:06 <geekosaur> the weirdest part is that -N2 part, since we don't use threads so it shouldn't have any effect at all
17:47:14 <geekosaur> and if it were a difference between non-threaded and threaded runtime, it should reliably show with -N1 as well
17:47:43 <Solid> mh, now that you mention it, wasn't there an issue when running xmonad with -threaded a while ago?
17:47:47 <Solid> something about 100% CPU usage
17:48:03 <Solid> probably unrelated, but shows that -threaded can have an effect even for us
17:48:32 <geekosaur> vaguely recall something like that but can't recall details. it does change the runtime's behavior even with -N1 though
17:48:52 <Solid> https://github.com/xmonad/xmonad-contrib/issues/483 found it
17:51:15 <geekosaur> right, I see parallel gc was involved too
17:51:33 <geekosaur> which is why I asked someone to test with the non-copying gc this weekend
18:04:40 × ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.5)
18:14:28 ectospasm joins (~ectospasm@user/ectospasm)
19:07:04 × logzet quits (~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9) (Ping timeout: 248 seconds)
20:04:49 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
20:05:42 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Client Quit)
20:13:13 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
20:19:11 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
21:20:17 nomadxxxx3 joins (~lanomadx@208.91.68.225)
21:21:34 × nomadxx3 quits (~lanomadx@208.91.67.238) (Ping timeout: 258 seconds)
21:55:24 logzet joins (~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9)
22:31:29 × alternateved quits (~alternate@82.180.151.234) (Remote host closed the connection)
23:06:40 × chomwitt quits (~chomwitt@2a02:587:dc0d:e600:d03e:b48f:9497:fc81) (Remote host closed the connection)
23:32:19 stackdroid18 joins (14094@user/stackdroid)
23:40:18 × logzet quits (~quassel@2001:9e8:e514:2900:dabb:c1ff:fed3:a1b9) (Ping timeout: 240 seconds)
23:40:21 × tv quits (~tv@user/tv) (Ping timeout: 256 seconds)
23:52:33 tv joins (~tv@user/tv)

All times are in UTC on 2022-06-21.