Home liberachat/#xmonad: Logs Calendar

Logs on 2022-02-16 (liberachat/#xmonad)

00:12:55 × ft quits (~ft@shell.chaostreff-dortmund.de) (Ping timeout: 256 seconds)
00:31:19 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
00:33:11 geekosaur joins (~geekosaur@xmonad/geekosaur)
01:01:08 ft joins (~ft@shell.chaostreff-dortmund.de)
01:31:27 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
01:33:01 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
01:58:49 CosmosAtlas joins (~CosmosAtl@bras-base-ktnron060cw-grc-02-76-69-147-125.dsl.bell.ca)
01:59:50 × CosmosAtlas quits (~CosmosAtl@bras-base-ktnron060cw-grc-02-76-69-147-125.dsl.bell.ca) (Client Quit)
02:50:54 a6a45081-2b83 joins (~aditya@2601:249:4380:4f10::fe26)
02:55:00 × a6a45081-2b83 quits (~aditya@2601:249:4380:4f10::fe26) (Ping timeout: 240 seconds)
02:55:02 f33f046c-a02e joins (~aditya@2601:249:4300:1296:88ec:cc73:84d4:1507)
03:02:36 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
03:11:08 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
03:14:13 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Client Quit)
03:14:32 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
03:14:35 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Client Quit)
03:14:54 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
03:17:05 × f33f046c-a02e quits (~aditya@2601:249:4300:1296:88ec:cc73:84d4:1507) (Remote host closed the connection)
03:22:51 banc joins (banc@gateway/vpn/airvpn/banc)
03:29:30 × td_ quits (~td@94.134.91.25) (Ping timeout: 252 seconds)
03:31:33 td_ joins (~td@muedsl-82-207-238-242.citykom.de)
03:46:25 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
03:52:18 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
03:53:39 <c209e6dc-4d76-47> how to query the screen size?
03:53:53 <c209e6dc-4d76-47> also any suggestions on maintaining slightly different dotfiles for different hosts?
04:06:58 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
04:10:38 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
04:21:00 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
04:24:42 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Remote host closed the connection)
04:47:56 jkaye[m] joins (~jkayematr@2001:470:69fc:105::1:86f7)
04:48:05 <jkaye[m]> Hey all. Anyone know if it's possible to get trayer to show up on all monitors? I can select a monitor easily, but ideally I would like to see the tray everywhere. Using xmonad+xmobar in case that's somehow relevant
05:09:00 × mvk quits (~mvk@2607:fea8:5cdc:bf00::99e7) (Ping timeout: 240 seconds)
05:13:01 × yauhsien quits (~Yau-Hsien@61-231-32-166.dynamic-ip.hinet.net) (Quit: Leaving)
06:52:57 Rue joins (~rue@2001-b011-1000-17d9-d616-1cce-b758-6ab8.dynamic-ip6.hinet.net)
07:12:25 <geekosaur> @tell c209e6dc-4d76-47 where/how do you want to query it? there is X.L.PerScreen to conditionalize layouts based on width, otherwise each screen's size is stored in the StackSet
07:12:25 <lambdabot> Consider it noted.
07:18:52 × Natch quits (~natch@c-4db8e255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 250 seconds)
07:23:27 Natch joins (~natch@c-4db8e255.014-297-73746f25.bbcust.telenor.se)
07:29:25 <Solid> @tell c209e6dc-4d76-47 you can query the system name, save that in some variable and then do stuff depending on which system you're on (e.g., https://hackage.haskell.org/package/unix-2.7.2.2/docs/System-Posix-Unistd.html#t:SystemID )
07:29:25 <lambdabot> Consider it noted.
07:32:01 <Solid> liskin: very good! mc47[m] interested? (I'm presuming that geekosaur and other people are too far away :/)
07:43:15 <Solid> I've registered myself and xmonad for now (apparently, they put these up on the website almost straight away, which may or may not get us some contributors at least for those three days)
07:43:21 × Natch quits (~natch@c-4db8e255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 272 seconds)
07:46:25 Natch joins (~natch@c-4db8e255.014-297-73746f25.bbcust.telenor.se)
08:02:15 yauhsien joins (~Yau-Hsien@61-231-32-166.dynamic-ip.hinet.net)
08:20:03 cfricke joins (~cfricke@user/cfricke)
10:12:17 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
10:20:28 mc47 joins (~mc47@xmonad/TheMC47)
12:32:32 × Czernobog quits (~Czernobog@user/czernobog) (Quit: ZNC 1.8.2 - https://znc.in)
12:33:58 Czernobog joins (~Czernobog@user/czernobog)
13:34:23 <liskin> Solid: okay, I registered too
13:38:16 <geekosaur> I'm not even going to bother; don't have the money even with help, and can'tpromise anything illness-wise :(
14:23:00 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 240 seconds)
14:27:51 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
14:32:57 Guest64 joins (~Guest64@222.124.112.194)
14:33:09 × Guest64 quits (~Guest64@222.124.112.194) (Client Quit)
14:37:48 × Rue quits (~rue@2001-b011-1000-17d9-d616-1cce-b758-6ab8.dynamic-ip6.hinet.net) (Ping timeout: 240 seconds)
14:40:15 Rue joins (~rue@2001-b011-1000-17d9-d616-1cce-b758-6ab8.dynamic-ip6.hinet.net)
15:25:09 seschwar joins (~seschwar@user/seschwar)
15:26:50 × seschwar quits (~seschwar@user/seschwar) (Client Quit)
15:33:44 <mc47> Solid, liskin: I'll register too! I so hope it's on-site
15:34:07 <geekosaur> they said it was
15:34:58 <geekosaur> guess we'll have to see what other variants covid will throw at us in the meantime
15:35:02 <mc47> Do I have to put xmonad in the project section too? Or is only one person needs to do that?
15:35:34 <mc47> geekosaur: oh nice, but summers haven't been problematic for the past years
15:48:16 <liskin> mc47: I did because it was in my browser's autofill from last year
15:48:24 <liskin> Wouldn't have bothered otherwise :-)
15:51:28 <byorgey> selfishly, I'm kinda sad ZuriHac will be in person again, since it means I won't be able to go =(
15:51:42 <geekosaur> ^
15:51:56 <byorgey> not really though, I know these things are far, far better in person than remote, I'm happy for everyone who will get to go
15:53:45 seschwar joins (~seschwar@user/seschwar)
16:12:39 <galactic_starfis> ^ same :/
17:15:20 <Solid> I really tried to get into online conferences but it's just not the same :/
17:15:43 <geekosaur> hallway track best track :)
17:16:23 <liskin> yeah, I went to 2 online confs last year and both were anxiety-inducing nightmares
17:17:26 <liskin> anyway, we certainly have budget to fly byorgey to europe and back, although I suppose it's not worth all the travel hassle for 3 days :-/
17:25:01 <thonoht[m]> Hmm, interesting stuff. Zurich is a few countries over for me, but I'm gonna see if I have colleagues who would be interested in going too. Could make it a small holiday. I'm not really interested in traveling that far by myself though.
17:50:44 <liskin> Solid: btw, now that you've revealed your name I realize your uni is 3 hours by bicycle away from my wife's hometown where I spend several weeks every year :-)
17:59:26 <byorgey> liskin: hah, don't spend the budget on flying me to Zurich, I probably would spend the whole time hacking on non-xmonad things =)
18:22:50 <liskin> byorgey: yeah, I know you would :-)
18:23:23 <liskin> still, you've kept the lights on for quite a while, and there's not much else besides travel that we can spend it on really :-/
18:25:08 <liskin> (but yeah, there may be other forms of travel that would be more effective for the project future, like flying me to Germany every couple weeks :-))
18:27:43 cfricke joins (~cfricke@user/cfricke)
18:43:00 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 240 seconds)
18:49:30 × jludwig quits (~justin@user/jludwig) (Quit: ZNC - https://znc.in)
18:53:13 jludwig joins (~justin@user/jludwig)
18:54:21 × Rue quits (~rue@2001-b011-1000-17d9-d616-1cce-b758-6ab8.dynamic-ip6.hinet.net) (Quit: WeeChat 3.4)
18:58:44 × jludwig quits (~justin@user/jludwig) (Quit: ZNC - https://znc.in)
18:59:37 jludwig joins (~justin@user/jludwig)
19:29:29 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
19:30:07 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Client Quit)
19:30:42 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
19:32:43 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Client Quit)
19:33:19 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
19:33:34 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Client Quit)
19:34:09 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
19:59:24 × Forkk quits (~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
20:00:06 <mc47> :D why not
20:02:46 Forkk joins (~forkk@li926-228.members.linode.com)
20:06:14 <Solid> liskin: hah
20:06:50 <Solid> sure, if you're ever in the area let me know and we can go for a coffee :)
20:10:21 <Solid> (I think we can totally spend the money on other "things", like us, because that's why people give us money after all :)
20:19:28 <liskin> yeah, it's just that when we split it between us it's not really that much, so it's more of a "thank you for doing what you'd do anyway" rather than an enablement of some progress
20:20:44 <liskin> that being said, I was going to-sooner or later—suggest that we pay ourselves a bit from that budget as a thank us for 0.17 and 0.17.1
20:22:00 <geekosaur> I feel like that might be pushing it. paying someone in order to have them put a bit more time into xmonad might be a thing, though
20:22:16 <Solid> this might be the poor student in me speaking, but since we're getting like $850 a month even if we divide that up by a few people that's still pretty decent pocket money
20:35:38 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
20:39:24 <liskin> yeah, but are you going to spend more time every month working on xmonad?
20:39:32 <liskin> (if yes, then by all means take my share of it :-))
20:40:40 <Solid> mh, good point
20:42:48 <liskin> hm, is this a good sign for haskell in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002296 ?
20:43:11 <geekosaur> money wouldhelp me with some things but time working on xmonad wouldn't be one of them, sadly
20:43:53 <liskin> geekosaur: well you already spend a huge amount of time being around on irc helping people (not just in xmonad) :-)
20:44:17 <liskin> (dunno what I wanted to say by that, hm)
20:44:34 <liskin> (probably just kind of supports my previous points)
20:56:31 <geekosaur> mrr. do I want to use cabal properly or lowball it like the stack support? cabal doesn't like working that way, would need cabal exec.
20:56:46 geekosaur is finally getting around to adding cabal support mirroring the stack support
20:56:57 <geekosaur> there being another actual cabal user around finally :)
21:02:22 <geekosaur> hm,that may not work. cabal takes a project file argument but wants a bare filename and searches for it itself
21:04:02 <geekosaur> hah! docs lie. worked fine for list-bin at least
21:18:08 <geekosaur> ok, I have a dumb question. for how long are we going to continue to use ghc --make?
21:18:34 <geekosaur> (--make became the default in ghc 7.0)
21:24:10 <geekosaur> also a not so stupid question. I'm loosely basing my cabal setup on the existing stack one, but if I take my own cabal.project as an example then it would end up building my config twice. Does the typical xmonad stack.yaml contain only the dependencies?
21:33:08 <liskin> we've dropped support for GHCs before 8.4 so we can drop --make right now I think
21:34:04 <liskin> re typical stack.yaml: the setup recommended by INSTALL.md/TUTORIAL.md has deps in stack.yaml and then xmonad.hs is built via stack ghc --make
21:35:13 <liskin> the setup where the user configuration is a something.cabal project itself isn't really documented anywhere (or maybe it's hinted at in xmonad-testing? dunno)
21:36:22 <liskin> not documented, and also not meant to be supported by the ghc/nix/stack recompilation machinery -- a build script is meant to be used for it
21:37:22 <liskin> (or one may skip the recompilation machinery entirely by invoking the xmonad-arch-os binary directly, and then build it whichever way one likes)
21:43:18 <geekosaur> it'sfrom xmonad-testing's example stack-based build script, yes
21:44:02 <geekosaur> not that this isn'tdoable, but I'd been using the xmonad-testing stuff as an example and the stack support code caught me by surprise asa result
21:50:58 <liskin> the xmonad-testing stuff uses a build script, which takes precedence over all that stack support code
21:51:07 <liskin> so not sure why that's an issue
21:51:28 <geekosaur> just that I was using it as a template for how things worked
22:07:27 ml|_ joins (~ml|@user/ml/x-5298235)
22:11:01 × ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 272 seconds)
22:13:33 <geekosaur> the --make thing is only relevant because I need to add an option after it if I want to support hvr-style cabal builds at some point
22:14:14 <davean> what are hvr style cabal builds?
22:15:06 <davean> liskin: Its certainly documented - I set mine up that way based off docs in the xmonad repo most of a decade ago - not sure if they're still there or not
22:16:07 <geekosaur> https://github.com/xmonad/xmonad/issues/199
22:16:45 <geekosaur> basically using a "private" package-env file so we can run ghc directly
22:17:18 <geekosaur> straightforward to add except I think -package-env has to come after --make
22:19:17 <liskin> davean: build script support went in in 2016; I guess it may feel like a decade, but mentioning in anyway just to be sure we're talking about the same thing
22:19:20 <geekosaur> pushed my changes to https://github.com/geekosaur/xmonad/blob/cabal-build/src/XMonad/Core.hs, will test locally before PRing
22:26:54 <davean> liskin: well, I last commited to that git repo in 2015 so.
22:27:10 <liskin> davean: so we're not, I guess?
22:27:15 <davean> I'd guess not
22:28:34 <geekosaur> hm, right, difficult to test when my existing xmonad doesn';t have it yet :)
22:38:34 <liskin> davean: weird; can't find the documentation anywhere in git history :-(
22:47:20 <davean> It was a REALLY long time so, so I'm not sure where I'd find it now
23:02:31 <geekosaur> hm. that's a downside. I get all the xmonad-related stuff but it can't find dbus without a cabal file
23:03:25 <geekosaur> may mean I just can't get away with that support although most folks can, or this is just a difference between cabal.project and stack.yaml that's not easily worked around
23:04:12 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 272 seconds)
23:05:20 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
23:08:57 <liskin> not sure what cabal can't and can't do, but with stack, you can do stack build totally-unrelated-package and that package is then visible in the subsequent stack (exec) ghc
23:09:32 <liskin> and I think this isn't really intended, it's more of a side-effect of the way stack uses ghc pkg envs
23:23:13 <geekosaur> okay, PRed
23:23:34 <geekosaur> someone with a cabal setup and no extra deps will have to test it though
23:26:46 <geekosaur> hvr-style could deal with this though, I'd "just" cabal install --lib --package-env=$HOME/.config/xmonad dbus dbus-client
23:29:33 <liskin> so what are the pros/cons of this new things compared to --package-env?
23:35:32 × jmct_ quits (sid160793@id-160793.tinside.irccloud.com) (Ping timeout: 240 seconds)
23:35:48 jmct_ joins (sid160793@id-160793.tinside.irccloud.com)
23:35:49 × PotatoGim quits (sid99505@id-99505.lymington.irccloud.com) (Ping timeout: 240 seconds)
23:36:03 × pl quits (sid98063@id-98063.helmsley.irccloud.com) (Read error: Connection reset by peer)
23:36:41 pl joins (sid98063@id-98063.helmsley.irccloud.com)
23:36:55 PotatoGim joins (sid99505@id-99505.lymington.irccloud.com)
23:39:38 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
23:41:14 <geekosaur> it works just like stack.yaml support, basically. which amoing other things means no manual "cabal install --lib --package-env=... xmonad xmonad-contrib foo bar ..." needed
23:41:39 <geekosaur> which makes it less flexible but easier to set up
23:42:08 <geekosaur> hm, I guess one downside is you need a local checkout of xmonad and xmonad-contrib
23:42:44 <geekosaur> since unlike stack.yaml there is no list of packages aside from the locally built onesin cabal.project
23:43:03 <geekosaur> which is the same place my dbus issue came from
23:43:23 <geekosaur> that said, I don't think you really want a cabal setup unless you *are* doing that
23:43:36 <geekosaur> and probably same for stack
23:44:21 <geekosaur> I'll add support for the other one later, this one was basically to warm up
23:54:12 <liskin> what "other one" ?
23:54:30 <geekosaur> the package-env version
23:54:47 <liskin> hm, does that one need any more than what we already have?
23:55:05 <geekosaur> basically test for existence of the package-env file and arrange to append -package-env=... to the ghc build
23:55:23 <liskin> I thought ghc picks that up automatically
23:55:45 <geekosaur> we're using a custom package env, specifically so it doesn't mess with other builds
23:55:47 <liskin> otherwise the steps in INSTALL.md wouldn't work
23:57:21 <geekosaur> hm, maybe it will then
23:57:43 <geekosaur> that would be good, just have to document needfor additional commands for cases like mine
23:58:20 <liskin> (in unrelated news, the xmobar memleak is actually in xmobar, I just spent an entire day trying to write a small C reproducer, and after failing and doing some gdb digging in a leaking xmobar, concluded it's actually xmobar's fault after all :-))
23:58:21 <geekosaur> hvr's stuff implied we needed to specify it
23:59:08 <liskin> well hvr's last comment explained that specifying --package-env=~/.xmonad will make things just work
23:59:21 <liskin> and after I've verified that I turned that into instructions in INSTALL.md

All times are in UTC on 2022-02-16.