<< 30-11-2025 >>

00:00:31FromDiscord<Buckwheat> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1444477534640275507): kinda noticed that in general Nim's community seems a lil tight-knit and that people who've made some fantastic libs and projects all hang out here
00:00:43FromDiscord<litlighilit> Yeah. playground is here\: https://play.nimpylib.org↵(@Robyn [She/Her])
00:00:53FromDiscord<Robyn [She/Her]> huh, epic!
00:01:29FromDiscord<litlighilit> thanks to Nim's compiling to js
00:03:47FromDiscord<litlighilit> btw nimpylib supports js backend too (in addition to C backend)
00:04:08FromDiscord<litlighilit> btw both nimpylib and npython supports js backend (in addition to C backend)
00:08:44FromDiscord<bubblie> In reply to @Buckwheat "kinda noticed that in": Truth
00:13:41FromDiscord<Buckwheat> does make me feel like I really should do something more than just the 2 small things I've done, but I can't force myself to do any programming... gotta want to do it↵(@bubblie)
00:19:06FromDiscord<bubblie> In nimony I read about the `raise ErrorCode` section↵↵how would that handle libraries compiled against different versions of the stdlib?
00:29:10FromDiscord<litlighilit> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1444477194993795185): tbh the original author is @yardanico-57cc39ea40f3a6eec06363a8\:gitter.im (here is [history wiki](https://github.com/nimpylib/nimpylib/wiki/History), though as of now maybe 80% of current code was my written (not really count)
00:34:55*beholders_eye quit (Ping timeout: 240 seconds)
01:27:34FromDiscord<bubblie> In reply to @vindaar "I'd say whatever interests": Im doing some nim projects right now if that counts
01:37:49FromDiscord<Buckwheat> always good to keep your brain moving
01:39:26FromDiscord<Buckwheat> got me wanting to try and work on something but I really have no good ideas for anything, hehe...
02:03:05FromDiscord<litlighilit> I'd be pretty happy to welcome new contributor of either nimpylib or npython 🫠(if u a willing to overcome difficulties, just look at their issues)
02:11:37FromDiscord<Buckwheat> maybe I could try...
02:36:28FromDiscord<yesdrx> sent a long message, see https://pasty.ee/XhItgSAm
03:59:18*derpydoo joined #nim
04:07:55*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
04:10:18*SchweinDeBurg joined #nim
04:24:23*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
04:25:07*SchweinDeBurg joined #nim
06:39:32FromDiscord<microssd.> is nimble directory having problems?
06:40:50FromDiscord<microssd.> I'm getting this https://media.discordapp.net/attachments/371759389889003532/1444578904034512916/image.png?ex=692d3871&is=692be6f1&hm=c2b30717263e4483cf4f1eeb7181afa2754dd8ef84c6a59f584b00c81879d885&
06:43:50FromDiscord<microssd.> https://media.discordapp.net/attachments/371759389889003532/1444579658598191154/image.png?ex=692d3925&is=692be7a5&hm=eff19adb12faccf44b5551a7ecb8b4b4ab6cbb2385c5d9830c738f81e0823dd1&
06:45:28FromDiscord<microssd.> oh now it seems to be working
06:46:48FromDiscord<nasuray> In reply to @microssd. "is nimble directory having": Probably this https://github.com/FedericoCeratto/nim-package-directory/issues/53
07:01:46*tiorock joined #nim
07:01:46*tiorock quit (Changing host)
07:01:46*tiorock joined #nim
07:01:46*rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services)))
07:01:46*tiorock is now known as rockcavera
07:09:55*GnuYawk1 quit (Quit: The Lounge - https://thelounge.chat)
07:30:15FromDiscord<TӨMΛ ☠> In reply to @bubblie "It’d be weird if": It also would double down on already existing issue of Nim ecosystem being rather small and often non-maintained 😔 ↵Building something big with such situation is risky, which sucks a lot to say, but I'm kinda stuck with my idea of big engine if I'd need to rewrite it for when Nim 3 drops
07:31:15FromDiscord<TӨMΛ ☠> But then I'm not exactly sure how much Nimony is a revolutionary change or more like adjustment, it's not exactly clear to me how to treat it
07:36:28*GnuYawk1 joined #nim
07:38:15*GnuYawk1 quit (Client Quit)
07:39:03*GnuYawk1 joined #nim
08:27:35*xtr00 quit (Ping timeout: 240 seconds)
08:43:24*xtr00 joined #nim
09:26:10FromDiscord<pmunch> In reply to @yesdrx "If my understanding is": On Linux I guess you could write to /tmp and have it mounted in RAM as tmpfs. That's a pretty common setup. Would mean that the cache needs to be rebuilt every boot though
10:35:49FromDiscord<aethrvmn> I had asked Araq in the Nimony channel on discord, you can check that channel↵(@yesdrx)
10:41:33FromDiscord<aethrvmn> Also DeepWiki is good at explaininghttps://deepwiki.com/search/what-is-the-new-plugin-archite_380149f5-7abe-43e1-a404-ef7313ea252a
10:44:44FromDiscord<aethrvmn> Just dont pollute the conversation with new questions so others can check it out too
11:35:59*yeti quit (Quit: \\//_)
11:36:50*yeti joined #nim
12:28:34*xet7 joined #nim
12:54:19FromDiscord<asviest> In reply to @yesdrx "If my understanding is": https://github.com/nim-lang/nimony/issues/1487
12:59:21*maytham joined #nim
13:22:32*beholders_eye joined #nim
13:49:07FromDiscord<microssd.> I'm having this problem since yesterday... https://media.discordapp.net/attachments/371759389889003532/1444686686125818037/image.png?ex=692d9cd2&is=692c4b52&hm=51dead473bcf80c702f5bac91271668326538827541808cd7cc1b2527f42c5f6&
13:49:40FromDiscord<microssd.> this is a snapcraft download when trying to install owlkettle
14:03:30FromDiscord<janakali> In reply to @microssd. "this is a snapcraft": do you use proxy?↵try: `http_proxy= https_proxy= nimble refresh`
14:05:03FromDiscord<microssd.> In reply to @janakali "do you use proxy?": it's actually not me but snapcraft who is doing it so I don't see how to do that
14:06:20FromDiscord<microssd.> Since it's a 400 error, It could be also something with the way I'm telling it to install
14:09:49FromDiscord<microssd.> is there something wrong in this command?↵↵` nimble install --nimbleDir:$NIMBLE_DIR -y owlkettle `
14:10:14FromDiscord<microssd.> is the -y ok?
14:11:46*maytham quit (Ping timeout: 255 seconds)
14:15:04FromDiscord<janakali> In reply to @microssd. "is there something wrong": looks ok, and from the error it's obvious the problem is with http, not the commands
14:15:34FromDiscord<janakali> I've asked about proxy, because of this: https://discord.com/channels/371759389889003530/371759389889003532/1434432345452183645↵I am using a proxy with a VPN and Nim 2.2.6 just refuses to work with my proxy, I get "400 Bad Request" on any httpclient request.
14:17:25FromDiscord<janakali> and nimble does use proxy if there is environment variable 'http_proxy' on the system:↵ https://github.com/nim-lang/nimble/blob/b18976465d3600f39f86df5b732b655284d552cb/src/nimblepkg/downloadnim.nim#L30C1-L33C34
14:21:16*przmk quit (Remote host closed the connection)
14:21:44FromDiscord<microssd.> I don't think it's using a proxy, but idk
15:53:26*przmk joined #nim
16:17:35*beholders_eye quit (Ping timeout: 240 seconds)
16:49:53FromDiscord<lainlaylie> isnt http CONNECT only for proxies?
17:15:55*xet7 quit (Remote host closed the connection)
17:47:10*beholders_eye joined #nim
17:58:00*rockcavera is now known as Guest9810
17:58:01*tiorock joined #nim
17:58:01*Guest9810 quit (Killed (uranium.libera.chat (Nickname regained by services)))
17:58:01*tiorock is now known as rockcavera
18:34:18FromDiscord<systemblue_2010> How is the development of Nim's borrow checker going?
19:00:39*xet7 joined #nim
19:03:16FromDiscord<threefour> We're getting a borrow checker?
19:04:55*casaca quit (Ping timeout: 245 seconds)
19:05:49FromDiscord<Buckwheat> seems the team were playing with the idea of it, but also at the same time it looks as if there's not exactly any plans to implement it
19:05:55*ursa-major quit (Ping timeout: 250 seconds)
19:06:01FromDiscord<Buckwheat> just gauging based on the language Araq used
19:06:10*whereiseveryone quit (Ping timeout: 245 seconds)
19:06:21*zie quit (Ping timeout: 250 seconds)
19:06:33*adigitoleo quit (Ping timeout: 240 seconds)
19:06:55*johuck quit (Ping timeout: 264 seconds)
19:06:58*tmpod quit (Ping timeout: 255 seconds)
19:06:58*noeontheend quit (Ping timeout: 246 seconds)
19:07:06FromDiscord<Buckwheat> and from seeing some examples of its use, it definitely does not look ready to ship, it's very messy (not as messy as Rust's but it does desugar the syntax a bit)
19:07:31*Freneticks quit (Ping timeout: 264 seconds)
19:08:15*robertmeta quit (Ping timeout: 245 seconds)
19:08:23FromDiscord<Buckwheat> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1444766386915250188): seems the team were playing with the idea of it, but also at the same time it looks as if there's not exactly any plans to implement it (though take that with a grain of salt, this is based on a message posted in 2019 from Araq on the forums)
19:08:46*mronetwo quit (Ping timeout: 255 seconds)
19:09:35*robertmeta joined #nim
19:09:36*zie joined #nim
19:09:36*casaca joined #nim
19:09:36*tmpod joined #nim
19:09:38*noeontheend joined #nim
19:09:41*adigitoleo joined #nim
19:09:42*mronetwo joined #nim
19:09:45*maytham joined #nim
19:09:45*ursa-major joined #nim
19:09:51*johuck joined #nim
19:10:04FromDiscord<Buckwheat> while the idea of a borrow checker is nice on paper, in practice I'm not exactly sure. I'm not an expert on compilers or anything so please take this opinion of mine with a grain of salt, but with Rust it seemed like there was a ton of extra overhead at compile time due to the borrow checker, and I would imagine that we'd see the same thing with a borrow checker in Nim.
19:10:09*Freneticks joined #nim
19:10:15*whereiseveryone joined #nim
19:10:25FromDiscord<Buckwheat> while the idea of a borrow checker is nice on paper, in practice I'm not exactly sure. I'm not an expert on compilers or anything so please take this opinion of mine with a grain of salt, but with Rust it seemed like there was a ton of extra overhead at compile time due to the borrow checker last I programmed with Rust, and I would imagine that we'd see the same thing with a borrow checker in Nim.
19:12:05FromDiscord<Buckwheat> and really, I'm of the opinion that your code is only as safe as you write it to be, and your toolchain can only do so much, you still need to be a responsible developer when writing code in any language, "memory safe" or not.
19:14:05*maytham quit (Ping timeout: 245 seconds)
19:18:23FromDiscord<bubblie> In reply to @litlighilit "I'd be pretty happy": I was thinking if its possible to get nim tensorflow working, but I feel like ArrayMancer as a concept is just better for the language
19:19:17FromDiscord<bubblie> sent a long message, see https://pasty.ee/fWrsnsaR
19:24:40*cws2 joined #nim
19:26:15*cws quit (Ping timeout: 240 seconds)
19:26:15*cws2 is now known as cws
19:30:01*derpydoo quit (Ping timeout: 264 seconds)
19:54:09FromDiscord<mjsdev> Unsafe code is how you do cool things.
20:11:15FromDiscord<bubblie> In reply to @Buckwheat "while the idea of": yes and no, it really just depends on how well your code is structured and the project you are doing but generally speaking a borrow checker can cause a lot of compile time overhead. It mostly was made to solve the runtime overhead problem but I do feel like when it comes to compilation it can be pretty bad
20:11:33FromDiscord<bubblie> some rust projects don't really take this into consideration
20:11:51*maytham joined #nim
20:11:54FromDiscord<bubblie> rust IS still really fast, but I primarily do not use rust because of the syntax
20:12:16FromDiscord<bubblie> and on top of that, it's a very locked down environment, while nim is not
20:12:51FromDiscord<Buckwheat> I don't use it mostly due to the C++-like syntax, the feature bloat, the compile time overhead, and ironically I still work with a language much faster than it (C) and I have done a lot of due diligence to write in said language quite safely↵(@bubblie)
20:13:29FromDiscord<Buckwheat> that and... well... Rust is not the abstraction I want nor need, and it's trying to still do a job that I can just more efficiently do in the other languages I know how to work with
20:13:39FromDiscord<bubblie> thats so valid
20:14:00FromDiscord<bubblie> I thought C++ symbol soup was pretty bad till I started using rust 😭
20:14:51FromDiscord<Buckwheat> that said, I do still think that having high-level languages with some added memory safety is good, but it's important to understand that memory safety is kind of a misnomer and you can still do insanely unsafe things in a "memory safe" language. it's not a silver bullet.
20:15:03FromDiscord<bubblie> correct
20:15:12FromDiscord<bubblie> flashbacks to java memory leaks
20:15:15FromDiscord<bubblie> 😭😭😭😭
20:15:40FromDiscord<Buckwheat> but as well, high-level should be used in high-level places where you don't need to understand EVERYTHING happening under the hood, and if you do work closer to the hardware, you really cannot have any abstraction, you have to know what's going on so you don't do something in an unsafe manner.
20:15:52FromDiscord<bubblie> yes
20:15:58FromDiscord<Buckwheat> it's a bit of a funny irony really.
20:16:35FromDiscord<Buckwheat> brb for however long I'll be gone for...
20:16:45FromDiscord<bubblie> ur good
20:17:13FromDiscord<bubblie> I do wonder how nimony is really gonna standardized error codes especially with stblib versions, I think that's my only question with nimony after reading everything
20:17:17FromDiscord<bubblie> but I am excited for it
20:17:44FromDiscord<bubblie> hopefully people will start to see more and more how powerful nim actually is
20:18:39FromDiscord<mjsdev> dx and ecosystem is #1 for world dominance
20:33:41FromDiscord<bubblie> also is there a thing like pyenv for nim?
20:34:05FromDiscord<bubblie> or nimble
20:34:57FromDiscord<bubblie> I dont think it particularly needs it
20:34:59FromDiscord<bubblie> just curious
20:45:18*mid-kid joined #nim
20:45:57mid-kidquestion: I want to do something like "for fields in splitWhitespace(lines("file.txt")):"
20:46:06mid-kidBut of course splitWhitespace doesn't take an iterator
20:46:18mid-kidIs there a way I can do this?
20:46:52mid-kidOh I see I can do "toSeq(lines("file.txt"))", but that feels wrong.
20:46:54FromDiscord<Elegantbeef> `for line in file.lines: for fields in line.split: ...`
20:47:32mid-kidI suppose I can nest this, was just wondering if there was a one-line way of nesting iterators
20:48:12mid-kidreadLines() returns a seq like splitWhitespace() expects, but readLines() requires knowing the length of the file, for some reason.
20:50:17mid-kidnever mind, toSeq doesn't work either
20:57:40FromDiscord<bubblie> The library supports both Nim’s C/C++ backends as well as the JavaScript target. The latter was added in v0.4.2 and is still experimental. Certain features are currently not supported (reading files from disk, reading CSVs from a URL).↵↵Im noticing datamancer does not support reading csv’s from a URL but this doesn’t seem crazy to implement? I might work on that soon
21:11:39FromDiscord<bubblie> https://arrow.apache.org/docs/index.html I think having some robust bindings to Apache Arrow in nim would be like, ground breaking
21:12:32FromDiscord<bubblie> 👀
21:18:48*maytham quit (Ping timeout: 256 seconds)
21:52:34FromDiscord<microssd.> if I have dependencies listed in .nimble file, and I compile using nim c will the compiler get the dependencies?
22:13:12FromDiscord<Robyn [She/Her]> In reply to @bubblie "I dont think it": you can install Nim via Atlas/Nimble tbf
22:30:57FromDiscord<bubblie> In reply to @battery.acid.bubblegum "you can install Nim": Wait holy shit atlas is literally nim pyenv LMAO
22:31:38FromDiscord<bubblie> Also it’s been a while hasn’t it
22:53:35*beholders_eye quit (Ping timeout: 240 seconds)
23:07:51FromDiscord<Robyn [She/Her]> In reply to @bubblie "Also it’s been a": it has yis, hru
23:08:02FromDiscord<Robyn [She/Her]> In reply to @bubblie "Wait holy shit atlas": haven't used atlas much but i think so
23:13:22FromDiscord<bubblie> In reply to @battery.acid.bubblegum "it has yis, hru": good you?
23:13:40FromDiscord<Robyn [She/Her]> also alright, excluding my current state of illness lmao
23:13:49FromDiscord<alexander888alexander> hi
23:13:55FromDiscord<Robyn [She/Her]> hallo
23:14:06FromDiscord<alexander888alexander> I took a break from coding
23:16:44FromDiscord<Robyn [She/Her]> that's fair
23:17:21FromDiscord<bubblie> In reply to @battery.acid.bubblegum "also alright, excluding my": damn
23:17:36FromDiscord<bubblie> sorry to hear
23:18:01FromDiscord<Robyn [She/Her]> ehh it's alright, I'm much better than i was a few hours ago
23:19:15FromDiscord<bubblie> Im going to see if I can get Volk working in nim because i think it might be a godsent to have
23:19:34FromDiscord<bubblie> a meta loader vulkan api for nim would make things a lot easier
23:21:22FromDiscord<Robyn [She/Her]> In reply to @bubblie "Im going to see": Volk?
23:21:39FromDiscord<Robyn [She/Her]> In reply to @bubblie "a meta loader vulkan": i do not understand those words in this context :p
23:23:24FromDiscord<bubblie> https://github.com/zeux/volk
23:23:41FromDiscord<bubblie> In reply to @battery.acid.bubblegum "i do not understand": it basically tagets vulkan on every system without a ddl link or static link
23:23:45FromDiscord<bubblie> (edit) "tagets" => "targets"
23:23:54FromDiscord<bubblie> it's really nice in my usage of it in plain C++
23:24:11FromDiscord<nasuray> In reply to @microssd. "if I have dependencies": If they are installed with nimble than i'd suggest using `nimble setup` (optionally with `-l` for local deps more)
23:24:34FromDiscord<bubblie> its really time I returned and finished this project because it's been nagging at me
23:25:09FromDiscord<bubblie> I wanted to provide more nim vulkan example projects for the community and get some sort of minature engine working
23:31:25FromDiscord<Robyn [She/Her]> In reply to @bubblie "it basically targets vulkan": oh huh, neat
23:33:05*xet7 quit (Remote host closed the connection)
23:41:55*oprypin quit (Quit: Bye)
23:42:04*oprypin joined #nim
23:42:21*derpydoo joined #nim