2023/08/25

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