Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 955 956 957 958 959 960 961 962 963 964 965 .. 18028
1,802,797 events total
2021-07-15 06:11:50 cheater joins (~Username@user/cheater)
2021-07-15 06:12:58 flukiluke_ joins (~flukiluke@168.138.23.5)
2021-07-15 06:13:04 × beka quits (~beka@104.193.170-244.public.monkeybrains.net) (Ping timeout: 252 seconds)
2021-07-15 06:13:37 × flukiluke quits (~flukiluke@2603:c023:c000:6c7e:8945:ad24:9113:a962) (Ping timeout: 246 seconds)
2021-07-15 06:21:05 × shriekingnoise quits (~shrieking@186.137.144.80) (Quit: Quit)
2021-07-15 06:21:31 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 265 seconds)
2021-07-15 06:23:02 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Read error: Connection reset by peer)
2021-07-15 06:23:03 Kaipi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net)
2021-07-15 06:23:26 <tdammers> The problem with this whole "toolset" / "suite" / "framework" thing is that it's a sliding problem domain, and while you can pick all sorts of spots on that continuum, there is no silver bullet there. You can be more opinionated, give the user a turnkey environment where all you need to do is drop in a bunch of assets and go clickety-click and you have a working game (or presentation, or whatever), but in
2021-07-15 06:23:29 <tdammers> order to do that, you need to make a lot of decisions for the user, and those decisions limit what they can do and what your platform will be good at. Or you can give them more control, but that means they will have to do more work themselves.
2021-07-15 06:23:35 geekosaur joins (~geekosaur@xmonad/geekosaur)
2021-07-15 06:29:15 × cheater quits (~Username@user/cheater) (Ping timeout: 265 seconds)
2021-07-15 06:29:31 cheater joins (~Username@user/cheater)
2021-07-15 06:30:45 × Kaipi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
2021-07-15 06:30:52 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net)
2021-07-15 06:30:57 <[exa]> tdammers: or you can design the turnkey features as proper libraries instead of frameworks and let the user compose whatever he needs, but somehow that's not popular in the industry :D
2021-07-15 06:37:11 michalz joins (~michalz@185.246.204.114)
2021-07-15 06:39:11 takuan joins (~takuan@178-116-218-225.access.telenet.be)
2021-07-15 06:41:53 Rogach joins (uid6398@id-6398.brockwell.irccloud.com)
2021-07-15 06:42:44 <Rogach> Hi! Is there a way (pragma perhaps) to include an import only when compiling with certain GHC versions?
2021-07-15 06:42:56 sleym joins (~sleym@195.181.171.227)
2021-07-15 06:43:47 <Rogach> Why do I need it: Control.Monad.Fail is deprecated since GHC 8.8, but XMonad CI compiles with versions down to 8.4 - so compiling on newer compilers gives a nasty warning.
2021-07-15 06:44:12 <tdammers> [exa]: sure, yes, you can absolutely do that, and I believe there are a couple libraries out there that do that - the big game engines however are not, probably because their target audience are game designers, not programmers
2021-07-15 06:44:50 <Rembane> tdammers: The big game engines give everything and the kitchen sink so their design idea is exactly what you say.
2021-07-15 06:45:52 burnsidesLlama joins (~burnsides@dhcp168-025.wadham.ox.ac.uk)
2021-07-15 06:46:09 <Rembane> Rogach: Is this helpful? https://stackoverflow.com/a/28292585
2021-07-15 06:47:24 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Ping timeout: 255 seconds)
2021-07-15 06:47:55 <int-e> Rogach: You could use the CPP extension and wrap the import in #if __GLASGOW_HASKELL__ < 808 ... #endif
2021-07-15 06:48:09 <Rogach> Rembane: Looks like it is, thank you!
2021-07-15 06:48:13 <Rembane> Rogach: np!
2021-07-15 06:49:06 <Rogach> int-e: seems like CPP extension was enabled by default in xmonad-contrib project, compilation on my machine completed normally. Is there a way to check where this extension is enabled?
2021-07-15 06:49:22 <Rogach> Ah, I see, "LANGUAGE CPP" at the top of the file.
2021-07-15 06:51:27 <int-e> As is proper... .cabal files have a default-extensions field that can add to the list of enabled extensions.
2021-07-15 06:52:00 <int-e> (But I prefer the files to list the extensions they use.)
2021-07-15 06:53:48 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net)
2021-07-15 06:57:46 fendor joins (~fendor@178.165.161.174.wireless.dyn.drei.com)
2021-07-15 06:58:13 × burnsidesLlama quits (~burnsides@dhcp168-025.wadham.ox.ac.uk) (Remote host closed the connection)
2021-07-15 06:58:47 burnsidesLlama joins (~burnsides@dhcp168-025.wadham.ox.ac.uk)
2021-07-15 07:00:50 × sleym quits (~sleym@195.181.171.227) (Quit: sleym)
2021-07-15 07:02:30 <[exa]> tdammers: like, is it just me if I generally don't enjoy games where I just "walk through contents" ?
2021-07-15 07:03:09 × burnsidesLlama quits (~burnsides@dhcp168-025.wadham.ox.ac.uk) (Ping timeout: 255 seconds)
2021-07-15 07:03:31 <tdammers> [exa]: it's not just me, but there are certainly different types of audiences, anywhere on the spectrum between "interactive blockbuster movie" and "chess"
2021-07-15 07:03:54 <tdammers> s/me/you/, though "me" also works
2021-07-15 07:04:08 <Rogach> [exa]: Can you give some examples of such games?
2021-07-15 07:09:09 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
2021-07-15 07:11:22 × cheater quits (~Username@user/cheater) (Ping timeout: 252 seconds)
2021-07-15 07:11:57 cheater joins (~Username@user/cheater)
2021-07-15 07:12:04 × michalz quits (~michalz@185.246.204.114) (Ping timeout: 268 seconds)
2021-07-15 07:12:12 <Rogach> `stack test` gives me an error `Module ‘System.Random’ does not export ‘uniformR’`.
2021-07-15 07:12:28 <Rogach> (`stack build` as well)
2021-07-15 07:13:02 <Rogach> How can I check which version of `random` package stack uses?
2021-07-15 07:13:35 burnsidesLlama joins (~burnsides@dhcp168-025.wadham.ox.ac.uk)
2021-07-15 07:15:22 <Rogach> I tried adding version constraint to `build-depends` in `xmonad-contrib.cabal` (`random >= 1.2`), but now stack fails with `random-1.1 from stack configuration does not match >=1.2`.
2021-07-15 07:16:14 <Rogach> But I don't see any references to `random` in any stack config files.
2021-07-15 07:16:31 <Rogach> Where does this `1.1` come from?
2021-07-15 07:17:02 burnside_ joins (~burnsides@dhcp168-025.wadham.ox.ac.uk)
2021-07-15 07:17:02 × burnsidesLlama quits (~burnsides@dhcp168-025.wadham.ox.ac.uk) (Read error: Connection reset by peer)
2021-07-15 07:17:12 chele joins (~chele@user/chele)
2021-07-15 07:21:33 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2021-07-15 07:24:40 chomwitt joins (~Pitsikoko@2a02:587:dc04:e00:12c3:7bff:fe6d:d374)
2021-07-15 07:25:47 gehmehgeh joins (~user@user/gehmehgeh)
2021-07-15 07:31:58 <sm> Rogach: what's a game that you like ?
2021-07-15 07:32:34 <sm> Rogach: stack exec -- ghc-pkg list random
2021-07-15 07:32:59 <Rogach> sm: I like many different ones. But in the genre of "walk through contents" I immensely enjoyed "To The Moon".
2021-07-15 07:33:40 <Rogach> sm: `.stack/snapshots/x86_64-linux-tinfo6/a0241a58de3fe02d9eed73f028132db4e1c0a1354a745c98d6a538f4465ea440/8.10.4/pkgdb` seems to contain that random-1.1
2021-07-15 07:33:59 <Rogach> So the package version is fixed inside that snapshot?
2021-07-15 07:35:26 × cheater quits (~Username@user/cheater) (Ping timeout: 258 seconds)
2021-07-15 07:35:46 cheater joins (~Username@user/cheater)
2021-07-15 07:43:24 <Rogach> Okay, screw random-1.2, I'll just go with the older version.
2021-07-15 07:44:03 <Rogach> I've added a test to a project, now I get a warning `These modules are needed for compilation but not listed in your .cabal file's other-modules`, and then a long list of modules.
2021-07-15 07:44:23 <Rogach> Am I supposed to add all those modules by hand, or is there some stack/cabal command that figures that out?
2021-07-15 07:45:08 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-07-15 07:46:55 jumper149 joins (~jumper149@80.240.31.34)
2021-07-15 07:47:19 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 258 seconds)
2021-07-15 07:48:12 acidjnk_new3 joins (~acidjnk@p200300d0c72b9516c0edb1e0bd38b359.dip0.t-ipconnect.de)
2021-07-15 07:48:33 <[exa]> Rogach: I'm usually doing just something like `grep ^module test -r |cut -d' ' -f2` and pipe it into the cabal file
2021-07-15 07:51:15 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-15 07:52:12 × cheater quits (~Username@user/cheater) (Ping timeout: 255 seconds)
2021-07-15 07:52:28 cheater joins (~Username@user/cheater)
2021-07-15 07:54:05 burnsidesLlama joins (~burnsides@dhcp168-025.wadham.ox.ac.uk)
2021-07-15 07:54:05 × burnside_ quits (~burnsides@dhcp168-025.wadham.ox.ac.uk) (Read error: Connection reset by peer)
2021-07-15 07:54:26 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-07-15 07:58:08 fef joins (~thedawn@user/thedawn)
2021-07-15 07:58:40 andrews joins (~andrews@user/andrews)
2021-07-15 07:59:52 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Read error: Connection reset by peer)
2021-07-15 08:00:35 <andrews> hi
2021-07-15 08:00:47 <andrews> how do I install haskell on ubuntu
2021-07-15 08:00:59 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net)
2021-07-15 08:01:58 × fef quits (~thedawn@user/thedawn) (Remote host closed the connection)
2021-07-15 08:03:06 o1lo01ol1o joins (~o1lo01ol1@bl11-109-140.dsl.telepac.pt)
2021-07-15 08:04:12 <[exa]> andrews: https://www.haskell.org/ghcup/ <- generally the most straightforward method
2021-07-15 08:04:32 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 255 seconds)
2021-07-15 08:04:49 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-15 08:04:59 <[exa]> andrews: you may also use `sudo apt install ghc cabal-install` to get the packages from the repositories, which usually works nicely unless you want to somehow torture the package system
2021-07-15 08:05:16 <Rogach> Or `sudo apt-get install haskell-platform`, this avoids piping scripts from network.
2021-07-15 08:05:33 favonia joins (~favonia@user/favonia)
2021-07-15 08:05:57 <andrews> I'm confused
2021-07-15 08:06:14 <[exa]> andrews: because of the number of possibilities?
2021-07-15 08:06:42 <andrews> should I ghcup or platform
2021-07-15 08:06:49 hendursa1 joins (~weechat@user/hendursaga)

All times are in UTC.