Logs: freenode/#haskell
| 2021-03-17 18:38:46 | → | elfets_ joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) |
| 2021-03-17 18:38:55 | <iphy> | https://downloads.haskell.org/~ghc/8.0.1/docs/html/libraries/binary-0.8.3.0/Data-Binary-Get.html#v:isolate <- so this does not exist for attoparsec? |
| 2021-03-17 18:39:12 | <solidus-river> | yeah, i'm ending up using fix a lot to do one off tail recursive loops and i'm wondering if i'm getting used to an anti patturn or if thats just the way things go when doing a lot of iterative IO as a driving force in a thread |
| 2021-03-17 18:39:37 | <solidus-river> | i don't know why I added a yeah there :X |
| 2021-03-17 18:40:59 | × | hololeap quits (~hololeap@unaffiliated/hololeap) (Read error: Connection reset by peer) |
| 2021-03-17 18:41:47 | × | darjeeling_ quits (~darjeelin@122.245.218.190) (Ping timeout: 265 seconds) |
| 2021-03-17 18:42:20 | → | Ishutin_ joins (~ishutin@94-21-131-78.pool.digikabel.hu) |
| 2021-03-17 18:42:44 | → | jumper141 joins (~jumper149@ip185225.wh.uni-hannover.de) |
| 2021-03-17 18:43:06 | × | jumper141 quits (~jumper149@ip185225.wh.uni-hannover.de) (Client Quit) |
| 2021-03-17 18:44:40 | × | notzmv quits (~zmv@unaffiliated/zmv) (Ping timeout: 276 seconds) |
| 2021-03-17 18:45:14 | <solidus-river> | switching from polling to sleeping and then checking if hte condition still holds makes things way cleaner in code |
| 2021-03-17 18:46:23 | → | hololeap joins (~hololeap@unaffiliated/hololeap) |
| 2021-03-17 18:46:33 | × | zaquest quits (~notzaques@5.128.210.178) (*.net *.split) |
| 2021-03-17 18:46:33 | × | Ishutin quits (~ishutin@94-21-131-78.pool.digikabel.hu) (*.net *.split) |
| 2021-03-17 18:46:33 | × | Sorna quits (~Sornaensi@154.6.18.32) (*.net *.split) |
| 2021-03-17 18:46:33 | × | roconnor quits (~roconnor@host-45-58-230-226.dyn.295.ca) (*.net *.split) |
| 2021-03-17 18:46:33 | × | ep1ctetus quits (~epictetus@ip72-194-215-136.sb.sd.cox.net) (*.net *.split) |
| 2021-03-17 18:46:33 | × | Wuzzy quits (~Wuzzy@p57a2ecf2.dip0.t-ipconnect.de) (*.net *.split) |
| 2021-03-17 18:46:33 | × | Jd007 quits (~Jd007@162.156.11.151) (*.net *.split) |
| 2021-03-17 18:46:33 | × | alx741 quits (~alx741@186.178.109.138) (*.net *.split) |
| 2021-03-17 18:46:33 | × | urodna quits (~urodna@unaffiliated/urodna) (*.net *.split) |
| 2021-03-17 18:46:33 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (*.net *.split) |
| 2021-03-17 18:46:33 | × | jumper149 quits (~jumper149@ip185225.wh.uni-hannover.de) (*.net *.split) |
| 2021-03-17 18:46:33 | × | glamas quits (~glamas@107.182.17.237) (*.net *.split) |
| 2021-03-17 18:47:13 | × | DataComputist quits (~lumeng@50.43.26.251) (Quit: Leaving...) |
| 2021-03-17 18:47:55 | <shapr> | ocharles: I think I've broken weeder entirely, I can't get it to report any weeds at all, even with the most minimal of contents in weeder.dhall |
| 2021-03-17 18:48:33 | × | elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 264 seconds) |
| 2021-03-17 18:51:35 | × | romesrf quits (~romesrf@44.190.189.46.rev.vodafone.pt) (Quit: WeeChat 3.1) |
| 2021-03-17 18:52:47 | → | zaquest joins (~notzaques@5.128.210.178) |
| 2021-03-17 18:52:49 | → | glamas_ joins (~glamas@107.182.17.237) |
| 2021-03-17 18:54:01 | → | darjeeling_ joins (~darjeelin@122.245.217.128) |
| 2021-03-17 18:54:22 | → | alx741 joins (~alx741@186.178.109.138) |
| 2021-03-17 18:54:28 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 2021-03-17 18:55:06 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-03-17 18:55:18 | × | chele quits (~chele@ip5b40237d.dynamic.kabel-deutschland.de) (Remote host closed the connection) |
| 2021-03-17 18:55:19 | → | elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) |
| 2021-03-17 18:56:30 | → | notzmv joins (~zmv@unaffiliated/zmv) |
| 2021-03-17 18:58:15 | → | waleee-cl joins (uid373333@gateway/web/irccloud.com/x-fvkpewqjehdvcehc) |
| 2021-03-17 18:59:53 | × | Ranhir quits (~Ranhir@157.97.53.139) (Read error: Connection reset by peer) |
| 2021-03-17 19:00:38 | × | frozenErebus quits (~frozenEre@37.231.243.22) (Ping timeout: 265 seconds) |
| 2021-03-17 19:00:44 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-03-17 19:01:00 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 256 seconds) |
| 2021-03-17 19:04:05 | <maralorn> | I have a an unforced ~5MB Lazy Text from a Lazy IO and I would like to get it’s length without my running out of memory (it leaks until 15GB, then my RAM is full). What can I do? |
| 2021-03-17 19:04:57 | → | pjb joins (~t@2a01cb04063ec500180c10bfcb2533c4.ipv6.abo.wanadoo.fr) |
| 2021-03-17 19:06:32 | → | jneira joins (501e6406@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.100.6) |
| 2021-03-17 19:07:07 | <shapr> | sounds like you want a lazy list that only looks at the spine |
| 2021-03-17 19:07:22 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-03-17 19:08:43 | <davean> | maralorn: how are you running out of memory with getting the length? I feel something else is going on here. |
| 2021-03-17 19:09:11 | <maralorn> | davean: Yeah, the longer I think about this, the less sense it makes. |
| 2021-03-17 19:09:31 | <maralorn> | It’s not the lazy IO because the attoparsec parser actually terminates … |
| 2021-03-17 19:10:00 | × | heatsink quits (~heatsink@2600:1700:bef1:5e10:f837:3533:97b:1f44) (Remote host closed the connection) |
| 2021-03-17 19:10:30 | → | RandomArcher joins (~RandomArc@90.153.229.170) |
| 2021-03-17 19:10:30 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 2021-03-17 19:11:02 | × | RandomArcher quits (~RandomArc@90.153.229.170) (Max SendQ exceeded) |
| 2021-03-17 19:11:36 | → | RandomArcher joins (~RandomArc@90.153.229.170) |
| 2021-03-17 19:12:01 | × | RandomArcher quits (~RandomArc@90.153.229.170) (Max SendQ exceeded) |
| 2021-03-17 19:15:22 | → | conal joins (~conal@64.71.133.70) |
| 2021-03-17 19:17:14 | → | Ranhir joins (~Ranhir@157.97.53.139) |
| 2021-03-17 19:17:14 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-17 19:17:33 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-17 19:18:50 | → | ADG1089__ joins (~aditya@106.214.253.186) |
| 2021-03-17 19:18:56 | × | mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Ping timeout: 268 seconds) |
| 2021-03-17 19:20:02 | <maralorn> | Hm, yeah, so apparently nix-derivation Nix.Derivation.parseDerivation has something evil hidden in the thunk I am trying to force … It’s certainly doing more than just reading the variable out of the derivation file. (Which is weird, cause I don‘t see any reason for it to do anything else.) |
| 2021-03-17 19:20:25 | <maralorn> | I can‘t even do a Text.take 0 on the value. |
| 2021-03-17 19:20:29 | → | esp32_prog joins (esp32_prog@gateway/vpn/mullvad/esp32prog/x-46565127) |
| 2021-03-17 19:20:41 | → | frozenErebus joins (~frozenEre@37.231.243.22) |
| 2021-03-17 19:21:53 | <tomsmeding> | maralorn: run with profiling and +RTS -p and look what's taking lots of time? |
| 2021-03-17 19:24:34 | × | ADG1089__ quits (~aditya@106.214.253.186) (Remote host closed the connection) |
| 2021-03-17 19:25:47 | → | ADG1089__ joins (~aditya@106.214.253.186) |
| 2021-03-17 19:26:04 | → | kupi joins (uid212005@gateway/web/irccloud.com/x-tdvzqgwujuhompnu) |
| 2021-03-17 19:28:23 | ← | lynx__ parts (~lynx_@117.222.66.23) () |
| 2021-03-17 19:29:09 | → | mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan) |
| 2021-03-17 19:30:12 | → | idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-03-17 19:30:28 | × | drakonis quits (~drakonis@unaffiliated/drakonis) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-03-17 19:30:44 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-17 19:30:49 | × | elfets_ quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 276 seconds) |
| 2021-03-17 19:30:54 | × | ADG1089__ quits (~aditya@106.214.253.186) (Remote host closed the connection) |
| 2021-03-17 19:30:58 | → | jumper149 joins (~jumper149@ip185225.wh.uni-hannover.de) |
| 2021-03-17 19:31:08 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-17 19:32:23 | × | xelxebar quits (~xelxebar@gateway/tor-sasl/xelxebar) (Quit: ZNC 1.7.2+deb3 - https://znc.in) |
| 2021-03-17 19:32:53 | → | xelxebar joins (~xelxebar@gateway/tor-sasl/xelxebar) |
| 2021-03-17 19:32:56 | → | elliott__ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) |
| 2021-03-17 19:34:11 | → | drakonis joins (~drakonis@unaffiliated/drakonis) |
| 2021-03-17 19:36:09 | <__minoru__shirae> | I'm reading about "bracket" function from Control.Exception |
| 2021-03-17 19:36:25 | <__minoru__shirae> | bracket before after thing |
| 2021-03-17 19:37:21 | <__minoru__shirae> | I don't understand the "only one blocking operation in before" part in this text: |
| 2021-03-17 19:37:30 | → | kam1 joins (~kam1@83.123.237.152) |
| 2021-03-17 19:37:30 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-17 19:37:41 | <__minoru__shirae> | <quote> |
| 2021-03-17 19:37:43 | <__minoru__shirae> | The IO actions passed in as before and after are performed inside mask . |
| 2021-03-17 19:37:44 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-17 19:37:53 | <__minoru__shirae> | The bracket |
| 2021-03-17 19:37:55 | <__minoru__shirae> | function guarantees that if before returns, after will be executed in the future. |
| 2021-03-17 19:38:26 | <__minoru__shirae> | It is normal for before to contain a blocking operation; if an exception is raised while before is blocked, then no harm is done. |
| 2021-03-17 19:38:47 | <__minoru__shirae> | But before should perform only one blocking operation. |
| 2021-03-17 19:39:08 | <__minoru__shirae> | An exception raised by a second blocking operation would not result in after being executed. |
| 2021-03-17 19:39:32 | <__minoru__shirae> | If you need to perform two blocking operations, the right way is to nest calls to bracket , as we did with modifyMVar . |
| 2021-03-17 19:39:35 | → | ADG1089__ joins (~aditya@106.214.253.186) |
| 2021-03-17 19:39:37 | <__minoru__shirae> | </quote> |
| 2021-03-17 19:40:07 | × | ADG1089__ quits (~aditya@106.214.253.186) (Remote host closed the connection) |
All times are in UTC.