| 00:00:22 | * | SchweinDeBurg joined #nim |
| 00:14:32 | FromDiscord | <aethrvmn> Yeah, I need to do some improvements to the devShell but rn this is it↵(@nasuray) |
| 00:14:36 | FromDiscord | <aethrvmn> 1000000447.jpg https://media.discordapp.net/attachments/371759389889003532/1431798129841143829/1000000447.jpg?ex=68feb96b&is=68fd67eb&hm=e2e385113a7edc748801b7fc02da0b3e6c0ba9ab8525a98b9577528abbbfe928& |
| 00:41:04 | FromDiscord | <heysokam> In reply to @demotomohiro "`pointer` and `cstring`.": true, thank you ✍️ |
| 00:50:48 | * | Jjp137 quit (Quit: Leaving) |
| 00:55:05 | FromDiscord | <systemblue2010> hey guys why Nim discord server don't have tags... |
| 00:55:19 | FromDiscord | <systemblue2010> (edit) "tags..." => "tag..." |
| 00:56:19 | FromDiscord | <systemblue2010> zig has tag, odin has tag too ↵and the C#, Java, Go, Elixir, .NET has tags too(even it is not official ) |
| 00:56:48 | FromDiscord | <Elegantbeef> Nim's community engagement is near 0 |
| 00:57:39 | FromDiscord | <systemblue2010> if we don't have boost and ↵how about writting Nim discord link in discord profile's about me |
| 00:58:32 | FromDiscord | <systemblue2010> how about mention everyone and suggesting everyone to write Nim discord link in discord profile |
| 01:12:57 | FromDiscord | <nasuray> In reply to @aethrvmn "Yeah, I need to": Hmm what is not working with nimble and nixpkgs? I only use nimble (via nixpkgs) in local mode. But it should work with a global nimble path |
| 01:13:34 | FromDiscord | <nasuray> In reply to @aethrvmn "Yeah, I need to": Also if it's useful to you I wrote https://github.com/daylinmorgan/nim2nix |
| 01:14:58 | * | Jjp137 joined #nim |
| 01:41:57 | * | SchweinDeBurg quit (Ping timeout: 252 seconds) |
| 01:43:36 | * | SchweinDeBurg joined #nim |
| 02:00:24 | * | greaser|q_ quit (Changing host) |
| 02:00:24 | * | greaser|q_ joined #nim |
| 02:00:29 | * | greaser|q_ is now known as GreaseMonkey |
| 02:07:02 | FromDiscord | <lousp4521> In reply to @aethrvmn "Yeah, I need to": wait, it's a bot? |
| 02:07:08 | FromDiscord | <lousp4521> llm? |
| 02:07:12 | FromDiscord | <lousp4521> or a human? |
| 02:07:22 | FromDiscord | <lousp4521> 🤔 |
| 02:07:34 | FromDiscord | <Elegantbeef> A large language human |
| 02:08:02 | FromDiscord | <lousp4521> In reply to @Elegantbeef "A large language human": bruh |
| 02:08:07 | FromDiscord | <lousp4521> how it works? |
| 02:08:16 | FromDiscord | <Elegantbeef> Sis, it's just a bridge |
| 02:08:36 | FromDiscord | <lousp4521> In reply to @Elegantbeef "Sis, it's just a": yea, I know. How it works? |
| 02:08:53 | FromDiscord | <Elegantbeef> You send a message into the void that gets picked up by a webhook that sends it to matrix |
| 02:08:58 | FromDiscord | <Elegantbeef> Rinse and repeat for the inverse |
| 02:09:20 | FromDiscord | <lousp4521> interesting |
| 02:09:26 | FromDiscord | <lousp4521> but why? |
| 02:09:43 | FromDiscord | <Elegantbeef> Cause discord is proprietary shitware |
| 02:10:22 | FromDiscord | <lousp4521> In reply to @Elegantbeef "Cause discord is proprietary": Understandable have a great day 👍 |
| 02:51:18 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=GnvLNurw |
| 02:52:57 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=RlUhVjDN |
| 02:56:14 | FromDiscord | <heysokam> well, whatever mysterious error I triggered, `var declarations :string= @[]` fixed it just as mysteriously 🤷♂️ |
| 02:57:05 | FromDiscord | <heysokam> `:seq[string]=` rather |
| 02:58:10 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 02:58:23 | FromDiscord | <aethrvmn> Its probably something to do with the LD\_LIBRARY\_PATH; I should spend tomorrow to try and fix it tbh, but ye, since 99% of the people will not be running nix, I try to make my devShells part of my main flake, so I can do nix develop and then use them/write code like any other non-nix user↵(@nasuray) |
| 02:59:19 | FromDiscord | <aethrvmn> This + last week I managed to get the last friend I had on discord to join signal so I dont need discord anymore |
| 03:00:21 | FromDiscord | <Elegantbeef> @aethrvmn yea but now you need signal |
| 03:00:33 | FromDiscord | <Elegantbeef> That's like stubbing your toe just cause your toe isn't bruised |
| 03:00:45 | * | SchweinDeBurg joined #nim |
| 03:01:54 | FromDiscord | <aethrvmn> Wym? |
| 03:02:01 | FromDiscord | <heysokam> @ElegantBeef Do you happen to know what `TNodeKind` is used for `PNode`s that contain a `bool` variable?↵There seems to be no `nkBoolLit` 🤔 |
| 03:02:14 | FromDiscord | <Elegantbeef> I don't like signal much more than discord |
| 03:02:48 | FromDiscord | <Elegantbeef> `nkBoolLit` should be it |
| 03:03:10 | FromDiscord | <Elegantbeef> You can always read nimscripters; vmconversions module |
| 03:03:41 | FromDiscord | <heysokam> https://media.discordapp.net/attachments/371759389889003532/1431840679138426930/image.png?ex=68fee10c&is=68fd8f8c&hm=1f3493b06206db0c33b746faf8d574237af59750d2906819cb72ac64f0a80457& |
| 03:03:54 | FromDiscord | <heysokam> in `nodekinds.nim` |
| 03:03:56 | * | SchweinDeBurg quit (Read error: Connection reset by peer) |
| 03:04:04 | FromDiscord | <heysokam> There is no `nkBoolLit` |
| 03:04:38 | FromDiscord | <Elegantbeef> `nkIntLit` |
| 03:04:46 | FromDiscord | <aethrvmn> Eh, it's foss, and the pqc stuff is pretty gucci too, a bit annoying you can host your own server but better than the proprietary ones, and the client is much better than matrix/xmpp for my non technically inclined friends/family |
| 03:04:53 | FromDiscord | <Elegantbeef> Everything is mapped here https://github.com/beef331/nimscripter/blob/master/src/nimscripter/vmconversion.nim |
| 03:05:41 | FromDiscord | <aethrvmn> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1431840955706900531): Eh, it's foss, and the pqc stuff is pretty gucci too, a bit annoying you cant host your own server but better than the proprietary ones, and the client is much better than matrix/xmpp for my non technically inclined friends/family |
| 03:06:25 | FromDiscord | <heysokam> In reply to @Elegantbeef "`nkIntLit`": But `nkIntLit` does not `PNode.render` to `true/false` with its `intVal` 🧩 |
| 03:06:58 | FromDiscord | <nasuray> In reply to @aethrvmn "Its probably something to": If you weren't aware there are some patches to Nim on nixos that affect dlopen, could be related |
| 03:07:02 | FromDiscord | <Elegantbeef> So then `ident` of the value, but that's not right |
| 03:07:30 | FromDiscord | <Elegantbeef> @aethrvmn yea it's mildly better than discord but if memory serves it requires using a phone number as an ID |
| 03:07:58 | * | SchweinDeBurg joined #nim |
| 03:08:39 | FromDiscord | <heysokam> Its definitely not right |
| 03:09:21 | FromDiscord | <heysokam> How does the parser even handle `true/false` expressions if it doesn't even have a `nkBoolLit`? so confused |
| 03:09:23 | FromDiscord | <Elegantbeef> I mean `nkIntLit` is what the VM and compiler uses |
| 03:10:14 | FromDiscord | <Elegantbeef> It uses `nkIntLit` with `0` or `1` |
| 03:10:29 | FromDiscord | <heysokam> So you are saying that `true/false` are completely gone after the raw parser pass? How are they typechecked then? |
| 03:10:47 | FromDiscord | <Elegantbeef> They get the `PType` that points to `bool` |
| 03:11:28 | FromDiscord | <heysokam> But they need to be parsed first |
| 03:13:17 | FromDiscord | <heysokam> What I'm doing is manually creating the data structure that the parser would generate with the first raw parsing pass when finding `var thing :bool= true` |
| 03:13:52 | FromDiscord | <heysokam> Are they `ident` and then changed after typechecking or something? |
| 03:14:18 | FromDiscord | <Elegantbeef> I don't know I've never even looked at the parser |
| 03:26:22 | FromDiscord | <heysokam> @ElegantBeef `nkIdent` worked. that's super confusing |
| 03:26:40 | FromDiscord | <heysokam> I guess because they are keywords they are considered `ident`? 🤷♂️ |
| 03:27:54 | FromDiscord | <Elegantbeef> They're idents cause they're idents |
| 03:29:16 | FromDiscord | <heysokam> but they are literal values used as expressions that are treated as `ident` |
| 03:29:40 | * | SchweinDeBurg quit (Ping timeout: 246 seconds) |
| 03:30:48 | FromDiscord | <heysokam> I just don't understand the reasoning, is what I mean↵Whatever the reasoning is _(probably not what I said, but that's the point, since I don't really get the idea)_ |
| 03:31:24 | FromDiscord | <heysokam> And worried about using them incorrectly, and then finding more mysterious issues down the line |
| 03:31:36 | * | SchweinDeBurg joined #nim |
| 03:32:43 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=sazUqFze |
| 03:36:08 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 03:36:38 | FromDiscord | <heysokam> Oh, now that I see that... I tried writing`proc nil () = ...` earlier and it did not let me...↵and there is a `nkNilLit` node kind 🤔↵Maybe that's why? |
| 03:37:48 | * | SchweinDeBurg joined #nim |
| 03:42:22 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 03:44:01 | * | SchweinDeBurg joined #nim |
| 04:21:34 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=aNYCbafx |
| 04:23:48 | FromDiscord | <heysokam> nvm, as soon as I asked I found `std/strutils escape()` |
| 04:30:37 | FromDiscord | <systemblue2010> sent a long message, see https://pasty.ee/eskdsXar |
| 04:32:22 | FromDiscord | <heysokam> @systemblue2010 marketing has been discussed and a persistent issue for years↵Nobody in the team is willing to take the lead on promoting, it seems |
| 04:33:07 | FromDiscord | <systemblue2010> really? |
| 04:33:16 | FromDiscord | <systemblue2010> why Nim developers use nim but not promote it? |
| 04:34:06 | FromDiscord | <systemblue2010> then what blog site does global developers use? |
| 04:34:12 | FromDiscord | <heysokam> My best guess is that they don't like marketing? 🤷♂️ but no clue really |
| 04:34:31 | FromDiscord | <heysokam> In reply to @systemblue2010 "then what blog site": They don't blog, simply |
| 04:35:10 | FromDiscord | <systemblue2010> does developers not use blogs? |
| 04:35:28 | FromDiscord | <systemblue2010> I heard many developer found technology stacks in blgos |
| 04:35:49 | FromDiscord | <heysokam> Nobody in the current dev team is good at (or likes) PR, as far as I know |
| 04:36:27 | FromDiscord | <systemblue2010> um... then I will try promoting |
| 04:36:32 | FromDiscord | <heysokam> But you should ask on GitHub if you want to actually reach them |
| 04:36:50 | FromDiscord | <heysokam> Pretty sure there is (or has been) an open issue about the topic |
| 04:37:53 | FromDiscord | <Elegantbeef> Hey they're pretty good at negative PR↵(@heysokam) |
| 04:39:55 | FromDiscord | <heysokam> fair |
| 05:11:00 | FromDiscord | <kcvinker5420> sent a code paste, see https://play.nim-lang.org/#pasty=sCPSSvbj |
| 05:12:02 | FromDiscord | <Elegantbeef> Works just fine |
| 05:57:19 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=FdrfXRkb |
| 06:15:16 | FromDiscord | <Laylie> I can only reproduce that error on ancient Nim (1.6.20)↵(@kcvinker5420) |
| 06:16:30 | FromDiscord | <kcvinker5420> In reply to @Laylie "I can only reproduce": Thanks for trying, IIRC, my compiler version is 2.2, let me check that. |
| 06:57:42 | FromDiscord | <heysokam> Is there something similar to `nim check` but without doing any semantic checks on the file? 🤔 |
| 07:03:50 | * | derpydoo joined #nim |
| 07:29:31 | FromDiscord | <pmunch> In reply to @systemblue2010 "<@&371760044473319454> > **The": Please don't ping the mod team for stuff like this.. |
| 08:08:10 | * | derpydoo quit (Quit: derpydoo) |
| 08:18:30 | * | SchweinDeBurg quit (Ping timeout: 252 seconds) |
| 08:19:19 | FromDiscord | <kiloneie> Is there a way to string -> identifier at runtime ? |
| 08:20:14 | * | SchweinDeBurg joined #nim |
| 08:24:16 | FromDiscord | <aethrvmn> You mean uuid?↵(@kiloneie) |
| 08:25:53 | FromDiscord | <kiloneie> I am trying to do this `result.add parseExpr("discard " & $entity.name & "Main.events()")` or the same in any way, and since it's not known at compile time... i don't know. |
| 09:03:40 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 09:05:27 | * | SchweinDeBurg joined #nim |
| 09:33:22 | FromDiscord | <systemblue2010> In reply to @pmunch "Please don't ping the": yes sorry |
| 09:40:47 | FromDiscord | <kiloneie> In reply to @kiloneie "I am trying to": Idk, seems impossible, giving up on this approach... |
| 09:54:14 | FromDiscord | <kiloneie> In reply to @kiloneie "Idk, seems impossible, giving": Oh man, the solution to what i wanted, was so SO simple... |
| 10:22:25 | * | beholders_eye joined #nim |
| 10:24:17 | * | ehmry quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 10:26:57 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 10:28:50 | * | ehmry joined #nim |
| 11:13:00 | FromDiscord | <pmunch> niwIdentNode? |
| 11:13:20 | FromDiscord | <pmunch> (edit) "niwIdentNode?" => "newIdentNode?" |
| 11:35:06 | * | zero` joined #nim |
| 11:59:54 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 12:01:39 | * | SchweinDeBurg joined #nim |
| 12:07:50 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 12:08:51 | * | SchweinDeBurg joined #nim |
| 12:10:30 | FromDiscord | <kiloneie> No, what i was trying to do, isn't possible at runtime, and the solution was as easy as, just put the module.proc calls, to, another module, wrapped in another proc. |
| 13:28:02 | * | SchweinDeBurg quit (Ping timeout: 240 seconds) |
| 13:30:17 | * | SchweinDeBurg joined #nim |
| 13:34:42 | * | SchweinDeBurg quit (Ping timeout: 240 seconds) |
| 13:36:30 | * | SchweinDeBurg joined #nim |
| 13:41:07 | * | SchweinDeBurg quit (Ping timeout: 244 seconds) |
| 13:42:43 | * | SchweinDeBurg joined #nim |
| 13:47:30 | * | SchweinDeBurg quit (Ping timeout: 265 seconds) |
| 13:52:39 | * | SchweinD1 joined #nim |
| 13:56:15 | * | beholders_eye joined #nim |
| 14:18:38 | * | tiorock joined #nim |
| 14:18:38 | * | tiorock quit (Changing host) |
| 14:18:38 | * | tiorock joined #nim |
| 14:18:38 | * | rockcavera is now known as Guest8379 |
| 14:18:39 | * | Guest8379 quit (Killed (uranium.libera.chat (Nickname regained by services))) |
| 14:18:39 | * | tiorock is now known as rockcavera |
| 14:20:40 | * | SchweinD1 quit (Ping timeout: 246 seconds) |
| 14:45:37 | * | beholders_eye quit (Ping timeout: 264 seconds) |
| 15:13:39 | FromDiscord | <deadly_moves> sent a long message, see https://pasty.ee/nMiYSHOW |
| 15:22:19 | FromDiscord | <amadaluzia> Do mjolnir bans have an effect on discord |
| 15:35:33 | FromDiscord | <kiloneie> What am i missing for a second case statement ? https://media.discordapp.net/attachments/371759389889003532/1432029890747564092/Screenshot_2025-10-26_16-34-56.png?ex=68ff9143&is=68fe3fc3&hm=844bfc2b62a4b1490f52b73b04e3920bb3c6573e632197d0ae287bd372b748f3& |
| 15:45:58 | FromDiscord | <kiloneie> Apparently, i shouldn't try using `type` <.< |
| 15:54:14 | FromDiscord | <mitranim> This sort of thing is why keywords are evil |
| 15:54:33 | FromDiscord | <kiloneie> It only told me, invalid indentation... <.<... |
| 16:05:31 | FromDiscord | <aethrvmn> You could add backticks to type↵(@kiloneie) |
| 16:09:24 | FromDiscord | <heysokam> In reply to @kiloneie "What am i missing": Idiomatic is to call/name the value kind↵You could also use typ or \`type\` |
| 16:09:53 | FromDiscord | <kiloneie> I've already settled on setupType. |
| 16:10:29 | FromDiscord | <heysokam> Just giving you the alternatives you see the most often |
| 16:20:42 | FromDiscord | <kiloneie> Huh ? https://media.discordapp.net/attachments/371759389889003532/1432041256317616329/Screenshot_2025-10-26_17-20-33.png?ex=68ff9bd9&is=68fe4a59&hm=6e791162f02714395efb6be1b1a78880cbec3e2f90e0840b3db89bd97f71f70d& |
| 16:32:20 | FromDiscord | <heysokam> In reply to @kiloneie "Huh ?": are you doing `yourObject.kind = otherKind` on a variant object? |
| 16:35:05 | FromDiscord | <kiloneie> Yes |
| 16:41:55 | FromDiscord | <heysokam> afaik, you cannot change variant objects to be other objects. they are meant to be static |
| 16:42:31 | * | Guest52 joined #nim |
| 16:42:34 | * | Guest52 quit (Client Quit) |
| 16:42:34 | FromDiscord | <heysokam> maybe someone else has better insights, but I believe that's the case |
| 16:42:55 | FromDiscord | <kiloneie> Well, i compiled with that flag, and it works... |
| 16:43:22 | FromDiscord | <kiloneie> i am only changing the value at compile-time |
| 16:43:41 | FromDiscord | <kiloneie> since it's a value, everything has |
| 16:44:24 | FromDiscord | <kiloneie> I could replace it with a simple bool, for default or manual for now, but i wanted to copy cat GameMaker with it's default, manual and automatic... |
| 16:44:47 | FromDiscord | <kiloneie> Or something... |
| 16:45:12 | FromDiscord | <heysokam> In reply to @kiloneie "i am only changing": you could have a `const` variable that is assigned from a `static` block then |
| 16:45:48 | * | krunsh joined #nim |
| 16:45:59 | FromDiscord | <kiloneie> I am guessing, that compile flag will not work in the future ? |
| 16:46:14 | FromDiscord | <heysokam> That's what it says, yea |
| 16:47:51 | FromDiscord | <kiloneie> Idk, it's just this, im too hungry to think... https://media.discordapp.net/attachments/371759389889003532/1432048088679452752/Screenshot_2025-10-26_17-47-26.png?ex=68ffa236&is=68fe50b6&hm=07750320e9bd410f8b9e1fb84ed73ca6fd894526c18f0b028fe947e0fdd186fa& |
| 16:56:15 | * | ainema joined #nim |
| 17:05:05 | FromDiscord | <janakali> In reply to @kiloneie "Huh ?": you can only choose kind of case object on initialization, e.g. `var o = Object(kind: somekind)`↵↵Because case objects are unions, when you change kind - fields will all get scrambled. It's essentially casting. |
| 17:41:02 | * | beholders_eye joined #nim |
| 17:41:47 | FromDiscord | <TӨMΛ ☠> In reply to @nasuray "Relying on nimblePath can": I tried that last time and it yielded me most weird errors↵Will probably try this in another repo in the future but this game was meant to be quick shot at gamedev (with goal to actually finish in few months) so I cut corners whenever it benefits the project :> |
| 19:15:54 | * | ainema left #nim (#nim) |
| 22:37:08 | * | krunsh quit (Read error: Connection reset by peer) |
| 23:03:51 | FromDiscord | <tomaate7> Where’s the Portuguese chat? It’s missing |
| 23:21:01 | * | krunsh joined #nim |
| 23:33:49 | * | xet7 joined #nim |
| 23:43:52 | * | xet7 quit (Quit: Leaving) |