Home liberachat/#xmonad: Logs Calendar

Logs on 2023-08-25 (liberachat/#xmonad)

00:16:49 [Leary] joins (~Leary]@user/Leary/x-0910699)
02:04:25 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 246 seconds)
02:26:56 × jabuxas quits (~jabuxas@user/jabuxas) (Quit: Leaving.)
02:50:17 × td_ quits (~td@i53870920.versanet.de) (Ping timeout: 250 seconds)
02:52:09 td_ joins (~td@i53870909.versanet.de)
04:32:21 × td_ quits (~td@i53870909.versanet.de) (Ping timeout: 260 seconds)
05:03:57 td_ joins (~td@i5387093A.versanet.de)
05:19:38 × ft quits (~ft@80.141.182.88) (Quit: leaving)
06:04:40 todi joins (~todi@p4fd1a580.dip0.t-ipconnect.de)
06:53:44 cfricke joins (~cfricke@user/cfricke)
07:27:10 mc47 joins (~mc47@xmonad/TheMC47)
07:34:02 × Solid quits (~slot@xmonad/slotThe) (Quit: Connection reset by pear)
07:36:05 Solid joins (~slot@xmonad/slotThe)
07:54:02 × td_ quits (~td@i5387093A.versanet.de) (Ping timeout: 246 seconds)
07:55:54 td_ joins (~td@i5387093C.versanet.de)
08:16:13 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC - https://znc.in)
08:18:34 zawaken joins (~zawaken@user/zawaken)
09:43:20 × rundown quits (~defjam@2a02:c7e:2807:b900:ddf8:294c:6350:e684) (Ping timeout: 258 seconds)
09:48:00 rundown joins (~defjam@2a02:c7e:2807:b900:6dc2:933e:4155:f583)
11:10:14 L29Ah joins (~L29Ah@wikipedia/L29Ah)
11:44:18 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
12:29:31 × td_ quits (~td@i5387093C.versanet.de) (Ping timeout: 246 seconds)
12:31:33 td_ joins (~td@i5387090E.versanet.de)
13:32:55 L29Ah joins (~L29Ah@wikipedia/L29Ah)
13:46:11 ft joins (~ft@p508db658.dip0.t-ipconnect.de)
15:08:59 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.0.3)
16:00:33 jabuxas joins (~jabuxas@user/jabuxas)
16:04:30 × jabuxas quits (~jabuxas@user/jabuxas) (Client Quit)
16:59:26 hackager joins (~hackager@069-135-003-034.biz.spectrum.com)
16:59:27 <hackager> <ChaoticMist> It is alright imo, but was thinking of something similar to a blog post. Even a tweet with a small demo would've been alright :)
16:59:28 <hackager> <ChaoticMist> Guess I can start a series in a couple of months from now where I build a config from scratch and post about cool things you can do
16:59:30 <hackager> <Solid (@slot-> I wrote a few short posts detailing some new-ish functionality ([one](https://tony-zorman.com/posts/calling-emacs-from-xmonad.html), [two](https://tony-zorman.com/posts/xmonad-and-org-mode.html), [three](https://tony-zorman.com/posts/topic-spaces.html), [four](https://tony-zorman.com/posts/orgmode-refiling.html), [five](https://tony-zorman.com/posts/x.a.search.html)) but it's surprisingly time-consuming; plus, I only rea
16:59:31 <hackager> <Solid (@slot-> So more of that sort of content is definitely appreciated :)
16:59:32 <hackager> <ChaoticMist> TIL about those blog posts and I am liking them!
16:59:34 <hackager> <ChaoticMist> Did you try advertising them somewhere?
16:59:35 <hackager> <ChaoticMist> > <Solid> I wrote a few short posts detailing some new-ish functionality ([one](https://tony-zorman.com/posts/calling-emacs-from-xmonad.html), [two](https://tony-zorman.com/posts/xmonad-and-org-mode.html), [three](https://tony-zorman.com/posts/topic-spaces.html), [four](https://tony-zorman.com/posts/orgmode-refiling.html), [five](https://tony-zorman.com/posts/x.a.search.html)) but it's surprisingly time-consuming; plus, I
16:59:36 <hackager> <ChaoticMist> TIL about those blog posts and I am liking them! (excl. the first post since that's where I got the emacs influence from :P)
16:59:38 <hackager> <ChaoticMist> TIL about those blog posts and I am liking them! (excl. the first post since that's where I got the emacs influence from :P)
16:59:39 <hackager> <ChaoticMist> LMAO.. the edit broke the format.. wtf
16:59:40 <hackager> <ChaoticMist> Also, those are some damn good posts!! Going to share them on mastodon xD
16:59:41 <hackager> <Solid (@slot-> Not really; the XMonad community is quite small, after all
16:59:43 <hackager> <ChaoticMist> Not really; the XMonad community is quite small, after all
16:59:44 <hackager> <ChaoticMist> Does not have to be limited to the XMonad community at all imo, could easily become a r/unixporn video where you showcase some cool stuff with your riced WM
16:59:45 <hackager> <ChaoticMist> > <Solid> > <@gilganix:matrix.org> Did you try advertising them somewhere?
16:59:47 <hackager> <ChaoticMist> Not really; the XMonad community is quite small, after all
16:59:48 <hackager> <ChaoticMist> Does not have to be limited to the XMonad community at all imo. Could easily become a r/unixporn video where you showcase some cool stuff with your riced WM
16:59:49 <hackager> <ChaoticMist> I think I know the issue.. having ement decide the format of the message is breaking the edits
16:59:51 <hackager> <Solid (@slot-> ah, right, the option of sending messages as plaintext exists and probably breaks things in this way
16:59:52 <hackager> <Solid (@slot-> (and I think my setup is too functional for unixporn :)
16:59:53 <hackager> <beastwick> hello, trying to setup swap workspace indices with custom workspaces I have created
16:59:54 <geekosaur> ugh
16:59:54 <hackager> <beastwick> https://pastebin.com/TMrukUqz
16:59:56 <hackager> <beastwick> [((mod4Mask .|. controlMask, k), windows $ swapWithCurrent i) | (i, k) <- zip workspaces ([xK_1 .. xK_9] ++ [xK_F1 .. xK_F12])]
16:59:57 <hackager> <beastwick> I don't have a list of WorkspaceId, my workspaces I guess are a list of strings
16:59:58 <hackager> <beastwick> as set in my config
17:00:00 <hackager> <geekosaur (@geekosaur> `WorkspaceId` is an alias for `String`. your problem is that `workspaces` is a function that needs to be applied to a `XConfig`
17:00:01 <hackager> <beastwick> what is an xconfig
17:00:02 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
17:00:02 <hackager> <geekosaur (@geekosaur> the thing you pass to `xmonad`
17:00:04 <hackager> <beastwick> I have to pass it the complete config block?
17:00:05 <hackager> <beastwick> that's weird
17:00:06 <hackager> <beastwick> there has to be a simpler way
17:00:07 <hackager> <geekosaur (@geekosaur> `workspaces` is a field name. do you expect to use it without the record to extract the field from?
17:00:09 <hackager> <beastwick> oh, that does make sense
17:00:10 <hackager> <beastwick> well, kind of
17:00:11 <hackager> <geekosaur (@geekosaur> Haskell makes it a function instead of a `foo.bar` thing
17:00:13 <hackager> <beastwick> ok, I guess I have some rearranging to do
17:00:14 <hackager> <geekosaur (@geekosaur> ct my workspace names into a separate definition and refer to that where needed
17:00:15 <hackager> <geekosaur (@geekosaur> I personally extract my workspace names into a separate definition and refer to that where needed
17:00:17 <hackager> <geekosaur (@geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L59-L61
17:00:18 × hackager quits (~hackager@069-135-003-034.biz.spectrum.com) (Remote host closed the connection)
17:08:48 hackager joins (~hackager@069-135-003-034.biz.spectrum.com)
17:09:18 <geekosaur> okay, I think this is properly gatewaying irc to matrix now
17:22:00 <hackager> <beastwick> yoggurt , ((mod4Mask .|. controlMask, xK_r), DW.renameWorkspace myXPConfig {defaultText = fromMaybe WN.getCurrentWorkspaceName})
17:22:11 <hackager> <beastwick> I am trying to set the default text for a change workspace name prompt
17:22:30 <hackager> <beastwick> so, basically I want to show the current workspace name I am editing
17:23:01 <hackager> <beastwick> Couldn't match type: Maybe (X (Maybe String)) -> X (Maybe String), with: [Char]
17:23:06 <hackager> <beastwick> is there a better way to do this?
17:39:23 <hackager> <geekosaur> `WN.getCurrentWorkspaceName >>= \wn -> DW.renameWorkspace myXPConfig {defaultText = fromMaybe wn}`
17:39:37 <hackager> <geekosaur> anything in `X` is a _program_, not a value
17:41:08 <hackager> <geekosaur> or as put over in #haskell IRC, slightly modified: an `X (Maybe String)` contains a `Maybe String` in the same way that `/bin/ls` contains a list of files
17:42:40 <hackager> <beastwick> ok, that helps me understand this
17:44:53 <hackager> <beastwick> Couldn't match type: Maybe (Maybe String) -> Maybe String, with: [Char]
17:52:34 <geekosaur> it would help to see the complete error message (please use https://paste.tomsmeding.com instead of pasting to the room/channel), but let me check the types
17:54:53 <geekosaur> oh, you're using `fromMaybe` wrong
17:55:02 <geekosaur> it needs a value to use when it's `Nothing`
17:55:33 <hackager> <beastwick> https://paste.tomsmeding.com/wms2LjTA
17:55:57 <geekosaur> "Probable cause: ‘fromMaybe’ is applied to too few arguments"
17:56:00 <geekosaur> as I just said
17:56:50 <geekosaur> do you understand `Maybe`?
17:57:17 <hackager> <beastwick> iffy, but I was able to get it to compile
17:57:40 <hackager> <beastwick> I get that maybe is a data type indicating it may or may not actually return the thing I am looking for
17:57:41 <geekosaur> you aren't now..
17:57:45 <hackager> <beastwick> it's either or a string, or it's nothing
17:58:00 <hackager> <beastwick> geekosaur, I added in the missing param
17:58:14 <geekosaur> yes. and `fromMaybe` lets you provide a value to use if it is `Nothing`, but you haven't provided one
17:58:30 <hackager> <beastwick> I supplied an empty string now in case it is nothing
17:59:06 × todi quits (~todi@p4fd1a580.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
18:05:28 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
18:11:11 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection)
18:13:15 todi joins (~todi@p4fd1a580.dip0.t-ipconnect.de)
18:21:34 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
18:30:01 jabuxas joins (~jabuxas@user/jabuxas)
19:06:12 jimr joins (~jimr@2603:7080:7702:3700::2)
19:30:34 × jabuxas quits (~jabuxas@user/jabuxas) (Quit: Leaving.)
20:00:07 Groumf joins (~Groumf@2a01:e0a:582:bb40:e5c6:f484:7015:1722)
20:20:56 jabuxas joins (~jabuxas@user/jabuxas)
20:57:53 × jimr quits (~jimr@2603:7080:7702:3700::2) (Quit: Leaving)
22:51:04 × jabuxas quits (~jabuxas@user/jabuxas) (Quit: Leaving.)
23:19:43 × hackager quits (~hackager@069-135-003-034.biz.spectrum.com) (Remote host closed the connection)
23:20:05 hackager joins (~hackager@069-135-003-034.biz.spectrum.com)
23:20:42 × hackager quits (~hackager@069-135-003-034.biz.spectrum.com) (Remote host closed the connection)
23:21:02 hackager joins (~hackager@069-135-003-034.biz.spectrum.com)
23:31:14 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Remote host closed the connection)
23:32:33 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
23:37:08 × Groumf quits (~Groumf@2a01:e0a:582:bb40:e5c6:f484:7015:1722) (Ping timeout: 246 seconds)
23:44:40 mvk joins (~mvk@2607:fea8:5c9a:a600::5235)
23:47:03 Groumf joins (~Groumf@2a01:e0a:582:bb40:e5c6:f484:7015:1722)
23:50:53 × td_ quits (~td@i5387090E.versanet.de) (Ping timeout: 246 seconds)

All times are in UTC on 2023-08-25.