2024/05/13

Newest at the top

2024-05-13 23:27:50 +0200 <monochrom> Probably two persons picked two different arbitrary choices of "pattern match first" vs "output delimiter first".
2024-05-13 23:23:47 +0200 <mauke> showList__ is strict in its second arg
2024-05-13 23:23:09 +0200 <mauke> https://hackage.haskell.org/package/base-4.19.1.0/docs/src/GHC.Show.html#showList
2024-05-13 23:20:10 +0200todi(~todi@p57803331.dip0.t-ipconnect.de) (Remote host closed the connection)
2024-05-13 23:20:02 +0200Ryan53(~Ryan@2601:602:8b00:b0f0:598b:fb7d:e718:eb36) (Client Quit)
2024-05-13 23:19:41 +0200 <ncf> i wonder why the latter doesn't print the first [
2024-05-13 23:19:32 +0200 <lambdabot> *Exception: Prelude.undefined
2024-05-13 23:19:31 +0200 <ncf> > undefined :: [Int]
2024-05-13 23:19:27 +0200 <lambdabot> "*Exception: Prelude.undefined
2024-05-13 23:19:25 +0200 <ncf> > undefined :: String
2024-05-13 23:19:22 +0200Ryan53(~Ryan@2601:602:8b00:b0f0:598b:fb7d:e718:eb36)
2024-05-13 23:18:38 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
2024-05-13 23:07:13 +0200sawilagar(~sawilagar@user/sawilagar) (Ping timeout: 256 seconds)
2024-05-13 23:05:40 +0200hiredman(~hiredman@frontier1.downey.family)
2024-05-13 22:43:03 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net)
2024-05-13 22:40:35 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds)
2024-05-13 22:31:31 +0200pavonia(~user@user/siracusa)
2024-05-13 22:30:00 +0200todi(~todi@p57803331.dip0.t-ipconnect.de)
2024-05-13 22:29:46 +0200 <Ryan54> This doesn't seem to work unfortunately. Does conduit not allow you to produce a stream of streams during the pipeline and concatenate them together? I couldn't tell if ConduitT had a MonoFoldable instance.
2024-05-13 22:29:46 +0200 <Ryan54> .| mapM_C (liftIO . print)
2024-05-13 22:29:45 +0200 <Ryan54> .| concatC
2024-05-13 22:29:45 +0200 <Ryan54> .| concatMapMC (waitForQuery env)
2024-05-13 22:29:44 +0200 <Ryan54> .| mapMC (startQuery env query)
2024-05-13 22:29:44 +0200 <Ryan54> I have a conduit that's calling that based on an input stream: someTextSource
2024-05-13 22:29:43 +0200 <Ryan54> -- given an environment and uuid, return a stream of results" (MonadResource m) => Env -> UUID -> ConduitT () [[Maybe Text]] m ()
2024-05-13 22:29:43 +0200 <Ryan54> Hey all, looking for some help handling a nested Conduit and wondering if I'm going about it wrong. I have a function someFunc that calls paginate on an aws resource, so the signature is
2024-05-13 22:26:33 +0200sawilagar(~sawilagar@user/sawilagar)
2024-05-13 22:24:50 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-13 22:24:46 +0200Ryan54(~Ryan@2601:602:8b00:b0f0:598b:fb7d:e718:eb36)
2024-05-13 22:14:16 +0200euphores(~SASL_euph@user/euphores)
2024-05-13 22:12:33 +0200todi(~todi@p57803331.dip0.t-ipconnect.de) (Remote host closed the connection)
2024-05-13 21:59:23 +0200philopsos(~caecilius@user/philopsos)
2024-05-13 21:56:52 +0200philopsos1(~caecilius@user/philopsos) (Ping timeout: 246 seconds)
2024-05-13 21:54:25 +0200robosexual(~spaceoyst@5.167.241.127) (Quit: Konversation terminated!)
2024-05-13 21:50:21 +0200yin(~yin@user/zero) (Quit: leaving)
2024-05-13 21:50:11 +0200 <mauke> monochrom: in my version of the puzzle, it is very possible that neither box contains the key since all the information you have about the situation came from me
2024-05-13 21:49:56 +0200 <monochrom> It's why my really pragmatic choices are starving to death or blowing to death.
2024-05-13 21:49:26 +0200 <mauke> hah. "None of the doors actually lead out."
2024-05-13 21:49:17 +0200 <monochrom> Yeah I was ready to believe that the lunatic has one more locked room outside my current locked room.
2024-05-13 21:48:29 +0200 <int-e> Oh and I also love this take on this general type of puzzle: https://xkcd.com/246/
2024-05-13 21:48:07 +0200 <monochrom> Then you need to appeal to Penrose and hope that your brain has a Geiger counter built-in.
2024-05-13 21:47:52 +0200 <dolio> If that's the analogy, then aren't you the one assuming that the program does have undefined behavior even though it doesn't?
2024-05-13 21:47:38 +0200 <monochrom> The lunatic didn't give you a Geiger counter, so you probably can't. :)
2024-05-13 21:47:33 +0200 <EvanR> like quantum suicide
2024-05-13 21:47:04 +0200 <EvanR> i didn't follow the entire discussion but can I fork two processes each opens one of the boxes
2024-05-13 21:46:44 +0200 <mauke> similarly, the compiler doesn't worry about it because it is then the programmer's fault
2024-05-13 21:46:28 +0200 <int-e> (and many others)
2024-05-13 21:46:27 +0200 <mauke> <monochrom> But I don't worry about it because it is then the question's fault.
2024-05-13 21:46:24 +0200 <int-e> cf. Gödel
2024-05-13 21:46:14 +0200 <int-e> Eh I wouldn't call it blind trust.