<< 20-12-2025 >>

04:07:59*zodman joined #nim
04:49:16*zodman quit (Read error: Connection reset by peer)
06:04:53FromDiscord<gesee37> In reply to @schelz_ "Anyone whos interested in": Hey it's cool.↵I'm building some sort of game engine so it could be handy
09:37:58*xutaxkamay quit (Ping timeout: 246 seconds)
09:47:07*xutaxkamay joined #nim
10:00:24FromDiscord<blashyrk> Are the new case objects already in the Nimony master? Does anybody know/has tried?
10:54:48FromDiscord<gesee37> Well guys, I'm actually building a game engine kernel and I would like to have feedbacks on the architecture (just to be sure I'm not missing some edge cases)
10:55:35FromDiscord<gesee37> So it's about game engine kernel that allows you to build any functional engine from it
10:57:19*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
10:57:30FromDiscord<gesee37> sent a long message, see https://pasty.ee/BNWBOGXx
10:59:05FromDiscord<gesee37> So for the plugin system it's about modeling a game engine as a DAG(Direct Acyclic Graph) where systems are nodes and dependencies between them edges. This is inspired by Apache Airflow and has already proved his worth there.
11:02:48FromDiscord<gesee37> sent a code paste, see https://play.nim-lang.org/#pasty=pGbeymTb
11:03:37FromDiscord<gesee37> Capabilities are the safe interface through which systems communicate
11:03:53*SchweinDeBurg joined #nim
11:03:56FromDiscord<gesee37> .
11:04:30FromDiscord<gesee37> As for data storage I use a second DAG that I call the Data Store Graph
11:05:37FromDiscord<gesee37> sent a code paste, see https://play.nim-lang.org/#pasty=WGxwjDOm
11:06:58FromDiscord<gesee37> You can see the full readme there↵https://github.com/Gesee-y/Cruise/blob/main/src%2Fplugins%2FREADME.md
11:08:07*SchweinDeBurg quit (Ping timeout: 240 seconds)
17:19:38FromDiscord<litlighilit> sent a long message, see https://pasty.ee/HRblWrnH
17:20:18FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered yesterday\:↵> How did you guys deploy `nim doc` in github?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And forum at↵https://forum.nim-lang.org/t/13580#82376
17:22:41FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered the day before yesterday\:↵> How did you guys deploy `nim doc` in github?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And forum at↵https://forum.nim-lang.org/t/13580#82376
17:23:49FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered the day before yesterday\:↵> How did you guys deploy `nim doc` in github, if using CI to be automated?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And forum at↵https://forum.nim-lang.org/t/13580#82376
17:24:53FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered the day before yesterday\:↵> How did you guys deploy `nim doc` in github, if using CI to be automated?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And detailed info is described at forum\:↵https://forum.nim-lang.org/t/13580#82376
17:27:54FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered the day before yesterday\:↵> How did you guys deploy `nim doc` in github, if using CI to be automated?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And detailed info is described at forum\:↵https://forum.nim-lang.org/t/13580#82376Or join [#nimpylib-actions\:envs.net](https://matrix.to/#/#nimpy
17:27:58FromDiscord<joe_devel> I can't seem to figure out how to generate c code. Without -c it automatically compiles with a c compiler that I do not want to use here, and with -c it generates only a json file.
17:28:13FromDiscord<joe_devel> (edit) "it" => "nim"
17:29:19FromDiscord<litlighilit> c code is always generated.All you need is to add `--nimcache` flag to specify where the c code to put in↵(@joe_devel)
17:30:38FromDiscord<litlighilit> c code is always generated.All you need is to add `--nimcache` flag to specify where the c code to put in↵----------↵`-c` works, it means stopping after C code is generated, without calling C compiler to compile.
17:31:13FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered the day before yesterday\:↵> How did you guys deploy `nim doc` in github, if using CI to be automated?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And detailed info is described at forum\:↵https://forum.nim-lang.org/t/13580#82376Or join [#nimpylib-actions\:envs.net](https://matrix.to/#/#nimpy
17:32:45FromDiscord<litlighilit> Hi, maybe too late to ask but it's surely what I wondered the day before yesterday\:↵> How did you guys deploy `nim doc` in github, if using CI to be automated?↵I've made and published `nimpylib/doc-deploy` action ready to `uses` at https://github.com/marketplace/actions/nimdoc-deploy,And detailed info is described at forum\:↵https://forum.nim-lang.org/t/13580#82376Or join [#nimpylib-doc-deploy\:envs.net](https://matrix.to/#/#ni
17:35:29FromDiscord<litlighilit> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1451990187021434894): c code is always generated, in nimcache directory (often under your HOME directory)All you need is to add `--nimcache` flag to specify where the c code to put in↵----------↵`-c` works, it means stopping after C code is generated, without calling C compiler to compile.
17:40:25FromDiscord<joe_devel> sent a long message, see https://pasty.ee/UjJsMFht
17:41:26FromDiscord<joe_devel> (edit) "https://pasty.ee/zpDdWKqh" => "https://pasty.ee/nKFnOnVw"
17:45:15FromDiscord<litlighilit> er, what's, just "edited" eventmaybe due to your client not supporting render "edited"?
17:47:28FromDiscord<litlighilit> at least not handle it very correctly in this case...↵↵(I'm a little afraid to \`edit\` my old message now \:P)
17:48:57FromDiscord<joe_devel> oh all of it is from editing, i see
17:49:32FromDiscord<joe_devel> https://media.discordapp.net/attachments/371759389889003532/1451994945496940741/image.png?ex=6948332b&is=6946e1ab&hm=0164da59b644cf5a012659e3fbf3425924241a5b94001cd12a82a501de6816b5&
17:56:47FromDiscord<joe_devel> In reply to @litlighilit "er, what's, just "edited"": I'm not sure where you might be messaging from, but thats happening as seen from Discord. If this app account is a bridge, its broken x)
17:57:27FromDiscord<litlighilit> reasonable. I'm in matrix client
17:57:48FromDiscord<joe_devel> twas my guess
17:58:55*ftajhii quit (Ping timeout: 240 seconds)
18:29:47*ftajhii joined #nim
22:17:11FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=YwuqpOnS
22:17:39FromDiscord<Elegantbeef> At runtime or compile time
22:18:11FromDiscord<TӨMΛ ☠> Huh. Runtime, but does it matter for this?
22:18:29FromDiscord<Elegantbeef> Yes cause runtime is relativle to your CWD
22:19:39FromDiscord<TӨMΛ ☠> Okay I'm silly, this indeed worked. And is pretty handy then 🙏
22:20:09FromDiscord<Elegantbeef> For games and stuff like that it makes sense to doing `setCurrentDir(getApplicationDir())`
22:20:24FromDiscord<Elegantbeef> That way you can have a `assets` folder and everything is `assets/....`
22:31:04*jjidozzz joined #nim
22:35:55FromDiscord<TӨMΛ ☠> True, it works that way for me so I guess using base dir for initial .nim file sets it automatically for whole game
22:56:59*zodman joined #nim
23:45:53*jjidozzz quit (Ping timeout: 272 seconds)