| 00:01:27 | * | rockcavera quit (Ping timeout: 265 seconds) |
| 00:02:32 | * | rockcavera joined #nim |
| 00:02:33 | * | rockcavera quit (Changing host) |
| 00:02:33 | * | rockcavera joined #nim |
| 00:15:37 | * | amadaluzia quit (Remote host closed the connection) |
| 00:18:48 | * | amadaluzia joined #nim |
| 02:04:25 | * | kick455 joined #nim |
| 02:07:49 | * | oculux quit (Ping timeout: 245 seconds) |
| 02:52:51 | * | joast quit (Quit: Leaving.) |
| 03:22:20 | * | oculux joined #nim |
| 03:24:22 | * | kick455 quit (Ping timeout: 256 seconds) |
| 04:01:24 | * | joast joined #nim |
| 04:17:18 | * | rockcavera quit (Remote host closed the connection) |
| 04:42:57 | * | rockcavera joined #nim |
| 06:20:37 | * | acidsys quit (Ping timeout: 244 seconds) |
| 06:23:53 | * | acidsys joined #nim |
| 06:43:16 | FromDiscord | <b0rsuk> I call Nim way "sloppy case". |
| 06:44:06 | * | kick455 joined #nim |
| 06:47:46 | * | oculux quit (Ping timeout: 256 seconds) |
| 06:57:48 | FromDiscord | <[Next-System] systemblue> In reply to @b0rsuk "I call Nim way": ... |
| 07:01:38 | * | tiorock joined #nim |
| 07:01:38 | * | tiorock quit (Changing host) |
| 07:01:38 | * | tiorock joined #nim |
| 07:01:38 | * | rockcavera quit (Killed (molybdenum.libera.chat (Nickname regained by services))) |
| 07:01:38 | * | tiorock is now known as rockcavera |
| 07:01:53 | FromDiscord | <[Next-System] systemblue> Nim should make library which can be exported |
| 07:02:46 | FromDiscord | <[Next-System] systemblue> no domestic purpose libraries(libraries only for nim ecosystem) can't survive becasue nim's community and ecosystem is small now↵↵we need to be export language |
| 07:03:04 | FromDiscord | <[Next-System] systemblue> and that's nim's great advantage ↵↵easy export FFI |
| 07:33:10 | * | oculux joined #nim |
| 07:33:36 | * | kick455 quit (Ping timeout: 252 seconds) |
| 07:55:52 | FromDiscord | <rakgew> I find the combination of snake\_case and Ada\_Case particularly readable.↵(@_timurski) |
| 07:56:04 | FromDiscord | <_timurski> In reply to @rakgew "I find the combination": ada case is very readable yes |
| 07:56:13 | FromDiscord | <_timurski> i just personally find it too ugly 😭 |
| 07:56:20 | FromDiscord | <_timurski> but perhaps i will grow to it |
| 07:56:29 | FromDiscord | <_timurski> (edit) "grow" => "warm up" |
| 07:57:16 | FromDiscord | <alipolo17777> is `slice = arr[0..2]` a view into arr (meaning by changing slice values you also change arr values) or its a totally new object like python? |
| 08:02:48 | FromDiscord | <_timurski> In reply to @alipolo17777 "is `slice = arr[0..2]`": it's a [standard library function](https://nim-lang.org/docs/system.html#%5B%5D%2Carray%5BIdx%2CT%5D%2CHSlice%5BU%3A%20Ordinal%2CV%3A%20Ordinal%5D) and you can see it returns a new object |
| 08:06:00 | FromDiscord | <alipolo17777> In reply to @_timurski "it's a [standard library": does nim has a concept of a pointer with len (like Go's slices) that lets you take a function argument that accepts both an array or dynamic array? |
| 08:06:21 | FromDiscord | <_timurski> In reply to @alipolo17777 "does nim has a": openArray |
| 08:06:33 | FromDiscord | <_timurski> I suggest reading the Nim Manual |
| 08:06:45 | FromDiscord | <_timurski> + the page on destructors and move semantics |
| 08:07:01 | FromDiscord | <_timurski> and some of the examples, and referencing the docs |
| 08:07:29 | FromDiscord | <alipolo17777> is there any way to make an slice of an static array that returns an openArray ? |
| 08:07:41 | FromDiscord | <alipolo17777> so you have a view into array instead of a new object? |
| 08:13:26 | FromDiscord | <_timurski> sent a code paste, see https://play.nim-lang.org/#pasty=UQMhMhLm |
| 08:13:35 | FromDiscord | <_timurski> https://nim-lang.org/docs/system.html#toOpenArray,array[I,T],I,I |
| 08:13:50 | FromDiscord | <_timurski> (edit) "https://play.nim-lang.org/#pasty=WFCgPjGj" => "https://play.nim-lang.org/#pasty=szezNRWl" |
| 08:14:51 | FromDiscord | <_timurski> (edit) "https://play.nim-lang.org/#pasty=YWbGXMVj" => "https://play.nim-lang.org/#pasty=uxsfVbbb" |
| 09:07:01 | * | Skippy8 joined #nim |
| 09:30:15 | * | Skippy8 quit (Ping timeout: 255 seconds) |
| 09:48:35 | FromDiscord | <TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=PfEyHgTz |
| 09:48:38 | FromDiscord | <TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=kSwhlBJq" => "https://play.nim-lang.org/#pasty=ebVMEzGt" |
| 09:50:31 | FromDiscord | <TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=xdiwrnRR" => "https://play.nim-lang.org/#pasty=sSMBnlWC" |
| 10:13:41 | * | Skippy8 joined #nim |
| 10:18:09 | * | Skippy8 quit (Ping timeout: 265 seconds) |
| 10:24:26 | * | Skippy8 joined #nim |
| 10:52:10 | * | Skippy8 quit (Ping timeout: 276 seconds) |
| 10:58:36 | * | Skippy8 joined #nim |
| 11:12:00 | FromDiscord | <griffith1deadly> In reply to @toma400 "Can you make pragma": you can check instantiation info |
| 11:12:42 | FromDiscord | <griffith1deadly> https://github.com/nim-lang/Nim/issues/11689 |
| 11:26:45 | * | pmp-p quit (Ping timeout: 272 seconds) |
| 11:31:36 | * | pmp-p joined #nim |
| 11:39:35 | * | pmp-p quit (Ping timeout: 252 seconds) |
| 11:44:32 | * | xet7 quit (Remote host closed the connection) |
| 11:45:36 | * | xet7 joined #nim |
| 11:53:25 | * | pmp-p joined #nim |
| 13:26:42 | * | oculux quit (Ping timeout: 248 seconds) |
| 13:48:45 | * | Skippy8 quit (Read error: Connection reset by peer) |
| 13:59:21 | * | Skippy8 joined #nim |
| 15:26:17 | * | cornfeedhobo quit (Quit: Goodbye) |
| 15:26:50 | * | Skippy8 quit (Ping timeout: 245 seconds) |
| 15:38:30 | * | Skippy8 joined #nim |
| 15:56:57 | * | adigitoleo quit (Ping timeout: 242 seconds) |
| 15:59:41 | * | adigitoleo joined #nim |
| 15:59:52 | * | Skippy8 quit (Ping timeout: 265 seconds) |
| 16:00:30 | FromDiscord | <Robyn [She/Her]> In reply to @griffith1deadly "you can check instantiation": Could also make a macro too |
| 16:02:10 | * | cornfeedhobo joined #nim |
| 16:06:09 | FromDiscord | <Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=coRyFpUx |
| 16:06:13 | FromDiscord | <Robyn [She/Her]> This is crude and unfinished |
| 16:06:57 | FromDiscord | <Robyn [She/Her]> It definitely needs tweaking but you can see the vague concept |
| 16:08:01 | * | Skippy8 joined #nim |
| 16:23:14 | * | Skippy8 quit (Ping timeout: 248 seconds) |
| 16:25:34 | * | Skippy8 joined #nim |
| 16:35:11 | * | Skippy8 quit (Ping timeout: 272 seconds) |
| 16:40:42 | * | Skippy8 joined #nim |
| 18:06:53 | * | tiorock joined #nim |
| 18:06:54 | * | tiorock quit (Changing host) |
| 18:06:54 | * | tiorock joined #nim |
| 18:06:54 | * | rockcavera is now known as Guest6515 |
| 18:06:54 | * | tiorock is now known as rockcavera |
| 18:09:51 | * | Guest6515 quit (Ping timeout: 246 seconds) |
| 18:49:28 | * | ephapticpulse joined #nim |
| 19:17:21 | FromDiscord | <TӨMΛ ☠> Yup, thank you so much 🙂↕️ |
| 19:32:51 | FromDiscord | <_timurski> In reply to @bluewhale_unkown_x "no domestic purpose libraries(libraries": you can pursue this if you want to, but i'm pretty sure most people here don't use Nim primarily because it's a good "export language", and there is much more about the language that we like |
| 19:46:25 | * | Skippy8 quit (Ping timeout: 245 seconds) |
| 19:47:18 | * | Skippy8 joined #nim |
| 20:17:41 | FromDiscord | <DetermiedNim1> sent a code paste, see https://play.nim-lang.org/#pasty=bkOcknsj |
| 20:17:54 | FromDiscord | <DetermiedNim1> (edit) "https://play.nim-lang.org/#pasty=uSwsTZew" => "https://play.nim-lang.org/#pasty=mwpolWsQ" |
| 20:18:10 | FromDiscord | <DetermiedNim1> why is c not g at the second echo? |
| 20:19:09 | FromDiscord | <DetermiedNim1> my guess is that it gets converted into a copy because s is used after first(s) is run |
| 20:20:14 | FromDiscord | <amun0666> Because `first` is only called once. |
| 20:20:33 | FromDiscord | <amun0666> And the value of `c` is assigned only once. |
| 20:41:38 | * | ephapticpulse quit (Remote host closed the connection) |
| 20:50:59 | FromDiscord | <_timurski> sent a code paste, see https://play.nim-lang.org/#pasty=pzxxzVMn |
| 20:52:29 | FromDiscord | <etadiguu> sent a long message, see https://pasty.ee/PqKXhXkd |
| 20:52:52 | FromDiscord | <amun0666> @admins ? |
| 20:53:36 | FromDiscord | <amun0666> And `char` is just an ordinal type, not a reference of any kind. |
| 20:53:52 | FromDiscord | <_timurski> In reply to @amun0666 "And `char` is just": they're asking this because they have `lent char` |
| 20:54:31 | FromDiscord | <amun0666> Mhm. I've noticed that just a second before. |
| 20:54:40 | FromDiscord | <_timurski> yeah that's why i deleted my original response haha |
| 20:54:47 | FromDiscord | <amun0666> 🙂 |
| 21:02:54 | FromDiscord | <_timurski> sent a code paste, see https://play.nim-lang.org/#pasty=DamfSpFT |
| 21:03:28 | FromDiscord | <_timurski> imagine if this wasn't the case with `var`. then you would be able to easily create a dangling reference like you could with a pointer |
| 21:03:55 | FromDiscord | <_timurski> this is irrelevant of mutability, and so you could do the same with `lent`, which would me memory-unsafe |
| 21:06:43 | FromDiscord | <_timurski> I think it was done this way to the avoid C++ issue of dangling references, though if you need this behavior, just use a pointer |
| 21:13:58 | FromDiscord | <DetermiedNim1> yeah i was just messing with stuff |
| 21:14:36 | FromDiscord | <DetermiedNim1> so the point of lent is just "you should move this" |
| 21:20:49 | FromDiscord | <amun0666> Yes. |
| 22:14:42 | * | Skippy8 quit (Ping timeout: 248 seconds) |
| 22:28:45 | * | xet7 quit (Remote host closed the connection) |
| 23:39:54 | * | derpydoo joined #nim |