Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-23 18:28:52 <wroathe> monochrom: If all we're talking is practice
2021-04-23 18:29:13 <monochrom> In practice, what I have seen:
2021-04-23 18:29:22 <monochrom> 1. tags are always in ascii
2021-04-23 18:29:32 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-23 18:29:39 <jrp> Thanks for your suggestions monochrom minoru_shiraeesh geekosaur
2021-04-23 18:29:40 <monochrom> 2. people can declare one encoding and use another
2021-04-23 18:29:40 <hyperisco> what encodings are you running into that are not compatible with ASCII?
2021-04-23 18:29:47 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Remote host closed the connection)
2021-04-23 18:29:58 <maerwald> there's a way to auto-detect encoding
2021-04-23 18:30:02 <wroathe> monochrom: #2 is a really good point
2021-04-23 18:30:08 olabaz parts (~olabian@ool-2f1268f1.dyn.optonline.net) ("WeeChat 2.3")
2021-04-23 18:31:24 <maerwald> https://hackage.haskell.org/package/charsetdetect-1.1.0.2
2021-04-23 18:31:29 <monochrom> 0. The overarching observation: people cargo-cult from other people and never actually read the spec like you do
2021-04-23 18:31:44 <maerwald> there was a newer one
2021-04-23 18:31:59 <monochrom> this is why they don't know that class="λ" is a thing.
2021-04-23 18:32:03 <wroathe> maerwald: That's awesome. Thanks for the link.
2021-04-23 18:32:12 <hyperisco> if only there was a way to detect when a JSON or XML document was served with text/html media type
2021-04-23 18:32:44 <monochrom> this is why they declare one encoding then use another. Their editor is set to the latter, but they plagiarize from an HTML file that uses the former.
2021-04-23 18:33:15 <wroathe> hyperisco: Well, the JSON detection is a bit easier to do
2021-04-23 18:33:26 lordcirth_ joins (~lordcirth@2607:f2c0:95b3:4400:11af:5eb6:2b18:3df9)
2021-04-23 18:33:32 <wroathe> hyperisco: Because < isn't the beginning of a valid JSON token
2021-04-23 18:33:45 <wroathe> hyperisco: And for XML it would require more advanced heuristics
2021-04-23 18:34:02 <wroathe> hyperisco: Like detecting if there's an XML DTD
2021-04-23 18:34:39 <hyperisco> well you better get on it because there are PHP backends serving the wrong media type everywhere
2021-04-23 18:34:48 <wroathe> hyperisco: hahahaha
2021-04-23 18:35:46 <maerwald> wroathe: https://hackage.haskell.org/package/charsetdetect-ae
2021-04-23 18:35:49 <maerwald> there's another one
2021-04-23 18:35:53 × lordcirth__ quits (~lordcirth@2607:f2c0:95b3:4400:11af:5eb6:2b18:3df9) (Ping timeout: 250 seconds)
2021-04-23 18:38:07 × juuandyy quits (~juuandyy@90.106.228.121) (Quit: Konversation terminated!)
2021-04-23 18:38:47 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-23 18:39:02 juuandyy joins (~juuandyy@90.106.228.121)
2021-04-23 18:39:14 <dexterfoo> I added "HasCallStack" constraint to my function. Now my function calls itself (tail-)recursively. When I print the callstack i see all of the recursive calls. How can I make the function recursively call itself without adding another stack frame? freezing the callstack doesn't work because then when I call other functions I don't get the added stackframes
2021-04-23 18:41:54 kritzefitz joins (~kritzefit@212.86.56.80)
2021-04-23 18:42:32 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 240 seconds)
2021-04-23 18:43:47 <geekosaur> dexterfoo, delegate the recursive call to a subfunction? foo x y z = go x y z where go a b c = ... (and no HasCallStack constraint)
2021-04-23 18:44:46 <dexterfoo> geekosaur: thanks, i will try
2021-04-23 18:46:50 kiweun joins (~kiweun@2607:fea8:2a62:9600:683e:b1da:22d6:55f2)
2021-04-23 18:47:11 seven_three parts (~user@pool-96-233-64-53.bstnma.fios.verizon.net) ("ERC (IRC client for Emacs 27.2)")
2021-04-23 18:48:35 titusg joins (~user@2a00:23c6:ab80:c700:766e:b64a:8e02:8707)
2021-04-23 18:50:58 lordcirth__ joins (~lordcirth@2607:f2c0:95b3:4400:11af:5eb6:2b18:3df9)
2021-04-23 18:51:03 × kiweun quits (~kiweun@2607:fea8:2a62:9600:683e:b1da:22d6:55f2) (Ping timeout: 250 seconds)
2021-04-23 18:52:32 × clynamen quits (~clynamen@net-93-66-1-11.cust.vodafonedsl.it) (Quit: ZNC 1.7.5 - https://znc.in)
2021-04-23 18:53:43 × lordcirth_ quits (~lordcirth@2607:f2c0:95b3:4400:11af:5eb6:2b18:3df9) (Ping timeout: 276 seconds)
2021-04-23 18:54:56 clynamen joins (~clynamen@net-93-66-1-11.cust.vodafonedsl.it)
2021-04-23 19:00:15 Guest6509 joins (~laudiacay@67.176.215.84)
2021-04-23 19:04:36 × philderbeast quits (~textual@bras-base-vldvpq5901w-grc-06-184-144-244-252.dsl.bell.ca) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-23 19:04:41 × Guest6509 quits (~laudiacay@67.176.215.84) (Ping timeout: 240 seconds)
2021-04-23 19:05:03 × s00pcan quits (~chris@107.181.165.217) (Ping timeout: 252 seconds)
2021-04-23 19:05:18 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-04-23 19:06:50 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
2021-04-23 19:08:16 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:08:48 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:10:01 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds)
2021-04-23 19:10:29 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:12:13 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:12:24 malumore joins (~malumore@151.62.127.162)
2021-04-23 19:12:51 × koluacik quits (~koluacik@134.122.28.77) (Ping timeout: 248 seconds)
2021-04-23 19:13:46 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:14:01 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:14:16 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Remote host closed the connection)
2021-04-23 19:14:20 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-23 19:14:34 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:14:38 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:14:54 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving)
2021-04-23 19:16:17 koluacik joins (~koluacik@134.122.28.77)
2021-04-23 19:17:35 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
2021-04-23 19:21:51 × rajivr quits (uid269651@gateway/web/irccloud.com/x-llmsuyffzjhsmytj) (Quit: Connection closed for inactivity)
2021-04-23 19:22:20 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-04-23 19:27:12 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
2021-04-23 19:27:56 Synthetica joins (uid199651@gateway/web/irccloud.com/x-jigmslouldxhdupx)
2021-04-23 19:28:32 __minoru__shirae joins (~shiraeesh@46.34.206.138)
2021-04-23 19:28:43 × minoru_shiraeesh quits (~shiraeesh@46.34.206.15) (Ping timeout: 252 seconds)
2021-04-23 19:31:37 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:32:39 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:33:33 × stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds)
2021-04-23 19:35:16 __monty__ joins (~toonn@unaffiliated/toonn)
2021-04-23 19:38:12 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
2021-04-23 19:39:58 Lycurgus joins (~niemand@98.4.118.65)
2021-04-23 19:40:05 × juuandyy quits (~juuandyy@90.106.228.121) (Quit: Konversation terminated!)
2021-04-23 19:41:22 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-04-23 19:41:50 lawr3nce_ joins (~lawr3nce@gateway/tor-sasl/lawr3nce)
2021-04-23 19:42:32 dmytrish joins (~mitra@2a02:8084:a82:d900:6010:2869:d10:372c)
2021-04-23 19:42:45 × lawr3nce quits (~lawr3nce@gateway/tor-sasl/lawr3nce) (Ping timeout: 240 seconds)
2021-04-23 19:46:29 stree joins (~stree@68.36.8.116)
2021-04-23 19:46:45 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:46:59 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:49:26 lordcirth_ joins (~lordcirth@2607:f2c0:95b3:4400:11af:5eb6:2b18:3df9)
2021-04-23 19:51:52 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-23 19:52:05 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Remote host closed the connection)
2021-04-23 19:52:09 × lordcirth__ quits (~lordcirth@2607:f2c0:95b3:4400:11af:5eb6:2b18:3df9) (Ping timeout: 250 seconds)
2021-04-23 19:52:40 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-04-23 19:56:32 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
2021-04-23 19:59:02 CrazyPython joins (~crazypyth@98.122.164.118)
2021-04-23 19:59:24 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-23 20:00:39 Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362)
2021-04-23 20:00:55 × dmytrish quits (~mitra@2a02:8084:a82:d900:6010:2869:d10:372c) (Ping timeout: 260 seconds)
2021-04-23 20:01:06 × roconnor quits (~roconnor@host-45-58-225-218.dyn.295.ca) (Ping timeout: 265 seconds)
2021-04-23 20:02:04 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 265 seconds)
2021-04-23 20:03:12 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-23 20:03:28 roconnor joins (~roconnor@host-45-58-225-218.dyn.295.ca)

All times are in UTC.