01:38:49 | * | n|PhreakBSD joined #nim |
01:43:01 | n|PhreakBSD | Hello not able to get nimble to work on freebsd , https://paste.debian.net/1373945/ |
02:06:45 | * | n|PhreakBSD quit (Remote host closed the connection) |
02:34:47 | FromDiscord | <michaelb.eth> In reply to @n|PhreakBSD "Hello not able to": do any of the bsd certificate paths exist in your freebsd install?↵↵https://github.com/nim-lang/Nim/blob/59ceff4f1afdbc35cfc1dd679ca31369e71b3873/lib/pure/ssl_certs.nim#L40 |
02:34:48 | FromDiscord | <janakali> @n|PhreakBSD, does your system have root certificate in one of these places?: `/etc/ssl/certs/ca-certificates.crt`, `/usr/local/share/certs/ca-root-nss.crt`, `/etc/ssl/cert.pem`, `/usr/local/share/certs`, `/etc/openssl/certs`↵from Nim source code at [lib/pure/ssl_certs.nim](https://github.com/nim-lang/Nim/blob/59ceff4f1afdbc35cfc1dd679ca31369e71b3873/lib/pure/ssl_certs.nim#L40C1-L54C4) |
02:34:59 | FromDiscord | <michaelb.eth> jinx |
02:35:11 | FromDiscord | <janakali> xD |
02:40:32 | FromDiscord | <janakali> @n|PhreakBSD, I think you need to install `security/ca-root-nss` package |
03:15:45 | * | rockcavera joined #nim |
03:41:38 | FromDiscord | <nixfreak> That was it thanks a lot |
03:42:40 | * | jinn6 quit (Ping timeout: 252 seconds) |
04:09:57 | * | jinn6 joined #nim |
04:16:21 | * | jinn6 quit (Ping timeout: 248 seconds) |
04:33:19 | * | jinn6 joined #nim |
04:46:52 | * | n|Phreak_ joined #nim |
04:48:44 | * | n|Phreak_ is now known as n|PhreakBSD |
05:08:43 | * | n|PhreakBSD quit (Quit: leaving) |
05:57:00 | * | skippy8 joined #nim |
06:18:28 | * | nils` quit (Ping timeout: 276 seconds) |
06:46:02 | * | fedorafan joined #nim |
07:18:18 | * | andy-turner joined #nim |
08:25:35 | * | alexdaguy joined #nim |
08:43:40 | * | przmk quit (Ping timeout: 244 seconds) |
08:57:13 | * | przmk joined #nim |
09:14:24 | * | nils` joined #nim |
09:58:30 | * | skippy8 quit (Quit: WeeChat 4.5.2) |
11:14:00 | * | andy-turner quit (Quit: Leaving) |
12:14:58 | * | andy-turner joined #nim |
12:20:46 | * | fedorafan quit (Remote host closed the connection) |
12:44:18 | FromDiscord | <wannabelokesh> Hi guys, I need a command that builds src/.nim all at once or at least all with the same command. ↵and put the final object file(s) inside one/build/ or one/out/ ↵Any idea how to do this? https://media.discordapp.net/attachments/371759389889003532/1370743249353838634/image.png?ex=68209ba1&is=681f4a21&hm=baa13c8a1100dbee36bee5787be37ecedf66ae63a518328bd078f15f2a35821b& |
12:45:51 | strogon14 | https://nim-lang.github.io/nimble/create-packages.html |
12:46:40 | FromDiscord | <nnsee> you can change where nimble puts built binaries with the `binDir` option |
12:47:03 | FromDiscord | <nnsee> not really sure what you mean by "builds all .nim files" - as one binary or each their own? |
12:47:14 | FromDiscord | <nnsee> (edit) "not really sure what you mean by "builds all .nim files" - as one binary or each ... theirown" added "being" | "own?" => "own binary?" |
12:48:14 | FromDiscord | <nnsee> if it's the former, just define your main in `one.nim`. if it's the latter, use something like `namedBin` to point to which files you want to build |
12:48:26 | FromDiscord | <nnsee> https://github.com/nim-lang/nimble/blob/master/nimble-guide/docs/nimble-reference.md |
12:51:13 | FromDiscord | <wannabelokesh> sent a long message, see https://pasty.ee/fYuGBZPG |
13:10:08 | * | alexthegreat510 joined #nim |
13:12:49 | * | andy-turner quit (Quit: Leaving) |
13:22:29 | * | alexthegreat510 quit (Quit: Leaving) |
14:05:39 | FromDiscord | <wannabelokesh> sent a long message, see https://pasty.ee/fgMBchRv |
14:11:12 | FromDiscord | <wannabelokesh> Guys, this is NVIm's LspLog file. ↵Please help me out with this. https://media.discordapp.net/attachments/371759389889003532/1370765117842526208/image.png?ex=6820afff&is=681f5e7f&hm=016c82486e71f3ba10f1283ab3c7baa1e1566a82cb0053866a39bc0a05b3193a& |
14:40:15 | FromDiscord | <janakali> In reply to @wannabelokesh "just casually wanna ask": I have this as well, it appeared maybe a few weeks ago. It's either because of neovim v0.11 update or some changes in lspconfig. I hate this 'press Enter |
14:43:33 | FromDiscord | <janakali> you can check my dotfiles for `nvim-notify`, because it's a bit tricky to make it work with LSP: https://codeberg.org/janAkali/dotfiles/src/branch/main/config/nvim/after/plugin/notify.lua |
14:46:38 | FromDiscord | <janakali> this is a lot less obstructive and messages dissapear after seconds https://media.discordapp.net/attachments/371759389889003532/1370774034903597116/2025-05-10-224527_999x501_scrot.png?ex=6820b84d&is=681f66cd&hm=d610279152357c7ce8befb849f3cb5884ce21c696fab93756c0c7837ffcd975d& |
14:58:09 | FromDiscord | <wannabelokesh> are you sure these errors/warnings/messages I'm getting are totally ignorable? |
15:00:25 | * | alexdaguy quit (Ping timeout: 276 seconds) |
15:11:15 | FromDiscord | <aintea> yeah completely |
15:11:27 | FromDiscord | <aintea> in the worst case you won't have autocompletion |
15:56:56 | * | rez joined #nim |
16:12:17 | * | rez quit (Quit: much snoozes...) |
17:09:41 | FromDiscord | <devlop_gaming> Anyone know how to make changes from one computer visible on another when using github? |
17:10:35 | FromDiscord | <Elegantbeef> push then fetch |
17:31:12 | FromDiscord | <nnsee> In reply to @devlop_gaming "Anyone know how to": `push` to push your changes to github, `pull` to pull the changes from github to a local machine |
17:31:52 | FromDiscord | <nnsee> recommend setting up the fast forward config option as default for pulls |
17:32:58 | FromDiscord | <nnsee> makes it so local changes are automatically rebased when pulling instead of creating a separate merge commit |
17:59:33 | FromDiscord | <heysokam> I've never needed ff once yet. might be too much if he doesn't know how to push/pull comfortably just yet |
18:00:12 | FromDiscord | <nnsee> you don't ever "need" it, it's just nice to have for a cleaner history |
18:00:47 | FromDiscord | <heysokam> yeah, but I'm just pointing at git being obtuse for beginners, and an optional feature that is extra confusion for little gain, that's all |
18:01:22 | FromDiscord | <nnsee> i'd say the default behavior is more confusing but i get what you mean |
18:08:15 | strogon14 | learning to use git is like the entry test for developers :) |
18:08:51 | strogon14 | but I agree, its UX is less than stellar. |
18:09:27 | FromDiscord | <0xfab_10> In reply to @strogon14 "learning to use git": hm not really. I see it as a learn it when you need it thing |
18:10:18 | FromDiscord | <heysokam> In reply to @fabric.input_output "hm not really. I": do you really have the skill to even know that you need it when you are first learning? |
18:10:18 | FromDiscord | <Elegantbeef> Everyone needs VCS 😛 |
18:11:02 | FromDiscord | <heysokam> it costed me 6months of code + life due to a hard drive failure to know "oh, I need this"... so, I don't know if that arguments holds very true |
18:11:02 | strogon14 | I mean post-college level entry |
18:11:06 | FromDiscord | <0xfab_10> In reply to @heysokam "do you really have": that's why you talk to other devs about stuff |
18:12:14 | strogon14 | or high school, I don't really know these anglo-saxon education institutions ;-) |
18:12:22 | FromDiscord | <heysokam> In reply to @fabric.input_output "that's why you talk": losing all your code is catastrophe, even more when new, and git prevents it↵I have to side with Ras on this |
18:12:45 | FromDiscord | <heysokam> should be one of the first things you learn, right after loops/variables/functions |
18:13:59 | FromDiscord | <0xfab_10> if you're talking just commit, push, pull stuff ig. learn git I understood as all the other stuff |
18:14:31 | FromDiscord | <heysokam> yea, the basics is what I believe Ras was talking about too |
18:20:57 | * | drewr joined #nim |
18:21:13 | FromDiscord | <leorize> I'll shill `jj` here\: https://steveklabnik.github.io/jujutsu-tutorial/ |
18:33:30 | * | rez joined #nim |
19:13:10 | * | rez quit (Quit: much snoozes...) |
19:21:16 | FromDiscord | <heysokam> @ElegantBeef if I have a proc that says `proc thing (arg: SomeObj = global_state.someObj) :...`↵When is the `global_state` data resolved?↵Is it done once on first import, or dynamically on every call to the function? |
19:21:34 | FromDiscord | <Elegantbeef> On call |
19:22:05 | FromDiscord | <heysokam> so if I change the state, call, and change state, and call again... the second call gets the new data, correct? |
19:22:22 | FromDiscord | <Elegantbeef> Nim lets you do `proc doThing(a: (int, int) b = a[0]) = ...` so it has to be on call |
19:22:28 | FromDiscord | <Elegantbeef> It should if `global_state` is a runtime variable |
19:22:30 | FromDiscord | <Elegantbeef> You can always test |
19:22:50 | FromDiscord | <heysokam> it is yea. its a module-scope `var` variable |
19:23:01 | FromDiscord | <heysokam> imported from another file |
19:39:05 | FromDiscord | <nnsee> In reply to @Elegantbeef "Everyone needs VCS 😛": `code rev. 23 (final) version 2 (updated) (Copy).docx` is a VCS |
19:40:36 | FromDiscord | <0xfab_10> In reply to @Elegantbeef "On call": hm so nim could have scheme style `parameterize` |
19:40:41 | FromDiscord | <nnsee> i had a friend who unironically wrote python in a word document and copy-pasted it into the python console to run it, because, i quote, "that's how my professor taught it" |
19:49:49 | FromDiscord | <devlop_gaming> Weird I'm on the current version where I fixed the seg fault error now it's back?? |
19:55:10 | FromDiscord | <devlop_gaming> Git is making things harder |
20:01:45 | FromDiscord | <Elegantbeef> @0xfab_10 Sure |
20:11:39 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=UDBWldct |
20:11:47 | FromDiscord | <heysokam> jk, lol |
20:12:04 | FromDiscord | <heysokam> I'm getting that when passing a runtime var to the default. is that forbidden or something? |
20:13:01 | FromDiscord | <heysokam> (edit) "I'm getting that ... when`var`" added "error" | "var" => "`var`" | "default. is" => "default value of the function parameter↵is" |
20:28:47 | * | skippy8 joined #nim |
20:30:57 | FromDiscord | <heysokam> oh, I just found it. classing nim being unhelpful with locations at comptime↵i was calling the function like `const thing = thefn()` and that was setting the comptime requirement on the argument default value too |
20:31:05 | FromDiscord | <heysokam> (edit) "classing" => "classic" |
20:43:54 | FromDiscord | <Elegantbeef> Hey you trut me cause I'm right |
20:43:59 | FromDiscord | <Elegantbeef> trust even |
20:44:17 | FromDiscord | <Elegantbeef> The fact you're trying to use a runtime value at compile time is on you! |
20:57:02 | FromDiscord | <heysokam> true, but the fact that the compiler is pointing at the wrong location without a stacktrace is on the compiler 🙈 |
20:58:17 | FromDiscord | <Elegantbeef> is line 45 `G.cfg`? |
20:58:24 | FromDiscord | <heysokam> yep |
20:58:33 | FromDiscord | <Elegantbeef> Right line to me 😄 |
20:58:43 | FromDiscord | <Elegantbeef> It should show the static scope where the error occurs |
20:58:54 | FromDiscord | <Elegantbeef> So it should be like a generic/template expansion, but yea that's the right line |
20:58:57 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=YimxJEEQ |
21:00:16 | FromDiscord | <Elegantbeef> I don't think the stdlib abstracts that for cross platform querying |
21:00:32 | FromDiscord | <heysokam> so its only for current host? |
21:02:11 | FromDiscord | <Elegantbeef> https://github.com/nim-lang/Nim/blob/6f5e5811fc876fb713ac34608b5a40b27c96d01f/compiler/platform.nim#L46 there is this you could likely import if you really wanted to |
21:06:29 | FromDiscord | <heysokam> useful to know, ty |
21:15:14 | * | rez joined #nim |
21:20:02 | * | rez quit (Quit: much snoozes...) |
21:20:52 | * | rez joined #nim |
21:31:03 | * | rez quit (Quit: much snoozes...) |
22:23:07 | * | skippy8 quit (Quit: WeeChat 4.5.2) |
23:09:11 | * | tiorock joined #nim |
23:09:11 | * | tiorock quit (Changing host) |
23:09:11 | * | tiorock joined #nim |
23:09:11 | * | rockcavera quit (Killed (osmium.libera.chat (Nickname regained by services))) |
23:09:11 | * | tiorock is now known as rockcavera |
23:10:24 | * | GnuYawk1 joined #nim |
23:13:17 | * | dza0 joined #nim |
23:15:00 | * | void09_ joined #nim |
23:18:21 | * | dza quit (*.net *.split) |
23:18:23 | * | CypherCat quit (*.net *.split) |
23:18:23 | * | void09 quit (*.net *.split) |
23:18:23 | * | GnuYawk quit (*.net *.split) |
23:18:24 | * | ursa-major quit (*.net *.split) |
23:18:24 | * | kasimir_ quit (*.net *.split) |
23:18:24 | * | dv^_^ quit (*.net *.split) |
23:18:25 | * | GnuYawk1 is now known as GnuYawk |
23:20:42 | FromDiscord | <aintea> sent a code paste, see https://play.nim-lang.org/#pasty=yYqesBhK |
23:24:42 | * | CypherCat joined #nim |
23:24:42 | * | ursa-major joined #nim |
23:24:42 | * | kasimir_ joined #nim |
23:24:42 | * | dv^_^ joined #nim |
23:26:39 | FromDiscord | <0xfab_10> nim should've had a `cond` thing instead of `if..elif..else` chain |
23:26:59 | FromDiscord | <0xfab_10> you can make it happen sure |
23:27:08 | FromDiscord | <0xfab_10> cuz macros and whatever |
23:34:06 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=bZQGScmO |
23:35:19 | FromDiscord | <kapendev> Valid |
23:35:26 | FromDiscord | <kapendev> Elegant |
23:35:31 | FromDiscord | <kapendev> Beautiful |