<< 04-05-2026 >>

00:07:59*Mister_Magister quit (Quit: bye)
00:10:32*Mister_Magister joined #nim
02:10:36*rockcavera quit (Remote host closed the connection)
05:00:39*xet7 quit (Remote host closed the connection)
09:18:05*beholders_eye joined #nim
10:58:06*beholders_eye quit (Quit: WeeChat 4.9.0)
11:28:15*beholders_eye joined #nim
12:15:45FromDiscord<mratsim> finally 🫠 some C derivatives get it https://c3-lang.org/blog/unsigned-sizes-a-five-year-mistake/
12:21:39*termer quit (Quit: buh bye)
12:25:24*termer joined #nim
13:14:31FromDiscord<janakali> sent a long message, see https://pasty.ee/isbcMeTv
13:29:40Amun-Rait there's no way to typedef it back to usize I wouldn't use it
13:30:46Amun-RaI'm not a fan of variable size types, too
13:32:15*anddam quit (Quit: WeeChat 4.5.2)
13:51:09*hygo quit (Ping timeout: 255 seconds)
15:11:18FromDiscord<tauruuuuuus> In reply to @mratsim "finally 🫠 some C": Is the difference between modulo and remainder mainly in the sign and which kind of truncation/flooring is used for division?
15:59:06*hygo joined #nim
16:50:20*xet7 joined #nim
17:02:03*Goodbye_Vincent1 quit (Read error: Connection reset by peer)
17:02:18*greaser|q joined #nim
17:02:27*acidsys quit (Ping timeout: 272 seconds)
17:02:28*GreaseMonkey quit (Ping timeout: 272 seconds)
17:03:40*acidsys joined #nim
17:14:33*SchweinD2 quit (Quit: WeeChat 4.8.0-dev)
17:27:09*SchweinDeBurg joined #nim
17:27:24*SchweinD1 joined #nim
17:31:30*SchweinDeBurg quit (Ping timeout: 248 seconds)
17:47:46*skippy8 joined #nim
18:15:29*zero` quit (Remote host closed the connection)
18:15:49*zero` joined #nim
19:07:07FromDiscord<TӨMΛ ☠> How does one resolve such issue? I'd think strict typing should solve it, but somehow Nim does not recognise it being JsonNode (JArray) https://media.discordapp.net/attachments/371759389889003532/1500936828793131048/image.png?ex=69fa3fda&is=69f8ee5a&hm=b03634f85562643adedcf057dd876a742982df8bb2140d2d9f1876cfc7eaae1d&
19:10:31*zero` quit (Ping timeout: 264 seconds)
19:13:50*zero` joined #nim
19:24:02*oculux quit (Ping timeout: 252 seconds)
20:07:43FromDiscord<TӨMΛ ☠> I imagine it's because the above are too generic and catch JsonNode too?
20:13:46FromDiscord<mr_rowboto> In reply to @toma400 "I imagine it's because": Can you show the code that is causing that?
20:21:30FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=WtQEqQVx
20:21:52FromDiscord<TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=eNCgwmYB" => "https://play.nim-lang.org/#pasty=aoZpmSlP"
20:22:10FromDiscord<TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=LyCDOptA" => "https://play.nim-lang.org/#pasty=ESbvwsrj"
20:22:14FromDiscord<TӨMΛ ☠> (edit) "https://paste.rs/XbAVM" => "https://play.nim-lang.org/#pasty=ZsMdUYRB"
20:22:19FromDiscord<TӨMΛ ☠> (edit) "https://paste.rs/wHMcP" => "https://paste.rs/6KvXq"