Logs: freenode/#haskell
| 2021-03-26 13:12:51 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-03-26 13:13:02 | × | codygman__ quits (~user@47.186.207.161) (Ping timeout: 246 seconds) |
| 2021-03-26 13:13:56 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-03-26 13:16:10 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-03-26 13:17:29 | → | coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) |
| 2021-03-26 13:18:29 | → | ep1ctetus joins (~epictetus@ip72-194-215-136.sb.sd.cox.net) |
| 2021-03-26 13:18:32 | → | geowiesnot joins (~user@87-89-181-157.abo.bbox.fr) |
| 2021-03-26 13:18:32 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 2021-03-26 13:19:03 | × | ep1ctetus quits (~epictetus@ip72-194-215-136.sb.sd.cox.net) (Client Quit) |
| 2021-03-26 13:20:39 | → | Tario joins (~Tario@201.192.165.173) |
| 2021-03-26 13:23:47 | ← | jakalx parts (~jakalx@base.jakalx.net) ("Error from remote client") |
| 2021-03-26 13:27:36 | → | carlomagno joins (~cararell@148.87.23.10) |
| 2021-03-26 13:29:36 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-03-26 13:29:52 | × | dunj3 quits (~dunj3@p200300f61714a6525a2c275a27c36a61.dip0.t-ipconnect.de) (Ping timeout: 276 seconds) |
| 2021-03-26 13:30:30 | → | kiweun joins (~kiweun@2607:fea8:2a62:9600:cc2d:7c73:dd8a:fcdb) |
| 2021-03-26 13:33:03 | → | heatsink joins (~heatsink@2600:1700:bef1:5e10:1cfc:5265:7008:dc13) |
| 2021-03-26 13:34:21 | × | geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed) |
| 2021-03-26 13:36:22 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:d71:c4d6:19f2:8fea) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-03-26 13:36:22 | × | zclod quits (97436407@151.67.100.7) (Ping timeout: 240 seconds) |
| 2021-03-26 13:37:29 | × | heatsink quits (~heatsink@2600:1700:bef1:5e10:1cfc:5265:7008:dc13) (Ping timeout: 245 seconds) |
| 2021-03-26 13:39:11 | × | geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 240 seconds) |
| 2021-03-26 13:39:14 | × | kiweun quits (~kiweun@2607:fea8:2a62:9600:cc2d:7c73:dd8a:fcdb) (Remote host closed the connection) |
| 2021-03-26 13:39:59 | × | stree quits (~stree@68.36.8.116) (Quit: Caught exception) |
| 2021-03-26 13:39:59 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Remote host closed the connection) |
| 2021-03-26 13:40:12 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 2021-03-26 13:40:23 | → | stree joins (~stree@68.36.8.116) |
| 2021-03-26 13:43:14 | → | lateef joins (~lateef@171.121.237.35.bc.googleusercontent.com) |
| 2021-03-26 13:43:30 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 2021-03-26 13:43:51 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 2021-03-26 13:45:53 | × | bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 265 seconds) |
| 2021-03-26 13:46:51 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:4818:ee4a:c1c4:4d1c) |
| 2021-03-26 13:48:39 | → | LKoen joins (~LKoen@191.254.88.92.rev.sfr.net) |
| 2021-03-26 13:48:55 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-03-26 13:49:22 | → | toorevitimirp joins (~tooreviti@117.182.181.200) |
| 2021-03-26 13:49:46 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-03-26 13:50:04 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood) |
| 2021-03-26 13:50:19 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-03-26 13:51:09 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Ping timeout: 240 seconds) |
| 2021-03-26 13:51:30 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 2021-03-26 13:51:31 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 2021-03-26 13:51:52 | → | ajc joins (~ajc@69.231.232.79) |
| 2021-03-26 13:53:37 | → | apeyroux joins (~alex@78.20.138.88.rev.sfr.net) |
| 2021-03-26 13:53:58 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds) |
| 2021-03-26 13:54:00 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-03-26 13:54:35 | × | Athas quits (athas@2a01:7c8:aaac:1cf:27d:bfc3:53ec:af53) (Quit: ZNC - http://znc.sourceforge.net) |
| 2021-03-26 13:54:45 | → | Athas joins (athas@sigkill.dk) |
| 2021-03-26 13:55:04 | × | drbean_ quits (~drbean@TC210-63-209-73.static.apol.com.tw) (Ping timeout: 265 seconds) |
| 2021-03-26 13:57:38 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-109-157.w86-212.abo.wanadoo.fr) |
| 2021-03-26 14:02:50 | × | ajc quits (~ajc@69.231.232.79) (Remote host closed the connection) |
| 2021-03-26 14:04:29 | → | viluon joins (uid453725@gateway/web/irccloud.com/x-ulkjdnxabzenaocu) |
| 2021-03-26 14:05:27 | → | ajc joins (~ajc@69.231.232.79) |
| 2021-03-26 14:06:26 | × | haritz quits (~hrtz@unaffiliated/haritz) (Ping timeout: 252 seconds) |
| 2021-03-26 14:09:44 | × | apeyroux quits (~alex@78.20.138.88.rev.sfr.net) (Ping timeout: 246 seconds) |
| 2021-03-26 14:19:53 | → | vpidurr joins (~jmdurr@ool-182e0115.dyn.optonline.net) |
| 2021-03-26 14:21:19 | <vpidurr> | Why would turning on heap profiling cause foreignptrs to get collected, without the RTS flags, but same compile flags, I have a leak in GPU memory which is managed in the foreignptr finalizers... (bad practice maybe...) I have tried forcing a GC every iteration but doesn't seem to matter. Hard to find the retainers when profiling causes it to go away |
| 2021-03-26 14:21:34 | → | Lycurgus joins (~niemand@98.4.119.196) |
| 2021-03-26 14:24:10 | → | v01d4lph4 joins (~v01d4lph4@106.212.133.35) |
| 2021-03-26 14:24:41 | → | Sorna joins (~Sornaensi@077213203030.dynamic.telenor.dk) |
| 2021-03-26 14:27:17 | → | acidjnk_new joins (~acidjnk@p200300d0c72b951261ba2baa5d07e392.dip0.t-ipconnect.de) |
| 2021-03-26 14:28:18 | × | Sornaensis quits (~Sornaensi@79.142.232.102.static.router4.bolignet.dk) (Ping timeout: 240 seconds) |
| 2021-03-26 14:28:54 | × | v01d4lph4 quits (~v01d4lph4@106.212.133.35) (Ping timeout: 265 seconds) |
| 2021-03-26 14:33:34 | → | bitmagie joins (~Thunderbi@200116b806ed0c00d91f12483d6bf205.dip.versatel-1u1.de) |
| 2021-03-26 14:36:24 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 2021-03-26 14:37:26 | → | atraii joins (~atraii@71.195.200.245) |
| 2021-03-26 14:38:41 | <merijn> | vpidurr: Maybe the pointers are getting floated out |
| 2021-03-26 14:39:03 | <merijn> | profiling has a tendency to break/disable float out optimisations |
| 2021-03-26 14:40:18 | <vpidurr> | thanks, I'll read about that some |
| 2021-03-26 14:41:25 | → | ovanr joins (2efb6496@46.251.100.150) |
| 2021-03-26 14:42:21 | <ukari> | I use a hack way to process error handling, but I think there might be some way to do this prettyly, does any one knows how to do this? Line 142 ~ Line 210 https://github.com/ukari/vulkan/blob/e48d5e5c1246c1058b6d05b79eb1a0301d091ccd/utils/src/Vulkan/Utils/Reflect.hs#L142 |
| 2021-03-26 14:42:22 | × | atraii quits (~atraii@71.195.200.245) (Ping timeout: 252 seconds) |
| 2021-03-26 14:43:40 | × | jrm quits (~jrm@freebsd/developer/jrm) (Quit: ciao) |
| 2021-03-26 14:44:05 | → | jrm joins (~jrm@freebsd/developer/jrm) |
| 2021-03-26 14:46:07 | <ukari> | for `instance Convert ShaderStage`, the function `from :: Text -> ShaderStage` has a `unsupport` case which throw a exception. and I check the unsupport value to determine which parser (for parse and for fail) to choose by catching the exception in guard |
| 2021-03-26 14:46:22 | → | Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net) |
| 2021-03-26 14:47:26 | × | bitmagie quits (~Thunderbi@200116b806ed0c00d91f12483d6bf205.dip.versatel-1u1.de) (Quit: bitmagie) |
| 2021-03-26 14:47:43 | → | Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
| 2021-03-26 14:48:27 | → | molehillish joins (~molehilli@2600:8800:8d06:1800:f8ba:265:7129:d312) |
| 2021-03-26 14:49:18 | <c_wraith> | ukari: the first thing to do is change the type of from in your Convert class to something like Text -> Either Text a |
| 2021-03-26 14:49:42 | → | mananamenos joins (~mananamen@62.red-88-11-67.dynamicip.rima-tde.net) |
| 2021-03-26 14:50:21 | <c_wraith> | ukari: then fix all the instances to return that type appropriately instead of throwing ConvertException |
| 2021-03-26 14:50:37 | L29Ah | summons catchToMaybe :: Exception e => IO a -> (e -> ()) -> IO (Maybe a) |
| 2021-03-26 14:50:56 | <c_wraith> | L29Ah: that's not the right answer here - none of this needs to involve IO in the first place |
| 2021-03-26 14:51:13 | <L29Ah> | c_wraith: i'm in fact referring to the earlier question about readFile |
| 2021-03-26 14:51:20 | <c_wraith> | Ah, ok |
| 2021-03-26 14:51:23 | <ukari> | oh |
| 2021-03-26 14:52:04 | <dminuoso> | maerwald: Oh that's a cute one too. I was rather thinking about the file being deleted in between, but that example is much more potent. |
| 2021-03-26 14:52:49 | <c_wraith> | ukari: basically, replace use of unsafePerformIO and exceptions with Either. Hackiness gone! |
| 2021-03-26 14:52:52 | <L29Ah> | it would be cute to use mere pattern-matching as an argument to catch a specific subset of exceptions, but it results in throwing a pattern-match exception on all the others if you want to avoid "otherwise" and "Bool" boilerplate |
| 2021-03-26 14:53:17 | <L29Ah> | maybe there's some magic i'm unaware of? |
| 2021-03-26 14:53:34 | → | haritz joins (~hrtz@62.3.70.206) |
| 2021-03-26 14:53:35 | × | haritz quits (~hrtz@62.3.70.206) (Changing host) |
| 2021-03-26 14:53:35 | → | haritz joins (~hrtz@unaffiliated/haritz) |
| 2021-03-26 14:53:37 | <L29Ah> | except TH, of course ;) |
| 2021-03-26 14:53:37 | <dminuoso> | L29Ah: Use an exception hierarchy. |
| 2021-03-26 14:53:48 | <dminuoso> | Then you can catch an intermediate exception type |
| 2021-03-26 14:53:58 | → | petersen joins (~petersen@redhat/juhp) |
| 2021-03-26 14:54:17 | <merijn> | L29Ah: That's already possible, the paper linked from Control.Exception explains how :p |
| 2021-03-26 14:54:53 | <L29Ah> | it refers to three papers and links none of them :[ |
| 2021-03-26 14:55:02 | <merijn> | The bottom one, iirc? |
| 2021-03-26 14:55:08 | <merijn> | Google Scholar is your friend :) |
All times are in UTC.