2022/08/18

2022-08-18 00:14:06 +0200 <geekosaur> I have a silly question. Why does `mkAbsolutePath` use `liftIO` when we get the alias `io` from `import XMonad`?
2022-08-18 00:50:11 +0200jao(jao@gateway/vpn/protonvpn/jao) (Ping timeout: 248 seconds)
2022-08-18 00:57:03 +0200jao(jao@gateway/vpn/protonvpn/jao)
2022-08-18 01:05:35 +0200 <geekosaur> well. not difficult but the pretty pointfree nature of doAppend went away when I had to integrate an impure mkAbsolutePath into the middle of it
2022-08-18 01:05:54 +0200scotabroad[m](~scotabroa@2001:470:69fc:105::2:3c91)
2022-08-18 01:06:25 +0200jao(jao@gateway/vpn/protonvpn/jao) (Ping timeout: 256 seconds)
2022-08-18 01:08:49 +0200 <scotabroad[m]> I'm on NixOS and have tried both trayer and stalonetray. Both seem to have the same problem where icons don't update properly and overlap (like my ibus monitor will just layer the new icons on top of the old ones, so when I switch keyboards everything becomes ugly). Any ideas what's going wrong?
2022-08-18 01:14:35 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-18 01:20:03 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 248 seconds)
2022-08-18 01:31:46 +0200 <xmonadtrack> New xmonad-contrib branch created: pull/744 (2 commits) https://github.com/xmonad/xmonad-contrib/pull/744
2022-08-18 01:31:46 +0200 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH https://github.com/xmonad/xmonad-contrib/pull/744 * v0.17.0-215-g70f831fd: make `mkAbsolutePath` handle environment variables (21 minutes ago, 1 file, 17+ 9-) https://github.com/xmonad/xmonad-contrib/commit/70f831fdbaa4
2022-08-18 01:31:46 +0200 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH https://github.com/xmonad/xmonad-contrib/pull/744 * v0.17.0-216-g59ef924f: make `doAppend` use `mkAbsolutePath` (21 minutes ago, 1 file, 2+ 1-) https://github.com/xmonad/xmonad-contrib/commit/59ef924f7855
2022-08-18 01:48:54 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-18 02:03:36 +0200haskl(~haskl@user/haskl) (Ping timeout: 268 seconds)
2022-08-18 02:31:31 +0200chomwitt(~chomwitt@2a02:587:dc16:4100:1289:3f0b:2a03:948d) (Ping timeout: 248 seconds)
2022-08-18 02:38:27 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 248 seconds)
2022-08-18 03:16:48 +0200defjam(~eb0t@33b77162.skybroadband.com) (Read error: Connection reset by peer)
2022-08-18 03:18:04 +0200berberman(~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
2022-08-18 03:18:24 +0200berberman(~berberman@user/berberman)
2022-08-18 03:22:43 +0200defjam(~eb0t@33bed8fc.skybroadband.com)
2022-08-18 03:44:49 +0200jabuxas(~jabuxas@2804:14d:ba4c:831e:2ed4:c29b:22c4:6309) (Remote host closed the connection)
2022-08-18 03:46:17 +0200haskl(~haskl@user/haskl)
2022-08-18 03:52:31 +0200noex(~null@user/noex)
2022-08-18 04:23:37 +0200td_(~td@94.134.91.250) (Ping timeout: 252 seconds)
2022-08-18 04:25:31 +0200td_(~td@muedsl-82-207-238-008.citykom.de)
2022-08-18 04:31:40 +0200noex(~null@user/noex) (Quit: :q!)
2022-08-18 04:32:56 +0200noex(~null@user/noex)
2022-08-18 04:49:41 +0200terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2022-08-18 04:52:09 +0200terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2022-08-18 05:52:23 +0200 <scotabroad[m]> <scotabroad[m]> "I'm on NixOS and have tried both..." <- I normally run trayer with `trayer --edge bottom --align center --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent false --tint 0x2e3440 --height 30` in my startup hook
2022-08-18 06:00:39 +0200scotabroad[m]uploaded an image: (3KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/CxSqkYXMXMRQISCBZCHzVKsK/2022-08-17_2… >
2022-08-18 06:01:10 +0200 <scotabroad[m]> An example of my problem
2022-08-18 06:34:12 +0200 <Solid> :pl doAppend s = mkAbsolutePath fn >>= \f -> (io . withFile f AppendMode . flip hPutStrLn . trans) s
2022-08-18 06:34:18 +0200 <Solid> @pl doAppend s = mkAbsolutePath fn >>= \f -> (io . withFile f AppendMode . flip hPutStrLn . trans) s
2022-08-18 06:34:18 +0200 <lambdabot> doAppend = (mkAbsolutePath fn >>=) . flip ((io .) . (. (flip hPutStrLn . trans)) . flip withFile AppendMode)
2022-08-18 06:34:23 +0200 <Solid> eh, probably not :)
2022-08-18 06:40:37 +0200zim0369(~zim0369@42.108.231.154)
2022-08-18 06:53:10 +0200zim0369(~zim0369@42.108.231.154) (Quit: Client closed)
2022-08-18 06:55:59 +0200qbt(~qbt@user/edun)
2022-08-18 07:43:31 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
2022-08-18 08:21:13 +0200Jazzah(~jazz@user/jazzah) (Ping timeout: 252 seconds)
2022-08-18 08:21:32 +0200Jazzah(~jazz@irradiated.plutonium.dk)
2022-08-18 08:21:33 +0200Jazzah(~jazz@irradiated.plutonium.dk) (Changing host)
2022-08-18 08:21:33 +0200Jazzah(~jazz@user/jazzah)
2022-08-18 08:22:11 +0200terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Ping timeout: 256 seconds)
2022-08-18 08:24:50 +0200terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2022-08-18 08:29:56 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-18 08:46:34 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-08-18 08:46:42 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-08-18 08:49:11 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-18 09:16:31 +0200cfricke(~cfricke@user/cfricke)
2022-08-18 09:35:50 +0200banc-(banc@gateway/vpn/airvpn/banc)
2022-08-18 09:37:07 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
2022-08-18 10:09:15 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-08-18 10:49:37 +0200benin0(~benin@183.82.27.55)
2022-08-18 11:00:32 +0200Solid[m](~slot-matr@2001:470:69fc:105::1:a84) (Quit: You have been kicked for being idle)
2022-08-18 11:18:38 +0200cfricke(~cfricke@user/cfricke)
2022-08-18 11:21:10 +0200logzet(~quassel@2001:9e8:e51b:b800:dabb:c1ff:fed3:a1b9)
2022-08-18 12:01:25 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-18 12:24:08 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 256 seconds)
2022-08-18 12:54:27 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-08-18 12:57:01 +0200banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-08-18 14:21:37 +0200 <geekosaur> yeh, I did that in pm and decided against 🙂
2022-08-18 15:04:23 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-08-18 15:24:56 +0200colln(~colln@2600:4040:15c3:9400:b831:f60b:65e9:a32f) (Remote host closed the connection)
2022-08-18 15:46:57 +0200 <geekosaur> @pl doAppend trans fn s = mkAbsolutePath fn >>= \f -> io (withFile f AppendMode (hPutStrLn (trans s)))
2022-08-18 15:46:57 +0200 <lambdabot> doAppend = flip ((.) . (>>=) . mkAbsolutePath) . (((io .) . flip (flip withFile AppendMode) . hPutStrLn) .)
2022-08-18 15:47:12 +0200 <geekosaur> not sure if that's better or worse 🙂
2022-08-18 16:45:36 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-08-18 17:06:59 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-08-18 17:10:19 +0200T_X(~T_X@diktynna.open-mesh.org) (Read error: Connection reset by peer)
2022-08-18 17:43:27 +0200lazycat(~lazycat@user/lazycat) (Quit: ZNC - https://znc.in)
2022-08-18 17:44:18 +0200lazycat(~lazycat@user/lazycat)
2022-08-18 18:01:16 +0200liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-08-18 18:57:47 +0200benin0(~benin@183.82.27.55) (Quit: The Lounge - https://thelounge.chat)
2022-08-18 19:01:34 +0200twiclo1(~twiclo@mail.twil.cx) (Ping timeout: 268 seconds)
2022-08-18 19:01:57 +0200twiclo1(~twiclo@vpn.utahbroadband.com)
2022-08-18 19:58:46 +0200 <Solid> x)
2022-08-18 19:59:01 +0200liskin[m](~liskinmat@2001:470:69fc:105::768)
2022-08-18 20:08:16 +0200qbt(~qbt@user/edun) (Quit: WeeChat 3.5)
2022-08-18 21:58:00 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-18 22:01:49 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-08-18 22:32:35 +0200MrElendig(~Urist@archlinux/op/MrElendig) (Quit: setting you up the bomb)
2022-08-18 22:34:41 +0200MrElendig(~Urist@archlinux/op/MrElendig)
2022-08-18 22:51:14 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-18 22:59:47 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-08-18 23:01:46 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-08-18 23:04:02 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)