| 00:37:37 | * | ftajhii quit (Ping timeout: 250 seconds) |
| 00:41:25 | * | beholders_eye quit (Ping timeout: 264 seconds) |
| 00:46:39 | * | ftajhii joined #nim |
| 01:07:00 | * | Mister_Magister quit (Quit: bye) |
| 01:49:39 | * | xet7 quit (Remote host closed the connection) |
| 02:13:35 | FromDiscord | <litlighilit> std/jsffi and pkg/nimpy use that |
| 02:36:49 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 02:37:56 | * | SchweinDeBurg joined #nim |
| 04:21:55 | * | CypherCat quit (Ping timeout: 264 seconds) |
| 04:32:05 | * | CypherCat joined #nim |
| 07:01:47 | * | rockcavera is now known as Guest712 |
| 07:01:47 | * | tiorock joined #nim |
| 07:01:47 | * | Guest712 quit (Killed (molybdenum.libera.chat (Nickname regained by services))) |
| 07:01:47 | * | tiorock is now known as rockcavera |
| 07:17:00 | FromDiscord | <crim4> In reply to @aethrvmn "1000000743.png": font? |
| 07:32:22 | FromDiscord | <Chebudumpling Temper> sent a code paste, see https://play.nim-lang.org/#pasty=vboeiVCO |
| 07:32:24 | FromDiscord | <Chebudumpling Temper> sent a code paste, see https://play.nim-lang.org/#pasty=NpjreRXJ |
| 07:34:14 | FromDiscord | <Chebudumpling Temper> (edit) "https://play.nim-lang.org/#pasty=fGxUSKkz" => "https://play.nim-lang.org/#pasty=yqpXepCf" |
| 07:57:08 | Amun-Ra | wl_resource_destroy is in libwayland-server.so |
| 07:57:08 | FromDiscord | <pmunch> In reply to @kawaiiselbst "Hi. Anyone with big": I've got some experience with it |
| 07:57:30 | Amun-Ra | (or -client, I don't remember) |
| 07:58:20 | FromDiscord | <pmunch> And yeah, as Amun-Ra points out, "undefined symbol reference" is an error from the C compiler most often caused by a missing linking or include |
| 08:02:39 | * | Mister_Magister joined #nim |
| 08:03:48 | FromDiscord | <aethrvmn> Maple Mono↵(@crim4) |
| 08:29:35 | FromDiscord | <Chebudumpling Temper> sent a code paste, see https://play.nim-lang.org/#pasty=baNSvXZm |
| 08:34:44 | FromDiscord | <Chebudumpling Temper> sent a code paste, see https://play.nim-lang.org/#pasty=lhpFgKHL |
| 08:35:06 | FromDiscord | <Chebudumpling Temper> (edit) "https://play.nim-lang.org/#pasty=TqrefNqI" => "https://play.nim-lang.org/#pasty=tGsqSNJt" |
| 08:37:44 | FromDiscord | <Chebudumpling Temper> sorry for Russian in output, its bacause my system local it Russian |
| 08:37:52 | FromDiscord | <Chebudumpling Temper> (edit) "sorry" => "Sorry" | "bacause" => "because" |
| 08:37:57 | FromDiscord | <Chebudumpling Temper> (edit) "it" => "is" |
| 08:38:06 | FromDiscord | <Chebudumpling Temper> (edit) "Sorry for Russian ... in" added "lang" |
| 08:45:18 | FromDiscord | <Chebudumpling Temper> OMG, I DO THAT |
| 09:38:15 | * | beholders_eye joined #nim |
| 09:43:21 | FromDiscord | <pmunch> Ah, `include` only tells C where to find definitions, but then you need to tell the linker where to find the implementations |
| 10:51:33 | * | przmk quit (Remote host closed the connection) |
| 10:52:06 | * | przmk joined #nim |
| 11:18:18 | * | void09 quit (Read error: Connection reset by peer) |
| 11:19:50 | * | void09 joined #nim |
| 11:55:19 | * | vsantana joined #nim |
| 13:56:43 | * | przmk quit (Remote host closed the connection) |
| 13:57:05 | * | przmk joined #nim |
| 15:57:08 | FromDiscord | <mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=Emrotqfy |
| 16:04:56 | FromDiscord | <lainlaylie> if you explicitly call pairs on it it says `id` is undefined |
| 16:05:17 | FromDiscord | <lainlaylie> as for why it shows that useless error message... dunno |
| 16:14:17 | FromDiscord | <mjsdev> errr last character got cut |
| 16:14:19 | FromDiscord | <mjsdev> should be idx |
| 16:14:36 | FromDiscord | <mjsdev> I'm wondering moreso why you need to explicitly call pairs... |
| 16:15:22 | FromDiscord | <mjsdev> like it infers that it's a slice in one context and believes it an int in another? |
| 16:56:16 | FromDiscord | <lainlaylie> nim has a behavior in some cases where templates (to which inline iterators are similar) that don't compile get ignored and you get a seemingly unrelated error message |
| 16:58:01 | FromDiscord | <lainlaylie> the compiler infers a for loop with two variable to be a call to pairs, while a for loop with one variable is a call to items |
| 16:58:16 | FromDiscord | <lainlaylie> what youre seeing there might be some strange interaction of the above |
| 18:15:13 | FromDiscord | <mjsdev> Yeah, I'm not understanding why it wouldn't compile. I assumed when it sees `idx, val` it's going to look for `pairs()` iterator for whatever is on the right, for which it would need a type. So it just seems like the type of `0..10` is being inferred differently depending on context which is strange. |
| 18:33:44 | * | beholders_eye quit (Quit: WeeChat 4.7.2) |
| 18:58:09 | * | Jjp137 quit (Ping timeout: 260 seconds) |
| 19:05:54 | FromDiscord | <lainlaylie> your example compiles and runs just fine for me after i fix the `idx` typo |
| 19:14:15 | * | Jjp137 joined #nim |
| 19:42:49 | FromDiscord | <mjsdev> What version? |
| 19:51:56 | FromDiscord | <lainlaylie> er, devel |
| 20:00:57 | FromDiscord | <lainlaylie> i lied, it doesnt |
| 20:04:04 | FromDiscord | <lainlaylie> maybe iteratoring over slices is a magic or something, idk... anyway `enumerate` works |
| 21:00:01 | * | vsantana quit (Ping timeout: 264 seconds) |
| 21:05:47 | * | natrys joined #nim |
| 21:19:34 | FromDiscord | <litlighilit> it can be called a bug IMO |
| 21:39:50 | * | beholders_eye joined #nim |
| 22:50:56 | FromDiscord | <rustelle> How is nim good for Cybersecurity instead of python? |
| 22:53:01 | FromDiscord | <gee.wzz> NPEG is so beautiful |
| 22:54:07 | FromDiscord | <gee.wzz> In reply to @rustelle "How is nim good": depends on the task, but it compiles to C and C++, gives you extremely low level control you wouldnt have with python, deploys to a single exe, and is cross platform |
| 22:54:21 | FromDiscord | <gee.wzz> (edit) "exe," => "binary," |
| 22:55:47 | FromDiscord | <gee.wzz> In reply to @gee.wzz "depends on the task,": so low level, you can customize the memory management, and even view the AST of the language programmatically |
| 23:16:25 | * | beholders_eye quit (Quit: WeeChat 4.7.2) |
| 23:21:12 | FromDiscord | <.aizon> What are good UI libraries that support nim? |
| 23:29:57 | FromDiscord | <rustelle> What about V lang ? |
| 23:48:20 | * | thunder joined #nim |