Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-15 09:22:50 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 260 seconds)
2021-03-15 09:22:55 <curiousgay> monochrom: I've made a workaround for that with pattern matching, the result doesn't look nice at all (warning - hindent formatted): https://pastebin.com/raw/pbbfZBEf
2021-03-15 09:25:15 × geowiesnot_bis quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 246 seconds)
2021-03-15 09:26:53 thunderrd joins (~thunderrd@183.182.111.116)
2021-03-15 09:27:26 × heatsink quits (~heatsink@2600:1700:bef1:5e10:7c0e:3b57:dfb:2cb4) (Remote host closed the connection)
2021-03-15 09:27:37 gitgood joins (~gitgood@80-44-12-39.dynamic.dsl.as9105.com)
2021-03-15 09:27:45 × gitgood quits (~gitgood@80-44-12-39.dynamic.dsl.as9105.com) (Remote host closed the connection)
2021-03-15 09:28:49 thaumavorio joins (~thaumavor@thaumavor.io)
2021-03-15 09:32:18 <merijn> oof
2021-03-15 09:33:25 mrchampion joins (~mrchampio@38.18.109.23)
2021-03-15 09:33:43 jumper149 joins (~jumper149@ip185225.wh.uni-hannover.de)
2021-03-15 09:34:15 <curiousgay> well, I use editor where tabs are easier to type than spaces
2021-03-15 09:34:51 mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan)
2021-03-15 09:35:18 geowiesnot_bis joins (~user@87-89-181-157.abo.bbox.fr)
2021-03-15 09:35:39 idhugo_ joins (~idhugo@130.225.16.16)
2021-03-15 09:35:46 <yorick> hi! I'm trying to foreign dynamic export a haskell function that uses C variadic arguments
2021-03-15 09:35:57 <yorick> is this.. possible? or do I need cbits
2021-03-15 09:36:44 <merijn> yorick: You need cbits
2021-03-15 09:36:57 <merijn> yorick: variadic arguments aren't party of any portable C ABI
2021-03-15 09:37:11 <yorick> sad, thanks
2021-03-15 09:37:16 <merijn> s/party/part
2021-03-15 09:37:21 <yorick> I don't know why they went for this since all everyone is gonna do is call snprintf on them
2021-03-15 09:37:51 × rotaerk quits (~rotaerk@ender.afternet.org) (Ping timeout: 246 seconds)
2021-03-15 09:38:21 × idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 264 seconds)
2021-03-15 09:39:20 bahamas joins (~lucian@unaffiliated/bahamas)
2021-03-15 09:40:33 pfurla_ joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
2021-03-15 09:41:18 <merijn> yorick: Maybe they nerdsniped themselves while coding it?
2021-03-15 09:42:50 × bitmagie quits (~Thunderbi@200116b806606900d512802029b5d408.dip.versatel-1u1.de) (Quit: bitmagie)
2021-03-15 09:42:59 × pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Ping timeout: 256 seconds)
2021-03-15 09:43:26 <hololeap> i wonder why the Profunctor instance for Kleisli has a Monad constraint for m as opposed to Functor
2021-03-15 09:43:34 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-15 09:45:44 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
2021-03-15 09:47:10 <merijn> hololeap: Because the functor instance for Kleisli wasn't added until 8.10, apparently
2021-03-15 09:48:38 <hololeap> huh that's surprising
2021-03-15 09:49:13 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
2021-03-15 09:50:58 alexanderdgreat joins (~alex@117.222.64.113)
2021-03-15 09:50:59 <yorick> merijn: I bet it saves entire cycles and stack space in case you want to do printf directly
2021-03-15 09:53:51 <alexanderdgreat> Hello. Sorry if this seems off-topic. I want to ask: (imagine) I have a toy chatbot program written in Haskell and I can run it on my system. Now I want to deploy this online but the backend server I am writing is in runs NodeJS. What is the preferred way to call my Haskell toy chatbot program from NodeJS.
2021-03-15 09:53:58 <merijn> hololeap: Not really, because no one really uses Kleisli :p
2021-03-15 09:55:00 <merijn> alexanderdgreat: tbh, that's probably more of a node question? The usual ways would be: Spawn it as a subprocess and talk with the bot over stdin/stdout, use a unix domain socket, or just a regular TCP socket
2021-03-15 09:55:13 <merijn> But I have no clue how easy/hard any of those are in node.js
2021-03-15 09:56:23 sz0 joins (uid110435@gateway/web/irccloud.com/x-tawqhplyvvjuqusl)
2021-03-15 09:56:48 darjeeling_ joins (~darjeelin@122.245.218.190)
2021-03-15 09:58:16 <alexanderdgreat> merijn: Thanks for answering. My problem is not NodeJS specific. I wanted to ask if I have to perform IPC from a Haskell binary on my backend server regardless of the language used in my business, can I wrap my chatbot with HTTP API using some Haskell web framework and call GET like requests from my backend business logic.
2021-03-15 09:58:22 <alexanderdgreat> ?
2021-03-15 10:01:33 <merijn> Sure
2021-03-15 10:01:58 <merijn> I don't really do web stuff, so I can't recommend any libraries, but I can't see why you couldn't
2021-03-15 10:02:31 <alexanderdgreat> merijn: Thanks a lot.
2021-03-15 10:02:33 <alexanderdgreat> merijn++
2021-03-15 10:03:31 × Kaiepi quits (~Kaiepi@47.54.252.148) (Read error: Connection reset by peer)
2021-03-15 10:03:43 wopas32 joins (uid384704@gateway/web/irccloud.com/x-tpyrxxcvbruhblyb)
2021-03-15 10:04:01 alexanderdgreat parts (~alex@117.222.64.113) ()
2021-03-15 10:04:18 Rudd0 joins (~Rudd0@185.189.115.103)
2021-03-15 10:04:47 Kaiepi joins (~Kaiepi@47.54.252.148)
2021-03-15 10:05:03 __monty__ joins (~toonn@unaffiliated/toonn)
2021-03-15 10:08:03 bergey` joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
2021-03-15 10:12:01 son0p joins (~son0p@181.58.39.182)
2021-03-15 10:12:46 × bergey` quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 260 seconds)
2021-03-15 10:12:49 × Guest14001 quits (~textual@2603-7000-3040-0000-e957-83a9-14ba-56cc.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-15 10:14:02 mouseghost joins (~draco@87-206-9-185.dynamic.chello.pl)
2021-03-15 10:14:02 × mouseghost quits (~draco@87-206-9-185.dynamic.chello.pl) (Changing host)
2021-03-15 10:14:02 mouseghost joins (~draco@wikipedia/desperek)
2021-03-15 10:14:52 × xwvvvvwx quits (xwvvvvwx@gateway/vpn/mullvad/xwvvvvwx) (Read error: Connection reset by peer)
2021-03-15 10:16:44 × bahamas quits (~lucian@unaffiliated/bahamas) (Quit: leaving)
2021-03-15 10:16:53 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-03-15 10:17:14 × idhugo_ quits (~idhugo@130.225.16.16) (Read error: Connection reset by peer)
2021-03-15 10:19:03 idhugo_ joins (~idhugo@80-62-116-51-mobile.dk.customer.tdc.net)
2021-03-15 10:19:11 × Stanley00 quits (~stanley00@unaffiliated/stanley00) ()
2021-03-15 10:21:21 × teardown quits (~user@gateway/tor-sasl/mrush) (Remote host closed the connection)
2021-03-15 10:26:52 teardown joins (~user@gateway/tor-sasl/mrush)
2021-03-15 10:28:10 heatsink joins (~heatsink@2600:1700:bef1:5e10:7c0e:3b57:dfb:2cb4)
2021-03-15 10:28:33 xwvvvvwx joins (xwvvvvwx@gateway/vpn/mullvad/xwvvvvwx)
2021-03-15 10:33:02 × heatsink quits (~heatsink@2600:1700:bef1:5e10:7c0e:3b57:dfb:2cb4) (Ping timeout: 264 seconds)
2021-03-15 10:35:42 thc202 joins (~thc202@unaffiliated/thc202)
2021-03-15 10:36:21 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
2021-03-15 10:37:12 ubert joins (~Thunderbi@p200300ecdf25d935e6b318fffe838f33.dip0.t-ipconnect.de)
2021-03-15 10:37:44 zaquest joins (~notzaques@5.128.210.178)
2021-03-15 10:38:04 dhil joins (~dhil@80.208.56.181)
2021-03-15 10:39:52 × rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Quit: Leaving)
2021-03-15 10:39:52 × conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer)
2021-03-15 10:46:36 conal joins (~conal@64.71.133.70)
2021-03-15 10:46:58 m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de)
2021-03-15 10:47:22 × ubert quits (~Thunderbi@p200300ecdf25d935e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2021-03-15 10:47:30 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
2021-03-15 10:49:09 Franciman joins (~francesco@host-82-49-79-189.retail.telecomitalia.it)
2021-03-15 10:49:19 graf_blutwurst joins (~user@2001:171b:226e:adc0:f5d5:a07f:9e46:8981)
2021-03-15 10:49:47 × asheshambasta quits (~user@ptr-e1lysaujm2qol2f684n.18120a2.ip6.access.telenet.be) (Ping timeout: 258 seconds)
2021-03-15 10:52:29 jayok joins (~jayok@cpc147358-belf12-2-0-cust581.2-1.cable.virginm.net)
2021-03-15 10:53:47 __minoru__shirae joins (~shiraeesh@46.34.206.121)
2021-03-15 10:56:17 × pavonia quits (~user@unaffiliated/siracusa) (Quit: Bye!)
2021-03-15 10:59:31 Alleria joins (~textual@mskresolve-a.mskcc.org)
2021-03-15 10:59:56 Alleria is now known as Guest54670
2021-03-15 11:04:38 × jayok quits (~jayok@cpc147358-belf12-2-0-cust581.2-1.cable.virginm.net) (Ping timeout: 256 seconds)
2021-03-15 11:08:29 × jhrcek quits (~jhrcek@ip-89-103-183-101.net.upcbroadband.cz) (Read error: Connection reset by peer)
2021-03-15 11:09:05 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
2021-03-15 11:09:24 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
2021-03-15 11:10:10 jhrcek joins (~jhrcek@ip-89-103-183-101.net.upcbroadband.cz)
2021-03-15 11:10:23 average joins (uid473595@gateway/web/irccloud.com/x-gpzntdlygmwptuws)
2021-03-15 11:10:39 × poscat quits (~poscat@123.112.148.153) (Ping timeout: 265 seconds)
2021-03-15 11:13:07 idhugo__ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)

All times are in UTC.