Logs: liberachat/#haskell
| 2025-09-09 17:37:41 | × | Googulator quits (~Googulato@2a01-036d-0106-217b-fd1e-c506-2528-080c.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-09-09 17:37:59 | → | Googulator joins (~Googulato@2a01-036d-0106-217b-fd1e-c506-2528-080c.pool6.digikabel.hu) |
| 2025-09-09 17:38:19 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 2025-09-09 17:39:17 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 2025-09-09 17:46:24 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 17:49:42 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 256 seconds) |
| 2025-09-09 17:51:05 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 250 seconds) |
| 2025-09-09 18:02:11 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 18:02:30 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) |
| 2025-09-09 18:07:16 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-09 18:08:06 | × | ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 256 seconds) |
| 2025-09-09 18:11:42 | → | slack1256 joins (~slack1256@2803:c600:5111:8964:570a:cacb:20ff:ba45) |
| 2025-09-09 18:15:39 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 18:19:50 | → | user0 joins (~user0@67.161.181.189) |
| 2025-09-09 18:20:18 | × | weary-traveler quits (~user@user/user363627) (Remote host closed the connection) |
| 2025-09-09 18:22:32 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-09 18:24:21 | × | divlamir quits (~divlamir@user/divlamir) (Read error: Connection reset by peer) |
| 2025-09-09 18:24:41 | → | divlamir joins (~divlamir@user/divlamir) |
| 2025-09-09 18:33:38 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 18:36:16 | × | tromp quits (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-09 18:38:26 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-09 18:41:27 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 2025-09-09 18:42:54 | → | ljdarj joins (~Thunderbi@user/ljdarj) |
| 2025-09-09 18:45:25 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 2025-09-09 18:46:04 | → | OftenFaded66 joins (~OftenFade@user/tisktisk) |
| 2025-09-09 18:49:25 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 18:51:43 | trickard_ | is now known as trickard |
| 2025-09-09 18:54:18 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-09 18:55:25 | × | Everything quits (~Everythin@5.248.97.251) (Quit: leaving) |
| 2025-09-09 18:56:10 | → | target_i joins (~target_i@user/target-i/x-6023099) |
| 2025-09-09 19:00:01 | × | caconym747 quits (~caconym@user/caconym) (Quit: bye) |
| 2025-09-09 19:00:41 | → | caconym747 joins (~caconym@user/caconym) |
| 2025-09-09 19:05:13 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 19:10:07 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds) |
| 2025-09-09 19:16:36 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 19:16:41 | → | sprotte24 joins (~sprotte24@p200300d16f360700bcb9dc3880c1c26e.dip0.t-ipconnect.de) |
| 2025-09-09 19:19:22 | → | OftenFaded28 joins (~OftenFade@user/tisktisk) |
| 2025-09-09 19:21:17 | × | OftenFaded66 quits (~OftenFade@user/tisktisk) (Ping timeout: 250 seconds) |
| 2025-09-09 19:21:39 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 250 seconds) |
| 2025-09-09 19:22:47 | × | sp1ff quits (~user@c-73-157-159-244.hsd1.wa.comcast.net) (Read error: Connection reset by peer) |
| 2025-09-09 19:26:04 | <slack1256> | Does anybody have any luck with +RTS -pj --RTS? It produces an empty file on my end. |
| 2025-09-09 19:27:14 | → | tromp joins (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) |
| 2025-09-09 19:28:54 | → | Reality2point0 joins (~Reality2p@2a02:3035:66f:546f:5e7f:a1b3:f81d:33a6) |
| 2025-09-09 19:29:56 | → | sp1ff joins (~user@c-73-157-159-244.hsd1.wa.comcast.net) |
| 2025-09-09 19:31:38 | × | jespada quits (~jespada@2800:a4:2242:f900:40dc:52e2:5b75:c25d) (Ping timeout: 260 seconds) |
| 2025-09-09 19:32:22 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 19:34:02 | → | jespada joins (~jespada@r179-25-156-56.dialup.adsl.anteldata.net.uy) |
| 2025-09-09 19:34:49 | → | Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) |
| 2025-09-09 19:34:51 | <kaol> | How do I use debug flags like -ddump-rule-rewrites with cabal? I added it to my ghc-options but I'm not sure it did anything at all when I built my project. |
| 2025-09-09 19:37:28 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
| 2025-09-09 19:38:02 | <geekosaur> | flags that don't affect generated objects won;t trigger rebuilds; your best bet in that case is to remove dist-newstyle |
| 2025-09-09 19:38:22 | → | peterbecich joins (~Thunderbi@syn-172-222-149-049.res.spectrum.com) |
| 2025-09-09 19:38:34 | <geekosaur> | also -ddump-to-file is IIRC enabled implicitly so the output will be under dist-newstyle |
| 2025-09-09 19:39:06 | <geekosaur> | (next to the object file, with suffix matching the dump option) |
| 2025-09-09 19:42:37 | <kaol> | I made a larger build and this time I saw output. I guess it works then. |
| 2025-09-09 19:48:11 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 19:48:54 | × | OftenFaded28 quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2025-09-09 19:49:32 | → | __monty__ joins (~toonn@user/toonn) |
| 2025-09-09 19:52:59 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds) |
| 2025-09-09 19:57:55 | × | tromp quits (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-09 19:58:00 | × | slack1256 quits (~slack1256@2803:c600:5111:8964:570a:cacb:20ff:ba45) (Remote host closed the connection) |
| 2025-09-09 19:58:44 | <kaol> | I'm not making much sense of this. JSaddle seems to indicate that JSString should be internally the same as Data.Text. It even uses coerce to transform them like that. But somewhere along the way it makes a faulty UTF-16 to UTF-8 conversion by just using the last byte. Which works if you are on ASCII but not for anything else. |
| 2025-09-09 20:00:51 | <EvanR> | JSString isn't conceptually the same as Text |
| 2025-09-09 20:01:18 | <EvanR> | Text used utf-16 internally at one point and now it's utf-8 I believe |
| 2025-09-09 20:01:35 | <EvanR> | either way the same way would have been for it to do a conversion |
| 2025-09-09 20:03:20 | × | Reality2point0 quits (~Reality2p@2a02:3035:66f:546f:5e7f:a1b3:f81d:33a6) (Quit: Client closed) |
| 2025-09-09 20:03:58 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 20:04:10 | <kaol> | Javascript uses UTF-16 for its Strings at least. It very much looks like to me that it's doing a conversion to UTF-8 by just truncating at some point but I haven't found where. |
| 2025-09-09 20:04:19 | → | Alleria joins (~Alleria@user/alleria) |
| 2025-09-09 20:04:58 | × | Googulator quits (~Googulato@2a01-036d-0106-217b-fd1e-c506-2528-080c.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-09-09 20:05:19 | → | Googulator joins (~Googulato@2a01-036d-0106-217b-fd1e-c506-2528-080c.pool6.digikabel.hu) |
| 2025-09-09 20:08:20 | → | tromp joins (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) |
| 2025-09-09 20:09:29 | × | segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 258 seconds) |
| 2025-09-09 20:09:41 | <geekosaur> | that sounds like a throwback to ancient ghc |
| 2025-09-09 20:10:47 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-09 20:17:37 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 20:22:25 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds) |
| 2025-09-09 20:23:07 | → | cherryra1 joins (~cherryram@user/cherryramatisdev) |
| 2025-09-09 20:24:05 | × | cherryramatisdev quits (~cherryram@user/cherryramatisdev) (Ping timeout: 245 seconds) |
| 2025-09-09 20:25:43 | <sshine> | I feel old when you say that |
| 2025-09-09 20:25:58 | × | peterbecich quits (~Thunderbi@syn-172-222-149-049.res.spectrum.com) (Ping timeout: 258 seconds) |
| 2025-09-09 20:25:58 | × | tremon quits (~tremon@83.80.159.219) (Quit: getting boxed in) |
| 2025-09-09 20:26:50 | × | tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: gljksn) |
| 2025-09-09 20:31:49 | <int-e> | kaol: What conversion? https://github.com/ghcjs/jsaddle/blob/master/jsaddle/src/Language/Javascript/JSaddle/Value.hs#L225-L232 (JSString is a newtype around Text) (another fun detail: if the .cabal file is to be believed, jsaddle can be compiled against both text-1.* and text-2.*. I wonder whether that makes a difference.) |
| 2025-09-09 20:32:33 | <int-e> | Anyway, no idea how this is supposed to work. |
| 2025-09-09 20:33:24 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 20:34:49 | × | ouilemur quits (~jgmerritt@user/ouilemur) (Quit: WeeChat 4.7.1) |
| 2025-09-09 20:35:39 | <int-e> | My comment is solely based on this import, apparently, taking a reference to a javascript value, and producing a Text value. Whatever conversion that might entail would have to have to be done by ghcjs, and I don't know any details about its FFI. |
| 2025-09-09 20:35:48 | <int-e> | or the wasm backend I suppose |
| 2025-09-09 20:38:43 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
| 2025-09-09 20:43:39 | <EvanR> | sounds like the intention was to have Text in that context be implemented as a javascript string |
| 2025-09-09 20:44:07 | <EvanR> | the question to have like 1 string type |
| 2025-09-09 20:44:16 | <EvanR> | quest* |
| 2025-09-09 20:46:38 | → | pavonia joins (~user@user/siracusa) |
| 2025-09-09 20:48:04 | × | davidlbowman quits (~dlb@user/davidlbowman) (Ping timeout: 260 seconds) |
| 2025-09-09 20:49:14 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-09 20:53:00 | × | cherryra1 quits (~cherryram@user/cherryramatisdev) (Quit: WeeChat 4.7.1) |
| 2025-09-09 20:53:15 | → | ljdarj1 joins (~Thunderbi@user/ljdarj) |
| 2025-09-09 20:54:20 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-09 20:55:25 | × | sindu quits (~sindu@176.75.108.200) (Quit: WeeChat 4.7.1) |
All times are in UTC.