| 00:49:41 | * | sdothum quit (Remote host closed the connection) |
| 00:52:18 | * | sdothum joined #nim |
| 00:56:44 | * | sdothum quit (Remote host closed the connection) |
| 00:59:10 | * | sdothum joined #nim |
| 01:33:15 | FromDiscord | <Emmanuel M. Smith 🔸> I thought they meant as parameter seperators |
| 07:02:32 | FromDiscord | <zkopt_> In reply to @b0rsuk "Is there a Nim": I can't understand why people want to use braces and semicolons↵↵nim can use semicolon in default sitatuion for writing multiple function call in one line |
| 07:02:34 | FromDiscord | <zkopt_> like this |
| 07:03:06 | FromDiscord | <zkopt_> sent a code paste, see https://paste.rs/796JP |
| 07:03:20 | FromDiscord | <zkopt_> it's option in nim to use semicolon in end of line |
| 07:05:28 | FromDiscord | <zkopt_> In reply to @b0rsuk "": wtf... |
| 07:05:44 | FromDiscord | <zkopt_> In reply to @b0rsuk "": very funny rabbit meme |
| 07:25:03 | * | deavmi quit (Ping timeout: 260 seconds) |
| 07:38:23 | * | deavmi joined #nim |
| 07:52:29 | FromDiscord | <zkopt_> https://github.com/zkopt-dev/nim_cryptkit/tree/main/src/nim_cryptkit↵↵the cryptography library launched!! |
| 12:35:05 | * | sdothum quit (Remote host closed the connection) |
| 12:37:21 | * | sdothum joined #nim |
| 13:30:36 | FromDiscord | <pmunch> Trying to build a module system for a program I'm writing. Have a procedure that returns an object, which works fine. But if I try to add a `seq[string]` as a field to that object the program segfaults on return from the procedure even if it isn't set to anything. |
| 13:32:56 | FromDiscord | <pmunch> GDB points to `disarm` in the systems module |
| 13:33:54 | FromDiscord | <pmunch> Just having a string in there does the same thing. |
| 13:34:04 | FromDiscord | <pmunch> Just returning a string from a procedure in a module works fine |
| 13:38:24 | FromDiscord | <pmunch> Seems to be every type that involves the garbage collector |
| 13:40:07 | FromDiscord | <pmunch> Or maybe not.. I added a bunch of integers and get the same thing |
| 13:40:50 | FromDiscord | <pmunch> I'm starting to think it might be that it's because my object gets upgraded from being passed by value to being passed by pointer |
| 14:05:58 | FromDiscord | <pmunch> That did indeed seem to solve it |
| 14:06:28 | FromDiscord | <pmunch> Changing to explicitly return a pointer and then using `alloc0` and `dealloc` on either end of the module barrier |
| 14:07:33 | FromDiscord | <pmunch> Now the big question, what happens to a `seq[string]` in a `ptr` object? |
| 14:15:59 | FromDiscord | <pmunch> What also seems to work is to change the procedure to use a `var` argument and just populate that |
| 14:16:29 | FromDiscord | <pmunch> No idea what happens to GCed memory in that case though.. |
| 15:34:28 | * | beholders_eye joined #nim |
| 15:41:26 | FromDiscord | <mr_rowboto> In reply to @pmunch "Now the big question,": AFAIK GC can't follow ptr? |
| 15:41:53 | FromDiscord | <mr_rowboto> shoul be leaked I think |
| 15:41:55 | FromDiscord | <mr_rowboto> (edit) "shoul" => "should" |
| 15:44:01 | FromDiscord | <mr_rowboto> unless ofc you manually inc and dec? |
| 16:29:41 | * | beholders_eye quit (Ping timeout: 264 seconds) |
| 16:31:40 | * | beholders_eye joined #nim |
| 16:51:11 | FromDiscord | <pmunch> Yeah I was planning on manually inc and dec-ing, but wondered if putting it in the object would count as a ref or not 🤔 |
| 17:23:01 | * | KawaiiSelbst joined #nim |
| 17:48:46 | * | beholders_eye quit (Quit: WeeChat 4.9.5) |
| 17:51:01 | * | sdothum quit (Remote host closed the connection) |
| 17:53:11 | * | sdothum joined #nim |
| 18:11:58 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 18:15:19 | * | KawaiiSelbst joined #nim |
| 18:41:43 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 18:42:30 | * | KawaiiSelbst joined #nim |
| 18:43:51 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 18:44:09 | * | KawaiiSelbst joined #nim |
| 18:45:07 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 18:45:23 | * | KawaiiSelbst joined #nim |
| 18:46:39 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 18:46:56 | * | KawaiiSelbst joined #nim |
| 19:21:11 | * | KawaiiSelbst quit (Read error: Connection reset by peer) |
| 19:21:51 | * | KawaiiSelbst joined #nim |
| 19:23:41 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 19:23:58 | * | KawaiiSelbst joined #nim |
| 19:38:17 | * | insanescholar_ joined #nim |
| 19:45:59 | FromDiscord | <Abdulrahman> im developing a system for a dev community that opens a webserver, tor, i2p, irc and in the future rss and matrix in a single file with a logging system using nim |
| 19:46:04 | FromDiscord | <Abdulrahman> has been great so far |
| 19:46:16 | FromDiscord | <Abdulrahman> (edit) "system" => "backend" |
| 19:46:42 | FromDiscord | <Abdulrahman> (edit) "in" => "with" | "witha single ... filecloses" added "file, closing the" | "a singlefile, closing thefile ... withnim." added "closes everything," | "nim" => "nim." |
| 19:47:19 | FromDiscord | <Abdulrahman> i2p and tor forwards the web server's html.index |
| 19:47:24 | FromDiscord | <Abdulrahman> (edit) "html.index" => "index.html" |
| 20:34:25 | * | insanescholar_ quit (Ping timeout: 246 seconds) |
| 20:34:42 | * | insanescholar_ joined #nim |
| 20:37:40 | * | KawaiiSelbst_ joined #nim |
| 20:39:39 | * | KawaiiSelbst quit (Ping timeout: 243 seconds) |
| 20:47:42 | * | insanescholar_ quit (Ping timeout: 244 seconds) |
| 20:56:31 | * | insanescholar_ joined #nim |
| 21:22:24 | * | KawaiiSelbst_ quit (Read error: Connection reset by peer) |
| 21:22:49 | * | KawaiiSelbst joined #nim |