2023/10/31

2023-10-31 00:01:20 +0000sometypeofuser(~user@92.40.184.196.threembb.co.uk) (Quit: Leaving)
2023-10-31 01:27:34 +0000hightower4(~hightower@203-128.dsl.iskon.hr)
2023-10-31 01:30:16 +0000hightower3(~hightower@141-136-161-29.dsl.iskon.hr) (Ping timeout: 258 seconds)
2023-10-31 02:16:19 +0000defjam(~defjam@2a02:c7e:2807:b900:ac13:d447:79b2:3f03) (Ping timeout: 245 seconds)
2023-10-31 02:28:45 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 02:33:05 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds)
2023-10-31 02:50:50 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 03:05:35 +0000td_(~td@i5387092F.versanet.de) (Ping timeout: 240 seconds)
2023-10-31 03:07:44 +0000td_(~td@i53870904.versanet.de)
2023-10-31 03:11:08 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds)
2023-10-31 03:39:54 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 06:37:39 +0000chomwitt(~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1)
2023-10-31 08:21:23 +0000tv(~tv@user/tv) (Ping timeout: 255 seconds)
2023-10-31 08:34:53 +0000tv(~tv@user/tv)
2023-10-31 09:26:31 +0000mc47(~mc47@xmonad/TheMC47)
2023-10-31 09:55:31 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds)
2023-10-31 10:08:35 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 10:11:10 +0000cfricke(~cfricke@user/cfricke)
2023-10-31 10:22:53 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds)
2023-10-31 10:30:18 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 11:52:15 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds)
2023-10-31 12:05:47 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 12:10:20 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds)
2023-10-31 12:14:53 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 13:12:26 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds)
2023-10-31 13:40:48 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 13:43:57 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.0.5)
2023-10-31 13:46:52 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds)
2023-10-31 13:58:20 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 14:04:28 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 252 seconds)
2023-10-31 14:17:00 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 14:24:05 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds)
2023-10-31 14:37:12 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 14:48:57 +0000vantablu3(~vantablu3@2a00:a200:0:802:900:27dd:3be3:de61)
2023-10-31 14:50:44 +0000vantablu3(~vantablu3@2a00:a200:0:802:900:27dd:3be3:de61) (Client Quit)
2023-10-31 14:55:08 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds)
2023-10-31 14:56:06 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 15:14:07 +0000hightower4(~hightower@203-128.dsl.iskon.hr) (Ping timeout: 264 seconds)
2023-10-31 16:08:24 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 245 seconds)
2023-10-31 16:16:11 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 16:18:19 +0000 <haskellbridge> <b​eastwick> Hi everyone, how does one extract a value out of an X object? I have a X (Maybe String) that I am trying to pass to a fromMaybe.
2023-10-31 16:28:36 +0000hightower2(~hightower@213.186.15.36)
2023-10-31 16:28:48 +0000 <geekosaur> you don't, generally
2023-10-31 16:28:55 +0000 <geekosaur> @where IOtut
2023-10-31 16:28:55 +0000 <lambdabot> https://www.vex.net/~trebla/haskell/IO.xhtml
2023-10-31 16:29:53 +0000 <geekosaur> if you're not already in X then you don't have access to xmonad's state and therefore can't get there
2023-10-31 16:38:46 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds)
2023-10-31 16:52:57 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 16:58:31 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds)
2023-10-31 16:58:58 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 17:04:14 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds)
2023-10-31 17:26:48 +0000srk(~sorki@user/srk) (Quit: ZNC 1.8.1 - https://znc.in)
2023-10-31 17:30:12 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 17:33:13 +0000srk(~sorki@user/srk)
2023-10-31 17:36:19 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds)
2023-10-31 17:47:42 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 17:52:09 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 245 seconds)
2023-10-31 18:04:25 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 19:06:41 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds)
2023-10-31 19:09:44 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)
2023-10-31 19:19:48 +0000 <haskellbridge> <b​eastwick> , ((mod4Mask .|. controlMask, xK_r), spawn (fromMaybe "" (inputPrompt def ""))) basically I want to start a program without seeing the terminal/console
2023-10-31 19:19:56 +0000 <haskellbridge> <b​eastwick> but I don't want to hard code the program
2023-10-31 19:20:04 +0000 <haskellbridge> <b​eastwick> also the program needs a parameter that changes
2023-10-31 19:20:27 +0000 <haskellbridge> <b​eastwick> inputPrompt :: XPConfig -> String -> X (Maybe String)
2023-10-31 19:20:37 +0000 <haskellbridge> <b​eastwick> how do you use something then that returns an X (Maybe String)
2023-10-31 19:20:49 +0000 <haskellbridge> <b​eastwick> would be a lot simpler if it just returned a Maybe String
2023-10-31 19:25:24 +0000 <geekosaur> you should build the string in X and pass it to spawn with >>=
2023-10-31 19:26:02 +0000 <geekosaur> and if it returns a Maybe String then it can't do I/O or use xmonad state
2023-10-31 19:28:19 +0000 <haskellbridge> <b​eastwick> sorry, is there some docs that can show how to do that?
2023-10-31 19:32:08 +0000 <geekosaur> you could start with the one I linked earlier. X is some stuff on top of IO; if you don't understand how IO works then you won't understand X
2023-10-31 19:32:13 +0000 <geekosaur> @where IOtut
2023-10-31 19:32:13 +0000 <lambdabot> https://www.vex.net/~trebla/haskell/IO.xhtml
2023-10-31 19:32:32 +0000 <haskellbridge> <b​eastwick> thanks
2023-10-31 20:30:13 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2023-10-31 22:41:01 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds)
2023-10-31 22:50:07 +0000chomwitt(~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1) (Ping timeout: 264 seconds)
2023-10-31 23:10:48 +0000defjam(~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6)