| 02:41:21 | FromDiscord | <nwjodo> sent a long message, see https://discordapp.com/channels/371759389889003530/371759389889003532/1568817665915752458 |
| 02:51:39 | FromDiscord | <DetermiedNim1> <@&371760044473319454> |
| 02:53:00 | FromDiscord | <DetermiedNim1> free money right here |
| 03:44:08 | * | Guest38 joined #nim |
| 03:45:26 | * | Guest38 quit (Client Quit) |
| 03:47:57 | * | xutaxkamay quit (Read error: Connection reset by peer) |
| 03:52:05 | * | xutaxkamay joined #nim |
| 04:44:42 | * | SchweinD1 quit (Quit: WeeChat 4.8.0-dev) |
| 05:10:05 | * | SchweinDeBurg joined #nim |
| 05:11:34 | * | cws9 quit (Ping timeout: 260 seconds) |
| 05:15:55 | * | cws99 joined #nim |
| 07:04:12 | * | xet7_ quit (Quit: Leaving) |
| 07:04:50 | * | xet7 joined #nim |
| 07:18:57 | * | sdothum quit (Remote host closed the connection) |
| 07:21:13 | * | sdothum joined #nim |
| 08:05:46 | * | cws99 quit (Ping timeout: 274 seconds) |
| 09:03:14 | Amun-Ra | I'd go for free beer, but free money? meh |
| 09:04:22 | * | xtr00 joined #nim |
| 09:26:23 | FromDiscord | <pmunch> In reply to @Amun-Ra "I'd go for free": The trick is to buy the beer with the free money |
| 09:34:45 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 09:40:12 | * | KawaiiSelbst_ joined #nim |
| 10:24:57 | * | KawaiiSelbst_ quit (Quit: ZNC 1.10.3 - https://znc.in) |
| 10:27:10 | * | KawaiiSelbst joined #nim |
| 10:29:30 | FromDiscord | <b0rsuk> In reply to @gesee37 "look at the module": I ended up spelling all these values manually, but yes `toSeq` can convert things `@` cannot. |
| 10:32:32 | FromDiscord | <b0rsuk> The compiler is probably smart enough to turn `const toSeq({'0'..'9', 'X"})` into an array. |
| 10:32:49 | FromDiscord | <b0rsuk> (edit) "'X"})`" => "'X'})`" |
| 11:08:35 | * | KawaiiSelbst quit (Read error: Connection reset by peer) |
| 11:09:36 | * | KawaiiSelbst joined #nim |
| 11:28:21 | FromDiscord | <b0rsuk> It's interesting that sets don't support indexing but they appear to be ordered in some way. I mean `X` ends up being last in this case. I don't know how that works. |
| 13:29:26 | * | xtr00 quit (Read error: Connection reset by peer) |
| 13:29:32 | * | xtr00_ joined #nim |
| 14:08:30 | * | xutaxkamay quit (Ping timeout: 244 seconds) |
| 14:10:25 | * | xutaxkamay joined #nim |
| 14:15:45 | FromDiscord | <_timurski> In reply to @b0rsuk "It's interesting that sets": I mean you have to have some ordering in the end |
| 14:15:56 | FromDiscord | <_timurski> (edit) "In reply to @b0rsuk "It's interesting that sets": I mean you have to have some ordering in the end ... " added "at the end of the day" |
| 14:16:06 | FromDiscord | <_timurski> it being a set means there's no guarantees on that orfer |
| 14:16:15 | FromDiscord | <_timurski> In reply to @b0rsuk "The compiler is probably": which is why I think this solution is really quite bad |
| 14:16:29 | FromDiscord | <_timurski> to be honest I don't really get the point of many of these exercises you're doing |
| 14:16:50 | FromDiscord | <_timurski> or maybe just this one and something I've seen before |
| 14:17:12 | FromDiscord | <_timurski> small language features like this really aren't very important |
| 16:09:30 | FromDiscord | <b0rsuk> In reply to @_timurski "which is why I": I can change one line in the program to make it a const string and then there's a guarantee. |
| 16:11:48 | FromDiscord | <b0rsuk> You never know what you're going to learn in the next exercise. For instance I'm very used to Python's immutable strings, so working with mutable strings is a different skill set. There are some very simple algorithms worth knowing such as "reverse a string". `result = char + result`. The last time I've seen this was when programming Java years ago and I forgot about it. |
| 16:12:32 | FromDiscord | <b0rsuk> In the absolute worst case, learning programming takes the place that playing puzzle games filled for me. |
| 16:52:24 | * | acidsys quit (Ping timeout: 241 seconds) |
| 17:16:44 | * | acidsys joined #nim |
| 19:42:30 | Amun-Ra | there are so edge cases in nim pre 2.4.0 when you couldn't modify a string without prepareMutation call first |
| 19:44:13 | Amun-Ra | (var s = "foo"; s[0] = 'b') |
| 22:47:31 | * | xtr00_ quit (Read error: Connection reset by peer) |