Home liberachat/#haskell: Logs Calendar

Logs on 2022-08-22 (liberachat/#haskell)

00:01:07 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
00:04:51 × ph88 quits (~ph88@2a02:8109:9e00:71d0:cb56:c0f1:be02:e9c5) (Quit: Leaving)
00:07:32 matthewmosior joins (~matthewmo@173.170.253.91)
00:07:33 × gentauro quits (~gentauro@user/gentauro) (Read error: Connection reset by peer)
00:07:50 gentauro joins (~gentauro@user/gentauro)
00:08:20 × Successus quits (~Successus@user/Successus) ()
00:12:03 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
00:17:05 × NewbiePlumber quits (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) (Quit: Client closed)
00:20:35 <energizer> is there a conventional name for the function (\x->True) ?
00:23:48 <monochrom> const True
00:25:13 <energizer> ok
00:25:50 justsomeguy joins (~justsomeg@user/justsomeguy)
00:28:35 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
00:30:49 <qrpnxz> lol
00:30:56 × raym quits (~raym@user/raym) (Remote host closed the connection)
00:36:08 fryguybob joins (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com)
00:39:33 raym joins (~raym@user/raym)
00:42:02 × chomwitt quits (~chomwitt@2a02:587:dc09:3900:f527:3ca7:b122:fd0c) (Ping timeout: 244 seconds)
00:43:51 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 252 seconds)
00:46:47 × wolfshappen quits (~waff@irc.furworks.de) (Ping timeout: 252 seconds)
00:49:09 wolfshappen joins (~waff@irc.furworks.de)
00:50:33 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
01:03:26 matthewmosior joins (~matthewmo@173.170.253.91)
01:05:07 × xff0x quits (~xff0x@ap007189.d.east.v6connect.net) (Ping timeout: 248 seconds)
01:07:16 × kannon quits (~NK@74-95-14-193-SFBA.hfc.comcastbusiness.net) (Ping timeout: 256 seconds)
01:07:47 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 248 seconds)
01:09:11 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
01:09:53 zxx7529 joins (~Thunderbi@user/zxx7529)
01:10:32 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:10:59 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 248 seconds)
01:14:43 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
01:16:40 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:19:27 nilradical joins (~nilradica@user/naso)
01:21:37 eron joins (~eron@2804:431:c7c3:1831:d991:50a8:ea4c:ffea)
01:21:38 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
01:22:01 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
01:31:15 × beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Read error: Connection reset by peer)
01:31:32 beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt)
01:31:39 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 256 seconds)
01:33:36 nate4 joins (~nate@98.45.169.16)
01:34:23 × stefan-_ quits (~cri@42dots.de) (Ping timeout: 268 seconds)
01:35:40 × eron quits (~eron@2804:431:c7c3:1831:d991:50a8:ea4c:ffea) (Quit: Client closed)
01:35:41 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:38:54 stefan-_ joins (~cri@42dots.de)
01:39:01 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
01:43:16 <pareto-optimal-d> <NewbiePlumber> "I'm on an aarch64 machine, but..." <- I saw a comment about stack going by libtinfo and getting the wrong ABI, maybe thats it.
01:44:32 xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
01:44:48 notzmv joins (~zmv@user/notzmv)
01:47:54 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
01:50:59 matthewmosior joins (~matthewmo@173.170.253.91)
01:53:28 justsomeguy joins (~justsomeg@user/justsomeguy)
01:55:23 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
01:59:31 × vysn quits (~vysn@user/vysn) (Ping timeout: 248 seconds)
02:02:54 × lemonsnicks quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Quit: ZNC 1.8.2 - https://znc.in)
02:03:43 nate4 joins (~nate@98.45.169.16)
02:05:25 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:05:25 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:05:25 finn_elija is now known as FinnElija
02:06:50 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
02:08:29 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
02:09:08 matthewmosior joins (~matthewmo@173.170.253.91)
02:09:40 zaquest joins (~notzaques@5.130.79.72)
02:12:26 × beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Ping timeout: 256 seconds)
02:19:40 lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
02:19:48 × td_ quits (~td@muedsl-82-207-238-189.citykom.de) (Ping timeout: 256 seconds)
02:21:34 td_ joins (~td@muedsl-82-207-238-019.citykom.de)
02:22:36 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
02:22:42 matthewmosior joins (~matthewmo@173.170.253.91)
02:33:35 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
02:34:43 × cheater quits (~Username@user/cheater) (Ping timeout: 248 seconds)
02:35:08 cheater joins (~Username@user/cheater)
02:37:08 × zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection)
02:37:21 zxx7529 joins (~Thunderbi@user/zxx7529)
02:39:31 × vglfr quits (~vglfr@145.224.94.199) (Ping timeout: 248 seconds)
02:39:50 vglfr joins (~vglfr@145.224.94.199)
02:40:05 jargon joins (~jargon@174-22-194-180.phnx.qwest.net)
02:41:01 × gff quits (~gff@user/gff) (Ping timeout: 268 seconds)
02:41:41 nate4 joins (~nate@98.45.169.16)
02:42:36 matthewmosior joins (~matthewmo@173.170.253.91)
02:42:41 gff joins (~gff@user/gff)
02:45:44 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.5)
02:45:56 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
02:46:48 k2k2 joins (~k2@rrcs-24-73-55-34.se.biz.rr.com)
02:47:00 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
02:47:09 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds)
02:47:29 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
02:47:46 chexum joins (~quassel@gateway/tor-sasl/chexum)
02:48:37 × k2k2 quits (~k2@rrcs-24-73-55-34.se.biz.rr.com) (Client Quit)
02:50:04 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
02:50:24 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
02:50:34 chexum joins (~quassel@gateway/tor-sasl/chexum)
02:51:42 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
02:52:23 matthewmosior joins (~matthewmo@173.170.253.91)
02:54:02 × jero98772 quits (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) (Remote host closed the connection)
02:55:42 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
02:55:47 × cyphase quits (~cyphase@user/cyphase) (Ping timeout: 268 seconds)
02:56:52 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
03:02:08 cyphase joins (~cyphase@user/cyphase)
03:03:55 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 252 seconds)
03:04:55 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
03:07:06 matthewmosior joins (~matthewmo@173.170.253.91)
03:10:13 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
03:10:31 chexum joins (~quassel@gateway/tor-sasl/chexum)
03:11:01 nate4 joins (~nate@98.45.169.16)
03:19:19 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 252 seconds)
03:19:27 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
03:20:16 nilradical joins (~nilradica@user/naso)
03:21:20 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
03:23:28 × finsternis quits (~X@23.226.237.192) (Read error: Connection reset by peer)
03:25:41 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
03:26:56 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
03:27:18 × ft quits (~ft@shell.chaostreff-dortmund.de) (Ping timeout: 240 seconds)
03:28:31 matthewmosior joins (~matthewmo@173.170.253.91)
03:28:33 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
03:30:43 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
03:30:44 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
03:31:14 stiell joins (~stiell@gateway/tor-sasl/stiell)
03:31:22 ChaiTRex joins (~ChaiTRex@user/chaitrex)
03:33:02 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
03:37:27 × Vajb quits (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) (Read error: Connection reset by peer)
03:37:56 Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
03:42:27 × benin0 quits (~benin@183.82.205.66) (Ping timeout: 248 seconds)
03:50:53 matthewmosior joins (~matthewmo@173.170.253.91)
03:54:43 × zaquest quits (~notzaques@5.130.79.72) (Ping timeout: 248 seconds)
03:55:34 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
04:07:55 nate4 joins (~nate@98.45.169.16)
04:07:55 × Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
04:08:44 Vajb joins (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8)
04:09:06 matthewmosior joins (~matthewmo@173.170.253.91)
04:12:20 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds)
04:14:19 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 252 seconds)
04:16:33 × luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 256 seconds)
04:16:33 × nilradical quits (~nilradica@user/naso) ()
04:17:15 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
04:20:54 stiell joins (~stiell@gateway/tor-sasl/stiell)
04:21:55 × dsrt^ quits (~dsrt@96.70.11.181) (Ping timeout: 248 seconds)
04:21:56 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
04:22:33 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
04:22:45 × zxx7529 quits (~Thunderbi@user/zxx7529) (Ping timeout: 252 seconds)
04:23:14 dsrt^ joins (~dsrt@96.70.11.181)
04:23:26 × cyphase quits (~cyphase@user/cyphase) (Ping timeout: 255 seconds)
04:26:15 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
04:29:01 cyphase joins (~cyphase@user/cyphase)
04:30:38 × catern quits (~sbaugh@2604:2000:8fc0:b:a9c7:866a:bf36:3407) (Ping timeout: 255 seconds)
04:32:52 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
04:33:23 stiell joins (~stiell@gateway/tor-sasl/stiell)
04:34:04 nate4 joins (~nate@98.45.169.16)
04:38:31 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 252 seconds)
04:39:40 × dsrt^ quits (~dsrt@96.70.11.181) (Remote host closed the connection)
04:40:01 dsrt^ joins (~dsrt@96.70.11.181)
04:45:11 <Clinton[m]> In GHC 9.2, if I have a module that exports `T(..)`, lets say I have field `blah`, how can I import `blah` so I can use `x :: T ... x.blah` in an importing module?
04:47:39 zxx7529 joins (~Thunderbi@user/zxx7529)
04:50:23 jonathanx_ joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
04:56:21 matthewmosior joins (~matthewmo@173.170.253.91)
05:06:31 × ddellacosta quits (~ddellacos@143.244.47.100) (Ping timeout: 268 seconds)
05:08:09 ddellacosta joins (~ddellacos@89.45.224.229)
05:12:12 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
05:12:41 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
05:14:35 × dsrt^ quits (~dsrt@96.70.11.181) (Read error: Connection reset by peer)
05:14:44 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
05:14:48 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
05:15:26 dsrt^ joins (~dsrt@96.70.11.181)
05:16:59 × jinsun quits (~jinsun@user/jinsun) (Ping timeout: 255 seconds)
05:25:58 × gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (Ping timeout: 240 seconds)
05:25:59 xff0x_ joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
05:27:45 gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk)
05:27:56 × xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 256 seconds)
05:30:24 sibnull[m] joins (~sibnullma@2001:470:69fc:105::1:1291)
05:38:27 <pavonia> Clinton[m]: import Foo (T(blah))
05:38:28 matthewmosior joins (~matthewmo@173.170.253.91)
05:43:14 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
05:47:56 coot joins (~coot@213.134.176.158)
05:53:02 coot_ joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba)
05:53:02 × coot quits (~coot@213.134.176.158) (Read error: Connection reset by peer)
05:54:59 nilradical joins (~nilradica@user/naso)
05:55:34 f-a parts (f2a@f2a.jujube.ircnow.org) ()
05:55:46 matthewmosior joins (~matthewmo@173.170.253.91)
05:56:41 michalz joins (~michalz@185.246.204.72)
05:57:05 × jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
05:57:27 jonathanx_ joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
05:58:35 × jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
05:58:52 jonathanx_ joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
05:59:41 × JimL quits (~quassel@89-162-2-132.fiber.signal.no) (Ping timeout: 256 seconds)
06:00:31 JimL joins (~quassel@89-162-2-132.fiber.signal.no)
06:08:21 ardell joins (~ardell@user/ardell)
06:14:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
06:17:15 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 256 seconds)
06:26:43 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
06:27:20 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
06:29:34 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
06:29:37 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:30:23 nilradical joins (~nilradica@user/naso)
06:34:19 gmg joins (~user@user/gehmehgeh)
06:35:19 × nilradical quits (~nilradica@user/naso) (Ping timeout: 268 seconds)
06:37:19 × raym quits (~raym@user/raym) (Remote host closed the connection)
06:38:01 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
06:40:29 catern joins (~sbaugh@2604:2000:8fc0:b:a9c7:866a:bf36:3407)
06:44:01 matthewmosior joins (~matthewmo@173.170.253.91)
06:44:26 nilradical joins (~nilradica@user/naso)
06:48:20 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
06:48:36 faultline joins (~christian@200116b82b104e00fb802468084b9d47.dip.versatel-1u1.de)
06:49:29 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
06:51:14 raym joins (~raym@user/raym)
06:52:25 Lucio_ joins (~Lucio@5.179.169.123)
06:52:26 nate4 joins (~nate@98.45.169.16)
06:57:07 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
06:57:19 mmhat joins (~mmh@p200300f1c7086050ee086bfffe095315.dip0.t-ipconnect.de)
06:59:29 lortabac joins (~lortabac@2a01:e0a:541:b8f0:262c:6bb0:610c:7def)
06:59:41 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds)
07:01:37 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:01:42 cfricke joins (~cfricke@user/cfricke)
07:01:53 × mixfix41 quits (~sdeny9ee@user/mixfix41) (Ping timeout: 252 seconds)
07:02:10 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
07:02:24 matthewmosior joins (~matthewmo@173.170.253.91)
07:03:23 nilradical joins (~nilradica@user/naso)
07:05:00 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
07:11:25 × nilradical quits (~nilradica@user/naso) (Ping timeout: 252 seconds)
07:12:16 chele joins (~chele@user/chele)
07:12:32 × Techcable quits (~Techcable@user/Techcable) (Remote host closed the connection)
07:12:46 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
07:13:01 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds)
07:13:57 Techcable joins (~Techcable@user/Techcable)
07:15:24 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
07:17:01 chexum joins (~quassel@gateway/tor-sasl/chexum)
07:17:28 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:21:45 vysn joins (~vysn@user/vysn)
07:23:06 <tomsmeding> jean-paul[m]: monad-bays is indeed for bayesian _inference_ in an arbitrary model, whereas it seems you're looking for bayesian _classification_ -- something I know nothing about so I also can't help you :p
07:23:57 <tomsmeding> qrpnxz: linear types could help with that -- after all, rust's tracking is using some (extended) form of linear types as well
07:24:16 <tomsmeding> but it's not going to be as nice in haskell as it is in rust
07:25:41 <[exa]> tomsmeding: for some definition of "nice"
07:26:43 acidjnk joins (~acidjnk@p200300d6e7137a51b5f4311eaf3b0bb2.dip0.t-ipconnect.de)
07:26:51 <tomsmeding> [exa]: relative to how nice things usually are in the respective languages :p
07:27:55 <tomsmeding> hopefully thereby eliminating some of the subjective prejudice of the reader concerning both languages
07:28:50 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds)
07:29:29 <[exa]> tomsmeding: ok that's a nice way to say "abysmal" :D
07:29:42 <tomsmeding> [exa]: rust is quite a nice language
07:29:43 × gdown quits (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
07:30:05 <tomsmeding> syntax is a lot more noisy than haskell, but for an imperative language and for the things that it allows you to do in that setting, it's quite nice IMO
07:30:15 <[exa]> otoh I thought that the linearity with e.g. the vectors didn't bring in too much new weirdness except for having to care about the lollipops everywhere?
07:30:19 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Quit: No Ping reply in 180 seconds.)
07:30:53 <tomsmeding> yeah, but in rust you have nested ownership (borrowing) done for you without any work from your side, whereas in haskell you'd have to pass the vector around everywhere, including returning it from callees
07:31:29 <[exa]> yeah well, State
07:31:33 <tomsmeding> like, borrowing is the raison d'etre of rust
07:31:40 `2jt joins (~jtomas@56.red-88-17-82.dynamicip.rima-tde.net)
07:31:51 chexum joins (~quassel@gateway/tor-sasl/chexum)
07:32:03 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
07:32:11 <tomsmeding> you can borrow non-lexically in rust nowadays ;)
07:32:20 <tomsmeding> so you'd need applicative brackets in haskell to get the same level of nativeness
07:38:40 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
07:41:26 [exa] expects -XMagicState
07:42:57 <tomsmeding> if you want some hacker cred, implement it and present about it next year at HIW :p
07:44:07 matthewmosior joins (~matthewmo@173.170.253.91)
07:44:34 ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net)
07:44:37 <[exa]> nah, I already tried twice and it failed :D
07:44:56 <[exa]> guessing operation order is hard
07:46:33 <tomsmeding> if you have to guess operation order, it should error out saying that the notation is ambiguous
07:46:53 <tomsmeding> i.e. if "left-to-right" doesn't unambiguously decide the order
07:47:46 <[exa]> yeah that's almost never the case (guess the order of let bindings)
07:48:16 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
07:50:04 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
07:50:54 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
07:51:50 <tomsmeding> since you're implementing a call-by-value language, basically, I would expect standard call-by-value semantics
07:51:59 <tomsmeding> i.e. if the let-bindings don't make sense in lexicographical order, error
07:52:37 <tomsmeding> or rather, if lexicographical name-resolving would yield a different answer from full-recursive name resolving
07:55:28 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
07:55:53 × shriekingnoise quits (~shrieking@186.137.167.202) (Quit: Quit)
07:58:39 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds)
08:01:16 stiell joins (~stiell@gateway/tor-sasl/stiell)
08:01:49 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:02:14 matthewmosior joins (~matthewmo@173.170.253.91)
08:03:41 RamyeZ joins (~Me@185.103.90.188)
08:03:56 × vgtw quits (~vgtw@user/vgtw) (Quit: ZNC - https://znc.in)
08:04:41 benin0 joins (~benin@183.82.206.27)
08:09:55 kuribas joins (~user@ptr-17d51em3wvqh57xrshg.18120a2.ip6.access.telenet.be)
08:11:12 vgtw joins (~vgtw@user/vgtw)
08:11:15 Om-Mosa1 joins (~Me@185.103.90.188)
08:11:26 × Om-Mosa1 quits (~Me@185.103.90.188) (Max SendQ exceeded)
08:11:59 Om-Mosa1 joins (~Me@185.103.90.188)
08:12:00 × Om-Mosa1 quits (~Me@185.103.90.188) (Max SendQ exceeded)
08:12:16 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
08:12:32 Om-Mosa1 joins (~Me@185.103.90.188)
08:12:45 × Om-Mosa1 quits (~Me@185.103.90.188) (Max SendQ exceeded)
08:13:21 Om-Mosa1 joins (~Me@185.103.90.188)
08:13:22 × Om-Mosa1 quits (~Me@185.103.90.188) (Max SendQ exceeded)
08:13:23 × RamyeZ quits (~Me@185.103.90.188) (Ping timeout: 252 seconds)
08:14:33 × vgtw quits (~vgtw@user/vgtw) (Client Quit)
08:15:08 vgtw joins (~vgtw@user/vgtw)
08:17:50 jgeerds joins (~jgeerds@55d46bad.access.ecotel.net)
08:17:53 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:262c:6bb0:610c:7def) (Ping timeout: 255 seconds)
08:18:46 lortabac joins (~lortabac@2a01:e0a:541:b8f0:260a:15eb:2da3:7b7f)
08:19:32 fserucas|eod joins (~fserucas|@89.214.149.93)
08:19:38 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
08:20:51 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
08:20:52 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
08:20:57 × fserucas|eod quits (~fserucas|@89.214.149.93) (Client Quit)
08:21:11 fserucas joins (~fserucas@89.214.149.93)
08:21:16 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
08:21:16 <dminuoso> Is there a way to force GHC into generating a jump table for a given case-of construct?
08:21:26 chexum joins (~quassel@gateway/tor-sasl/chexum)
08:22:21 <merijn> Don't think so
08:23:25 Fangs joins (sid141280@id-141280.hampstead.irccloud.com)
08:25:06 nilradical joins (~nilradica@user/naso)
08:29:31 × nilradical quits (~nilradica@user/naso) (Ping timeout: 252 seconds)
08:30:43 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds)
08:31:59 × `2jt quits (~jtomas@56.red-88-17-82.dynamicip.rima-tde.net) (Remote host closed the connection)
08:33:32 wonko joins (~wjc@2a0e:1c80:2::130)
08:37:26 <dminuoso> I am amazed. I have a `data DomainLabel = DomainLabel { label :: ByteString, labelCaseFolded :: ByteString }`, and if I unsafely create that DomainLabel via `DomainLabel l l` I get much worse performance than if I use my smart constructor that also does explicit case-folding on the second field.
08:37:53 <dminuoso> Less code executes slower. :)
08:38:00 `2jt joins (~jtomas@56.red-88-17-82.dynamicip.rima-tde.net)
08:38:54 chexum joins (~quassel@gateway/tor-sasl/chexum)
08:40:17 <tomsmeding> dminuoso: wild guess, but maybe the original label references some large bytestring whereas the case-folded one is small, and you don't actually end up using the original label so it gets GCd?
08:43:09 <dminuoso> tomsmeding: Mmm, they are all generated via Data.ByteString.Char8.pack
08:43:53 jinsun joins (~jinsun@user/jinsun)
08:44:12 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Ping timeout: 268 seconds)
08:44:13 <dminuoso> But yeah, I think I should be using ShortByteString anyway
08:44:47 <dminuoso> Given that most my labels are only 1 byte long, there's going to be extreme heap fragmentation
08:45:01 <tomsmeding> O.o 1 byte is pretty short
08:45:25 <tomsmeding> are these dns labels? How are dns labels usually 1 byte long
08:45:34 <dminuoso> tomsmeding: ip6.arpa zone
08:45:47 <dminuoso> They encode each octet of an ipv6 address as a separate label
08:45:56 <tomsmeding> that's dumb
08:46:03 <dminuoso> No its actually pretty good.
08:46:27 <dminuoso> It reduces zone fragmentation by a lot
08:46:49 <tomsmeding> hm makes sense, interesting
08:46:52 <tomsmeding> but yeah definitely SBS
08:46:53 <dminuoso> Oh no hold on
08:46:57 <dminuoso> No its worse in IPv6!
08:47:02 <dminuoso> It's done per-nibble
08:47:05 <tomsmeding> lol!
08:47:28 <dminuoso> So you have 0.1.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.a.e.c.5.a.b.c.1.2.b.b.d.f.ip6.arpa.
08:47:30 <dminuoso> for example
08:47:40 <tomsmeding> but I mean, if we're talking about ipv6 addresses here, the longest they'll get is 16 bytes
08:47:56 <tomsmeding> which is still Pretty Short
08:48:28 matthewmosior joins (~matthewmo@173.170.253.91)
08:52:51 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
08:55:05 nilradical joins (~nilradica@user/naso)
08:55:48 × nilradical quits (~nilradica@user/naso) (Read error: Connection reset by peer)
08:56:03 nilradical joins (~nilradica@user/naso)
08:58:41 × ardell quits (~ardell@user/ardell) (Remote host closed the connection)
09:04:52 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
09:06:05 × jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
09:06:28 jonathanx_ joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
09:07:14 matthewmosior joins (~matthewmo@173.170.253.91)
09:09:44 __monty__ joins (~toonn@user/toonn)
09:10:06 nate4 joins (~nate@98.45.169.16)
09:13:25 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
09:14:33 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:14cc:b7c5:eea1:6438)
09:14:43 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
09:17:37 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:18:00 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 256 seconds)
09:22:55 <einfair__> what i need to read to create a widget ?
09:23:37 <einfair__> i mean my separate subclass which will draw itself
09:24:27 beteigeuze joins (~Thunderbi@85.244.28.222)
09:24:48 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
09:26:12 × thaumavorio quits (~thaumavor@thaumavor.io) (Quit: ZNC 1.8.2 - https://znc.in)
09:26:58 thaumavorio joins (~thaumavor@thaumavor.io)
09:28:29 Guest28 joins (~Guest28@2a00:a040:197:36f4:3cea:f7e2:6a12:2e47)
09:32:16 <dminuoso> Mmm. "foo"# gives me an Addr# fancy. :)
09:32:38 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
09:36:08 × Lucio_ quits (~Lucio@5.179.169.123) (Ping timeout: 256 seconds)
09:37:42 matthewmosior joins (~matthewmo@173.170.253.91)
09:37:48 Lucio_ joins (~Lucio@5.179.169.123)
09:38:56 gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de)
09:42:02 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
09:45:11 <tomsmeding> einfair__: xmonad?
09:47:48 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
09:47:59 × califax quits (~califax@user/califx) (Remote host closed the connection)
09:48:04 <einfair__> tomsmeding: in GI.Gtk
09:51:49 mbuf joins (~Shakthi@122.165.55.71)
09:52:48 ardell joins (~ardell@user/ardell)
09:55:17 matthewmosior joins (~matthewmo@173.170.253.91)
09:57:58 califax joins (~califax@user/califx)
10:01:31 <dminuoso> Mmm, as far as I can say, word2Int# is a no-op, can someone confirm this for me?
10:04:37 × Guest28 quits (~Guest28@2a00:a040:197:36f4:3cea:f7e2:6a12:2e47) (Quit: Client closed)
10:07:14 <tomsmeding> dminuoso: looks like it https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/StgToCmm/Prim.hs#L1075
10:08:55 <tomsmeding> see also https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Builtin/primops.txt.pp#L265 :p
10:09:06 <tomsmeding> oh wrong one, but word2Int# has the same annotation
10:12:25 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
10:13:33 <tomsmeding> see also the definition of opNop in that same GHC.StgToCmm.Prim file
10:13:46 <tomsmeding> "res := arg;"
10:15:12 <dminuoso> tomsmeding: Is StgToCmm/Prim.hs the single authoritative implementation of primops?
10:15:47 <dminuoso> I thought there were also out-of-line primops in rts/PrimOps.cmss or even foreign primops
10:16:01 <dminuoso> *rts/PrimOps.cmm
10:17:11 <tomsmeding> dminuoso: the index of all primops is in that primops.txt.pp file
10:18:01 <dminuoso> Oh, presumably all of this is just resolved at linker time?
10:18:39 <dminuoso> Or maybe not? Im confused how or where GHC differentiates between rts/PrimOps.cmm and compiler/GHC/StgToCmm/Prim.hs
10:19:12 <tomsmeding> ah no I lied a bit
10:19:13 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 256 seconds)
10:19:17 <tomsmeding> dminuoso: see primops.txt.pp:150
10:20:32 <dminuoso> Ahh, so `out_of_line = True` appears to control when they, at least, have a cmm implementation
10:20:53 <tomsmeding> see also rts/PrimOps.cmm:11-12 :)
10:21:00 <tomsmeding> well, 9-12
10:21:10 <dminuoso> "for most of those with the attribtue out_of_line=True"
10:21:13 <dminuoso> o.o
10:21:17 <tomsmeding> :')
10:21:22 <tomsmeding> who said ghc was well-engineered
10:21:27 <tomsmeding> (I'm joking)
10:21:43 <dminuoso> Well, any project of this size has *some* cruft.
10:21:47 <tomsmeding> yeah
10:23:37 motersen parts (~motersen@user/motersen) (bye)
10:24:00 <[Leary]> There's a 60 page paper about how much cruft there is in GHC. <.<
10:25:27 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:14cc:b7c5:eea1:6438) (Remote host closed the connection)
10:27:09 × sagax quits (~sagax_nb@user/sagax) (Ping timeout: 256 seconds)
10:28:04 <dminuoso> tomsmeding: I think I solved some performance problems with this already: https://gist.github.com/dminuoso/4a447d1587474d8aea60d5b845a8988c
10:28:29 <tomsmeding> > repeat 'f'
10:28:31 <lambdabot> "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...
10:28:38 <dminuoso> tomsmeding: Look at that # at the end.
10:28:41 <tomsmeding> yes
10:28:45 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
10:28:51 <tomsmeding> 👌
10:28:54 <dminuoso> :)
10:29:17 <dminuoso> Its quite cool that you can do a quick lookup packed lookup table this easily with MagicHash
10:30:08 × califax quits (~califax@user/califx) (Remote host closed the connection)
10:30:16 zaquest joins (~notzaques@5.130.79.72)
10:30:29 <tomsmeding> I'm wondering if you really need the full extent of those lookup tables
10:31:00 <tomsmeding> in particular, a branch on n whether it's >=16 isn't that expensive
10:31:13 nilradical joins (~nilradica@user/naso)
10:31:27 <tomsmeding> and clearly that ipv4Labels lookup table can be one long ByteString indexed at offset 3*key ;)
10:32:07 <dminuoso> Huh!
10:32:35 <dminuoso> Why didn't I think of that.
10:32:43 <dminuoso> Though you meant just ByteArray# right?
10:32:46 califax joins (~califax@user/califx)
10:32:47 <tomsmeding> :D
10:32:50 <dminuoso> :>
10:32:53 <tomsmeding> not sure it really makes much of a difference
10:33:03 <dminuoso> ByteString *is* just a ByteArray plus some convenience
10:33:05 <tomsmeding> doing +0 is not going to cost much time
10:33:17 <dminuoso> What do you mean by +0?
10:33:28 <tomsmeding> well, that's what a ByteString indexing operation will end up doing, right?
10:33:40 <tomsmeding> add the offset of the view to the passed-in index, and index the ByteArray# there
10:33:44 <tomsmeding> the offset being 0
10:34:50 <dminuoso> So this is actually interesting now
10:34:58 <dminuoso> So you're suggesting to ditch ShortByteString
10:35:15 <dminuoso> This is a difficult proposition, as heap fragmentation will now depend on the percentage of in-addr arpa labels
10:35:35 <tomsmeding> if it's one big lookup table that will live for the full length of your application, I'd naively think this is the place to use ByteString
10:35:56 <tomsmeding> oh you mean that all the arpa labels will now re-use those ShortByteStrings?
10:35:58 <tomsmeding> hmm
10:36:16 <tomsmeding> I hadn't considered that
10:36:29 <tomsmeding> then maybe this is better actually
10:36:42 <tomsmeding> assuming that V.Vector is a boxed vector :D
10:36:47 × zxx7529 quits (~Thunderbi@user/zxx7529) (Ping timeout: 256 seconds)
10:36:50 <dminuoso> It cant be unboxed
10:36:55 <tomsmeding> right
10:37:09 <dminuoso> Unless we had a FixedByteString of sorts
10:37:16 × coot_ quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot_)
10:37:33 <tomsmeding> actually I feel like what you want here is something like c++'s std::string with small-string optimisation
10:37:47 <tomsmeding> i.e. store the string in the object if its length is < 8 bytes, otherwise make a heap allocation
10:38:04 <tomsmeding> and in the latter case, store the address in those same 8 bytes
10:38:31 <tomsmeding> and then unbox said "std::string" wherever you use it
10:38:42 <tomsmeding> because the object itself is a fixed size
10:38:53 <tomsmeding> not sure haskell will allow you to do this pointer-punning though, probably not :p
10:39:07 <dminuoso> tomsmeding: Well in IPv4 the labels are not fixed sizse.
10:39:16 <dminuoso> Oh hold on
10:39:43 <dminuoso> That's sneaky.
10:40:26 <tomsmeding> IIRC ghc's GC will not allow this because it wants a predictable layout of pointer/non-pointer fields in data types
10:40:49 <tomsmeding> in which case you lose 8 bytes for having to separate the embedded small string and the optional heap pointer, which is not too bad
10:41:19 Pickchea joins (~private@user/pickchea)
10:42:38 matthewmosior joins (~matthewmo@173.170.253.91)
10:43:02 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
10:44:11 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
10:44:27 × xff0x_ quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 252 seconds)
10:45:04 waldo joins (~waldo@user/waldo)
10:47:02 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
10:48:35 × dsrt^ quits (~dsrt@96.70.11.181) (Ping timeout: 248 seconds)
10:49:14 dsrt^ joins (~dsrt@96.70.11.181)
10:52:31 wonko joins (~wjc@2a0e:1c80:2::130)
10:54:27 × Lucio_ quits (~Lucio@5.179.169.123) (Ping timeout: 248 seconds)
10:56:47 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
10:57:14 <dminuoso> tomsmeding: I reused this trick for case folding by the way.
10:57:21 <dminuoso> And it helped shave off another 15% of runtime performance. :)
10:57:25 <tomsmeding> :o
10:57:27 <tomsmeding> nice
10:57:35 nilradical joins (~nilradica@user/naso)
10:57:55 <dminuoso> tomsmeding: https://gist.github.com/dminuoso/739bff02a3bc94339e6b4ee5fb732ffb
10:57:57 <dminuoso> :)
10:58:07 <tomsmeding> ._.
10:58:16 <dminuoso> (And the actual foldCase implementation is just a `BS.map foldCase_`)
10:58:17 <tomsmeding> neat
10:58:25 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
10:58:40 nilradical joins (~nilradica@user/naso)
10:58:51 <dminuoso> Inside that hot spot I think it's at least an order of magnitute faster
10:59:00 <tomsmeding> yeah I can see how this particular example is quite a bit cheaper
11:01:05 <dminuoso> Now I have this last bottleneck left and Im not sure I can get rid of that one without turning an eye on idealism
11:01:19 × waldo quits (~waldo@user/waldo) (Quit: quit)
11:02:23 <dminuoso> tomsmeding: By the way, why do you think this example is quite a bit cheaper? I think the main cost is not even the branches but the cache unfriendly pointer indirection
11:02:58 <tomsmeding> lot more code, not sure what c2w is doing, and it uses at least the amount of memory
11:03:04 <tomsmeding> it's strictly more stuff
11:03:22 matthewmosior joins (~matthewmo@173.170.253.91)
11:03:25 × vglfr quits (~vglfr@145.224.94.199) (Ping timeout: 256 seconds)
11:03:25 <dminuoso> With the Addr# trick the entirety, I will just keep 4 cache lines, which in a tight loop will not even be evicted
11:03:32 <dminuoso> c2w is a noop
11:03:41 <tomsmeding> well, I guess what you do gain with the before.hs is that you don't do anything for the unchanged bytes -- but there are only 256 values anyway
11:03:42 <tomsmeding> ah
11:03:59 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 256 seconds)
11:04:11 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 268 seconds)
11:04:26 <tomsmeding> how much have you already sped up the whole thing with all tricks combined
11:04:26 <dminuoso> With a case-of, wouldnt each character reside as a heap allocated object?
11:04:45 <tomsmeding> not necessarily, the code to create said heap-allocated objects will be there
11:04:53 Lucio_ joins (~Lucio@5.179.169.123)
11:04:54 <dminuoso> With all tricks combined I went from 3.3s to 2.1s total runtime
11:05:08 <dminuoso> But my program does lots of other things
11:05:09 <tomsmeding> > (3.3 - 2.1) / 3.3
11:05:11 <lambdabot> 0.3636363636363636
11:05:14 <tomsmeding> nice
11:06:11 <dminuoso> Well actually the earliest version after the recent rewrite was like 10ish seconds, but that was just an Ord instances that recomputed the case-folded each time without memoization
11:06:32 <dminuoso> (turns out this is terribly bad if you're inserting a few hundred thousand domains into a map)
11:06:33 <tomsmeding> ah :p
11:06:39 zxx7529 joins (~Thunderbi@user/zxx7529)
11:06:40 <tomsmeding> heh
11:08:28 akegalj joins (~akegalj@cpe-94-253-207-38.zg2.cable.xnet.hr)
11:08:39 <dminuoso> My next issue is pretty printing. :(
11:09:14 <tomsmeding> wild idea: have two maps, one for domains <=24 bytes, one for domains >24 bytes. The latter one is what you have here, the former one is mostly the same, but then IntMap (IntMap (IntMap Domain)), since three Int64's combine to cover the bytes of a 24-byte domain
11:09:31 <tomsmeding> the point being that an IntMap is not a binary tree, it's wider, and wider is good
11:10:01 <dminuoso> tomsmeding: The map uses (Domain, RecordType) right now.
11:10:40 <dminuoso> And RecordType has 49 constructors
11:10:53 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
11:11:00 <tomsmeding> just use a B-tree already :p
11:11:11 <tomsmeding> my suggestion was just a poor-man's b-tree
11:11:29 <dminuoso> Heh I already do use tries in a few places
11:11:35 nilradical joins (~nilradica@user/naso)
11:11:44 <dminuoso> Though the insertion is not a hot spot
11:12:14 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
11:12:29 vglfr joins (~vglfr@145.224.94.199)
11:12:29 nilradical joins (~nilradica@user/naso)
11:13:26 <dminuoso> My main issue with pretty printing is that I have this desire to support arbitrary dns labels in my library (for no real reason other than idealism)
11:13:57 <dminuoso> Which means I cant just reuse my bytestring as a text buffer (text-2.0 yay!)
11:14:15 <tomsmeding> because escaping?
11:14:37 <dminuoso> Right
11:14:42 <tomsmeding> check if you need to escape first, and if not, reuse?
11:14:46 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
11:15:00 <dminuoso> My presentation format will backslash escape dots, and backslash + octal escape non-ascii alpha numeric bytes
11:15:13 <dminuoso> Mmm
11:15:51 <dminuoso> Actually you have a very valid point there.
11:16:14 <dminuoso> Given that its not actually the case, just scanning *whether* it has to be done is *much* *much* faster than using a huge Data.Text.Builder construction
11:16:22 <dminuoso> I did not think of that
11:16:25 <tomsmeding> and you don't need to worry about escaping being slightly slower now because you're looping over the thing twice, because by your assumptions that's going to happen ~never :
11:16:27 <tomsmeding> * :p
11:16:36 <dminuoso> Heh :)
11:16:38 × ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Ping timeout: 240 seconds)
11:16:38 <tomsmeding> right
11:16:40 <carbolymer> has anyone of you had errors in Paths_* files generated by cabal? my example: https://bpa.st/7DDA - It's 99% because of some bazel shenanigans, but I'm wondering when this can happen (btw. is it dependent on cabal version?)
11:17:28 <dminuoso> tomsmeding: Its just frustrating now to have a [ShortByteString] array, many of them with 18 entries, and then suffer on this indirection...
11:17:39 ix joins (~ix@2a02:8010:674f:1:2641:8cff:fe93:cdb2)
11:17:48 <dminuoso> Brrr
11:17:58 <tomsmeding> dminuoso: if you're going to pretty print everything multiple times, cache the pretty-printed buffer?
11:18:04 <tomsmeding> (i.e. the concatenated one, most of the time)
11:18:49 <dminuoso> Sure, but that doesnt really help because I have to compute it either way
11:19:24 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:736e:866:cd1f:5eb)
11:19:26 <dminuoso> And I *do* need the [Label] representation because I do a lot of trie operations in a different place
11:19:50 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
11:19:53 <dminuoso> But either way, its *still* faster.
11:20:01 × jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 252 seconds)
11:20:31 <dminuoso> Or I could special case the arpa zones, a secondary constructor for them..
11:21:24 <dminuoso> a kind of `data Domain = DomainReg [DomainLabel] | DomainArpa6 {-# UNPACK #-} !Word64 !Word64 {-# UNPACK #-} | DomainArpa4 {-# UNPACK #-} !Word32`
11:22:03 <dminuoso> Given how many arpa entries we generate, this might also reduce allocations by a bit
11:22:19 <merijn> dminuoso: You're missing an unpack in the Arpa6 :p
11:22:35 <merijn> wait, no, you just transposed the unpack and second field
11:22:37 <dminuoso> Yeah I screwed up the ordering. It's in the wrong position :)
11:28:38 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
11:29:13 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
11:29:41 × Lucio_ quits (~Lucio@5.179.169.123) (Quit: Leaving)
11:29:54 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
11:30:02 CiaoSen joins (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
11:36:46 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:42:07 wonko joins (~wjc@2a0e:1c80:2::130)
11:43:16 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
11:48:09 matthewmosior joins (~matthewmo@173.170.253.91)
11:52:32 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
11:56:08 leah_ is now known as thatcher
12:00:20 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:00:49 xff0x joins (~xff0x@2405:6580:b080:900:732a:bfb0:2264:97bb)
12:04:13 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
12:09:00 matthewmosior joins (~matthewmo@173.170.253.91)
12:12:41 odnes joins (~odnes@5-203-237-191.pat.nym.cosmote.net)
12:13:57 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds)
12:14:40 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
12:15:16 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
12:17:28 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
12:17:58 × ix quits (~ix@2a02:8010:674f:1:2641:8cff:fe93:cdb2) (Ping timeout: 244 seconds)
12:19:47 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 252 seconds)
12:22:02 Midjak joins (~Midjak@82.66.147.146)
12:24:10 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
12:24:20 coot joins (~coot@213.134.176.158)
12:33:27 matthewmosior joins (~matthewmo@173.170.253.91)
12:37:41 lottaquestions joins (~nick@2607:fa49:503e:7100:885a:bdd6:3d9a:9d51)
12:41:19 waldo joins (~waldo@user/waldo)
12:42:35 × acidjnk quits (~acidjnk@p200300d6e7137a51b5f4311eaf3b0bb2.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
12:43:23 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 255 seconds)
12:45:20 acidjnk joins (~acidjnk@p200300d6e7137a5188632d09d63e5242.dip0.t-ipconnect.de)
12:54:23 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
12:54:39 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds)
12:55:31 matthewmosior joins (~matthewmo@173.170.253.91)
12:55:32 Successus joins (~Successus@user/Successus)
12:55:40 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
12:56:26 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
12:56:47 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
12:58:12 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
13:02:45 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
13:10:54 × vglfr quits (~vglfr@145.224.94.199) (Ping timeout: 256 seconds)
13:11:15 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
13:11:37 nate4 joins (~nate@98.45.169.16)
13:12:28 × benin0 quits (~benin@183.82.206.27) (Quit: Ping timeout (120 seconds))
13:12:35 × ddellacosta quits (~ddellacos@89.45.224.229) (Ping timeout: 252 seconds)
13:12:48 benin0 joins (~benin@183.82.206.27)
13:13:39 × jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Ping timeout: 248 seconds)
13:13:44 × acidjnk quits (~acidjnk@p200300d6e7137a5188632d09d63e5242.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
13:13:51 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
13:16:35 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
13:18:02 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
13:18:05 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
13:18:25 × CiaoSen quits (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
13:18:59 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
13:29:39 × akegalj quits (~akegalj@cpe-94-253-207-38.zg2.cable.xnet.hr) (Quit: leaving)
13:31:36 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
13:31:45 Pickchea joins (~private@user/pickchea)
13:32:26 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:736e:866:cd1f:5eb) (Ping timeout: 252 seconds)
13:32:49 jgeerds joins (~jgeerds@55d46bad.access.ecotel.net)
13:37:35 vglfr joins (~vglfr@145.224.94.72)
13:39:57 motersen joins (~motersen@user/motersen)
13:40:11 ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe)
13:51:55 × benin0 quits (~benin@183.82.206.27) (Ping timeout: 268 seconds)
13:53:54 benin0 joins (~benin@183.82.206.27)
13:57:28 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Ping timeout: 268 seconds)
13:59:12 [Leary] joins (~Leary]@user/Leary/x-0910699)
14:02:37 × adanwan_ quits (~adanwan@gateway/tor-sasl/adanwan) (Quit: _)
14:03:07 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
14:03:31 × rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in)
14:04:37 rembo10 joins (~rembo10@main.remulis.com)
14:09:47 motersen parts (~motersen@user/motersen) (bye)
14:10:15 jespada joins (~jespada@181.28.113.105)
14:16:43 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
14:16:46 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:16:48 shriekingnoise joins (~shrieking@186.137.167.202)
14:16:56 motersen joins (~motersen@user/motersen)
14:17:36 crazazy[m] joins (~crazazyma@2001:470:69fc:105::2:6bd9)
14:18:16 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
14:21:16 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:260a:15eb:2da3:7b7f) (Quit: WeeChat 2.8)
14:21:23 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
14:23:22 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
14:23:25 siers joins (~ij@user/ij)
14:26:31 wonko joins (~wjc@2a0e:1c80:2::130)
14:28:32 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:d462:1092:14a4:6d47)
14:30:05 whereiseveryone joins (206ba86c98@2604:bf00:561:2000::2e4)
14:30:20 <whereiseveryone> hi, what is a monoid?
14:30:41 × waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds)
14:31:19 × causal quits (~user@50.35.83.177) (Quit: WeeChat 3.6)
14:34:16 zer0bitz joins (~zer0bitz@2001:2003:f748:2000:8de4:5a65:418e:6f0b)
14:35:07 × dsrt^ quits (~dsrt@96.70.11.181) (Remote host closed the connection)
14:35:38 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Quit: WeeChat 3.6)
14:35:39 <geekosaur> something extremely simple
14:36:12 <geekosaur> it's something that you can combine in some way, and which has an "empty" value that can be "combined" with some value to get the same value back out
14:36:13 <dminuoso> whereiseveryone: A monoid is anything equipped with two things: an associative binary operation, and an identity element with repsect to that binary operation
14:36:17 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
14:36:36 matthewmosior joins (~matthewmo@173.170.253.91)
14:37:01 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds)
14:39:36 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
14:40:54 <dminuoso> whereiseveryone: List addition with the empty list, Integer addition with 0, Integer multiplication with 1, Boolean and with True, Boolean or with False, endofunction (that is, functions whose input and output type is the same, like functions of type Float -> Float) composition with `id` function
14:41:11 <dminuoso> As a list of random examples
14:44:24 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
14:44:30 stevenxl joins (uid133530@id-133530.uxbridge.irccloud.com)
14:45:39 × mzan quits (~quassel@mail.asterisell.com) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
14:46:22 × coot quits (~coot@213.134.176.158) (Quit: coot)
14:47:23 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
14:48:01 × zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection)
14:48:13 zxx7529 joins (~Thunderbi@user/zxx7529)
14:48:56 × vglfr quits (~vglfr@145.224.94.72) (Ping timeout: 256 seconds)
14:52:20 vglfr joins (~vglfr@145.224.94.72)
14:54:28 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
14:57:50 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
14:58:10 mzan joins (~quassel@mail.asterisell.com)
14:58:38 zebrag joins (~chris@user/zebrag)
14:58:45 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
15:00:42 o-90 joins (~o-90@gateway/tor-sasl/o-90)
15:00:58 matthewmosior joins (~matthewmo@173.170.253.91)
15:01:58 × o-90 quits (~o-90@gateway/tor-sasl/o-90) (Remote host closed the connection)
15:02:22 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
15:02:29 × odnes quits (~odnes@5-203-237-191.pat.nym.cosmote.net) (Remote host closed the connection)
15:02:52 odnes joins (~odnes@5-203-237-191.pat.nym.cosmote.net)
15:11:14 matthewmosior joins (~matthewmo@173.170.253.91)
15:11:14 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
15:11:57 money_ joins (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net)
15:13:19 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
15:13:25 matthewmosior joins (~matthewmo@173.170.253.91)
15:14:07 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6)
15:15:47 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 248 seconds)
15:19:10 × money_ quits (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:25:20 acidjnk joins (~acidjnk@p200300d6e7137a19a561eed7706d09b0.dip0.t-ipconnect.de)
15:31:15 × ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Ping timeout: 248 seconds)
15:33:23 ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe)
15:33:58 × Luj quits (~Luj@2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb) (Quit: The Lounge - https://thelounge.chat)
15:35:14 Luj joins (~Luj@2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb)
15:36:10 × lottaquestions quits (~nick@2607:fa49:503e:7100:885a:bdd6:3d9a:9d51) (Quit: Konversation terminated!)
15:43:56 marinelli joins (~marinelli@gateway/tor-sasl/marinelli)
15:46:03 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:47:00 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:d462:1092:14a4:6d47) (Ping timeout: 252 seconds)
15:48:33 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds)
15:49:40 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:f9b1:6344:8f31:70e6)
15:50:40 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
15:51:01 <raehik> Using singletons-th to promote a simple type which holds a Natural to a singleton. This works in GHC 9.2, where Natural is a type & kind, but in 9.0 I'm getting an error related to `type Demote Nat = Natural`
15:51:23 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
15:51:24 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:f9b1:6344:8f31:70e6) (Remote host closed the connection)
15:51:34 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:19c1:accb:6b6b:e226)
15:51:46 <raehik> Any singletons users here have an idea how to attack this? do I simply have to write the singleton out myself?
15:54:27 × ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Ping timeout: 244 seconds)
15:55:01 lechner joins (lechner@debian/lechner)
15:57:55 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:00:09 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
16:01:36 ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe)
16:02:27 econo joins (uid147250@user/econo)
16:02:41 matthewmosior joins (~matthewmo@173.170.253.91)
16:03:30 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:19c1:accb:6b6b:e226) (Ping timeout: 252 seconds)
16:04:51 × jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 248 seconds)
16:04:56 coot joins (~coot@213.134.176.158)
16:06:08 <lyxia> raehik: have you seen https://github.com/goldfirere/singletons/issues/478
16:07:01 × Luj quits (~Luj@2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb) (Quit: The Lounge - https://thelounge.chat)
16:07:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
16:07:43 <raehik> lyxia: Thanks very much, that's what I needed. Hopefully I didn't need this singleton in the first place, but that's a solution if I do
16:08:40 matthewmosior joins (~matthewmo@173.170.253.91)
16:09:48 Luj joins (~Luj@2a01:e0a:5f9:9681:8b11:280b:5dc6:2dbd)
16:09:57 × ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Ping timeout: 244 seconds)
16:11:36 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:14:05 × marinelli quits (~marinelli@gateway/tor-sasl/marinelli) (Quit: marinelli)
16:18:19 Tuplanolla joins (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi)
16:23:27 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:583d:c728:5dbb:8297)
16:34:33 × zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection)
16:34:46 zxx7529 joins (~Thunderbi@user/zxx7529)
16:40:01 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
16:41:12 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:41:19 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
16:41:43 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
16:41:52 × odnes quits (~odnes@5-203-237-191.pat.nym.cosmote.net) (Quit: Leaving)
16:47:05 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
16:47:06 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
16:47:06 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
16:47:06 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
16:47:06 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Write error: Broken pipe)
16:47:38 ChaiTRex joins (~ChaiTRex@user/chaitrex)
16:47:40 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
16:47:42 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
16:47:44 stiell joins (~stiell@gateway/tor-sasl/stiell)
16:48:21 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
16:50:34 motherfsck joins (~motherfsc@user/motherfsck)
16:52:41 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
16:53:22 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:583d:c728:5dbb:8297) (Ping timeout: 252 seconds)
16:53:26 × nilradical quits (~nilradica@user/naso) ()
16:55:09 × nckx quits (~nckx@tobias.gr) (Ping timeout: 252 seconds)
17:04:10 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
17:04:17 × ardell quits (~ardell@user/ardell) (Quit: Leaving)
17:04:25 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
17:05:20 zero joins (~z@user/zero)
17:05:57 × mbuf quits (~Shakthi@122.165.55.71) (Quit: Leaving)
17:07:22 zzz joins (~z@user/zero)
17:09:37 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
17:09:55 × zero quits (~z@user/zero) (Ping timeout: 248 seconds)
17:09:55 zzz is now known as zero
17:10:02 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 256 seconds)
17:11:23 zzz joins (~z@user/zero)
17:12:53 matthewmosior joins (~matthewmo@173.170.253.91)
17:13:10 nate4 joins (~nate@98.45.169.16)
17:14:14 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
17:14:34 × zero quits (~z@user/zero) (Ping timeout: 256 seconds)
17:14:35 zzz is now known as zero
17:15:09 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:16:01 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
17:16:57 zzz joins (~z@user/zero)
17:17:07 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
17:17:55 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
17:17:55 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
17:17:55 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
17:17:55 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
17:17:59 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
17:18:22 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
17:18:40 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
17:18:55 stiell joins (~stiell@gateway/tor-sasl/stiell)
17:19:06 × zero quits (~z@user/zero) (Ping timeout: 256 seconds)
17:19:07 zzz is now known as zero
17:19:48 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
17:19:53 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
17:21:11 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:dd83:a63c:55e9:8556)
17:21:17 zzz joins (~z@user/zero)
17:23:03 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
17:23:38 × zero quits (~z@user/zero) (Ping timeout: 256 seconds)
17:23:39 zzz is now known as zero
17:25:08 × califax quits (~califax@user/califx) (Remote host closed the connection)
17:25:19 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Updating details, brb)
17:25:33 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
17:26:25 jmdaemon joins (~jmdaemon@user/jmdaemon)
17:26:37 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
17:26:39 califax joins (~califax@user/califx)
17:29:38 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:29:51 fef joins (~thedawn@user/thedawn)
17:31:42 AlexNoo_ joins (~AlexNoo@178.34.150.204)
17:32:41 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 268 seconds)
17:33:55 × Alex_test quits (~al_test@178.34.163.8) (Ping timeout: 248 seconds)
17:34:27 × AlexZenon quits (~alzenon@178.34.163.8) (Ping timeout: 248 seconds)
17:35:38 money_ joins (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net)
17:35:39 × chele quits (~chele@user/chele) (Remote host closed the connection)
17:35:46 × AlexNoo quits (~AlexNoo@178.34.163.8) (Ping timeout: 268 seconds)
17:37:28 × money_ quits (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net) (Client Quit)
17:37:39 × beteigeuze quits (~Thunderbi@85.244.28.222) (Quit: beteigeuze)
17:37:57 beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt)
17:38:34 Alex_test joins (~al_test@178.34.150.204)
17:39:05 AlexZenon joins (~alzenon@178.34.150.204)
17:39:11 wonko joins (~wjc@2a0e:1c80:2::130)
17:40:09 matthewmosior joins (~matthewmo@173.170.253.91)
17:44:26 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
17:45:33 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:dd83:a63c:55e9:8556) (Remote host closed the connection)
17:47:30 azimut joins (~azimut@gateway/tor-sasl/azimut)
17:48:00 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
17:48:38 matthewmosior joins (~matthewmo@173.170.253.91)
17:49:06 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
17:52:26 mc47 joins (~mc47@xmonad/TheMC47)
17:53:09 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
17:54:16 × stevenxl quits (uid133530@id-133530.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
17:55:21 sm gets a painful lesson on the value of -Wname-shadowing
17:59:27 pgib joins (~textual@173.38.117.89)
18:04:13 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
18:04:30 AlexNoo_ is now known as AlexNoo
18:04:39 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
18:05:39 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:ee61:499d:3656:52bc)
18:07:16 × jespada quits (~jespada@181.28.113.105) (Ping timeout: 256 seconds)
18:11:37 × fef quits (~thedawn@user/thedawn) (Ping timeout: 268 seconds)
18:12:34 jespada joins (~jespada@181.28.113.105)
18:12:40 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
18:17:38 waldo joins (~waldo@user/waldo)
18:18:07 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
18:18:43 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
18:19:08 × zxx7529 quits (~Thunderbi@user/zxx7529) (Quit: zxx7529)
18:21:15 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
18:21:59 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:22:43 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
18:23:11 × benin0 quits (~benin@183.82.206.27) (Quit: The Lounge - https://thelounge.chat)
18:23:37 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:ee61:499d:3656:52bc) (Remote host closed the connection)
18:24:07 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:ee61:499d:3656:52bc)
18:26:10 stef204 joins (~stef204@user/stef204)
18:28:01 nckx joins (~nckx@tobias.gr)
18:28:07 Pickchea joins (~private@user/pickchea)
18:29:26 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
18:31:15 jgeerds joins (~jgeerds@55d46bad.access.ecotel.net)
18:31:15 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
18:31:16 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
18:32:30 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
18:33:57 × kuribas quits (~user@ptr-17d51em3wvqh57xrshg.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
18:34:00 Lord_of_Life_ is now known as Lord_of_Life
18:35:20 × califax quits (~califax@user/califx) (Quit: ZNC 1.8.2 - https://znc.in)
18:36:23 califax joins (~califax@user/califx)
18:36:38 noteness_ joins (~noteness@user/noteness)
18:37:33 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
18:37:53 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
18:38:07 × noteness_ quits (~noteness@user/noteness) (Remote host closed the connection)
18:38:18 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:ee61:499d:3656:52bc) (Remote host closed the connection)
18:40:08 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
18:40:24 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
18:47:32 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:52:37 chomwitt joins (~chomwitt@2a02:587:dc09:3900:9994:71e5:52c9:ca3d)
18:53:22 zzz joins (~z@user/zero)
18:55:08 × califax quits (~califax@user/califx) (Remote host closed the connection)
18:55:29 califax joins (~califax@user/califx)
18:55:48 × zero quits (~z@user/zero) (Ping timeout: 244 seconds)
18:55:49 × motersen quits (~motersen@user/motersen) (Remote host closed the connection)
18:55:49 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
18:55:49 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
18:55:49 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Write error: Connection reset by peer)
18:55:49 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Read error: Connection reset by peer)
18:55:49 zzz is now known as zero
18:56:15 chexum joins (~quassel@gateway/tor-sasl/chexum)
18:56:28 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
18:56:39 motersen joins (~motersen@user/motersen)
18:57:02 ChaiTRex joins (~ChaiTRex@user/chaitrex)
18:57:32 <tomsmeding> sm: you don't use -Wall? Or do you mean that -Wall saved your back
18:58:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
19:00:11 azimut joins (~azimut@gateway/tor-sasl/azimut)
19:01:26 × jocke-l quits (jocke-l@a.x0.is) (Quit: WeeChat 3.0)
19:01:47 jocke-l joins (jocke-l@a.x0.is)
19:04:28 zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f)
19:05:57 zzz joins (~z@user/zero)
19:09:06 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
19:09:35 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
19:09:37 × zero quits (~z@user/zero) (Ping timeout: 256 seconds)
19:09:37 zzz is now known as zero
19:14:01 matthewmosior joins (~matthewmo@173.170.253.91)
19:14:55 <sm> tomsmeding: I use it but always disabled a few "useless" warnings
19:15:05 <tomsmeding> hah
19:15:18 <tomsmeding> I'll grant you that sometimes name shadowing is precisely what you want
19:15:36 <tomsmeding> I find myself writing `foo = \x y -> go x y a b where go x y = ...` to avoid the name shadowing warning
19:15:57 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:16:16 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
19:16:22 matthewmosior joins (~matthewmo@173.170.253.91)
19:16:30 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
19:16:30 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
19:16:30 × motersen quits (~motersen@user/motersen) (Remote host closed the connection)
19:16:55 motersen joins (~motersen@user/motersen)
19:16:59 × Techcable quits (~Techcable@user/Techcable) (Ping timeout: 256 seconds)
19:17:00 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
19:17:41 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
19:17:50 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:18:09 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
19:20:26 <sm> I shall mend my ways henceforth!
19:20:44 notzmv joins (~zmv@user/notzmv)
19:20:50 lortabac joins (~lortabac@2a01:e0a:541:b8f0:85eb:f533:abf8:a13b)
19:22:12 ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe)
19:22:19 <qrpnxz> i'm so glad i have 128GiB of memory: https://a.uguu.se/rMWSmPnP.png
19:22:45 <tomsmeding> ._.
19:23:03 <tomsmeding> it would've fit in my 32
19:23:17 <qrpnxz> not with my other processes :)
19:23:28 <qrpnxz> but yes 32 is rather comfortable
19:23:42 <qrpnxz> HLS is an absolute memory hog man
19:23:44 <qrpnxz> like wow
19:23:46 <tomsmeding> qrpnxz: for curiosity, how large are the projects you have open
19:23:50 geekosaur has only 16GB
19:23:59 <tomsmeding> geekosaur: you shouldn't need more
19:24:01 <tomsmeding> but then ghc
19:24:10 <geekosaur> still, considering that my first computer had 8KB…
19:24:51 <geekosaur> (and I got by for over a year with only 4GB on this one)
19:24:58 <fgaz> why is that gnome-shell using 2.7 gb??
19:25:11 <geekosaur> because it's gnome-shell
19:25:11 <qrpnxz> i've got let's see... 5 project open. 2 rather significant ones, the other just little test ones
19:25:12 <tomsmeding> and 50% cpu, for that matter
19:25:25 <tomsmeding> qrpnxz: why three 5GB HLS processes then
19:25:28 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
19:25:42 <janus> fgaz: did you know that gnome has integrated web technologies ;)
19:25:43 <qrpnxz> i've no idea lol
19:25:46 <geekosaur> but if you're running wayland, it's the desktop manager + the compositor + window server + window manager
19:25:59 <tomsmeding> qrpnxz: mind if I use your screenshot (with your username scrubbed) at a talk in a while to illustrate why I'm not going to run a bunch of HLS processes on a server
19:26:08 <geekosaur> everything all in one scary big ball of crap
19:26:12 <qrpnxz> also one of the project i have two vs code windows open for it. Idk if they share the process since it's the same project
19:26:19 × chomwitt quits (~chomwitt@2a02:587:dc09:3900:9994:71e5:52c9:ca3d) (Remote host closed the connection)
19:26:26 <tomsmeding> maybe not :D
19:26:27 <qrpnxz> tomsmeding: lol no problem
19:26:37 <janus> isn't a display manager supposed to handle login? i don't think wayland does that
19:26:59 janus is reminded of LightDM
19:27:04 <geekosaur> I didn't say display manager
19:27:17 <janus> oh
19:27:20 <janus> :P sorry
19:27:22 <geekosaur> but it is one in a different sense: it's the graphical system backend
19:27:32 <janus> what's a desktop manager?
19:27:45 <geekosaur> with X11 you have the X server. the compositor serves the same purpose in wayland
19:28:17 <geekosaur> with the all in one gnome mentality it's your file manager, taskbars, etc.
19:28:39 <geekosaur> and all the services in common between gnome components
19:28:47 <qrpnxz> as for gnome-shell, i've got 9 virtual desktops, each with like 2-5 windows, and a second monitor with a couple more windows
19:29:34 <janus> i switched from ubuntu to debian stable , so back to Xorg :P
19:29:35 <qrpnxz> gnome to me very productive. I like the arrangement of gnome 3.36 better, but oh well
19:29:50 <qrpnxz> (now using GNOME 41)
19:29:52 janus is becoming a curmudgeon :O
19:30:10 <darkling> janus: Welcome to the club!
19:31:32 <janus> but yeah, i guess the wayland model is a theoretical improvement, and probably a practical one too, for some :P
19:31:38 × waldo quits (~waldo@user/waldo) (Quit: quit)
19:32:05 <fgaz> someday I should migrate from X... someday
19:32:06 <qrpnxz> the responsiveness usually good, but i get some serious stuttering lately that i'm working on these big haskell project. I'm still not totally sure if it's a thing the latest gnome or HLS or what to be fair though. I know that logging back in fixes it, but that also closes everything i have open haha so
19:33:20 tomsmeding can restart i3 without closing anything
19:33:43 <qrpnxz> i3 is not a session manager so that make sense :)
19:33:48 <tomsmeding> right :p
19:34:45 <qrpnxz> i tried dwm and such for a bit, but i really appreciate sliders and drag and drop and stuff. GNOME just require so little thought to use.
19:34:46 × tomgus1 quits (~tomgus1@2a02:c7e:4229:d900:dea6:32ff:fe3d:d1a3) (Quit: ZNC 1.8.2+deb2 - https://znc.in)
19:35:19 geekosaur uses xmonad as wm for mate, best of both worlds
19:35:22 <tomsmeding> I got used to dwm on a machine that really could not take much more
19:35:30 <qrpnxz> with graphical apps, i rarely want to tile much more than split right down the middle. For terminals i can use dvtm or tilix
19:35:32 <geekosaur> and mate is considerably smaller than gnome
19:35:38 tomgus1 joins (~tomgus1@176.254.19.153)
19:35:41 × JimL quits (~quassel@89-162-2-132.fiber.signal.no) (Ping timeout: 256 seconds)
19:35:48 <qrpnxz> GNOME runs fine on my crappy laptops for the record
19:36:36 <qrpnxz> if gnome didn't exist, i'd likely use xfce
19:36:45 <fgaz> looks like it's just making use of all that wasted ram then :-P
19:37:12 <qrpnxz> indeed i do think that apps pull more ram sometimes just because there is more ram
19:37:32 <qrpnxz> so if 64gib is all you have ever known, you might think 8gib is totally unusable, but not really so
19:37:49 <tomsmeding> for GC'd languages that may well be so
19:37:56 <tomsmeding> and with electron being a thing nowadays...
19:38:10 <qrpnxz> as an avid haskell user, can't complain much about GC :)
19:38:15 fgaz is on 8 gb...
19:38:22 <geekosaur> 4GB's plenty usable. 2GB, though
19:38:32 <tomsmeding> I mean, I would have said haskell instead of JS, but I don't have many haskell-based GUI apps yet :p
19:38:34 <qrpnxz> oh man, 2GB is a really hard ask
19:38:38 <tomsmeding> though I have 4 electron apps
19:38:42 geekosaur still has an ancient netbook he uses for a few things
19:38:49 <geekosaur> now try to run chrome on it 🙂
19:39:01 <tomsmeding> I tried to run Xcode on a 2GB Mac Mini long ago
19:39:04 <qrpnxz> there was an interesting editor project in haskell called Xi for Mac, but i think it died? i don't remember
19:39:08 <tomsmeding> not very sucessful
19:39:10 <qrpnxz> i just use VS Code for everything pmuch now
19:39:27 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:39:29 <qrpnxz> (I bring Xi up as graphicall haskell app example)
19:39:39 <geekosaur> there's the yi project, which is currently dead but every so often someone picks it up and develops it a little more
19:39:46 <geekosaur> but it wasn't graphical
19:39:47 <qrpnxz> i might have meant Yi
19:39:47 <tomsmeding> yeah there _are_ graphical apps in haskell, they are just not _quite_ as widespread
19:39:58 <tomsmeding> wasn't Xi in Rust?
19:40:10 <qrpnxz> maybe lol
19:40:26 <tomsmeding> "same difference"
19:40:30 <qrpnxz> yi is haskell it looks like https://github.com/yi-editor/yi
19:40:34 <qrpnxz> tomsmeding: i kind of wish
19:40:36 <geekosaur> was intended to be a vi-alike with haskell extension language and specializing in haskell tooling
19:41:03 <geekosaur> every so often I wonder if mixing it with HLS would be interesting, or if HLS just killed it for good
19:41:03 <qrpnxz> yeah, and xi is rust https://xi-editor.io/
19:41:05 <qrpnxz> lol
19:44:21 alphabeta joins (~kilolympu@90.203.82.22)
19:44:45 × kilolympus quits (~kilolympu@90.203.82.22) (Ping timeout: 256 seconds)
19:44:47 × alphabeta quits (~kilolympu@90.203.82.22) (Client Quit)
19:45:45 benin0 joins (~benin@183.82.206.27)
19:45:58 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds)
19:46:09 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
19:48:39 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:53:35 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 255 seconds)
19:53:51 JimL joins (~quassel@89-162-2-132.fiber.signal.no)
19:55:43 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
19:59:07 × raym quits (~raym@user/raym) (Remote host closed the connection)
20:03:04 raym joins (~raym@user/raym)
20:12:48 pavonia joins (~user@user/siracusa)
20:12:48 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:85eb:f533:abf8:a13b) (Quit: WeeChat 2.8)
20:19:24 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
20:20:31 econo joins (uid147250@user/econo)
20:23:30 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:27:56 wonko joins (~wjc@2a0e:1c80:2::130)
20:29:20 × tomboy64 quits (~tomboy64@user/tomboy64) (Read error: Connection reset by peer)
20:34:54 pagnol joins (~me@213-205-209-87.ftth.glasoperator.nl)
20:37:07 themc47 joins (~mc47@xmonad/TheMC47)
20:39:32 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
20:39:55 × mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds)
20:40:45 × beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Quit: beteigeuze)
20:41:04 beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt)
20:45:44 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
20:46:46 tomboy64 joins (~tomboy64@user/tomboy64)
20:48:48 <carbolymer> I think a year ago I was looking into build systems e.g. shake
20:49:05 <carbolymer> and someone here recommended me another one, also in haskell
20:49:25 <carbolymer> hosted on github
20:49:32 <carbolymer> but I forgot that name :|
20:53:31 eikke joins (~nicolas@88.126.78.98)
20:56:54 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
20:57:10 <eikke> Hello! I've been working on some somewhat tricky code to get the GHC RTS to work with libpsx. In order to do so, I need to expose a C symbol as part of the link process. I have a package with some `C-Sources`, and in the test-case coming with said package, I have the package itself as a `build-depends`, and things work just fine. However, if I add the package as a `build-depends` of a test-case of
20:57:16 <eikke> *another* package, it doesn't, and the linker bails out claiming the given symbol is not defined.
20:57:46 <eikke> Anyone have a clue why 1. there'd be a difference in linking between the test-case-in-the-package and test-case-in-another-package, and 2. why the symbol wouldn't be resolved in the first place?
20:57:51 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:58:27 cioran3407 joins (~mike@pool-100-37-85-190.nycmny.fios.verizon.net)
20:59:47 × themc47 quits (~mc47@xmonad/TheMC47) (Quit: Leaving)
21:03:21 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
21:03:30 × zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!)
21:04:20 × cioran3407 quits (~mike@pool-100-37-85-190.nycmny.fios.verizon.net) (Quit: Konversation terminated!)
21:05:39 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 248 seconds)
21:06:36 zero is now known as zzz
21:07:57 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:08:35 lottaquestions joins (~nick@2607:fa49:503e:7100:2f5e:d7ba:dfa9:c7a7)
21:11:00 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
21:14:20 <_________> carbolymer: stack maybe ?
21:15:11 <carbolymer> _________: nope, it was more closer to shake
21:16:20 nate4 joins (~nate@98.45.169.16)
21:16:22 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:17:06 <geekosaur> https://github.com/judah/pier ?
21:20:34 × coot quits (~coot@213.134.176.158) (Quit: coot)
21:21:28 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds)
21:23:30 sakura joins (~sakura@cpc118064-lewi21-2-0-cust98.2-4.cable.virginm.net)
21:24:15 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
21:25:39 <sakura> I'm new to Haskell and am wondering what are the options for color in ghci?
21:25:40 <sakura> At the moment im using https://gist.githubusercontent.com/sorki/d59ddca8995ff8c2ec8e7d8490260de6/raw/e1b896a6420f3f13d174a123db1648b4f90f1627/ghci.conf as my ~/.ghci
21:25:40 <sakura> It does not syntax highlight type signatures, i.e when I do :t take and it does not syntax highlight as I type.
21:25:40 <sakura> Is there a wrapper or something which provides this functionality
21:26:23 <sakura> Im not used to irc either so apologies for the formatting of my message
21:29:07 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 248 seconds)
21:32:08 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
21:32:36 <qrpnxz> sorry i don't know, but maybe work from a file?
21:35:50 <geekosaur> I don't think a lot of work has been done on syntax highlighting recently. there's some ancient stuff on hackage but almost certainly bitrotted at this point
21:36:01 × pagnol quits (~me@213-205-209-87.ftth.glasoperator.nl) (Ping timeout: 252 seconds)
21:40:34 <sakura> Ah I see, I'm coming from Rust so don't normally work in an interpreter so it's probably not a big issue. For when I use python, I use bpython which is pretty nice.
21:40:55 × zer0bitz quits (~zer0bitz@2001:2003:f748:2000:8de4:5a65:418e:6f0b) (Ping timeout: 256 seconds)
21:43:07 <geekosaur> I come from the 80s so I don't really miss it 🙂
21:43:48 <geekosaur> I've played with VS Code a bit but have worked for decades without such things
21:44:40 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
21:45:26 × `2jt quits (~jtomas@56.red-88-17-82.dynamicip.rima-tde.net) (Ping timeout: 256 seconds)
21:46:13 <sakura> Ah fair. I do like my colors. The default code completion settings for Haskell and VSCode was bonkers so I dropped using it and reverted back to good ol vim
21:46:20 matthewmosior joins (~matthewmo@173.170.253.91)
21:46:40 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
21:47:04 <carbolymer> geekosaur: nah, it was something more abstract, not stack replacement
21:47:53 money joins (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net)
21:47:54 × money quits (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net) (Changing host)
21:47:54 money joins (~Gambino@user/polo)
21:48:35 <[Leary]> sakura: Try adding ghcid on the side. It gives you type errors and warnings, and can run snippets from your files (given a certain prefix).
21:48:36 × ralu1 quits (~ralu@static.211.245.203.116.clients.your-server.de) (Ping timeout: 268 seconds)
21:49:37 × money quits (~Gambino@user/polo) (Client Quit)
21:50:26 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
21:50:52 <sakura> Leary: Thanks for the tip
21:58:14 × vysn quits (~vysn@user/vysn) (Ping timeout: 255 seconds)
21:59:38 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
22:00:18 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
22:04:39 <zzz> haskell doesn't really need syntax highlighting honestly. just keywords like data, type, newtype, let, where... maybe symbols vs letters
22:04:52 <zzz> dim comments
22:05:11 <zzz> but anything else is pretty much unnecessary
22:05:56 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
22:06:24 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
22:07:25 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
22:07:56 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
22:11:05 causal joins (~user@50.35.83.177)
22:11:33 × sakura quits (~sakura@cpc118064-lewi21-2-0-cust98.2-4.cable.virginm.net) (Quit: Leaving)
22:14:09 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
22:15:49 ralu1 joins (~ralu@static.211.245.203.116.clients.your-server.de)
22:20:08 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
22:20:13 matthewmosior joins (~matthewmo@173.170.253.91)
22:24:32 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
22:25:41 × mmhat quits (~mmh@p200300f1c7086050ee086bfffe095315.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
22:29:55 × AlexZenon quits (~alzenon@178.34.150.204) (Ping timeout: 268 seconds)
22:30:35 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection)
22:30:46 × Alex_test quits (~al_test@178.34.150.204) (Ping timeout: 256 seconds)
22:31:36 azimut_ joins (~azimut@gateway/tor-sasl/azimut)
22:32:28 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds)
22:32:35 × acidjnk quits (~acidjnk@p200300d6e7137a19a561eed7706d09b0.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
22:33:50 × eikke quits (~nicolas@88.126.78.98) (Quit: leaving)
22:36:59 Sgeo joins (~Sgeo@user/sgeo)
22:37:06 Alex_test joins (~al_test@178.34.150.204)
22:37:18 AlexZenon joins (~alzenon@178.34.150.204)
22:38:22 mmhat joins (~mmh@p200300f1c7086024ee086bfffe095315.dip0.t-ipconnect.de)
22:43:55 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
22:43:55 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
22:43:55 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
22:44:26 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
22:44:28 azimut joins (~azimut@gateway/tor-sasl/azimut)
22:44:32 ChaiTRex joins (~ChaiTRex@user/chaitrex)
22:46:24 money joins (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net)
22:46:54 finsternis joins (~X@23.226.237.192)
22:49:55 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
22:52:39 matthewmosior joins (~matthewmo@173.170.253.91)
22:54:49 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
22:55:21 ChaiTRex joins (~ChaiTRex@user/chaitrex)
22:55:34 × Tuplanolla quits (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) (Quit: Leaving.)
22:57:11 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
22:58:49 <qrpnxz> finally gonna get to use the Tenet Monad (forward and backwards state transformer) xDD. Love this thing.
22:59:59 × jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 252 seconds)
23:00:47 <qrpnxz> or damn, i could just use a stream. lol interesting!
23:02:31 × Successus quits (~Successus@user/Successus) (Ping timeout: 256 seconds)
23:02:34 × money quits (~Gambino@pool-100-11-18-203.phlapa.fios.verizon.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:03:17 × beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Ping timeout: 252 seconds)
23:04:09 Successus joins (~Successus@user/Successus)
23:04:33 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:06:17 <dsal> qrpnxz: tardis
23:06:30 <qrpnxz> better known as tardis monad yes :)
23:06:50 <qrpnxz> i think Tenet fits better, but hey
23:06:57 <qrpnxz> not bad either
23:07:08 <dsal> Someone didn't grow up with Doctor Who. :p
23:07:14 <dsal> I've only ever used tardis to confuse people.
23:07:36 <hpc> chronologically, almost everyone alive grew up with doctor who :D
23:07:46 <dsal> haha
23:07:57 <qrpnxz> yeah i didn't, but i have watched and rewatched from eccleston to capaldi
23:08:01 <qrpnxz> good show
23:08:58 <dsal> I recently watched Whittaker. I liked it.
23:09:34 <qrpnxz> i like her, but i don't like the writing of the new one. Hope it get better.
23:10:16 <dsal> More actual history telling stories that people don't actually know that well. I appreciated that part.
23:13:10 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds)
23:13:30 chexum joins (~quassel@gateway/tor-sasl/chexum)
23:13:51 wonko joins (~wjc@2a0e:1c80:2::130)
23:16:04 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:18:47 × wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 244 seconds)
23:21:15 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds)
23:27:16 matthewmosior joins (~matthewmo@173.170.253.91)
23:28:23 jero98772 joins (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff)
23:29:09 × faultline quits (~christian@200116b82b104e00fb802468084b9d47.dip.versatel-1u1.de) (Ping timeout: 256 seconds)
23:29:34 <sm> https://hackage.haskell.org/package/breakpoint seems quite useful. Am I right in thinking a plugin like this is cheap to have enabled all the time, no significant impact on compilation ?
23:30:50 × zebrag quits (~chris@user/zebrag) (Read error: Connection reset by peer)
23:31:05 zebrag joins (~chris@user/zebrag)
23:31:58 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
23:37:32 × Successus quits (~Successus@user/Successus) ()
23:39:52 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
23:40:58 dkh^ joins (~dkh@96.70.11.181)
23:48:56 × califax quits (~califax@user/califx) (Ping timeout: 268 seconds)
23:49:26 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
23:50:00 <Benzi-Junior> hey, is there a way for me to declare a constant without giving it's type
23:50:04 califax joins (~califax@user/califx)
23:50:19 <hpc> yes
23:50:20 <dibblego> x = "hi"
23:50:32 <Benzi-Junior> i.e. I want something like "myConst :: Num a -> a"
23:50:40 <dibblego> x = 9
23:50:50 <hpc> :t let x = 5 in x
23:50:52 <lambdabot> Num p => p
23:51:36 <hpc> haskell's type inference (without extensions) can infer types for any valid code, so you technically never need to write a type signature
23:52:23 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
23:52:42 <hpc> type checking and type inference are basically the same equations in the opposite direction, but that's a whole other topic :D
23:54:01 <dsal> Benzi-Junior: myConst :: Num a -> a is a function. Do you mean `myConst :: Num a => a` ?
23:54:16 <dsal> Actually, not a function, just invalid syntax.
23:57:33 <Benzi-Junior> so the problem I'm having is that I have a type signature for most of my functions, and pretty much every one is a "Floating a => ..." and for one of the functions I wanted to hard code this constant (because it was that or add an extra variable to the type signature of every function) but when I added it I got a "no instance of Double arising from Floating a" error and if I try to give it the
23:57:35 <Benzi-Junior> type "Floating a => a" I get an illegal type signature error
23:57:41 <Benzi-Junior> dsal: yes
23:57:46 motersen_ joins (~motersen@user/motersen)
23:58:11 × motersen quits (~motersen@user/motersen) (Ping timeout: 268 seconds)
23:58:35 <c_wraith> "no instance of Double" tells me you put (Double a) as a constraint on something
23:58:36 matthewmosior joins (~matthewmo@173.170.253.91)
23:58:45 <c_wraith> but Double is a type, not a class

All times are in UTC on 2022-08-22.