01:29:57 | FromDiscord | <ollicron_53732> sent a code paste, see https://play.nim-lang.org/#pasty=joSeVrCv |
01:30:16 | FromDiscord | <ollicron_53732> This is insane man |
01:30:18 | FromDiscord | <ollicron_53732> like |
01:30:32 | FromDiscord | <ollicron_53732> This isn't even programming anymore this is some legitimate alien technology here |
01:40:14 | FromDiscord | <Elegantbeef> That's also a bug |
01:40:18 | FromDiscord | <Elegantbeef> So don't do that |
01:40:48 | FromDiscord | <Elegantbeef> use defer if you're going to do that |
01:41:14 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=WodZpPCe |
01:41:24 | FromDiscord | <leorize> use try-finally so it works even at top-level |
01:41:28 | FromDiscord | <Elegantbeef> Or try finally, anything that actually y'know closes the file if `actions` errors |
02:29:06 | FromDiscord | <ollicron_53732> this voodoo magic you speak of |
02:29:12 | FromDiscord | <ollicron_53732> I want more |
02:36:44 | * | rockcavera quit (Remote host closed the connection) |
03:07:46 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
03:08:11 | * | SchweinDeBurg joined #nim |
03:52:11 | * | skippy8 joined #nim |
04:32:00 | * | alexdaguy joined #nim |
04:41:15 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
04:41:51 | * | skippy8 joined #nim |
04:44:21 | * | skippy8 quit (Client Quit) |
04:44:51 | * | skippy8 joined #nim |
04:44:54 | * | skippy8 quit (Client Quit) |
04:45:48 | * | skippy8 joined #nim |
04:46:12 | * | skippy8 quit (Client Quit) |
05:05:09 | * | nils` quit (Ping timeout: 260 seconds) |
05:55:36 | FromDiscord | <jefferson089700> sent a long message, see https://pasty.ee/YlhASfEB |
05:57:30 | FromDiscord | <heysokam> <@&371760044473319454> ^ |
07:39:51 | FromDiscord | <aintea> Deep dive into macros |
07:39:55 | FromDiscord | <aintea> You'll probably drown |
07:39:58 | FromDiscord | <aintea> But it's fun |
07:43:52 | FromDiscord | <blashyrk> Problem with macros is that it's more fun to write macros so once you're done writing your macros the problem you needed to solve using said macro is boring by comparison 😉 |
07:44:15 | FromDiscord | <blashyrk> (edit) "more" => "so" |
07:45:31 | * | ntat joined #nim |
07:57:21 | * | tokyovigilante quit (Remote host closed the connection) |
08:00:44 | * | tokyovigilante joined #nim |
08:19:52 | * | nils` joined #nim |
08:24:42 | * | amadaluzia joined #nim |
09:08:13 | * | beholders_eye joined #nim |
09:08:26 | * | tokyovigilante quit (Remote host closed the connection) |
09:11:36 | * | tokyovigilante joined #nim |
09:27:30 | FromDiscord | <heysokam> The problem with macros is that they are overengineering for 90% of the use cases.↵And, of the other 10%, at least 9% can be done without macros anyway 🤷♂️ |
09:34:08 | * | amadaluzia quit (Ping timeout: 244 seconds) |
09:35:06 | * | ntat quit (Quit: Leaving) |
10:06:07 | * | kasimir_ quit (Remote host closed the connection) |
10:06:48 | * | kasimir_ joined #nim |
10:22:39 | * | om3ga quit (Ping timeout: 260 seconds) |
10:37:42 | * | amadaluzia joined #nim |
10:44:30 | FromDiscord | <developeruche> Hey folk, is anyone currently trying to proof a nim program with a zkVM? ↵↵_i.e. Compile a nim program to riscv32 (no os, no std), before proof gen_ |
10:53:42 | * | kasimir_ quit (Remote host closed the connection) |
10:54:17 | * | kasimir_ joined #nim |
11:00:35 | * | nils` quit (Ping timeout: 265 seconds) |
11:28:34 | FromDiscord | <aethrvmn> In reply to @heysokam "The problem with macros": I NEED to invent a DSL for my super niche usecase |
11:38:14 | FromDiscord | <lainlaylie> can't do pragma based cli generators without macros |
11:49:12 | FromDiscord | <ayex> sent a long message, see https://pasty.ee/yOHhpaOv |
12:00:53 | * | om3ga joined #nim |
12:20:27 | * | beholders_eye quit (Ping timeout: 252 seconds) |
12:24:04 | * | Guest54 joined #nim |
12:24:11 | Guest54 | hello |
12:26:50 | FromDiscord | <nnsee> hello |
12:44:59 | * | Guest54 quit (Quit: Client closed) |
13:26:31 | * | beholders_eye joined #nim |
14:31:47 | * | beholders_eye quit (Ping timeout: 252 seconds) |
14:45:58 | * | ntat joined #nim |
14:59:08 | * | beholders_eye joined #nim |
15:07:55 | * | nils` joined #nim |
15:13:36 | * | beholders_eye quit (Ping timeout: 252 seconds) |
15:40:31 | FromDiscord | <nervecenter> In reply to @heysokam "The problem with macros": For most libraries, architecting them with macros is like wiring a house with high voltage plasma arc transformers through gas tubes. Totally overengineer, inefficient, completely impossible to debug and fix without ripping it out entirely. |
15:40:41 | FromDiscord | <nervecenter> (edit) "overengineer," => "overengineered," |
15:41:30 | FromDiscord | <nervecenter> Macros can be great fun by try not to subject other people to your experiments by creating something useful with them. Make sure you're picking the right battles. |
15:41:52 | FromDiscord | <nervecenter> (edit) "fun by" => "fun, but" |
15:52:48 | * | skrybl joined #nim |
16:05:54 | FromDiscord | <blashyrk> In reply to @nervecenter "Macros can be great": This sentiment I agree with. As with everything, moderation is key. You could make the same argument about generics, exceptions etc etc as for macros. The key is in balancing between complexity and ergonomics |
16:10:13 | * | alexdaguy quit (Quit: ded) |
16:21:38 | * | skrybl quit (Quit: leaving) |
16:40:36 | * | skippy8 joined #nim |
17:05:25 | * | beholders_eye joined #nim |
17:26:56 | * | amadaluzia quit (Quit: ZNC 1.10.1 - https://znc.in) |
17:28:08 | * | amadaluzia joined #nim |
17:32:28 | * | beholders_eye quit (Ping timeout: 240 seconds) |
17:37:33 | * | amadaluzia_ joined #nim |
17:40:09 | * | amadaluzia quit (Ping timeout: 260 seconds) |
17:42:07 | * | amadaluzia joined #nim |
17:43:58 | * | amadaluzia_ quit (Ping timeout: 240 seconds) |
17:49:00 | * | amadaluzia quit (Ping timeout: 276 seconds) |
17:50:25 | * | amadaluzia joined #nim |
18:17:33 | FromDiscord | <Phil> Just get into the habit of documenting for every macro you write what the shape is you input and what the code looks like that you output and validating the input as well.↵That alone already saves a ton of hassle |
18:22:18 | FromDiscord | <leorize> macros doesn't compose well, so just be careful about that |
18:32:51 | FromDiscord | <haywiressc> does anyone know of a good library for webcam with nim? |
18:35:06 | FromDiscord | <haywiressc> ultimately I am trying to load webcam into textures with raylib |
18:37:24 | FromDiscord | <haywiressc> there are opencv bindings however they do not work and I think are out of date |
19:08:36 | FromDiscord | <tauruuuuuus> btw I've been "vibe coding", as the youngsters say, with pixie to render some unicode text and I gotta give to you @treeform, pretty incredible and easy to use stuff |
19:08:41 | FromDiscord | <tauruuuuuus> really appreciate it |
19:20:21 | FromDiscord | <treeform> In reply to @tauruuuuuus "btw I've been "vibe": Thanks! |
20:11:00 | * | ntat quit (Quit: Leaving) |
20:11:34 | FromDiscord | <nasuray> In reply to @leorize "macros doesn't compose well,": Can you elaborate on what you mean by this? |
20:15:39 | FromDiscord | <leorize> macros are processed outside-in (by default), so it is non-trivial for a macro in the input body to generate something to work with the outer |
20:49:17 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
21:29:22 | FromDiscord | <blashyrk> What does the compiler use for dynamic dispatch when the experimental vtables feature isn't used? |
21:29:49 | * | rockcavera joined #nim |
21:41:45 | FromDiscord | <nasuray> In reply to @leorize "macros are processed outside-in": Ah I see, makes sense, thanks! |
21:50:36 | FromDiscord | <griffith1deadly> In reply to @blashyrk "What does the compiler": `if`s |
21:51:37 | * | amadaluzia quit (Quit: ZNC 1.10.1 - https://znc.in) |
21:58:36 | * | beholders_eye joined #nim |
22:36:11 | FromDiscord | <aintea> what is the "Scanning..." thing on nimble ? |
23:07:18 | * | CypherCat joined #nim |
23:14:49 | FromDiscord | <heysokam> The `sat` solver, I'm _(blind)_ guessing 🤔 |
23:18:08 | FromDiscord | <alxhr0> When I do ``nimble add <dependency>`` how to later import it since for example ``import argparse`` doesn't work |
23:28:03 | FromDiscord | <alxhr0> Nevermind, nimsuggest just hanged lol |