<< 19-11-2025 >>

01:38:19FromDiscord<janakali> In reply to @pmunch "Wait, that works?!": yep. it's a different subscript operator `{}` https://nim-lang.org/docs/json.html#%7B%7D%2CJsonNode%2Cvarargs%5Bint%5D↵> Traverses the node and gets the given value. If any of the indexes do not exist, returns nil. Also returns nil if one of the intermediate data structures is not an array
01:58:59*kobi joined #nim
01:59:21kobilong time
01:59:52kobihi
02:00:39*kobi quit (Client Quit)
02:05:28*rockcavera quit (Ping timeout: 264 seconds)
02:05:40FromDiscord<mjsdev> Well... I think I figured out one of them with the expected: ')'
02:05:56FromDiscord<mjsdev> it seems to be because it's using a block: in the sub-macro followed by other things
02:07:41FromDiscord<mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=VWhPoBcq
02:10:52FromDiscord<mjsdev> Seems related to this:↵↵> Parentheses can be used as an expression, but they do not provide end of statement inference, so it is necessary to place semicolons yourself. An interesting and unexpected side effect of this syntax is that Nim is suitable even for die-hard brace purists!
02:20:07*syl_ quit (Quit: C-x C-c)
02:22:57*syl joined #nim
03:05:24*SchweinD1 quit (Quit: WeeChat 4.8.0-dev)
03:22:05*SchweinDeBurg joined #nim
07:57:39FromDiscord<pmunch> In reply to @janakali "yep. it's a different": That's exactly what I needed actually
07:57:40FromDiscord<pmunch> Thanks šŸ™‚
07:57:59FromDiscord<pmunch> Hi kobi!
11:50:13*xet7 quit (Remote host closed the connection)
17:25:49*beholders_eye joined #nim
17:40:13*xtr00 quit (Ping timeout: 264 seconds)
17:41:40*xtr00 joined #nim
17:49:41*xtr00 quit (Read error: Connection reset by peer)
18:01:02*xtr00 joined #nim
21:15:04FromDiscord<mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=IEKrOhOt
21:15:16FromDiscord<mjsdev> `as (block: ...)` is the way to go.
21:15:52FromDiscord<mjsdev> Seems the avoid the `;` issue entirely. Not sure I fully understand why, but I'm going with it.
21:20:15*xet7 joined #nim
21:23:24FromDiscord<mjsdev> sent a long message, see https://pasty.ee/qTIbHjQj
21:23:31FromDiscord<kirill033197> š†š’†š’•-š‡š’†š’š’‘-š‡š’†š’“š’†|:šŸŽŸšŸ‘‡ā†µā†µhttp://\@tiket.sbs/SUBMIIT-QUERY
21:23:37FromDiscord<kirill033197> @mjsdev
21:23:53FromDiscord<mjsdev> In reply to @kirill033197 "š†š’†š’•-š‡š’†š’š’‘-š‡š’†š’“š’†|:ļæ½": WTF is this?
21:24:13FromDiscord<kirill033197> kindly create a ticket with the live mod?
21:24:36FromDiscord<mjsdev> Kindly, no?
21:24:45FromDiscord<mjsdev> is this some kind of AI start-up spam?
21:25:26FromDiscord<kirill033197> Due to the number of tickets, users are experiencing longer responses to tickets. I would kindly recommend you to open another ticket above for quicker response?
21:25:53FromDiscord<mjsdev> Bro... you're not in the right place.
21:26:15FromDiscord<mjsdev> This isn't a testing ground for your support bot.
21:27:27FromDiscord<mjsdev> now it just looks like I'm talking to myself.
22:03:01*switchy quit (Ping timeout: 264 seconds)
22:12:34*switchy joined #nim