| 00:11:06 | * | rockcavera joined #nim |
| 00:35:04 | * | oisota quit (Ping timeout: 256 seconds) |
| 00:35:22 | * | oisota joined #nim |
| 01:26:28 | * | rockcavera quit (Remote host closed the connection) |
| 01:49:25 | * | xet7 quit (Ping timeout: 272 seconds) |
| 02:00:56 | * | xet7 joined #nim |
| 03:42:07 | hys_404 | 4/ |
| 06:20:32 | * | mrinsane quit (Ping timeout: 244 seconds) |
| 09:08:02 | * | beholders_eye joined #nim |
| 10:38:40 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 10:44:55 | * | SchweinDeBurg joined #nim |
| 11:39:10 | * | xet7 quit (Remote host closed the connection) |
| 11:41:35 | * | beholders_eye quit (Ping timeout: 272 seconds) |
| 12:18:37 | FromDiscord | <python36_08342> sent a long message, see https://pasty.ee/rJhBLfRn |
| 12:43:38 | FromDiscord | <nocturn9x> Good questions |
| 12:43:41 | FromDiscord | <nocturn9x> hard to answer, though |
| 12:43:56 | FromDiscord | <nocturn9x> generally I'd say "it depends" to all 3 |
| 12:44:21 | FromDiscord | <nocturn9x> in this case I think forking and resubmitting is acceptable. If the library is catastrophically broken/abandoned, maybe it would warrant reusing that name for the updated fork |
| 12:44:37 | FromDiscord | <nocturn9x> depends on the nim contributors tbh |
| 12:44:45 | FromDiscord | <nocturn9x> I don't even remember if it's just araq who manages the nimble repo |
| 12:44:55 | FromDiscord | <nocturn9x> publishing to nimble really just boils down to making a PR to a github repo |
| 13:12:55 | FromDiscord | <nasuray> sent a long message, see https://pasty.ee/yLEZEpAT |
| 13:43:13 | FromDiscord | <python36_08342> In reply to @nasuray "I think I've written": many thanks |
| 14:18:35 | FromDiscord | <anuke> If I read some big file with `staticRead` and pass the result around, does that make a copy of the string every time? I assume it's internally pointing to some data region in the executable |
| 14:18:56 | FromDiscord | <anuke> (mm:arc) |
| 14:18:58 | FromDiscord | <nnsee> it doesn't |
| 14:19:26 | FromDiscord | <nnsee> (you can verify this with the `strings` command if you want) |
| 14:19:36 | FromDiscord | <anuke> How does that work? |
| 14:19:36 | FromDiscord | <nnsee> or, er, you mean in memory |
| 14:19:52 | FromDiscord | <nnsee> so disregard what i said about `strings`, but still no |
| 14:20:33 | FromDiscord | <anuke> Assuming I do not mutate the data, are there any cases where it would get copied that I should know about? |
| 14:27:00 | FromDiscord | <nnsee> you can only `staticRead` a const |
| 14:38:39 | FromDiscord | <anuke> I mean the resulting string |
| 14:47:24 | FromDiscord | <asviest> In reply to @anuke "If I read some": Made object with str field or maybe distinct that have `=copy` {.error.} |
| 14:48:13 | FromDiscord | <asviest> (edit) "or" => "(or" | "(ormaybe ... distinctstring)" added "even" | "maybeevendistinct ... that" added "string)" |
| 16:41:03 | * | mrinsane joined #nim |
| 17:57:36 | FromDiscord | <ieltan> In reply to @anuke "If I read some": nim strings internally have a flags to check if it's a "literal" which i assume is what the value returned by `staticRead` is if it's assigned to a const. in this case it will point to static memory and never allocate so theres no copy until you mutate it or assign the value to a `let/var`. |
| 18:00:26 | anddam | is there a package to store ciphered information, akin to keyring in python? |
| 18:00:47 | anddam | cyphered* |
| 18:00:57 | anddam | encripted* (pick the proper word) |
| 18:01:06 | anddam | encrypted* since I am at it |
| 18:09:27 | anddam | (Englishing is hard) |
| 18:10:20 | Amun-Ra | happens |