Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-24 19:59:39 irc_user joins (uid423822@gateway/web/irccloud.com/x-unailobkgqldbboi)
2021-03-24 19:59:54 <monochrom> But the trick is really clever and beautiful.
2021-03-24 20:01:20 <L29Ah> https://hackage.haskell.org/package/bytestring-0.11.0.0/docs/Data-ByteString-Internal.html#v:fromForeignPtr
2021-03-24 20:01:21 <L29Ah> is the data referred by the pointer going to be free()d during the GC of the ByteString?
2021-03-24 20:02:03 Sorna joins (~Sornaensi@077213203030.dynamic.telenor.dk)
2021-03-24 20:02:33 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-03-24 20:02:33 × emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer)
2021-03-24 20:02:40 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-03-24 20:03:03 emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com)
2021-03-24 20:03:30 <monochrom> The input foreign pointer is supposed to come with its own finalizer installed before you give it to fromForeignPtr.
2021-03-24 20:03:42 <L29Ah> thanks!
2021-03-24 20:03:48 × mp___ quits (mp@hell.cx) (Ping timeout: 246 seconds)
2021-03-24 20:03:53 L29Ah feels he found a big chunk of memory leaks on Hackage
2021-03-24 20:04:02 <maerwald> tomsmeding: so you think the decoder won't break fusion?
2021-03-24 20:05:32 × petersen quits (~petersen@redhat/juhp) (Ping timeout: 260 seconds)
2021-03-24 20:05:57 × Sornaensis quits (~Sornaensi@79.142.232.102.static.router4.bolignet.dk) (Ping timeout: 264 seconds)
2021-03-24 20:06:00 <Uniaika> L29Ah: nice
2021-03-24 20:06:17 × Yumasi quits (~guillaume@static-176-175-104-214.ftth.abo.bbox.fr) (Ping timeout: 265 seconds)
2021-03-24 20:08:23 petersen joins (~petersen@redhat/juhp)
2021-03-24 20:08:25 <tomsmeding> maerwald: which decoder? my ad-hoc modified version of streamUtf16LE?
2021-03-24 20:08:31 <tomsmeding> I have no idea :)
2021-03-24 20:08:55 <tomsmeding> monochrom seems to believe fusion has a high chance of working on your seemingly-inefficient pipeline
2021-03-24 20:08:58 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
2021-03-24 20:09:17 <tomsmeding> I'm ¯\_(ツ)_/¯
2021-03-24 20:09:17 × emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer)
2021-03-24 20:09:39 emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com)
2021-03-24 20:09:55 × Benzi-Junior quits (~BenziJuni@dsl-149-67-143.hive.is) (Ping timeout: 244 seconds)
2021-03-24 20:11:43 × knupfer quits (~Thunderbi@i59F7FF52.versanet.de) (Ping timeout: 245 seconds)
2021-03-24 20:14:44 × v01d4lph4 quits (~v01d4lph4@106.212.133.35) (Remote host closed the connection)
2021-03-24 20:15:04 apache8080 joins (~rishi@wsip-70-168-153-252.oc.oc.cox.net)
2021-03-24 20:18:37 × geekosaur quits (42d52137@66.213.33.55) (Quit: Connection closed)
2021-03-24 20:19:14 × nuncanada quits (~dude@179.235.160.168) (Read error: Connection reset by peer)
2021-03-24 20:22:21 kiweun joins (~kiweun@2607:fea8:2a62:9600:dd2c:1d97:d88b:9897)
2021-03-24 20:24:02 × xourt quits (d4c620ea@212-198-32-234.rev.numericable.fr) (Ping timeout: 240 seconds)
2021-03-24 20:25:12 unlink2 joins (~unlink2@p200300ebcf254d00a495fbc96206c979.dip0.t-ipconnect.de)
2021-03-24 20:26:32 × unlink_ quits (~unlink2@p200300ebcf13b600588c7881abb1ea42.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2021-03-24 20:30:55 × LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Remote host closed the connection)
2021-03-24 20:30:59 × kiweun quits (~kiweun@2607:fea8:2a62:9600:dd2c:1d97:d88b:9897) (Read error: Connection reset by peer)
2021-03-24 20:31:35 kiweun joins (~kiweun@2607:fea8:2a62:9600:dd2c:1d97:d88b:9897)
2021-03-24 20:33:11 LKoen joins (~LKoen@194.250.88.92.rev.sfr.net)
2021-03-24 20:33:26 × hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:a7dd:a3bb:c8b0:2d88) (Ping timeout: 240 seconds)
2021-03-24 20:34:22 tato joins (~tato@201.209.92.147)
2021-03-24 20:36:09 tato is now known as scaryGarry
2021-03-24 20:36:09 <L29Ah> https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4585 do i get it right that this changeset doesn't demand all the libs to be rebuilt to take the advantage of PINNED profiling?
2021-03-24 20:36:54 L29Ah gets insanely small numbers in his profiles that don't reflect the amount of memory consumed
2021-03-24 20:37:05 <L29Ah> maybe because i applied it on top of 9.0.1, dunno
2021-03-24 20:37:08 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
2021-03-24 20:37:59 × kini quits (~kini@unaffiliated/kini) (Quit: bye)
2021-03-24 20:38:37 <scaryGarry> any literature suggestion for books on monad transformers or an introduction to parallelism in haskell?
2021-03-24 20:39:38 flow is now known as Flow
2021-03-24 20:40:11 Flow is now known as flow
2021-03-24 20:41:19 <ski> @where PCPH
2021-03-24 20:41:20 <lambdabot> "Parallel and Concurrent Programming in Haskell" by Simon Marlow in 2013 at <http://community.haskell.org/~simonmar/pcph/>,<http://chimera.labs.oreilly.com/books/1230000000929/>,<https://web.archive.
2021-03-24 20:41:20 <lambdabot> org/web/20180117194842/http://chimera.labs.oreilly.com/books/1230000000929>,<https://www.oreilly.com/library/view/parallel-and-concurrent/9781449335939/>
2021-03-24 20:41:37 <ski> @where AAM
2021-03-24 20:41:37 <lambdabot> http://www.haskell.org/haskellwiki/All_About_Monads
2021-03-24 20:41:40 solidus-river joins (~mike@174.127.249.180)
2021-03-24 20:42:07 <ski> @where Typeclassopedia
2021-03-24 20:42:08 <lambdabot> http://www.haskell.org/haskellwiki/Typeclassopedia
2021-03-24 20:42:33 kini joins (~kini@unaffiliated/kini)
2021-03-24 20:42:59 × landonf quits (landonf@mac68k.info) (Excess Flood)
2021-03-24 20:42:59 × emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer)
2021-03-24 20:43:16 emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com)
2021-03-24 20:43:39 jneira joins (501e65b6@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.182)
2021-03-24 20:44:51 landonf joins (landonf@mac68k.info)
2021-03-24 20:46:04 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:bf91:2d52:7724:8d37)
2021-03-24 20:46:50 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 256 seconds)
2021-03-24 20:49:26 × mouseghost quits (~draco@wikipedia/desperek) (Quit: mew wew)
2021-03-24 20:51:01 L29Ah gently pokes bgamari
2021-03-24 20:51:08 <bgamari> L29Ah, pong
2021-03-24 20:51:50 <L29Ah> bgamari: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4585 do i get it right that this changeset doesn't demand all the libs to be rebuilt to take the advantage of PINNED profiling, and can work on top of 9.0.1?
2021-03-24 20:52:29 bgamari tries to page this back in
2021-03-24 20:52:45 __minoru__shirae joins (~shiraeesh@46.34.207.1)
2021-03-24 20:53:22 × apache8080 quits (~rishi@wsip-70-168-153-252.oc.oc.cox.net) (Ping timeout: 260 seconds)
2021-03-24 20:53:30 <ephemient> L29Ah: aren't all libraries to be rebuilt to for each GHC version anyway?
2021-03-24 20:54:40 <L29Ah> ephemient: i'm on the same 9.0.1, except that changeset :)
2021-03-24 20:55:10 × srk quits (~sorki@gateway/tor-sasl/sorki) (Ping timeout: 268 seconds)
2021-03-24 20:55:30 <ephemient> ah, and it's an RTS-only change so you're hoping you can "just" re-link to make use of it?
2021-03-24 20:55:41 <L29Ah> yes
2021-03-24 20:57:12 <L29Ah> and now i don't see the huge PINNED thing at all, but the data is messed up (the profile entries are misordered, sometimes carry negative time, and after cleaning-up they report much lower memory consumption than my program had when it got terminated with +RTS -M
2021-03-24 20:57:27 srk joins (~sorki@gateway/tor-sasl/sorki)
2021-03-24 20:57:38 L29Ah now rebuilds vanilla ghc to check with vanilla rts
2021-03-24 20:57:45 son0p joins (~son0p@181.136.122.143)
2021-03-24 20:59:21 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
2021-03-24 21:02:05 × apeyroux quits (~alex@78.20.138.88.rev.sfr.net) (Ping timeout: 256 seconds)
2021-03-24 21:03:04 jamm_ joins (~jamm@unaffiliated/jamm)
2021-03-24 21:04:25 <bgamari> L29Ah, I am having a look
2021-03-24 21:04:55 × __minoru__shirae quits (~shiraeesh@46.34.207.1) (Ping timeout: 256 seconds)
2021-03-24 21:07:50 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 264 seconds)
2021-03-24 21:10:06 × Kaiepi quits (~Kaiepi@47.54.252.148) (Read error: Connection reset by peer)
2021-03-24 21:10:06 × emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer)
2021-03-24 21:10:20 emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com)
2021-03-24 21:10:44 × coot quits (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
2021-03-24 21:10:50 solvr joins (57e3c46d@87.227.196.109)
2021-03-24 21:11:38 Kaeipi joins (~Kaiepi@47.54.252.148)
2021-03-24 21:17:29 × sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937)
2021-03-24 21:17:36 aarvar1 joins (~foewfoiew@2601:602:a080:fa0:8d5e:8b07:4f7a:6938)
2021-03-24 21:17:54 apache8080 joins (~rishi@wsip-70-168-153-252.oc.oc.cox.net)
2021-03-24 21:17:56 × aarvar quits (~foewfoiew@2601:602:a080:fa0:49ff:dc3d:e55f:8dd) (Ping timeout: 240 seconds)
2021-03-24 21:18:01 × aarvar1 quits (~foewfoiew@2601:602:a080:fa0:8d5e:8b07:4f7a:6938) (Client Quit)

All times are in UTC.