<< 25-03-2026 >>

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:07hys_4044/
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:37FromDiscord<python36_08342> sent a long message, see https://pasty.ee/rJhBLfRn
12:43:38FromDiscord<nocturn9x> Good questions
12:43:41FromDiscord<nocturn9x> hard to answer, though
12:43:56FromDiscord<nocturn9x> generally I'd say "it depends" to all 3
12:44:21FromDiscord<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:37FromDiscord<nocturn9x> depends on the nim contributors tbh
12:44:45FromDiscord<nocturn9x> I don't even remember if it's just araq who manages the nimble repo
12:44:55FromDiscord<nocturn9x> publishing to nimble really just boils down to making a PR to a github repo
13:12:55FromDiscord<nasuray> sent a long message, see https://pasty.ee/yLEZEpAT
13:43:13FromDiscord<python36_08342> In reply to @nasuray "I think I've written": many thanks
14:18:35FromDiscord<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:56FromDiscord<anuke> (mm:arc)
14:18:58FromDiscord<nnsee> it doesn't
14:19:26FromDiscord<nnsee> (you can verify this with the `strings` command if you want)
14:19:36FromDiscord<anuke> How does that work?
14:19:36FromDiscord<nnsee> or, er, you mean in memory
14:19:52FromDiscord<nnsee> so disregard what i said about `strings`, but still no
14:20:33FromDiscord<anuke> Assuming I do not mutate the data, are there any cases where it would get copied that I should know about?
14:27:00FromDiscord<nnsee> you can only `staticRead` a const
14:38:39FromDiscord<anuke> I mean the resulting string
14:47:24FromDiscord<asviest> In reply to @anuke "If I read some": Made object with str field or maybe distinct that have `=copy` {.error.}
14:48:13FromDiscord<asviest> (edit) "or" => "(or" | "(ormaybe ... distinctstring)" added "even" | "maybeevendistinct ... that" added "string)"
16:41:03*mrinsane joined #nim
17:57:36FromDiscord<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:26anddamis there a package to store ciphered information, akin to keyring in python?
18:00:47anddamcyphered*
18:00:57anddamencripted* (pick the proper word)
18:01:06anddamencrypted* since I am at it
18:09:27anddam(Englishing is hard)
18:10:20Amun-Rahappens
18:39:04*om3ga quit (Ping timeout: 245 seconds)
19:10:14*om3ga joined #nim
19:22:15*beholders_eye joined #nim