Home freenode/#xmonad: Logs Calendar

Logs on 2021-02-11 (freenode/#xmonad)

00:24:03 × notis quits (~notis@185.51.134.229) (Ping timeout: 256 seconds)
00:32:07 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 260 seconds)
00:48:48 × tremon quits (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
01:41:41 gazler_ joins (~gazler@195.107.2.81.in-addr.arpa)
01:42:11 × gazler__ quits (~gazler@2001:8b0:b165:a8d2:d19:fc83:e0fa:4af3) (Read error: Connection reset by peer)
01:45:37 growpotk- joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
01:58:08 growpotk| joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
01:58:30 × growpotk- quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Read error: Connection reset by peer)
02:27:50 materiyolo joins (~materiyol@112.204.169.246)
02:28:34 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
02:55:03 × growpotk| quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 246 seconds)
03:01:05 × materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9)
03:04:45 × theDon quits (~td@muedsl-82-207-238-226.citykom.de) (Ping timeout: 264 seconds)
03:06:16 theDon joins (~td@muedsl-82-207-238-223.citykom.de)
04:02:47 × theDon quits (~td@muedsl-82-207-238-223.citykom.de) (Ping timeout: 256 seconds)
04:04:19 theDon joins (~td@muedsl-82-207-238-072.citykom.de)
05:12:41 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
06:57:55 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
06:58:52 palo1 joins (~weechat@c-base/crew/palo)
07:01:45 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 240 seconds)
07:01:46 palo1 is now known as palo
08:11:49 mc47 joins (~yecinem@89.246.239.190)
08:13:46 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0)
08:34:00 everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken)
08:36:35 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
08:39:04 notis joins (~notis@185.51.134.229)
08:51:35 × everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Remote host closed the connection)
09:04:13 materiyolo joins (~materiyol@112.204.169.246)
09:31:36 × ectospasm quits (~ectospasm@unaffiliated/ectospasm) (Ping timeout: 246 seconds)
09:36:41 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 246 seconds)
09:44:09 ectospasm joins (~ectospasm@unaffiliated/ectospasm)
10:08:09 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
10:30:31 thc202 joins (~thc202@unaffiliated/thc202)
10:51:21 × materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9)
10:59:04 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 240 seconds)
11:13:17 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
11:26:00 materiyolo joins (~materiyol@112.204.169.246)
11:41:13 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 256 seconds)
12:51:38 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:5542:a02b:6ef4:719e) (Ping timeout: 246 seconds)
13:04:21 ericsagn1 joins (~ericsagne@2405:6580:0:5100:b04a:c81a:c281:6323)
13:08:46 geekosaur joins (82650c7a@130.101.12.122)
13:54:22 davemq_ joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
13:54:33 × davemq quits (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Ping timeout: 264 seconds)
13:56:40 × davemq_ quits (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Client Quit)
13:57:53 davemq joins (~davemq@2600:1700:b1c0:2580::4d8)
14:12:42 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
14:20:39 geekosaur joins (82650c7a@130.101.12.122)
14:42:21 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
14:45:51 seschwar joins (~seschwar@unaffiliated/seschwar)
14:57:11 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
15:21:28 × materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9)
15:36:55 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
15:37:50 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection)
15:38:09 hexo joins (~hexo@gateway/tor-sasl/hexo)
15:52:25 × eb0t quits (~eblip@unaffiliated/eblip) (Quit: WeeChat 1.6)
16:33:01 everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken)
17:05:39 geekosaur joins (82650c7a@130.101.12.122)
17:07:50 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:b04a:c81a:c281:6323) (Ping timeout: 246 seconds)
17:08:51 <geekosaur> mm, did anyone get a notification about the xmonad-testing PR I opened yesterday?
17:12:16 <Liskni_si> geekosaur: I did, but I know absolutely nothing about cabal so I don't feel qualified to comment on it
17:13:08 <Liskni_si> s/cabal/cabal-install/
17:15:43 <geekosaur> ok
17:16:34 <geekosaur> I think it's still doing more than one could hope, kinda hard to tell on a system with an SSD :)  but the notice in the README should cover that and it'd apply to stack as well
17:17:04 <geekosaur> (basically, the quick recompile check xmonad does is suppressed with a build script because xmonad has no idea what or where the build script is doing things)
17:18:05 <geekosaur> it's a few seconds before xmonad starts up, but at least it's not showing an actual recompile going on, so I think it's just building and comparing build plans to what already exists
17:18:22 nerdthatnoonelik joins (~nerdthatn@ip206.ip-51-81-119.us)
17:18:25 <nerdthatnoonelik> hello everyone
17:18:35 <nerdthatnoonelik> I have an issue with xmobar not launching with xmonad
17:19:06 <nerdthatnoonelik> xmobar was launching with xmonad just fine but ever since i used a different config its not launching anymore
17:19:15 <nerdthatnoonelik> i have to manually launch it from the terminal by running xmobar
17:20:17 ericsagn1 joins (~ericsagne@2405:6580:0:5100:f37e:89b0:6afc:b223)
17:20:57 <geekosaur> are you running xmonad from git by any chance?
17:21:05 <geekosaur> otherwise, pastebin your config
17:21:11 <geekosaur> @where paste
17:21:11 <lambdabot> Help us help you: please paste full code, input and/or output at eg https://paste.tomsmeding.com
17:24:04 <nerdthatnoonelik> wdym from git?
17:24:05 <nerdthatnoonelik> and ok i will paste my config in a pastebin
17:24:48 <geekosaur> we've been overhauling the status bar support as part of preparing for a new release. if that didn't mean anything to you, it's reasonably certain you aren't :)
17:25:57 <nerdthatnoonelik> https://paste.tomsmeding.com/EVO15aDf heres my xmobar config
17:27:44 <geekosaur> hm. are all the fonts installed, and is your xmobar built with XFT support (should show in "xmobar --help" output)
17:28:39 <nerdthatnoonelik> xmobar --help doesn't say anything about xft support and yes all the fonts are installed
17:29:59 <Liskni_si> might be a good idea to check the log file for any errors xmobar might have printed
17:30:09 <Liskni_si> not that I know which log file in particular
17:30:42 <nerdthatnoonelik> my ~/.xmonad/xmonad.errors file doesn't have anything in it except for a deprecation warning
17:31:07 × everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Quit: everythingTaken)
17:31:16 <geekosaur> that won't be the right file. normally it's either ~/.xsession-errors or something under journalctl
17:33:05 <geekosaur> this is somewhat hard for me to debug as I don't run xmobar and have nowhere to put it on this machine (bars along the edges already, but I run mate-panel since I use mate integration with xmonad)
17:35:50 <nerdthatnoonelik> ok my xsession-errors has the following errors related to xmobar "xmobar: eof at an early stage"
17:43:30 <Solid> so what was the working config/
17:43:51 <Solid> (the one that worked)
17:43:54 <Solid> nerdthatnoonelik
17:45:02 <nerdthatnoonelik> hang on i'll put in a pastebin
17:45:35 <nerdthatnoonelik> https://paste.tomsmeding.com/K80zv7Bl
17:46:21 <geekosaur> hm, wasn't that error noted as a bug recently? (sadly I don't see a way to search in our logs)
17:47:13 <Solid> that error was just some left-over from debugging an issue that has since been removed from xmobar
17:47:50 <Solid> nerdthatnoonelik: I can see that you're referring to two different home directories in the new config; is that correct?
17:48:31 <nerdthatnoonelik> i changed that
17:48:39 <nerdthatnoonelik> but xmobar still won
17:48:45 <nerdthatnoonelik> *won't start
17:53:52 <nerdthatnoonelik> but i can still start it by running xmobar in the shell
17:55:23 <Solid> how are you starting it from within your xmonad config?
17:57:09 <nerdthatnoonelik> https://paste.tomsmeding.com/ocDyU12n
17:59:07 <Liskni_si> you're not writing anything into that xmproc pipe
17:59:19 <nerdthatnoonelik> well that worked for my last xmobar config
17:59:20 <Liskni_si> so the garbage collector closes it and xmobar terminates immediately
17:59:25 <nerdthatnoonelik> oh
17:59:37 <Liskni_si> this config couldn't have worked, ever
18:00:44 <geekosaur> not exactly true, whether gc runs in a timely fashion or not depends on ghc / rts version
18:01:05 <nerdthatnoonelik> but it did, my last xmobar config worked fine with it, i watched this video about it https://www.youtube.com/watch?v=3noK4GTmyMw and he did the same
18:01:29 <Solid> your last xmobar config didn't read from the pipe in any way
18:01:39 <Solid> so it didn't matter that you ignored the input
18:01:55 <nerdthatnoonelik> oh
18:04:08 <nerdthatnoonelik> so how do i get xmobar to not terminate immediately
18:05:04 <Solid> you are presumably using `xmproc' in your `default' function?
18:05:59 <Solid> so add it as an argument; `defaults xmproc = ...` and call with `xmonad $ docks $ defaults xmproc'
18:10:48 Solid now knows why people have this exact problem so often
18:11:12 <Solid> this distrotube guy didn't test the configs he showed people in his video :/
18:12:42 <geekosaur> everyone does this. they think that just using the pipe magically makes xmonad restart the dock when it's restarted / mod-q
18:13:23 <geekosaur> nobody knows or cares how unix pipes work, or FD_CLOEXEC, or when gc happens
18:14:43 <Solid> it's not even about that; it's about starting the pipe but then not feeding it to ppOutput at all
18:15:46 <geekosaur> yes
18:15:54 <geekosaur> I'm telling you why people cargo-cult it
18:16:08 <Solid> oh
18:16:27 <geekosaur> there is a mis-belief that, just because it's a pipe, xmonad will go hunt down and kill the process on restart
18:16:57 <geekosaur> this is part of why the recent DynamicLog changes, so it *will* go hunt things down for users who cargo-cult it
18:33:31 × nerdthatnoonelik quits (~nerdthatn@ip206.ip-51-81-119.us) (Quit: Lost terminal)
18:36:04 nerdthatnoonelik joins (~nerdthatn@ip206.ip-51-81-119.us)
18:41:16 × nerdthatnoonelik quits (~nerdthatn@ip206.ip-51-81-119.us) (Quit: Lost terminal)
18:48:10 tremon joins (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl)
18:59:48 nerdthatnoonelik joins (~nerdthatn@ip206.ip-51-81-119.us)
19:00:04 <nerdthatnoonelik> So I'm still confused on what im supposed to add to fix xmobar stop closing
19:00:37 <nerdthatnoonelik> because I don't know enough about haskell to know what you were talking about
19:01:28 <mc47> do you want to feed xmobar data from xmonad or not?
19:02:18 <geekosaur> your xmobar config has an unsafeStdinReader in it, which implies your xmonad config should be sending it output including xmobar escapes
19:02:49 <nerdthatnoonelik> ah
19:03:08 <nerdthatnoonelik> ok i just removed it and it worked, thanks for all the help guys!
19:03:10 × nerdthatnoonelik quits (~nerdthatn@ip206.ip-51-81-119.us) (Client Quit)
19:03:17 <Solid> lol
19:03:20 <mc47> hahaha
19:03:59 <mc47> "The fastest hand in the West"
19:04:33 <Solid> I guess that's the bad thing about a person who doesn't know haskell making that many xmonad videos :>
19:04:53 <geekosaur> well, this is someone not knowing POSIX tbh
19:05:00 <geekosaur> not specific to Haskell
19:07:28 <Solid> good point
19:07:46 <Liskni_si> all the knowledge of POSIX has been given away already, there isn't any left, so expecting young people to get some is unreasonable.
19:08:24 <Solid> he also copies the default configuration verbatim and modifies that instead of starting from an empty file
19:08:26 <Solid> sigh
19:12:03 <mc47> to be fair, there aren't a lot of xmonad guides out there
19:15:22 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
19:16:02 <Solid> that is true
19:17:16 <Solid> there already is a good tutorial out there, it just needs to be updated and put directly onto the repo
19:17:30 Solid should continue doing that at some point...
19:18:21 gazler joins (~gazler@195.107.2.81.in-addr.arpa)
19:18:36 <mc47> which tutorial are you referring to, btw?
19:19:32 <Solid> https://wiki.haskell.org/Xmonad/Config_archive/John_Goerzen's_Configuration
19:19:34 <Solid> that one
19:19:42 × gazler_ quits (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 256 seconds)
19:19:44 <Solid> it says it's their configuration, but it's really a tutorial
19:19:51 <Solid> maybe that's why it's so hard to find :)
19:20:43 gazler_ joins (~gazler@195.107.2.81.in-addr.arpa)
19:23:41 × gazler quits (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 272 seconds)
19:25:38 <mc47> It's pretty good
19:26:35 <mc47> eum so I'm writing the docs for the potential "XMonad.Hooks.StatusBar".. Should the module be "aware" that DynamicLog exists?
19:27:07 gazler joins (~gazler@195.107.2.81.in-addr.arpa)
19:27:14 <Solid> more than that, I think we should officially deprecate DynamicLog
19:27:20 <Solid> but I'm a bit extreme in that regard :>
19:27:42 <mc47> I mean, should I restate the explanation again on why property logging should be used instead of pipes, or simply refer to DynamicLog?
19:27:48 <Liskni_si> I thought those xmobarPPs and strips and so on would stay in DynamicLog
19:28:09 <Liskni_si> (brb, dinner)
19:28:10 <Solid> oh would they? I thought they'd be moved in that new .PP module
19:28:20 <mc47> I moved them to the new .PP module and re-exported
19:28:51 <mc47> DynamicLog only has xmobar, statusBar and dzen/dzenWithFlags now
19:30:08 × gazler_ quits (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 272 seconds)
19:30:11 <Solid> ah well, probably can't deprecate that then
19:30:35 <Solid> either way, I don't think we need to duplicate documentation
19:30:41 <Solid> you can just link to DynamicLog
19:34:06 <Solid> I was gonna say we probably also need to rewrite https://wiki.haskell.org/Xmonad/xmonad_development_tutorial but it still looks pretty good
19:34:13 <Solid> may just need to copy that over to some place else
19:35:56 geekosaur joins (82650c7a@130.101.12.122)
19:40:53 × notis quits (~notis@185.51.134.229) (Quit: WeeChat 3.0)
19:43:17 notis joins (~notis@185.51.134.222)
19:46:42 × spoonm quits (~spoonm@gunma.spoonm.org) (Quit: Don't look behind you!)
19:49:24 spoonm joins (~spoonm@2602:ffd5:1:119::1)
19:57:20 <Liskni_si> oh, that's probably why I wanted the cyclic dependency thing
19:57:43 <Liskni_si> because the amount of stuff that DynamicLog needs from StatusBar is way less than the other way around
19:58:09 <Liskni_si> now we're essentially renaming DynamicLog aren't we?
20:00:31 <Solid> pretty much
20:09:32 <Liskni_si> that wasn't really what I thought we'd end up with, but that doesn't mean it's bad; my brain isn't able to foresee all that right now
20:11:58 <Liskni_si> what I thought would be good was to somehow separate producing the log string from launching the bars and the rest of the plumbing
20:12:59 <geekosaur> that ideally would go with the PP stuff
20:13:28 <geekosaur> the problem being the PP contains the plumbing
20:13:45 <Liskni_si> but the separation isn't as clear as I'd like it to be, as the log syntax is specific to the bar program, so if we want to provide simple wrappers, those need to import the xmobarPP/dzenPP and its deps
20:14:10 <geekosaur> hm, this may mean there's no way to achieve backward compatibility while also avoiding circular references :(
20:14:59 <Liskni_si> well there's always a way, we can always create one module per strongly connected component of functions
20:15:12 <Liskni_si> but there may be no _nice_ way
20:17:20 <Liskni_si> we could maybe have 4 modules: PP stuff; generic plumbing stuff without specific wrappers; specific wrappers that tie it together; and then DynamicLog for compat
20:17:26 <Liskni_si> no idea if all that's worth it
20:17:55 <Liskni_si> DynamicLog could be "specific wrappers" module
20:18:54 <Liskni_si> on the other hand having a module like StatusBar with clean interface is nice, too
20:28:25 <Solid> maybe PP+plumbing, pipes, properties?
20:43:56 × davemq quits (~davemq@2600:1700:b1c0:2580::4d8) (Ping timeout: 240 seconds)
20:48:59 davemq joins (~davemq@2600:1700:b1c0:2580::4d8)
21:28:34 × endiruna quits (~endiendir@46.101.187.207) (Ping timeout: 272 seconds)
21:33:10 <mc47> a bit late to the party, but I guess it makes a bit sense to structure the modules around a data structure
21:33:36 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
21:33:58 mc47 joins (~yecinem@89.246.239.190)
21:35:00 <mc47> I kinda thought of .PP to contain the example formatters and the formatting utilities (wrap, pad ..)
21:35:20 <Liskni_si> Solid: if plumbing includes the multiple bar stuff, I think it's probably best to separate from the PP stuff
21:35:47 <Liskni_si> it gets too long otherwise (it wouldn't without the documentation, but then it'd be useless)
21:35:48 <mc47> StatusBar for creating, composing, managing and binding the StatusBarConfig's
21:36:37 <mc47> and DynamicLog for the statusBar, xmobar and dzen*
21:37:18 <Liskni_si> maybe that's best after all
21:37:26 <Liskni_si> we just need a good name for the PP module
21:37:45 <mc47> The only thing that doesn't quite fit is the dynamicLog* functions.. I've put them inside .PP to avoid the circular imports, but it could be argued that we put them in DynamicLog
21:38:13 mc47 is terrible with names
21:38:26 <Liskni_si> well dynamicLogString definitely belongs close to PP
21:38:54 <Liskni_si> and the other two too
21:39:16 <Liskni_si> dynamicLogXinerama is some weird leftover crap
21:39:29 <Liskni_si> who runs xmonad actually piped to dzen/xmobar?
21:39:53 <Liskni_si> so that one goes to the compat module
21:40:17 endiruna joins (~endiendir@46.101.187.207)
21:40:29 <Liskni_si> (I mean someone probably does because if it worked 10 years ago it still works now, so we may not want to break it without a good replacement)
21:41:00 <mc47> which one do you mean?
21:41:02 <geekosaur> xmonad 0.3!
21:41:57 <Liskni_si> mc47: which one I mean by which sentence? :-)
21:42:38 <mc47> what goes inside the compact module? And which one is the compact module again? :D
21:43:05 <geekosaur> compat(ibility) module
21:43:07 <geekosaur> not compact
21:43:24 <mc47> Oh, that makes sense now
21:43:32 <geekosaur> DynamicLog, as distinct from StatusBar, with the current proposal
21:55:55 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
22:06:27 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 272 seconds)
22:06:52 × endiruna quits (~endiendir@46.101.187.207) (Ping timeout: 256 seconds)
22:08:24 endiruna joins (~endiendir@46.101.187.207)
22:16:45 × endiruna quits (~endiendir@46.101.187.207) (Ping timeout: 264 seconds)
22:19:50 endiruna joins (~endiendir@46.101.187.207)
22:36:08 × davemq quits (~davemq@2600:1700:b1c0:2580::4d8) (Quit: ZNC 1.8.2 - https://znc.in)
22:37:10 davemq joins (~davemq@2600:1700:b1c0:2580::4d8)
22:46:59 × davemq quits (~davemq@2600:1700:b1c0:2580::4d8) (Ping timeout: 272 seconds)
22:47:41 davemq joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
23:07:27 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
23:09:28 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)

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