Home liberachat/#xmonad: Logs Calendar

Logs on 2024-07-12 (liberachat/#xmonad)

00:04:17 × ml| quits (~ml|@user/ml/x-5298235) (*.net *.split)
00:04:17 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (*.net *.split)
00:04:17 × ElKowar quits (~ElKowar@srv-fin.xware-gmbh.de) (*.net *.split)
00:04:18 × dxld quits (a6d27c8ee6@2a03:6000:1812:100::52) (*.net *.split)
00:04:19 × jusa quits (~jusa@kraa.fi) (*.net *.split)
00:04:19 × pl quits (sid98063@id-98063.helmsley.irccloud.com) (*.net *.split)
00:04:19 × piele quits (~piele@tbonesteak.creativeserver.net) (*.net *.split)
00:04:21 × mzg quits (mzg@abusers.hu) (*.net *.split)
00:04:22 × bwolf quits (c3bc363dd1@2a03:6000:1812:100::180) (*.net *.split)
00:04:22 × xacktm quits (xacktm@user/xacktm) (*.net *.split)
00:04:22 × weitcis quits (~quassel@syn-076-082-169-160.res.spectrum.com) (*.net *.split)
00:04:23 × PotatoGim quits (sid99505@id-99505.lymington.irccloud.com) (*.net *.split)
00:04:23 × scardinal quits (~supreme@0x573d64a9.static.cust.fastspeed.dk) (*.net *.split)
00:04:23 × hightower2 quits (~hightower@213.186.15.36) (*.net *.split)
00:04:24 × yosafbridge quits (~yosafbrid@static.38.6.217.95.clients.your-server.de) (*.net *.split)
00:04:24 × m5zs7k quits (aquares@web10.mydevil.net) (*.net *.split)
00:04:24 × catman quits (~catman@user/catman) (*.net *.split)
00:04:24 × MrElendig quits (~Urist@archlinux/op/MrElendig) (*.net *.split)
00:04:24 × incertia quits (~incertia@209.122.137.252) (*.net *.split)
00:04:24 × tv quits (~tv@user/tv) (*.net *.split)
00:04:24 × T_X quits (~T_X@diktynna.open-mesh.org) (*.net *.split)
00:04:24 × geekosaur quits (sid609282@xmonad/geekosaur) (*.net *.split)
00:04:25 × deebo quits (~globe@stonebay32.com) (*.net *.split)
00:07:06 ml| joins (~ml|@user/ml/x-5298235)
00:07:06 hightower2 joins (~hightower@213.186.15.36)
00:07:06 L29Ah joins (~L29Ah@wikipedia/L29Ah)
00:07:06 ElKowar joins (~ElKowar@srv-fin.xware-gmbh.de)
00:07:06 yosafbridge joins (~yosafbrid@static.38.6.217.95.clients.your-server.de)
00:07:06 bwolf joins (c3bc363dd1@2a03:6000:1812:100::180)
00:07:06 m5zs7k joins (aquares@web10.mydevil.net)
00:07:06 xacktm joins (xacktm@user/xacktm)
00:07:06 catman joins (~catman@user/catman)
00:07:06 MrElendig joins (~Urist@archlinux/op/MrElendig)
00:07:06 dxld joins (a6d27c8ee6@2a03:6000:1812:100::52)
00:07:06 weitcis joins (~quassel@syn-076-082-169-160.res.spectrum.com)
00:07:06 incertia joins (~incertia@209.122.137.252)
00:07:06 tv joins (~tv@user/tv)
00:07:06 T_X joins (~T_X@diktynna.open-mesh.org)
00:07:06 geekosaur joins (sid609282@xmonad/geekosaur)
00:07:06 jusa joins (~jusa@kraa.fi)
00:07:06 pl joins (sid98063@id-98063.helmsley.irccloud.com)
00:07:06 PotatoGim joins (sid99505@id-99505.lymington.irccloud.com)
00:07:06 piele joins (~piele@tbonesteak.creativeserver.net)
00:07:06 scardinal joins (~supreme@0x573d64a9.static.cust.fastspeed.dk)
00:07:06 deebo joins (~globe@stonebay32.com)
00:07:07 × haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
00:07:50 haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com)
00:07:55 × m5zs7k quits (aquares@web10.mydevil.net) (Max SendQ exceeded)
00:08:19 m5zs7k joins (aquares@web10.mydevil.net)
00:09:49 mzg joins (mzg@abusers.hu)
01:27:49 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> @irc_libera.chat_geekosaur:kf8nh.com: hello
01:27:49 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/EGFFYAKDzuOWfXhlRnltvMjQ (4 lines)
01:36:20 <geekosaur> I'm not quite sure what you're asking for, I'm afraid
01:37:05 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: like, when you copy a window, it goes to a workspace, right?
01:37:19 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> you're not moving it from the original place, just making a copy
01:37:25 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> not so much "go to" as "will also be displayed on"
01:37:36 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "shift" is how you move a window
01:37:57 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> yes, but to keep it in more than one workspace, we can copy it, right?
01:38:33 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "windows (copy ws)" copies the focused window to another workspace
01:38:54 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "windows copyToAll" copies the focused window to all workspaces
01:39:04 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> ic
01:39:31 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> do you have any example of how to bind it to a key? for someone who doesnt know much haskell
01:39:40 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: that one is good
01:39:50 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> ("windows" applies a modification to the "StackSet", in this case adding a reference to the window to all workspaces' "Stack"s, and then applies it to the screen
01:39:58 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> * screen)
01:40:06 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: ah, clever implementation then
01:41:28 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> it will depend on how you define your keybindings: old-style, or "additionalKeysP" (emacs-style)
01:43:11 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: exactly, the emacs style
01:43:17 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> i use that one, i think it's cool
01:48:20 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> `additionalKeysP`
01:48:20 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/GLklYfKsUaCqjrGmCmUOQQUA (6 lines)
01:48:28 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> wait, I wasn't ready to send thsat
01:49:57 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> `additionalKeysP`
01:49:57 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/raLhNsTeUmIGeUAEnrMozbTg (6 lines)
01:50:18 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> um, I think my client failed to apply the edit
01:50:59 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> `additionalKeysP`
01:50:59 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/hZDGTIxSPfHLRvVyBDJcwGjL (8 lines)
01:51:46 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> `additionalKeysP`
01:51:46 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/ZwETLGqrbdTQUOCdDwwtUpkq (8 lines)
01:51:55 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> `additionalKeysP`
01:51:55 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/zWbezpnetYLKfGsfUMXGZIfa (8 lines)
01:52:30 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> this is with my workspace setup, which has some extra workspaces in it
01:53:34 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "W" is from "import qualified XMonad.StackSet as W" (place with the other imports)
01:53:43 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> `additionalKeysP`
01:53:43 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/syDrnGlPsPwQkBQJlXNWBDea (8 lines)
01:54:32 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> my workspaces: https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L63-L83
02:07:19 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: thank you!
02:07:30 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: thank you very much
02:29:53 × td_ quits (~td@i5387092C.versanet.de) (Ping timeout: 252 seconds)
02:31:28 td_ joins (~td@i53870910.versanet.de)
04:30:52 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection timed out)
04:34:22 × hightower2 quits (~hightower@213.186.15.36) (Ping timeout: 268 seconds)
04:38:36 ryck joins (~ryck@user/ryck)
05:00:21 × ryck quits (~ryck@user/ryck) (Remote host closed the connection)
06:35:29 × ft quits (~ft@p4fc2ab80.dip0.t-ipconnect.de) (Quit: leaving)
07:27:30 hightower2 joins (~hightower@213.186.15.36)
07:57:11 × hightower2 quits (~hightower@213.186.15.36) (Remote host closed the connection)
07:57:43 hightower2 joins (~hightower@213.186.15.36)
08:26:39 redgloboli joins (~redglobol@user/redgloboli)
08:29:21 ChubaDuba joins (~ChubaDuba@5.165.177.150)
08:30:55 × ChubaDuba quits (~ChubaDuba@5.165.177.150) (Client Quit)
08:33:30 ChubaDuba joins (~ChubaDuba@5.165.177.150)
08:43:03 × ChubaDuba quits (~ChubaDuba@5.165.177.150) (Quit: WeeChat 4.3.3)
09:12:18 cfricke joins (~cfricke@user/cfricke)
09:44:27 L29Ah joins (~L29Ah@wikipedia/L29Ah)
12:17:45 × catman quits (~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
12:19:23 catman joins (~catman@user/catman)
13:19:04 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: it throws an error saying that "workspacen" is out of scope
13:19:04 <haskellbridge> i tried to fix by writing "workpaces" instead (could be a typo ig) and it said that it's ambiguos reference
13:25:14 <Leary> 柱間: Check the last link he sent; `workspacen` should be a list of workspace names declared at the top level.
13:26:29 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> i fixed by declaring it
13:26:29 <haskellbridge> let workspacen = ["ws1", "ws2", "ws3", "ws4", "ws5", "ws6", "ws7", "ws8", "ws9", "ws10"]
13:27:14 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> https://kf8nh.com/_matrix/media/v3/download/hashi.sbs/jKHfsHcAqxHeuYTRmyQTHFWB/image.png
13:27:16 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> now im trying to fix this
13:28:52 <Leary> We'd need to see the context to help with that.
13:29:40 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> let workspacen = ["ws1", "ws2", "ws3", "ws4", "ws5", "ws6", "ws7", "ws8", "ws9", "ws10", "ws11", "ws12", "ws13", "ws14", "ws15", "ws16"]
13:29:43 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/XhHwPWXDUwIBdDBGnsdzAhuE (8 lines)
13:29:45 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> it's this code
13:38:40 <Leary> The backticks turn "additionalKeysP" into an infix operator, the first argument to which should be the XConfig record you pass to the xmonad function. E.g. main = do { let { workspacen = ... }; xmonad $ def{ ... } `additionalKeysP` ... }
13:42:44 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> im doing like this:
13:42:57 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> myConfig = def
13:42:57 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/fIxAbRSIfxUDOWgBhQNQcKBY (26 lines)
13:46:51 <Leary> The above still applies; you want: def{ ... } `additionalKeysP` ...
13:47:28 <Leary> Get the `let workspacen` line out of the way by putting it elsewhere.
14:22:51 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 260 seconds)
15:16:38 cfricke joins (~cfricke@user/cfricke)
15:34:40 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 246 seconds)
15:34:49 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> Leary: ic, so i must define it outside of the brackets
15:37:45 ft joins (~ft@p4fc2ab80.dip0.t-ipconnect.de)
15:40:07 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> solved
15:40:18 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> now the there's a syntax error in a small region of the code
15:40:24 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> `additionalKeysP`
15:40:25 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/mDhmBjQEtpbuSCRkxOxSPhsQ (9 lines)
15:40:45 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> xmonad.hs:112:7: error:
15:40:45 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/bPYcnqlIbPgZNUiDogLJIzeX (45 lines)
15:47:28 <Leary> You can't just chuck extra elements at the end of a list comprehension---they need to go in their own list literal, which can be appended with the infix operator ++. Unfortunately, it has a lower precedence than `additionalKeysP`, so you'll either need to bracket the concatenation or refer to it by name, e.g. "myKeys = [ ... | ... ] ++ [ ... ]" at the top level.
15:48:40 <Leary> I guess the other option is "def{ ... } `additionalKeysP` [ ... | ... ] `additionalKeysP` [ ... ]"; that should work too.
15:48:59 cfricke joins (~cfricke@user/cfricke)
16:05:41 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
16:44:49 × srk quits (~sorki@user/srk) (Ping timeout: 268 seconds)
16:45:34 srk joins (~sorki@user/srk)
16:56:54 × rieper quits (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
16:57:13 rieper joins (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933)
16:58:05 × rieper quits (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (Client Quit)
16:59:10 rieper joins (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933)
17:01:14 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> i'll give it a try
17:03:37 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> Leary: like this:
17:03:37 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/ehBwAcdUvIKaLESBBwXuYuNZ (23 lines)
17:04:42 <Leary> Backticks (`) around additionalKeysP, not quotes (").
17:09:38 <Leary> Also, does your copy/paste not preserve indentation, or is the code really laid out like that? Either way, please send something indented next time---it's very important for parsing Haskell correctly.
17:45:52 ultima12 joins (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8)
17:47:30 <ultima12> what the status on wayland and collecting money to bring a full time dev in? :)
19:03:19 × ultima12 quits (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8) (Ping timeout: 250 seconds)
19:14:06 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> Leary: oh, might be that
19:14:07 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/iIhpIcyjDSTARwgYSUhMNwPi (3 lines)
19:16:49 × incertia quits (~incertia@209.122.137.252) (Ping timeout: 268 seconds)
19:21:57 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> i cleaned up and now it looks better
19:21:57 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/FKhCobNLtvbFWMynuEWdBrni (9 lines)
19:31:12 <Leary> Everything on the right-hand side of an = should be indented further than the name on the left-hand side: https://paste.tomsmeding.com/YS9IF8o6
19:33:42 incertia joins (~incertia@209.122.137.252)
19:42:25 ash3en joins (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8)
19:42:25 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> Leary: thank you!
19:44:48 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> right below that code, i have this:
19:44:48 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/oUvyEYrxQTImQDCMNWEQnHiP (6 lines)
19:45:26 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> once again, i used Backticks (`) around additionalKeysP, and not quotes "
19:50:07 × ash3en quits (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8) (Ping timeout: 250 seconds)
19:52:27 <Leary> Well I'm seeing quotes. Does matrix replace backticks or something? You might need to put the error message in a paste bin too.
19:52:47 ash3en joins (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8)
20:06:35 × ash3en quits (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8) (Ping timeout: 250 seconds)
20:14:34 ash3en joins (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8)
20:35:10 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> Leary: yes, maybe matrix is replacing it, i'll post it on pastebin
20:35:50 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> https://paste.tomsmeding.com/SnrFSsOj
20:59:43 × ash3en quits (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8) (Remote host closed the connection)
21:14:53 ultima12 joins (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8)
21:28:20 × ultima12 quits (~ash3en@2a01:c22:8c1d:e900:34c:3f3:8550:afd8) (Remote host closed the connection)
21:54:55 ryck joins (~ryck@user/ryck)
22:11:35 × ryck quits (~ryck@user/ryck) (Remote host closed the connection)
22:14:49 <geekosaur> Leary: haskellbridge (heisenbridge) replaces backticks with double quotes
22:16:04 <geekosaur> @hashirama:hashi.sbs, `additionalKeysP` can't be used at the top level, it should be appended to your existing `additionalKeysP`
22:16:04 <lambdabot> Unknown command, try @list
22:16:49 <geekosaur> you're applying an operator to your xmonad config record, so it needs a config record
22:17:22 <geekosaur> you might do better going through the wikibook to learn how Haskell works at least partially
22:17:29 <geekosaur> @where wikibook
22:17:30 <lambdabot> http://en.wikibooks.org/wiki/Haskell
23:30:10 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: yes, i was reading a bit
23:31:19 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: i'll move that snippet of code to other place then, it seems that it cant be before the Config definition, right?
23:32:49 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> geekosaur: i was watching a video about PF, and it scared me a bit
23:32:49 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/yiukShyIwqxQtwsVvAaoLBXe (3 lines)
23:42:01 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> i also saw this:
23:42:01 <haskellbridge> "additionalKeysP can only be used as part of the configuration function, not as a standalone declaration."
23:42:04 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> now it makes sense
23:49:52 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> oh god, it was just the damn indentation problem!
23:49:52 <haskellbridge> lol....
23:55:58 <geekosaur> yeh, I had it indented for a reason (but the indentation matched my config and might be wrong for others)
23:56:45 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L140-L279

All times are in UTC on 2024-07-12.