<< 10-06-2026 >>

00:00:24*alexdaguy quit (Quit: w)
00:46:14FromDiscord<ElegantBeef> In reply to @abisxir "Hey everyone, I have": Nimskull also has things like working threads and threadvars
00:47:20FromDiscord<ElegantBeef> Something that Araq seems to just sweep under the rug and say "use a thread pool"
00:48:14*karolyi quit (Remote host closed the connection)
00:53:26*rockcavera quit (Remote host closed the connection)
00:53:30*beholders_eye quit (Ping timeout: 245 seconds)
00:56:35*karolyi joined #nim
01:54:17FromDiscord<mr_rowboto> In reply to @Amun-Ra "sex-pressions are the best": Tell me this was on purpose
03:40:06*cm_ joined #nim
03:40:36*cm quit (Ping timeout: 268 seconds)
03:40:36*cm_ is now known as cm
04:38:18*Jjp137 joined #nim
06:22:22*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
07:05:15*oculux joined #nim
07:07:53*kick455 quit (Ping timeout: 248 seconds)
07:48:08*oculux quit (Ping timeout: 244 seconds)
07:50:19*oculux joined #nim
07:54:48*xet7 quit (Quit: Leaving)
07:58:20*xet7 joined #nim
08:00:07FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=GLgfWNOZ
08:09:33FromDiscord<enthus1ast.> Idk if toTable works here, but you can use fieldPairs ↵↵https://nim-lang.org/docs/iterators.html#fieldPairs.i%2CS%2CT
08:11:00FromDiscord<enthus1ast.> And depending on what you wanna do with the table maybe also the json module
08:15:40FromDiscord<Phil> Worst case scenario you could write a converter function capable of turning any an instance of any object-type into a table
08:15:55FromDiscord<Phil> (edit) "table" => "table, using fieldpairs as enthus1ast mentioned"
08:16:15FromDiscord<Phil> (edit) "mentioned" => "mentioned.↵↵That'll convert your Skills object implicitly when you pass it to a function expecting a table"
08:18:47*SchweinDeBurg joined #nim
08:32:37*xet7 quit (Remote host closed the connection)
08:35:02FromDiscord<gesee37> In reply to @isofruit "Worst case scenario you": Oh so that's the purpose of converter.↵Look like I skipped that part of the doc
08:36:29FromDiscord<amun0666> In reply to @mr_rowboto "Tell me this was": I think so. 😉
08:37:28FromDiscord<TӨMΛ ☠> This was very helpful, thank you 🙏
08:37:55FromDiscord<Phil> In reply to @gesee37 "Oh so that's the": That is also why converters are really frigging scary and should be used with the utmost caution
08:38:32FromDiscord<Phil> Because implicit function calls have the worst kind of habit of causing bugs
08:38:48Amun-Rabugs hard to find bc of converters
08:39:29FromDiscord<gesee37> In reply to @isofruit "That is also why": Documenting them is the best way to get rid of the problem↵Like peoples are warned 🙂↵As long it's not everywhere
09:41:29*emery quit (Read error: Connection reset by peer)
09:46:15*emery joined #nim
10:02:28*xet7 joined #nim
10:35:58*tokyovigilante quit (Ping timeout: 256 seconds)
11:13:39*hygo joined #nim
12:21:41*computerquip quit (Ping timeout: 268 seconds)
12:21:50*bgupta quit (Ping timeout: 245 seconds)
12:22:04*oddish quit (Ping timeout: 248 seconds)
12:22:04*ormiret_ joined #nim
12:22:33*hovsater quit (Ping timeout: 248 seconds)
12:22:40*attah quit (Ping timeout: 245 seconds)
12:22:55*ormiret quit (Ping timeout: 268 seconds)
12:22:55*ormiret_ is now known as ormiret
12:23:10*bgupta joined #nim
12:23:11*hovsater joined #nim
12:24:43*computerquip joined #nim
12:25:31*attah joined #nim
12:26:33*oddish joined #nim
12:48:06*beholders_eye joined #nim
12:52:42*Jhonny2x4 quit (Quit: Jhonny2x4)
12:53:00*Jhonny2x4 joined #nim
13:26:10*beholders_eye quit (Ping timeout: 248 seconds)
13:28:20*beholders_eye joined #nim
13:51:41*emery quit (Read error: Connection reset by peer)
13:56:26*emery joined #nim
14:27:45*przmk_ joined #nim
14:50:12FromDiscord<TӨMΛ ☠> `[...]\saves.nim(2, 11) Error: cannot open file: std/iterators`↵Why is this happening? :o
14:50:26FromDiscord<TӨMΛ ☠> Haven't had issues with importing std before
15:04:01FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=YDWKVlun
15:04:12FromDiscord<TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=dRqAoYKm" => "https://play.nim-lang.org/#pasty=fHStHPRY"
15:04:27FromDiscord<TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=CPctlyBJ" => "https://play.nim-lang.org/#pasty=AbHFvCxU"
15:16:17FromDiscord<asviest> In reply to @toma400 "What is the reason": what do you mean? It should compile
15:17:30*xet7 quit (Quit: Leaving)
15:21:02*xet7 joined #nim
15:57:30FromDiscord<tauruuuuuus> In reply to @toma400 "What is the reason": Seems to be known at least, it's the first thing written in the docs under fieldPair
15:57:34FromDiscord<tauruuuuuus> (edit) "fieldPair" => "fieldPairs"
16:12:26*emery quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
16:14:42*oculux quit (Ping timeout: 248 seconds)
16:14:50*emery joined #nim
16:41:22*beholders_eye quit (Quit: WeeChat 4.9.1)
16:41:34*beholders_eye joined #nim