Home freenode/#haskell: Logs Calendar

Logs on 2021-03-10 (freenode/#haskell)

00:00:01 × cfvnhtsp^ quits (cfvnhtsp@ip98-184-89-2.mc.at.cox.net) ()
00:03:23 elliott_1 joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
00:05:10 × puke quits (~vroom@217.138.252.212) (Ping timeout: 276 seconds)
00:08:12 × Franciman quits (~francesco@host-82-49-79-189.retail.telecomitalia.it) (Quit: Leaving)
00:11:40 × Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.)
00:11:55 joseph1 joins (~joseph@cpe-65-31-18-174.insight.res.rr.com)
00:14:23 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
00:14:23 dsrt^ joins (~hph@ip98-184-89-2.mc.at.cox.net)
00:14:35 × swarmcollective quits (~joseph@cpe-65-31-18-174.insight.res.rr.com) (Ping timeout: 240 seconds)
00:14:45 ozataman joins (~ozataman@pool-100-37-221-69.phlapa.fios.verizon.net)
00:16:14 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Ping timeout: 264 seconds)
00:16:36 rj joins (~x@gateway/tor-sasl/rj)
00:16:46 × conal_ quits (~conal@66.115.157.49) (Quit: Computer has gone to sleep.)
00:20:04 Tario joins (~Tario@201.192.165.173)
00:22:31 conal joins (~conal@192.145.118.107)
00:22:35 × elliott_1 quits (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) (Quit: WeeChat 3.0.1)
00:25:01 × ozataman quits (~ozataman@pool-100-37-221-69.phlapa.fios.verizon.net) (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
00:27:09 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
00:28:57 bennofs__ joins (~quassel@dslb-094-222-058-228.094.222.pools.vodafone-ip.de)
00:30:30 × minoru_shiraeesh quits (~shiraeesh@46.34.206.251) (Ping timeout: 265 seconds)
00:30:33 Fractalis joins (~Fractalis@2601:987:280:fb20:ad9b:b2c6:b33d:6cda)
00:32:09 × mananamenos quits (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net) (Ping timeout: 245 seconds)
00:33:04 × bennofs_ quits (~quassel@dslb-094-222-034-104.094.222.pools.vodafone-ip.de) (Ping timeout: 260 seconds)
00:37:01 × xintron quits (~xintron@unaffiliated/xintron) (Ping timeout: 276 seconds)
00:37:14 × Fractalis quits (~Fractalis@2601:987:280:fb20:ad9b:b2c6:b33d:6cda) (Ping timeout: 264 seconds)
00:38:36 × vonfry quits (~user@116.236.75.207) (Remote host closed the connection)
00:38:44 Fractalis joins (~Fractalis@2601:987:280:fb20:ad9b:b2c6:b33d:6cda)
00:39:47 × usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving)
00:41:18 × heatsink quits (~heatsink@2600:1700:bef1:5e10:246b:c0a0:2c4b:51c3) (Remote host closed the connection)
00:41:39 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
00:42:38 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
00:43:25 rajivr joins (uid269651@gateway/web/irccloud.com/x-zgcncjnqyenbczlt)
00:46:11 × Guest79545 quits (~zzz@2a03:b0c0:3:d0::3095:3001) (Quit: quit)
00:46:46 zzz joins (~zzz@2a03:b0c0:3:d0::3095:3001)
00:46:54 xintron joins (~xintron@unaffiliated/xintron)
00:47:10 zzz is now known as Guest26442
00:48:05 × Tourist quits (~tourist@unaffiliated/tourist) (Ping timeout: 272 seconds)
00:48:35 crestfallen joins (~john@128.32.176.159)
00:51:11 <curiousgay> eh, how often haskell.org rotates certificates?
00:51:52 <curiousgay> right now I can't connect to it because certificate has changed (but few minutes ago it was fine)
00:53:02 <monochrom> worksforme
00:53:14 <monochrom> It really doesn't change certificate all that often.
00:53:48 <curiousgay> well, at least now I'm able to connect
00:53:50 vgtw_ joins (~vgtw@gateway/tor-sasl/vgtw)
00:53:55 <glguy> It's a Let's Encrypt certificate, so it changes regularly
00:54:08 <curiousgay> guh
00:54:17 <glguy> the current one is from Feb 9
00:54:28 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
00:54:28 × vgtw quits (~vgtw@gateway/tor-sasl/vgtw) (Ping timeout: 268 seconds)
00:54:28 vgtw_ is now known as vgtw
00:54:52 × Wuzzy quits (~Wuzzy@p5b0df7c2.dip0.t-ipconnect.de) (Remote host closed the connection)
00:54:52 <monochrom> expires May 10.
00:55:06 <monochrom> I really doubt there was a change in the last 24 hours.
00:55:12 <curiousgay> encryption is strong enough to serve for decades, there's no reason to rotate certificate every month
00:55:14 heatsink joins (~heatsink@2600:1700:bef1:5e10:246b:c0a0:2c4b:51c3)
00:55:25 <glguy> curiousgay: that's not why they rotate
00:55:32 <curiousgay> s/every month/every 3 months/
00:55:44 <glguy> anyway, rotation is normal and not something a client will get hung up on
00:55:57 nbloomf joins (~nbloomf@2600:1700:ad14:3020:2411:9949:8ba3:cb86)
00:56:24 <monochrom> I have never ran into a certificate problem with haskell.org.
00:56:39 <monochrom> May I suggest the darker theory that your connection is/was compromised.
00:56:55 <curiousgay> glguy: that rotation is based on assumption a client trusts certificate authorities
00:57:41 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:2411:9949:8ba3:cb86) (Client Quit)
00:57:45 × crestfallen quits (~john@128.32.176.159) (Quit: Leaving)
00:57:50 <curiousgay> in TOFU world rotating without warning doesn't make any sense
00:58:11 <monochrom> glguy: I'm curious now. What is the benefit of the rotation?
00:58:16 nbloomf joins (~nbloomf@2600:1700:ad14:3020:2411:9949:8ba3:cb86)
00:58:32 × sw1nn quits (~sw1nn@2a00:23c7:622f:2c00:df3:76c2:ae90:b3b4) (Ping timeout: 258 seconds)
00:59:15 <glguy> monochrom: you don't have to maintain as big of a CRL, leaked private keys are dangerous for shorter windows, you can transfer a domain to someone new who can start using it earlier knowing the certiifcates issued for it have expired already, probably others, but those come to mind
00:59:16 <curiousgay> the benefit of rotation is that if one of your private keys gets compromised it doesn't allow to compromise entire history
00:59:21 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
00:59:40 <monochrom> Ah, thanks.
00:59:43 <curiousgay> but if you leak keys you need to restructure your security
01:00:29 × stree quits (~stree@68.36.8.116) (Ping timeout: 260 seconds)
01:01:00 <curiousgay> like don't store keys where you run a bunch of untrusted programs where you don't know how they work
01:01:17 myShoggoth joins (~myShoggot@75.164.81.55)
01:01:30 <curiousgay> and encrypt your disk with AES-256 in XTS mode with long reliable password
01:01:53 <glguy> anway, it sounds like you understand how certificates work
01:03:06 <curiousgay> not really, I simply treat them as public keys, but I'm aware their structure is more complex than that
01:03:50 <curiousgay> that allows them to go into a nightmare called web of trust
01:04:13 <glguy> Anyway, we're more focused on Haskell here than PKI
01:05:55 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Quit: WeeChat 3.0.1)
01:06:41 × m0rphism quits (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) (Ping timeout: 256 seconds)
01:06:42 <curiousgay> well, I thought it makes sense to also discuss official Haskell site here
01:07:03 <glguy> yeah, the question of did the certificate rotate was resolved
01:08:27 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Read error: Connection reset by peer)
01:09:39 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
01:10:22 × Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa)
01:11:08 sw1nn joins (~sw1nn@2a00:23c7:622f:2c00:377a:cf20:5183:83de)
01:12:22 mimi_vx joins (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1)
01:12:30 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:2411:9949:8ba3:cb86) (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:12:33 × myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 245 seconds)
01:13:02 myShoggoth joins (~myShoggot@75.164.81.55)
01:13:17 stree joins (~stree@68.36.8.116)
01:15:19 acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net)
01:18:14 × omnitrogen quits (~omnitroge@vps-c9700282.vps.ovh.net) (Ping timeout: 260 seconds)
01:18:26 jamm_ joins (~jamm@unaffiliated/jamm)
01:18:33 × notzmv quits (~zmv@unaffiliated/zmv) (Ping timeout: 264 seconds)
01:19:07 × tzlil quits (~tzlil@unaffiliated/tzlil) (Ping timeout: 272 seconds)
01:20:40 nbloomf joins (~nbloomf@2600:1700:ad14:3020:2411:9949:8ba3:cb86)
01:20:40 tzlil joins (~tzlil@unaffiliated/tzlil)
01:20:49 × conal quits (~conal@192.145.118.107) (Quit: Computer has gone to sleep.)
01:21:18 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 245 seconds)
01:21:20 conal joins (~conal@192.145.118.107)
01:21:59 × Inoperable quits (~PLAYER_1@fancydata.science) (Ping timeout: 256 seconds)
01:22:33 × myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 245 seconds)
01:22:36 × m1dnight_ quits (~m1dnight@188.ip-51-91-158.eu) (Ping timeout: 256 seconds)
01:22:50 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 264 seconds)
01:23:58 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:25:33 × conal quits (~conal@192.145.118.107) (Ping timeout: 246 seconds)
01:29:44 × thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202)
01:31:23 × viluon quits (uid453725@gateway/web/irccloud.com/x-degqoszkevovakgs) (Quit: Connection closed for inactivity)
01:31:45 minoru_shiraeesh joins (~shiraeesh@46.34.206.251)
01:31:55 ProofTechnique_ joins (sid79547@gateway/web/irccloud.com/x-rfjenrecvyozipoh)
01:31:55 mitchellsalad_ joins (uid40617@gateway/web/irccloud.com/x-iwkvoqzlrnkzeagp)
01:32:06 bsima1 joins (~bsima@simatime.com)
01:32:15 howdoi_ joins (uid224@gateway/web/irccloud.com/x-fqbegxygueqsadzs)
01:32:40 × stree quits (~stree@68.36.8.116) (Quit: Caught exception)
01:33:06 stree joins (~stree@68.36.8.116)
01:33:11 jokester_ joins (~mono@unaffiliated/jokester)
01:33:33 × SIben quits (~SIben@101.ip-164-132-107.eu) (Ping timeout: 264 seconds)
01:35:03 debugloo1 joins (~danieln@unaffiliated/debugloop)
01:37:15 Jello_Raptor_ joins (~Jello_Rap@li641-12.members.linode.com)
01:37:33 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-wqscfhvgecjdxrxn) (Quit: Connection closed for inactivity)
01:37:51 WojciechK joins (~wojciechk@2001:41d0:a:5be4::449)
01:37:51 NGraviton joins (csp@gateway/shell/xshellz/x-beoipcskoypkzpda)
01:38:04 operand_ joins (~operand@is.altijd.moe)
01:38:59 × mitchellsalad quits (uid40617@gateway/web/irccloud.com/x-rxqqcuwejvbcsupd) (*.net *.split)
01:38:59 × howdoi quits (uid224@gateway/web/irccloud.com/x-funsiyagulsobejm) (*.net *.split)
01:38:59 × enya[m] quits (enyaismatr@gateway/shell/matrix.org/x-mopbbwnwlliixuwj) (*.net *.split)
01:38:59 × themsay[m] quits (themsaymat@gateway/shell/matrix.org/x-revdyihapfdobrsk) (*.net *.split)
01:38:59 × VarikValefor[m] quits (varikvalef@gateway/shell/matrix.org/x-eijklabkebhzgrcd) (*.net *.split)
01:38:59 × freeman42x[m]1 quits (freeman42x@gateway/shell/matrix.org/x-kvuqdpxllvlgxrfm) (*.net *.split)
01:38:59 × plumenator[m] quits (plumenator@gateway/shell/matrix.org/x-zgfgtuflrtrzeoqi) (*.net *.split)
01:38:59 × jerin quits (jerinmatri@gateway/shell/matrix.org/x-vbxscyotkofvtytb) (*.net *.split)
01:39:00 × hyiltiz-M quits (hyiltizkde@gateway/shell/kde/matrix/x-ziqtfceeiaptadfr) (*.net *.split)
01:39:00 × debugloop quits (~danieln@unaffiliated/debugloop) (*.net *.split)
01:39:00 × NGravity quits (csp@gateway/shell/xshellz/x-kkpjcyneagkaknmz) (*.net *.split)
01:39:00 × teddyc quits (theodorc@cassarossa.samfundet.no) (*.net *.split)
01:39:00 × Wojciech_K quits (~wojciechk@2001:41d0:a:5be4::449) (*.net *.split)
01:39:00 × Jello_Raptor quits (~Jello_Rap@li641-12.members.linode.com) (*.net *.split)
01:39:00 × ProofTechnique quits (sid79547@gateway/web/irccloud.com/x-wxgqipcxkmukqbfr) (*.net *.split)
01:39:00 × jokester quits (~mono@unaffiliated/jokester) (*.net *.split)
01:39:00 × operand quits (~operand@is.altijd.moe) (*.net *.split)
01:39:00 × bsima quits (~bsima@simatime.com) (*.net *.split)
01:39:01 Jello_Raptor_ is now known as Jello_Raptor
01:39:03 howdoi_ is now known as howdoi
01:39:03 ProofTechnique_ is now known as ProofTechnique
01:39:03 × maop quits (~maop@37.120.211.188) (Remote host closed the connection)
01:39:04 mitchellsalad_ is now known as mitchellsalad
01:41:53 <curiousgay> stack can't install haddock because it requires GHC 9, but LTS-17 provides GHC 8.10
01:42:33 <curiousgay> ah, haddock is not part of LTS-17
01:45:27 hyiltiz-M joins (hyiltizkde@gateway/shell/kde/matrix/x-pbsqgxgfxkxgeyjp)
01:45:44 teddyc joins (theodorc@cassarossa.samfundet.no)
01:45:51 VarikValefor[m] joins (varikvalef@gateway/shell/matrix.org/x-hkuasadpkiomztte)
01:45:58 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Ping timeout: 260 seconds)
01:47:00 enya[m] joins (enyaismatr@gateway/shell/matrix.org/x-saaasqrjbmlqfwhw)
01:48:09 freeman42x[m]1 joins (freeman42x@gateway/shell/matrix.org/x-mjfaafbtrzhgydze)
01:50:13 plumenator[m] joins (plumenator@gateway/shell/matrix.org/x-wsciyhumoeseodpa)
01:51:22 themsay[m] joins (themsaymat@gateway/shell/matrix.org/x-hriptenclfowxntk)
01:51:33 jerin joins (jerinmatri@gateway/shell/matrix.org/x-mzzaywiqoeclvrmt)
01:52:31 × irc_user quits (uid423822@gateway/web/irccloud.com/x-kzjqgwvrhyyjysqx) (Quit: Connection closed for inactivity)
01:58:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
02:03:33 drbean joins (~drbean@TC210-63-209-22.static.apol.com.tw)
02:04:04 × subttle quits (~anonymous@unaffiliated/subttle) (Quit: leaving)
02:05:49 gzj joins (~gzj@unaffiliated/gzj)
02:06:15 puke joins (~vroom@217.138.252.202)
02:07:23 × krt7 quits (488a1c12@72.138.28.18) (Ping timeout: 240 seconds)
02:15:58 toorevitimirp joins (~tooreviti@117.182.183.154)
02:16:41 inkbottle joins (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr)
02:18:05 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
02:18:25 gzj joins (~gzj@unaffiliated/gzj)
02:18:33 × zebrag quits (~inkbottle@aaubervilliers-654-1-112-176.w86-198.abo.wanadoo.fr) (Ping timeout: 264 seconds)
02:20:22 × acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 276 seconds)
02:21:06 × ep1ctetus_ quits (~epictetus@ip72-194-215-136.sb.sd.cox.net) (Read error: Connection reset by peer)
02:22:38 × Aquazi quits (uid312403@gateway/web/irccloud.com/x-xvhrdtbecprnyroa) (Quit: Connection closed for inactivity)
02:22:48 kafl joins (~kafl@unaffiliated/kafl)
02:27:57 × gitgood quits (~gitgood@82-132-218-38.dab.02.net) (Read error: Connection reset by peer)
02:30:05 dave_uy33 is now known as dave_uy
02:30:18 × dave_uy quits (~david@108.61.193.26) (Quit: The Lounge - https://thelounge.chat)
02:30:52 dave_uy joins (~david@108.61.193.26)
02:31:00 × drbean quits (~drbean@TC210-63-209-22.static.apol.com.tw) (Ping timeout: 246 seconds)
02:32:08 × Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007)
02:32:44 × hoppfull quits (55e07729@c-2977e055.19-9-64736c10.bbcust.telenor.se) (Quit: Connection closed)
02:33:03 × smerdyakov quits (~dan@5.146.194.90) (Quit: Ping timeout (120 seconds))
02:33:24 smerdyakov joins (~dan@5.146.194.90)
02:34:44 FortuneZero joins (3223b878@50.35.184.120)
02:34:55 × renzhi quits (~renzhi@2607:fa49:653f:eb00::5bc7) (Ping timeout: 240 seconds)
02:35:57 × nineonin_ quits (~nineonine@50.216.62.2) (Ping timeout: 264 seconds)
02:37:08 × Kaiepi quits (~Kaiepi@47.54.252.148) (Ping timeout: 265 seconds)
02:38:08 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:2411:9949:8ba3:cb86) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:42:06 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
02:42:18 × FortuneZero quits (3223b878@50.35.184.120) (Quit: Connection closed)
02:42:26 gzj joins (~gzj@unaffiliated/gzj)
02:42:32 mimi_vx joins (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1)
02:43:26 Jd007 joins (~Jd007@162.156.11.151)
02:43:52 arun_karikalan joins (3b6364cc@59.99.100.204)
02:43:53 myShoggoth joins (~myShoggot@75.164.81.55)
02:45:15 Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362)
02:45:55 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 256 seconds)
02:45:57 nbloomf joins (~nbloomf@2600:1700:ad14:3020:2026:8325:bd4b:a2d3)
02:46:03 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 246 seconds)
02:46:22 xff0x_ joins (~xff0x@2001:1a81:539a:e500:ea26:ed35:813b:7a9a)
02:46:37 Lord_of_Life_ is now known as Lord_of_Life
02:47:24 renzhi joins (~renzhi@2607:fa49:653f:eb00::296e)
02:48:18 × Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer)
02:49:04 Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net)
02:49:34 × xff0x quits (~xff0x@port-92-195-107-1.dynamic.as20676.net) (Ping timeout: 260 seconds)
02:51:19 tvn joins (~tvn@37.120.211.188)
03:01:22 × CrazyPython quits (~crazypyth@98.122.164.118) (Read error: Connection reset by peer)
03:04:39 × alx741 quits (~alx741@186.178.108.96) (Quit: alx741)
03:10:47 FinnElija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716)
03:10:47 finn_elija is now known as Guest26419
03:10:47 FinnElija is now known as finn_elija
03:12:35 nineonine joins (~nineonine@50.216.62.2)
03:12:51 plutoniix joins (~q@184.82.196.144)
03:13:09 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 264 seconds)
03:13:50 × xff0x_ quits (~xff0x@2001:1a81:539a:e500:ea26:ed35:813b:7a9a) (Ping timeout: 264 seconds)
03:14:05 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
03:14:26 × Guest26419 quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Ping timeout: 268 seconds)
03:14:35 xff0x_ joins (~xff0x@2001:1a81:539a:e500:6ab:a16:d7f6:10af)
03:16:22 × inkbottle quits (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
03:16:37 × topos quits (sid467876@gateway/web/irccloud.com/x-zlylmlnixcvrclez) ()
03:16:42 inkbottle joins (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr)
03:17:26 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Ping timeout: 264 seconds)
03:17:54 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 246 seconds)
03:18:48 topos joins (sid467876@gateway/web/irccloud.com/x-vhlxkhesrjutejsr)
03:19:29 topos is now known as tapas
03:25:19 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
03:27:13 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Remote host closed the connection)
03:31:19 × myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 245 seconds)
03:31:48 × toorevitimirp quits (~tooreviti@117.182.183.154) (Ping timeout: 256 seconds)
03:33:12 × minoru_shiraeesh quits (~shiraeesh@46.34.206.251) (Ping timeout: 265 seconds)
03:33:31 × c_wraith quits (~c_wraith@adjoint.us) (Ping timeout: 256 seconds)
03:35:45 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
03:37:23 × ubert1 quits (~Thunderbi@p200300ecdf25d9d5e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
03:37:23 ubert joins (~Thunderbi@p200300ecdf25d90ce6b318fffe838f33.dip0.t-ipconnect.de)
03:37:24 × theDon quits (~td@muedsl-82-207-238-174.citykom.de) (Ping timeout: 260 seconds)
03:37:48 × evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Read error: Connection reset by peer)
03:38:26 evanjs joins (~evanjs@075-129-098-007.res.spectrum.com)
03:39:03 theDon joins (~td@muedsl-82-207-238-252.citykom.de)
03:41:25 × stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds)
03:41:44 conal joins (~conal@192.145.118.107)
03:42:06 rameau joins (~mirc.one1@196.75.212.214)
03:42:23 × jespada quits (~jespada@90.254.243.187) (Ping timeout: 265 seconds)
03:43:09 × arun_karikalan quits (3b6364cc@59.99.100.204) (Quit: Connection closed)
03:43:09 × mitchellsalad quits (uid40617@gateway/web/irccloud.com/x-iwkvoqzlrnkzeagp) (Quit: Connection closed for inactivity)
03:43:20 jespada joins (~jespada@90.254.243.187)
03:44:47 <justsomeguy> What does the interchange law of applicative mean? a <*> pure v = pure (\f -> f v) <*> a
03:46:05 <justsomeguy> Is it saying that an applicative containing functions applied to an applicative of values in the same context is the same as applying that function to every member element of the applicative containg values? (Does that even make sense?)
03:46:15 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 246 seconds)
03:48:05 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
03:48:26 gzj joins (~gzj@unaffiliated/gzj)
03:48:31 × conal quits (~conal@192.145.118.107) (Quit: Computer has gone to sleep.)
03:49:53 nineonine joins (~nineonine@50.216.62.2)
03:52:22 myShoggoth joins (~myShoggot@75.164.81.55)
03:54:10 stree joins (~stree@68.36.8.116)
03:54:38 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:55:04 × rameau quits (~mirc.one1@196.75.212.214) (Ping timeout: 245 seconds)
03:55:38 rameau joins (~mirc.one1@196.75.212.214)
03:56:01 joehillen joins (~joehillen@unaffiliated/joehillen)
03:56:33 christo joins (~christo@2601:647:4c80:1e00:a15b:207e:615f:1056)
03:56:36 joehillen parts (~joehillen@unaffiliated/joehillen) ("Konversation terminated!")
03:57:30 × christo quits (~christo@2601:647:4c80:1e00:a15b:207e:615f:1056) (Client Quit)
03:58:48 <inkbottle> Right, `pure` doesn't have an effect, so whichever side of the `<*>` you put it has no influence on the effectfull side of it (not really answering your question, but part of it maybe)
04:00:03 × myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 245 seconds)
04:00:07 <inkbottle> For instance if it is a parser, `pure` won't consume any input
04:00:31 myShoggoth joins (~myShoggot@75.164.81.55)
04:01:29 <inkbottle> effectfull aspect*
04:03:58 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
04:08:09 <inkbottle> > parse ((,) <$> (char 'a') <*> (pure 3)) "hello" "a"
04:08:11 <lambdabot> error:
04:08:11 <lambdabot> Variable not in scope:
04:08:11 <lambdabot> parse :: f0 (a0, a1) -> [Char] -> [Char] -> t
04:08:58 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 265 seconds)
04:09:06 × uberj quits (~uberj@unaffiliated/uberj) (Remote host closed the connection)
04:09:39 uberj joins (~uberj@unaffiliated/uberj)
04:09:40 <inkbottle> > Text.Parsec.parse ((,) <$> (char 'a') <*> (pure 3)) "hello" "a"
04:09:41 <lambdabot> error:
04:09:42 <lambdabot> Not in scope: ‘Text.Parsec.parse’
04:09:42 <lambdabot> No module named ‘Text.Parsec’ is imported.
04:10:14 Lycurgus joins (~niemand@98.4.114.199)
04:11:16 <inkbottle> Anyway it would have had the same result as
04:11:27 <inkbottle> parse (pure ($ 3) <*> ((,) <$> (char 'a'))) "hello" "a"
04:12:12 <justsomeguy> Hmm, thanks for that, inkbottle
04:12:22 justsomeguy sets up a project to try it out
04:12:45 × mmaruseacph2 quits (~mihai@198.199.100.72) (Ping timeout: 272 seconds)
04:13:10 mimi_vx joins (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1)
04:13:37 <inkbottle> And that mostly because `pure` doesn't touch the input thingy.
04:14:59 guest39`` joins (~user@49.5.6.87)
04:16:21 × inkbottle quits (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
04:16:42 inkbottle joins (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr)
04:17:08 <inkbottle> "hello" is just a string passed to give a name to the parser. "a" is the input string. I should have found a better way to run the parser without that unnecessary "hello" string.
04:18:06 × guest39` quits (~user@49.5.6.87) (Read error: Connection reset by peer)
04:18:19 mmaruseacph2 joins (~mihai@198.199.100.72)
04:20:07 × nineonine quits (~nineonine@50.216.62.2) (Remote host closed the connection)
04:20:43 nineonine joins (~nineonine@50.216.62.2)
04:20:55 c_wraith joins (~c_wraith@adjoint.us)
04:21:59 × howdoi quits (uid224@gateway/web/irccloud.com/x-fqbegxygueqsadzs) (Quit: Connection closed for inactivity)
04:22:57 howdoi joins (uid224@gateway/web/irccloud.com/x-ougcqwzeuzpljorc)
04:24:55 ezrakilty joins (~ezrakilty@97-113-55-149.tukw.qwest.net)
04:28:48 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 245 seconds)
04:40:32 frozenErebus joins (~frozenEre@94.128.82.20)
04:45:55 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
04:47:33 × jophish quits (~jophish@li1766-207.members.linode.com) (Ping timeout: 245 seconds)
04:47:58 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Ping timeout: 260 seconds)
04:51:36 × vodkaInferno quits (~wormphleg@104.131.156.184) (Read error: Connection reset by peer)
04:51:47 vodkaInferno joins (~wormphleg@104.131.156.184)
04:52:30 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
04:53:21 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
04:55:04 × guest39`` quits (~user@49.5.6.87) (Read error: Connection reset by peer)
04:55:05 × gzj quits (~gzj@unaffiliated/gzj) (Read error: Connection reset by peer)
04:55:25 gzj joins (~gzj@unaffiliated/gzj)
04:55:40 guest39`` joins (~user@49.5.6.87)
04:57:18 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 246 seconds)
05:01:16 × Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007)
05:01:45 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 264 seconds)
05:02:39 DTZUZU joins (~DTZUZO@205.ip-149-56-132.net)
05:04:40 conal joins (~conal@209.58.139.5)
05:05:27 × CodeAlways quits (uid272474@gateway/web/irccloud.com/x-iwrstjeuktuytxyi) (Quit: Connection closed for inactivity)
05:05:58 mimi_vx joins (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1)
05:10:53 elliott_ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
05:15:38 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Ping timeout: 264 seconds)
05:15:59 × thunderrd quits (~thunderrd@183.182.115.72) (Ping timeout: 272 seconds)
05:16:21 × inkbottle quits (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
05:16:41 inkbottle joins (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr)
05:18:57 thunderrd joins (~thunderrd@183.182.115.72)
05:23:53 × inkbottle quits (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
05:30:06 justsomeguy parts (~justsomeg@unaffiliated/--/x-3805311) ("WeeChat 3.0.1")
05:32:26 × APugNamedPugsley quits (~13052@2601:58a:8300:f6a0:3167:53:f72a:f09e) (Ping timeout: 264 seconds)
05:36:08 Zialus_PT joins (~RMF@199.125.37.188.rev.vodafone.pt)
05:37:03 × Zialus quits (~RMF@199.125.37.188.rev.vodafone.pt) (Ping timeout: 256 seconds)
05:38:26 × Fractalis quits (~Fractalis@2601:987:280:fb20:ad9b:b2c6:b33d:6cda) (Ping timeout: 264 seconds)
05:40:30 × jack1909 quits (~qpls@cpeb4750e67d202-cmf81d0fad5840.cpe.net.fido.ca) (Ping timeout: 260 seconds)
05:40:44 × roconnor quits (~roconnor@host-45-58-192-182.dyn.295.ca) (Remote host closed the connection)
05:41:21 roconnor joins (~roconnor@host-45-58-192-182.dyn.295.ca)
05:41:53 matryoshka` joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
05:42:02 × matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Ping timeout: 264 seconds)
05:42:18 jack1909 joins (~qpls@23.83.91.175)
05:42:54 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
05:43:47 × mmohammadi9812 quits (~mmohammad@2.178.147.15) (Quit: Quit)
05:44:17 × e2 quits (e2@sponsored.by.bnc4you.xyz) (Quit: Stable ZNC provider ##bnc4you)
05:44:42 e2 joins (e2@sponsored.by.bnc4you.xyz)
05:45:37 geowiesnot_bis joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
05:46:09 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 264 seconds)
05:47:38 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
05:51:23 forgottenone joins (~forgotten@176.42.29.216)
05:52:43 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
05:54:36 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:2026:8325:bd4b:a2d3) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:55:57 cd540 joins (4b87575b@075-135-087-091.res.spectrum.com)
05:57:45 idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
06:01:27 unlink2 joins (~unlink2@p5b0883d5.dip0.t-ipconnect.de)
06:02:32 × stree quits (~stree@68.36.8.116) (Ping timeout: 256 seconds)
06:03:08 argento joins (~argent0@168.227.97.23)
06:04:40 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:05:10 blahblahblah joins (22de79ce@ec2-34-222-121-206.us-west-2.compute.amazonaws.com)
06:05:35 neuralisp joins (~neuralisp@171.115.182.201)
06:06:18 <blahblahblah> Trying to upload a package on hackage results in "'cabal-version' must be at least 1.10" despite having package.cabal with >= 1.8
06:06:31 <blahblahblah> Packaged exactly the same as previous releases.
06:06:50 <blahblahblah> Any idea what is going on?
06:07:05 <glguy> blahblahblah, cabal-version doesn't take a range (any more?)
06:08:33 <glguy> https://cabal.readthedocs.io/en/3.4/file-format-changelog.html?highlight=cabal-version#package-description-format-specification-history
06:09:32 × Bergle_1 quits (~Bergle_4@101.165.90.119) (Remote host closed the connection)
06:09:33 × elliott_ quits (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
06:09:53 Bergle_1 joins (~Bergle_4@101.165.90.119)
06:09:56 <blahblahblah> I see. So... which versions are supported by Hackage? All of them?
06:10:51 <glguy> presumably the ones from 1.10 up
06:11:00 <blahblahblah> I see. Thank you.
06:11:53 mimi_vx joins (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1)
06:13:00 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Quit: WeeChat 1.9.1)
06:13:48 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 245 seconds)
06:13:52 × blahblahblah quits (22de79ce@ec2-34-222-121-206.us-west-2.compute.amazonaws.com) (Quit: Connection closed)
06:14:46 stree joins (~stree@68.36.8.116)
06:16:45 jrqc joins (~rofl@96.78.87.197)
06:24:32 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
06:25:13 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:25:34 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
06:28:03 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
06:28:15 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
06:28:47 ukari joins (~ukari@unaffiliated/ukari)
06:29:29 × redmp quits (~redmp@172.58.35.128) (Quit: getting nowhere)
06:29:33 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 272 seconds)
06:29:36 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
06:32:49 arrowsvc_ joins (~arr@2.93.163.35)
06:34:03 × idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Remote host closed the connection)
06:34:31 idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
06:35:22 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
06:35:44 Varis joins (~Tadas@unaffiliated/varis)
06:35:53 × xff0x_ quits (~xff0x@2001:1a81:539a:e500:6ab:a16:d7f6:10af) (Ping timeout: 260 seconds)
06:36:46 xff0x_ joins (~xff0x@2001:1a81:539a:e500:1c82:f001:cfdb:c4cd)
06:38:17 × Varis quits (~Tadas@unaffiliated/varis) (Client Quit)
06:39:03 johannes joins (~johannes@b2b-37-24-119-189.unitymedia.biz)
06:39:15 × Lycurgus quits (~niemand@98.4.114.199) (Quit: Exeunt)
06:39:41 graf_blutwurst joins (~user@2001:171b:226e:adc0:c1fc:bf0e:a9e3:f70e)
06:39:58 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
06:40:50 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
06:40:51 × guest39`` quits (~user@49.5.6.87) (Read error: Connection reset by peer)
06:40:57 Alex55 joins (5b2ee6a8@p5b2ee6a8.dip0.t-ipconnect.de)
06:45:44 LKoen joins (~LKoen@194.250.88.92.rev.sfr.net)
06:46:01 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 272 seconds)
06:46:33 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Ping timeout: 272 seconds)
06:46:51 × waleee-cl quits (uid373333@gateway/web/irccloud.com/x-oqznulkyteygitwy) (Quit: Connection closed for inactivity)
06:47:02 × bitmapper quits (uid464869@gateway/web/irccloud.com/x-vnpfnslhfdyhjhtg) (Quit: Connection closed for inactivity)
06:48:14 sord937 joins (~sord937@gateway/tor-sasl/sord937)
06:51:16 × ezrakilty quits (~ezrakilty@97-113-55-149.tukw.qwest.net) (Remote host closed the connection)
06:51:44 mirrorbird joins (~dwsjeid91@91.193.4.10)
06:52:56 × marinelli quits (~marinelli@gateway/tor-sasl/marinelli) (Quit: marinelli)
06:52:56 × neuralisp quits (~neuralisp@171.115.182.201) (Read error: Connection reset by peer)
06:53:23 × myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 245 seconds)
06:53:26 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
06:53:46 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
06:55:18 × Alex55 quits (5b2ee6a8@p5b2ee6a8.dip0.t-ipconnect.de) (Quit: Connection closed)
06:55:59 Alex55 joins (~root@p5b2ee6a8.dip0.t-ipconnect.de)
06:57:23 × cd540 quits (4b87575b@075-135-087-091.res.spectrum.com) (Ping timeout: 240 seconds)
06:57:53 cfricke joins (~cfricke@unaffiliated/cfricke)
06:58:26 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 260 seconds)
06:58:38 michalz joins (~user@185.246.204.47)
06:59:27 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
07:00:22 mimi_vx joins (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1)
07:00:47 minoru_shiraeesh joins (~shiraeesh@46.34.206.251)
07:01:59 × howdoi quits (uid224@gateway/web/irccloud.com/x-ougcqwzeuzpljorc) (Quit: Connection closed for inactivity)
07:02:21 kafl_ joins (~kafl@unaffiliated/kafl)
07:02:42 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
07:03:45 × kafl quits (~kafl@unaffiliated/kafl) (Ping timeout: 256 seconds)
07:07:15 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
07:08:40 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
07:09:38 neuralisp joins (~neuralisp@171.115.182.201)
07:09:44 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
07:11:29 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
07:11:30 × aforemny quits (~aforemny@static.248.158.34.188.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
07:13:24 aforemny joins (~aforemny@static.248.158.34.188.clients.your-server.de)
07:13:59 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
07:14:23 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
07:18:39 × vicfred quits (vicfred@gateway/vpn/mullvad/vicfred) (Quit: Leaving)
07:20:57 marinelli joins (~marinelli@gateway/tor-sasl/marinelli)
07:28:02 × kam1 quits (~kam1@83.123.154.198) (Read error: Connection reset by peer)
07:28:05 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
07:32:34 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 245 seconds)
07:34:46 × marinelli quits (~marinelli@gateway/tor-sasl/marinelli) (Quit: marinelli)
07:35:02 marinelli joins (~marinelli@gateway/tor-sasl/marinelli)
07:42:34 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 245 seconds)
07:44:13 × sablib1 quits (~sablib@59.173.154.11) (Ping timeout: 245 seconds)
07:45:32 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
07:45:59 Varis joins (~Tadas@unaffiliated/varis)
07:48:37 × minoru_shiraeesh quits (~shiraeesh@46.34.206.251) (Ping timeout: 276 seconds)
07:51:02 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 264 seconds)
07:51:39 Kaiepi joins (~Kaiepi@47.54.252.148)
07:55:50 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
08:00:02 × aarvar quits (~foewfoiew@2601:602:a080:fa0:f5c0:50eb:5dcd:a8d4) (Ping timeout: 264 seconds)
08:02:16 × pavonia quits (~user@unaffiliated/siracusa) (Quit: Bye!)
08:04:14 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 260 seconds)
08:05:40 mananamenos joins (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net)
08:05:52 usr25 joins (~usr25@unaffiliated/usr25)
08:10:01 Aquazi joins (uid312403@gateway/web/irccloud.com/x-rvjwhtgydgfpssbm)
08:11:23 × roconnor quits (~roconnor@host-45-58-192-182.dyn.295.ca) (Remote host closed the connection)
08:11:25 × matryoshka` quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Ping timeout: 272 seconds)
08:11:55 roconnor joins (~roconnor@host-45-58-192-182.dyn.295.ca)
08:12:40 matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
08:12:47 asheshambasta joins (~user@ptr-e1lysauv26w29gc2wg9.18120a2.ip6.access.telenet.be)
08:13:44 × asheshambasta quits (~user@ptr-e1lysauv26w29gc2wg9.18120a2.ip6.access.telenet.be) (Client Quit)
08:14:04 asheshambasta joins (~user@ptr-e1lysauv26w29gc2wg9.18120a2.ip6.access.telenet.be)
08:15:07 chele joins (~chele@ip5b40237d.dynamic.kabel-deutschland.de)
08:15:21 m1dnight_ joins (~m1dnight@78-22-9-5.access.telenet.be)
08:16:33 Yumasi joins (~guillaume@2a01cb0506313c00e14be01ac4a050f7.ipv6.abo.wanadoo.fr)
08:20:58 rayyyy joins (~nanoz@gateway/tor-sasl/nanoz)
08:21:04 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:5303:eebf:d00a:13d3)
08:23:21 × stree quits (~stree@68.36.8.116) (Ping timeout: 264 seconds)
08:23:35 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
08:24:10 × neiluj quits (~jco@unaffiliated/neiluj) (Ping timeout: 265 seconds)
08:24:28 × Cesdo quits (~cesdo@87.239.32.225) (Read error: No route to host)
08:26:15 m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de)
08:30:13 × hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:5303:eebf:d00a:13d3) (Ping timeout: 260 seconds)
08:30:52 × atomi quits (~atomi@35.71.197.35.bc.googleusercontent.com) (Remote host closed the connection)
08:34:26 × neuralisp quits (~neuralisp@171.115.182.201) (Quit: neuralisp)
08:35:30 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Quit: Goodbye)
08:36:10 stree joins (~stree@68.36.8.116)
08:36:31 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
08:37:34 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
08:44:30 kritzefitz joins (~kritzefit@p548c9398.dip0.t-ipconnect.de)
08:49:31 × kritzefitz quits (~kritzefit@p548c9398.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
08:49:44 × Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Read error: Connection reset by peer)
08:49:52 kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49)
08:52:19 × geowiesnot_bis quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 276 seconds)
08:52:34 acidjnk_new joins (~acidjnk@p200300d0c72b95704cd799b0a8031c33.dip0.t-ipconnect.de)
08:55:18 ircbrowse_tom joins (~ircbrowse@64.225.78.177)
08:55:18 Server sets mode +CLnt
08:55:44 × tomsmeding quits (~tomsmedin@tomsmeding.com) (Quit: ZNC 1.8.2 - https://znc.in)
08:57:24 × dave_uy quits (~david@108.61.193.26) (Ping timeout: 246 seconds)
08:57:32 madnificent_ is now known as madnificent
08:58:09 × bcmiller quits (~bm3719@66.42.95.185) (Ping timeout: 256 seconds)
08:58:09 × Kaiepi quits (~Kaiepi@47.54.252.148) (Ping timeout: 264 seconds)
08:58:23 × byorgey quits (~byorgey@155.138.238.211) (Ping timeout: 268 seconds)
08:58:23 tomsmeding joins (~tomsmedin@tomsmeding.com)
08:58:34 Kaiepi joins (~Kaiepi@47.54.252.148)
08:59:09 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 246 seconds)
09:02:37 ADG1089__ joins (~aditya@223.226.235.12)
09:04:04 knupfer joins (~Thunderbi@200116b82cb0c700f8d24cfffec7c8cb.dip.versatel-1u1.de)
09:06:28 × knupfer quits (~Thunderbi@200116b82cb0c700f8d24cfffec7c8cb.dip.versatel-1u1.de) (Remote host closed the connection)
09:07:27 × tvn quits (~tvn@37.120.211.188) (Remote host closed the connection)
09:08:19 × heatsink quits (~heatsink@2600:1700:bef1:5e10:246b:c0a0:2c4b:51c3) (Remote host closed the connection)
09:10:24 neiluj joins (~jco@91-167-203-101.subs.proxad.net)
09:11:07 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:d309:85bd:e842:5451)
09:11:28 aggin joins (~ecm@103.88.87.70)
09:12:47 × ubert quits (~Thunderbi@p200300ecdf25d90ce6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
09:15:52 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
09:16:33 × m1dnight_ quits (~m1dnight@78-22-9-5.access.telenet.be) (Quit: WeeChat 2.4)
09:18:10 m1dnight_ joins (~m1dnight@78-22-9-5.access.telenet.be)
09:20:03 byorgey joins (~byorgey@155.138.238.211)
09:20:26 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 264 seconds)
09:20:39 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1)
09:20:44 Franciman joins (~francesco@host-82-49-79-189.retail.telecomitalia.it)
09:21:33 dave_uy joins (~david@108.61.193.26)
09:21:38 × xff0x_ quits (~xff0x@2001:1a81:539a:e500:1c82:f001:cfdb:c4cd) (Ping timeout: 264 seconds)
09:22:00 xff0x_ joins (~xff0x@2001:1a81:539a:e500:a3f:28c8:6043:6a40)
09:22:07 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Ping timeout: 260 seconds)
09:22:15 cfricke joins (~cfricke@unaffiliated/cfricke)
09:24:49 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
09:24:50 bcmiller joins (~bm3719@66.42.95.185)
09:26:13 × Aquazi quits (uid312403@gateway/web/irccloud.com/x-rvjwhtgydgfpssbm) ()
09:26:53 × jack1909 quits (~qpls@23.83.91.175) (Ping timeout: 272 seconds)
09:29:55 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
09:30:41 raym joins (~ray@45.64.220.113)
09:32:19 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
09:33:17 zaquest joins (~notzaques@5.128.210.178)
09:34:06 <ADG1089__> I was trying to use criterion to benchmark some of my function but it seems if they don't accept any argument then laziness replaces the function with the return value itself, which is a little problematic. Any idea to overcome this?
09:35:25 <merijn> ADG1089__: turn it into a function :p
09:35:32 × rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Ping timeout: 268 seconds)
09:35:51 kuribas joins (~user@ptr-25vy0i7qqmcrk0iummz.18120a2.ip6.access.telenet.be)
09:35:57 × aggin quits (~ecm@103.88.87.70) (Quit: WeeChat 3.0.1)
09:36:04 frozenErebus joins (~frozenEre@94.128.82.20)
09:37:28 <mananamenos> Hi, I have this pseudo code snippet https://gist.github.com/mananamenos/1fba33e62e0df088205c9c7b183ae2cd. So in AppM I call functions (get, post..) which take a parameter of type HandlerM, so I cannot wrap my AppM into my custom ReaderT monad, cause then there is no way those HandlerM paramaters of get function could use the same ReaderT. Therefore the snippet: every endpoint now has to call `runReaderT`. Is this ok? Can
09:37:28 <mananamenos> I write this better?
09:37:31 × rameau quits (~mirc.one1@196.75.212.214) (Remote host closed the connection)
09:38:35 ph88 joins (~ph88@ip5f5af71a.dynamic.kabel-deutschland.de)
09:46:38 m2rrorbird joins (dwsjeid911@gateway/vpn/mullvad/dwsjeid911)
09:47:53 × mimi_vx quits (~mimi@2a01:490:16:1026:4525:56c0:a6ea:87c1) (Quit: WeeChat 3.1)
09:48:24 <ADG1089__> merijn: I introduced a bogus parameter which wasn't being used, but I thing ghc detected that and did not evaluate the function again. getting runtime in nanoseconds for functions that take few seconds. Actually it would be better to call them constants
09:49:31 × mirrorbird quits (~dwsjeid91@91.193.4.10) (Ping timeout: 276 seconds)
09:49:35 __monty__ joins (~toonn@unaffiliated/toonn)
09:50:14 mirrorbird joins (~dwsjeid91@2a00:801:3f8:23a5:cea1:f987:d427:ba9b)
09:50:30 DavidEichmann joins (~david@234.109.45.217.dyn.plus.net)
09:51:59 × motherfsck quits (~motherfsc@unaffiliated/motherfsck) (Read error: Connection reset by peer)
09:52:42 × m2rrorbird quits (dwsjeid911@gateway/vpn/mullvad/dwsjeid911) (Ping timeout: 246 seconds)
09:53:23 × argento quits (~argent0@168.227.97.23) (Ping timeout: 245 seconds)
09:57:54 aarvar joins (~foewfoiew@2601:602:a080:fa0:f5c0:50eb:5dcd:a8d4)
10:00:19 joseph2 joins (~joseph@cpe-24-208-140-96.insight.res.rr.com)
10:01:05 CodeAlways joins (uid272474@gateway/web/irccloud.com/x-qnrftuddbqltquxi)
10:03:12 × joseph1 quits (~joseph@cpe-65-31-18-174.insight.res.rr.com) (Ping timeout: 246 seconds)
10:04:18 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
10:05:09 ukari joins (~ukari@unaffiliated/ukari)
10:07:11 thc202 joins (~thc202@unaffiliated/thc202)
10:08:44 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
10:13:50 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Ping timeout: 264 seconds)
10:14:29 motherfsck joins (~motherfsc@unaffiliated/motherfsck)
10:24:45 jacks2 joins (~bc8134e3@217.29.117.252)
10:25:58 <jacks2> ADG1089__, if it doesn't accept any arguments it isn't a function. what's the actual type?
10:32:18 <tomsmeding> mananamenos: not it looks fine to me, to be honest
10:32:46 <tomsmeding> if you like more magic, you could try to use the mtl approach, where you let functions work in a typeclass-ed monad
10:34:18 <mananamenos> tomsmeding, thank you. Right, this is what I'm actually reading/looking about right now xD
10:35:26 <tomsmeding> mananamenos: though on second thoughts, I'm not sure that will help you much here; your problem is the other way round: it's not a function in monad m that you want to call in a larger monad m', but a function that _takes_ an argument in monad m that you'd like to instead provide an argument of a larger monad m'
10:35:32 <tomsmeding> in general that can't work, of course
10:36:08 <tomsmeding> as an extreme example, a function that wants an argument in the Reader monad can't be massaged to take an argument in IO, in general
10:36:20 × loyon quits (loyonmatri@gateway/shell/matrix.org/x-pnufdayfznwnuums) (Quit: Bridge terminating on SIGTERM)
10:36:22 × hsiktas[m] quits (hsiktasmat@gateway/shell/matrix.org/x-cyaabyhfuyvoxqpo) (Quit: Bridge terminating on SIGTERM)
10:36:23 × kadoban quits (kadobanemp@gateway/shell/matrix.org/x-jmopghdotibeqpvo) (Quit: Bridge terminating on SIGTERM)
10:36:23 × JaakkoLuttinen[m quits (jluttinema@gateway/shell/matrix.org/x-nsopxdhafmyjbgcc) (Quit: Bridge terminating on SIGTERM)
10:36:23 × fgaz quits (fgazmatrix@gateway/shell/matrix.org/x-yguyfyqjremfbkfs) (Quit: Bridge terminating on SIGTERM)
10:36:23 × heck-to-the-gnom quits (heck-to-th@gateway/shell/matrix.org/x-gsusihhksyxhkmvx) (Quit: Bridge terminating on SIGTERM)
10:36:25 × sigmacool[m] quits (sigmacoolm@gateway/shell/matrix.org/x-hrctfofefschsgwh) (Quit: Bridge terminating on SIGTERM)
10:36:25 × simara[m] quits (simaramatr@gateway/shell/matrix.org/x-dckaxkaaasuvaumo) (Quit: Bridge terminating on SIGTERM)
10:36:25 × jtojnar quits (jtojnarmat@gateway/shell/matrix.org/x-nemjmawtxnucncbk) (Quit: Bridge terminating on SIGTERM)
10:36:25 × immae quits (immaematri@gateway/shell/matrix.org/x-kanozzlnyfzodeoe) (Quit: Bridge terminating on SIGTERM)
10:36:25 × sm[m] quits (simonmicma@gateway/shell/matrix.org/x-kfjwhkilnrmtiqzr) (Quit: Bridge terminating on SIGTERM)
10:36:25 × unclechu quits (unclechuma@gateway/shell/matrix.org/x-uxortgpodmpgutfq) (Quit: Bridge terminating on SIGTERM)
10:36:25 × DamienCassou quits (damiencass@gateway/shell/matrix.org/x-kigjdqwdwvpjebga) (Quit: Bridge terminating on SIGTERM)
10:36:25 × meff[m]1 quits (meffsunado@gateway/shell/matrix.org/x-bhggmttmkrzvyggc) (Quit: Bridge terminating on SIGTERM)
10:36:25 × pineapples[m] quits (pineapples@gateway/shell/matrix.org/x-yodeebrpycxvvfhd) (Quit: Bridge terminating on SIGTERM)
10:36:27 × darkcodi[m] quits (darkcodima@gateway/shell/matrix.org/x-xjmhgcxlpysirlzx) (Quit: Bridge terminating on SIGTERM)
10:36:27 × Ericson2314 quits (ericson231@gateway/shell/matrix.org/x-mqrfmtvzohzxsodp) (Quit: Bridge terminating on SIGTERM)
10:36:27 × ManofLetters[m] quits (manoflette@gateway/shell/matrix.org/x-xhemtjphkmydmucx) (Quit: Bridge terminating on SIGTERM)
10:36:28 × pqwy[m] quits (pqwymatrix@gateway/shell/matrix.org/x-nmamuvshyesecffd) (Quit: Bridge terminating on SIGTERM)
10:36:28 × srid quits (sridmatrix@gateway/shell/matrix.org/x-xlwlcbjfdgaskbuc) (Quit: Bridge terminating on SIGTERM)
10:36:28 × PotatoHatsue quits (berbermanp@gateway/shell/matrix.org/x-yluorskaumyihrcn) (Quit: Bridge terminating on SIGTERM)
10:36:28 × beardhatcode quits (robbertbea@gateway/shell/matrix.org/x-fucrwzurqfdnkyfb) (Quit: Bridge terminating on SIGTERM)
10:36:28 × CrabMan quits (phi-matrix@gateway/shell/matrix.org/x-elrhfvlhlcoczwse) (Quit: Bridge terminating on SIGTERM)
10:36:28 × MichaelHoffmannb quits (brisadmozi@gateway/shell/matrix.org/x-xmqzxkgsheepjdjp) (Quit: Bridge terminating on SIGTERM)
10:36:28 × johnnyboy[m] quits (gifumatrix@gateway/shell/matrix.org/x-zvkdvuuatxmtttsb) (Quit: Bridge terminating on SIGTERM)
10:36:28 × ThaEwat quits (thaewraptm@gateway/shell/matrix.org/x-gtizoflguipwdywi) (Quit: Bridge terminating on SIGTERM)
10:36:28 × Lurkki[m]1 quits (lurkkifene@gateway/shell/matrix.org/x-yfuidztsaefpfasv) (Quit: Bridge terminating on SIGTERM)
10:36:28 × jkaye[m] quits (jkayematri@gateway/shell/matrix.org/x-qffksefpcbeofquc) (Quit: Bridge terminating on SIGTERM)
10:36:28 × Lurkki[m] quits (lurkkipriv@gateway/shell/matrix.org/x-svjjpwzvvfaqofmn) (Quit: Bridge terminating on SIGTERM)
10:36:28 × rednaZ[m] quits (r3dnazmatr@gateway/shell/matrix.org/x-qyukuwejrzhlrohq) (Quit: Bridge terminating on SIGTERM)
10:36:28 × Robin[m]2 quits (robinrobin@gateway/shell/matrix.org/x-cmsislyvxyumkemg) (Quit: Bridge terminating on SIGTERM)
10:36:28 × utdemir[m] quits (utdemirmat@gateway/shell/matrix.org/x-gpwaueemnpfdcwea) (Quit: Bridge terminating on SIGTERM)
10:36:28 × Hanma[m] quits (hanmamatri@gateway/shell/matrix.org/x-pkofqmewlpdcrykb) (Quit: Bridge terminating on SIGTERM)
10:36:28 × toasty_avocado[m quits (toastyavoc@gateway/shell/matrix.org/x-rilvilfetmqcjeab) (Quit: Bridge terminating on SIGTERM)
10:36:28 × mly[m] quits (mlydisenco@gateway/shell/matrix.org/x-vsddcgdrozvrcpfd) (Quit: Bridge terminating on SIGTERM)
10:36:28 <mananamenos> tomsmeding, the biggest advantage of this mtl, typeclass-ed monad approach is that you dont hardcode your readerT right until the last step right? and then you change the implementation of the readerT to another underlying monad for test purpose for example?
10:36:29 × plumenator[m] quits (plumenator@gateway/shell/matrix.org/x-wsciyhumoeseodpa) (Quit: Bridge terminating on SIGTERM)
10:36:29 × jerin quits (jerinmatri@gateway/shell/matrix.org/x-mzzaywiqoeclvrmt) (Quit: Bridge terminating on SIGTERM)
10:36:29 × sramsay64[m] quits (sramsay64p@gateway/shell/matrix.org/x-yvgptxnhoswmcqba) (Quit: Bridge terminating on SIGTERM)
10:36:29 × michaelpj quits (michaelpjm@gateway/shell/matrix.org/x-peeuxxsdomqfhtbj) (Quit: Bridge terminating on SIGTERM)
10:36:30 × anon1891[m] quits (anon1891ma@gateway/shell/matrix.org/x-gkpezsilaexknhmv) (Quit: Bridge terminating on SIGTERM)
10:36:30 × kadobanana quits (kadoban9he@gateway/shell/matrix.org/x-gliltzokamjplayu) (Quit: Bridge terminating on SIGTERM)
10:36:30 × speakerspivakeem quits (speakerdea@gateway/shell/matrix.org/x-nplqxycskjtzpnfg) (Quit: Bridge terminating on SIGTERM)
10:36:30 × maerwald[m] quits (maerwaldma@gateway/shell/matrix.org/x-hmfxsgugtuaqfrpt) (Quit: Bridge terminating on SIGTERM)
10:36:30 × my_name_is_not_j quits (mynameisno@gateway/shell/matrix.org/x-kjoeodzseshxepvl) (Quit: Bridge terminating on SIGTERM)
10:36:30 × psydruid quits (psydruidma@gateway/shell/matrix.org/x-ctzchnfbikopgirx) (Quit: Bridge terminating on SIGTERM)
10:36:30 × M53K5HUN_8[m] quits (M53k5hun8m@gateway/shell/matrix.org/x-uoztttdwldeuechk) (Quit: Bridge terminating on SIGTERM)
10:36:30 × siraben quits (sirabenmat@gateway/shell/matrix.org/x-ljnrpkuqhybjbqrm) (Quit: Bridge terminating on SIGTERM)
10:36:30 × rust-rocks[m] quits (rust-rocks@gateway/shell/matrix.org/x-gcvobzthaxbvupil) (Quit: Bridge terminating on SIGTERM)
10:36:30 × enya[m] quits (enyaismatr@gateway/shell/matrix.org/x-saaasqrjbmlqfwhw) (Quit: Bridge terminating on SIGTERM)
10:36:31 <tomsmeding> the thing here is that Reader is fairly innocuous, and in fact you can eliminate it directly here
10:36:32 × bitonic quits (bitonicmat@gateway/shell/matrix.org/x-xolbnvrpcfpyxhwo) (Quit: Bridge terminating on SIGTERM)
10:36:32 × mjlbach quits (atriusmatr@gateway/shell/matrix.org/x-nddsubvqwkcbmidr) (Quit: Bridge terminating on SIGTERM)
10:36:33 × alar[m] quits (alarmxalat@gateway/shell/matrix.org/x-btirhtujftoyatyv) (Quit: Bridge terminating on SIGTERM)
10:36:33 × joe[m]3 quits (joemonoida@gateway/shell/matrix.org/x-heehkpixvzbakbkb) (Quit: Bridge terminating on SIGTERM)
10:36:33 × lnxw37d4 quits (lnxw37d4ma@gateway/shell/matrix.org/x-nqikzoyzzbkxkkev) (Quit: Bridge terminating on SIGTERM)
10:36:33 × VarikValefor[m] quits (varikvalef@gateway/shell/matrix.org/x-hkuasadpkiomztte) (Quit: Bridge terminating on SIGTERM)
10:36:33 × alecs[m] quits (malumorema@gateway/shell/matrix.org/x-dipfcuykpbkbqeke) (Quit: Bridge terminating on SIGTERM)
10:36:34 × jeffcasavant[m]1 quits (jeffcasava@gateway/shell/matrix.org/x-romdayesernblvyy) (Quit: Bridge terminating on SIGTERM)
10:36:34 × alexfmpe quits (alexfmpema@gateway/shell/matrix.org/x-cseojiaisucumjfd) (Quit: Bridge terminating on SIGTERM)
10:36:36 × lambdaclan quits (lambdaclan@gateway/shell/matrix.org/x-jiodvserklaqeevq) (Quit: Bridge terminating on SIGTERM)
10:36:38 × maralorn quits (maralornma@gateway/shell/matrix.org/x-uxbseyfakmhjsikg) (Quit: Bridge terminating on SIGTERM)
10:36:38 × the_1_[m] quits (the1matrix@gateway/shell/matrix.org/x-azpuapzwzrdxqaxc) (Quit: Bridge terminating on SIGTERM)
10:36:38 × domenkozar[m] quits (domenkozar@NixOS/user/domenkozar) (Quit: Bridge terminating on SIGTERM)
10:36:38 × Pressyware[m] quits (pressyware@gateway/shell/matrix.org/x-plprftxrswzlfsuf) (Quit: Bridge terminating on SIGTERM)
10:36:38 × a-tsioh[m] quits (a-tsiohmat@gateway/shell/matrix.org/x-uvugmgtwtycebrwk) (Quit: Bridge terminating on SIGTERM)
10:36:38 × berberman[T] quits (berberma4@gateway/shell/matrix.org/x-vvymcwfscdivsdlx) (Quit: Bridge terminating on SIGTERM)
10:36:38 × mud quits (kadobanmat@gateway/shell/matrix.org/x-qmcvpkrinjigllxf) (Quit: Bridge terminating on SIGTERM)
10:36:38 × Haskman[m] quits (haskmanmat@gateway/shell/matrix.org/x-rskmegwndatuqvsm) (Quit: Bridge terminating on SIGTERM)
10:36:38 × arcontethegreat[ quits (arcontethe@gateway/shell/matrix.org/x-tdaiuqgmbdibjmlc) (Quit: Bridge terminating on SIGTERM)
10:36:39 × freeman42x[m]1 quits (freeman42x@gateway/shell/matrix.org/x-mjfaafbtrzhgydze) (Quit: Bridge terminating on SIGTERM)
10:36:41 × boistordu quits (boistordum@gateway/shell/matrix.org/x-alsxfyrrkthoxfgo) (Quit: Bridge terminating on SIGTERM)
10:36:41 × invent[m] quits (inventmatr@gateway/shell/matrix.org/x-acsaxyfzehsuqpnv) (Quit: Bridge terminating on SIGTERM)
10:36:41 × AbtractSingleton quits (rasurumatr@gateway/shell/matrix.org/x-hsxpwrgsikiawcsr) (Quit: Bridge terminating on SIGTERM)
10:36:41 × themsay[m] quits (themsaymat@gateway/shell/matrix.org/x-hriptenclfowxntk) (Quit: Bridge terminating on SIGTERM)
10:37:38 <tomsmeding> mananamenos: kind of, yes
10:37:52 <tomsmeding> but also that you can let functions work in a bigger monad stack than they were designed for
10:38:43 polyrain joins (~polyrain@124.177.21.171)
10:39:10 ph88^ joins (~ph88@2a02:8109:9e00:7e5c:5981:8991:829b:4f1d)
10:39:14 <tomsmeding> for example, if a function 'foo' wants to run in a Reader Environment monad, but you're instead working in a ReaderT Environment WhateverM, then you you could write 'foo' to hvae signature foo :: MonadReader Environment m => m result instead of foo :: Reader Environment result
10:39:55 <tomsmeding> then you could write instance Monad m => MonadReader e (ReaderT e m)
10:40:24 <tomsmeding> but as I said, your problem is the other say round: not the result of a function that you want in a bigger monad, but an argument
10:40:38 × LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Read error: Connection reset by peer)
10:40:55 <jacks2> ADG1089__, if it is something like foo :: IO SomeType, doing this will force deep evaluation of the SomeType object: x <- foo; evaluate (force x);
10:41:02 <tomsmeding> which you can't do in general using the mtl approach I believe; you could of course write a get' :: String -> e -> ReaderT e HandlerM () -> AppM ()
10:41:15 LKoen joins (~LKoen@194.250.88.92.rev.sfr.net)
10:41:15 <tomsmeding> mananamenos: but I suppose you already thought of that :)
10:41:47 <jacks2> ADG1089__, in that case, time both x <- foo and evaluate (force x)
10:41:57 × ph88 quits (~ph88@ip5f5af71a.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds)
10:44:23 × stree quits (~stree@68.36.8.116) (Ping timeout: 260 seconds)
10:45:22 blahblahblah joins (6719f216@103.25.242.22)
10:46:50 <tomsmeding> ADG1089__: the 'force' is not necessary if evaluating the result to WHNF is sufficient
10:48:49 Hanma[m] joins (hanmamatri@gateway/shell/matrix.org/x-efytsvxrhnkbgydz)
10:49:13 <blahblahblah> cabal check gives me a warning about using a fixed version before 1.10, even though I'm not using 1.10. The problem is it exits with a nonzero exit code. Shouldn't cabal check only exit with error code for... errors?
10:50:54 <tomsmeding> blahblahblah: 'cabal check --help' says 'If no errors and warnings are reported, Hackage will accept this package.'
10:51:01 <tomsmeding> so I assume it's by design?
10:51:49 <tomsmeding> also supporting cabal 1.8 sounds not very useful to me
10:52:36 fendor joins (~fendor@178.165.128.28.wireless.dyn.drei.com)
10:53:52 <mananamenos> tomsmeding, thanks!
10:54:11 × xlei quits (znc@unaffiliated/xlei) (Quit: ZNC - https://znc.in)
10:54:28 ubert joins (~Thunderbi@p200300ecdf25d90ce6b318fffe838f33.dip0.t-ipconnect.de)
10:55:09 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
10:56:57 × blahblahblah quits (6719f216@103.25.242.22) (Quit: Connection closed)
10:57:27 stree joins (~stree@68.36.8.116)
10:57:46 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
10:58:39 m2rrorbird joins (dwsjeid911@gateway/vpn/mullvad/dwsjeid911)
10:59:56 × Raito_Bezarius quits (~Raito@unaffiliated/raito-bezarius/x-8764578) (Ping timeout: 240 seconds)
11:00:29 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 268 seconds)
11:00:37 × mirrorbird quits (~dwsjeid91@2a00:801:3f8:23a5:cea1:f987:d427:ba9b) (Read error: Connection reset by peer)
11:02:07 mirrorb2rd joins (~dwsjeid91@2a00:801:3f8:23a5:cea1:f987:d427:ba9b)
11:05:25 × m2rrorbird quits (dwsjeid911@gateway/vpn/mullvad/dwsjeid911) (Ping timeout: 268 seconds)
11:06:46 zq joins (~zq@xorshift.org)
11:06:57 <zq> :t 6
11:06:58 <lambdabot> Num p => p
11:07:58 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
11:08:03 xlei joins (znc@unaffiliated/xlei)
11:08:04 <zq> how do i figure out which package typeclass Partial resides in?
11:08:24 Aquazi joins (uid312403@gateway/web/irccloud.com/x-gbfjzprbmmawtnrl)
11:08:46 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:10:08 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
11:11:48 <[exa]> zq: you hoogle it on hoogle :]
11:12:36 <[exa]> ...but not sure if there's the actual Partial typeclass: https://hoogle.haskell.org/?hoogle=Partial
11:12:51 Raito_Bezarius joins (~Raito@unaffiliated/raito-bezarius/x-8764578)
11:13:25 <[exa]> (perhaps it's the `type Partial=HasCallStack` from `safe` ?)
11:15:02 <zq> [exa]: thanks, it's been a while since i've last haskelled and i forgot about the hoogle name
11:15:02 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Ping timeout: 264 seconds)
11:15:28 <zq> the one i'm looking at is from Control.Exception.Extra
11:18:33 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
11:19:59 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:22:06 <ADG1089__> @pl \x -> f x && g x
11:22:06 <lambdabot> liftM2 (&&) f g
11:22:08 × sh91 quits (~sh9@softbank060116136158.bbtec.net) (Ping timeout: 256 seconds)
11:22:41 <ADG1089__> :t \x -> (&&) <*> f <&> g
11:22:42 <lambdabot> error:
11:22:42 <lambdabot> • Could not deduce (FromExpr Bool) arising from a use of ‘f’
11:22:43 <lambdabot> from the context: FromExpr b
11:22:56 <ADG1089__> :t (&&) <*> f <&> g
11:22:58 <lambdabot> error:
11:22:58 <lambdabot> • Could not deduce (FromExpr Bool) arising from a use of ‘f’
11:22:58 <lambdabot> from the context: FromExpr b
11:24:56 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
11:25:17 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:26:16 sablib1 joins (~sablib@171.113.166.176)
11:29:34 mouseghost joins (~draco@87-206-9-185.dynamic.chello.pl)
11:29:34 × mouseghost quits (~draco@87-206-9-185.dynamic.chello.pl) (Changing host)
11:29:34 mouseghost joins (~draco@wikipedia/desperek)
11:29:44 <zq> really not a fan of type HasCallStack = ?callStack :: CallStack
11:30:06 <zq> it completely obscures the variable that is in scope
11:30:28 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 245 seconds)
11:31:10 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:32:20 <tomsmeding> :t \f g -> (&&) <$> f <*> g
11:32:21 <lambdabot> Applicative f => f Bool -> f Bool -> f Bool
11:32:25 <tomsmeding> ADG1089__: ^
11:33:37 <tomsmeding> <$> = fmap takes (&&) :: Bool -> (Bool -> Bool) and f :: f Bool and applies (&&) under the applicative, producing f (Bool -> Bool)
11:34:06 <tomsmeding> <*> takes f (Bool -> Bool) and f Bool and applies a function within the applicative to the argument, producing f Bool
11:34:17 × ralu quits (~ralu@static.211.245.203.116.clients.your-server.de) (Quit: The Lounge - https://thelounge.chat)
11:34:17 <tomsmeding> :t \f g -> pure (&&) <*> f <*> g
11:34:19 <lambdabot> Applicative f => f Bool -> f Bool -> f Bool
11:34:52 <tomsmeding> <*> is like <$> except it takes a function within the applicative instead a plain function
11:35:38 <tomsmeding> <$> <*> is not just a magic pattern, it also means something :)
11:35:42 × zceejkr quits (~wintermut@cpe-62-84-236-30.dynamic.amis.net) (Ping timeout: 260 seconds)
11:36:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
11:36:28 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:38:21 × polyrain quits (~polyrain@124.177.21.171) (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:40:30 mjlbach joins (atriusmatr@gateway/shell/matrix.org/x-hqnwkbzsghjmoxpi)
11:40:30 johnnyboy[m] joins (gifumatrix@gateway/shell/matrix.org/x-cmnwolhebsskkjat)
11:40:30 Ericson2314 joins (ericson231@gateway/shell/matrix.org/x-tsyziegnksxmsvwe)
11:40:30 hsiktas[m] joins (hsiktasmat@gateway/shell/matrix.org/x-wtctyeobgbtycmfg)
11:40:30 fgaz joins (fgazmatrix@gateway/shell/matrix.org/x-friwaqabluxhmgej)
11:40:30 alexfmpe joins (alexfmpema@gateway/shell/matrix.org/x-cqsqxuawqfrndsua)
11:40:31 rednaZ[m] joins (r3dnazmatr@gateway/shell/matrix.org/x-gnxotcamcepjeexd)
11:40:31 maralorn joins (maralornma@gateway/shell/matrix.org/x-rezinnajdbsjgswd)
11:40:31 Lurkki[m] joins (lurkkipriv@gateway/shell/matrix.org/x-vfafddqdjrrwvxuo)
11:40:31 joe[m]1 joins (joemonoida@gateway/shell/matrix.org/x-iwrcvynwdhbrkbpy)
11:40:31 CrabMan joins (phi-matrix@gateway/shell/matrix.org/x-nczsygxjwbeezjba)
11:40:31 plumenator[m] joins (plumenator@gateway/shell/matrix.org/x-cpybsxhladtdobyy)
11:40:31 darkcodi[m] joins (darkcodima@gateway/shell/matrix.org/x-inrhfypeakwpuzyp)
11:40:31 jerin joins (jerinmatri@gateway/shell/matrix.org/x-wykbrvrddoywvmzp)
11:40:31 lnxw37d4 joins (lnxw37d4ma@gateway/shell/matrix.org/x-srceybalqosrlkbm)
11:40:31 simara[m] joins (simaramatr@gateway/shell/matrix.org/x-jyuzgnopiyccambc)
11:40:31 themsay[m] joins (themsaymat@gateway/shell/matrix.org/x-xirgdwxbkruwrkvn)
11:40:31 toasty_avocado[m joins (toastyavoc@gateway/shell/matrix.org/x-cecwjfvchqqwsnbp)
11:40:31 bitonic joins (bitonicmat@gateway/shell/matrix.org/x-jwmiqaganbdblqeb)
11:40:32 PotatoHatsue joins (berbermanp@gateway/shell/matrix.org/x-yflvdgmqjmthorbh)
11:40:32 beardhatcode joins (robbertbea@gateway/shell/matrix.org/x-vjzeowanvuthadhr)
11:40:32 siraben joins (sirabenmat@gateway/shell/matrix.org/x-fctrgxohijfkpiha)
11:40:32 Lurkki[m]1 joins (lurkkifene@gateway/shell/matrix.org/x-xphwbmetgcvojjrb)
11:40:32 pqwy[m] joins (pqwymatrix@gateway/shell/matrix.org/x-tuhaqobqlcfizedi)
11:40:32 mud joins (kadobanmat@gateway/shell/matrix.org/x-sstqskkfxonsdequ)
11:40:32 immae joins (immaematri@gateway/shell/matrix.org/x-ddgivafyzeufmhvd)
11:40:32 the_1_[m] joins (the1matrix@gateway/shell/matrix.org/x-fxqrujvorjgfkzsc)
11:40:32 VarikValefor[m] joins (varikvalef@gateway/shell/matrix.org/x-qngheqbemrlhymqo)
11:40:32 arcontethegreat[ joins (arcontethe@gateway/shell/matrix.org/x-nwmbkmnfxfryiwwe)
11:40:33 srid joins (sridmatrix@gateway/shell/matrix.org/x-cdqpzvogolvfjmux)
11:40:33 loyon joins (loyonmatri@gateway/shell/matrix.org/x-arvztttiwlrfmaxa)
11:40:33 alecs[m] joins (malumorema@gateway/shell/matrix.org/x-djxjolbuzjvpmhmg)
11:40:33 anon1891[m] joins (anon1891ma@gateway/shell/matrix.org/x-lippvhyxklxhxpra)
11:40:33 psydruid joins (psydruidma@gateway/shell/matrix.org/x-hgwbwoywnwmngtzr)
11:40:33 mly[m] joins (mlydisenco@gateway/shell/matrix.org/x-ljqtcmanvrbtjrvd)
11:40:33 kadobanana joins (kadoban9he@gateway/shell/matrix.org/x-drzyvrhvrhnnvqso)
11:40:33 DamienCassou joins (damiencass@gateway/shell/matrix.org/x-tlmsequqsufzwifv)
11:40:33 michaelpj joins (michaelpjm@gateway/shell/matrix.org/x-pukypexbajprbsoa)
11:40:33 my_name_is_not_j joins (mynameisno@gateway/shell/matrix.org/x-iewfemdhthafipdk)
11:40:33 boistordu joins (boistordum@gateway/shell/matrix.org/x-zyzebanloxokwzhg)
11:40:34 heck-to-the-gnom joins (heck-to-th@gateway/shell/matrix.org/x-zxtltngejrmxkknu)
11:40:34 berberman[T] joins (berberma4@gateway/shell/matrix.org/x-krnkqaczgxqcldno)
11:40:34 sm[m] joins (simonmicma@gateway/shell/matrix.org/x-ywomzlzeficbvvff)
11:40:34 maerwald[m] joins (maerwaldma@gateway/shell/matrix.org/x-ywzbwktmcsnmejyh)
11:40:34 pineapples[m] joins (pineapples@gateway/shell/matrix.org/x-szevzybcigkmsgol)
11:40:34 meff[m] joins (meffsunado@gateway/shell/matrix.org/x-uxntguxbrhbkikcw)
11:40:34 unclechu joins (unclechuma@gateway/shell/matrix.org/x-oolmotqymaqrqhve)
11:40:34 jeffcasavant[m] joins (jeffcasava@gateway/shell/matrix.org/x-lnbuotkynhkztzqa)
11:40:34 jkaye[m] joins (jkayematri@gateway/shell/matrix.org/x-udvlgksekwmzpkrv)
11:40:34 speakerspivakeem joins (speakerdea@gateway/shell/matrix.org/x-qcoaaekhblbwfpsj)
11:40:34 lambdaclan joins (lambdaclan@gateway/shell/matrix.org/x-vfqoziwqnefwqyzn)
11:40:34 kadoban joins (kadobanemp@gateway/shell/matrix.org/x-qevyhmlpmumbzbbb)
11:40:35 ThaEwat joins (thaewraptm@gateway/shell/matrix.org/x-sinxsygzdymdglrs)
11:40:35 domenkozar[m] joins (domenkozar@NixOS/user/domenkozar)
11:40:35 M53K5HUN_8[m] joins (m53k5hun8m@gateway/shell/matrix.org/x-euyfdyytbojgjnwt)
11:40:35 shieru[m] joins (shierualet@gateway/shell/matrix.org/x-crtlzvguvlyzbkhj)
11:40:35 JaakkoLuttinen[m joins (jluttinema@gateway/shell/matrix.org/x-yhocjihmkhvylkoh)
11:40:35 freeman42x[m] joins (freeman42x@gateway/shell/matrix.org/x-cwwewhwtciefkezc)
11:40:35 jtojnar joins (jtojnarmat@gateway/shell/matrix.org/x-dslktdkisegakovj)
11:40:36 Haskman[m] joins (haskmanmat@gateway/shell/matrix.org/x-dsesrypmapqljonq)
11:40:37 Pressyware[m] joins (pressyware@gateway/shell/matrix.org/x-ddhjwpogpizdplmn)
11:40:37 rust-rocks[m] joins (rust-rocks@gateway/shell/matrix.org/x-aebtetgfiystofjh)
11:40:37 sramsay64[m] joins (sramsay64p@gateway/shell/matrix.org/x-tqmoejehpjuaehyj)
11:40:38 MichaelHoffmannb joins (brisadmozi@gateway/shell/matrix.org/x-jkosmzrzdqsrpuhu)
11:40:38 invent[m] joins (inventmatr@gateway/shell/matrix.org/x-cwuovopaejsudboe)
11:40:38 sigmacool[m] joins (sigmacoolm@gateway/shell/matrix.org/x-zreyiugydgdstsfc)
11:40:39 BenSima[m] joins (bensimatim@gateway/shell/matrix.org/x-qkslyhndqfzvjpcd)
11:40:39 enya[m] joins (enyaismatr@gateway/shell/matrix.org/x-kggzrjtkshyubmxt)
11:40:39 utdemir[m] joins (utdemirmat@gateway/shell/matrix.org/x-suedpldutimmauoc)
11:40:39 alar[m] joins (alarmxalat@gateway/shell/matrix.org/x-zrexbuctbbpkrtod)
11:40:40 a-tsioh[m] joins (a-tsiohmat@gateway/shell/matrix.org/x-zwctixdaeewiqvbp)
11:40:41 AbtractSingleton joins (rasurumatr@gateway/shell/matrix.org/x-nipocthdxyoqretr)
11:40:42 Robin[m]4 joins (robinrobin@gateway/shell/matrix.org/x-rmeldrlzauncgswy)
11:41:08 ManofLetters[m] joins (manoflette@gateway/shell/matrix.org/x-yudatyptjaytneqs)
11:41:33 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
11:42:22 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:43:06 vilpan joins (~0@212.117.1.172)
11:48:20 desperek_ joins (~draco@87-206-9-185.dynamic.chello.pl)
11:48:21 gitgood joins (~gitgood@82-132-217-185.dab.02.net)
11:49:08 × mouseghost quits (~draco@wikipedia/desperek) (Ping timeout: 260 seconds)
11:52:17 × Alleria_ quits (~textual@2603-7000-3040-0000-b894-91fd-f1d3-a7ab.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:52:45 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
11:53:46 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:55:23 × xff0x_ quits (~xff0x@2001:1a81:539a:e500:a3f:28c8:6043:6a40) (Quit: xff0x_)
11:55:33 xff0x joins (~xff0x@2001:1a81:539a:e500:a3f:28c8:6043:6a40)
11:58:50 danvet_ joins (~danvet@212-51-149-181.fiber7.init7.net)
11:58:57 alx741 joins (~alx741@186.178.108.96)
11:59:25 × Yumasi quits (~guillaume@2a01cb0506313c00e14be01ac4a050f7.ipv6.abo.wanadoo.fr) (Ping timeout: 272 seconds)
12:00:15 × LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
12:03:53 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
12:03:57 × plutoniix quits (~q@184.82.196.144) (Quit: Leaving)
12:04:34 ukari joins (~ukari@unaffiliated/ukari)
12:05:00 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:08:45 lokesh joins (uid491047@gateway/web/irccloud.com/x-yzvfvxjjzebcifrk)
12:10:48 rayyyy joins (~nanoz@gateway/tor-sasl/nanoz)
12:10:51 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
12:14:07 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
12:14:07 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Quit: WeeChat 1.9.1)
12:14:33 <ADG1089__> why doesn't cabal install <executable> pickup flage from <project>.cabal file?
12:15:13 <maerwald> ADG1089__: because it creates an sdist first, unpacks it in tmp and then builds it there
12:15:24 <ADG1089__> It is using -w ghc-8.10.4 -O1 but in cabal I mentioned -O2 -fllvm. Also it is installing all executables even though i specificed the name
12:15:38 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Ping timeout: 264 seconds)
12:15:49 <maerwald> pass it as command line arguments instead, that should work
12:16:05 <ADG1089__> merijn: yeah, I see it doing something in ./sdist/<project-anme>-<porject version>.tar.gz
12:16:14 <merijn> Are you sure "cabal install <executable>" isn't just installing an entirely unrelated package?
12:16:43 <ADG1089__> maerwald: giving the flags again? isn't that redundant since I already mentioned in cabal file?
12:16:47 <merijn> Are executables even a valid target for install
12:17:12 <merijn> ADG1089__: Pastebin your cabal file, command and build output
12:17:35 <merijn> maerwald: Your comment does not apply to his question
12:17:49 <merijn> maerwald: You are referring to cabal.project, he was referring to a regular cabal file
12:18:11 <maerwald> oh right
12:19:24 <ADG1089__> merijn: cabal file: https://paste.tomsmeding.com/HbsivGIx command execution: https://paste.tomsmeding.com/TAyrSZFu
12:21:20 APugNamedPugsley joins (~13052@2601:58a:8300:f6a0:58b8:b5d0:d1ef:978a)
12:22:08 × danvet_ quits (~danvet@212-51-149-181.fiber7.init7.net) (Ping timeout: 245 seconds)
12:22:49 <merijn> ADG1089__: The build profile just refers to the default cabal configuration for optimisation, though. It doesn't inspect ghc-options to see if you pass -O2 there
12:23:34 <ADG1089__> merijn: what do you suggest, I do to include those flags?
12:24:04 <merijn> ADG1089__: My point is that it likely *is* compiling with -O2
12:24:22 <merijn> but that's just not reported in the build profile, because it's not part of the build profile
12:24:25 <hololeap> i've got an abstraction in mind and i'm looking for a way to translate it to a monad transformer stack. a good example is iptables. there is a list of filters and each one can choose to consume a packet and/or pass it down the line
12:24:30 × joseph2 quits (~joseph@cpe-24-208-140-96.insight.res.rr.com) (Quit: WeeChat 2.8)
12:24:41 <merijn> I suspect that if you run cabal -v3 and look at the *actual* GHC invocation it *will* have -O2
12:26:32 <hololeap> would this just be a `traverse` over some short-circuiting monad like Either?
12:27:17 <hololeap> actually, no it would probably be a foldM
12:28:26 <hololeap> % :t foldM @(Either String)
12:28:27 <yahb> hololeap: Monad m => (b -> a -> m b) -> b -> Either String a -> m b
12:28:27 × xff0x quits (~xff0x@2001:1a81:539a:e500:a3f:28c8:6043:6a40) (Remote host closed the connection)
12:28:44 <hololeap> % :t foldM @[] @(Either String)
12:28:44 xff0x joins (~xff0x@2001:1a81:539a:e500:2099:b14:f0f8:3b67)
12:28:44 <yahb> hololeap: (b -> a -> Either String b) -> b -> [a] -> Either String b
12:28:48 × cheater quits (~user@unaffiliated/cheater) (Ping timeout: 260 seconds)
12:29:19 <hololeap> % :t foldM @[] @(MaybeT _)
12:29:19 <yahb> hololeap: ; <interactive>:1:13: error:; Not in scope: type constructor or class `MaybeT'; Perhaps you meant `Maybe' (imported from Prelude)
12:30:15 <hololeap> % import Contol.Monad.Trans.Maybe
12:30:15 <yahb> hololeap: ; <no location info>: error:; Could not find module `Contol.Monad.Trans.Maybe'; Perhaps you meant; Control.Monad.Trans.Maybe (from transformers-0.5.6.2); Control.Monad.Trans.Free (from free-5.1.6); Control.Monad.Trans.State (from transformers-0.5.6.2)
12:30:28 <hololeap> % import Control.Monad.Trans.Maybe
12:30:28 <yahb> hololeap:
12:30:30 <hololeap> % :t foldM @[] @(MaybeT _)
12:30:30 <yahb> hololeap: Monad w => (b -> a -> MaybeT w b) -> b -> [a] -> MaybeT w b
12:30:48 <merijn> hololeap: Use pm?
12:31:17 <ADG1089__> merijn: no I don't think it's invoking those flags as i see in -v3. And I still don't know why it is installing all executables
12:31:39 <merijn> ADG1089__: Because there is no "install executable" command
12:31:45 <merijn> ADG1089__: There is only "install package"
12:32:02 <hololeap> merijn: sorry, didn't mean to be so loud
12:33:36 <ADG1089__> merijn: that's a bummer, I'll have to find a way to install specific executables from my cabal file into that directly with flags from cabal file
12:33:54 <ADG1089__> probably I'll find something in the docs
12:34:29 <merijn> ADG1089__: Why do you want to install said executables? If you just wanna run them you can just use "cabal run"
12:35:47 × apoc quits (~apoc@49.12.13.193) (Ping timeout: 260 seconds)
12:35:49 <ADG1089__> merijn: I want to time those "time ./bin/problem719" but "cabal run problem719" adds 3-4 secs. I tried using criterion but it would require me to modify all my code to be compatible with it's whnf parameter which doesn't accept constants.
12:36:02 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Remote host closed the connection)
12:36:18 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
12:36:24 <merijn> If you don't care about accuracy too much you can try
12:36:27 <merijn> @hackage timeit
12:36:27 <lambdabot> https://hackage.haskell.org/package/timeit
12:38:51 <ADG1089__> merijn: this seems like a good bet. Let me check if it accurate atleast upto .01 sec
12:39:09 <merijn> depends how you define accurate
12:39:13 × gitgood quits (~gitgood@82-132-217-185.dab.02.net) (Read error: Connection reset by peer)
12:39:19 <merijn> it's certainly *precise* up to 0.01 second
12:39:32 gitgood joins (~gitgood@82-132-217-185.dab.02.net)
12:39:33 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 264 seconds)
12:39:45 <merijn> It *might* be accurate up to that time too, since that's rather slow
12:40:02 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Ping timeout: 260 seconds)
12:40:13 <merijn> Mind you, it only tracks CPU time, not wall clock
12:41:20 sh9 joins (~sh9@softbank060116136158.bbtec.net)
12:41:36 LKoen joins (~LKoen@194.250.88.92.rev.sfr.net)
12:42:04 × LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Remote host closed the connection)
12:42:19 LKoen joins (~LKoen@194.250.88.92.rev.sfr.net)
12:43:28 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
12:43:29 × desperek_ quits (~draco@87-206-9-185.dynamic.chello.pl) (Quit: mew wew)
12:43:41 mananamenos_ joins (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net)
12:43:59 mouseghost joins (~draco@wikipedia/desperek)
12:44:28 <ADG1089__> merijn: All my programs as mostly cpu-bound so almost no IO
12:45:16 <ADG1089__> plus i can use sed to do `s/main =/main = timeIt ./`
12:45:34 apoc joins (~apoc@49.12.13.193)
12:45:40 × mananamenos quits (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net) (Ping timeout: 276 seconds)
12:46:25 ADG1089 joins (~adg1089@223.226.235.12)
12:46:28 <ADG1089> .
12:46:35 × ADG1089__ quits (~aditya@223.226.235.12) (Remote host closed the connection)
12:47:36 cheater joins (~user@unaffiliated/cheater)
12:48:14 <zq> what exactly is a raw monad?
12:48:24 <zq> ie https://hackage.haskell.org/package/shake-0.19.4/docs/src/Development.Shake.Internal.Core.Monad.html#RAW
12:48:33 <zq> wondering if this is a standard concept?
12:49:16 <zq> is this some kind of free monad + interpreter?
12:50:11 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Remote host closed the connection)
12:50:27 bergey joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
12:52:57 Alleria joins (~textual@mskresolve-a.mskcc.org)
12:53:20 Alleria is now known as Guest34870
12:54:08 timCF joins (~i.tkachuk@m91-129-99-43.cust.tele2.ee)
12:54:42 ADG1089_ joins (~adg1089@171.76.180.62)
12:55:20 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Ping timeout: 268 seconds)
12:56:36 <timCF> Hello! Is it possible to put any constraint to type/kind paramters in forall expression? For example `forall a b m.` where I want `b` to be one of few possible types/kinds?
12:57:10 × ADG1089 quits (~adg1089@223.226.235.12) (Ping timeout: 272 seconds)
12:57:20 <merijn> timCF: You can use typefamilies + constraintkinds for nearly arbitrary restrictions
12:57:42 <merijn> timCF: See, for example: https://gist.github.com/merijn/6130082
12:58:09 <merijn> timCF: Which allows any type that is not ()/Int
12:58:29 Yumasi joins (~guillaume@2a01cb0506313c00e14be01ac4a050f7.ipv6.abo.wanadoo.fr)
12:59:50 dhouthoo joins (~dhouthoo@ptr-eitgbj2w0uu6delkbrh.18120a2.ip6.access.telenet.be)
13:01:01 <timCF> merijn: looks very cool) Thanks!
13:01:39 urodna joins (~urodna@unaffiliated/urodna)
13:02:12 × ssedov quits (~stas@2a00:13c0:63:7195::beef) (Read error: Connection reset by peer)
13:02:25 stass joins (~stas@2a00:13c0:63:7195::beef)
13:03:05 × usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving)
13:04:30 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 246 seconds)
13:05:40 × stree quits (~stree@68.36.8.116) (Ping timeout: 268 seconds)
13:06:47 geekosaur joins (82650c7a@130.101.12.122)
13:07:23 jrqc joins (~rofl@96.78.87.197)
13:08:44 Tario joins (~Tario@201.192.165.173)
13:11:34 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
13:13:47 Deide joins (~Deide@217.155.19.23)
13:13:48 × ADG1089_ quits (~adg1089@171.76.180.62) (Read error: Connection reset by peer)
13:14:00 ADG1089_ joins (~adg1089@223.226.235.12)
13:16:14 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Ping timeout: 264 seconds)
13:17:20 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
13:18:18 stree joins (~stree@68.36.8.116)
13:18:31 Benzi-Junior joins (~BenziJuni@dsl-149-64-40.hive.is)
13:22:14 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 264 seconds)
13:23:58 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
13:29:20 frozenErebus joins (~frozenEre@94.128.82.20)
13:29:22 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
13:32:54 × RusAlex quits (~Chel@unaffiliated/rusalex) (Read error: Connection reset by peer)
13:33:33 RusAlex joins (~Chel@unaffiliated/rusalex)
13:35:00 jamm_ joins (~jamm@unaffiliated/jamm)
13:35:18 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 256 seconds)
13:36:15 × hongminhee quits (hongminhee@gateway/web/irccloud.com/x-oeswesuwvugryusv) ()
13:36:33 hongminhee joins (hongminhee@gateway/web/irccloud.com/x-fsrpgumqewqqpots)
13:37:52 jrqc joins (~rofl@96.78.87.197)
13:37:58 geekosaur joins (82650c7a@130.101.12.122)
13:38:32 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
13:39:11 waleee-cl joins (uid373333@gateway/web/irccloud.com/x-hvyfxukatujiwcjk)
13:39:46 × timCF quits (~i.tkachuk@m91-129-99-43.cust.tele2.ee) (Quit: leaving)
13:45:00 gxt joins (~gxt@gateway/tor-sasl/gxt)
13:46:36 mayleesia joins (590caa9e@dynamic-089-012-170-158.89.12.pool.telefonica.de)
13:46:53 rj joins (~x@gateway/tor-sasl/rj)
13:47:34 × glowcoil quits (sid3405@gateway/web/irccloud.com/x-tfnxycsxmhezfuwi) ()
13:47:59 glowcoil joins (sid3405@gateway/web/irccloud.com/x-qnxtwxdwpopdxnrp)
13:50:30 notzmv joins (~zmv@unaffiliated/zmv)
13:50:49 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Read error: Connection reset by peer)
13:52:48 × ADG1089_ quits (~adg1089@223.226.235.12) (Ping timeout: 260 seconds)
13:53:05 ADG1089_ joins (~adg1089@171.76.180.62)
13:53:34 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
13:53:51 Jd007 joins (~Jd007@162.156.11.151)
13:54:23 × ghuntley quits (sid16877@gateway/web/irccloud.com/x-mbqwvidrftgcbeuo) ()
13:54:39 ghuntley joins (sid16877@gateway/web/irccloud.com/x-mboskivnsdysjwmu)
13:55:41 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Read error: Connection reset by peer)
13:55:41 jonathanx_ joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
13:56:09 rdivyanshu joins (uid322626@gateway/web/irccloud.com/x-osmjtblbmpscywbx)
13:59:22 paddymahoney joins (~paddymaho@cpe9050ca207f83-cm9050ca207f80.cpe.net.cable.rogers.com)
14:04:31 befuddled joins (~befuddled@49.207.140.164)
14:05:11 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Remote host closed the connection)
14:05:39 ep1ctetus joins (~epictetus@ip72-194-215-136.sb.sd.cox.net)
14:05:40 × befuddled quits (~befuddled@49.207.140.164) (Client Quit)
14:07:01 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
14:08:43 ADG1089__ joins (~aditya@122.163.164.53)
14:10:49 × Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 276 seconds)
14:15:45 × jonathanx_ quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
14:15:46 × ADG1089__ quits (~aditya@122.163.164.53) (Remote host closed the connection)
14:15:57 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
14:17:23 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
14:20:46 × notzmv quits (~zmv@unaffiliated/zmv) (Ping timeout: 272 seconds)
14:20:58 hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net)
14:22:15 <adamCS> I've got an N-dimensional matrix of a, in the form [([Int],a)], where the [Int] is the N-dimensional index where element a is stored. I need a nested vector representation, for JSON output via Aeson. I see how to nest it one index at a time: f :: [([Int],a)] -> [([Int], [a])]. But trying to write a function to nest it "all the way" runs into a "what is the return type?" issue. Any way around this without
14:22:16 <adamCS> dependent-types-style shenanigans?
14:24:15 <opqdonut> write a data type
14:24:18 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Quit: WeeChat 1.9.1)
14:24:42 <opqdonut> you can just do something like `data Matrix a = Vector [Matrix a] | Element a`
14:24:59 <opqdonut> but if you want guarantees that all the Elements are at the same depth, you can do some tricks
14:25:31 <opqdonut> (just a sec while I recall how the trick works)
14:27:10 <adamCS> opqdonut: Thanks!
14:27:55 <opqdonut> `data Matrix a = Element a | Dimension (Matrix [a])`
14:27:59 × rslima_____ quits (sid26145@gateway/web/irccloud.com/x-ngrykalbadekwxuk) ()
14:28:01 <opqdonut> I think that's the trick
14:28:13 rslima_____ joins (sid26145@gateway/web/irccloud.com/x-phhododppaawnoma)
14:29:52 ADG1089__ joins (~aditya@122.163.164.53)
14:29:55 <adamCS> opqdonut: So then I convert my un-nested "a"s to Matrix (as elements), nest them, and then somehow convert the nested thing back to nested vectors? I can try to do that...
14:29:57 × ocharles quits (sid30093@musicbrainz/user/ocharles) ()
14:29:59 ralu joins (~ralu@static.211.245.203.116.clients.your-server.de)
14:30:18 ocharles joins (sid30093@musicbrainz/user/ocharles)
14:32:56 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds)
14:33:23 thc202 joins (~thc202@unaffiliated/thc202)
14:34:23 <opqdonut> adamCS: https://gist.github.com/opqdonut/03fd44c26b260a90ea9f6447a7243977
14:34:47 <opqdonut> adamCS: you can't go to just nested lists like [[[a]]] unless you know how many dimensions you have at compile-time
14:35:12 <opqdonut> adamCS: but making an Aeson instance for Matrix that just outputs lists of lists in JSON should be easy
14:35:41 <adamCS> opqdonut: I don't know at compile time.
14:35:53 argento joins (~argent0@168.227.97.23)
14:35:58 <adamCS> I mean, I guess I could. I need to think about it.
14:36:15 <adamCS> All I need is the json, though.
14:36:17 <opqdonut> yeah
14:36:21 knupfer joins (~Thunderbi@200116b82cb0c7005129c843079bc5a1.dip.versatel-1u1.de)
14:36:27 × argento quits (~argent0@168.227.97.23) (Client Quit)
14:36:46 <opqdonut> I'm writing the [([Int],a)] -> Matrix a function now, for fun
14:36:59 minoru_shiraeesh joins (~shiraeesh@46.34.207.182)
14:37:15 × jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection)
14:37:24 <adamCS> Right, just needing JSON is what makes me think it's possible.
14:37:43 jamm_ joins (~jamm@unaffiliated/jamm)
14:38:48 epicte7us joins (~epictetus@ip72-194-215-136.sb.sd.cox.net)
14:41:57 × ep1ctetus quits (~epictetus@ip72-194-215-136.sb.sd.cox.net) (Ping timeout: 264 seconds)
14:44:20 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
14:46:01 × ADG1089__ quits (~aditya@122.163.164.53) (Remote host closed the connection)
14:47:36 × Katarushisu quits (~Katarushi@cpc152083-finc20-2-0-cust170.4-2.cable.virginm.net) (Quit: The Lounge - https://thelounge.chat)
14:47:52 × jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection)
14:48:20 Katarushisu joins (~Katarushi@cpc152083-finc20-2-0-cust170.4-2.cable.virginm.net)
14:48:20 × ADG1089_ quits (~adg1089@171.76.180.62) (Read error: Connection reset by peer)
14:51:47 × Katarushisu quits (~Katarushi@cpc152083-finc20-2-0-cust170.4-2.cable.virginm.net) (Client Quit)
14:53:05 Katarushisu joins (~Katarushi@cpc152083-finc20-2-0-cust170.4-2.cable.virginm.net)
14:55:44 Lycurgus joins (~niemand@98.4.114.199)
14:56:05 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
14:56:11 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Client Quit)
14:57:39 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
14:57:51 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
14:59:05 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
14:59:24 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
15:00:29 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
15:02:50 <opqdonut> adamCS: I updated my gist with an implementation of [([Int],a)] -> Matrix a: https://gist.github.com/opqdonut/03fd44c26b260a90ea9f6447a7243977
15:02:58 × idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 245 seconds)
15:03:46 <opqdonut> error handling and robustness could be improved (e.g in case the [Int]s aren't of the same length, or not ordered, or the matrix is actually sparse, etc.)
15:05:07 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
15:07:36 zebrag joins (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr)
15:11:38 × minoru_shiraeesh quits (~shiraeesh@46.34.207.182) (Ping timeout: 256 seconds)
15:13:03 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
15:14:09 × jacks2 quits (~bc8134e3@217.29.117.252) (Quit: http://www.okay.uz/)
15:14:31 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 276 seconds)
15:15:21 minoru_shiraeesh joins (~shiraeesh@46.34.207.182)
15:15:28 × mirrorb2rd quits (~dwsjeid91@2a00:801:3f8:23a5:cea1:f987:d427:ba9b) (Remote host closed the connection)
15:16:43 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
15:18:02 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Ping timeout: 264 seconds)
15:18:08 × gitgood quits (~gitgood@82-132-217-185.dab.02.net) (Read error: Connection reset by peer)
15:18:32 gitgood joins (~gitgood@82-132-217-185.dab.02.net)
15:22:12 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 272 seconds)
15:22:32 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
15:23:49 × Lycurgus quits (~niemand@98.4.114.199) (Quit: Exeunt)
15:24:01 <adamCS> opqdonut: Thanks! This is super helpful!
15:24:49 crobbins_ joins (~crobbins@2601:2c1:200:ec50:11f4:eb0d:2359:7dd4)
15:25:37 jamm_ joins (~jamm@unaffiliated/jamm)
15:26:07 × jamm_ quits (~jamm@unaffiliated/jamm) (Read error: Connection reset by peer)
15:26:21 × johannes quits (~johannes@b2b-37-24-119-189.unitymedia.biz) (Ping timeout: 264 seconds)
15:26:35 jamm_ joins (~jamm@unaffiliated/jamm)
15:26:38 × stree quits (~stree@68.36.8.116) (Ping timeout: 260 seconds)
15:28:14 × crobbins quits (~crobbins@2601:2c1:200:ec50:484b:63d9:4725:b763) (Ping timeout: 264 seconds)
15:29:46 × Waifod quits (~Waifod@91.106.123.186) (Ping timeout: 256 seconds)
15:31:14 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 264 seconds)
15:31:18 Waifod joins (Waifod@gateway/vpn/protonvpn/waifod)
15:32:58 × michalz quits (~user@185.246.204.47) (Remote host closed the connection)
15:34:39 atomi joins (~atomi@3.184.203.35.bc.googleusercontent.com)
15:35:18 jamm_ joins (~jamm@unaffiliated/jamm)
15:36:38 × xff0x quits (~xff0x@2001:1a81:539a:e500:2099:b14:f0f8:3b67) (Remote host closed the connection)
15:36:56 xff0x joins (~xff0x@port-92-193-251-184.dynamic.as20676.net)
15:39:13 stree joins (~stree@68.36.8.116)
15:39:49 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
15:40:07 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 260 seconds)
15:40:32 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
15:41:01 × raym quits (~ray@45.64.220.113) (Quit: leaving)
15:41:52 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
15:42:15 carlomagno1 joins (~cararell@148.87.23.11)
15:42:15 × carlomagno quits (~cararell@148.87.23.10) (Remote host closed the connection)
15:42:54 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
15:43:07 × evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Ping timeout: 276 seconds)
15:43:48 evanjs joins (~evanjs@075-129-098-007.res.spectrum.com)
15:46:27 nbloomf joins (~nbloomf@2600:1700:ad14:3020:2026:8325:bd4b:a2d3)
15:47:30 berberman joins (~berberman@unaffiliated/berberman)
15:47:42 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
15:48:17 × berberman_ quits (~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds)
15:49:54 × mananamenos_ quits (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net) (Remote host closed the connection)
15:50:16 mananamenos_ joins (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net)
15:51:13 × Benzi-Junior quits (~BenziJuni@dsl-149-64-40.hive.is) (Ping timeout: 260 seconds)
15:52:26 × Alex55 quits (~root@p5b2ee6a8.dip0.t-ipconnect.de) (Quit: Lost terminal)
15:52:28 × berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
15:52:48 berberman joins (~berberman@unaffiliated/berberman)
15:57:55 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
16:00:52 × CodeAlways quits (uid272474@gateway/web/irccloud.com/x-qnrftuddbqltquxi) (Quit: Connection closed for inactivity)
16:03:41 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
16:03:55 bitmagie joins (~Thunderbi@200116b80638f2001086a93e70cf6b57.dip.versatel-1u1.de)
16:04:26 vicfred joins (~vicfred@unaffiliated/vicfred)
16:05:27 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
16:05:40 × rdivyanshu quits (uid322626@gateway/web/irccloud.com/x-osmjtblbmpscywbx) (Quit: Connection closed for inactivity)
16:05:47 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 260 seconds)
16:06:50 thc202 joins (~thc202@unaffiliated/thc202)
16:07:14 × Waifod quits (Waifod@gateway/vpn/protonvpn/waifod) (Ping timeout: 264 seconds)
16:08:25 Rudd0 joins (~Rudd0@185.189.115.108)
16:09:00 Waifod joins (~Waifod@91.106.123.186)
16:13:24 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
16:13:40 notzmv joins (~zmv@unaffiliated/zmv)
16:14:06 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
16:14:56 deviantfero joins (~deviantfe@190.150.27.58)
16:14:57 × evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Ping timeout: 264 seconds)
16:15:21 × tzlil quits (~tzlil@unaffiliated/tzlil) (Remote host closed the connection)
16:15:55 Wuzzy joins (~Wuzzy@p5b0df7c2.dip0.t-ipconnect.de)
16:17:35 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
16:18:38 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Ping timeout: 264 seconds)
16:18:57 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
16:19:14 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
16:19:59 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
16:23:38 bitmapper joins (uid464869@gateway/web/irccloud.com/x-zipyvhzkdivpihoa)
16:23:46 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
16:24:12 gitgoood joins (~gitgood@82-132-217-203.dab.02.net)
16:24:27 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
16:24:59 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
16:26:46 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Remote host closed the connection)
16:26:57 × gitgood quits (~gitgood@82-132-217-185.dab.02.net) (Read error: Connection reset by peer)
16:27:22 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
16:28:04 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
16:28:18 × Franciman quits (~francesco@host-82-49-79-189.retail.telecomitalia.it) (Quit: Leaving)
16:28:35 mirrorbird joins (dwsjeid911@gateway/vpn/mullvad/dwsjeid911)
16:29:50 idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
16:30:05 × kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection)
16:32:02 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
16:34:22 × acidjnk_new quits (~acidjnk@p200300d0c72b95704cd799b0a8031c33.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
16:34:28 evanjs joins (~evanjs@075-129-098-007.res.spectrum.com)
16:34:36 freeman42x[m]_ joins (uid387759@gateway/web/irccloud.com/x-npqivcpbpqfrcrva)
16:34:48 freeman42x[m]__ joins (uid387759@gateway/web/irccloud.com/x-eoxtflmbywridyms)
16:35:07 Benzi-Junior joins (~BenziJuni@88-149-64-40.du.xdsl.is)
16:36:06 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Ping timeout: 268 seconds)
16:38:19 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
16:41:02 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
16:42:11 myShoggoth joins (~myShoggot@75.164.81.55)
16:43:01 neuralisp joins (~neuralisp@171.115.182.201)
16:46:18 × neuralisp quits (~neuralisp@171.115.182.201) (Read error: Connection reset by peer)
16:47:09 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:47:16 neuralisp joins (~neuralisp@171.115.182.201)
16:49:01 × crobbins_ quits (~crobbins@2601:2c1:200:ec50:11f4:eb0d:2359:7dd4) (Remote host closed the connection)
16:49:57 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
16:51:17 crobbins joins (~crobbins@2601:2c1:200:ec50:5d1f:8754:d509:f553)
16:52:33 × neuralisp quits (~neuralisp@171.115.182.201) (Ping timeout: 245 seconds)
16:52:45 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
16:53:45 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
16:56:18 × jespada quits (~jespada@90.254.243.187) (Ping timeout: 245 seconds)
16:56:33 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 246 seconds)
16:58:19 frozenErebus joins (~frozenEre@94.128.82.20)
16:59:30 jespada joins (~jespada@90.254.243.187)
17:00:24 × vilpan quits (~0@212.117.1.172) (Quit: Leaving.)
17:01:29 geekosaur joins (82650c7a@130.101.12.122)
17:06:57 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Remote host closed the connection)
17:07:01 × DTZUZU quits (~DTZUZO@205.ip-149-56-132.net) (Remote host closed the connection)
17:07:02 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
17:07:14 DTZUZU joins (~DTZUZO@205.ip-149-56-132.net)
17:08:34 inkbottle joins (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr)
17:08:57 × zebrag quits (~inkbottle@aaubervilliers-654-1-108-207.w86-212.abo.wanadoo.fr) (Ping timeout: 264 seconds)
17:12:02 maxxe_test joins (~maxxe@unaffiliated/maxxe)
17:13:11 × maxxe_test quits (~maxxe@unaffiliated/maxxe) (Quit: brb)
17:15:23 ekleog_ is now known as ekleog
17:16:57 × gitgoood quits (~gitgood@82-132-217-203.dab.02.net) (Read error: Connection reset by peer)
17:20:04 × nf quits (~n@monade.li) (Quit: Fairfarren.)
17:21:58 pavonia joins (~user@unaffiliated/siracusa)
17:26:03 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
17:26:11 × [exa] quits (exa@srv3.blesmrt.net) (Changing host)
17:26:11 [exa] joins (exa@unaffiliated/exa/x-5381537)
17:27:04 ukari joins (~ukari@unaffiliated/ukari)
17:27:14 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
17:29:18 CrazyPython joins (~crazypyth@98.122.164.118)
17:30:35 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
17:33:35 nineonine joins (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4)
17:35:26 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
17:36:57 Cale joins (~cale@cpef48e38ee8583-cm0c473de9d680.cpe.net.cable.rogers.com)
17:40:22 Lycurgus joins (~niemand@98.4.114.199)
17:41:31 dm9 joins (~weechat@p200300dcb71b99004a5d60fffe655171.dip0.t-ipconnect.de)
17:42:03 × Yumasi quits (~guillaume@2a01cb0506313c00e14be01ac4a050f7.ipv6.abo.wanadoo.fr) (Ping timeout: 272 seconds)
17:42:51 × dibblego quits (~dibblego@haskell/developer/dibblego) (Read error: Connection reset by peer)
17:43:10 dibblego joins (~dibblego@122-199-1-30.ip4.superloop.com)
17:43:10 × dibblego quits (~dibblego@122-199-1-30.ip4.superloop.com) (Changing host)
17:43:10 dibblego joins (~dibblego@haskell/developer/dibblego)
17:43:32 Pickchea joins (~private@unaffiliated/pickchea)
17:44:27 × teardown quits (~user@gateway/tor-sasl/mrush) (Remote host closed the connection)
17:44:46 amerigo joins (uid331857@gateway/web/irccloud.com/x-ogtmyetatpwdhnbk)
17:44:49 teardown joins (~user@gateway/tor-sasl/mrush)
17:45:49 nf joins (~n@2a03:4000:53:fb4:1869:15ff:fe71:8ab)
17:46:00 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Quit: WeeChat 1.9.1)
17:47:21 × idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 264 seconds)
17:47:55 × stree quits (~stree@68.36.8.116) (Ping timeout: 276 seconds)
17:50:17 mirrorbird parts (dwsjeid911@gateway/vpn/mullvad/dwsjeid911) ("Leaving")
17:51:35 ADG1089__ joins (~aditya@122.163.164.53)
17:51:57 × renzhi quits (~renzhi@2607:fa49:653f:eb00::296e) (Ping timeout: 260 seconds)
17:54:23 × ADG1089__ quits (~aditya@122.163.164.53) (Remote host closed the connection)
17:57:05 acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net)
17:58:46 × conal quits (~conal@209.58.139.5) (Ping timeout: 260 seconds)
17:59:30 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
17:59:38 × p8m_ quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 245 seconds)
18:00:31 stree joins (~stree@68.36.8.116)
18:00:43 × Lycurgus quits (~niemand@98.4.114.199) (Quit: Exeunt)
18:02:23 conal joins (~conal@209.58.139.5)
18:02:57 × asheshambasta quits (~user@ptr-e1lysauv26w29gc2wg9.18120a2.ip6.access.telenet.be) (Ping timeout: 272 seconds)
18:03:48 howdoi joins (uid224@gateway/web/irccloud.com/x-hvixwxeomfxyoqsc)
18:05:21 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
18:06:51 rlsph joins (~mads@2a03:b0c0:2:f0::324:5001)
18:07:55 × inkbottle quits (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
18:08:14 inkbottle joins (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr)
18:08:18 p8m_ joins (p8m@gateway/vpn/protonvpn/p8m)
18:08:39 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 246 seconds)
18:11:10 pera joins (~pera@unaffiliated/pera)
18:11:12 × DataComp_ quits (~lumeng@50.43.26.251) (Quit: Leaving...)
18:11:21 idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
18:12:12 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
18:12:32 × rajivr quits (uid269651@gateway/web/irccloud.com/x-zgcncjnqyenbczlt) (Quit: Connection closed for inactivity)
18:13:07 <carbolymer> If I'm only building a list, via prepending elements (~500k elements), does it make sense to use a mutable collection to gain performance here?
18:13:10 × p8m_ quits (p8m@gateway/vpn/protonvpn/p8m) (Remote host closed the connection)
18:13:35 <carbolymer> prepending i.e. list constructor `:`
18:13:38 <monochrom> It depends on what you use the collection for after it's built.
18:13:50 <carbolymer> only search, no further modifications
18:13:54 × minoru_shiraeesh quits (~shiraeesh@46.34.207.182) (Ping timeout: 246 seconds)
18:13:54 __minoru__shirae joins (~shiraeesh@77.94.25.47)
18:14:03 <maerwald> search is terribly inefficient
18:14:14 <monochrom> Will it be binary search? Hashed search? FIFO search? LIFO search?
18:14:31 <monochrom> In fact, "search" is terribly ambiguous, too. :)
18:14:54 <carbolymer> ok, so running isInfixOf over all elements ;]
18:15:03 <carbolymer> Data.Bytesting.Char8.isInfixOf
18:15:40 <carbolymer> maerwald: you mean search in general, or lists for search?
18:15:47 <maerwald> lists for search
18:16:35 <monochrom> Alright, I don't know how to do better than exhaustive search, so may as well just list and prepend.
18:16:43 × nf quits (~n@2a03:4000:53:fb4:1869:15ff:fe71:8ab) (Quit: Fairfarren.)
18:16:43 <carbolymer> so which datastructure would be better for substring searches?
18:16:58 <monochrom> I'm sure there is a better way and I'm sure it's in an obscure paper from those algorithm people.
18:17:26 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 260 seconds)
18:17:30 <monochrom> KMP or Boyer-Moore is better for substring searches.
18:18:00 <monochrom> But here you are one level above.
18:18:04 × mayleesia quits (590caa9e@dynamic-089-012-170-158.89.12.pool.telefonica.de) (Quit: Connection closed)
18:18:12 × chele quits (~chele@ip5b40237d.dynamic.kabel-deutschland.de) (Remote host closed the connection)
18:18:18 <carbolymer> actually, KMP or Boyer-Moore perform few times slower than Rabin-Karp in `isInfixOf`
18:18:33 × conal quits (~conal@209.58.139.5) (Ping timeout: 264 seconds)
18:18:34 <carbolymer> or `stringsearch` has inefficient implementations
18:19:04 <monochrom> Here your level is "I have n strings, find one that is a superstring of blah".
18:19:12 Franciman joins (~francesco@host-82-49-79-189.retail.telecomitalia.it)
18:19:15 <dolio> Those all build some kind of other structure from the string, right? It's probably better to build that structure than a list.
18:19:35 <carbolymer> dolio: actually it's the opposite, they build structure from the needle
18:19:42 <carbolymer> and I'm wondering how to store haystacks
18:19:48 <maerwald> carbolymer: is the needle known at list construction time?
18:19:52 <carbolymer> no
18:19:57 × nineonine quits (~nineonine@2604:3d08:7785:9600:e9a2:5149:9431:1ba4) (Ping timeout: 260 seconds)
18:20:01 <maerwald> the length?
18:20:22 <carbolymer> of the needle? 3-15 chars, haystacks? probably up to 300 chars
18:20:49 <maerwald> ok, 3 is too low to have any gains for pre-filtering
18:21:18 × Waifod quits (~Waifod@91.106.123.186) (Ping timeout: 245 seconds)
18:21:31 <carbolymer> yeah
18:22:05 <maerwald> maybe we can parallelize the search?
18:23:24 nf joins (~n@monade.li)
18:24:45 nineonin_ joins (~nineonine@2604:3d08:7785:9600:ec09:110c:743a:f501)
18:25:02 <maerwald> https://hackage.haskell.org/package/parallel-3.2.1.1/docs/Control-Parallel-Strategies.html#v:evalListN
18:25:05 Ebin joins (6746c694@103.70.198.148)
18:25:09 <Ebin> hai
18:25:15 <Ebin> is any one here
18:25:22 × HiRE quits (~HiRE@104.128.237.40) (Ping timeout: 260 seconds)
18:25:27 <maerwald> sth like that... never used the lib
18:25:44 <Ebin> i am interested in know more about haskell
18:25:46 HiRE joins (~HiRE@104.128.237.40)
18:25:59 conal joins (~conal@209.58.139.5)
18:26:03 <Ebin> can anyone share your experience
18:26:09 <Ebin> haskell
18:26:13 DataComputist joins (~lumeng@50.43.26.251)
18:26:18 <Ebin> how long it take to learn haskell
18:26:34 <Ebin> is it good form production level projects
18:26:41 <Ebin> can any one help me ..
18:26:47 <maerwald> Ebin: what kind of project?
18:26:49 <dolio> carbolymer: A trie, then?
18:27:30 <dolio> At each stage you have a suffix trie, and want to compute the suffix trie from prepending one character?
18:27:46 <tomsmeding> carbolymer: is the haystack kind of random in distribution?
18:27:52 <Ebin> nothing like that i do not planning to do any project, i am interested in learning a function language two chooses in frond of me is elixir and haskell
18:28:15 <tomsmeding> oh wait you said that the needle isn't known at construction time, hmm
18:28:21 <maerwald> Ebin: haskell probably exposes you to more concepts... elixir might be easier to learn (not sure though)
18:28:25 <monochrom> A trie shines for prefixes only.
18:28:29 <Ebin> my agenda is to learn a functional programming langauge
18:28:54 <monochrom> err suffixes only, in that case
18:29:03 <maerwald> Ebin: there aren't many purely functional programming languages and even less that are useful. Elixir is functional, but not purly functional
18:29:22 <maerwald> so if you're into that, haskell is a good choice
18:29:30 nineonine joins (~nineonine@2604:3d08:7785:9600:383a:c6c2:f8c1:ca2c)
18:29:44 <Ebin> i am a computer engineering student ,while learning programming paradigms, i know more about function programming languages which are good at concurrency control
18:29:56 <carbolymer> maerwald: nope, I can utilize one core ;) parallelization would be too easy
18:29:57 × conal quits (~conal@209.58.139.5) (Quit: Computer has gone to sleep.)
18:30:26 <Ebin> did Haskell have any package manager like python pip
18:30:31 <maerwald> Ebin: yeah
18:30:33 <dolio> But `isInfixOf` just searches for isPrefixOf in a list of suffixes.
18:30:47 <tomsmeding> carbolymer: okay my question stands, is the haystack quite random? If so, while constructing store the suffix _sums_ of the haystack (can be done in constant time per pushed element, of course). Then when you know the needle's length, say N, compute all the sums of substrings of length N, and also compute the sum of the characters in the needle. Then only check actual substring equality on the
18:30:48 <tomsmeding> positions where the "hashes" match
18:31:10 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
18:31:30 <tomsmeding> if there's a low probability that the "hashes" match in general, this could reduce time to little more than linear in the haystack, instead linear in haystack times needle
18:31:35 <dolio> Oh, I guess the problem is that you don't know which suffixes to modify.
18:31:38 <tomsmeding> s/instead/instead of/
18:31:43 <carbolymer> tomsmeding: I suspect it's random
18:31:48 <tomsmeding> "suspect"
18:32:00 × kuribas quits (~user@ptr-25vy0i7qqmcrk0iummz.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
18:32:03 <carbolymer> yeah, I can not know, because I don't know the dataset upfront
18:32:10 <monochrom> Nice hashing scheme, tomsmeding.
18:32:18 <tomsmeding> if you need guaranteed performance, my scheme won't work :)
18:32:42 <monochrom> Just use a cryptographic hash, then everything is really really random. :)
18:33:02 <tomsmeding> and substring search via homomorphic encryption?
18:33:08 <tomsmeding> yeah, that will speed it up :)
18:33:08 <monochrom> haha
18:33:37 × crobbins quits (~crobbins@2601:2c1:200:ec50:5d1f:8754:d509:f553) (Remote host closed the connection)
18:33:38 × nineonin_ quits (~nineonine@2604:3d08:7785:9600:ec09:110c:743a:f501) (Ping timeout: 264 seconds)
18:33:38 conal joins (~conal@209.58.139.5)
18:33:47 Waifod joins (Waifod@gateway/vpn/protonvpn/waifod)
18:33:52 <tomsmeding> Ebin: the Haskell package manager works more like a Python virtualenv, not really globally like pip
18:34:08 <tomsmeding> or, well, the haskell package managerS -- there are two in common usage
18:34:17 crobbins joins (~crobbins@2601:2c1:200:ec50:30f7:9e8e:ec2a:2032)
18:35:02 <Ebin> cabal
18:35:11 <tomsmeding> stack is the other one
18:35:15 <Ebin> is it good to start
18:35:21 <monochrom> Yes.
18:35:47 <monochrom> But where is sm[m] for a second opinion? >:)
18:35:48 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
18:36:09 <maerwald> There are more interesting things for newcomers to learn than about tooling wars
18:36:09 geekosaur joins (82650c7a@130.101.12.122)
18:36:38 <monochrom> OK then, my third opinion.
18:36:52 <monochrom> Ignore packages. Start with the interpreter ghci first.
18:37:07 sm[m] appears!
18:37:27 <tomsmeding> agree with maerwald
18:37:45 <Ebin> ok
18:38:34 <monochrom> But perhaps people know from other communities that tooling wars are nothing new.
18:39:05 × alexelcu quits (~alexelcu@142.93.180.198) (Quit: ZNC 1.8.2 - https://znc.in)
18:39:36 <maerwald> If cabal v1 wasn't that buried in the cli, I'd still recommend that for beginners. It's sufficient.
18:39:36 <carbolymer> tomsmeding: I'm trying to understand your algorithm - what do you mean by suffix sums?
18:39:58 <carbolymer> tomsmeding: sums of all possible suffixes of haystack?
18:40:00 <tomsmeding> carbolymer: https://en.wikipedia.org/wiki/Prefix_sum but then suffixes instead of prefixes :p
18:40:00 <sm[m]> I would send Ebin straight to
18:40:00 <sm[m]> @where htac
18:40:01 <lambdabot> "Haskell Tutorial and Cookbook" by Mark Watson in 2017-09-04 at <https://leanpub.com/haskell-cookbook>
18:40:03 <tomsmeding> carbolymer: yes
18:40:07 alexelcu joins (~alexelcu@142.93.180.198)
18:40:17 <monochrom> "buried in the cli" seems to be a widespread, entrenched, institutionalized problem.
18:40:19 <carbolymer> thx for the link
18:40:54 <tomsmeding> carbolymer: earlier you said that the length of the list would be ~500k, whereas later you said that the haystack would be ~300 chars; which is true? :p
18:41:13 <monochrom> I was trying to use docker (and get by by learning the minimum) a few days ago. "docker --help" lists a million commands. For each command, "docker foo --help" lists a million knobs.
18:41:17 <carbolymer> tomsmeding: both, I have 500k haystacks, each ~300 chars
18:41:20 geekosaur assumes that means 500k count of 300-char strings
18:41:22 <Ebin> is there any haskell related discord groups
18:41:27 <tomsmeding> ooooh I see
18:41:36 <monochrom> It drove home the strength of a proper GUI/TUI menu system.
18:41:37 <maerwald> Ebin: there's a matrix channel
18:42:04 tomsmeding thinks that changes carbolymer's problem
18:42:16 <carbolymer> I think so
18:42:22 <carbolymer> I need to do a lot of searches
18:42:28 <maerwald> monochrom: I like git's difference between `-h` and `--help`
18:42:50 <maerwald> but maybe that's too subtle
18:43:03 <monochrom> Speaking of which, I'm thankful for "ghcup tui".
18:43:19 × deviantfero quits (~deviantfe@190.150.27.58) (Ping timeout: 265 seconds)
18:43:22 × freeman42x[m]_ quits (uid387759@gateway/web/irccloud.com/x-npqivcpbpqfrcrva) (Quit: Connection closed for inactivity)
18:43:22 × freeman42x[m]__ quits (uid387759@gateway/web/irccloud.com/x-eoxtflmbywridyms) (Quit: Connection closed for inactivity)
18:43:34 <maerwald> that would be hard to do for docker, I guess
18:44:11 × danso quits (~dan@2001:1970:52e7:d000:96b8:6dff:feb3:c009) (Ping timeout: 246 seconds)
18:44:38 <maerwald> grouping commands would already be of help: commands for images, for containers, insepction commands... like, what's your general motivation
18:45:13 × roconnor quits (~roconnor@host-45-58-192-182.dyn.295.ca) (Ping timeout: 256 seconds)
18:45:45 <maerwald> `docker create` is for containers only... although it could be for everything...
18:45:53 <maerwald> they didn't think of that
18:45:55 <geekosaur> git handles this not too terribly
18:46:18 <tomsmeding> carbolymer: have you tried a regex engine that constructs a finite state machine, I believe regex-tfda does?
18:46:20 <tomsmeding> no joke
18:46:53 tomsmeding wonders if it's worth JITing code given a particular needle
18:47:37 <carbolymer> w8, ghc has jit?
18:47:48 <tomsmeding> no :p
18:48:05 <carbolymer> so how ? :D
18:48:08 <tomsmeding> like, you could link to llvm
18:48:21 <tomsmeding> which is not something you do in an evening :p
18:48:44 <tomsmeding> there are haskell packages that wrap llvm into something usable from haskell
18:48:46 × idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Remote host closed the connection)
18:48:50 ozataman joins (~ozataman@pool-100-37-221-69.phlapa.fios.verizon.net)
18:49:07 × notzmv quits (~zmv@unaffiliated/zmv) (Ping timeout: 265 seconds)
18:49:08 × cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 260 seconds)
18:49:10 idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
18:49:13 × dxld quits (~dxld@80-109-136-248.cable.dynamic.surfer.at) (Ping timeout: 245 seconds)
18:49:40 <maerwald> just send the list to google and let them search through it
18:50:10 <carbolymer> tomsmeding: interesting
18:50:15 <maerwald> I'm pretty sure there's a microservice for that :p
18:50:29 <carbolymer> tomsmeding: you mean, regex-tfda builds FSM from search pattern?
18:51:08 <tomsmeding> that's what all good regex engines do
18:51:31 <tomsmeding> your regex is trivial -- just a simple string -- but that doesn't mean that building an FSM is not worth it
18:51:57 <tomsmeding> regex-tdfa by the way, sorry typo
18:52:08 × idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Remote host closed the connection)
18:52:22 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
18:52:52 <carbolymer> yeah I found it
18:53:02 × Ebin quits (6746c694@103.70.198.148) (Quit: Connection closed)
18:53:10 dxld joins (~dxld@rush.pub.dxld.at)
18:53:46 × mananamenos_ quits (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net) (Ping timeout: 256 seconds)
18:53:56 idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
18:55:17 mayleesia joins (590caa9e@dynamic-089-012-170-158.89.12.pool.telefonica.de)
18:56:02 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
18:58:21 × idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 246 seconds)
18:59:40 × dm9 quits (~weechat@p200300dcb71b99004a5d60fffe655171.dip0.t-ipconnect.de) (Quit: WeeChat 3.0.1)
19:01:09 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 246 seconds)
19:01:14 × dxld quits (~dxld@rush.pub.dxld.at) (Ping timeout: 264 seconds)
19:02:25 × marinelli quits (~marinelli@gateway/tor-sasl/marinelli) (Remote host closed the connection)
19:02:46 marinelli joins (~marinelli@gateway/tor-sasl/marinelli)
19:02:56 mananamenos_ joins (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net)
19:03:37 berberman_ joins (~berberman@unaffiliated/berberman)
19:04:23 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 272 seconds)
19:05:15 dxld joins (~dxld@77.116.91.109.wireless.dyn.drei.com)
19:06:04 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
19:06:19 rj joins (~x@gateway/tor-sasl/rj)
19:06:23 × alexelcu quits (~alexelcu@142.93.180.198) (Quit: ZNC 1.8.2 - https://znc.in)
19:06:50 alexelcu joins (~alexelcu@142.93.180.198)
19:07:28 × ozataman quits (~ozataman@pool-100-37-221-69.phlapa.fios.verizon.net) (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
19:07:55 × inkbottle quits (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
19:08:06 Tops2 joins (~Tobias@dyndsl-095-033-019-066.ewe-ip-backbone.de)
19:08:13 inkbottle joins (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr)
19:09:06 <carbolymer> tomsmeding: so far regex seems to be slower than isInfixOf, i haven't found how much yet ;)
19:09:19 <tomsmeding> lol ok
19:09:33 <tomsmeding> that's a weird failing of the regex engine though, I'd say
19:09:43 <sclv> no, not really
19:10:00 <sclv> direct functions like `isInfixOf` are almost always going to be superior to general purpose matchers
19:10:27 <sclv> especially if you use something like bytestring or data.text where they have specialized algorithms for efficient string search
19:10:36 <sclv> er substring search
19:10:38 × jdt quits (~jdt@208.85.233.130) (Ping timeout: 260 seconds)
19:10:55 <tomsmeding> fair point
19:11:09 danso joins (~dan@2001:1970:52e7:d000:96b8:6dff:feb3:c009)
19:11:28 × heatsink quits (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a) (Remote host closed the connection)
19:12:24 Tops21 joins (~Tobias@dyndsl-095-033-019-066.ewe-ip-backbone.de)
19:12:41 × alexelcu quits (~alexelcu@142.93.180.198) (Quit: ZNC 1.8.2 - https://znc.in)
19:13:06 alexelcu joins (~alexelcu@142.93.180.198)
19:13:19 geekosaur joins (82650c7a@130.101.12.122)
19:13:37 × hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:d309:85bd:e842:5451) (Ping timeout: 260 seconds)
19:15:10 hugo joins (znc@verdigris.lysator.liu.se)
19:15:53 Boomerang joins (~Boomerang@2a05:f6c7:2179:0:82f:9d51:f6fc:aa85)
19:16:12 × Tops2 quits (~Tobias@dyndsl-095-033-019-066.ewe-ip-backbone.de) (Ping timeout: 246 seconds)
19:17:01 jdt joins (~jdt@208.85.233.130)
19:20:38 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
19:21:24 <tomsmeding> carbolymer: in my testing with random strings on the strict bytestring algorithms in 'stringsearch', boyer-moore wins by far when compared with KMP, karp-rabin, DFA
19:21:28 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
19:21:35 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 272 seconds)
19:21:48 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
19:22:35 <tomsmeding> (3 times as fast as KMP, 4 times as fast as DFA, 18 times as fast as karp-rabin)
19:22:45 × pera quits (~pera@unaffiliated/pera) (Ping timeout: 264 seconds)
19:22:50 <carbolymer> tomsmeding: interesting, what lengths of needles/haystacks, how many searches?
19:22:58 × Waifod quits (Waifod@gateway/vpn/protonvpn/waifod) (Ping timeout: 260 seconds)
19:23:18 <tomsmeding> arrowsvc_: one search of a 15-byte needle in 500k bytestrings of length 300 each
19:23:29 <tomsmeding> ... how did that mention happen, sorry random person
19:23:31 <tomsmeding> carbolymer: ^
19:23:40 × monochrom quits (trebla@216.138.220.146) (Quit: NO CARRIER)
19:23:51 monochrom joins (trebla@216.138.220.146)
19:24:23 <carbolymer> hmm
19:24:41 Waifod joins (~Waifod@91.106.123.186)
19:24:50 <tomsmeding> carbolymer: https://paste.tomsmeding.com/wjNVDkLI
19:25:08 <tomsmeding> (using stringsearch, bytestring, random, criterion-measurement)
19:25:28 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
19:26:00 <carbolymer> tomsmeding: hmm, what about isInfixOf? ;)
19:26:04 <tomsmeding> lol
19:26:09 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:6193:a9fe:af70:ae6e)
19:26:21 × monochrom quits (trebla@216.138.220.146) (Client Quit)
19:27:26 <maerwald> BoyerMoore is fastest here
19:28:55 tomsmeding noticed that I was using bytestring-0.11 instead of 0.12 so recompiling the world
19:29:13 tomsmeding um, 0.10 instead of 0.11
19:30:13 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
19:30:32 <maerwald> compiled with -O1 BoyerMoore is even faster
19:30:33 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 264 seconds)
19:30:40 Tario joins (~Tario@201.192.165.173)
19:31:11 <maerwald> carbolymer: this way you can cabal run the file: https://paste.tomsmeding.com/IRUOUSWJ
19:31:11 <tomsmeding> boyermoore is faster than isInfixOf here, carbolymer
19:32:01 <carbolymer> I'm trying to re-run your code
19:32:10 <carbolymer> but using stack
19:32:15 <carbolymer> so downloading ghc rn >.>
19:32:28 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
19:32:39 justan0theruser joins (~justanoth@unaffiliated/justanotheruser)
19:32:45 tomsmeding wonders how "using stack" became "so downloading ghc", presumably you already have a ghc you're using? :p
19:33:02 <maerwald> stack downloads a ghc just in case :p
19:33:15 <carbolymer> ^ basically this ;)
19:33:23 Gurkenglas_ joins (~Gurkengla@unaffiliated/gurkenglas)
19:33:24 bergey` joins (~user@107.181.19.30)
19:33:33 <tomsmeding> only if you specify a LTS that uses a ghc you didn't already have, right?
19:33:42 × Benzi-Junior quits (~BenziJuni@88-149-64-40.du.xdsl.is) (Ping timeout: 246 seconds)
19:33:49 <tomsmeding> I mean, stack bashing anytime, but this seems strange
19:34:14 waskell joins (~quassel@d66-183-124-203.bchsia.telus.net)
19:34:14 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 264 seconds)
19:34:20 <Uniaika> (not to be confused with stack smashing)
19:34:30 drewolson4 joins (~drewolson@64.227.24.16)
19:34:33 CrazyPyt_ joins (~crazypyth@98.122.164.118)
19:34:39 rj joins (~x@gateway/tor-sasl/rj)
19:35:07 ralu7 joins (~ralu@static.211.245.203.116.clients.your-server.de)
19:35:09 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
19:35:21 neightchan joins (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net)
19:35:27 vnz_ joins (~vnz@51.15.143.225)
19:35:28 glguy_ joins (x@freenode/staff/haskell.developer.glguy)
19:35:28 × glguy quits (x@freenode/staff/haskell.developer.glguy) (Killed (weber.freenode.net (Nickname regained by services)))
19:35:28 glguy_ is now known as glguy
19:35:31 lazyshrk_ joins (~lazyshrk@128.199.58.13)
19:35:33 cocreature_ joins (~cocreatur@eirene.uberspace.de)
19:35:38 infinisi1 joins (~infinisil@NixOS/user/infinisil)
19:35:38 Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362)
19:35:41 superstar64 joins (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net)
19:35:42 Anthaas_ joins (~Anthaas@unaffiliated/anthaas)
19:35:44 gothos_ joins (~gothos@antsy.jhz.name)
19:35:47 notzmv joins (~zmv@unaffiliated/zmv)
19:36:03 Bergle_2 joins (~Bergle_4@101.165.90.119)
19:36:03 codolio joins (~dolio@haskell/developer/dolio)
19:36:13 <gentauro> 20:33 < tomsmeding> only if you specify a LTS that uses a ghc you didn't already have, right?
19:36:20 <gentauro> indispensable for reproducible builds !!!
19:36:27 minoru_shiraeesh joins (~shiraeesh@77.94.25.47)
19:36:42 dragestil_ joins (~quassel@fsf/member/dragestil)
19:36:43 <maerwald> there are no reproducible builds in haskell either way
19:36:47 jil`` joins (~user@45.86.162.6)
19:36:48 tanuki_ joins (~quassel@173.168.154.189)
19:36:50 gentauro to be fair, that will always work on a system like debian and so, but not on `nixos` :(
19:36:55 <tomsmeding> why does 'random' not have a list shuffle function
19:36:57 hseg joins (~gesh@IGLD-84-228-239-48.inter.net.il)
19:36:57 <gentauro> maerwald: there is
19:37:06 <gentauro> I know how to, muahaha :)
19:37:07 <maerwald> gentauro: it's impossible due to ghc issues
19:37:14 <maerwald> it's not deterministic
19:37:17 <gentauro> maerwald: nah
19:37:19 <maerwald> yes
19:37:20 lawid_ joins (~quassel@dslb-090-186-208-048.090.186.pools.vodafone-ip.de)
19:37:23 <gentauro> maerwald: it is
19:37:24 <gentauro> xD
19:37:25 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 272 seconds)
19:37:40 NieDzejkob_ joins (~quassel@195.149.98.3)
19:37:43 <maerwald> https://gitlab.haskell.org/ghc/ghc/-/issues/4012
19:37:45 <maerwald> no
19:37:56 ornxka_ joins (~ornxka@unaffiliated/ornx)
19:37:57 byorgey_ joins (~byorgey@155.138.238.211)
19:37:58 machined1od joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
19:38:02 mceier_ joins (~mceier@89-68-132-187.dynamic.chello.pl)
19:38:04 jack1909 joins (~qpls@cpeb4750e67d202-cmf81d0fad5840.cpe.net.fido.ca)
19:38:04 <gentauro> `(*) GHC is not fully deterministic yet, but if you keep to the following setup: stack + LTS - Data.Unique, you shouldn’t have any problems. For more info, please look into the ongoing work in order to make GHC support fully deterministic builds.` https://uniprocess.org/builds.html
19:38:05 neiluj_ joins (~jco@91-167-203-101.subs.proxad.net)
19:38:13 <sclv> random is for generating random values. list shuffle is one of many things you can _do_ with random values
19:38:25 b3zi joins (~b3z@vmd41962.contaboserver.net)
19:38:25 <sclv> the "standard" good enough shuffle is a one liner
19:38:26 gienah_ joins (~mwright@119-18-2-241.771202.syd.nbn.aussiebb.net)
19:38:36 <sclv> just zip your values with a list of random reals and sort
19:38:45 <tomsmeding> sclv: fair point
19:38:46 <maerwald> "you shouldn'h have any problems"?
19:38:48 <gentauro> maerwald: it helped to talk to `Mathieu Boespflug` ;)
19:38:52 × mceier quits (~mceier@89-68-132-187.dynamic.chello.pl) (Disconnected by services)
19:39:10 <gentauro> who is the founder of Tweag.IO
19:39:12 mceier_ is now known as mceier
19:39:20 <maerwald> that needs more information
19:39:24 <gentauro> s/.IO/IO/
19:39:34 lagooned1 joins (lagooned@irc.nathanic.org)
19:39:39 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 246 seconds)
19:39:48 <gentauro> maerwald: I will copy/pasta my stack.yaml file. W8 a second
19:39:55 ahf_ joins (ahf@irssi/staff/ahf)
19:40:05 orion_ joins (~orion@c-76-19-236-20.hsd1.nh.comcast.net)
19:40:16 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
19:40:30 × lawid_ quits (~quassel@dslb-090-186-208-048.090.186.pools.vodafone-ip.de) (Max SendQ exceeded)
19:40:51 <gentauro> maerwald: https://pastebin.ubuntu.com/p/hBrqzcpFFS/
19:41:07 lawid_ joins (~quassel@dslb-090-186-208-048.090.186.pools.vodafone-ip.de)
19:41:24 <maerwald> gentauro: how does that fix the GHC bug?
19:41:25 stefan-__ joins (~cri@42dots.de)
19:41:25 <gentauro> I `lock` my projects to a specific github commit from `nix`
19:41:26 mursu_ joins (~ngWalrus@2a03:b0c0:3:d0::5ebd:2001)
19:41:27 haritzondo joins (~hrtz@62.3.70.206)
19:41:27 jtcs_ joins (~jtcs@vmi359854.contaboserver.net)
19:41:43 meck_ joins (~meck@li1809-18.members.linode.com)
19:42:15 pounce- joins (~pounce@ns379743.ip-5-196-70.eu)
19:42:25 <superstar64> rate my black magic https://gist.github.com/Superstar64/8fd82a5e1e59ec36831a0c05e61936cd
19:42:39 pharaun_ joins (~pharaun@static.88-198-62-245.clients.your-server.de)
19:42:42 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (*.net *.split)
19:42:42 × __minoru__shirae quits (~shiraeesh@77.94.25.47) (*.net *.split)
19:42:42 × CrazyPython quits (~crazypyth@98.122.164.118) (*.net *.split)
19:42:42 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (*.net *.split)
19:42:42 × ralu quits (~ralu@static.211.245.203.116.clients.your-server.de) (*.net *.split)
19:42:42 × bergey quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (*.net *.split)
19:42:42 × apoc quits (~apoc@49.12.13.193) (*.net *.split)
19:42:42 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (*.net *.split)
19:42:42 × sh9 quits (~sh9@softbank060116136158.bbtec.net) (*.net *.split)
19:42:42 × motherfsck quits (~motherfsc@unaffiliated/motherfsck) (*.net *.split)
19:42:42 × byorgey quits (~byorgey@155.138.238.211) (*.net *.split)
19:42:42 × neiluj quits (~jco@91-167-203-101.subs.proxad.net) (*.net *.split)
19:42:43 × Bergle_1 quits (~Bergle_4@101.165.90.119) (*.net *.split)
19:42:43 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (*.net *.split)
19:42:43 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (*.net *.split)
19:42:43 × Jello_Raptor quits (~Jello_Rap@li641-12.members.linode.com) (*.net *.split)
19:42:43 × meck quits (~meck@li1809-18.members.linode.com) (*.net *.split)
19:42:43 × ahf quits (ahf@irssi/staff/ahf) (*.net *.split)
19:42:43 × _ashbreeze_ quits (~mark@64.85.214.234.reverse.socket.net) (*.net *.split)
19:42:43 × sdrodge quits (~sdrodge@unaffiliated/sdrodge) (*.net *.split)
19:42:43 × stefan-_ quits (~cri@42dots.de) (*.net *.split)
19:42:43 × drewolson quits (~drewolson@64.227.24.16) (*.net *.split)
19:42:43 × gothos quits (~gothos@antsy.jhz.name) (*.net *.split)
19:42:43 × waskell_ quits (~quassel@d66-183-124-203.bchsia.telus.net) (*.net *.split)
19:42:43 × jluttine quits (~jluttine@85-23-95-149.bb.dnainternet.fi) (*.net *.split)
19:42:43 × jtcs quits (~jtcs@vmi359854.contaboserver.net) (*.net *.split)
19:42:43 × b3z quits (~b3z@vmd41962.contaboserver.net) (*.net *.split)
19:42:43 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (*.net *.split)
19:42:43 × lawid quits (~quassel@dslb-090-186-208-048.090.186.pools.vodafone-ip.de) (*.net *.split)
19:42:43 × NieDzejkob quits (~quassel@195.149.98.3) (*.net *.split)
19:42:43 × mursu quits (~ngWalrus@46.101.150.54) (*.net *.split)
19:42:43 × dragestil quits (~quassel@fsf/member/dragestil) (*.net *.split)
19:42:43 × Ishutin quits (~ishutin@91-83-11-236.pool.digikabel.hu) (*.net *.split)
19:42:43 × puffnfresh quits (~puffnfres@119-17-138-164.77118a.mel.static.aussiebb.net) (*.net *.split)
19:42:43 × ornxka quits (~ornxka@unaffiliated/ornx) (*.net *.split)
19:42:43 × pounce quits (~pounce@ns379743.ip-5-196-70.eu) (*.net *.split)
19:42:43 × natechan quits (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (*.net *.split)
19:42:43 × dmwit quits (~dmwit@pool-173-66-86-32.washdc.fios.verizon.net) (*.net *.split)
19:42:43 × tanuki quits (~quassel@173.168.154.189) (*.net *.split)
19:42:43 × aidecoe quits (~aidecoe@unaffiliated/aidecoe) (*.net *.split)
19:42:43 × shailangsa quits (~shailangs@host86-162-150-241.range86-162.btcentralplus.com) (*.net *.split)
19:42:43 × wz1000 quits (~wz1000@static.11.113.47.78.clients.your-server.de) (*.net *.split)
19:42:43 × pharaun quits (~pharaun@static.88-198-62-245.clients.your-server.de) (*.net *.split)
19:42:43 × gienah quits (~mwright@gentoo/developer/gienah) (*.net *.split)
19:42:43 × infinisil quits (~infinisil@NixOS/user/infinisil) (*.net *.split)
19:42:43 × Anthaas quits (~Anthaas@unaffiliated/anthaas) (*.net *.split)
19:42:43 × jathan quits (~jathan@69.61.93.38) (*.net *.split)
19:42:43 × cocreature quits (~cocreatur@eirene.uberspace.de) (*.net *.split)
19:42:43 × davean quits (~davean@davean.sciesnet.net) (*.net *.split)
19:42:43 × energizer quits (~energizer@unaffiliated/energizer) (*.net *.split)
19:42:43 × lagooned quits (lagooned@irc.nathanic.org) (*.net *.split)
19:42:43 × dolio quits (~dolio@haskell/developer/dolio) (*.net *.split)
19:42:43 × jil quits (~user@45.86.162.6) (*.net *.split)
19:42:43 × haritz quits (~hrtz@unaffiliated/haritz) (*.net *.split)
19:42:43 × orion quits (~orion@unaffiliated/orion) (*.net *.split)
19:42:43 × Guest41046 quits (~melkor@31.31.76.126) (*.net *.split)
19:42:43 × lazyshrk quits (~lazyshrk@128.199.58.13) (*.net *.split)
19:42:43 × vnz quits (~vnz@unaffiliated/vnz) (*.net *.split)
19:42:43 × c-rog quits (~c-rog@traffic.simst.im) (*.net *.split)
19:42:43 meck_ is now known as meck
19:42:43 Lord_of_Life_ is now known as Lord_of_Life
19:42:43 drewolson4 is now known as drewolson
19:42:43 lazyshrk_ is now known as lazyshrk
19:42:43 ralu7 is now known as ralu
19:42:43 gothos_ is now known as gothos
19:42:46 cocreature_ is now known as cocreature
19:42:48 × Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 246 seconds)
19:42:49 pharaun_ is now known as pharaun
19:42:52 vnz_ is now known as vnz
19:42:52 × vnz quits (~vnz@51.15.143.225) (Changing host)
19:42:52 vnz joins (~vnz@unaffiliated/vnz)
19:43:00 <gentauro> maerwald: https://pastebin.ubuntu.com/p/bR9Jh3jG8b/
19:43:06 carbolymer parts (~carbolyme@dropacid.net) ()
19:43:14 <gentauro> maerwald: starts at line 74
19:43:31 dmwit joins (~dmwit@pool-173-66-86-32.washdc.fios.verizon.net)
19:43:36 <gentauro> my build on a `nixos` can be reproduced on an `ubuntu` or `debian` with the same resulting `bits`
19:43:39 heatsink joins (~heatsink@2600:1700:bef1:5e10:8ce3:ab05:2761:c61a)
19:43:41 sh9 joins (~sh9@softbank060116136158.bbtec.net)
19:43:44 <gentauro> I find that kind of `nice` :)
19:43:45 × notzmv quits (~zmv@unaffiliated/zmv) (Ping timeout: 264 seconds)
19:43:52 × rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Quit: Leaving)
19:43:54 energizer joins (~energizer@unaffiliated/energizer)
19:43:57 Jello_Raptor joins (~Jello_Rap@li641-12.members.linode.com)
19:44:17 × lawid_ quits (~quassel@dslb-090-186-208-048.090.186.pools.vodafone-ip.de) (Max SendQ exceeded)
19:44:25 lawid joins (~quassel@dslb-090-186-208-048.090.186.pools.vodafone-ip.de)
19:44:30 <superstar64> printing functions is neat, here's `(||)` for example
19:44:30 <hseg> superstar64: cool
19:44:32 <superstar64> `let {f x | x == False = let {f x | x == False = False;f x | x == True = True;} in f;f x | x == True = let {f x | x == False = True;f x | x == True = True;} in f;} in f`
19:44:44 × petersen quits (~petersen@redhat/juhp) (Remote host closed the connection)
19:44:46 <superstar64> here's flip
19:44:48 <superstar64> `let {f x | x == let {f x | x == () = let {f x | x == () = ();} in f;} in f = let {f x | x == () = let {f x | x == () = ();} in f;} in f;} in f`
19:45:15 <maerwald> gentauro: ah, so -dinitial-unique=0 -dunique-increment=1
19:45:15 × jespada quits (~jespada@90.254.243.187) (Ping timeout: 246 seconds)
19:45:16 Ishutin joins (~ishutin@91-83-11-236.pool.digikabel.hu)
19:45:19 <hseg> might want to replace 'all id' with 'and' there
19:45:23 × DavidEichmann quits (~david@234.109.45.217.dyn.plus.net) (Remote host closed the connection)
19:45:25 <[exa]> superstar64: finitists rejoice
19:45:26 × stree quits (~stree@68.36.8.116) (Excess Flood)
19:45:54 stree joins (~stree@68.36.8.116)
19:46:05 <maerwald> gentauro: looking at the GHC ticket, that doesn't seem to be the only source though
19:46:18 × Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Ping timeout: 246 seconds)
19:46:39 × Wuzzy quits (~Wuzzy@p5b0df7c2.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
19:46:50 <gentauro> maerwald: those were the hints I got from Mathieu ;)
19:47:01 <maerwald> this should be discussed in the ticket
19:47:30 <gentauro> maerwald: agree. We should let Tweag I/O work on this.
19:47:43 <gentauro> who will sponsor? M$? FB?
19:47:44 <gentauro> :)
19:47:58 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
19:48:10 jespada joins (~jespada@90.254.243.187)
19:48:30 Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net)
19:48:33 aidecoe joins (~aidecoe@unaffiliated/aidecoe)
19:48:41 davean joins (~davean@davean.sciesnet.net)
19:49:08 inkbottle is now known as zebrag
19:49:09 puffnfresh joins (~puffnfres@119-17-138-164.77118a.mel.static.aussiebb.net)
19:49:10 _ashbreeze_ joins (~mark@64.85.214.234.reverse.socket.net)
19:49:17 Guest41046 joins (~melkor@2a02:2b88:2:1::5b34:1)
19:49:26 motherfsck joins (~motherfsc@unaffiliated/motherfsck)
19:49:31 wz1000 joins (~wz1000@static.11.113.47.78.clients.your-server.de)
19:49:36 <maerwald> Do those flags have any side effects?
19:49:51 <maerwald> Or can I just stomp them into all my cabal files
19:49:57 <gentauro> maerwald: which flags?
19:50:01 sdrodge joins (~sdrodge@unaffiliated/sdrodge)
19:50:07 <maerwald> -dinitial-unique=0 -dunique-increment=1
19:50:23 <hseg> superstar64: note that the Enum instance blows the stack pretty quickly
19:50:24 jathan joins (~jathan@69.61.93.38)
19:50:50 apoc joins (~apoc@49.12.13.193)
19:51:02 <gentauro> maerwald: they haven't for me, but my code is not running in `prod` (yet) so … I'm probably not the best to respond this :|
19:51:03 jluttine joins (~jluttine@85-23-95-149.bb.dnainternet.fi)
19:51:23 <hseg> nm, if you keep the domain small enough it doesn't matter
19:52:17 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
19:52:34 <superstar64> i'm fully aware my code is awful
19:52:46 <hseg> nw
19:52:56 <hseg> it works, it's cool
19:54:44 c-rog joins (~c-rog@traffic.simst.im)
19:55:14 <hseg> just realized by staring at the free theorem for [a] -> [a] that the function I wanted is impossible to write in general
19:55:36 <hseg> (basically, wanted to have a general `On` combinator
19:56:24 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
19:56:35 <sclv> :t on
19:56:36 <lambdabot> (b -> b -> c) -> (a -> b) -> a -> a -> c
19:56:46 <hseg> no, as in
19:56:48 <hseg> :t sort
19:56:49 <lambdabot> Ord a => [a] -> [a]
19:56:50 <hseg> :t sortOn
19:56:51 <lambdabot> Ord b => (a -> b) -> [a] -> [a]
19:57:17 <hseg> since morally speaking a function [a] -> [a] only rearranges its inputs
19:57:31 valdyn joins (valdyn@c6a7cb82.vpn.njalla.net)
19:57:41 <sclv> right but sort isn't of that type, its got a typeclass constraint
19:57:47 <sclv> which means it has different free theorems
19:57:57 monochrom joins (trebla@216.138.220.146)
19:58:11 <hseg> y. wasn't referring to on that you mentioned
19:58:13 × valdyn quits (valdyn@c6a7cb82.vpn.njalla.net) (Client Quit)
19:58:20 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Remote host closed the connection)
19:58:29 valdyn joins (valdyn@c6a7cb82.vpn.njalla.net)
19:58:53 <hseg> wanted sth like :: (a ->b) -> (c b => f b -> f b) -> (c a => f a -> f a)
19:59:18 <hseg> except in that full generality, it probably is impossible
19:59:26 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
19:59:44 <sclv> you can get close with coerce and newtypes
19:59:53 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
20:00:24 <sclv> and like `reflection` type stuff
20:00:32 <hseg> hrm. wrap/unwrap a newtype that uses the projection for the instances?
20:01:14 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
20:01:56 <hseg> that works except when you need to synthesise new data
20:02:07 <hseg> so e.g. no Monoid instance
20:02:09 <sclv> https://www.tweag.io/blog/2017-12-21-reflection-tutorial/
20:02:21 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
20:03:40 <sclv> this has all been wrapped up in a usable way somewhere iirc but its not all in e.g. the reflection package directly. i think in practice people find it irritating to use, but i know it was all worked out at one point
20:04:13 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Remote host closed the connection)
20:04:33 <hseg> y...
20:05:06 <hseg> actually, i think i was burned by this the previous time, but this specific usecase i want could actually work
20:05:43 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 276 seconds)
20:05:56 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:06:11 <hseg> (specifically, given rotateMinimum :: Ord a => [a] -> [a], i'd like to rotateMinimumOn (scanl1 (+))
20:06:31 <hseg> which will make the output list satisfy all (>=0)
20:06:33 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
20:06:34 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
20:06:48 × sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937)
20:06:52 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:07:14 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 264 seconds)
20:07:19 petersen joins (~petersen@redhat/juhp)
20:07:23 <hseg> hrm. it seems that as long as i only ever have the projected data in negative position this can work
20:07:49 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
20:07:54 × zebrag quits (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
20:07:59 jrqc joins (~rofl@96.78.87.197)
20:08:01 <hseg> which makes sense -- if you have data in positive position, you start having to worry about how to combain the various projections
20:08:15 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
20:08:15 zebrag joins (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr)
20:08:34 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:09:25 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
20:09:44 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:10:32 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
20:10:50 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:11:43 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
20:12:02 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:14:51 × matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Quit: ZNC 1.8.2 - https://znc.in)
20:15:53 matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
20:16:09 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 264 seconds)
20:16:15 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
20:16:43 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 245 seconds)
20:17:21 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
20:19:11 rj joins (~x@gateway/tor-sasl/rj)
20:19:39 zangi joins (~azure@103.154.230.250)
20:20:51 × zangi quits (~azure@103.154.230.250) (Client Quit)
20:23:29 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
20:23:49 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:24:05 zangi joins (~azure@103.154.230.250)
20:24:38 × raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
20:25:22 × evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Read error: Connection reset by peer)
20:25:47 × nineonine quits (~nineonine@2604:3d08:7785:9600:383a:c6c2:f8c1:ca2c) ()
20:26:31 carbolymer joins (~carbolyme@dropacid.net)
20:27:36 evanjs joins (~evanjs@075-129-098-007.res.spectrum.com)
20:28:50 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 264 seconds)
20:28:50 × sablib1 quits (~sablib@171.113.166.176) (Read error: Connection reset by peer)
20:29:21 sablib1 joins (~sablib@59.173.154.87)
20:29:38 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 245 seconds)
20:31:01 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
20:31:22 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
20:32:17 × teardown quits (~user@gateway/tor-sasl/mrush) (Ping timeout: 268 seconds)
20:35:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
20:35:39 × forgottenone quits (~forgotten@176.42.29.216) (Ping timeout: 246 seconds)
20:36:33 × arrowsvc_ quits (~arr@2.93.163.35) (Ping timeout: 264 seconds)
20:36:56 maxxe_test joins (~maxxe@unaffiliated/maxxe)
20:38:45 teardown joins (~user@gateway/tor-sasl/mrush)
20:39:38 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:40:19 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
20:40:40 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
20:40:55 × kozowu quits (uid44796@gateway/web/irccloud.com/x-wlfxxlfkkrrqlsqe) ()
20:41:11 kozowu joins (uid44796@gateway/web/irccloud.com/x-qrafyzcgzsqfnujy)
20:41:24 × maxxe_test quits (~maxxe@unaffiliated/maxxe) (Quit: brb)
20:42:26 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
20:47:03 × supercoven_ quits (~Supercove@dsl-hkibng31-54fabd-233.dhcp.inet.fi) (Ping timeout: 265 seconds)
20:48:21 jneira joins (5127adbf@gateway/web/cgi-irc/kiwiirc.com/ip.81.39.173.191)
20:50:08 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
20:53:58 × amerigo quits (uid331857@gateway/web/irccloud.com/x-ogtmyetatpwdhnbk) (Quit: Connection closed for inactivity)
20:54:43 petrus joins (~petrus@unaffiliated/petrus)
20:58:45 jamm_ joins (~jamm@unaffiliated/jamm)
20:59:39 frozenErebus joins (~frozenEre@94.128.82.20)
21:00:06 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
21:00:38 × leah2 quits (~leah@vuxu.org) (Ping timeout: 264 seconds)
21:00:39 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
21:02:10 leah2 joins (~leah@vuxu.org)
21:02:36 × zangi quits (~azure@103.154.230.250) (Ping timeout: 246 seconds)
21:03:33 rj joins (~x@gateway/tor-sasl/rj)
21:03:57 × milessabin quits (sid86799@gateway/web/irccloud.com/x-xytdxzsyhuzytcdc) ()
21:04:13 milessabin joins (sid86799@gateway/web/irccloud.com/x-wrfvlipjxxwtgdkb)
21:04:42 × kyagrd__ quits (sid102627@gateway/web/irccloud.com/x-yhojjneatqeoigbv) ()
21:04:42 zangi joins (~azure@103.154.230.250)
21:04:50 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 264 seconds)
21:04:55 kyagrd__ joins (sid102627@gateway/web/irccloud.com/x-mfzxnpgkmcgufsvn)
21:05:18 jrqc joins (~rofl@96.78.87.197)
21:07:22 pera joins (~pera@unaffiliated/pera)
21:07:55 × zebrag quits (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
21:08:14 zebrag joins (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr)
21:08:17 fendor_ joins (~fendor@77.119.131.80.wireless.dyn.drei.com)
21:09:15 encod3 joins (~encod3@45-154-157-94.ftth.glasoperator.nl)
21:10:56 × Kamuela quits (sid111576@gateway/web/irccloud.com/x-rawlogsccanndxab) ()
21:10:59 × fendor quits (~fendor@178.165.128.28.wireless.dyn.drei.com) (Ping timeout: 268 seconds)
21:11:22 Kamuela joins (sid111576@gateway/web/irccloud.com/x-clkrtorqsnvtctky)
21:12:09 acidjnk_new joins (~acidjnk@p200300d0c72b9595a49e15de1a2c16dc.dip0.t-ipconnect.de)
21:12:13 × matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Quit: ZNC 1.8.2 - https://znc.in)
21:13:10 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
21:13:11 matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
21:13:45 × cheater quits (~user@unaffiliated/cheater) (Ping timeout: 264 seconds)
21:14:34 roconnor joins (~roconnor@host-45-58-192-182.dyn.295.ca)
21:14:38 cheater joins (~user@unaffiliated/cheater)
21:15:23 × pera quits (~pera@unaffiliated/pera) (Ping timeout: 256 seconds)
21:16:21 frozenErebus joins (~frozenEre@94.128.82.20)
21:17:35 <carbolymer> tomsmeding: that's weird, in your synthetic benchmark boyer-moore wins, but in my case it's 7.8 times slower than `isInfixOf`
21:17:41 × Boomerang quits (~Boomerang@2a05:f6c7:2179:0:82f:9d51:f6fc:aa85) (Quit: Leaving)
21:17:47 usr25 joins (~usr25@unaffiliated/usr25)
21:18:02 <carbolymer> tomsmeding: also, this karp-rabin from stringsearch is 4 times slower than in `isInfixOf`
21:18:42 <carbolymer> I give up for today ;]
21:18:47 <carbolymer> tomsmeding: thanks!
21:20:21 × graingert quits (sid128301@gateway/web/irccloud.com/x-vwzoafonxaqqvvrv) ()
21:20:24 × dxld quits (~dxld@77.116.91.109.wireless.dyn.drei.com) (Ping timeout: 265 seconds)
21:21:36 dxld joins (~dxld@80-109-136-248.cable.dynamic.surfer.at)
21:21:39 graingert joins (sid128301@gateway/web/irccloud.com/x-egpegejfputxptdj)
21:21:46 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 276 seconds)
21:24:13 × LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
21:25:08 lagooned1 parts (lagooned@irc.nathanic.org) ("WeeChat 3.0")
21:25:21 × fendor_ quits (~fendor@77.119.131.80.wireless.dyn.drei.com) (Remote host closed the connection)
21:25:37 × superstar64 quits (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net) (Quit: Connection closed)
21:27:15 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
21:30:17 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
21:30:38 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
21:32:00 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 246 seconds)
21:33:26 hydroxon1um joins (7458bdce@116.88.189.206)
21:34:04 frozenErebus joins (~frozenEre@94.128.82.20)
21:35:23 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 260 seconds)
21:37:57 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 246 seconds)
21:38:45 <hydroxon1um> ghcup question: does    export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"    still make sense, when `cabal` is already available in $HOME/.ghcup/bin ?
21:39:14 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 256 seconds)
21:39:54 <c_wraith> nah. if you're good with ghcup managing cabal, it's fine to remove that. (I'm good with ghcup managing cabal on my systems)
21:40:03 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
21:40:41 <geekosaur> well,, cabal v2-install still installs to ~/.cabal/bin doesn't it? or does ghcup make a config that writes to ~/.ghcup/bin?
21:41:03 × jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection)
21:41:09 <geekosaur> granting that v2-install is somewhat risky, I think that's mostly for libraries as opposed to executables
21:41:59 <hydroxon1um> c_wraith I was confused that ghcup has a feature to
21:42:28 notzmv joins (~zmv@unaffiliated/zmv)
21:42:35 <hydroxon1um> set the cabal version, but the `$HOME/.cabal/bin` essentially blocked it. Thanks for the advice!
21:43:06 <c_wraith> oh, geekosaur is right about where cabal-installed binaries end up.
21:43:29 <geekosaur> so I'd swap those two PATH entries so ghcup controls cabal
21:43:55 <geekosaur> and maybe remove ~/.cabal/bin/cabal
21:44:31 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
21:45:03 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
21:47:00 Wuzzy joins (~Wuzzy@p5b0df7c2.dip0.t-ipconnect.de)
21:47:00 <gentauro> xD
21:47:03 <gentauro> ups
21:47:29 cheater1 joins (~user@unaffiliated/cheater)
21:47:33 × cheater quits (~user@unaffiliated/cheater) (Ping timeout: 245 seconds)
21:47:34 cheater1 is now known as cheater
21:47:39 × lolmac quits (sid171216@gateway/web/irccloud.com/x-dswidkrvjmjmjdpe) ()
21:47:55 rj joins (~x@gateway/tor-sasl/rj)
21:48:03 lolmac joins (sid171216@gateway/web/irccloud.com/x-vxospmhxltncfrpx)
21:48:45 × Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving)
21:49:26 <hydroxon1um> Thanks again. It all makes sense now.
21:50:24 DavidEichmann joins (~david@234.109.45.217.dyn.plus.net)
21:51:38 × alx741 quits (~alx741@186.178.108.96) (Ping timeout: 264 seconds)
21:51:38 × zangi quits (~azure@103.154.230.250) (Read error: Connection reset by peer)
21:51:49 zangi joins (~azure@103.154.230.250)
21:53:55 × stree quits (~stree@68.36.8.116) (Ping timeout: 256 seconds)
21:56:16 × dhouthoo quits (~dhouthoo@ptr-eitgbj2w0uu6delkbrh.18120a2.ip6.access.telenet.be) (Quit: WeeChat 3.0)
21:56:41 × NinjaTrappeur quits (~ninja@unaffiliated/ninjatrappeur) (Ping timeout: 246 seconds)
21:56:47 crestfallen joins (~john@128.32.176.159)
21:57:37 × ft quits (~ft@shell.chaostreff-dortmund.de) (Ping timeout: 265 seconds)
21:58:08 × sMuNiX quits (~sMuNiX@lnsm2-montreal02-142-118-236-120.internet.virginmobile.ca) (Quit: WeeChat 3.0.1)
21:58:27 × hseg quits (~gesh@IGLD-84-228-239-48.inter.net.il) (Ping timeout: 256 seconds)
21:58:30 sMuNiX joins (~sMuNiX@lnsm2-montreal02-142-118-236-120.internet.virginmobile.ca)
22:00:22 Rudd0 joins (~Rudd0@185.189.115.103)
22:04:01 × ubert quits (~Thunderbi@p200300ecdf25d90ce6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
22:05:25 NinjaTrappeur joins (~ninja@unaffiliated/ninjatrappeur)
22:05:37 alx741 joins (~alx741@186.178.108.206)
22:05:49 × petrus quits (~petrus@unaffiliated/petrus) (Quit: WeeChat 3.0.1)
22:07:05 stree joins (~stree@68.36.8.116)
22:07:17 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:07:54 × zebrag quits (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
22:08:14 zebrag joins (~inkbottle@aaubervilliers-654-1-1-238.w83-200.abo.wanadoo.fr)
22:09:27 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
22:09:50 shailangsa joins (~shailangs@host86-162-150-241.range86-162.btcentralplus.com)
22:11:51 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:2026:8325:bd4b:a2d3) (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:12:08 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 260 seconds)
22:12:41 nighmi joins (~felix@port-92-196-49-206.dynamic.as20676.net)
22:14:06 × crestfallen quits (~john@128.32.176.159) (Remote host closed the connection)
22:17:51 × conal quits (~conal@209.58.139.5) (Quit: Computer has gone to sleep.)
22:20:12 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
22:20:47 Benzi-Junior joins (~BenziJuni@88-149-64-40.du.xdsl.is)
22:24:34 × mouseghost quits (~draco@wikipedia/desperek) (Quit: mew wew)
22:26:21 × minoru_shiraeesh quits (~shiraeesh@77.94.25.47) (Ping timeout: 264 seconds)
22:26:45 rj joins (~x@gateway/tor-sasl/rj)
22:27:17 × knupfer quits (~Thunderbi@200116b82cb0c7005129c843079bc5a1.dip.versatel-1u1.de) (Ping timeout: 260 seconds)
22:31:51 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:32:03 qih joins (~pi@210-54-120-166.adsl.xtra.co.nz)
22:32:49 gitgood joins (~gitgood@82-132-217-203.dab.02.net)
22:34:32 × typetetris quits (sid275937@gateway/web/irccloud.com/x-slhwzzrziatkashc) ()
22:34:49 typetetris joins (sid275937@gateway/web/irccloud.com/x-smfcwawxcrxnnpiq)
22:38:03 × taktoa[c] quits (sid282096@gateway/web/irccloud.com/x-uwapfgfwuhshyodw) ()
22:38:19 taktoa[c] joins (sid282096@gateway/web/irccloud.com/x-wtishcwvfhlmyfby)
22:39:27 elliott__ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
22:40:13 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:40:46 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
22:40:49 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:41:05 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:41:17 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Client Quit)
22:41:27 frozenErebus joins (~frozenEre@94.128.82.20)
22:41:30 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:42:02 × roconnor quits (~roconnor@host-45-58-192-182.dyn.295.ca) (Ping timeout: 264 seconds)
22:42:59 × graf_blutwurst quits (~user@2001:171b:226e:adc0:c1fc:bf0e:a9e3:f70e) (Remote host closed the connection)
22:43:09 × Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Ping timeout: 264 seconds)
22:46:26 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 265 seconds)
22:46:45 × frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 264 seconds)
22:47:52 ft joins (~ft@shell.chaostreff-dortmund.de)
22:47:57 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
22:48:28 redmp joins (~redmp@172.58.35.235)
22:50:52 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:51:01 × kozowu quits (uid44796@gateway/web/irccloud.com/x-qrafyzcgzsqfnujy) (Quit: Connection closed for inactivity)
22:51:33 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
22:51:49 × jneira quits (5127adbf@gateway/web/cgi-irc/kiwiirc.com/ip.81.39.173.191) (Quit: Ping timeout (120 seconds))
22:51:53 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:54:12 gitgoood joins (~gitgood@82-132-217-249.dab.02.net)
22:55:30 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Client Quit)
22:56:09 jneira joins (5127adbf@gateway/web/cgi-irc/kiwiirc.com/ip.81.39.173.191)
22:56:24 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:57:09 × royal_screwup214 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Max SendQ exceeded)
22:57:19 × gitgood quits (~gitgood@82-132-217-203.dab.02.net) (Read error: Connection reset by peer)
22:57:30 royal_screwup214 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
22:59:02 × Wuzzy quits (~Wuzzy@p5b0df7c2.dip0.t-ipconnect.de) (Quit: Wuzzy)
23:00:55 Guest20912 joins (~Yassine@105.156.108.211)
23:00:57 <Guest20912> hi
23:01:46 <Axman6> carbolymer: Time to use https://hackage.haskell.org/package/unamb-0.2.7/docs/Data-Unamb.html and race all implementations at once!
23:01:49 <Axman6> Guest20912: hello!
23:02:39 × Franciman quits (~francesco@host-82-49-79-189.retail.telecomitalia.it) (Quit: Leaving)
23:03:33 <carbolymer> Axman6: what is this?
23:03:50 <Guest20912> hey guys
23:03:53 <Guest20912> how are you
23:04:18 <Guest20912> https://hackage.haskell.org/package/unamb-0.2.7/docs/Data-Unamb.html what this link about
23:04:24 × bergey` quits (~user@107.181.19.30) (Ping timeout: 246 seconds)
23:04:38 <Axman6> it's documentation for a haskell library
23:05:08 <Guest20912> anyone worked with YAML here
23:05:17 × mananamenos_ quits (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net) (Ping timeout: 265 seconds)
23:05:19 <monochrom> No.
23:05:24 <Axman6> Yes.
23:05:27 <monochrom> This is not a YAML channel.
23:05:47 <monochrom> inb4 This is not a directory service either.
23:05:48 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
23:06:04 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving)
23:06:24 <Guest20912> it was just a question monochrom i get that
23:06:43 Guest20912 parts (~Yassine@105.156.108.211) ()
23:06:51 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 246 seconds)
23:07:07 <Axman6> Do you have any questions about Haskell?
23:07:11 × hydroxon1um quits (7458bdce@116.88.189.206) (Quit: Connection closed)
23:07:54 <Axman6> I guess not
23:08:14 × hazard-pointer_ quits (sid331723@gateway/web/irccloud.com/x-rscrbhaeowmswqqn) ()
23:08:27 hazard-pointer_ joins (sid331723@gateway/web/irccloud.com/x-yguwayyfezbfvngd)
23:09:02 jud^ joins (~jud@76.210.187.183)
23:09:31 × m-renaud quits (sid333785@gateway/web/irccloud.com/x-bkrbrcredfckpflf) ()
23:09:47 m-renaud joins (sid333785@gateway/web/irccloud.com/x-zqfzcnsyosafkivm)
23:10:21 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
23:12:44 × jud quits (~jud@unaffiliated/jud) (Ping timeout: 256 seconds)
23:14:11 × hyperisco quits (~hyperisco@d192-186-117-226.static.comm.cgocable.net) (Read error: Connection reset by peer)
23:14:57 × DavidEichmann quits (~david@234.109.45.217.dyn.plus.net) (Ping timeout: 265 seconds)
23:17:37 roconnor joins (~roconnor@host-45-58-192-182.dyn.295.ca)
23:19:48 × jack1909 quits (~qpls@cpeb4750e67d202-cmf81d0fad5840.cpe.net.fido.ca) (Ping timeout: 246 seconds)
23:20:58 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
23:21:19 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 245 seconds)
23:22:03 × tomku quits (~tomku@unaffiliated/tomku) (Quit: Lost terminal)
23:22:56 lambda-11235 joins (~lambda-11@2600:1700:7c70:4600:519a:9076:b242:5207)
23:28:13 × dani- quits (sid341953@gateway/web/irccloud.com/x-vlzznqernbfijtli) ()
23:28:28 dani- joins (sid341953@gateway/web/irccloud.com/x-tmspjqxdraljonyu)
23:31:01 × danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 272 seconds)
23:31:34 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
23:32:57 × elliott__ quits (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
23:34:03 × bitmagie quits (~Thunderbi@200116b80638f2001086a93e70cf6b57.dip.versatel-1u1.de) (Quit: bitmagie)
23:34:36 <monochrom> Yikes, the Yoneda lemma is intuitive in retrospect. I buried my head too deeply in the formal game.
23:35:10 nbloomf joins (~nbloomf@2600:1700:ad14:3020:2026:8325:bd4b:a2d3)
23:35:46 <monochrom> Someone gives you "phi :: forall r. (Int -> r) -> [r]" for example. What can phi possibly do without breaking parametricity or naturality?
23:36:54 <monochrom> It doesn't know what r is, hell it doesn't even know what to do with the Int->r function you give it, except to call it on a few secret Ints and make that [r] list.
23:36:59 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:2026:8325:bd4b:a2d3) (Client Quit)
23:37:17 elliott_ joins (~elliott_@172.58.190.239)
23:37:35 × elliott_ quits (~elliott_@172.58.190.239) (Read error: Connection reset by peer)
23:37:36 <monochrom> So it has to go like "phi g = [g secret_number_1, g secret_number_2, g secret_number 3]".
23:37:59 <monochrom> In that sense, "forall r. (Int -> r) -> [r]" doesn't exceed [Int].
23:38:39 × jud^ quits (~jud@76.210.187.183) (Quit: Leaving)
23:38:56 <monochrom> [] is just an example. You can imagine extending this to other data structures, and other functors.
23:39:25 jud joins (~jud@unaffiliated/jud)
23:39:53 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
23:41:37 jamm_ joins (~jamm@unaffiliated/jamm)
23:42:17 Tario joins (~Tario@201.192.165.173)
23:42:32 × acidjnk_new quits (~acidjnk@p200300d0c72b9595a49e15de1a2c16dc.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
23:42:49 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 276 seconds)
23:42:51 conal joins (~conal@198.8.81.80)
23:43:34 × Tops21 quits (~Tobias@dyndsl-095-033-019-066.ewe-ip-backbone.de) (Read error: Connection reset by peer)
23:45:41 <monochrom> I'm going to put it on the exam. >:)
23:46:02 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 260 seconds)
23:49:15 <hpc> maybe it'd be easier to remember if it had a descriptive name
23:49:42 <hpc> if it was "the parametricity suchandsuch", i would barely even have to think about what it is to understand it
23:50:11 Axman6 phi :: (forall r. Rational -> r) -> Tree r
23:50:33 solidus-river joins (~mike@174.127.249.180)
23:50:41 <Axman6> hmm, those brackets are probablt wrong - does it make a difference in this case?
23:51:57 <solidus-river> hey all, i'm using haskell-language-server for the first time and just realized it needs to be built with the exact version of ghc that my project is using. whats the best strategy to support working on projects with different ghc targets at the same time? (e.g.) is there a way to build for 8.3 and 8.10 and conditionally use one or the other via a hie.yaml file?
23:52:17 <Axman6> did you install it using ghcup?
23:52:38 <Axman6> 8.3 seems like a version you definitely shouldn't be using :)
23:55:03 <solidus-river> i'm using stack, the projects i'm working on for now are all using 8.10.4 but the installer targetd 8.8.4
23:55:32 <solidus-river> not a big problem for now since everythings on 8.10.4, but i'm not sure how smoothly ghc upgrades go or when it might be a problem and was trying to get ahead of it. :)
23:56:13 <monochrom> Axman6: The parentheses matter a lot. forall r. (Rational -> r) -> Tree r. That would be equiv to Tree Rational.
23:56:14 <solidus-river> recompiling hls for 8.10.4 (using stack) but it looks like one wrapper bin will be generated (although the others are versioned). maybe the wrapper targets the correct version if compiled?
23:56:29 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
23:56:46 jack1909 joins (~qpls@cpeb4750e67d202-cmf81d0fad5840.cpe.net.fido.ca)
23:57:46 <Axman6> I remember having tro go through those hopps in the past but haven't needed to since I started using ghcup to install HLS - in the past you'd do ./install 8.8.4 8.10.4 to build versions which matched GHCs and use the wrapper to choose the right one
23:59:41 <solidus-river> sounds like wrapper has a parameter i should be able to use then, didn't see anything with --help but digging more at the git docs. maybe it will be awesome and just choose the right bin based on the project version if one is available :)

All times are in UTC on 2021-03-10.