| 01:38:19 | FromDiscord | <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:21 | kobi | long time |
| 01:59:52 | kobi | hi |
| 02:00:39 | * | kobi quit (Client Quit) |
| 02:05:28 | * | rockcavera quit (Ping timeout: 264 seconds) |
| 02:05:40 | FromDiscord | <mjsdev> Well... I think I figured out one of them with the expected: ')' |
| 02:05:56 | FromDiscord | <mjsdev> it seems to be because it's using a block: in the sub-macro followed by other things |
| 02:07:41 | FromDiscord | <mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=VWhPoBcq |
| 02:10:52 | FromDiscord | <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:39 | FromDiscord | <pmunch> In reply to @janakali "yep. it's a different": That's exactly what I needed actually |
| 07:57:40 | FromDiscord | <pmunch> Thanks š |
| 07:57:59 | FromDiscord | <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:04 | FromDiscord | <mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=IEKrOhOt |
| 21:15:16 | FromDiscord | <mjsdev> `as (block: ...)` is the way to go. |
| 21:15:52 | FromDiscord | <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:24 | FromDiscord | <mjsdev> sent a long message, see https://pasty.ee/qTIbHjQj |
| 21:23:31 | FromDiscord | <kirill033197> ššš-šššš-šššš|:ššāµāµhttp://\@tiket.sbs/SUBMIIT-QUERY |
| 21:23:37 | FromDiscord | <kirill033197> @mjsdev |
| 21:23:53 | FromDiscord | <mjsdev> In reply to @kirill033197 "ššš-šššš-šššš|:ļæ½": WTF is this? |
| 21:24:13 | FromDiscord | <kirill033197> kindly create a ticket with the live mod? |
| 21:24:36 | FromDiscord | <mjsdev> Kindly, no? |
| 21:24:45 | FromDiscord | <mjsdev> is this some kind of AI start-up spam? |
| 21:25:26 | FromDiscord | <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:53 | FromDiscord | <mjsdev> Bro... you're not in the right place. |
| 21:26:15 | FromDiscord | <mjsdev> This isn't a testing ground for your support bot. |
| 21:27:27 | FromDiscord | <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 |