<< 01-04-2026 >>

00:34:40*rockcavera joined #nim
00:57:59*xet7 quit (Ping timeout: 252 seconds)
01:10:12*xet7 joined #nim
01:23:47*fallback_ quit (Read error: Connection reset by peer)
01:30:16*fallback joined #nim
02:23:04*rockcavera quit (Remote host closed the connection)
03:44:15*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
03:45:19*Lord_Nightmare joined #nim
05:30:35*mrinsane quit (Ping timeout: 244 seconds)
07:01:54*shrikant joined #nim
07:39:31*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
08:08:40*shrikant quit (Quit: shrikant)
08:18:46*SchweinDeBurg joined #nim
08:21:04FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=yLLSBsgJ
09:30:48FromDiscord<janakali> @TӨMΛ ☠ you need to escape backward slashes\: "..\\\\..\\\\user\\\\{user.name}.html"
09:32:43FromDiscord<nnsee> (or better, use https://nim-lang.org/docs/paths.html#%2F%2CPath%2CPath, both fixing this issue and making your code cross-platform)
09:33:06FromDiscord<nnsee> this and the next proc listed there
09:50:11Amun-Radon't use \ at all, windows works fine with proper /
09:53:34Amun-Rabtw. you can have raw string nim nim with fmt"\..\..\bar\baz" (from std/strformat)
09:54:11Amun-Ra"string nim" "strings in"
09:54:15Amun-Ra
09:54:21Amun-RaI can't type today :/
11:09:14FromDiscord<janakali> sent a code paste, see https://play.nim-lang.org/#pasty=PoJffrha
11:14:19FromDiscord<nnsee> i would personally double check that the cwd is the one you're assuming it to be
11:34:42FromDiscord<TӨMΛ ☠> Turns out I was meaning to use `fmWrite` which I forgot 😄
12:32:13*tokyovigilante quit (Ping timeout: 268 seconds)
15:08:25FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=fqDIWeuh
15:14:58*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
15:17:56*Lord_Nightmare joined #nim
15:18:20*mrinsane joined #nim
15:28:24FromDiscord<mr_rowboto> sent a code paste, see https://play.nim-lang.org/#pasty=SOFiCOLA
15:29:21FromDiscord<mr_rowboto> @TӨMΛ ☠ I modified the original example because it would have been solved by just doing `to_sort = sorted`
15:34:11FromDiscord<jmgomez> For those interested in using `chronos` with `prologue`, now is possible: https://forum.nim-lang.org/t/13834
15:41:24FromDiscord<TӨMΛ ☠> In reply to @mr_rowboto "<@656540400546480128> I modified the": True, would make more sense for me to add one extra `sorted` item not found in `to_sort`↵Would it be simpler if `sorted` was a table already?
15:42:18FromDiscord<TӨMΛ ☠> Oh wait, it's the other way around
17:29:29*mrinsane quit (Ping timeout: 245 seconds)
17:34:15*mrinsane joined #nim
20:40:59FromDiscord<altnernate_alex> when are we getting a nim to scratch transpiler 🙏↵-# ||I'm joking||
21:38:37FromDiscord<TӨMΛ ☠> Why does `toSeq(USER_PROJECTS.keys)` produces different order than what is in the table? Is `toSeq` putting items randomly? Is there a way to preserve original order?
21:39:12FromDiscord<TӨMΛ ☠> I guess "order" in case of table is not exactly correct word but you know what I mean
21:44:44*rockcavera joined #nim
21:49:21FromDiscord<nasuray> In reply to @toma400 "Why does `toSeq(USER_PROJECTS.keys)` produces": If you want order and you'll need an OrderedTable
21:52:02FromDiscord<TӨMΛ ☠> Oh, so it wasn't convertion issue! Thank you lots 🙂‍↕️