Logs: liberachat/#haskell
| 2025-09-10 06:16:10 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds) |
| 2025-09-10 06:17:24 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-10 06:26:50 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Ping timeout: 244 seconds) |
| 2025-09-10 06:32:20 | → | fp joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 06:34:05 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Client Quit) |
| 2025-09-10 06:34:13 | → | fp1 joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 06:36:34 | fp1 | is now known as fp |
| 2025-09-10 06:52:15 | × | peterbecich quits (~Thunderbi@syn-172-222-149-049.res.spectrum.com) (Ping timeout: 256 seconds) |
| 2025-09-10 06:52:43 | → | tromp joins (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) |
| 2025-09-10 07:00:00 | × | caconym747 quits (~caconym@user/caconym) (Quit: bye) |
| 2025-09-10 07:00:40 | → | caconym747 joins (~caconym@user/caconym) |
| 2025-09-10 07:03:52 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Ping timeout: 248 seconds) |
| 2025-09-10 07:05:05 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2025-09-10 07:06:21 | → | img joins (~img@user/img) |
| 2025-09-10 07:06:41 | × | img quits (~img@user/img) (Remote host closed the connection) |
| 2025-09-10 07:07:49 | → | acidjnk joins (~acidjnk@p200300d6e7171978f1deda3d99afd1a1.dip0.t-ipconnect.de) |
| 2025-09-10 07:08:04 | → | img joins (~img@user/img) |
| 2025-09-10 07:09:37 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-09-10 07:10:37 | → | opqdonut joins (opqdonut@pseudo.fixme.fi) |
| 2025-09-10 07:19:15 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 250 seconds) |
| 2025-09-10 07:24:09 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-10 07:26:45 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) |
| 2025-09-10 07:35:26 | → | fp joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 07:42:07 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine) |
| 2025-09-10 07:46:52 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Ping timeout: 260 seconds) |
| 2025-09-10 07:48:20 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 2025-09-10 07:50:44 | → | fp joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 07:52:34 | × | ft quits (~ft@p4fc2a25a.dip0.t-ipconnect.de) (Quit: leaving) |
| 2025-09-10 07:53:06 | → | humasect joins (~humasect@dyn-192-249-132-90.nexicom.net) |
| 2025-09-10 08:04:05 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Quit: fp) |
| 2025-09-10 08:04:18 | → | fp joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 08:12:29 | × | tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz) |
| 2025-09-10 08:13:30 | → | ljdarj joins (~Thunderbi@user/ljdarj) |
| 2025-09-10 08:21:23 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Ping timeout: 265 seconds) |
| 2025-09-10 08:24:29 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 2025-09-10 08:25:21 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 248 seconds) |
| 2025-09-10 08:26:05 | → | Square3 joins (~Square4@user/square) |
| 2025-09-10 08:31:36 | → | haritz joins (~hrtz@2a01:4b00:bc2e:7000:d5af:a266:ca31:5ef8) |
| 2025-09-10 08:31:37 | × | haritz quits (~hrtz@2a01:4b00:bc2e:7000:d5af:a266:ca31:5ef8) (Changing host) |
| 2025-09-10 08:31:37 | → | haritz joins (~hrtz@user/haritz) |
| 2025-09-10 08:40:39 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-10 08:59:05 | → | __monty__ joins (~toonn@user/toonn) |
| 2025-09-10 09:00:45 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.5.2) |
| 2025-09-10 09:02:14 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 2025-09-10 09:03:00 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 2025-09-10 09:03:37 | <kqr> | If anyone still is curious about the problem I had with cabal build --enable-profiling complaining about parallel not being installed with profiling: seems like that library was installed as a system package. On Fedora i could `dnf install ghc-parallel-prof` to solve the problem. Fortunately that was the only library with this problem! |
| 2025-09-10 09:06:30 | → | gmg joins (~user@user/gehmehgeh) |
| 2025-09-10 09:06:35 | × | itaipu quits (~itaipu@168.121.97.28) (Ping timeout: 248 seconds) |
| 2025-09-10 09:07:03 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 2025-09-10 09:13:39 | × | trickard quits (~trickard@cpe-54-98-47-163.wireline.com.au) (Ping timeout: 250 seconds) |
| 2025-09-10 09:14:02 | → | trickard_ joins (~trickard@cpe-54-98-47-163.wireline.com.au) |
| 2025-09-10 09:16:01 | → | fp joins (~Thunderbi@2001:708:150:10::72df) |
| 2025-09-10 09:16:58 | × | AlexZenon quits (~alzenon@178.34.162.29) (Ping timeout: 265 seconds) |
| 2025-09-10 09:18:27 | → | Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) |
| 2025-09-10 09:19:22 | × | humasect quits (~humasect@dyn-192-249-132-90.nexicom.net) (Quit: Leaving...) |
| 2025-09-10 09:21:03 | <Leary> | kqr: I suspect you really want `package-dbs: clear` in `cabal.project.local` instead, so that unrelated global installs don't interfere with your build in the first place. |
| 2025-09-10 09:24:59 | → | AlexZenon joins (~alzenon@178.34.162.29) |
| 2025-09-10 09:32:59 | → | emmanuelux joins (~emmanuelu@user/emmanuelux) |
| 2025-09-10 09:42:09 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 260 seconds) |
| 2025-09-10 09:49:32 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine) |
| 2025-09-10 09:50:02 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 2025-09-10 09:56:10 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-10 09:59:48 | <kqr> | That sounds much better, yes. |
| 2025-09-10 10:18:13 | × | xff0x quits (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 250 seconds) |
| 2025-09-10 10:20:11 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 248 seconds) |
| 2025-09-10 10:21:09 | → | mari-estel joins (~mari-este@user/mari-estel) |
| 2025-09-10 10:33:35 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-09-10 10:37:15 | <dminuoso> | kaol: Can you make a fully self contained minimal example program that I can just `cabal run`? |
| 2025-09-10 10:37:54 | <dminuoso> | I'm fully convinced that any latin 1 decoding cannot happen on JSON with servant-client alone. |
| 2025-09-10 10:38:06 | <dminuoso> | Maybe its your FromJSON instance that is borked? |
| 2025-09-10 10:39:30 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 256 seconds) |
| 2025-09-10 10:44:39 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) |
| 2025-09-10 10:50:00 | × | inline quits (~inline@ip-005-146-196-246.um05.pools.vodafone-ip.de) (Ping timeout: 258 seconds) |
| 2025-09-10 10:51:25 | → | Axma39609 joins (~Axman6@user/axman6) |
| 2025-09-10 10:52:56 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-09-10 10:53:21 | × | Axman6 quits (~Axman6@user/axman6) (Ping timeout: 250 seconds) |
| 2025-09-10 10:54:21 | × | fp quits (~Thunderbi@2001:708:150:10::72df) (Ping timeout: 252 seconds) |
| 2025-09-10 10:55:49 | → | fp joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 10:58:31 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 250 seconds) |
| 2025-09-10 11:00:27 | × | fp quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Ping timeout: 256 seconds) |
| 2025-09-10 11:01:03 | → | sttau joins (~sttau@user/sttau) |
| 2025-09-10 11:02:51 | → | fp joins (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) |
| 2025-09-10 11:04:52 | <kqr> | I must be missing something dumb here. Why does the MonadRandom typeclass not have a function `liftRandom :: g -> (a, g)`? Seems like something that'd be supported by anything that can do the other things MonadRandom does. |
| 2025-09-10 11:05:23 | <kqr> | (I know the RandT transformer has that function, but I'd like the implementor to choose whether to draw random numbers from RandT or IO.) |
| 2025-09-10 11:06:34 | <kqr> | Uh, that would be `liftRandom :: (g -> (a, g)) -> MonadRandom a` or something, I suppose. Maybe that's the problem – we don't know what g is. But then why does not MonadSplit have that function? |
| 2025-09-10 11:08:26 | <kqr> | Backing up a little, I want to use List.Shuffle.shuffle because it looks well written, but I don't want to tie it to RandT or the like. |
| 2025-09-10 11:08:53 | <dminuoso> | kqr: Hold on, liftRandT is a thing. |
| 2025-09-10 11:09:03 | <kaol> | dminuoso: Unlikely, I don't think I can do it without running it on a browser. |
| 2025-09-10 11:09:45 | <kqr> | dminuoso, Yeah, but it lifts it into a RandT specifically, and I would like the option to use it in an IO context also. |
| 2025-09-10 11:11:33 | <dminuoso> | kqr: A `MonadRandom IO` instance exists, what do you nneed? |
| 2025-09-10 11:12:03 | <kaol> | Though I think the AJAX call can be dropped if I take the offending JSString just by grabbing it from the DOM tree or something like that. |
| 2025-09-10 11:12:09 | <dminuoso> | Hold on Im confusing things |
| 2025-09-10 11:12:52 | <dminuoso> | kqr: Lets untwine this: You can use `runRand` in IO just fine |
| 2025-09-10 11:13:16 | <dminuoso> | Similarly, `instance MonadRandom IO` is also a thing |
| 2025-09-10 11:13:27 | × | mari-estel quits (~mari-este@user/mari-estel) (Remote host closed the connection) |
| 2025-09-10 11:14:13 | <dminuoso> | kqr: `Rand` is basically a pure monad for you to get random effects with. RandT exists so you can layer it into other monads if you like. |
| 2025-09-10 11:14:27 | <dminuoso> | But for convenience you can also just use IO directly. |
| 2025-09-10 11:14:38 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-10 11:15:42 | <dminuoso> | And for convenience in arbitrary transformer stacks you can use `randomIO :: (Random a, MonadIO m) => m a` |
| 2025-09-10 11:15:58 | <dminuoso> | What are you missing exactly? |
All times are in UTC.