<< 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