00:31:53 | FromDiscord | <DetermiedNim1> What's the purpose of using --cpu:nimvm --os:NimVm https://media.discordapp.net/attachments/371759389889003532/1384692058933170187/image0.jpg?ex=68535a79&is=685208f9&hm=c8da65f3b01bc25ae5cef55a27ea3f27164c85e2382ca1e1ed075f5312915a02& |
00:32:16 | FromDiscord | <DetermiedNim1> I tried looking up if there was like |
00:44:05 | FromDiscord | <DetermiedNim1> I get a "no implementation for dyncalls" error |
04:16:30 | * | rockcavera quit (Remote host closed the connection) |
04:53:16 | * | skippy8 joined #nim |
05:19:39 | * | nils` quit (Ping timeout: 252 seconds) |
06:15:05 | * | xet7 joined #nim |
07:01:44 | * | nils` joined #nim |
08:10:16 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
08:38:01 | FromDiscord | <TFed> how to merge to tables? |
08:38:06 | FromDiscord | <TFed> sent a code paste, see https://play.nim-lang.org/#pasty=iMMtpUBX |
08:38:14 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1384814396877836379): how to merge two tables? |
08:39:13 | FromDiscord | <TFed> i need to make a iterator that returns (key, value)? |
08:39:31 | FromDiscord | <TFed> so i can walk it in the list and add each element into first table |
08:43:11 | FromDiscord | <janakali> are you sure you want a generic? What should happen if both tables have the same key? |
08:44:14 | FromDiscord | <TFed> yes |
08:44:23 | FromDiscord | <TFed> it should overwrite keys |
08:44:36 | FromDiscord | <TFed> i will use it for merging |
08:44:45 | FromDiscord | <TFed> i will use it for merging tables |
08:45:10 | FromDiscord | <TFed> probably i will make it on my own |
08:45:24 | FromDiscord | <TFed> i have made the iterator |
08:45:32 | FromDiscord | <TFed> sent a code paste, see https://play.nim-lang.org/#pasty=aYxkxPoe |
08:51:48 | FromDiscord | <janakali> @TFed https://play.nim-lang.org/#pasty=NOjdQLfK |
08:52:54 | FromDiscord | <janakali> You don't need an iterator, it's already in stdlib |
08:53:38 | FromDiscord | <janakali> https://nim-lang.org/docs/tables.html#pairs.i%2CTable%5BA%2CB%5D |
08:54:22 | FromDiscord | <janakali> you don't need a custom iterator |
08:55:41 | FromDiscord | <TFed> thanks, i just was trying to reinvent the wheel.. |
08:56:24 | FromDiscord | <janakali> here's an "override" version: https://play.nim-lang.org/#pasty=IjmAGPUR |
09:01:02 | FromDiscord | <TFed> it works, thank you again😌 |
09:11:52 | * | derpydoo joined #nim |
09:21:11 | * | beholders_eye joined #nim |
09:27:21 | * | derpydoo quit (Remote host closed the connection) |
09:37:25 | * | beholders_eye quit (Ping timeout: 248 seconds) |
09:51:12 | * | xet7 quit (Remote host closed the connection) |
10:15:04 | * | SchweinDeBurg quit (Read error: Connection reset by peer) |
10:20:41 | * | SchweinDeBurg joined #nim |
10:23:09 | * | SchweinDeBurg quit (Read error: Connection reset by peer) |
10:26:01 | * | xet7 joined #nim |
10:27:22 | * | beholders_eye joined #nim |
10:28:54 | * | SchweinDeBurg joined #nim |
10:38:35 | * | derpydoo joined #nim |
10:41:58 | * | beholders_eye quit (Ping timeout: 272 seconds) |
11:03:28 | * | derpydoo quit (Quit: derpydoo) |
11:35:21 | * | jjido joined #nim |
11:50:58 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
12:12:07 | * | xet7 quit (Remote host closed the connection) |
12:46:42 | * | beholders_eye joined #nim |
13:19:40 | * | beholders_eye quit (Ping timeout: 272 seconds) |
13:29:24 | * | jjido joined #nim |
13:55:57 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
15:16:11 | FromDiscord | <adrianotech> Hello! i'm trying from this morning to make a bot in nim but i'm having problems with the libs, either the compiler won't find them or they wouldn't install, is there an up to date tutorial on how to make on? |
15:16:12 | FromDiscord | <adrianotech> (edit) "on?" => "one?" |
15:42:36 | Freneticks | what's the best opengl binding ? that will still work in 5 years ? Maybe should only use the binding generator an not use a binding, what nimusers is recommanding ? |
16:08:00 | FromDiscord | <demotomohiro> In reply to @adrianotech "Hello! i'm trying from": Nim compiler has `--path` compiler option to add a directory used to search modules: https://nim-lang.org/docs/nimc.html#compiler-usage |
16:41:10 | FromDiscord | <adrianotech> In reply to @demotomohiro "Nim compiler has `--path`": i tried everything trust me, i installed, did the --path and it didn't find nothing 😠|
16:41:19 | FromDiscord | <adrianotech> (edit) "didn't find" => "found" |
16:52:30 | FromDiscord | <heysokam> In reply to @Freneticks "what's the best opengl": for that specific goal, I'd go with `futhark`↵row posted a guide recently on how to generate bindings with it in an easy way |
16:53:56 | FromDiscord | <heysokam> https://github.com/RowDaBoat/futhark-tutorial |
16:56:08 | FromDiscord | <heysokam> In reply to @adrianotech "Hello! i'm trying from": I doubt there is on for that specific goal. But if the bot is for discord, they have a discord server for the library where you could ask for questinos |
17:59:57 | * | beholders_eye joined #nim |
18:19:05 | FromDiscord | <saint._._.> How are LLMs with generating Nim code lately? |
18:23:46 | FromDiscord | <adrianotech> bad |
18:23:48 | FromDiscord | <adrianotech> really bad |
18:23:55 | FromDiscord | <adrianotech> atrociously bad |
18:36:04 | ehmry | and hopefully staying that way |
18:47:51 | FromDiscord | <exelotl> Freneticks: I used the nim-lang/opengl bindings last year, they have been around for a while and they worked just fine, can recommend |
18:52:08 | * | nils` quit (Ping timeout: 268 seconds) |
19:10:55 | * | przmk quit (Remote host closed the connection) |
20:00:54 | * | nils` joined #nim |
20:01:28 | * | jjido joined #nim |
20:07:53 | FromDiscord | <shalokshalom> https://forum.nim-lang.org/t/3972 |
20:08:15 | FromDiscord | <shalokshalom> In this forum thread, Andreas says 'methods are going to stay' |
20:08:39 | FromDiscord | <shalokshalom> The actual context of this conversation is actually multi methods. |
20:08:58 | FromDiscord | <shalokshalom> They are still marked to be potentially removed in the documentation. |
20:09:55 | FromDiscord | <shalokshalom> Is the documentation outdated, or did Araq only mean normal methods will stay?↵↵The fact that multi methods are marked to be removed for a decade or so, should indicate the docs are outdated? |
20:27:58 | * | beholders_eye quit (Quit: WeeChat 4.6.3) |
21:57:24 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
22:25:48 | FromDiscord | <Phil> In reply to @shalokshalom "Is the documentation outdated,": You might be better of asking in #internals ↵I'm honestly very unsure what will end up as part of nimony and what won't. |
22:37:16 | FromDiscord | <shalokshalom> Ah, they are now doing the rewrite that postponement caused Nimskull to happen |
22:54:21 | * | rockcavera joined #nim |