| 00:03:19 | FromDiscord | <nasuray> Another hosted option is substack |
| 01:01:23 | * | hygo_ joined #nim |
| 01:03:23 | * | hygo quit (Ping timeout: 256 seconds) |
| 01:03:23 | * | Ekho quit (Ping timeout: 256 seconds) |
| 01:04:42 | * | Ekho joined #nim |
| 01:06:39 | * | yeti quit (Ping timeout: 252 seconds) |
| 01:18:31 | * | yeti joined #nim |
| 01:38:58 | FromDiscord | <Jack S.> There is also [Cactus Comments](https://cactus.chat/), which is powered by Matrix.↵(@mitranim) |
| 02:04:38 | FromDiscord | <kapendev> I just post on dev.to and that's it. |
| 03:12:29 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 03:13:20 | * | SchweinDeBurg joined #nim |
| 03:42:39 | * | tokyovigilante joined #nim |
| 03:44:55 | tokyovigilante | If I have a bunch of C dependencies wrapped, am I better doing "passL:-l<lib>" in the individual wrapper .nim file, or nim.cfg? Finding it unwieldy to have them in nim.cfg when building single files, often on machines where not all the libs are installed/available, and just wondering if there's a downside to having them passed to the linker just where they're wrapped |
| 05:26:25 | * | _th3r00t quit (Ping timeout: 264 seconds) |
| 05:37:54 | * | th3r00t joined #nim |
| 05:43:11 | * | th3r00t quit (Ping timeout: 244 seconds) |
| 06:05:43 | * | th3r00t joined #nim |
| 06:24:01 | * | rockcavera quit (Remote host closed the connection) |
| 06:26:46 | FromDiscord | <nnsee> In reply to @systemblue2010 "WordPress, Feather, Medium, Wix?": all of these are bad choices for a technical audience (and for your own sanity). medium is the least bad, but it's still pretty bad.↵↵instead, yeah, use a static site generator and host it on something like github pages. I personally use hugo after having used jekyll for years, but the bigger flex would be to write your own SSG (for example in Nim, if your blog is about N |
| 06:26:50 | FromDiscord | <nnsee> it's easier than you'd think |
| 06:26:53 | FromDiscord | <nnsee> or so i've heard |
| 06:28:46 | * | th3r00t quit (Ping timeout: 246 seconds) |
| 06:29:54 | * | th3r00t joined #nim |
| 06:42:55 | FromDiscord | <ayex> if the main goal is to write about nim, why not using an existing ssg? |
| 06:45:03 | * | yeti quit (Ping timeout: 256 seconds) |
| 06:45:03 | * | _th3r00t joined #nim |
| 06:45:14 | * | feinfinger joined #nim |
| 06:45:15 | * | th3r00t quit (Ping timeout: 256 seconds) |
| 06:45:15 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 06:45:35 | * | SchweinDeBurg joined #nim |
| 06:46:15 | FromDiscord | <nnsee> that's fine as an option |
| 06:46:19 | FromDiscord | <nnsee> which is why i said "flex" |
| 06:56:46 | * | syl_ joined #nim |
| 06:57:21 | * | syl quit (Ping timeout: 246 seconds) |
| 07:00:24 | FromDiscord | <systemblue2010> but I want to promote Nim to common developers↵so accessibility is important |
| 07:00:53 | FromDiscord | <systemblue2010> who would see github pages to read blog |
| 07:02:52 | FromDiscord | <Robyn [She/Her]> In reply to @systemblue2010 "who would see github": many people? Hook it up to your domain, and crosspost the blog page to a few sites |
| 07:04:32 | FromDiscord | <kapendev> You will probably get most of your views from sharing you blog on X, Reddit, Discord, ... |
| 07:08:13 | FromDiscord | <Robyn [She/Her]> or by blowing up on hacker news :D |
| 07:13:10 | FromDiscord | <systemblue2010> I want blog site that developer can easily access and read |
| 07:14:01 | FromDiscord | <systemblue2010> I know the best way to get views is posting on reddit↵but reddit is just talking not blog |
| 07:14:58 | FromDiscord | <kiloneie> dev.to seems like your fit... idk. Maybe a github discussion thread, you can have a forum there. |
| 07:15:35 | FromDiscord | <kiloneie> If you want people to follow you daily and such, github with a forum, wher you can properly link things, may be the best solution |
| 07:15:46 | FromDiscord | <nnsee> sent a long message, see https://pasty.ee/JmTrcmyi |
| 07:15:47 | FromDiscord | <kiloneie> And then you can have some githubpage as well |
| 07:16:13 | FromDiscord | <nnsee> i don't have any numbers to back my claims up, so take them with a grain of salt |
| 07:16:49 | FromDiscord | <nnsee> but i've spent a very long time on the internet and HN reading articles, and host my own little blog that has blown up on HN once or twice |
| 07:17:17 | FromDiscord | <kiloneie> I find hacker news, really hard to read <.<. |
| 07:17:32 | FromDiscord | <nnsee> wdym? it's literally just a list of posts |
| 07:17:36 | FromDiscord | <nnsee> coulnd't get any simpler |
| 07:18:18 | FromDiscord | <kiloneie> Yeh, the simplicity of things, is making my eyes hurt, let's say, too condensed ? I would of hoped for some improvements. |
| 07:18:29 | FromDiscord | <kiloneie> Might be just me... |
| 07:18:34 | FromDiscord | <systemblue2010> you mean ↵developer who don't know Nim will never click the Nim Guide or Nim tutorial ↵but developer who are interested in Nim or minor compilers will click it? |
| 07:19:26 | FromDiscord | <kiloneie> I will say from the perspective of my Nim Videos, if they were only hosted by me and shared on Nim's forum/website, NOBODY else would see them. But YouTube allows for non-Nim viewers to come. |
| 07:19:26 | FromDiscord | <nnsee> In reply to @systemblue2010 "you mean developer": it depends on the article, but unless the topic is something novel or otherwise interesting, yeah |
| 07:20:00 | FromDiscord | <kiloneie> Catchy title, with a good follow up and or graphics and such, and you got someone to stay for a minute, that doesn't already know Nim. |
| 07:20:25 | FromDiscord | <nnsee> i think the user flow economics are wildly different on youtube than on any cms/blogging platforms |
| 07:20:40 | FromDiscord | <kiloneie> Yeh, but there is substance to what i am saying. |
| 07:20:54 | FromDiscord | <nnsee> starting from the fact that youtube by default automatically plays a related video next ending with how the algorithm works |
| 07:21:02 | FromDiscord | <kiloneie> You get discoverability on public websites. |
| 07:21:03 | FromDiscord | <nnsee> maybe |
| 07:21:22 | FromDiscord | <nnsee> and my opinions for sure are biased |
| 07:21:27 | FromDiscord | <nnsee> but they're just that, opinions |
| 07:21:34 | FromDiscord | <nnsee> personally, i cannot stand medium. i actively avoid medium articles |
| 07:21:36 | FromDiscord | <kiloneie> I'd say, write down your options, chain of thought their pros and cons, and decide. Take your time. |
| 07:22:04 | FromDiscord | <kiloneie> Never rush into big decisions, it only leads to chaos. |
| 07:22:30 | FromDiscord | <kiloneie> Unless you were somehow born under the luckiest of stars. |
| 07:22:37 | FromDiscord | <kiloneie> I wasn't. |
| 07:23:50 | FromDiscord | <nnsee> In reply to @kiloneie "I will say from": also, re: i think the parallel is a bit misleading since you don't really have a choice. hosting videos anywhere else but youtube is, while _technically possible_, incredibly unreasonable, which is absolutely not the case for blog content |
| 07:24:34 | FromDiscord | <kiloneie> In reply to @nnsee "also, re: i think": Yeh... there is PeerTube... but it's not really taking off yet. I wish for decentralization like that. |
| 07:24:39 | FromDiscord | <kiloneie> I cannot host though... |
| 07:25:09 | FromDiscord | <kiloneie> Vimeo got me like 10 views... Google has too many monopolies. |
| 07:25:12 | FromDiscord | <kiloneie> It's absurd. |
| 07:28:18 | * | feinfinger is now known as yeti |
| 07:32:02 | FromDiscord | <systemblue2010> In reply to @nnsee "also, re: i think": hey are you moderator?↵did you join developing Nim compiler? |
| 07:43:43 | * | tokyovigilante quit (Remote host closed the connection) |
| 07:44:35 | * | tokyovigilante joined #nim |
| 07:59:44 | FromDiscord | <nnsee> I'm a community moderator |
| 08:00:04 | FromDiscord | <nnsee> I don't work on the compiler, I leave that to smarter people than me :) |
| 08:02:48 | FromDiscord | <kiloneie> `if (line[index].startsWith(" ")) and (line[index].contains("import")):` Are both statements checked at ALL times, or is the second only checked, marked by the `and`, if the first one is true ?↵↵Because if both are checked always, i will nest the other one instead. |
| 08:03:36 | FromDiscord | <nnsee> the second one isn't checked if the first evaluates to false |
| 08:03:40 | FromDiscord | <nnsee> this is called short circuiting |
| 08:04:05 | FromDiscord | <nnsee> https://en.wikipedia.org/wiki/Short-circuit_evaluation?useskin=vector |
| 08:04:10 | FromDiscord | <kiloneie> Ah, good then. |
| 08:07:44 | Amun-Ra | if the evaluation of the first expression is going to be final (no following evaluation is going to change the result), the evaluation stops |
| 08:08:20 | FromDiscord | <nevillegg> In reply to @nnsee "I'm a community moderator": White nametag is extremely hard to know which is a mod and which is a user |
| 08:08:36 | FromDiscord | <kiloneie> In reply to @Amun-Ra "if the evaluation of": This chains i presume ? |
| 08:08:42 | FromDiscord | <kiloneie> this and this and this and |
| 08:09:43 | Amun-Ra | kiloneie: yes, and "this or this or this" |
| 08:10:09 | FromDiscord | <nnsee> In reply to @nevillegg "White nametag is extremely": I don't think that's a distinction that needs to be made obvious at all times. I'm just a regular guy like everyone else here most of the time, unless some moderative action needs to be taken (which is pretty rarely) |
| 08:10:18 | Amun-Ra | in "t1 or t2 or t3" if t1 is true, the result is true no matter what t2 and t3 is |
| 08:10:57 | FromDiscord | <kiloneie> In reply to @nnsee "I don't think that's": Same this with verified on YT, people quickly started hating it. |
| 08:11:06 | FromDiscord | <kiloneie> Oh look a big shot... |
| 08:11:11 | FromDiscord | <kiloneie> Huge implications there |
| 08:23:57 | FromDiscord | <kiloneie> `(line[index+1]).removePrefix(Whitespace)` why is this erroring ? I can do dedent(highNumber, or strip(haven't tried) instead, but... i'd prefer this one... |
| 08:26:39 | FromDiscord | <kiloneie> https://media.discordapp.net/attachments/371759389889003532/1428298081266307205/Screenshot_2025-10-16_10-26-32.png?ex=68f1fdbf&is=68f0ac3f&hm=203443cab5c98cf9f6dc892f72ef667cd35fa07b9fcd547c4a5da7961f9c0400& |
| 08:32:28 | Amun-Ra | removePrefix(…): void |
| 08:33:26 | Amun-Ra | see https://play.nim-lang.org/#pasty=bYwukxtg |
| 08:36:19 | FromDiscord | <nnsee> in layman's terms, `removePrefix` doesn't return anything and instead operates on the string in-place, but you're trying to echo the return value (which doesn't exist) |
| 08:36:30 | FromDiscord | <nnsee> i think you want to `echo line[index+1]` instead |
| 09:24:25 | * | beholders_eye joined #nim |
| 11:27:14 | FromDiscord | <Robyn [She/Her]> In reply to @kiloneie "`(line[index+1]).removePrefix(Whitespace)` why is t": You could use `dup` from `std/sugar` |
| 11:27:38 | FromDiscord | <Robyn [She/Her]> `dup(line[index+1], removePrefix(Whitespace))` I believe |
| 11:46:15 | FromDiscord | <heysokam> Does someone know how the compiler checks if a string is a keyword?↵I'm creating a random nim code generator, and I'd love to use it myself too↵But don't know if there is such a function or where it would be 🤔 |
| 11:48:08 | FromDiscord | <mitranim> You could parse keywords out of `nim/doc/keywords.txt` |
| 11:49:42 | FromDiscord | <heysokam> That seems doable, yes. But the compiler has to be doing that already somehow, right? 🤔 |
| 11:50:09 | FromDiscord | <heysokam> Also, `grammar.txt` wasn't fully complete, so I'm expecting the same type of "issue" with this other file |
| 11:50:38 | FromDiscord | <nnsee> In reply to @heysokam "That seems doable, yes.": https://github.com/nim-lang/Nim/blob/devel/compiler/lexer.nim#L38 |
| 11:52:10 | FromDiscord | <heysokam> In reply to @nnsee "https://github.com/nim-lang/Nim/blob/devel/compiler": Oh, its using an enum, which seems likely they'd be accessing it with a range for the keywords check. I see↵Ty Ras, this should be reliable and simple enough ✍️ |
| 11:54:03 | FromDiscord | <mitranim> sent a code paste, see https://play.nim-lang.org/#pasty=qSkVHkAm |
| 11:57:15 | FromDiscord | <nnsee> sent a code paste, see https://play.nim-lang.org/#pasty=RoqiDCiH |
| 11:57:20 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=ICGhgJYv |
| 11:57:26 | FromDiscord | <heysokam> (edit) "https://play.nim-lang.org/#pasty=kQxZeOyx" => "https://play.nim-lang.org/#pasty=AzAmrItA" |
| 12:01:35 | FromDiscord | <kiloneie> In reply to @battery.acid.bubblegum "You could use `dup`": Workout, lunch and nap take a while... During the end of the workout i started thinking of my error, void, and i thought yet i saw `dup` somewhere, i tried that real quick finishing my workout, not in system, then i had to shower and all. |
| 12:06:54 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=TRRtfTqL |
| 12:10:27 | FromDiscord | <heysokam> Oh, its `TokType` not `TokKind` 🤦♂️ |
| 12:21:01 | FromDiscord | <kiloneie> How do i: `line.add r"import ".." / ".." / BuiltIn / Window / defaultWindowConstants"` Idk how to deal with """""""""" |
| 12:28:16 | FromDiscord | <kiloneie> In reply to @kiloneie "How do i: `line.add": Ugh, the lsp bugging out, made me think, """ """ doesn't work |
| 12:28:31 | FromDiscord | <kiloneie> Often very useful, sometimes, i wanna b slap it... |
| 12:28:38 | FromDiscord | <kiloneie> 50 bazillion fake errors. |
| 12:29:27 | FromDiscord | <kiloneie> Is 1 space between em good, or ? `line.add """ "import ".." / ".." / BuiltIn / Window / defaultWindowConstants".escape("\"") """` |
| 13:22:27 | FromDiscord | <heysokam> In reply to @kiloneie "Is 1 space between": you can also say `"""\"` and it will work, afair. But adding a space will fix it yep↵I had a similar issue with a code generator |
| 13:28:23 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=cBNlQTKh |
| 13:28:56 | FromDiscord | <heysokam> Its awful, and I'm sure it has edge case bugs. But just in case it helps |
| 13:29:28 | FromDiscord | <kiloneie> I would of made that into 2-4 times as many lines |
| 13:29:48 | FromDiscord | <kiloneie> condensed code hurts my brain xD |
| 13:30:01 | FromDiscord | <kiloneie> Yours is not that bad though(for me). |
| 13:30:29 | FromDiscord | <heysokam> Yea, I'm aware. People hate my coding style. Idm the bashing |
| 13:31:07 | FromDiscord | <kiloneie> I hate it when people abbreviate, already short words... or, use some incredibly bad variable names, that only they at that moment in time understood, and then require a manual of comments to understand... |
| 13:31:29 | FromDiscord | <kiloneie> (Not you) |
| 13:31:30 | FromDiscord | <heysokam> Pretty much, yea |
| 13:31:42 | FromDiscord | <heysokam> I hate it the same |
| 13:33:50 | FromDiscord | <kiloneie> I can't remember the examples right now, but i know where to find them, but `cmp` for `compare` is good. Whilst `n` instead of `num` for "number", i hate that, i also hate `numb` instead of `num`. |
| 13:33:51 | FromDiscord | <heysokam> Triple string literals are not in the grammar file, afair.↵But `"""""""` is not a valid triple string literal containing`"`. That much I remember |
| 13:34:38 | FromDiscord | <kiloneie> I pretty much use "index" instead of "i". I can't... |
| 13:34:56 | FromDiscord | <kiloneie> I mean i can, but... add "j" in the mixx and some more, and im freaking done D: |
| 13:35:07 | * | hygo_ quit (Ping timeout: 246 seconds) |
| 13:35:10 | FromDiscord | <heysokam> In reply to @kiloneie "I pretty much use": I use `id` or `it` for `i`.. but overal having actual sentry variable names is 10000x better |
| 13:35:32 | FromDiscord | <kiloneie> Wdym by sentry ? |
| 13:36:03 | FromDiscord | <heysokam> `for id in list: ...` here `id` is the sentry variable |
| 13:36:42 | FromDiscord | <mitranim> Over the years I've settled at using 3-letter names for as many things as I can 😅 Many of them are "standardized" in that they signify specific roles |
| 13:36:47 | FromDiscord | <mitranim> (edit) "at" => "on" |
| 13:36:48 | FromDiscord | <heysokam> in C it would be `for (int id = 0; id < list.len; ++id) { ... }`, which makes it more obvious that it is actually a scoped variable |
| 13:37:12 | FromDiscord | <mitranim> 1-2 is too short, and over 3 is often unnecessary to express meaning |
| 13:37:22 | FromDiscord | <mitranim> (edit) "over 3" => ">=4" |
| 13:37:49 | FromDiscord | <kiloneie> In reply to @heysokam "in C it would": Personally in that example, i'd actually prefer `i` over `id`, it's a different word entirely... |
| 13:38:51 | FromDiscord | <kiloneie> In reply to @mitranim "1-2 is too short,": I usually over express myself, but when it starts getting too long with the mix of othe variables, that is when i start thinking of cutting them down a bit, but i prefer `player.position.x`, over `player.x` |
| 13:40:11 | FromDiscord | <heysokam> sent a long message, see https://pasty.ee/EoXovldI |
| 13:41:15 | FromDiscord | <heysokam> In reply to @kiloneie "Personally in that example,": `i` means nothing. `id` means `index` or `identifier` intuitively (which is exactly what they are |
| 13:42:37 | FromDiscord | <heysokam> In reply to @kiloneie "I usually over express": yea, in the `player.x` case its better to see where the `x` axis is being read from, since it could be a vector indicating something else other than position (like velocity, for example) |
| 13:43:34 | FromDiscord | <kiloneie> In reply to @heysokam "`i` means nothing. `id`": I never had identifier in mind for `i`... well blame school for that... it was in weird Slovenian explanation. |
| 13:54:46 | * | zero` quit (Quit: zero`) |
| 14:01:11 | FromDiscord | <kiloneie> Why does the top `getModuleName` error, but the one commented out, inside `moduleStart`, works !? https://media.discordapp.net/attachments/371759389889003532/1428382267570524211/Screenshot_2025-10-16_16-00-20.png?ex=68f24c26&is=68f0faa6&hm=072617b5dc4157b34b10072b7c2bb0bfc20db9ff7b0cdcc98889aa3ed8de9775& |
| 14:16:30 | * | hygo joined #nim |
| 14:29:42 | * | zero` joined #nim |
| 14:42:27 | FromDiscord | <kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=LlkweQKV |
| 14:43:08 | FromDiscord | <mitranim> Align `of` with `case` |
| 14:44:38 | FromDiscord | <lainlaylie> is it to do with `end` being a keyword? |
| 14:46:37 | FromDiscord | <mitranim> I misunderstood the question, and apparently `case` doesn't need alignment huh |
| 14:47:15 | FromDiscord | <mitranim> you're right about `end` here |
| 14:47:22 | FromDiscord | <mitranim> it's even syntax highlighted |
| 14:47:31 | FromDiscord | <lainlaylie> it doesnt need need it, but really theres no reason not to write it correctly |
| 14:47:48 | FromDiscord | <kiloneie> In reply to @mitranim "it's even syntax highlighted": Not in Zed D: |
| 14:48:08 | FromDiscord | <kiloneie> What is end used for ? |
| 14:48:31 | FromDiscord | <lainlaylie> you might have to do some archaeology to find the answer |
| 14:49:05 | FromDiscord | <lainlaylie> is it for closing blocks in source code filters or something? |
| 14:50:00 | FromDiscord | <kiloneie> I really don't like using "finish" instead <.<................................. |
| 14:52:10 | FromDiscord | <mitranim> Skimmed Nim sources and couldn't find a single use of `end` |
| 14:52:28 | FromDiscord | <kiloneie> Me neither... |
| 14:52:35 | FromDiscord | <kiloneie> But "End" works... |
| 14:53:09 | FromDiscord | <kiloneie> Did we find a bug or something ? |
| 14:53:13 | FromDiscord | <mitranim> So much for style insensitivity. What if I want to write `end` as `END`?? |
| 14:53:35 | FromDiscord | <kiloneie> In reply to @mitranim "So much for style": Yeah... i will add those though |
| 14:53:50 | FromDiscord | <mitranim> sent a code paste, see https://play.nim-lang.org/#pasty=wKubKujk |
| 14:54:14 | FromDiscord | <mitranim> uppercase lovers feel duped |
| 14:54:18 | FromDiscord | <kiloneie> I believe that keywords don't follow that |
| 14:55:52 | FromDiscord | <aethrvmn> In reply to @mitranim "So much for style": The first letter is case sensitive tho |
| 14:55:54 | FromDiscord | <kiloneie> OTHER TOPIC:↵Zed's Nim extension does some horrendous indenting when i don't want it to(90+% of the time), annoying the hell out of me. |
| 14:56:12 | FromDiscord | <aethrvmn> `nameVar` and `NameVar` are different |
| 14:56:31 | FromDiscord | <aethrvmn> In reply to @kiloneie "OTHER TOPIC: Zed's Nim": Can you not turn autoformatting off? |
| 14:56:47 | FromDiscord | <mitranim> sent a code paste, see https://play.nim-lang.org/#pasty=lCFYGlzZ |
| 14:56:51 | FromDiscord | <kiloneie> In reply to @aethrvmn "Can you not turn": Whose ? The editor or the extension ? |
| 14:57:38 | FromDiscord | <mitranim> It's probably using either Prettier (does it support Nim?) or LSP formatting and you can configure both |
| 14:58:22 | FromDiscord | <aethrvmn> In reply to @kiloneie "Whose ? The editor": In helix you can configure the formatter per language, so I'd assume it's on the extention to implement it/LSP |
| 15:01:30 | FromDiscord | <kiloneie> https://media.discordapp.net/attachments/371759389889003532/1428397447444697212/Screenshot_2025-10-16_17-00-28.png?ex=68f25a49&is=68f108c9&hm=b701cdc34bf23b54e97483df7ccdebc21467df66e1a1777d69f3015c43257a33& |
| 15:02:05 | FromDiscord | <kiloneie> That's the setting for all, and the Nim one is also disabled since i didn't touch it(if the general was enabled) |
| 15:09:54 | FromDiscord | <kiloneie> If i copy paste something at the start of a line, and the previous line or more, ended at some indentation, it indents to match.↵And if i select the start of a line, press enter to get a new empty line for me to insert something, the next line dedents by 2... |
| 15:10:10 | FromDiscord | <kiloneie> This is killing me... |
| 15:11:16 | FromDiscord | <aethrvmn> There should be a setting about smart indentation or smth |
| 15:13:13 | * | beholders_eye quit (Ping timeout: 264 seconds) |
| 15:15:30 | FromDiscord | <kiloneie> This is it! I probably can't fix the following lines right ? https://media.discordapp.net/attachments/371759389889003532/1428400970810916885/Screenshot_2025-10-16_17-13-07.png?ex=68f25d91&is=68f10c11&hm=4104bb40d11529f4fc48d898f14a5db2ee2b97562ef3bb016d6c1649be07ad52& https://media.discordapp.net/attachments/371759389889003532/1428400971129819166/Screenshot_2025-10-16_17-15-22.png?ex=68f25d91&is=68f10c11&hm=5834f30ef29991496200df692d9b2f |
| 15:15:47 | FromDiscord | <kiloneie> If that gets fixed, i can breathe again D:... |
| 17:20:15 | * | joast quit (Quit: Leaving.) |
| 17:26:39 | * | vsantana joined #nim |
| 17:31:00 | FromDiscord | <ezic9276> sent a code paste, see https://play.nim-lang.org/#pasty=gjlWKWtn |
| 17:36:31 | FromDiscord | <lainlaylie> isnt it cause you should pass an expression instead of a proc |
| 17:36:46 | FromDiscord | <lainlaylie> as in the example |
| 17:36:51 | FromDiscord | <ezic9276> oh ok |
| 17:38:29 | FromDiscord | <ezic9276> thanks |
| 18:48:48 | * | vsantana quit (Quit: Leaving) |
| 18:50:26 | * | vsantana joined #nim |
| 19:32:06 | * | dv^_^3 joined #nim |
| 19:32:24 | * | przmk_ joined #nim |
| 19:33:05 | * | computerquip_ joined #nim |
| 19:34:12 | * | greaser|q_ joined #nim |
| 19:36:58 | * | gshumway_ joined #nim |
| 19:36:58 | * | computerquip quit (Ping timeout: 248 seconds) |
| 19:36:58 | * | przmk quit (Ping timeout: 248 seconds) |
| 19:36:59 | * | CypherCat quit (Ping timeout: 248 seconds) |
| 19:36:59 | * | dv^_^ quit (Ping timeout: 248 seconds) |
| 19:37:00 | * | xet7 quit (Ping timeout: 248 seconds) |
| 19:37:00 | * | gshumway quit (Ping timeout: 248 seconds) |
| 19:37:00 | * | greaser|q quit (Ping timeout: 248 seconds) |
| 19:37:01 | * | przmk_ is now known as przmk |
| 19:37:01 | * | dv^_^3 is now known as dv^_^ |
| 19:37:01 | * | computerquip_ is now known as computerquip |
| 19:40:14 | * | vsantana quit (Quit: The Lounge - https://thelounge.chat) |
| 19:40:57 | * | CypherCat joined #nim |
| 19:41:08 | * | vsantana joined #nim |
| 19:46:32 | * | xet7 joined #nim |
| 20:05:54 | FromDiscord | <jm_sts> I understand that overloading `()` and `.` are currently experimental features. What is the risk of using them on a serious project from 1-10 where 1 is “use at your own risk” and 10 is “its most likely fine, the experimental flag will probably come off soon/at some point” |
| 20:06:30 | FromDiscord | <asviest> 10 |
| 20:06:43 | FromDiscord | <mitranim> they've been "experimental" for at least half a decade IIRC |
| 20:07:17 | FromDiscord | <jm_sts> Why half a decade? |
| 20:07:47 | FromDiscord | <mitranim> (don't quote me on the number but it's years and years) no idea why, probably seemed sort of iffy but sort of fine and a low priority |
| 20:08:02 | FromDiscord | <mitranim> but by now, it has probably seeped into company code so Araq can't break it |
| 20:08:31 | FromDiscord | <jm_sts> I wonder if its worth prodding Araq about it on the forum |
| 20:10:13 | * | vsantana quit (Remote host closed the connection) |
| 20:11:18 | FromDiscord | <asviest> In fact, new added features are also often called experimental in nim 2 |
| 20:12:21 | FromDiscord | <jm_sts> Noted. Appreciate the insight guys |
| 20:17:37 | * | zero` quit (Quit: zero`) |
| 20:18:03 | * | zero` joined #nim |
| 20:39:26 | * | joast joined #nim |
| 20:51:40 | FromDiscord | <saint._._.> They’ll probably be taken off experimental in nim 3 right? |
| 21:13:31 | FromDiscord | <ezic9276> In reply to @ezic9276 "hi, I just started": Why do folds operations operate on sequences and not iterators? It seems to be more natural. Why is it a macro? Is it about performance? |
| 21:17:54 | FromDiscord | <ezic9276> btw is there a reason why iterators are not first-class objects even though `proc` are? |
| 21:25:38 | * | rockcavera joined #nim |
| 21:58:38 | Amun-Ra | "serious project" and overloading . and () - pick one ;) |
| 22:00:10 | FromDiscord | <nocturn9x> This might be a little weird, but does anyone have any experience with building nim for PowerPC? |
| 22:00:31 | FromDiscord | <nocturn9x> I have the opportunity to run my engine on a large PowerPC cluster and can't install nim there |
| 22:00:40 | FromDiscord | <nocturn9x> how would one target it? |
| 22:03:11 | Amun-Ra | set --cpu to powerpc |
| 22:04:09 | Amun-Ra | and --gcc.exe, --gcc.linkerexe and flags to match the gcc crosscompiler on your system |
| 22:10:53 | Amun-Ra | let's say I need to compile for linux with powerpc64, nim c --cpu=powerpc64 --gcc.exe=powerpc64-linux-gnu-gcc --gcc.linkerexe=powerpc64-linux-gnu-gcc should suffice |
| 22:11:23 | Amun-Ra | pick powerpc/powerpc64/powerpc64el |
| 22:15:15 | FromDiscord | <nocturn9x> thx! |
| 22:34:53 | FromDiscord | <jm_sts> In reply to @Amun-Ra ""serious project" and overloading": Don’t judge me 🤣 |
| 22:36:11 | FromDiscord | <nocturn9x> In reply to @Amun-Ra "pick powerpc/powerpc64/powerpc64el": they are powerpc64le, thanks :) |
| 23:00:32 | * | rockcavera quit (Remote host closed the connection) |