Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-30 12:13:31 × jneira quits (5127acfa@gateway/web/cgi-irc/kiwiirc.com/ip.81.39.172.250) (Ping timeout: 252 seconds)
2021-04-30 12:15:43 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-04-30 12:16:55 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-30 12:17:43 xenon- joins (~bc8134e3@217.29.117.252)
2021-04-30 12:18:17 × nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Client Quit)
2021-04-30 12:18:34 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-30 12:18:55 × nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Client Quit)
2021-04-30 12:19:20 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-30 12:19:47 kees1 joins (~kees@217.146.82.202)
2021-04-30 12:21:12 ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-30 12:21:16 × madjestic quits (~madjestic@86-88-72-244.fixed.kpn.net) (Quit: Lost terminal)
2021-04-30 12:22:31 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 260 seconds)
2021-04-30 12:22:43 nicholasbulka joins (~nicholasb@2601:900:4301:da0:f09e:8831:6f30:999f)
2021-04-30 12:25:06 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1)
2021-04-30 12:26:12 × ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds)
2021-04-30 12:27:03 twk- joins (~thewormki@unaffiliated/twk-)
2021-04-30 12:27:49 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:f09e:8831:6f30:999f) (Ping timeout: 276 seconds)
2021-04-30 12:28:38 cybai joins (~cybai@2400:4050:3122:900:106d:1dc5:2d33:5eba)
2021-04-30 12:31:55 nicholasbulka joins (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832)
2021-04-30 12:32:20 thevishy joins (~Nishant@117.193.32.230)
2021-04-30 12:32:58 dansho joins (~dansho@ec2-13-231-153-158.ap-northeast-1.compute.amazonaws.com)
2021-04-30 12:39:17 enthropy joins (~aavogt@135-23-166-92.cpe.pppoe.ca)
2021-04-30 12:39:26 × nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Read error: Connection reset by peer)
2021-04-30 12:39:49 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-30 12:40:43 Pickchea joins (~private@unaffiliated/pickchea)
2021-04-30 12:41:47 × thecoffemaker quits (~thecoffem@unaffiliated/thecoffemaker) (Ping timeout: 260 seconds)
2021-04-30 12:43:55 thecoffemaker joins (~thecoffem@unaffiliated/thecoffemaker)
2021-04-30 12:45:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-30 12:47:48 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-30 12:48:27 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
2021-04-30 12:49:39 × nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Quit: WeeChat 2.8)
2021-04-30 12:50:43 × CrazyPython quits (~crazypyth@98.122.164.118) ()
2021-04-30 12:51:59 plutoniix joins (~q@node-uo8.pool-125-24.dynamic.totinternet.net)
2021-04-30 12:54:01 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-30 12:54:56 <nut> in an Storable instance definition, i see: sizeOf _ = (#size Complex)
2021-04-30 12:55:11 <nut> What does (#size Complex) mean
2021-04-30 12:55:31 <nut> there's also (#peek Complex, re)
2021-04-30 12:55:55 <geekosaur> those are hsc2hs directives
2021-04-30 12:56:31 <nut> I see...
2021-04-30 12:56:58 <geekosaur> #size determines the size of a C type, and #peek copies a value from its C representation
2021-04-30 12:58:50 <nut> where can I find the complete doc for this? I see a bunch of other directives
2021-04-30 12:59:00 <nut> #const
2021-04-30 12:59:32 × Tesseraction quits (~Tesseract@unaffiliated/tesseraction) (Remote host closed the connection)
2021-04-30 12:59:44 ddellac__ joins (~ddellacos@86.106.143.138)
2021-04-30 13:00:11 <nut> hsc2hs has no docs...
2021-04-30 13:00:22 <geekosaur> https://ghc.gitlab.haskell.org/ghc/doc/users_guide/utils.html#writing-haskell-interfaces-to-c-code-hsc2hs they're part of the ghc docs
2021-04-30 13:00:46 <geekosaur> (linking to latest but I don't think hsc2hs has changed much if at all)
2021-04-30 13:01:44 <nut> thx
2021-04-30 13:02:27 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds)
2021-04-30 13:02:48 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
2021-04-30 13:02:53 hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net)
2021-04-30 13:03:13 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
2021-04-30 13:03:58 ukari joins (~ukari@unaffiliated/ukari)
2021-04-30 13:04:07 × ddellac__ quits (~ddellacos@86.106.143.138) (Ping timeout: 252 seconds)
2021-04-30 13:07:50 × LKoen quits (~LKoen@22.249.88.92.rev.sfr.net) (Remote host closed the connection)
2021-04-30 13:09:13 × Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 265 seconds)
2021-04-30 13:10:13 zebrag joins (~inkbottle@alagny-155-1-30-153.w83-200.abo.wanadoo.fr)
2021-04-30 13:10:31 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-30 13:10:56 × yaroot quits (~yaroot@138.102.13.160.dy.iij4u.or.jp) (Quit: The Lounge - https://thelounge.chat)
2021-04-30 13:10:59 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
2021-04-30 13:11:38 yaroot joins (~yaroot@138.102.13.160.dy.iij4u.or.jp)
2021-04-30 13:15:07 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 252 seconds)
2021-04-30 13:15:39 × enthropy quits (~aavogt@135-23-166-92.cpe.pppoe.ca) (Ping timeout: 268 seconds)
2021-04-30 13:16:19 dmytrish joins (~mitra@2a02:8084:a82:d900:61fb:ae9:64fb:f0ec)
2021-04-30 13:16:50 × zgrep quits (~zgrep@ircpuzzles/2015/april-fools/sixth/zgrep) (Quit: It's a quitter's world.)
2021-04-30 13:17:03 carlomagno joins (~cararell@148.87.23.13)
2021-04-30 13:17:47 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-04-30 13:18:20 zgrep joins (~zgrep@ircpuzzles/2015/april-fools/sixth/zgrep)
2021-04-30 13:19:31 ram19890 joins (~ram@49.205.84.15)
2021-04-30 13:20:19 Adam345 joins (~textual@2.133.253.255)
2021-04-30 13:21:33 slack1256 joins (~slack1256@181.203.70.3)
2021-04-30 13:23:13 minoru_shiraeesh joins (~shiraeesh@5.101.59.47)
2021-04-30 13:23:41 × tonlage quits (~tonlage@5.186.126.153.cgn.fibianet.dk) (Ping timeout: 240 seconds)
2021-04-30 13:24:09 slac19827 joins (~slack1256@191.113.245.191)
2021-04-30 13:25:45 × slac19827 quits (~slack1256@191.113.245.191) (Remote host closed the connection)
2021-04-30 13:26:03 nbloomf joins (~nbloomf@2600:1700:ad14:3020:217e:c027:1f9b:648c)
2021-04-30 13:26:17 × slack1256 quits (~slack1256@181.203.70.3) (Ping timeout: 252 seconds)
2021-04-30 13:28:55 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2021-04-30 13:29:08 Tario joins (~Tario@201.192.165.173)
2021-04-30 13:29:27 CrazyPython joins (~crazypyth@98.122.164.118)
2021-04-30 13:30:27 × kees1 quits (~kees@217.146.82.202) (Remote host closed the connection)
2021-04-30 13:30:31 × plutoniix quits (~q@node-uo8.pool-125-24.dynamic.totinternet.net) (Ping timeout: 252 seconds)
2021-04-30 13:30:34 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
2021-04-30 13:30:50 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 260 seconds)
2021-04-30 13:33:07 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832) (Ping timeout: 248 seconds)
2021-04-30 13:33:51 ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-30 13:37:20 LKoen joins (~LKoen@22.249.88.92.rev.sfr.net)
2021-04-30 13:38:13 × ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 252 seconds)
2021-04-30 13:40:11 × LKoen quits (~LKoen@22.249.88.92.rev.sfr.net) (Remote host closed the connection)
2021-04-30 13:40:50 Tario joins (~Tario@201.192.165.173)
2021-04-30 13:43:09 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
2021-04-30 13:43:20 <biglama> I'm trying do decode nested JSON but the catch is the nested JSON is encoded as a string, like this :
2021-04-30 13:43:20 <biglama> "{\"author\": \"{\\\"666\\\": \\\"Tolkien\\\"}\"}"
2021-04-30 13:43:40 <biglama> Any idea ? Here's my attempt (minimal example but not working : https://paste.tomsmeding.com/6dkT4jXG)
2021-04-30 13:43:50 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
2021-04-30 13:43:52 ukari joins (~ukari@unaffiliated/ukari)
2021-04-30 13:43:57 <biglama> https://paste.tomsmeding.com/6dkT4jXG *
2021-04-30 13:44:16 plutoniix joins (~q@node-upe.pool-125-24.dynamic.totinternet.net)
2021-04-30 13:44:22 tomsmeding wonders how you even got nested json
2021-04-30 13:44:39 <biglama> It's the API fault not me :(

All times are in UTC.