00:19:14 | * | advesperacit quit () |
00:24:52 | FromDiscord | <khazakar> In reply to @hotdog6666 "https://github.com/ajusa/dekao seems to be": Thanks, saved |
00:25:00 | * | tiorock joined #nim |
00:25:00 | * | rockcavera is now known as Guest6854 |
00:25:00 | * | tiorock is now known as rockcavera |
00:27:27 | * | Guest6854 quit (Ping timeout: 256 seconds) |
00:44:46 | * | jmdaemon joined #nim |
01:00:02 | * | nazgulsenpai quit (Quit: ZNC 1.8.2 - https://znc.in) |
01:02:30 | * | nazgulsenpai joined #nim |
01:17:05 | * | jmdaemon quit (Quit: ZNC 1.8.2 - https://znc.in) |
01:18:55 | * | jmdaemon joined #nim |
01:27:41 | FromDiscord | <nnsee> In reply to @raul8244 "thats is pretty much": he mentioned three languages in that sentence brother, which one do you mean |
01:30:19 | * | jmdaemon quit (Ping timeout: 260 seconds) |
01:43:43 | * | krux02 quit (Remote host closed the connection) |
02:06:09 | FromDiscord | <ieltan> it seems like the nimble.directory domain has an outdated cert https://media.discordapp.net/attachments/371759389889003532/1195911701216895037/image.png?ex=65b5b690&is=65a34190&hm=6304f508c62d76dfb1ebe96fbf2a5536d99e006a66bbbe7dd0ca2d3c5c75b37b& |
02:20:22 | FromDiscord | <nasuray> You can search on https://nimpkgs.dayl.in in the mean time 😛 |
02:25:10 | FromDiscord | <ieltan> In reply to @nasuray "You can search on": thanks for the link, didnt know about it until now... 🙂 |
02:41:37 | * | rockcavera quit (Remote host closed the connection) |
03:01:21 | * | rockcavera joined #nim |
03:41:36 | * | dude10 joined #nim |
03:42:28 | dude10 | Is there a way to execute another binary during an execution? |
04:03:22 | * | jmdaemon joined #nim |
04:17:41 | * | dude10 quit (Quit: Lost terminal) |
05:18:07 | * | azimut quit (Ping timeout: 240 seconds) |
05:20:21 | * | azimut joined #nim |
05:52:45 | * | jmdaemon quit (Ping timeout: 260 seconds) |
06:04:20 | * | jmdaemon joined #nim |
06:08:32 | * | zgasma quit (Quit: Lost terminal) |
06:27:54 | FromDiscord | <ajusa> In reply to @hotdog6666 "https://github.com/ajusa/dekao seems to be": time to officially publish it and include some docs I guess haha |
06:29:41 | Amun-Ra | dude10: https://nim-lang.org/docs/osproc.html#execCmd%2Cstring |
06:32:08 | FromDiscord | <sOkam! 🫐> In reply to @dude10 "Is there a way": for most scripting things `os.execShellCmd` might be the solution, since it doesn't eat the output↵for more powerful usage, like controlling the process itself, `osproc.execCmd` is the alternative |
06:32:59 | FromDiscord | <sOkam! 🫐> I've needed execCmd ocassionally, but 90% of usecases tend to be running shell commands (at least for me) |
06:38:31 | * | azimut quit (Ping timeout: 240 seconds) |
09:18:16 | * | baalajimaestro quit (Remote host closed the connection) |
09:39:21 | * | advesperacit joined #nim |
09:54:01 | * | tinystoat quit (Remote host closed the connection) |
10:14:30 | * | jmdaemon quit (Ping timeout: 245 seconds) |
10:24:44 | * | krux02 joined #nim |
12:27:59 | * | krux02 quit (Quit: Leaving) |
12:35:37 | * | baalajimaestro joined #nim |
12:36:47 | * | baalajimaestro quit (Client Quit) |
12:37:08 | * | baalajimaestro joined #nim |
12:43:35 | * | baalajimaestro quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
12:43:53 | * | baalajimaestro joined #nim |
12:48:04 | FromDiscord | <khazakar> In reply to @ajusa "time to officially publish": Would be useful 😄 |
12:50:26 | FromDiscord | <khazakar> In reply to @nasuray "You can search on": It have one advantage tho - promotes usage of atlas 😉 |
12:56:55 | FromDiscord | <Yardanico> !approve |
12:58:38 | FromDiscord | <matrix-t2bot> @Tiberium:matrix.org on matrix would like to bridge this channel. Someone with permission to manage webhooks please reply with `!matrix approve` or `!matrix deny` in the next 5 minutes. |
12:58:44 | FromDiscord | <Yardanico> !matrix approve |
12:58:44 | FromDiscord | <matrix-t2bot> Thanks for your response! The matrix bridge has been approved. |
12:58:55 | FromDiscord | <Phil (he/him)> We're back in business |
12:58:56 | FromDiscord | <Phil> Hopefully |
12:59:11 | FromDiscord | <Phil> All good again on main! |
13:02:27 | FromDiscord | <Phil> Hmm there's no way to check if a thread-variable was ever had createThread called upon it (even if the thread has died since then), correct? |
13:05:24 | FromDiscord | <Phil (he/him)> Wait, what am I talking about, there might not be but I can do that. |
13:05:34 | FromDiscord | <Phil (he/him)> Given threadbutlers startup/shutdown events |
13:10:12 | FromDiscord | <Yardanico> <bridge test, please ignore> |
14:04:01 | FromDiscord | <nasuray> In reply to @khazakar "It have one advantage": Also version histories (to the extent folks tag their repos). |
14:30:58 | NimEventer | New thread by Angluca: How to easy create and init a large array? Its have values, see https://forum.nim-lang.org/t/10872 |
14:56:11 | * | azimut joined #nim |
15:56:07 | * | azimut quit (Ping timeout: 240 seconds) |
16:20:33 | * | jmdaemon joined #nim |
16:27:36 | * | azimut joined #nim |
17:15:14 | * | jmdaemon quit (Ping timeout: 252 seconds) |
17:18:07 | * | azimut quit (Ping timeout: 240 seconds) |
17:30:55 | * | azimut joined #nim |
18:35:17 | NimEventer | New thread by Isofruit: What are your options for dealing with leaks in asyncCheck under arc?, see https://forum.nim-lang.org/t/10873 |
18:45:43 | Amun-Ra | is there a way to append to gcc.options.always in config.nims? |
18:45:48 | Amun-Ra | or read one? |
18:46:19 | Amun-Ra | I mean an equivalent for nim.cfg: gcc.options.always %= "${gcc.options.always} …" |
18:47:10 | Amun-Ra | I can have switch "gcc.options.always", "foo" but consecutive switch will override any previous calls |
18:47:34 | Amun-Ra | I guess the only way is to concat all the options in some string, then call switch |
19:09:03 | FromDiscord | <leorize> you can just use nim.cfg, it's faster to parse anyways |
20:06:28 | Amun-Ra | I ported most of my config.nims to nim.cfg, the rest uses things not available in cfg (checking NimMajor, "path".exists, etc.) |
20:22:45 | * | lucasta joined #nim |
20:26:07 | * | azimut quit (Ping timeout: 240 seconds) |
20:30:07 | * | azimut joined #nim |
20:56:49 | FromDiscord | <Phil> Yo termer, you present? |
21:05:42 | FromDiscord | <queebee> How could I iterate over the colors since `colorNames` is not exported? https://github.com/nim-lang/Nim/blob/devel/lib/pure/colors.nim#L148 |
21:09:13 | FromDiscord | <intellij_gamer> You could import it like `import std/colors {.all.}` and then iterate over `colorNames` |
21:17:12 | * | egor_ joined #nim |
21:18:47 | * | egor_ quit (Client Quit) |
21:30:38 | Amun-Ra | or even: from std/colors {.all.} import colorNames |
21:38:26 | FromDiscord | <Phil> `{.all.}` has become so important to me even though it really, really shouldn#t have |
21:39:15 | FromDiscord | <Phil> But it's the only thing you can do when somebody decides it's a good idea to define thread-variables and then doesn't define a proc that can be explicitly called to clean it up (destructor doesn't work here, destructor's don't get called at the end of a thread on its thread variables). |
21:40:39 | Amun-Ra | I haven't needed threads in any nim project yet |
21:46:46 | FromDiscord | <leorize> but it's nim fault though \:p↵(@Phil) |
22:01:51 | * | jjido joined #nim |
22:03:27 | * | cornfeedhobo quit (Ping timeout: 252 seconds) |
22:06:59 | * | cornfeedhobo_ joined #nim |
22:12:34 | * | lucasta quit (Quit: Leaving) |
22:24:32 | termer | Pil, What's up |
22:24:38 | termer | Phil, |
22:25:02 | termer | "intellij_gamer" lol at your username |
22:25:40 | FromDiscord | <Phil> Cheers, just wanted to ask given your forum post if you ever made a custom event-loop using chronos that did polling + other things inside an event-loop |
22:28:36 | entikan | I called my panda3d boilerplate panduhr. https://codeberg.org/entikan/panduhr |
22:28:39 | entikan | get it |
22:59:47 | FromDiscord | <intellij_gamer> In reply to @termer ""intellij_gamer" lol at your": haha, finally someone appreciates it |
23:13:37 | * | disso-peach joined #nim |
23:21:36 | termer | Phil, I've never done that with Chronos |
23:24:01 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
23:25:42 | entikan | https://github.com/inim-repl/INim does this project mean an interpreted nim is possible? |
23:26:33 | FromDiscord | <leorize> it's always possible, but not because of that project |
23:26:57 | FromDiscord | <leorize> that project more or less just create a file with your code then just keep adding line by line, compiling and running it each time |
23:27:35 | entikan | oh :( |
23:28:02 | entikan | has anyone done some interpreted nim? (not sure if this is swearing in church lol) |
23:28:13 | FromDiscord | <leorize> `nim secret` |
23:28:29 | FromDiscord | <Phil (he/him)> nim secret is the VM, not a full repl, that's a nim subset |
23:28:32 | FromDiscord | <Phil (he/him)> there is nlvm |
23:28:39 | FromDiscord | <Phil (he/him)> Which is also not really an accurate repl |
23:28:47 | FromDiscord | <Phil (he/him)> Since you can redefine let variables and potentially other stuff |
23:28:54 | FromDiscord | <Phil (he/him)> But it's sorta kinda there (?) |
23:29:03 | FromDiscord | <leorize> nim secret is only limited by the nim VM itself tbf |
23:29:20 | FromDiscord | <leorize> if anyone extends the VM it would be able to do everything |
23:30:12 | entikan | oh cool. so in the future it might be possible to switch between interpreted development and compiled deployment, or am I then oversimplifying? |
23:30:46 | termer | Depends on what you need |
23:30:52 | termer | some programs can work like that |
23:31:07 | termer | Some things will never work in the VM, like .emit |
23:31:10 | FromDiscord | <leorize> if this future is more than 10 years then maybe |
23:32:05 | entikan | noice. I'll look into it for a bit. I'm usually not doing anything fancy with panda3d. |
23:32:16 | entikan | but the bindings might be... |
23:32:50 | termer | bindings won't work |
23:32:58 | termer | you can't call out to native code |
23:33:05 | entikan | ah of course |
23:33:33 | termer | if you want to improve compilation time and make your feedback loop faster, compile your core to a shared library and then import it |
23:33:39 | termer | There's a project called Genny which makes this easier |
23:35:50 | entikan | panda3d is cpp though. But that does look interesting. |
23:36:05 | termer | C++ shouldn't factor into it |
23:36:15 | termer | that'll work as long as it exports a C ABI |
23:36:27 | termer | but Genny handles most of that for Nim bindings |
23:36:37 | termer | basically the idea is Nim to Nim bindings |
23:37:01 | termer | so it takes a Nim project, compiles it to a shared library, and then produces the necessary Nim bindings for that shared library to transform it back into a natural Nim interface |
23:37:05 | termer | that's how it's supposed to work, anyway |
23:37:09 | termer | I haven't personally used it |
23:38:07 | entikan | I wonder how much that would speed this up. |
23:38:42 | entikan | honestly it's not bad now, but it's of course not instantanious as with a interpreted language :P |
23:42:50 | termer | I recommend talking to jmgomez and reading some of the stuff he's written about improving Nim times |
23:42:58 | termer | he's the author of NimForUE https://github.com/jmgomez/NimForUE |
23:43:12 | termer | he's done a lot of work into optimizing it to be fast in its compilation |
23:51:08 | * | advesperacit quit () |