| 00:08:17 | * | lucerne quit (Quit: Bye) |
| 02:24:55 | * | tmpod quit (Server closed connection) |
| 02:25:04 | * | tmpod joined #nim |
| 02:27:20 | FromDiscord | <Robyn [She/Her]> In reply to @Robyn "how lewd @w@": this was a reply to the holding hands comment |
| 02:27:36 | FromDiscord | <Robyn [She/Her]> Current bridge just didn't show that ig |
| 02:34:34 | * | robertmeta quit (Server closed connection) |
| 02:34:44 | * | robertmeta joined #nim |
| 04:42:44 | * | xet7 quit (Remote host closed the connection) |
| 04:44:14 | * | xet7 joined #nim |
| 04:45:39 | * | GnuYawk1 quit (Quit: The Lounge - https://thelounge.chat) |
| 04:48:23 | * | GnuYawk1 joined #nim |
| 04:53:05 | * | skippy8 joined #nim |
| 05:13:53 | * | Amun-Ra quit (Server closed connection) |
| 05:15:39 | * | Amun-Ra joined #nim |
| 05:58:58 | * | buho joined #nim |
| 07:16:26 | * | jjido joined #nim |
| 07:25:25 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
| 08:07:09 | * | nils` quit (Ping timeout: 252 seconds) |
| 08:10:49 | * | via quit (Ping timeout: 245 seconds) |
| 08:10:56 | * | via joined #nim |
| 08:28:36 | * | beholders_eye joined #nim |
| 08:35:12 | * | amadaluzia joined #nim |
| 09:00:49 | * | beholders_eye quit (Ping timeout: 245 seconds) |
| 09:05:51 | * | beholders_eye joined #nim |
| 09:17:04 | * | xet7 quit (Remote host closed the connection) |
| 09:18:30 | * | xet7 joined #nim |
| 09:18:31 | * | nils` joined #nim |
| 09:19:05 | * | skippy8 quit (Quit: WeeChat 4.7.0) |
| 09:20:17 | * | skippy8 joined #nim |
| 09:23:05 | * | bgupta quit (Server closed connection) |
| 09:23:12 | * | bgupta joined #nim |
| 09:36:31 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 09:38:04 | * | beholders_eye joined #nim |
| 09:43:51 | * | buho quit (Remote host closed the connection) |
| 10:08:46 | * | SchweinDeBurg quit (Ping timeout: 272 seconds) |
| 10:09:12 | * | SchweinDeBurg joined #nim |
| 10:58:05 | * | CypherCat quit (Changing host) |
| 10:58:05 | * | CypherCat joined #nim |
| 11:25:49 | * | nils` quit (Ping timeout: 245 seconds) |
| 12:35:04 | * | nils` joined #nim |
| 13:40:12 | * | xtr00 quit (Ping timeout: 252 seconds) |
| 13:42:04 | * | xtr00 joined #nim |
| 14:29:13 | * | noxrs joined #nim |
| 14:30:18 | noxrs | hi there |
| 14:33:07 | noxrs | nim begginer here, please, can anyone explain me the public/private * in modules. If I want to make everything public, do I have to mark everything with *?, const too? object elements also? |
| 14:33:30 | * | xtr00 quit (Ping timeout: 260 seconds) |
| 14:35:12 | FromDiscord | <blashyrk> sent a code paste, see https://play.nim-lang.org/#pasty=PuEgoWvu |
| 14:35:52 | FromDiscord | <blashyrk> (edit) "https://play.nim-lang.org/#pasty=xDMhbVUE" => "https://play.nim-lang.org/#pasty=CIwucpMr" |
| 14:40:15 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 14:40:27 | noxrs | FromDiscord(blashyrk): aha.. I see... so if it isn't good practice, better use the *, I think |
| 14:41:09 | * | xtr00 joined #nim |
| 14:43:35 | noxrs | I presume I'll understand the benefits of using the * when I'm more proficient with nim |
| 14:43:50 | noxrs | thanks FromDiscord <blashyrk> |
| 14:48:17 | * | cornfeedhobo quit (Ping timeout: 248 seconds) |
| 14:50:29 | FromDiscord | <blashyrk> In reply to @noxrs "I presume I'll understand": The benefit of using private vs public access is for humans, not for the compiler. ↵↵Basically, it's a way to mark parts of the API that's supposed to be used from outside of the module where it's defined vs the parts that are implementation details. |
| 14:50:52 | FromDiscord | <blashyrk> (edit) "implementation" => "internal/implementation" |
| 14:52:47 | noxrs | wouldn't it be more straightforward to have the * mark the private parts? Or maybe I'm using the wrong approach if I have to mark everything public? |
| 14:55:36 | FromDiscord | <blashyrk> That entirely depends on your personal style and the nature of your types and the problem you are solving 🙂 I'm no fan of encapsulation myself, and even less so of OOP-style single line getters/setters, so unless I'm sure that some field doesn't ever need to be tampered with from the outside, I tend to mark most things as public |
| 14:56:05 | * | cornfeedhobo joined #nim |
| 14:57:03 | FromDiscord | <blashyrk> But if you wanna simulate Java in Nim and pretend like objects are some infinitely well abstracted black boxes, you're free to do so, nothing can stop you lol |
| 14:58:03 | noxrs | not a fan of java... ;) * it is then... |
| 14:58:37 | noxrs | thanks for your explanations... will remember those |
| 14:58:44 | noxrs | :) |
| 14:59:01 | noxrs | bye |
| 14:59:07 | * | noxrs quit (Quit: Konversation terminated!) |
| 15:01:47 | * | cornfeedhobo quit (Ping timeout: 256 seconds) |
| 15:05:08 | FromDiscord | <anuke> In reply to @blashyrk "Yes. Alternatively you can": Is there documentation for the .all. pragma somewhere? I could not immediately find it in `system` or the manual after a very quick search |
| 15:06:26 | FromDiscord | <lucidrains_41722> Nim syntax highlighting on GitHub is broken |
| 15:06:32 | FromDiscord | <blashyrk> In reply to @anuke "Is there documentation for": Not sure, I think I found it on some github pr, saw it was merged, tried and it worked lol |
| 15:08:25 | FromDiscord | <blashyrk> (edit) "lol" => "lol↵↵Of course, LLMs have ingested the entirety of the internet in their training data so googling it, gemini will happily tell you about it" |
| 15:09:34 | * | cornfeedhobo joined #nim |
| 16:39:38 | FromDiscord | <Laylie> https://nim-lang.org/docs/manual_experimental.html#importing-private-symbols |
| 16:45:20 | * | xtr00 quit (Ping timeout: 260 seconds) |
| 16:52:52 | * | xtr00 joined #nim |
| 17:04:34 | * | xtr00 quit (Ping timeout: 255 seconds) |
| 17:09:41 | * | beholders_eye joined #nim |
| 17:09:51 | * | jjido joined #nim |
| 17:11:54 | * | xtr00 joined #nim |
| 17:17:47 | * | xtr00 quit (Ping timeout: 256 seconds) |
| 17:18:39 | * | xtr00 joined #nim |
| 17:20:29 | * | CypherCat quit (Remote host closed the connection) |
| 17:28:26 | * | CypherCat joined #nim |
| 17:55:46 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
| 17:58:35 | * | nils` quit (Ping timeout: 256 seconds) |
| 18:03:27 | * | jjido joined #nim |
| 18:07:21 | * | xet7 quit (Remote host closed the connection) |
| 18:08:54 | * | xet7 joined #nim |
| 18:13:19 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 18:14:27 | * | xtr00 quit (Ping timeout: 256 seconds) |
| 18:15:36 | * | beholders_eye joined #nim |
| 18:16:28 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
| 18:16:34 | * | xtr00 joined #nim |
| 18:32:19 | * | xtr00 quit (Ping timeout: 255 seconds) |
| 18:37:19 | * | xtr00 joined #nim |
| 18:56:10 | * | beholders_eye quit (Ping timeout: 255 seconds) |
| 19:06:35 | * | xtr00 quit (Ping timeout: 256 seconds) |
| 19:11:08 | * | xtr00 joined #nim |
| 19:11:47 | * | nils` joined #nim |
| 19:21:29 | * | beholders_eye joined #nim |
| 19:51:06 | * | jjido joined #nim |
| 20:04:24 | * | CypherCat quit (Remote host closed the connection) |
| 20:08:23 | * | CypherCat joined #nim |
| 20:36:51 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
| 21:34:15 | FromDiscord | <thearchivalone> O.o Nim has hotcodereloading? |
| 21:34:20 | FromDiscord | <thearchivalone> That's nice |
| 21:34:51 | FromDiscord | <Elegantbeef> Not that it works |
| 21:35:45 | FromDiscord | <thearchivalone> Elaborate please |
| 21:35:59 | FromDiscord | <thearchivalone> I don't want to waste time on it if it's not functional |
| 21:36:03 | FromDiscord | <Elegantbeef> It does not work and is not tested |
| 21:36:36 | FromDiscord | <thearchivalone> Noted |
| 21:37:41 | FromDiscord | <Elegantbeef> https://github.com/beef331/potato does exist if you really want HCR |
| 21:38:37 | FromDiscord | <thearchivalone> You never got back to me on your assimp updates and whether or not they are ready right now |
| 21:40:04 | FromDiscord | <Elegantbeef> What? |
| 21:41:02 | FromDiscord | <thearchivalone> Oof. The message didn't send. Sorry (shows an error on my end) |
| 21:42:05 | FromDiscord | <thearchivalone> In reply to @Elegantbeef "https://github.com/beef331/nimassimp/ is what I": I found this and am debating on using assimp or not once I get to being able to convert formats and whatnot |
| 21:47:01 | FromDiscord | <Elegantbeef> Matrix bridge dropped the message I have not used assimp for exporting myself, I figured the name implied it only did importing 😄 |
| 21:47:21 | FromDiscord | <Elegantbeef> I joke cause I've used it for converting models |
| 21:50:05 | FromDiscord | <thearchivalone> That's well above my current skill level but I gotta learn once I get to the point I need it. Glad to hear that you got conversion working. What formats have you tried? Last time I touched it, GLTF and FBX both were very much considered unstable formats (so awhile back) |
| 21:51:26 | FromDiscord | <Elegantbeef> I mean I used the CLI program 😄 |
| 21:51:46 | FromDiscord | <Elegantbeef> I import binary gltfs for my game |
| 21:51:59 | FromDiscord | <thearchivalone> Ahhh. So, you didn't build anything with the API directly? |
| 21:52:26 | FromDiscord | <Elegantbeef> nope it doesn't even look like the bindings have export functions |
| 21:53:59 | FromDiscord | <heysokam> @thearchivalone I tried beef's bindings for assimp years ago, and ended up forking a different one that was more complete↵It was not a fun time, be warned |
| 21:54:32 | FromDiscord | <heysokam> That said, futhark now exists, so you could wrap the C assimp api and use it that way. Will give you MUCH better results |
| 21:55:09 | FromDiscord | <Elegantbeef> Probably makes a lot of sense to use futhark instead of nimassimp |
| 21:55:10 | FromDiscord | <Elegantbeef> Hey don't call them my bindings |
| 21:55:22 | FromDiscord | <heysokam> As for assimp itself, the API is atrociously designed, so only use it if you need ALL of the formats↵If you only need 1 or 2, and the rest look like a "nice to have"... use something else. Trust |
| 21:56:45 | FromDiscord | <heysokam> There is a reason I ditched it all, after weeks of effort, and created a gltf reader from scratch in Nim 🙈↵It was so damn painful to use that api, specially just for a simply file type ⚰️ |
| 21:56:56 | FromDiscord | <heysokam> simply->single |
| 21:57:06 | FromDiscord | <Elegantbeef> It's all just a linked list |
| 21:57:19 | FromDiscord | <heysokam> Yea, you said something like that back then |
| 21:57:25 | FromDiscord | <heysokam> it was painful anyway |
| 21:57:52 | FromDiscord | <thearchivalone> I'll gladly take that advice. I may not have the programming experience under my belt, but just doing a small few contributions were very much a chore. Haha |
| 22:02:26 | * | jjido joined #nim |
| 22:15:10 | * | amadaluzia quit (Quit: ZNC 1.9.1 - https://znc.in) |
| 22:24:51 | * | skippy8 quit (Quit: WeeChat 4.7.0) |
| 22:31:43 | * | xtr00 quit (Ping timeout: 256 seconds) |
| 22:33:17 | * | xtr00 joined #nim |
| 22:45:15 | * | beholders_eye quit (Ping timeout: 260 seconds) |
| 22:45:23 | * | rockcavera joined #nim |
| 22:53:57 | * | CypherCat quit (Remote host closed the connection) |
| 22:58:17 | * | CypherCat joined #nim |
| 23:02:15 | * | CypherCat quit (Client Quit) |
| 23:05:53 | * | CypherCat joined #nim |
| 23:25:51 | * | NimBot quit (Server closed connection) |
| 23:26:03 | * | NimBot joined #nim |
| 23:36:54 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |