Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 524 525 526 527 528 529 530 531 532 533 534 .. 5022
502,152 events total
2020-10-09 02:15:43 <sm[m]> try the sample games
2020-10-09 02:16:08 <spinnylights> yeah i'm checking out the hackage page rn
2020-10-09 02:16:26 <spinnylights> "executable game spec" is definitely the dream :P
2020-10-09 02:17:18 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
2020-10-09 02:17:24 remexre joins (~remexre@x-160-94-179-160.acm.umn.edu)
2020-10-09 02:17:25 × remexre quits (~remexre@x-160-94-179-160.acm.umn.edu) (Client Quit)
2020-10-09 02:17:40 lagothrix is now known as Guest34111
2020-10-09 02:17:40 × Guest34111 quits (~lagothrix@unaffiliated/lagothrix) (Killed (wilhelm.freenode.net (Nickname regained by services)))
2020-10-09 02:17:46 <sm[m]> it trips me out how long ago this framework was made and how it's still the go to
2020-10-09 02:17:49 lagothrix joins (~lagothrix@unaffiliated/lagothrix)
2020-10-09 02:18:30 remexre joins (~remexre@x-160-94-179-160.acm.umn.edu)
2020-10-09 02:19:33 <spinnylights> kinda makes sense in a way, if it has a lot of useful features
2020-10-09 02:20:37 <spinnylights> building the examples rn
2020-10-09 02:23:53 <spinnylights> v cool ^^ definitely a good proof-of-concept, i'm looking at the pong code and it's v short and readable
2020-10-09 02:25:10 <spinnylights> it's too bad about audio though :/ i wonder how easily this https://hackage.haskell.org/package/csound-expression could be integrated...maybe i'll experiment a bit
2020-10-09 02:25:10 <sm[m]> yep I appreciate it more after working with just sdl
2020-10-09 02:25:22 <spinnylights> yeah it definitely has more game-specific stuff
2020-10-09 02:26:04 <spinnylights> it's nice that you get collision detection, and it seems easier to work with graphics
2020-10-09 02:26:14 <sm[m]> and the binaries will work on any machine I think - no need to install sdl separately
2020-10-09 02:26:41 <spinnylights> yeah that's great as well, i've been thinking about that in the back of my head
2020-10-09 02:26:55 <sm[m]> oh yeah. Isn't there a openAL lib ?
2020-10-09 02:27:29 <sm[m]> elerea looks like an interesting new sound lib
2020-10-09 02:27:55 <spinnylights> seems kind of uncommon to statically link sdl in c or c++ which can def make distribution a bit of a pain
2020-10-09 02:28:10 sword865 joins (uid208942@gateway/web/irccloud.com/x-oofcgutvwgwgnuoj)
2020-10-09 02:28:20 <spinnylights> oh i see, does seem interesting
2020-10-09 02:29:16 <spinnylights> i know csound quite deeply so i automatically gravitate in that direction :P it does have the advantage that it can talk to a wide variety of backends (i like to have JACK support in linux which a lot of generic audio libs overlook)
2020-10-09 02:29:24 × evanjs quits (~evanjs@075-129-188-019.res.spectrum.com) (Quit: ZNC 1.8.1 - https://znc.in)
2020-10-09 02:30:10 <spinnylights> and if it could be made to talk to fungen it would provide a very easy means to add procedural sound to your game which is always cool
2020-10-09 02:30:37 evanjs joins (~evanjs@075-129-188-019.res.spectrum.com)
2020-10-09 02:31:05 <spinnylights> i know the csound community is rather fond of haskell but i haven't actually played around with the haskell-related stuff people have made so maybe this is a good time
2020-10-09 02:31:09 <sm[m]> I don't there's any integration required, just use both ?
2020-10-09 02:31:37 <sm[m]> but I haven't tried
2020-10-09 02:31:38 <spinnylights> yeah hopefully it's that straightforward
2020-10-09 02:31:49 <spinnylights> i _think_ that should be the case but yeah, i haven't tried yet
2020-10-09 02:32:55 <spinnylights> the csound-expression lib seems to have a strong focus on live coding which is def promising for use in a game context
2020-10-09 02:33:00 Saukk joins (~Saukk@2001:998:f1:3963:1c59:9bb5:b94c:2)
2020-10-09 02:33:56 <spinnylights> whoa this library is really fancy 0_0 it even has a cabbage monad
2020-10-09 02:34:02 <spinnylights> i should have looked at it sooner :P
2020-10-09 02:35:32 × tmciver quits (~tmciver@cpe-172-101-40-226.maine.res.rr.com) (Ping timeout: 256 seconds)
2020-10-09 02:36:14 <spinnylights> i'm going to see if i can modify the pong example to produce sound using csound-expression, i'll report back :P
2020-10-09 02:36:47 <spinnylights> i guess maybe i should share my results in #haskell-game
2020-10-09 02:37:34 tmciver joins (~tmciver@cpe-172-101-40-226.maine.res.rr.com)
2020-10-09 02:39:14 × nullheroes quits (~danielvu@168.235.66.22) (Quit: WeeChat 2.9)
2020-10-09 02:39:55 hololeap joins (~hololeap@unaffiliated/hololeap)
2020-10-09 02:41:58 <sm[m]> spinnylights: live coding is a bit more of a project but I think some good things to look at are ghcid, Tidal package, and the new reloading system used by IHP
2020-10-09 02:42:57 <spinnylights> oh yeah, i just mean that if it supports live coding it will probably be up to use in a game context
2020-10-09 02:43:11 <spinnylights> in terms of lag etc.
2020-10-09 02:43:34 <spinnylights> csound is pretty fast on its own so as long as the library doesn't introduce extra performance issues it should be fine
2020-10-09 02:43:53 × polyrain quits (~polyrain@2001:8003:e501:6901:d439:cec4:3811:73e4) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-09 02:46:22 gnar^2 joins (~user@c-73-118-153-248.hsd1.wa.comcast.net)
2020-10-09 02:46:27 × falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Ping timeout: 240 seconds)
2020-10-09 02:46:33 × jedws quits (~jedws@121.209.161.98) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-09 02:49:47 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds)
2020-10-09 02:50:46 <koz_> A cabbage monad?
2020-10-09 02:52:17 × ericsagnes quits (~ericsagne@2405:6580:0:5100:841d:b2f8:a54e:9827) (Quit: WeeChat 2.7.1)
2020-10-09 02:52:48 ericsagnes joins (~ericsagne@2405:6580:0:5100:9d42:ed56:2b0:8ee0)
2020-10-09 02:53:31 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
2020-10-09 02:53:35 <sm[m]> don't you use vegetable monads ?
2020-10-09 02:54:02 <koz_> sm[m]: I prefer fruit.
2020-10-09 02:54:22 <Axman6> You can't call them that any more, we prefer differently-abled monads
2020-10-09 02:54:24 koz_ . o O (instance Monad Tomato where)
2020-10-09 02:54:32 <spinnylights> makes it easy to put the stems, leaves, etc. together
2020-10-09 02:54:43 sand_dull joins (~theuser@104.140.53.43)
2020-10-09 02:54:50 <spinnylights> v convenient
2020-10-09 02:55:36 <spinnylights> unfortunately i seem to be stuck in some kind of extra-deps hell with stack :/ i'm still kind of new to it so maybe i'm not going about this the right way
2020-10-09 02:56:00 <koz_> What's the specific extra-deps hell?
2020-10-09 02:56:48 <spinnylights> csound-expression doesn't seem to be part of the package set for the resolver fungen uses, so i'm trying to specify the versions of the needed dependencies by hand, but it's a lot of trouble to figure out how to line everything up so there's no version conflicts :/
2020-10-09 02:57:25 <spinnylights> i might be able to figure it out if i keep at it but it definitely seems like something an automated tool would be better at
2020-10-09 02:57:51 × gnar^2 quits (~user@c-73-118-153-248.hsd1.wa.comcast.net) (Ping timeout: 256 seconds)
2020-10-09 02:58:01 danso joins (~dan@107-190-41-58.cpe.teksavvy.com)
2020-10-09 02:58:12 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2020-10-09 02:58:18 <koz_> Which resolver does fungen use?
2020-10-09 02:58:19 nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net)
2020-10-09 02:58:31 <koz_> Are neither of fungen and csound on Stackage?
2020-10-09 02:59:09 <spinnylights> lts-6.12
2020-10-09 02:59:13 falafel joins (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc)
2020-10-09 02:59:26 <Axman6> that's... very old
2020-10-09 02:59:58 × nineonin_ quits (~nineonine@50.216.62.2) (Ping timeout: 260 seconds)
2020-10-09 03:00:01 × Wolfy87 quits (~Wolfy87@s91904426.blix.com) ()
2020-10-09 03:00:07 <Axman6> has basically no chance of ever compiling on macOS, since older GHCs have issues with linker changes Apple made
2020-10-09 03:00:11 <koz_> That's _hilariously_ ancient.
2020-10-09 03:00:43 <koz_> It's like, GHC 7.10.3 I think?
2020-10-09 03:01:16 <spinnylights> fungen itself builds and runs fine in my environment (arch linux) but yeah, i don't think the code has been updated in a long time
2020-10-09 03:01:17 snakemas1 joins (~snakemast@213.100.206.23)
2020-10-09 03:01:49 <spinnylights> i'm trying to use a version of csound-expression that's roughly contemporary with the fungen source but so far no luck :/
2020-10-09 03:02:15 <koz_> fungen was last updated in 2016.
2020-10-09 03:02:19 <koz_> I wouldn't hope for much.
2020-10-09 03:02:23 <spinnylights> @sm[m] does fungen require lts-6.12 or can it build with something more recent?
2020-10-09 03:02:23 <lambdabot> Unknown command, try @list
2020-10-09 03:02:40 <spinnylights> er :P
2020-10-09 03:03:28 × darjeeling_ quits (~darjeelin@115.215.43.235) (Ping timeout: 260 seconds)
2020-10-09 03:04:15 × alp quits (~alp@2a01:e0a:58b:4920:ac57:f0c6:c76e:e7d6) (Ping timeout: 272 seconds)
2020-10-09 03:05:37 <koz_> spinnylights: I'm trying with 8.10.2 right now.
2020-10-09 03:05:40 <koz_> Seeing how I go.
2020-10-09 03:05:41 × ulidtko quits (~ulidtko@193.111.48.79) (Read error: Connection reset by peer)
2020-10-09 03:05:45 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds)
2020-10-09 03:05:48 ulidtko|k joins (~ulidtko@193.111.48.79)
2020-10-09 03:06:55 <spinnylights> yeah i'm trying with 8.8.3...we'll see
2020-10-09 03:07:56 <spinnylights> one of the dependencies for that old version of csound-expression would not build, but let's try with a more recent version
2020-10-09 03:09:37 <koz_> Nah, 8.10.2 breaks due to MonadFail.

All times are in UTC.