Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,992 events total
2023-01-09 02:23:10 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 260 seconds)
2023-01-09 02:37:03 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 02:41:23 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 256 seconds)
2023-01-09 02:54:20 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 02:59:03 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 255 seconds)
2023-01-09 03:03:19 × banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 265 seconds)
2023-01-09 03:07:40 × td_ quits (~td@83.135.9.53) (Ping timeout: 265 seconds)
2023-01-09 03:09:25 td_ joins (~td@83.135.9.52)
2023-01-09 03:24:48 banc joins (banc@gateway/vpn/protonvpn/banc)
2023-01-09 03:28:53 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 03:30:25 lokesh1197 joins (~Thunderbi@14.139.128.10)
2023-01-09 03:34:19 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 260 seconds)
2023-01-09 03:47:35 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 03:50:33 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2023-01-09 03:52:08 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 265 seconds)
2023-01-09 04:01:00 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2023-01-09 04:01:10 × lokesh1197 quits (~Thunderbi@14.139.128.10) (Ping timeout: 260 seconds)
2023-01-09 04:01:28 lokesh1197 joins (~Thunderbi@14.139.128.40)
2023-01-09 04:08:21 lokesh1198 joins (~Thunderbi@14.139.128.23)
2023-01-09 04:10:35 × lokesh1197 quits (~Thunderbi@14.139.128.40) (Ping timeout: 268 seconds)
2023-01-09 04:11:12 lokesh1197 joins (~Thunderbi@14.139.128.10)
2023-01-09 04:13:03 × lokesh1198 quits (~Thunderbi@14.139.128.23) (Ping timeout: 268 seconds)
2023-01-09 04:47:34 × lokesh1197 quits (~Thunderbi@14.139.128.10) (Remote host closed the connection)
2023-01-09 05:16:29 galactic_starfis joins (~galactics@2001:470:69fc:105::1:2985)
2023-01-09 05:25:12 <galactic_starfis> is there a clean way for me to say M-*-k whereas C or S or M1 in any combination can be pressed, e.g. M-k M-C-k or M-C-S-k M-C-M1-k M-S-k M-S-M1-k M-M1-k all work?
2023-01-09 05:28:32 <galactic_starfis> without doing `f k a = [ (m<>k, a) | m <- [ "M-", "M-C-", "M-C-S-", "M-C-M1-", "M-S-", "M-S-M1-", "M-M1-" ] ]`
2023-01-09 05:28:48 <galactic_starfis> * ] ]` and combining that with EZConfig
2023-01-09 05:28:56 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 05:32:39 <[Leary]> > [ "M-" <> c <> s <> m1 | c <- ["", "C-"], s <- ["", "S-"], m1 <- ["", "M1-"] ]
2023-01-09 05:32:41 <lambdabot> ["M-","M-M1-","M-S-","M-S-M1-","M-C-","M-C-M1-","M-C-S-","M-C-S-M1-"]
2023-01-09 05:32:48 <[Leary]> galactic_starfis: Something like that.
2023-01-09 05:33:13 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
2023-01-09 05:33:29 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 246 seconds)
2023-01-09 05:35:23 <Jadesheit[m]> ```hs
2023-01-09 05:35:23 <Jadesheit[m]> f k a = [ (foldr (.|.) modMask mods, k) | mods <- [shiftMask, altMask, <other mods>] ]
2023-01-09 05:35:23 <Jadesheit[m]> ```
2023-01-09 05:36:32 <Jadesheit[m]> * ```hs
2023-01-09 05:36:32 <Jadesheit[m]> f k a = [ ((foldr (.|.) modMask mods) .|. k, a) | mods <- [shiftMask, altMask, <other mods>] ]
2023-01-09 05:36:32 <Jadesheit[m]> ```
2023-01-09 05:36:51 <Jadesheit[m]> wait no
2023-01-09 05:37:19 <Jadesheit[m]> you need a singleton generator for each like leary showed above
2023-01-09 05:46:51 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 05:50:13 PotatoGim_ is now known as PotatoGim
2023-01-09 05:51:08 <[Leary]> > let anyMods mod mods key a = fmap (,a) . getAp . foldMap Ap $ [mod <> "-"]:((\m -> ["", m <> "-"]) <$> mods) <> [[key]] in anyMods "M" ["C", "S", "M1"] "k" "<action>"
2023-01-09 05:51:11 <lambdabot> [("M-k","<action>"),("M-M1-k","<action>"),("M-S-k","<action>"),("M-S-M1-k","...
2023-01-09 05:51:23 <[Leary]> There's a more general form, if you want to do this more than once.
2023-01-09 05:53:27 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 265 seconds)
2023-01-09 06:07:21 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 06:12:03 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 260 seconds)
2023-01-09 06:25:25 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 06:30:16 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 252 seconds)
2023-01-09 06:51:22 abhixec joins (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net)
2023-01-09 06:58:13 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 07:02:28 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 260 seconds)
2023-01-09 07:15:02 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 07:19:39 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 248 seconds)
2023-01-09 07:39:51 mncheckm joins (~mncheck@193.224.205.254)
2023-01-09 07:52:05 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 07:57:10 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 252 seconds)
2023-01-09 08:09:37 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 08:20:49 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 256 seconds)
2023-01-09 08:34:22 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 08:39:15 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 255 seconds)
2023-01-09 08:50:48 cfricke joins (~cfricke@user/cfricke)
2023-01-09 08:51:41 thunderrd joins (~thunderrd@183.182.111.166)
2023-01-09 08:52:47 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 08:57:07 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 252 seconds)
2023-01-09 09:27:32 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 09:32:53 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 265 seconds)
2023-01-09 09:40:44 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 09:45:27 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 265 seconds)
2023-01-09 09:57:07 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 10:38:21 escobear joins (~gknux@user/galaxy-knuckles/x-3015990)
2023-01-09 10:39:05 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Ping timeout: 256 seconds)
2023-01-09 10:39:12 escobear is now known as gknux
2023-01-09 10:45:59 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 246 seconds)
2023-01-09 10:50:04 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 11:07:28 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 252 seconds)
2023-01-09 11:09:17 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 11:33:27 <galactic_starfis> thanks! what exactly does Ap do? it's hoogle documentation doesn't really clear it up, but it seems useful...
2023-01-09 11:33:35 <galactic_starfis> * thanks! what exactly does Ap do? it's hoogle documentation doesn't really clear it up, but after playing with it, it seems useful...
2023-01-09 11:34:42 × jab quits (~jabuxas@user/jabuxas) (Quit: WeeChat 2.8)
2023-01-09 11:37:26 jabuxas joins (~jabuxas@user/jabuxas)
2023-01-09 11:56:06 <[Leary]> galactic_starfis: `Ap` gives an abitrary `Applicative` a corresponding `Monoid` instance where `mempty = pure mempty` and `(<>) = liftA2 (<>)`.
2023-01-09 11:56:17 <[Leary]> > "abc" <> "def"
2023-01-09 11:56:19 <lambdabot> "abcdef"
2023-01-09 11:56:26 <[Leary]> > Ap "abc" <> Ap "def"
2023-01-09 11:56:28 <lambdabot> error:
2023-01-09 11:56:28 <lambdabot> • No instance for (Semigroup Char) arising from a use of ‘<>’
2023-01-09 11:56:28 <lambdabot> • In the expression: Ap "abc" <> Ap "def"
2023-01-09 11:56:45 <[Leary]> Oops.
2023-01-09 11:57:19 <[Leary]> > Ap ["a", "b", "c"] <> Ap ["d", "e", "f"]
2023-01-09 11:57:20 <lambdabot> Ap {getAp = ["ad","ae","af","bd","be","bf","cd","ce","cf"]}
2023-01-09 11:57:25 <[Leary]> Is what I meant.
2023-01-09 11:58:01 <[Leary]> > liftA2 (<>) ["a", "b", "c"] ["d", "e", "f"]
2023-01-09 11:58:04 <lambdabot> ["ad","ae","af","bd","be","bf","cd","ce","cf"]
2023-01-09 12:20:29 × defjam quits (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc) (Ping timeout: 246 seconds)
2023-01-09 12:21:43 × redgloboli_ quits (~redglobol@user/redgloboli) (Ping timeout: 252 seconds)
2023-01-09 12:32:18 defjam joins (~defjam@2a02:c7e:2807:b900:cc65:3053:ec90:ffbc)
2023-01-09 12:39:55 redgloboli joins (~redglobol@user/redgloboli)

All times are in UTC.