2022/06/07

2022-06-07 00:48:43 +0000stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-06-07 01:39:30 +0000abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
2022-06-07 01:48:50 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
2022-06-07 02:03:12 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 276 seconds)
2022-06-07 02:16:12 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 276 seconds)
2022-06-07 02:20:45 +0000td_(~td@muedsl-82-207-238-164.citykom.de) (Ping timeout: 276 seconds)
2022-06-07 02:22:06 +0000td_(~td@muedsl-82-207-238-064.citykom.de)
2022-06-07 02:23:08 +0000banc(banc@gateway/vpn/airvpn/banc)
2022-06-07 03:45:12 +0000ocelot_(~ocelot@50-78-208-189-static.hfc.comcastbusiness.net)
2022-06-07 04:13:50 +0000banc-(banc@gateway/vpn/airvpn/banc)
2022-06-07 04:14:06 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 246 seconds)
2022-06-07 04:14:07 +0000defjam(~eb0t@33ba3cdf.skybroadband.com) (Ping timeout: 246 seconds)
2022-06-07 04:16:09 +0000defjam(~eb0t@33ba3cdf.skybroadband.com)
2022-06-07 04:30:50 +0000rekahsoft(~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) (Ping timeout: 240 seconds)
2022-06-07 05:28:59 +0000thunderrd(~thunderrd@183.182.114.81) (Remote host closed the connection)
2022-06-07 05:41:26 +0000chomwitt(~chomwitt@2a02:587:dc1f:5600:c2b2:8e31:c818:61b1)
2022-06-07 05:49:41 +0000steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-06-07 06:14:34 +0000thunderrd(~thunderrd@183.182.114.81)
2022-06-07 06:26:55 +0000cfricke(~cfricke@user/cfricke)
2022-06-07 07:46:44 +0000mc47(~mc47@xmonad/TheMC47)
2022-06-07 07:49:27 +0000 <mesaoptimizer> hi, I was messing around with cabal on archlinux, and now `xmonad --recompile` doesn't work. Any help? https://www.irccloud.com/pastebin/AM0M7GvV/
2022-06-07 08:11:39 +0000alternateved(~alternate@82.180.151.243)
2022-06-07 08:13:47 +0000 <mesaoptimizer> okay the answer was that I had to `rm -rf ~/.ghc`. Removing cabal and ghc and reinstalling them didn't do much
2022-06-07 08:14:41 +0000 <mesaoptimizer> I'm surprised that the error does not actually tell you what the problem is
2022-06-07 08:23:50 +0000alternateved(~alternate@82.180.151.243) (Remote host closed the connection)
2022-06-07 08:24:13 +0000alternateved(~alternate@82.180.151.243)
2022-06-07 08:25:00 +0000alternateved(~alternate@82.180.151.243) (Remote host closed the connection)
2022-06-07 08:32:26 +0000alternateved(~alternate@82.180.151.243)
2022-06-07 09:00:06 +0000reavertor[m](~reavertor@2001:470:69fc:105::1:ffd7) (Quit: You have been kicked for being idle)
2022-06-07 09:00:14 +0000Johann[m](~wubhlueao@2001:470:69fc:105::1:f791) (Quit: You have been kicked for being idle)
2022-06-07 10:32:28 +0000 <Yehoshua> a bit late, but do you have more then one ghc install?
2022-06-07 10:32:28 +0000 <Yehoshua> for example, via the distribution of you repo, and ghcup?
2022-06-07 10:32:28 +0000 <Yehoshua> because that's what it looks like.
2022-06-07 10:34:30 +0000 <Yehoshua> and the problem is linking against xmonad-contrib's .so file,
2022-06-07 10:34:30 +0000 <Yehoshua> which means in some way either something is corrupted, or your compile env does not have _anymore_ xmonad-contrib installed. (but some headers are still accessible)
2022-06-07 11:07:01 +0000 <Solid[m]> it's just Arch doing Arch things wrt dynamic linking
2022-06-07 12:00:40 +0000 <alternateved> Hello, I was wondering if this was something wrong with my setup, but are utf8 supported in titles of windows?
2022-06-07 12:01:43 +0000 <alternateved> I could have polish characters everywhere else, e.g. in workspaces or in xmobar plugins, but window titles are the only one where those characters are not displayed
2022-06-07 12:03:58 +0000alternateved(~alternate@82.180.151.243) (Remote host closed the connection)
2022-06-07 12:04:17 +0000alternateved(~alternate@82.180.151.243)
2022-06-07 12:12:36 +0000 <geekosaur> window titles should work fine, provided xmobar is built with utf8 and the font supports it
2022-06-07 12:13:04 +0000 <geekosaur> I use utf8 in my terminal window titles to indicate various things and they all display fine
2022-06-07 12:13:10 +0000 <geekosaur> but I don't use xmobar
2022-06-07 12:20:41 +0000 <alternateved> This is the weird part: xmobar is build with xft support and xmobar plugins seems to display those characters just fine, the only issue is with window titles
2022-06-07 12:22:53 +0000 <liskin> We've had some double encoding issues in the past
2022-06-07 12:24:17 +0000 <liskin> Those should mostly be solved in 0.17+ but there's some possibility your config still does weird stuff with pipes
2022-06-07 12:24:26 +0000 <geekosaur> mesaoptimizer, removing ~/.ghc removes the package registry but leaves the libraries behind. you need to also remove part of ~/.cabal
2022-06-07 12:24:49 +0000 <geekosaur> I'd copy out ~/.cabal/config, nuke ~/.cabal, then copy the config file back
2022-06-07 12:25:44 +0000 <liskin> alternateved: how's your Haskell job going btw? I remember chatting with you over Discord a year ago or so... You're not going to ZuriHac by any chance?
2022-06-07 12:26:11 +0000 <alternateved> Hmm. I would need to dig around that. For sure I use the latest version. And I do not use pipes - mostly latest api
2022-06-07 12:27:06 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-07 12:27:48 +0000 <alternateved> liskin, ah you were right
2022-06-07 12:28:34 +0000 <alternateved> Those kind of jobs attract weird people
2022-06-07 12:29:03 +0000 <alternateved> I did not feel comfortable working there, but that job enabled me to meet some other people and find another job
2022-06-07 12:29:36 +0000 <liskin> :-D
2022-06-07 12:29:39 +0000 <alternateved> Currently I work for company that does real things and try to help their customers, and tech stack is mostly functional
2022-06-07 12:29:46 +0000 <liskin> Good for you then :-)
2022-06-07 12:29:47 +0000 <alternateved> Haskell, PureScript
2022-06-07 12:30:13 +0000 <alternateved> And the place is full of experienced developers, so I am in good hands.
2022-06-07 12:31:20 +0000 <alternateved> I am kinda overwhelmed in this year, so I did not plan to go to ZuriHac. Fun thing; colleague from my job was asking me that today; if I would want to take part in at least the online section
2022-06-07 12:33:13 +0000 <liskin> I attended online last year and was completely overwhelmed
2022-06-07 12:34:22 +0000 <alternateved> Why so?
2022-06-07 12:38:13 +0000Solidis really excited for an actual in person event, online conferences are such a drag
2022-06-07 12:41:50 +0000 <alternateved> Ah, yeah. Makes sense
2022-06-07 12:42:00 +0000 <geekosaur> I don't do so well with the online stuff either. plus I miss the "hallway track"
2022-06-07 12:46:23 +0000 <alternateved> Currently, I am a part-time performer/dancer, pretty overwhelmed with that also, so I take what I can to find some quiet time
2022-06-07 12:48:01 +0000 <Solid> totally understandable, of course, and I've even heard of people who like online conferences!
2022-06-07 12:48:15 +0000 <Solid> but for me they're really demotivating
2022-06-07 12:49:39 +0000 <liskin> alternateved: the schedule was so packed I barely had time for lunch, not to mention any hacking at all
2022-06-07 12:49:58 +0000 <liskin> By the end of it I had a queue of YouTube recordings to catch up with
2022-06-07 12:50:20 +0000 <liskin> Haven't had a more stressful weekend... possibly ever
2022-06-07 12:53:19 +0000 <liskin> This time I'll probably try to notify attende a single presentation. If the weather's good I'll do some hiking on Friday afternoon, and then I also have Monday evening and most of Tuesday to unwind and relax.
2022-06-07 12:53:36 +0000 <liskin> s/notify attende/not attend/
2022-06-07 12:54:48 +0000Solitary(~Solitary@user/solitary) (Ping timeout: 272 seconds)
2022-06-07 12:56:41 +0000 <alternateved> Okay, that sounds like something I would want to postpone till at least next year
2022-06-07 13:01:24 +0000mestre(~mestre@191.177.181.194)
2022-06-07 13:17:13 +0000 <liskin> :-)
2022-06-07 13:41:32 +0000moonsheep(~user@user/moonsheep)
2022-06-07 13:43:56 +0000 <moonsheep> I'm looking to customize my status bar (I'd like to be able to manually draw stuff). I have used xmobar for a long time now and it has served me well. I have made a prop logger that sends some JSON data to the status bar.
2022-06-07 13:44:08 +0000 <moonsheep> How should I go about interpreting this data from xmobar?
2022-06-07 13:44:40 +0000 <moonsheep> I have been reading its source and it seems fairly complex (a lot of TVars are used to pipe data around threads) and I'm a bit lost
2022-06-07 13:44:57 +0000 <moonsheep> Is xmobar a good choice to do this in the first place, or should I roll my own status bar?
2022-06-07 13:45:08 +0000 <moonsheep> I also heard of dzen2, is it any good?
2022-06-07 13:45:39 +0000 <geekosaur[m]> Dzen2 is very minimal
2022-06-07 13:46:29 +0000 <geekosaur[m]> I don't know of any status bar that knows what to do with JSON
2022-06-07 13:46:40 +0000 <moonsheep> How do you mean "minimal"? Ideally I would like to be able to customize it "from the inside" (as in, interpreting the data xmonad sends me and doing stuff with it)
2022-06-07 13:47:17 +0000 <geekosaur[m]> All it does is display text
2022-06-07 13:47:22 +0000 <alternateved> Did you check taffybar?
2022-06-07 13:47:37 +0000 <moonsheep> geekosaur[m]: well I'm pretty sure xmobar can display a fair bit more than just text
2022-06-07 13:47:43 +0000 <moonsheep> alternateved: nope
2022-06-07 13:47:56 +0000 <moonsheep> Hmm, looks interesting
2022-06-07 13:49:28 +0000 <moonsheep> Btw, in case it isn't clear I don't intend the status bar to interpret the JSON directly. I'm merely using it to be able to send haskell records through xmonadPropLog
2022-06-07 13:49:45 +0000 <moonsheep> (which only works with strings)
2022-06-07 14:24:45 +0000alternateved(~alternate@82.180.151.243) (Ping timeout: 260 seconds)
2022-06-07 14:29:51 +0000theliver[m](~theliverm@2001:470:69fc:105::2:25e4)
2022-06-07 14:49:19 +0000Solitary(~Solitary@user/solitary)
2022-06-07 15:18:19 +0000jlhupz(~jlhupz@2001:4451:a9d:1400:6e1f:1990:6ae3:7a9c)
2022-06-07 15:20:04 +0000jlhupz(~jlhupz@2001:4451:a9d:1400:6e1f:1990:6ae3:7a9c) ()
2022-06-07 15:21:36 +0000jlhupz(~jlhupz@2001:4451:a9d:1400:6e1f:1990:6ae3:7a9c)
2022-06-07 15:23:13 +0000 <moonsheep> So I'm back... what do I do if the hackage taffybar fails to build? (for using IO instead of the MonadIO class)
2022-06-07 15:23:23 +0000 <moonsheep> Is there an easy way to patch it without having to upload a new package to hackage?
2022-06-07 15:23:35 +0000 <moonsheep> Where does stack write the package sources?
2022-06-07 15:27:11 +0000 <geekosaur> in a temporary directory, and removes them after. You probably want `stack unpack`
2022-06-07 15:27:47 +0000jlhupz(~jlhupz@2001:4451:a9d:1400:6e1f:1990:6ae3:7a9c) (Quit: Client closed)
2022-06-07 15:58:14 +0000 <mc47> moonsheep you can pull the version tag you want from git, do your changes, and instruct stack to build using your local directory
2022-06-07 16:04:57 +0000twiclo(~twiclo@66.29.177.50.static.utbb.net) (Ping timeout: 276 seconds)
2022-06-07 16:06:17 +0000twiclo(~twiclo@2604:7b80:2000:1069:cde9:e3cf:754c:100d)
2022-06-07 16:13:14 +0000wonko(~wjc@2a0e:1c80:2::130)
2022-06-07 16:15:34 +0000noex(~null@user/noex) (Quit: :q!)
2022-06-07 16:17:51 +0000 <moonsheep> Should I include all the code in my repo?
2022-06-07 16:20:15 +0000noex(~null@user/noex)
2022-06-07 16:26:05 +0000twiclo(~twiclo@2604:7b80:2000:1069:cde9:e3cf:754c:100d) (Ping timeout: 260 seconds)
2022-06-07 16:26:55 +0000twiclo(~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c)
2022-06-07 16:37:42 +0000moonsheep(~user@user/moonsheep) (Remote host closed the connection)
2022-06-07 16:44:32 +0000 <mc47> @tell moonsheep no, you can use `extra-deps:` in your stack.yaml and specify a path
2022-06-07 16:44:33 +0000 <lambdabot> Consider it noted.
2022-06-07 16:46:40 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.5)
2022-06-07 16:51:45 +0000wonko(~wjc@2a0e:1c80:2::130) (Ping timeout: 260 seconds)
2022-06-07 17:04:15 +0000wonko(~wjc@2a0e:1c80:11::50)
2022-06-07 17:19:29 +0000 <mesaoptimizer> geekosaur: thanks! I did a `ghcup nuke` and deleted all traces of haskell, and then reinstalled things
2022-06-07 17:27:05 +0000telser_telser
2022-06-07 18:45:51 +0000jmct_(sid160793@id-160793.tinside.irccloud.com)
2022-06-07 18:47:00 +0000bsima-(~bsima@143.198.118.179)
2022-06-07 18:47:01 +0000pl_(sid98063@id-98063.helmsley.irccloud.com)
2022-06-07 18:47:05 +0000PotatoGim_(sid99505@id-99505.lymington.irccloud.com)
2022-06-07 18:50:43 +0000jmct(sid160793@id-160793.tinside.irccloud.com) (Ping timeout: 248 seconds)
2022-06-07 18:50:43 +0000pl(sid98063@id-98063.helmsley.irccloud.com) (Ping timeout: 248 seconds)
2022-06-07 18:50:43 +0000PotatoGim(sid99505@id-99505.lymington.irccloud.com) (Ping timeout: 248 seconds)
2022-06-07 18:50:43 +0000trillpoli[m]1(~trillpoli@2001:470:69fc:105::da4e) (Ping timeout: 248 seconds)
2022-06-07 18:50:44 +0000gymmy[m](~gymmymatr@2001:470:69fc:105::2:19f7) (Ping timeout: 248 seconds)
2022-06-07 18:50:44 +0000Ash[m](~signal-wa@2001:470:69fc:105::1:2318) (Ping timeout: 248 seconds)
2022-06-07 18:50:44 +0000Zach[m](~zoglesby@user/zoglesby) (Ping timeout: 248 seconds)
2022-06-07 18:50:44 +0000jmct_jmct
2022-06-07 18:50:45 +0000bsima(~bsima@2604:a880:400:d0::19f1:7001) (Ping timeout: 248 seconds)
2022-06-07 18:50:45 +0000pl_pl
2022-06-07 18:50:45 +0000PotatoGim_PotatoGim
2022-06-07 18:52:53 +0000Zach[m](~zoglesby@user/zoglesby)
2022-06-07 18:52:56 +0000Ash[m](~signal-wa@2001:470:69fc:105::1:2318)
2022-06-07 19:00:09 +0000trillpoli[m]1(~trillpoli@2001:470:69fc:105::da4e)
2022-06-07 19:02:09 +0000gymmy[m](~gymmymatr@2001:470:69fc:105::2:19f7)
2022-06-07 19:41:53 +0000alternateved(~alternate@45.134.212.155)
2022-06-07 19:43:34 +0000alternateved(~alternate@45.134.212.155) (Remote host closed the connection)
2022-06-07 20:24:20 +0000abiss27(~abiss27@user/abiss)
2022-06-07 20:31:24 +0000stackdroid18(14094@user/stackdroid)
2022-06-07 21:17:51 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Read error: Connection reset by peer)
2022-06-07 21:22:12 +0000abiss27(~abiss27@user/abiss) (Quit: hasta la vista... tchau!)
2022-06-07 21:28:20 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-06-07 22:09:31 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-07 22:10:42 +0000moonsheep(~user@user/moonsheep)
2022-06-07 22:14:35 +0000 <moonsheep> How can I catch raw press/unpress events of my mod key? I tried the following event hook: https://paste.tomsmeding.com/1iwUP5Xo
2022-06-07 22:14:52 +0000 <moonsheep> But for some reason it doesn't seem to catch any keycode other than 23 (tab)
2022-06-07 22:19:11 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-06-07 22:20:52 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-07 22:23:11 +0000 <geekosaur> xmonad doesn't listen for keypresses as such. (really, you do not want it waking up on every single keypress/keyrelease event)
2022-06-07 22:23:57 +0000 <geekosaur> it sets "passive key grabs", where the server watches for specific key sequences (corresponding to the command keys you define) and wakes up xmonad when one of them matches
2022-06-07 22:24:30 +0000 <geekosaur> so pretty much the only time you should see a key event is when using something like Prompt or a SubMap or etc.
2022-06-07 22:24:33 +0000 <moonsheep> How can I set my modified key as one of these passive key grabs?
2022-06-07 22:24:43 +0000 <moonsheep> *modifier
2022-06-07 22:24:46 +0000 <geekosaur> define it in the keys list
2022-06-07 22:25:05 +0000 <geekosaur> note that this can lead to unexpected behavior
2022-06-07 22:25:14 +0000 <moonsheep> So if I'm using additionalKeys do I add it there with an action that does nothing?
2022-06-07 22:25:20 +0000 <geekosaur> with old style keys it'd be something like (0,xK_Super)
2022-06-07 22:25:36 +0000 <geekosaur> with additionalKeysP it'd be "<Super>"
2022-06-07 22:25:40 +0000chomwitt(~chomwitt@2a02:587:dc1f:5600:c2b2:8e31:c818:61b1) (Ping timeout: 248 seconds)
2022-06-07 22:26:04 +0000 <geekosaur> and yes, if you don't actually want an action then you use `return ()` as the action
2022-06-07 22:26:37 +0000 <moonsheep> So then is there no idiomatic way to handle key up/down? (as opposed to running an action every time the key is "pressed" like with the xconfig keys)
2022-06-07 22:26:57 +0000 <moonsheep> Adding an empty action to the keys and then handling it in an event hooks feels pretty hacky
2022-06-07 22:29:17 +0000 <geekosaur> no, there isn't
2022-06-07 22:29:57 +0000 <geekosaur> and I don't guarantee you'll get a keyup event with an empty action because the server grab might be released by then
2022-06-07 22:30:25 +0000 <moonsheep> Well, hacky as it may be it seems to work!
2022-06-07 22:30:29 +0000 <moonsheep> Thank you so much
2022-06-07 22:30:45 +0000 <moonsheep> (btw I'm trying to show the status bar only while the super key is pressed)
2022-06-07 22:31:08 +0000 <geekosaur> typically if you want to do this, you (a) don't share a key with xmonad (which implies doing it outside of xmonad; a minimalist window manager is not one you build everything else into) (b) set your own key grab
2022-06-07 22:31:31 +0000 <geekosaur> and (c) really that belongs in the status bar. I think xmobar supports it natively, for example
2022-06-07 22:32:11 +0000 <moonsheep> How do you mean "don't share a key with xmonad". How can I not share my super key with xmonad?
2022-06-07 22:33:12 +0000 <geekosaur> you may get tired of the status bar popping every time you run an xmonad command…
2022-06-07 22:34:32 +0000 <moonsheep> Oh rigght
2022-06-07 22:34:45 +0000 <moonsheep> Well, I'll try this for a while I guess
2022-06-07 22:35:16 +0000 <moonsheep> I used to have it shown 100% of the time, so I don't think having it pop up every time I'm going to run a command is that big of an issue
2022-06-07 22:37:31 +0000moonsheep(~user@user/moonsheep) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
2022-06-07 23:00:45 +0000stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-06-07 23:20:18 +0000mestre(~mestre@191.177.181.194) (Quit: Lost terminal)