Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 398 399 400 401 402 403 404 405 406 407 408 .. 17996
1,799,568 events total
2021-06-11 11:50:42 × xprlgjf quits (~gavin@60.27.93.209.dyn.plus.net) (Remote host closed the connection)
2021-06-11 11:51:16 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-11 11:51:26 trent1 joins (~trent@2001:8003:340d:d00:b2de:b98:7a93:b0ea)
2021-06-11 11:52:34 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171) (Ping timeout: 245 seconds)
2021-06-11 11:52:57 dunkeln joins (~dunkeln@94.129.65.28)
2021-06-11 11:53:33 × vpan quits (~vpan@212.117.1.172) (Quit: Client closed)
2021-06-11 11:55:29 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 245 seconds)
2021-06-11 11:58:08 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
2021-06-11 11:58:49 × sm2n quits (~sm2n@user/sm2n) (Ping timeout: 245 seconds)
2021-06-11 12:03:56 nsilv joins (~nsilv@212.103.198.210)
2021-06-11 12:04:30 × pe200012_ quits (~pe200012@120.236.161.38) (Ping timeout: 264 seconds)
2021-06-11 12:05:08 × pbrisbin quits (~patrick@pool-72-92-38-164.phlapa.fios.verizon.net) (Ping timeout: 272 seconds)
2021-06-11 12:05:17 pe200012 joins (~pe200012@183.63.73.36)
2021-06-11 12:08:28 <tomsmeding> xerox: fixed
2021-06-11 12:08:28 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171)
2021-06-11 12:08:58 <xerox> tomsmeding: grand
2021-06-11 12:09:28 <tomsmeding> if someone now tries to submit a non-utf-8 paste the server gives you a red-hot 400 Invalid Request :p
2021-06-11 12:09:41 tomsmeding wonders if there's invalid utf8 in the existing pastes
2021-06-11 12:10:27 teaSlurper joins (~chris@81.96.113.213)
2021-06-11 12:10:30 × dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 264 seconds)
2021-06-11 12:13:22 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171) (Ping timeout: 268 seconds)
2021-06-11 12:15:06 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
2021-06-11 12:18:17 × sheepduck quits (~sheepduck@2607:fea8:2a61:4800::3ae6) (Remote host closed the connection)
2021-06-11 12:18:36 sheepduck joins (~sheepduck@2607:fea8:2a61:4800::6b7b)
2021-06-11 12:18:49 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 245 seconds)
2021-06-11 12:20:14 × spoonm quits (spoonm@inaba.spoonm.org) (Quit: ZNC - https://znc.in)
2021-06-11 12:21:01 spoonm joins (spoonm@inaba.spoonm.org)
2021-06-11 12:22:16 × v01d4lph4 quits (~v01d4lph4@user/v01d4lph4) (Remote host closed the connection)
2021-06-11 12:23:05 × chomwitt quits (~Pitsikoko@athedsl-20549.home.otenet.gr) (Quit: Leaving)
2021-06-11 12:23:05 <tomsmeding> there was one, submitted by me, and it's now gone :)
2021-06-11 12:25:27 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2021-06-11 12:25:29 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-11 12:26:31 <Clint> which encoding was it?
2021-06-11 12:28:32 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171)
2021-06-11 12:30:05 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds)
2021-06-11 12:31:41 themc47 joins (~mc47@xmonad/TheMC47)
2021-06-11 12:32:24 × teaSlurper quits (~chris@81.96.113.213) (Remote host closed the connection)
2021-06-11 12:32:59 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171) (Ping timeout: 245 seconds)
2021-06-11 12:33:54 × mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 264 seconds)
2021-06-11 12:37:16 teaSlurper joins (~chris@81.96.113.213)
2021-06-11 12:42:06 dunkeln joins (~dunkeln@94.129.65.28)
2021-06-11 12:42:11 × teaSlurper quits (~chris@81.96.113.213) (Ping timeout: 265 seconds)
2021-06-11 12:43:37 pbrisbin joins (~patrick@pool-72-92-38-164.phlapa.fios.verizon.net)
2021-06-11 12:44:41 bontaq` joins (~user@ool-18e47f8d.dyn.optonline.net)
2021-06-11 12:45:07 bontaq` is now known as bontaq
2021-06-11 12:45:11 <Maxdamantus> My preference would be to just accept the binary data and relay it back, saying it's UTF-8.
2021-06-11 12:45:36 <Maxdamantus> There's a reason that the charset is part of the "Content-type".
2021-06-11 12:46:34 <Maxdamantus> It's just informative. Something that's dealing with the content as files or streams shouldn't have to interpret it according to the content-type.
2021-06-11 12:47:15 <Maxdamantus> When your browser downloads a file, it doesn't mess with the bytes based on the content-type. It just copies the bytes to the filesystem.
2021-06-11 12:47:57 oxide joins (~lambda@user/oxide)
2021-06-11 12:48:42 <Maxdamantus> (and the reason for saying it's UTF-8 is just that UTF-8 should be the default nowadays, but obviously some things have to assume different defaults for historical reasons)
2021-06-11 12:49:00 <merijn> Maxdamantus: eh...when you open a file *in* the browser it definitely has to do something depending on content-type
2021-06-11 12:49:20 <Maxdamantus> merijn: sure, when it's rendering it.
2021-06-11 12:49:22 <merijn> Maxdamantus: I'm not really sure why you're talking about downloading, tbh.
2021-06-11 12:49:34 <Maxdamantus> merijn: beacuse it's analogous to uploading.
2021-06-11 12:49:42 <merijn> It was about the raw view on a paste site
2021-06-11 12:49:59 <merijn> Clearly the browser is expected to *render* the text presented
2021-06-11 12:50:07 × curiousgay quits (~quassel@178.217.208.8) (Read error: Connection reset by peer)
2021-06-11 12:50:19 × themc47 quits (~mc47@xmonad/TheMC47) (Quit: Leaving)
2021-06-11 12:50:30 curiousgay joins (~quassel@178.217.208.8)
2021-06-11 12:50:46 <Maxdamantus> Sure, and that will all work out fine if the original data was valid UTF-8.
2021-06-11 12:51:31 <Maxdamantus> If it wasn't valid UTF-8, the main thing should be that the browser should not crash, which it probably doesn't.
2021-06-11 12:51:50 <Maxdamantus> But there isn't really any reason to reject the upload if it's invalid.
2021-06-11 12:52:03 <merijn> I see no reason why it shouldn't correctly render utf-16 or whatever if the webserver properly tracks it
2021-06-11 12:52:08 <Maxdamantus> and if possible, it should preserve the data instead of corrupting it with replacement characters.
2021-06-11 12:53:46 <Maxdamantus> You mean relaying back the original charset provided in the upload?
2021-06-11 12:54:16 <Maxdamantus> That seems a bit dodgy to me.
2021-06-11 12:54:57 <Maxdamantus> If you want to do something with the uploaded charset, it would probably be better to just convert it to UTF-8 on upload IFF a different charset is explicitly provided.
2021-06-11 12:56:02 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-11 12:56:11 <Maxdamantus> If you're sometimes sending charset=utf-8 and sometimes sending charset=utf-16 and sometimes sending charset=8859-1, that's probably just going to lead to more difficulties when diagnosing behaviour of users' clients.
2021-06-11 12:56:21 jolly joins (~jolly@208.180.97.158)
2021-06-11 12:56:37 Kaipi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net)
2021-06-11 12:56:51 <Maxdamantus> If you're always sending charset=utf-8, at least clients should mostly handle the pastes the same way.
2021-06-11 12:57:50 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
2021-06-11 12:58:32 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Ping timeout: 264 seconds)
2021-06-11 12:58:58 <octeep> Is there a library for getting the machine's network interfaces and their corresponding addresses in Haskell?
2021-06-11 12:59:31 <octeep> Can't seem to find anything in the network library
2021-06-11 12:59:34 <Maxdamantus> If I look at a paste in my browser and the server relays back `charset=utf-16`, my browser might show it okay, but if I curl the raw URL, I'm going to get some gibberish in my terminal.
2021-06-11 13:00:09 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Remote host closed the connection)
2021-06-11 13:00:18 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-11 13:01:15 alx741 joins (~alx741@186.178.108.59)
2021-06-11 13:05:17 × haltux quits (~haltux@a89-154-181-47.cpe.netcabo.pt) (Ping timeout: 252 seconds)
2021-06-11 13:05:36 <merijn> octeep: Doubt it
2021-06-11 13:05:48 <merijn> octeep: But wrapping the relevant C calls should be easy enough
2021-06-11 13:06:24 × neceve quits (~quassel@2a02:c7f:607e:d600:a95a:ecd2:e57a:3130) (Ping timeout: 244 seconds)
2021-06-11 13:06:48 <merijn> (well, easy enough of you know C already, moderately difficult if you don't)
2021-06-11 13:13:59 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2021-06-11 13:16:02 betelgeuse joins (~john2gb@94-225-47-8.access.telenet.be)
2021-06-11 13:25:10 × Morrow quits (~Morrow@bzq-110-168-31-106.red.bezeqint.net) (Read error: Connection reset by peer)
2021-06-11 13:26:58 <jjhoo> https://hackage.haskell.org/package/network-info ?
2021-06-11 13:27:40 Morrow joins (~Morrow@bzq-110-168-31-106.red.bezeqint.net)
2021-06-11 13:28:14 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
2021-06-11 13:28:41 reumeth joins (~reumeth@user/reumeth)
2021-06-11 13:29:18 <maerwald> cross platform even
2021-06-11 13:29:23 <maerwald> that must have been annoying
2021-06-11 13:29:51 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171)
2021-06-11 13:30:15 <merijn> Some people just like pain
2021-06-11 13:31:56 teaSlurper joins (~chris@81.96.113.213)
2021-06-11 13:34:14 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:1d2f:92ad:f3ce:a171) (Ping timeout: 245 seconds)
2021-06-11 13:35:13 <tomsmeding> Clint: it was random bytes :p

All times are in UTC.