01:36:38 | * | LuckyMan joined #nim |
02:15:26 | * | LuckyMan quit (Quit: LuckyMan) |
02:52:50 | FromDiscord | <robinson8272> sent a long message, see https://pasty.ee/nwkYPjZL |
03:09:05 | * | oprypin quit (Server closed connection) |
03:09:14 | * | oprypin joined #nim |
03:36:42 | * | derpydoo joined #nim |
04:24:17 | * | bcksl quit (Ping timeout: 256 seconds) |
04:30:38 | * | bcksl joined #nim |
04:45:12 | FromDiscord | <odexine> Nim was designed with the assumption that you don’t forcibly namespace imports |
04:45:21 | FromDiscord | <odexine> Well, at least that’s the feeling I get from it |
04:46:57 | FromDiscord | <odexine> If your reason for namespacing your functions is for clarity, you don’t need to force it to do so; a regular `import a` still allows you to `a.somefunction()` |
04:55:27 | FromDiscord | <systemblue_whale> Why there's no flexible array in Nim↵I'm making POSIX Library and I'm getting problem with flexible array.↵Is there any way to solve it? |
04:55:37 | FromDiscord | <Elegantbeef> `seq[T]` |
04:56:00 | FromDiscord | <systemblue_whale> seq[T] is not flexible array ↵I can't use this for syscall |
04:56:09 | FromDiscord | <Elegantbeef> Oh you mean `UncheckedArray[T]` |
04:56:22 | FromDiscord | <systemblue_whale> UncheckedArray[T]... |
04:56:47 | FromDiscord | <Elegantbeef> ...Yes |
04:57:02 | FromDiscord | <systemblue_whale> Thanks |
06:04:30 | * | derpydoo quit (Quit: derpydoo) |
06:23:13 | FromDiscord | <albassort> sent a code paste, see https://play.nim-lang.org/#pasty=zmvjYDZI |
06:23:17 | FromDiscord | <albassort> what the SMTP library doing |
06:24:55 | FromDiscord | <albassort> smtp.nim brings a kind of EHLO the hostname of the SMTP server by default vibe to the smtp handshake which my email provider don't really like |
06:25:32 | FromDiscord | <albassort> (edit) "which" => "that" |
06:25:47 | FromDiscord | <albassort> "by default" s a polite way of saying "i dont see any way of changing this anywhere in the code" |
06:26:14 | * | skippy8 joined #nim |
06:26:42 | FromDiscord | <albassort> sent a code paste, see https://play.nim-lang.org/#pasty=iwaSgbBq |
06:27:52 | FromDiscord | <albassort> im sure someone has had this issue surely |
06:32:43 | FromDiscord | <albassort> once again i use the clibrary sadge |
06:37:24 | FromDiscord | <albassort> oh god i dont want to do this |
06:40:05 | FromDiscord | <nnsee> In reply to @albassort ""by default" s a": the smtp library needs fixing up, PRs very welcome |
06:40:35 | FromDiscord | <albassort> I will write a pr later but i want to get this working via libcurl first hehe |
06:56:16 | * | Avinash joined #nim |
07:11:22 | * | Avinash quit (Ping timeout: 256 seconds) |
07:14:06 | * | Avinash joined #nim |
07:43:57 | FromDiscord | <xtrayambak> In reply to @systemblue_whale "seq[T] is not flexible": what is a flexible array? |
07:44:24 | FromDiscord | <xtrayambak> do you mean one whose Nth element you can pass as a pointer to a function? |
07:44:38 | FromDiscord | <xtrayambak> if so, `x[n].addr` should work fine with `seq[T]` |
07:44:54 | FromDiscord | <xtrayambak> it'll return a `ptr T`, as expected |
07:44:59 | FromDiscord | <xtrayambak> (edit) "return" => "be" |
07:48:03 | * | rockcavera joined #nim |
08:38:08 | * | Avinash quit (Quit: Have a nice day!) |
08:44:57 | * | thunder joined #nim |
09:03:59 | FromDiscord | <tauruuuuuus> In reply to @nasuray "I can't reproduce this..": nimble flash, I went with a workaround but I don't know what to make of this to be honest lol |
10:04:38 | * | thunder quit (Remote host closed the connection) |
10:05:07 | * | thunder joined #nim |
10:10:17 | FromDiscord | <morgan (ping with reply)> i think i’m gonna try to use pixie to make a video creator thing like manim or swaptube |
10:33:49 | FromDiscord | <morgan (ping with reply)> i feel like i mostly understand the architecture it would need, and then just translating that to pixie calls |
11:26:00 | FromDiscord | <nasuray> In reply to @tauruuuuuus "nimble flash, I went": What nimble version? |
11:34:18 | FromDiscord | <tauruuuuuus> I was on v0.18.2 and actually it works ok on v0.20.1 |
11:34:26 | FromDiscord | <tauruuuuuus> So I guess it was a bug with v0.18 |
11:37:18 | * | thunder quit (Quit: Leaving) |
11:52:40 | FromDiscord | <kiloneie> Is there a list of filenames to NOT use ? Nim absolutely refused to work with 3 folders deep, "definition.nim" |
11:56:08 | FromDiscord | <Laylie> that's interesting, can you show some code that demonstrates this↵(@kiloneie) |
11:57:39 | FromDiscord | <kiloneie> I think the problem was, using relative path, that just became the same as the other module, and somehow using a different named file worked... |
11:57:52 | FromDiscord | <kiloneie> Sorry, can't show, i edited too many things, too fast |
12:27:20 | FromDiscord | <kiloneie> Is there a way to mark all fields of a construct like an object, that can have fields, as exported ? |
12:45:47 | FromDiscord | <nexon0537> I’m looking for a couple of reliable people (🇺🇸) to help with simple recurring tasks. It’s only 1–2 hours of work per week, fully flexible on your schedule, and pays $150+ per month, with the potential to increase to $300+ later. If you’re interested in easy side income with minimal time commitment, send me a message💬 and I’ll share more details.↵WhatsApp: +14134577802 |
12:50:23 | FromDiscord | <kiloneie> <@&371760044473319454> |
12:50:32 | FromDiscord | <kiloneie> Is there a way to do a non-new-scope opening construct like this labeled block, so i can separate into sections, and collapse them ? https://media.discordapp.net/attachments/371759389889003532/1418942404358312067/Screenshot_2025-09-20_14-48-28.png?ex=68cff497&is=68cea317&hm=9da71e56b0173c411883eecca6f1e0efb8e24d3966df3335ae349e42ee4e7660& |
13:23:24 | FromDiscord | <Laylie> write a macro?↵(@kiloneie) |
13:24:07 | FromDiscord | <Laylie> `when true`↵(@kiloneie) |
13:25:16 | FromDiscord | <kiloneie> I did have an idea for a doEcho(goes away on -d:release or how it's called)... |
13:27:53 | FromDiscord | <Laylie> sent a code paste, see https://play.nim-lang.org/#pasty=XJjyPoha |
13:32:02 | FromDiscord | <kiloneie> Don't templates open up new scopes ? |
13:33:13 | FromDiscord | <Laylie> yes in the sense that variables declared in the template are not visible from outside, but we aren't doing that here |
13:33:21 | FromDiscord | <Laylie> we're passing `body` through as-is |
13:33:40 | FromDiscord | <kiloneie> and if the body has a variable definition ? |
13:34:31 | FromDiscord | <Laylie> templates are just ast copy-paste |
13:34:45 | FromDiscord | <Laylie> it would be as if you had just written the body without using `section` |
13:34:51 | FromDiscord | <Laylie> try it and see |
13:35:55 | FromDiscord | <mitranim> sent a code paste, see https://play.nim-lang.org/#pasty=PSMuFTKO |
13:37:46 | FromDiscord | <Laylie> > yes in the sense that variables declared in the template are not visible from outside, but we aren't doing that here |
13:38:55 | FromDiscord | <Laylie> sent a code paste, see https://play.nim-lang.org/#pasty=LyvUVnvm |
13:45:19 | FromDiscord | <kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=sZQXVbnV |
13:46:51 | FromDiscord | <kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=LhVkYxif |
13:52:48 | FromDiscord | <Laylie> good point, the difference is where the identifier comes from, not where the variable is declared |
13:54:40 | FromDiscord | <kiloneie> Do you know how to do this ? I haven't played with templates in a long time... https://media.discordapp.net/attachments/371759389889003532/1418958542429491311/Screenshot_2025-09-20_15-54-07.png?ex=68d0039f&is=68ceb21f&hm=075ea04ec1064b123915b71293d5ed1d60159c8541f1aacdb33394dec36f12b5& |
13:55:30 | FromDiscord | <Laylie> i think you want astToStr(name) |
14:07:06 | FromDiscord | <kiloneie> `echo "Running: `section ", astToStr(name), ":` ", astToStr(body)` the output is really badly formatted, tried using sugar.dump and dumpToString, but they don't work... if this is too difficult, i don't really care, just interested... |
14:08:41 | FromDiscord | <kiloneie> Probably loop through the body, if that's possible... idk. |
14:29:54 | FromDiscord | <kiloneie> Why am i getting so much "errors", that don't exist! does the nimlangserver, require a restart here on there or ? It started after some stuff i put into a separate module/file and imported it. https://media.discordapp.net/attachments/371759389889003532/1418967408822976643/Screenshot_2025-09-20_16-28-49.png?ex=68d00be1&is=68ceba61&hm=129dbc10f4372bfd7a0f127d943cf4962c3662d654939c8bfff53097275c0433& |
14:47:01 | * | beholders_eye joined #nim |
15:09:02 | FromDiscord | <kiloneie> Would it run faster, if it didn't have to show me implicit definitions ? As in, i filled them in ? https://media.discordapp.net/attachments/371759389889003532/1418977258948919307/Screenshot_2025-09-20_17-08-23.png?ex=68d0150d&is=68cec38d&hm=ef9c031e6856790d979d36df11bcab0b4edd99bab5908271ddd357963f1e8164& |
15:33:58 | FromDiscord | <kiloneie> In reply to @kiloneie "Why am i getting": Errors disappeared on VSC restart(nimlangserver reset probably enough). |
15:52:00 | * | rockcavera quit (*.net *.split) |
15:52:00 | * | bcksl quit (*.net *.split) |
15:52:00 | * | xtr00 quit (*.net *.split) |
15:52:01 | * | fallback quit (*.net *.split) |
15:57:11 | * | rockcavera joined #nim |
15:57:11 | * | bcksl joined #nim |
15:57:11 | * | xtr00 joined #nim |
15:57:11 | * | fallback joined #nim |
16:22:27 | * | beholders_eye quit (Ping timeout: 256 seconds) |
16:26:19 | FromDiscord | <nervecenter> I'm in the process of open sourcing a gnuplot interface I made at my current employer. It's fairly simple and unopinionated. Happy to take comments, it's not yet a usable package and I need more time to bake it and pick a license.↵https://github.com/nervecenter/nimgnuplot |
16:27:19 | * | beholders_eye joined #nim |
17:08:45 | * | LuckyMan joined #nim |
17:27:05 | * | Ekho quit (Server closed connection) |
17:39:26 | * | Ekho joined #nim |
17:52:46 | FromDiscord | <lainlaylie> when in doubt, gpl it |
19:13:59 | * | bcksl quit (Ping timeout: 258 seconds) |
19:14:46 | * | xtr00 quit (Ping timeout: 258 seconds) |
19:15:09 | * | fallback quit (Ping timeout: 258 seconds) |
19:18:53 | * | xtr00 joined #nim |
19:20:42 | * | bcksl joined #nim |
19:35:31 | * | fallback joined #nim |
22:32:18 | * | przmk quit (Ping timeout: 260 seconds) |
22:40:15 | * | przmk joined #nim |
22:41:46 | * | przmk quit (Remote host closed the connection) |
22:48:10 | * | przmk joined #nim |
22:50:15 | * | LuckyMan quit (Quit: LuckyMan) |
23:06:52 | * | ftajhii joined #nim |
23:38:26 | FromDiscord | <konradmb> Hi, has anyone experienced heap corruption in ARC/ORC when using `-fno-delete-null-pointer-checks` GCC flag? I can't believe it's just me. |