Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 597 598 599 600 601 602 603 604 605 606 607 .. 18009
1,800,886 events total
2021-06-23 05:53:23 <Axman6> depends on abs
2021-06-23 05:53:29 <outoftime> 12500 or so
2021-06-23 05:53:49 <outoftime> total 146M elements
2021-06-23 05:56:36 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
2021-06-23 05:57:19 chaosite joins (~chaosite@user/chaosite)
2021-06-23 05:58:48 <qrpnxz> i was able to derive num, fractional, and floating, but not real
2021-06-23 06:01:37 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds)
2021-06-23 06:02:28 × chaosite quits (~chaosite@user/chaosite) (Ping timeout: 258 seconds)
2021-06-23 06:04:36 chaosite joins (~chaosite@user/chaosite)
2021-06-23 06:05:58 × Morrow_ quits (~MorrowM_@147.161.13.60) (Ping timeout: 265 seconds)
2021-06-23 06:06:48 <outoftime> Axman6: I'm confused. Does `normalized` get reevaluated on each iteration of `foldM2` or it is just clonned? Profiler says that `main` took 7% time, while `initials` 92%, doesn't looks like `getRage` have any noticable execution time.
2021-06-23 06:07:15 <outoftime> Do you know any way to make parallel execution?
2021-06-23 06:07:23 <Axman6> no, normalised basically gives a name for a single object in the heap that both uses reference
2021-06-23 06:08:40 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-06-23 06:10:18 × chaosite quits (~chaosite@user/chaosite) (Ping timeout: 268 seconds)
2021-06-23 06:10:19 fef joins (~thedawn@user/thedawn)
2021-06-23 06:12:06 × fef quits (~thedawn@user/thedawn) (Remote host closed the connection)
2021-06-23 06:12:32 aman joins (~aman@user/aman)
2021-06-23 06:12:46 fef joins (~thedawn@user/thedawn)
2021-06-23 06:14:21 CookE[] joins (~thedawn@user/thedawn)
2021-06-23 06:15:13 <qrpnxz> what is the purpose of the GHC hierarchy?
2021-06-23 06:17:42 <Axman6> it
2021-06-23 06:17:48 × fef quits (~thedawn@user/thedawn) (Ping timeout: 244 seconds)
2021-06-23 06:18:08 <Axman6> it's where definitions specific to GHC live, many of which are reexported in standard modules like Prelude, Data.List etc.
2021-06-23 06:18:09 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-06-23 06:23:10 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds)
2021-06-23 06:23:29 <Axman6> they often contain functions which aren't part of what is required from a haskell compiler according to the report, for example things like powModSecInteger is something provided by integer-gmp, which provides timing safe exponentiation of integers modulo another integer https://hackage.haskell.org/package/integer-gmp-1.0.3.0/docs/GHC-Integer-GMP-Internals.html#v:powModSecInteger
2021-06-23 06:25:04 × mud quits (~mud@user/kadoban) (Ping timeout: 244 seconds)
2021-06-23 06:25:26 awth13 joins (~user@user/awth13)
2021-06-23 06:26:53 mud joins (~mud@user/kadoban)
2021-06-23 06:29:02 michalz joins (~michalz@185.246.204.125)
2021-06-23 06:29:56 mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be)
2021-06-23 06:30:49 leeb_ joins (~leeb@KD111239153068.au-net.ne.jp)
2021-06-23 06:31:18 CookE[] is now known as fef
2021-06-23 06:34:00 × leeb quits (~leeb@KD111239153143.au-net.ne.jp) (Ping timeout: 265 seconds)
2021-06-23 06:34:31 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
2021-06-23 06:35:05 × harry quits (~harry@92.234.0.237) (Ping timeout: 272 seconds)
2021-06-23 06:35:27 × mud quits (~mud@user/kadoban) (Ping timeout: 265 seconds)
2021-06-23 06:36:27 mud joins (~mud@user/kadoban)
2021-06-23 06:36:47 berberman joins (~berberman@user/berberman)
2021-06-23 06:38:06 × berberman_ quits (~berberman@user/berberman) (Ping timeout: 264 seconds)
2021-06-23 06:42:42 × mud quits (~mud@user/kadoban) (Ping timeout: 265 seconds)
2021-06-23 06:43:36 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
2021-06-23 06:44:18 × tcard quits (~tcard@p2307053-ipngn17101hodogaya.kanagawa.ocn.ne.jp) (Quit: Leaving)
2021-06-23 06:45:42 lortabac joins (~lortabac@2a01:e0a:541:b8f0:d7c7:704e:32f2:af10)
2021-06-23 06:47:10 × michalz quits (~michalz@185.246.204.125) (Remote host closed the connection)
2021-06-23 06:49:40 michalz joins (~michalz@185.246.204.114)
2021-06-23 06:50:46 × norias quits (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) (Ping timeout: 258 seconds)
2021-06-23 06:52:08 chaosite joins (~chaosite@user/chaosite)
2021-06-23 06:53:06 tcard joins (~tcard@p2307053-ipngn17101hodogaya.kanagawa.ocn.ne.jp)
2021-06-23 06:54:52 <talismanick> Is it worth using vabal nowadays? Ironically, I had to go back in versions with ghcup manually to install it.
2021-06-23 06:55:39 <dminuoso> talismanick: Perhaps there's some issue with ghcup or the way you use it.
2021-06-23 06:55:57 <dminuoso> cabal-install is not better or worse than the alternatives like stack
2021-06-23 06:56:21 wallymathieu joins (~wallymath@81-234-151-21-no94.tbcn.telia.com)
2021-06-23 06:56:28 <dminuoso> Id say the community is largely split 47/47/6 on cabal/stack/nix
2021-06-23 06:57:15 <talismanick> dminuoso: Nothing wrong here. It's just that vabal depends on base base > 4.11.0 and < 4.13.0
2021-06-23 06:57:17 × chaosite quits (~chaosite@user/chaosite) (Ping timeout: 258 seconds)
2021-06-23 06:57:34 <dminuoso> Hold on, vabal?
2021-06-23 06:57:40 <tomsmeding> https://github.com/vabal/vabal
2021-06-23 06:57:42 <talismanick> so I used ghcup to fetch 4.12.0 and installed vabal
2021-06-23 06:57:42 tomsmeding thinks
2021-06-23 06:57:52 × charukiewicz quits (~quassel@irouteince04.i.subnet.rcn.com) (Ping timeout: 268 seconds)
2021-06-23 06:57:58 <dminuoso> Okay, I really thought that was just a typo and you meant cabal
2021-06-23 06:58:00 mpt joins (~tom@2a02:908:1862:49e0::3)
2021-06-23 06:58:14 charukiewicz joins (~quassel@irouteince04.i.subnet.rcn.com)
2021-06-23 06:58:31 <talismanick> I have befuddled once again
2021-06-23 06:58:45 <dminuoso> tomsmeding: vabal hasnt been updated in close to 2 years it seems
2021-06-23 06:58:50 <dminuoso> Or talismanick.
2021-06-23 06:58:54 <dminuoso> Two nicks with t is hard.
2021-06-23 06:59:00 <tomsmeding> yes
2021-06-23 06:59:09 <tomsmeding> we befuddle once more
2021-06-23 06:59:26 chaosite joins (~chaosite@user/chaosite)
2021-06-23 06:59:32 <dminuoso> vabal does indeed look like a nice thing.
2021-06-23 06:59:51 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
2021-06-23 07:00:26 <talismanick> I came across it while trying to build clckwrks (which itself appears to have languished for a time and needs an older version of GHC)
2021-06-23 07:00:34 <dminuoso> So I guess vabal just does constraint solving, and then ghcup's me into the most recent ghc that works with the build plan?
2021-06-23 07:00:45 <dminuoso> (constraint solving by presumably calling into Cabal-lib)
2021-06-23 07:01:43 <talismanick> Speaking of which, are there maintained alternatives to LambdaCMS and clckwrks? Once I get it to compile, clckwrks looks promising.
2021-06-23 07:02:03 <talismanick> (It has recent commits, but it seems to be in "maintenance mode" AFAICT)
2021-06-23 07:03:23 chele joins (~chele@user/chele)
2021-06-23 07:04:24 × chaosite quits (~chaosite@user/chaosite) (Ping timeout: 252 seconds)
2021-06-23 07:05:04 <talismanick> I could set the GHC version manually via ghcup and be on my way, but aren't we in the 21st century?
2021-06-23 07:06:47 <dminuoso> talismanick: Just remember that ghcup manipulates global state
2021-06-23 07:06:54 Morrow joins (~MorrowM_@147.161.13.60)
2021-06-23 07:08:42 <cdsmith> 0
2021-06-23 07:08:52 <talismanick> dminuoso: That's what I mean. I feel like a caveman, peeking into the cabalfile for this and setting the GHC version for each project, one at a time.
2021-06-23 07:09:00 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-23 07:10:51 <dminuoso> talismanick: I dont mean to sway you away from vabal, but you could also use nix-shell to do the same thing
2021-06-23 07:10:58 <lortabac> IIRC there was this idea of integrating vabal's functionality into ghcup, not sure if it's still the case
2021-06-23 07:11:04 <dminuoso> At least for that I could help you, as I have no experience with vabal
2021-06-23 07:11:05 talismanick summons his courage and tries "vabal configure"
2021-06-23 07:11:08 <lortabac> https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/99
2021-06-23 07:11:19 <talismanick> already regretting this
2021-06-23 07:11:45 <dminuoso> talismanick: nix-shell has the unique benefit that this doesnt need any rely on global state management of "the active version"
2021-06-23 07:11:56 gehmehgeh joins (~user@user/gehmehgeh)
2021-06-23 07:11:58 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2021-06-23 07:12:26 <dminuoso> It doesnt do the "figure out a matching GHC version" part, but it lets you easily keep different cabal/ghc/(any dependency) versions across different projects
2021-06-23 07:12:26 <talismanick> dminuoso: I once tried to configure Nix (atop Void Linux). Never again. No hard feelings, but "nope".
2021-06-23 07:12:40 × sekun quits (~sekun@180.190.208.125) (Ping timeout: 265 seconds)
2021-06-23 07:12:41 <talismanick> Seems cool, gave me a migraine

All times are in UTC.