<< 28-08-2026 >>

00:00:40*Skippy8 quit (Ping timeout: 263 seconds)
00:05:50*beholders_eye quit (Quit: WeeChat 4.9.5)
01:35:14*rockcavera joined #nim
01:45:20FromDiscord<haruhisuzumilla5299> Yeah, mixing declarative metadata with evaluated NimScript is the real problem. It makes package behavior harder to reason about, especially when standard `src/` layouts start breaking.
01:45:26FromDiscord<haruhisuzumilla5299> (edit) "It" => "↵It"
03:10:16*rockcavera quit (Remote host closed the connection)
05:01:02*deavmi quit (Read error: Connection reset by peer)
05:09:27*deavmi joined #nim
06:35:44FromDiscord<pmunch> In reply to @nasuray "I think that if": I think if someone wants flat package metadata they should write a new package manager. Instead of breaking support for things in Nimble..
06:36:21FromDiscord<pmunch> Why was that done by the way? Speed? New Nimble is horrendously slow so I hope they had a better excuse
06:37:08FromDiscord<nasuray> In reply to @pmunch "Why was that done": You might not like the answer here lol (I'm pretty sure it's speed)
06:38:20FromDiscord<pmunch> It would've been trivial to change Nimble to evaluate the files and then instead of what it does now spit out a simple definition file that could be cached and easily parsed.
06:39:35FromDiscord<pmunch> In reply to @nasuray "You might not like": I've actually choosenimed my way to older Nim versions just to get faster Nimble for development speed until I need a new feature
06:40:14FromDiscord<pmunch> It's not worth being on stable if I don't need to just to suffer new Nimble
06:42:32FromDiscord<pmunch> And don't get me started on the releases. It seems like half the time new Nimble ships with some crazy bug. And the answer I get is always "oh that's fixed in devel, just upgrade Nimble" which doesn't really work when it's bundled with the compiler. So then I'm just stuck with a broken Nimble until the next Nim release.
06:54:13*syl quit (Quit: C-x C-c)
06:55:58*syl joined #nim
07:11:16FromDiscord<nasuray> In reply to @pmunch "And don't get me": Ya I've probably been the one that told you to install a newer version before hahaha. Tbf sometimes the fixes are just in the latest released nimble but the compiler bundle is tagged separately so it can fall behind. Not sure what version is shipping with 2.2.10 as I don't regularly use choosenim (I'm on nixos đź« ).
08:27:03*Skippy8 joined #nim
08:45:05*Skippy8 quit (Ping timeout: 261 seconds)
09:40:23*beholders_eye joined #nim
11:38:44FromDiscord<nivviv> I have a question about nimble lock: For some reason, it locked the "nim" package to a specific version a while ago. I didn't think much of it and pushed it. Now it's giving me some grief with CI, so I removed the nim{} block and another nimble lock does not re-add it. What gives? Is this expected?
11:47:03*Skippy8 joined #nim
12:03:02*Skippy8 quit (Ping timeout: 266 seconds)
12:17:11*Skippy8 joined #nim
12:22:02*Skippy8 quit (Ping timeout: 269 seconds)
12:42:20*KawaiiSelbst quit (Remote host closed the connection)
12:43:06*KawaiiSelbst joined #nim
12:52:51FromDiscord<nervecenter> sent a code paste, see https://paste.rs/jK72Y
12:53:05FromDiscord<nervecenter> (edit) "https://paste.rs/XX3dS" => "https://paste.rs/HFiNQ"
12:54:02FromDiscord<nervecenter> (edit) "https://paste.rs/tETrJ" => "https://paste.rs/g1Djf"
12:54:17FromDiscord<nervecenter> (edit) "https://paste.rs/Qbro8" => "https://paste.rs/ox0tt"
13:03:35*Skippy8 joined #nim
13:07:43*Skippy8 quit (Ping timeout: 241 seconds)
13:16:02FromDiscord<nasuray> In reply to @nervecenter "I have a scenario": https://nim-lang.org/docs/strformat.html#limitations did you try with inject?
13:33:40FromDiscord<mratsim> In reply to @nervecenter "I have a scenario": it's in the header in the doc of strformat
13:34:19FromDiscord<mratsim> you are victim of generic sandwich and the caller needs to see TYPE_COLORS and date_formatter, so they need to be public and the caller needs to import the module that defines them
13:35:12FromDiscord<mratsim> well it's not even a generic sandwich issue here, it's just that you didn't make those types and proc visible
13:36:29FromDiscord<mratsim> In reply to @nivviv "I have a question": Mmmh, nimble has seen a lot of changes recently, compared to say 2 yesrs ago and I haven't even followed everything that happened there
13:36:41FromDiscord<mratsim> How is Nim going at Beamdog / NeverwinterNights btw?
13:39:48FromDiscord<nivviv> In reply to @mratsim "How is Nim going": I couldn't tell you about Beamdog; but yes, this is for the NWN nim package. I migrated to taskpools due to the deprecation warning nim fired at me and nimble lock added the nim entry to the lockfile, for some reason: https://github.com/niv/neverwinter.nim/commit/e6cbb00432cfb971271e28f3d1d1ed3379b68bdb
13:40:57FromDiscord<nivviv> Unless this is a intentional change that nimble needs as a process, I will just strip it, because it seems to be causing some issues with CI and other developers using the package.
13:41:11FromDiscord<nervecenter> In reply to @mratsim "you are victim of": I forgot the s, they are absolutely visible. `{.inject.}` is working for the `date_formatter` part, now I need to figure out how to index the table const.
13:42:20FromDiscord<nervecenter> In reply to @nasuray "https://nim-lang.org/docs/strformat.html#limitation": Working for the `date_formatter` portion. Looks like it's a different issue for the tables, `tables.[]` seems to not losing its visibility.
13:42:27FromDiscord<nervecenter> (edit) "not" => "be"
13:55:22FromDiscord<nasuray> can you not just make a new variable? (i.e. `let color = TypeColors[struct.type]`)
13:57:50FromDiscord<mratsim> In reply to @nervecenter "I forgot the *s,": https://github.com/nim-lang/Nim/issues/7632
13:59:11FromDiscord<mratsim> In reply to @nervecenter "Working for the `date_formatter`": https://nim-lang.org/docs/strformat.html#limitations↵↵iirc that applies to generics too
14:09:38FromDiscord<nervecenter> sent a code paste, see https://paste.rs/YuIFw
14:09:54FromDiscord<nervecenter> (edit) "https://paste.rs/l91D6" => "https://paste.rs/jgp99"
14:10:02FromDiscord<nervecenter> (edit) "https://paste.rs/a4gTt" => "https://paste.rs/kX822"
14:10:58FromDiscord<nervecenter> (edit) "https://paste.rs/49JOY" => "https://paste.rs/ixdc2"
14:34:04FromDiscord<mratsim> In reply to @nervecenter "This ended up being": ouch
14:35:38*Skippy8 joined #nim
14:42:31*Skippy8 quit (Ping timeout: 265 seconds)
15:45:51*KawaiiSelbst quit (Remote host closed the connection)
15:46:10*KawaiiSelbst joined #nim
16:05:32*Skippy8 joined #nim
17:15:56*Skippy8 quit (Ping timeout: 258 seconds)
17:49:32*beholders_eye quit (Ping timeout: 241 seconds)
19:42:39*beholders_eye joined #nim
20:53:05*ftajhii quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
20:53:55*Skippy8 joined #nim
21:44:48*Skippy8 quit (Ping timeout: 257 seconds)
21:56:21*beholders_eye quit (Quit: WeeChat 4.9.5)
22:03:40*ftajhii joined #nim
22:22:41*KawaiiSelbst quit (Remote host closed the connection)
22:23:27*KawaiiSelbst joined #nim