00:10:22 | * | Mister_Magister quit (Quit: bye) |
01:39:54 | * | janAkali joined #nim |
02:16:30 | FromDiscord | <Elegantbeef> @ieltanI mean you do not need `proc(arg: lent T)` as nim already implicitly does by reference for types that make sense |
02:41:12 | * | rockcavera quit (Remote host closed the connection) |
02:58:59 | * | derpydoo joined #nim |
03:26:29 | * | janAkali quit (Quit: Client closed) |
03:49:49 | * | derpydoo quit (Ping timeout: 264 seconds) |
04:12:51 | FromDiscord | <Laylie> i think what nim needs is a native gui framework that implements liquid glass |
04:47:45 | * | derpydoo joined #nim |
05:20:34 | FromDiscord | <microssd.> I don't know about you guys, but I LOVE NIM! |
05:34:03 | FromDiscord | <nevillegg> In reply to @battery.acid.bubblegum "Nim uses non-British English,": We need british one 🔥 |
05:34:57 | FromDiscord | <nevillegg> In reply to @yedco.12 "this is funny lol": I wonder how people use vim..... (I know vim, I use neovim) |
05:35:05 | FromDiscord | <nevillegg> vim is like really old |
05:41:13 | FromDiscord | <microssd.> In reply to @nevillegg "I wonder how people": I use Micro editor and Zed |
05:42:21 | FromDiscord | <yedco.12> In reply to @nevillegg "I wonder how people": It's not vim |
05:42:26 | FromDiscord | <microssd.> no need for strange key combinations |
05:42:26 | FromDiscord | <yedco.12> It's helix |
07:04:49 | * | Mister_Magister joined #nim |
07:17:40 | FromDiscord | <systemblue_whale> In reply to @nevillegg "vim is like really": I wonder how people use neovim↵neovim is too hard to use... QQ↵I'm using Kate |
07:21:22 | FromDiscord | <nevillegg> In reply to @yedco.12 "It's not vim": emacs..? |
07:21:27 | FromDiscord | <nevillegg> In reply to @yedco.12 "It's helix": oh |
07:21:41 | FromDiscord | <nevillegg> In reply to @systemblue_whale "I wonder how people": vscodium, geany good. |
07:23:47 | FromDiscord | <systemblue_whale> sent a long message, see https://pasty.ee/jpURAZYJ |
07:24:47 | FromDiscord | <systemblue_whale> (edit) "https://pasty.ee/PPdLhlgw" => "https://pasty.ee/dAmLSJcm" |
07:28:03 | FromDiscord | <nevillegg> In reply to @systemblue_whale "hey are you elixer": nasm..... |
07:28:12 | FromDiscord | <nevillegg> ehh |
07:28:20 | FromDiscord | <nevillegg> asm is kinda hard |
07:28:57 | FromDiscord | <systemblue_whale> Assembly is easy to learn |
07:29:00 | FromDiscord | <systemblue_whale> but hard to use |
07:30:40 | FromDiscord | <systemblue_whale> it is good to learn assembly to learn object, array, while, for, if by low level's view |
07:31:15 | FromDiscord | <systemblue_whale> In reply to @nevillegg "asm is kinda hard": It's easier then C to learn |
07:45:50 | FromDiscord | <nevillegg> In reply to @systemblue_whale "It's easier then C": true |
08:05:57 | FromDiscord | <yedco.12> In reply to @systemblue_whale "hey are you elixer": Yes elixir is worh to learn |
08:06:06 | FromDiscord | <yedco.12> (edit) "worh" => "worth" |
08:07:54 | FromDiscord | <systemblue_whale> why?↵when can i use elixer? |
08:08:00 | FromDiscord | <systemblue_whale> (edit) "elixer?" => "elixir?" |
08:08:03 | FromDiscord | <yedco.12> Anywhere |
08:08:15 | FromDiscord | <yedco.12> Embedded, desktop,web |
08:08:20 | FromDiscord | <yedco.12> But mostly web |
08:08:41 | FromDiscord | <yedco.12> Even for machine learning |
08:08:53 | FromDiscord | <yedco.12> But mostly web |
08:10:10 | FromDiscord | <yedco.12> There is a framework called phoenix |
08:10:37 | FromDiscord | <yedco.12> (edit) "phoenix" => "phoenix, then you have otp and what not" |
08:10:39 | FromDiscord | <systemblue_whale> is it Unix?> |
08:10:54 | FromDiscord | <yedco.12> Cross platform |
08:11:04 | FromDiscord | <systemblue_whale> just kidding |
08:11:09 | FromDiscord | <yedco.12> You can use elixir anywhere |
08:11:12 | FromDiscord | <systemblue_whale> phoenix(Unix) lol |
08:11:52 | FromDiscord | <systemblue_whale> In reply to @yedco.12 "You can use elixir": but I heard elixir is only use in network system ↵My friend said that it's Domain Specific Language lol |
08:12:04 | FromDiscord | <systemblue_whale> He thinks PHP is DSL too |
08:13:41 | FromDiscord | <systemblue_whale> it's only used for some domain and it might be DSL? |
08:16:00 | FromDiscord | <yedco.12> I mean elixir can be used anywhere |
08:27:45 | FromDiscord | <yedco.12> You need to read the documentary of elixir ,on youtube |
08:27:55 | FromDiscord | <yedco.12> (edit) "read" => "watch" |
08:52:44 | FromDiscord | <kiloneie> Why does the nimlangserver take like 5 minutes to execute my F6 compile and run, 95% of the time. Takes 5 min startup warmup... Any way to speed this up ? |
09:59:44 | FromDiscord | <odexine> In reply to @yedco.12 "You can use elixir": Can you substantiate your claim? |
10:14:00 | FromDiscord | <yedco.12> Yeah |
10:14:47 | FromDiscord | <yedco.12> https://github.com/h4cc/awesome-elixir |
10:16:42 | FromDiscord | <odexine> The only thing on embedded here is Nerves and you can’t run that on true bare metal |
10:16:59 | FromDiscord | <odexine> So is it really an everything-language like Nim is |
10:17:18 | FromDiscord | <yedco.12> No, but can be, if you interop |
10:18:04 | FromDiscord | <yedco.12> You thar using nifs |
10:18:10 | FromDiscord | <yedco.12> (edit) "thar" => "that" |
10:19:22 | FromDiscord | <yedco.12> (edit) "You ... that" added "do" |
10:20:00 | FromDiscord | <yedco.12> Elixir is really powerful, when it comes to concurrency |
10:20:16 | FromDiscord | <yedco.12> Its better than concurrency model of go |
10:20:28 | FromDiscord | <yedco.12> (edit) "Its" => "It has" |
10:20:43 | FromDiscord | <yedco.12> Everything in elixir is immutable |
10:20:58 | FromDiscord | <yedco.12> You don't share two states |
10:21:02 | FromDiscord | <yedco.12> You copy them |
10:21:17 | FromDiscord | <odexine> I know |
10:21:23 | FromDiscord | <odexine> I use elixir |
10:21:33 | FromDiscord | <yedco.12> Oh okay, then |
10:21:35 | FromDiscord | <odexine> It’s just there are certain cases where you just can’t use it |
10:21:52 | FromDiscord | <yedco.12> Operating system kernel ig |
10:22:02 | FromDiscord | <odexine> And I don’t think it’s fair to call it an everything-language when it’s limited a good bit more than Nim or so |
10:22:25 | FromDiscord | <yedco.12> But you can add it to other languages |
10:22:50 | FromDiscord | <yedco.12> And now we have gleam |
10:22:55 | FromDiscord | <odexine> In reply to @yedco.12 "But you can add": I kinda wouldn’t count that |
10:23:04 | FromDiscord | <yedco.12> Gleam and elixir is a good combination |
10:23:13 | FromDiscord | <odexine> In reply to @yedco.12 "And now we have": Experimental LLVM support but then is it really still BEAM |
10:23:26 | FromDiscord | <odexine> Poor FFI for that backend as well |
10:23:29 | FromDiscord | <yedco.12> Yeahh, it will change after some time |
10:23:37 | FromDiscord | <odexine> Sure but we’re talking about now |
10:23:41 | FromDiscord | <yedco.12> Because it's just a new language |
10:24:09 | FromDiscord | <yedco.12> Yeah, we have to wait until elixir goes mainstream |
10:24:25 | FromDiscord | <yedco.12> Right now it's not even, so popular |
10:24:43 | FromDiscord | <yedco.12> But companies use it |
10:24:55 | FromDiscord | <odexine> Sure but that’s the same issue with Nim, we’ve been waiting for years and it doesn’t really seem to have come |
10:25:04 | FromDiscord | <yedco.12> Yeahh 😠|
10:25:13 | FromDiscord | <odexine> In Elixir’s case it’s better I would say yes |
10:25:19 | FromDiscord | <yedco.12> Yess |
10:25:48 | FromDiscord | <yedco.12> When people get to know elixir has better concurrency model and safer than go, they would shift |
10:25:50 | FromDiscord | <odexine> But I don’t know, elixir is not an everywhere language for me, not until I can static compile it in some way, be it bundling in the runtime or whatever else |
10:26:07 | FromDiscord | <yedco.12> In reply to @odexine "But I don’t know,": Try creating desktop app |
10:26:11 | FromDiscord | <yedco.12> Using elixir |
10:26:20 | FromDiscord | <odexine> Sounds like a pain already |
10:26:32 | FromDiscord | <odexine> I remember the ecosystem a few months ago I doubt it’s improved |
10:26:34 | FromDiscord | <yedco.12> https://github.com/elixir-desktop/desktop |
10:26:39 | FromDiscord | <odexine> Okay Jesus |
10:26:41 | FromDiscord | <odexine> Wow |
10:26:57 | FromDiscord | <odexine> Okay no |
10:27:02 | FromDiscord | <yedco.12> Without phoenix it wouldn't be possible |
10:27:21 | FromDiscord | <odexine> Call me when I can do it without web tech lol |
10:27:32 | FromDiscord | <yedco.12> 😂 |
10:27:58 | FromDiscord | <yedco.12> You need web tech always |
10:28:13 | FromDiscord | <yedco.12> You could try scenic for gui |
10:28:28 | FromDiscord | <yedco.12> But works only on linux and macos |
11:08:31 | * | derpydoo quit (Quit: derpydoo) |
12:35:20 | * | beholders_eye joined #nim |
12:36:53 | FromDiscord | <aethrvmn> In reply to @odexine "Call me when I": Windows uses react native for their start menu, therefore it's ok |
12:45:21 | FromDiscord | <hacedor_de_cosas> In reply to @Mister_Magister "not really, i'm looking": https://dlang.org/ |
12:57:01 | * | beholders_eye quit (Ping timeout: 264 seconds) |
14:02:00 | FromDiscord | <adokitkat> sent a code paste, see https://play.nim-lang.org/#pasty=pJDIytVs |
14:02:15 | FromDiscord | <adokitkat> sent a code paste, see https://play.nim-lang.org/#pasty=ZjpoDePF |
14:02:59 | FromDiscord | <tauruuuuuus> this smells like a c compiler issue, did you update gcc? |
14:04:47 | FromDiscord | <adokitkat> In reply to @tauruuuuuus "this smells like a": This does not use system gcc but gcc toolchain which comes with esp-idf, so yeah that is newer than it used to be |
14:05:26 | FromDiscord | <tauruuuuuus> I believe gcc 14/15 (I forget which one) became really picky with pointer types, can you post the nim and gcc versions? |
14:07:16 | FromDiscord | <tauruuuuuus> I believe nim 2.2.4 fixed most of those |
14:07:30 | FromDiscord | <adokitkat> In reply to @tauruuuuuus "I believe gcc 14/15": Nim v2.2.4 (I tried multiple versions, like 1.6.x, the same/similar results) and gcc id 15.1.0 |
14:07:45 | FromDiscord | <adokitkat> (edit) "id" => "is version" |
14:08:39 | FromDiscord | <adokitkat> I think you're right it might be due to a newer gcc version |
14:08:46 | FromDiscord | <tauruuuuuus> easy "fix" (not really) is to use -Werror=incompatible-pointer-types to regain the old semantics (pre gcc 14) |
14:09:16 | FromDiscord | <tauruuuuuus> or downgrade gcc, I would suggest you to open a forum thread or issue on github tho |
14:09:24 | FromDiscord | <tauruuuuuus> (edit) "tho" => "tho, too" |
14:09:45 | FromDiscord | <adokitkat> In reply to @tauruuuuuus "easy "fix" (not really)": doesn't seem to work unfortunatelly |
14:10:10 | FromDiscord | <kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=iYlqJJnz |
14:11:13 | FromDiscord | <tauruuuuuus> In reply to @adokitkat "doesn't seem to work": passed it through passC? |
14:11:30 | FromDiscord | <adokitkat> "-Wno-incompatible-pointer-types" works |
14:11:50 | FromDiscord | <tauruuuuuus> yup sorry, I miswrote 😛 |
14:12:34 | FromDiscord | <adokitkat> no problem 😄 |
14:12:40 | FromDiscord | <adokitkat> thank you! |
14:13:31 | FromDiscord | <tauruuuuuus> short term I think that's your best bet, then I would also test:↵- building nim devel and checking if it fixes the issue without -Wno...↵- check with a downgraded gcc↵- open an issue if #1 is not enough |
14:13:47 | FromDiscord | <tauruuuuuus> In reply to @adokitkat "thank you!": happy to help another embedded friend 😄 |
14:17:08 | FromDiscord | <kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=KIvXNCfX |
14:20:22 | FromDiscord | <Laylie> in a template result and return are the caller's |
14:21:33 | FromDiscord | <adokitkat> sent a long message, see https://pasty.ee/oBfWkxPt |
14:22:50 | FromDiscord | <kiloneie> In reply to @Laylie "in a template result": I am sure that means something. My brain cannot process that atm. |
14:24:05 | FromDiscord | <Laylie> templates are ast copy-paste, so if you use result or return inside a template it's as if you had written them in the proc directly |
14:28:33 | FromDiscord | <kiloneie> Oh yeah, envision that the whole template structure doesn't exist, now result and return are trying to do what at top-level ? |
14:30:01 | FromDiscord | <0xfab_10> In reply to @odexine "But I don’t know,": https://github.com/spawnfest/bakeware ? |
14:41:16 | * | beholders_eye joined #nim |
15:43:58 | FromDiscord | <kiloneie> Lazy me, is there a way of compilerFlags, pragma, to make declarations mandatory ? |
15:58:14 | FromDiscord | <yedco.12> In reply to @fabric.input_output "https://github.com/spawnfest/bakeware ?": Or you could use escript |
15:58:31 | * | beholders_eye quit (Ping timeout: 240 seconds) |
15:58:46 | FromDiscord | <yedco.12> For some time ig I'll be going deep into elixir |
16:04:32 | FromDiscord | <lainlaylie> In reply to @kiloneie "Lazy me, is there": can you give an example of what you want to make mandatory |
16:05:21 | FromDiscord | <lainlaylie> and what you want to be disallowed |
16:09:58 | FromDiscord | <nevillegg> In reply to @adokitkat "Hi guys. I need": Hey. I have a esp32 |
16:23:54 | * | th3r00t quit (Ping timeout: 248 seconds) |
16:29:21 | FromDiscord | <yedco.12> In reply to @nevillegg "Hey. I have a": Good for you |
16:35:34 | FromDiscord | <yedco.12> One thing i love about nim is, you can create your own iterators |
17:03:32 | FromDiscord | <yedco.12> One thing i love about nim is, you can create your own iterators |
19:00:42 | FromDiscord | <kiloneie> well `var myVar = 10` #error. but `var myVar: int` and or `var myVar: int = 10` #ok |
19:01:05 | FromDiscord | <kiloneie> @lainlaylie |
19:10:12 | FromDiscord | <lainlaylie> you want to make it mandatory to explicitly specify the type, i don't know of any flag that does that |
19:38:59 | FromDiscord | <kiloneie> It helps me see what im working with faster. And i THINK, it helps nimlangserver, run faster, by not doing all that xD... |
20:13:48 | FromDiscord | <lainlaylie> i doubt it makes a difference to nimlangserver, either way the compiler knows what it is and nimlangserver is just relaying that information to you |
20:37:27 | * | cm quit (Ping timeout: 244 seconds) |
20:43:24 | * | cm joined #nim |
21:40:14 | * | hygo joined #nim |
23:25:01 | FromDiscord | <yedco.12> In reply to @odexine "Call me when I": Try wxwidgets library of erlang in elixir |
23:25:12 | FromDiscord | <yedco.12> (edit) removed "library of erlang in elixir" |