Logs: liberachat/#haskell
| 2025-09-09 15:05:11 | <EvanR> | it's truncating each code unit |
| 2025-09-09 15:05:21 | <EvanR> | will screw things up way before the astral plane |
| 2025-09-09 15:05:48 | <kaol> | These are the moments when I regret my career choices. |
| 2025-09-09 15:06:03 | → | mari-estel joins (~mari-este@user/mari-estel) |
| 2025-09-09 15:06:16 | <EvanR> | it simply needs to do a utf-16 decode which is available in many haskell libraries |
| 2025-09-09 15:07:25 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 258 seconds) |
| 2025-09-09 15:08:40 | <EvanR> | like Data.Text.Encoding |
| 2025-09-09 15:12:33 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine) |
| 2025-09-09 15:13:19 | <kaol> | It apparently goes through something like JSSstring and I don't think it ever hits a ByteString representation at all. And there's a coerce. I don't know if getting a ByteString to give to a regular Haskell side decoding function is an option. |
| 2025-09-09 15:13:47 | <kaol> | Browsers be like. |
| 2025-09-09 15:14:47 | <EvanR> | there's unpack :: JSString -> String |
| 2025-09-09 15:15:59 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 2025-09-09 15:16:00 | <EvanR> | which effectively decodes it, but going through String = [Char] might cost |
| 2025-09-09 15:16:32 | × | ttybitnik quits (~ttybitnik@user/wolper) (Quit: Fading out...) |
| 2025-09-09 15:16:43 | <EvanR> | I don't know what you're actually trying to do so nvm |
| 2025-09-09 15:17:20 | <kaol> | Decode JSON in WASM in browsers, with non-ASCII content. |
| 2025-09-09 15:17:45 | <kaol> | And use servant-client to get it. |
| 2025-09-09 15:17:54 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 260 seconds) |
| 2025-09-09 15:18:14 | <kaol> | And preferrably not be stuck with a fork of some lower level library in pepretuity. |
| 2025-09-09 15:19:13 | <EvanR> | if it gives you a JSString, is that not enough |
| 2025-09-09 15:19:41 | <kaol> | That's hidden below so many layers that it's not even funny if I want to just use servant-client. |
| 2025-09-09 15:20:00 | <EvanR> | :( |
| 2025-09-09 15:24:11 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.5.2) |
| 2025-09-09 15:25:03 | × | fp1 quits (~Thunderbi@wireless-86-50-141-202.open.aalto.fi) (Ping timeout: 258 seconds) |
| 2025-09-09 15:29:59 | <kaol> | It may be this thing: https://github.com/ghcjs/jsaddle/issues/144 Open for over a year with no fix. |
| 2025-09-09 15:30:47 | <mari-estel> | huh is ghcjs still a thing? |
| 2025-09-09 15:31:40 | <kaol> | Yes, though I'm using ghc wasm myself. |
| 2025-09-09 15:32:12 | × | ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 252 seconds) |
| 2025-09-09 15:32:19 | <EvanR> | WebSockets.hs lines 103 |
| 2025-09-09 15:32:20 | <kaol> | Or rather, I think it's merged in GHC project already but it needs to be compiled separately. No support for alternate backends like that in the same binary. |
| 2025-09-09 15:33:13 | → | inline joins (~inline@ip-005-146-196-246.um05.pools.vodafone-ip.de) |
| 2025-09-09 15:33:31 | <EvanR> | a file that doesn't seem to be there |
| 2025-09-09 15:37:03 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine) |
| 2025-09-09 15:39:55 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Ping timeout: 265 seconds) |
| 2025-09-09 15:40:19 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-09 15:40:51 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-09-09 15:46:48 | × | Square2 quits (~Square@user/square) (Ping timeout: 260 seconds) |
| 2025-09-09 15:46:54 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 258 seconds) |
| 2025-09-09 15:50:59 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-09 15:55:29 | → | tromp joins (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) |
| 2025-09-09 15:55:31 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 2025-09-09 15:56:51 | × | trickard_ quits (~trickard@cpe-53-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
| 2025-09-09 15:56:59 | → | weary-traveler joins (~user@user/user363627) |
| 2025-09-09 15:57:05 | → | trickard_ joins (~trickard@cpe-53-98-47-163.wireline.com.au) |
| 2025-09-09 15:57:50 | × | sindu quits (~sindu@176.75.108.200) (Ping timeout: 245 seconds) |
| 2025-09-09 15:58:39 | → | ft joins (~ft@p4fc2a25a.dip0.t-ipconnect.de) |
| 2025-09-09 15:59:35 | × | weary-traveler quits (~user@user/user363627) (Client Quit) |
| 2025-09-09 15:59:53 | → | weary-traveler joins (~user@user/user363627) |
| 2025-09-09 16:01:40 | × | trickard_ quits (~trickard@cpe-53-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
| 2025-09-09 16:06:12 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Read error: Connection reset by peer) |
| 2025-09-09 16:06:33 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-09-09 16:07:44 | → | trickard_ joins (~trickard@cpe-53-98-47-163.wireline.com.au) |
| 2025-09-09 16:08:20 | × | arandombit quits (~arandombi@user/arandombit) (Remote host closed the connection) |
| 2025-09-09 16:10:46 | × | vpan quits (~vpan@212.117.1.172) (Quit: Leaving.) |
| 2025-09-09 16:13:39 | → | sindu joins (~sindu@176.75.108.200) |
| 2025-09-09 16:14:24 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 2025-09-09 16:14:43 | → | mari36827 joins (~mari-este@user/mari-estel) |
| 2025-09-09 16:16:23 | × | mari-estel quits (~mari-este@user/mari-estel) (Read error: Connection reset by peer) |
| 2025-09-09 16:20:40 | × | hakutaku quits (~textual@chen.yukari.eu.org) (Remote host closed the connection) |
| 2025-09-09 16:21:07 | → | hakutaku joins (~textual@chen.yukari.eu.org) |
| 2025-09-09 16:25:02 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 16:29:50 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2025-09-09 16:33:29 | × | tromp quits (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-09 16:38:43 | trickard_ | is now known as trickard |
| 2025-09-09 16:40:55 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 16:42:08 | × | trickard quits (~trickard@cpe-53-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
| 2025-09-09 16:42:21 | → | trickard_ joins (~trickard@cpe-53-98-47-163.wireline.com.au) |
| 2025-09-09 16:43:05 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 2025-09-09 16:46:03 | × | mari36827 quits (~mari-este@user/mari-estel) (Remote host closed the connection) |
| 2025-09-09 16:46:31 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 250 seconds) |
| 2025-09-09 16:47:51 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-09 16:50:09 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-09 16:54:20 | → | tromp joins (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) |
| 2025-09-09 16:56:50 | → | peterbecich joins (~Thunderbi@syn-172-222-149-049.res.spectrum.com) |
| 2025-09-09 16:57:43 | → | ljdarj joins (~Thunderbi@user/ljdarj) |
| 2025-09-09 16:57:44 | × | kaotica quits (~user@user/d4q) (Ping timeout: 265 seconds) |
| 2025-09-09 16:58:24 | → | kaotica joins (~user@user/d4q) |
| 2025-09-09 16:59:09 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 16:59:44 | × | kaotica quits (~user@user/d4q) (Max SendQ exceeded) |
| 2025-09-09 17:00:24 | → | kaotica joins (~user@user/d4q) |
| 2025-09-09 17:03:04 | → | cherryramatisdev joins (~cherryram@user/cherryramatisdev) |
| 2025-09-09 17:03:57 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-09 17:08:09 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 260 seconds) |
| 2025-09-09 17:08:16 | <haskellbridge> | <sm> kaol: that's not far off by the sound of things |
| 2025-09-09 17:09:28 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-09 17:14:34 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 17:19:40 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-09 17:19:55 | × | peterbecich quits (~Thunderbi@syn-172-222-149-049.res.spectrum.com) (Ping timeout: 245 seconds) |
| 2025-09-09 17:20:08 | → | tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net) |
| 2025-09-09 17:22:21 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 258 seconds) |
| 2025-09-09 17:26:28 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-09 17:28:45 | × | tromp quits (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-09 17:30:38 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 17:31:25 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
| 2025-09-09 17:32:01 | × | ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 250 seconds) |
| 2025-09-09 17:32:23 | → | sayola joins (~sayola@ipservice-092-208-226-093.092.208.pools.vodafone-ip.de) |
| 2025-09-09 17:33:00 | → | ljdarj joins (~Thunderbi@user/ljdarj) |
| 2025-09-09 17:33:15 | → | tromp joins (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) |
| 2025-09-09 17:33:33 | × | user0 quits (~user0@user/plague) (Ping timeout: 256 seconds) |
| 2025-09-09 17:35:46 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
All times are in UTC.