| 00:58:50 | FromDiscord | <bluewhale_unkown_x> may I ask you some question? |
| 00:59:52 | FromDiscord | <bluewhale_unkown_x> in Nim, ↵↵`arr[0..3]` is it same with↵openArray? |
| 01:01:26 | FromDiscord | <bluewhale_unkown_x> sent a code paste, see https://play.nim-lang.org/#pasty=JSBhlBJw |
| 01:11:29 | FromDiscord | <aethrvmn> `openArray` means that the template can now accept both `array` and `seq`↵(@bluewhale_unkown_x) |
| 01:15:29 | * | ftajhii quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 01:30:28 | FromDiscord | <bluewhale_unkown_x> sent a code paste, see https://play.nim-lang.org/#pasty=wjwCaYwm |
| 02:20:53 | * | ftajhii joined #nim |
| 02:22:47 | FromDiscord | <liam029526> sent a long message, see https://pasty.ee/UzvCilAf |
| 03:06:09 | * | redj quit (Ping timeout: 252 seconds) |
| 03:19:39 | * | redj joined #nim |
| 03:28:50 | FromDiscord | <Elegantbeef> `lent openArray` makes little sense |
| 07:01:44 | * | tiorock joined #nim |
| 07:01:44 | * | tiorock quit (Changing host) |
| 07:01:44 | * | tiorock joined #nim |
| 07:01:44 | * | rockcavera is now known as Guest2291 |
| 07:01:44 | * | Guest2291 quit (Killed (iridium.libera.chat (Nickname regained by services))) |
| 07:01:45 | * | tiorock is now known as rockcavera |
| 07:09:26 | FromDiscord | <enthus1ast.> Lately I see more pkgs with no nimble file (last one was treeform silky) . What do you all use now? |
| 07:09:45 | FromDiscord | <enthus1ast.> (edit) "Lately I see more pkgs with no nimble file (last one was treeform silky) . What do you all use now? ... " added "(For package management)" |
| 07:11:03 | FromDiscord | <enthus1ast.> Or @treeform would you add a nimble file? I would love to try it 😉 |
| 07:14:40 | FromDiscord | <enthus1ast.> I have the feeling I should re install all nim related stuff, I still carry around pkg1 stuff from several years and nimble seems to be confused a little |
| 08:36:19 | FromDiscord | <lainlaylie> afaic a nim library without a nimble-conpatible nimble file is not a nim package and i will not be using it |
| 13:59:11 | FromDiscord | <treeform> In reply to @enthus1ast. "Lately I see more": Silky will have a nimble file. It’s just it’s not ready. I would have kept it private but I needed to share it with n people. |
| 15:06:14 | FromDiscord | <ieltan> The package management story of nim is starting to concern me with how many alternative are popping out theses days. I though Atlas was going to be it? |
| 15:06:24 | FromDiscord | <ieltan> (edit) "though" => "thought" |
| 15:06:37 | FromDiscord | <ieltan> And that some of the things Atlas was good at would be ported to Nimble |
| 15:08:32 | FromDiscord | <mjsdev> @ieltan I've gone ahead and started mine 😛 |
| 15:08:56 | FromDiscord | <mjsdev> And @lainlaylie is gonna hate it given I couldn't care less about the nimble file... or package names |
| 15:09:20 | FromDiscord | <ieltan> We really need a cargo for Nim |
| 15:09:59 | FromDiscord | <ieltan> And I think atlas is the one thing closer to this |
| 15:11:00 | FromDiscord | <ieltan> And yeah unless it's for learning I don't think people using Nim will use a format that isn't nimble |
| 15:11:54 | FromDiscord | <ieltan> It's the one thing that is pretty good imo there's no reason to get rid of it |
| 15:12:09 | FromDiscord | <mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=rovmplgr |
| 15:12:46 | FromDiscord | <mjsdev> And the only thing names do is determine what it gets called in vendor |
| 15:13:33 | FromDiscord | <ieltan> I've never seen the `gh` uri before |
| 15:13:44 | FromDiscord | <mjsdev> it's shorthand for github |
| 15:14:09 | FromDiscord | <ieltan> It's not the actual link to the repository though... 😥 |
| 15:14:32 | FromDiscord | <mjsdev> It can be? |
| 15:14:42 | FromDiscord | <mjsdev> I mean, make the link whatever you like |
| 15:14:48 | FromDiscord | <mjsdev> don't even include nim-lang repo |
| 15:14:56 | FromDiscord | <mjsdev> it's up to you |
| 15:14:57 | FromDiscord | <mjsdev> lol |
| 15:15:36 | FromDiscord | <ieltan> In reply to @mjsdev "The one I'm working": The overridable `source` property sounds good if you're planning on forking the entire nimble repository (nobody does that though afaik) |
| 15:15:43 | FromDiscord | <ieltan> What is meta? |
| 15:16:06 | FromDiscord | <mjsdev> Just a placeholder for now |
| 15:16:20 | FromDiscord | <mjsdev> You can add private repos |
| 15:16:28 | FromDiscord | <mjsdev> or a repo where you just overload a few packages |
| 15:16:54 | FromDiscord | <mjsdev> Like the example shows my packages in the packages section, but I'd probably create a mininim repo |
| 15:17:33 | FromDiscord | <mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=CpBQihCF |
| 15:18:07 | FromDiscord | <ieltan> What if I have multiple sources and packages of the same name in one of them, how does it handle that? |
| 15:18:16 | FromDiscord | <mjsdev> in order |
| 15:18:20 | FromDiscord | <ieltan> Like you know when you fork nimble |
| 15:18:23 | FromDiscord | <mjsdev> later ones replace older ones |
| 15:18:33 | FromDiscord | <ieltan> But how does the code know what which to reference |
| 15:18:39 | FromDiscord | <ieltan> (edit) "what" => "" |
| 15:19:05 | FromDiscord | <mjsdev> There's only ever one package name to repo |
| 15:20:28 | FromDiscord | <mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=emkzOJCP |
| 15:20:29 | FromDiscord | <ieltan> Why not use ssh for pulling from private repos instead so it's less confusing |
| 15:20:46 | FromDiscord | <mjsdev> ssh URLs are fine |
| 15:20:59 | FromDiscord | <mjsdev> As long as the URL works for git |
| 15:21:03 | FromDiscord | <mjsdev> doesn't matter what the URL is |
| 15:22:00 | FromDiscord | <mjsdev> If you really need to overload all your sources, you can just specify the URL you actually want in packages |
| 16:01:04 | FromDiscord | <tauruuuuuus> Obligatory xkcd for this n package managers situation lol↵https://xkcd.com/927/ |
| 16:01:51 | FromDiscord | <tauruuuuuus> Btw I've been trying atlas and liking it a lot, really similar in ethos to go mod which I dig, what's the issue with that? |
| 16:02:22 | FromDiscord | <mjsdev> In reply to @tauruuuuuus "Btw I've been trying": Try moving your repository. |
| 16:03:09 | FromDiscord | <tauruuuuuus> Wdym |
| 16:06:04 | FromDiscord | <mjsdev> I mean there are all kind of problems that can be introduced when you do pretty straighforward things, like change a repository URL |
| 16:24:03 | FromDiscord | <nasuray> In reply to @ieltan "The package management story": Software has bugs but folks prefer to write their own solutions than work with legacy code, but nimble and atlas are both being actively developed and improved, the situation won't be magically resolved without concerted effort by the community to contribute (in the form of issues and PRs) |
| 16:24:31 | FromDiscord | <mjsdev> In reply to @nasuray "Software has bugs but": What if we believe the fundamental design of both is broken? |
| 16:25:35 | FromDiscord | <mjsdev> Should I open an issue like I did on xmlparser so it can be closed because there was some legacy decision to treat some entities different from others? |
| 16:26:40 | FromDiscord | <ieltan> Idk what's wrong about atlas |
| 16:26:57 | FromDiscord | <ieltan> It has some features that would be great in theory but lacks a lot of polish |
| 16:28:16 | FromDiscord | <ieltan> In reply to @nasuray "Software has bugs but": Well I agree with you I think we should focus on' what we have and improve it |
| 16:28:24 | FromDiscord | <mjsdev> atlas is definitely miles above nimble -- but this weird distinction between treating official packages different than non official is strange. |
| 16:28:53 | FromDiscord | <mjsdev> Whether or not the problems I'm seeing with it can be worked around, I don't know for sure, but my guess is no the way it downloads .nimble files |
| 16:30:23 | FromDiscord | <ieltan> In reply to @mjsdev "atlas is definitely miles": But you can literally just use the nimble format, you don't have to push it to nim-lang/packages |
| 16:30:36 | FromDiscord | <ieltan> There is nothing wrong fundamentally speaking with nimble as a format |
| 16:31:06 | FromDiscord | <mjsdev> The problem is the name <=> url mapping and/or any older mixed cases |
| 16:31:23 | FromDiscord | <mjsdev> the nimble format implicitly means your package is named whatever the .nimble file is named |
| 16:32:17 | FromDiscord | <mjsdev> In my particular case, I moved the repository at some point... through some crazy downloading of a bunch of ancient .nimble files, it picked that up somewhere, and said there was a conflicting URL for <name> and I had to add pkgOverrides |
| 16:34:00 | FromDiscord | <mjsdev> in my particular case, I was actually straight onto URLs at that point, but doesn't matter, cause it's still using a nimble file, so when it resolves a URL, it's still loading up all those nimble files with that name. |
| 16:34:24 | FromDiscord | <ieltan> Hmm yeah I can see why it can be annoying now |
| 16:35:06 | FromDiscord | <mjsdev> Also.... still respecting versions in nimble files is crazy |
| 16:35:16 | FromDiscord | <mjsdev> I realize it's a "fallback" of some sorts (or supposed to be) |
| 16:35:39 | FromDiscord | <mjsdev> but the only thing worse than packages having names that are attached in history is packages having versions that are attached in history |
| 16:36:51 | FromDiscord | <mjsdev> VCS should be the sole source of truth, if I force push over a tag, I should get that version on update. |