<< 02-06-2022 >>

00:14:31*jingyu joined #nim
00:15:34*rockcavera quit (Read error: Connection reset by peer)
00:16:12*rockcavera joined #nim
00:16:13*rockcavera quit (Changing host)
00:16:13*rockcavera joined #nim
00:18:16*jingyu quit (Remote host closed the connection)
00:26:17*noeontheend joined #nim
00:26:58*noeontheend quit (Read error: Connection reset by peer)
00:27:34*noeontheend joined #nim
00:28:15*noeontheend quit (Read error: Connection reset by peer)
00:29:22*noeontheend joined #nim
00:29:22*noeontheend quit (Read error: Connection reset by peer)
00:29:59*noeontheend joined #nim
00:29:59*noeontheend quit (Read error: Connection reset by peer)
00:31:06*noeontheend joined #nim
00:31:06*noeontheend quit (Read error: Connection reset by peer)
00:32:15*noeontheend joined #nim
00:32:15*noeontheend quit (Read error: Connection reset by peer)
00:33:23*noeontheend joined #nim
00:33:23*noeontheend quit (Read error: Connection reset by peer)
00:34:29*noeontheend joined #nim
00:34:29*noeontheend quit (Read error: Connection reset by peer)
00:35:35*noeontheend joined #nim
00:35:58*noeontheend quit (Read error: Connection reset by peer)
00:36:36*noeontheend joined #nim
00:37:08*noeontheend quit (Read error: Connection reset by peer)
00:37:35*jmdaemon quit (Read error: Connection reset by peer)
00:37:44*noeontheend joined #nim
00:38:00*jmdaemon joined #nim
00:38:00*noeontheend quit (Read error: Connection reset by peer)
00:38:38*noeontheend joined #nim
00:39:20*noeontheend quit (Read error: Connection reset by peer)
00:39:57*noeontheend joined #nim
00:40:27*noeontheend quit (Read error: Connection reset by peer)
00:41:04*noeontheend joined #nim
00:41:22*noeontheend quit (Read error: Connection reset by peer)
00:41:35*arkurious quit (Quit: Leaving)
00:41:59*noeontheend joined #nim
00:45:48*vicfred quit (Quit: Leaving)
00:46:27*noeontheend quit (Read error: Connection reset by peer)
00:47:05*noeontheend joined #nim
00:47:05*noeontheend quit (Read error: Connection reset by peer)
00:48:11*noeontheend joined #nim
00:48:11*noeontheend quit (Read error: Connection reset by peer)
00:49:18*noeontheend joined #nim
00:55:33*noeontheend quit (Read error: Connection reset by peer)
00:56:11*noeontheend joined #nim
00:57:31*noeontheend quit (Read error: Connection reset by peer)
00:58:07*noeontheend joined #nim
01:06:32*noeontheend quit (Read error: Connection reset by peer)
01:08:23*noeontheend joined #nim
01:13:47*noeontheend quit (Read error: Connection reset by peer)
01:14:23*noeontheend joined #nim
01:18:02*noeontheend quit (Read error: Connection reset by peer)
01:18:38*noeontheend joined #nim
01:20:46*noeontheend quit (Write error: Connection reset by peer)
01:21:22*noeontheend joined #nim
01:21:22*noeontheend quit (Read error: Connection reset by peer)
01:24:25*noeontheend joined #nim
01:24:51*noeontheend quit (Read error: Connection reset by peer)
01:25:28*noeontheend joined #nim
01:28:29*noeontheend quit (Read error: Connection reset by peer)
01:29:05*noeontheend joined #nim
01:29:05*noeontheend quit (Read error: Connection reset by peer)
01:30:12*noeontheend joined #nim
01:32:12*noeontheend quit (Read error: Connection reset by peer)
01:32:49*noeontheend joined #nim
01:32:49*noeontheend quit (Read error: Connection reset by peer)
01:33:56*noeontheend joined #nim
01:33:57*noeontheend quit (Read error: Connection reset by peer)
01:35:05*noeontheend joined #nim
01:35:05*noeontheend quit (Read error: Connection reset by peer)
01:35:42*noeontheend joined #nim
01:36:42*noeontheend quit (Read error: Connection reset by peer)
01:37:20*noeontheend joined #nim
01:37:20*noeontheend quit (Read error: Connection reset by peer)
01:37:57*noeontheend joined #nim
01:45:20*noeontheend quit (Read error: Connection reset by peer)
01:46:27*noeontheend joined #nim
01:49:58*noeontheend quit (Read error: Connection reset by peer)
01:50:35*noeontheend joined #nim
01:51:05*noeontheend quit (Read error: Connection reset by peer)
01:51:42*noeontheend joined #nim
01:51:42*noeontheend quit (Read error: Connection reset by peer)
01:52:49*noeontheend joined #nim
02:01:58*noeontheend quit (Read error: Connection reset by peer)
02:02:34*noeontheend joined #nim
02:03:42*noeontheend quit (Read error: Connection reset by peer)
02:04:18*noeontheend joined #nim
02:07:51*jingyu joined #nim
02:14:00*noeontheend quit (Read error: Connection reset by peer)
02:14:37*noeontheend joined #nim
02:21:39*jingyu quit (Remote host closed the connection)
02:22:17*noeontheend quit (Ping timeout: 258 seconds)
04:41:13*rockcavera quit (Remote host closed the connection)
06:31:25*PMunch joined #nim
07:34:45NimEventerNew thread by Mardiyah: Nim conspicuously contradicts its efficient, simplicity philosophy, see https://forum.nim-lang.org/t/9191
08:04:50NimEventerNew thread by Cmc: Nim addressed my one major complaint, see https://forum.nim-lang.org/t/9192
08:19:41*mahlon quit (Ping timeout: 255 seconds)
09:57:45*jmdaemon quit (Ping timeout: 256 seconds)
10:19:15*xet7 joined #nim
10:29:16*jjido joined #nim
10:45:08*xet7 quit (Remote host closed the connection)
10:57:13NimEventerNew thread by Cmc: Is `setTimer` workable for long term timers, e.g 30 days?, see https://forum.nim-lang.org/t/9193
11:13:52NimEventerNew post on r/nim by mavavilj: std/db_postgres and permissions for compiling?, see https://reddit.com/r/nim/comments/v36gnr/stddb_postgres_and_permissions_for_compiling/
11:25:16NimEventerNew thread by Tcheran: Passing tab separator as option value, see https://forum.nim-lang.org/t/9194
11:28:10*jjido quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
12:02:06NimEventerNew post on r/nim by mavavilj: Does there exist support for shapefiles yet?, see https://reddit.com/r/nim/comments/v379ge/does_there_exist_support_for_shapefiles_yet/
12:06:07NimEventerNew post on r/nim by mavavilj: Django reimplementation or alternatives for Nim?, see https://reddit.com/r/nim/comments/v37c3z/django_reimplementation_or_alternatives_for_nim/
12:44:19NimEventerNew post on r/nim by mavavilj: Most promising REST API to support geographic information systems (like Leaflet etc.)?, see https://reddit.com/r/nim/comments/v381ty/most_promising_rest_api_to_support_geographic/
12:46:20NimEventerNew post on r/nim by mavavilj: What is the most promising REST API for Nim to support geographic information systems (like Leaflet etc.)?, see https://reddit.com/r/nim/comments/v382cv/what_is_the_most_promising_rest_api_for_nim_to/
12:50:57*rockcavera joined #nim
12:50:57*rockcavera quit (Changing host)
12:50:57*rockcavera joined #nim
13:34:17*arkurious joined #nim
13:34:19*rockcavera quit (Remote host closed the connection)
14:06:22*PMunch quit (Quit: Leaving)
14:24:32*FromDiscord quit (Remote host closed the connection)
14:24:46*FromDiscord joined #nim
14:24:56Yardanicotest
14:25:01FromDiscord<Yardanico> test
14:25:09FromDiscord<Yardanico> Okay, works now
15:36:27FromDiscord<spoon> ooo, more enu updates
16:35:21*jjido joined #nim
16:39:53FromDiscord<nwilburn> sent a code paste, see https://play.nim-lang.org/#ix=3ZdO
16:43:14FromDiscord<Yardanico> you can for example use an array to map enum elements to specific bytes you need
16:43:27NimEventerNew post on r/nim by mavavilj: Why does Nim "wrap" C, rather than allow C code to be pasted directly to .nim files?, see https://reddit.com/r/nim/comments/v3d2sp/why_does_nim_wrap_c_rather_than_allow_c_code_to/
16:45:23FromDiscord<Yardanico> sent a code paste, see https://play.nim-lang.org/#ix=3ZdR
16:45:42FromDiscord<Yardanico> you can also make it a converter so it's implicit, but converters are typically avoided in nim code
16:46:24FromDiscord<nwilburn> Oh neat thanks!
16:46:44FromDiscord<Yardanico> also, what specifically do you need bytes for? you can convert enum values to bytes when you need to
16:46:56FromDiscord<Yardanico> so you can pass around enum values, and only convert to bytes when serializing the bytecode
16:47:58FromDiscord<nwilburn> How would I convert to bytes when I need to?
16:49:11FromDiscord<Yardanico> In reply to @nwilburn "How would I convert": if you have less than 255 enum members, they'll fit in a byte, so you just do `byte(myEnumVal)`
16:49:27FromDiscord<Yardanico> and nim does use the smallest possible size for enums
16:49:59FromDiscord<nwilburn> oh derp. thanks I'll give that a shot. This has been helpful!
16:50:52FromDiscord<michaelb.eth> any movement here? what would be helpful to move it forward?↵https://github.com/dom96/choosenim/issues/297↵↵I ran into this today when banging around with `docker run -it --rm ubuntu:22.04 bash`
16:54:02FromDiscord<Yardanico> you need to install libssl1 manually
16:54:13FromDiscord<Yardanico> https://forum.nim-lang.org/t/9168#60110
16:54:47FromDiscord<michaelb.eth> yes, I meant, is there any current work toward that not being required?
16:55:20FromDiscord<michaelb.eth> and, what, if anything, would be helpful in that regard?
16:57:06FromDiscord<Yardanico> In reply to @michaelb.eth "yes, I meant, is": yes, there is federico3's PR
17:00:08FromDiscord<michaelb.eth> also, since `Installation using choosenim` is the first heading under `Install Nim on Unix`, has there been recent consideration of moving `github.com/dom96/choosenim` to `https://github.com/nim-lang/choosenim`?
17:01:03FromDiscord<michaelb.eth> I'm sure @dom96 might have a preference in that regard, but given how prominent `choosenim` is as a recommended installation method, seems like a good idea
17:01:24FromDiscord<michaelb.eth> (edit) "`https://github.com/nim-lang/choosenim`?" => "`github.com/nim-lang/choosenim`?"
17:01:54FromDiscord<michaelb.eth> (edit) "method," => "method on Nim's official website, it"
17:05:12FromDiscord<michaelb.eth> In reply to @Yardanico "yes, there is federico3's": https://github.com/nim-lang/Nim/pulls?q=author%3Afederico3+
17:05:25FromDiscord<michaelb.eth> (edit) "https://github.com/nim-lang/Nim/pulls?q=author%3Afederico3+" => "https://github.com/nim-lang/Nim/pulls?q=author%3Afederico3"
17:06:37FromDiscord<Yardanico> i was referring with his chat nickname, not github nickname
17:06:40FromDiscord<Yardanico> In reply to @michaelb.eth "https://github.com/nim-lang/Nim/pulls?q=author%3Afe": https://github.com/nim-lang/Nim/pull/19814
17:08:07FromDiscord<michaelb.eth> In reply to @Yardanico "https://github.com/nim-lang/Nim/pull/19814": thanks
17:12:22FromDiscord<federico3> https://github.com/nim-lang/Nim/pull/19814 \<-- this one
17:22:58*rockcavera joined #nim
17:22:58*rockcavera quit (Changing host)
17:22:58*rockcavera joined #nim
17:27:02*mahlon joined #nim
17:30:12FromDiscord<geekrelief> sent a code paste, see https://play.nim-lang.org/#ix=3ZdY
17:30:37FromDiscord<geekrelief> (edit)
17:32:07FromDiscord<geekrelief> I guess I can emit the "N_NIMCALL... echoBinSafe" as well, but I'm wondering if there's cleaner way to do it without having to compile and grab the declarations from the nimcache.
17:40:23FromDiscord<Korven> Finally got Nim working so, hello y'all! Hope to have a blast with Nim and learn alot from all of ya 😄
17:51:47FromDiscord<geekrelief> ok I can do this:
17:52:26FromDiscord<geekrelief> sent a code paste, see https://paste.rs/PVY
17:52:50FromDiscord<geekrelief> In reply to @Korven "Finally got Nim working": Welcome.
17:53:49FromDiscord<geekrelief> sent a code paste, see https://paste.rs/O6H
17:53:51FromDiscord<geekrelief> that won't work lol
17:56:04FromDiscord<geekrelief> oh I can put `{.exportc.}` on the `declBody`
17:57:43FromDiscord<Korven> is there like a standard nim project template?
18:00:37FromDiscord<Yardanico> In reply to @Korven "is there like a": there really isn't, but there is a standard nimble project template
18:00:39FromDiscord<Yardanico> `nimble init`
18:00:58FromDiscord<Korven> hm
18:02:14FromDiscord<Korven> ooh that seems nice
18:02:18FromDiscord<spoon> this error output takes up an entire terminal window https://media.discordapp.net/attachments/371759389889003532/981981095929196604/unknown.png https://media.discordapp.net/attachments/371759389889003532/981981096189259847/unknown.png
18:02:57FromDiscord<spoon> is there supposed to be more information before this? because it's not giving me a line number
18:04:28*jjido quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
18:30:42FromDiscord<Prestige> Can you scroll up?
18:51:09*rockcavera quit (Remote host closed the connection)
18:55:47*dithpri joined #nim
18:59:53*rockcavera joined #nim
18:59:53*rockcavera quit (Changing host)
18:59:54*rockcavera joined #nim
19:01:50*dithpri left #nim ('); DROP TABLE Users;--)
19:08:54*dithpri[m] joined #nim
20:03:44FromDiscord<Prestige> I wish I could use Nim at work, I'm so tired of JS nonsense
20:04:03FromDiscord<ynfle> Convince your manager
20:05:00FromDiscord<Prestige> Would be a very hard sell at this point, given most of our js devs hardly get by using computers and only know js
20:09:56*jmdaemon joined #nim
20:29:51FromDiscord<laglure> Hey everyone, I'm new to the Discord here, but is there any part of the community focused on docs and education materials? I'm looking for some opportunities to contribute in that area.
20:53:30FromDiscord<Elegantbeef> This is the one downside of macro based async but the error originates on line 54↵(@spoon)
20:54:11FromDiscord<spoon> In reply to @Elegantbeef "This is the one": `waitFor discord.startSession()`
20:54:13FromDiscord<spoon> this is line 54
20:54:55FromDiscord<spoon> In reply to @Avahe "Can you scroll up?": nah, the console cuts of there, way too many lines
20:55:05FromDiscord<Elegantbeef> 496 is the next user code line
20:55:11FromDiscord<Elegantbeef> inside gateway.nim
20:55:31FromDiscord<spoon> that's the library\
20:55:34FromDiscord<spoon> (edit) "library\" => "library"
20:55:41FromDiscord<Elegantbeef> Yes
20:56:20FromDiscord<spoon> it says it couldn't find an id with that number, but i'm not sure what line to put a try/catch on
20:56:50FromDiscord<spoon> at least i don't have too many lines to look through
21:21:24*xet7 joined #nim
21:26:40*jjido joined #nim
21:30:11FromDiscord<0x1e> sent a code paste, see https://play.nim-lang.org/#ix=3ZeA
21:35:44FromDiscord<0x1e> sent a code paste, see https://play.nim-lang.org/#ix=3ZeC
21:43:15FromDiscord<Yardanico> nim only supports http(s) proxies
21:43:19FromDiscord<Yardanico> i mean httpclient
21:43:33FromDiscord<ajusa> Anyone know if you can use nimpy with threads? Trying to use a python library from different threads and it doesn't like that for gc safety
21:43:34FromDiscord<Yardanico> check https://github.com/enthus1ast/nimSocks maybe
21:44:44FromDiscord<enthus1ast> the client only supports socket, no http client
21:44:48FromDiscord<Yardanico> yeah
21:45:56FromDiscord<ss219> New to nim, just curious, does it feel like the nim community is growing or stagnating? I checked languish, a site which compares language popularity, and nim seems to be going down in popularity based on their data. How does it feel from your perspective?
21:47:48FromDiscord<Elegantbeef> Seems like it's a mixed bag of growth and stagnation
21:48:07FromDiscord<Elegantbeef> Lots of people try it but dont know how many stay or are active in the community
21:53:51FromDiscord<j-james> is there a flag to make nim compile binaries with a `.out` extension or similar?
21:54:03FromDiscord<j-james> something that can be matched by .gitignore
21:58:47FromDiscord<ss219> In reply to @Elegantbeef "Seems like it's a": Do you think long term nim will succeed? Or will something better come along (perhaps with better industry backing) before it has a chance?
22:00:47FromDiscord<Andreas> In reply to @ss219 "Do you think long": wait, looking into my glass-ball, listen - it says 'i have no idea..' so who knows ?
22:00:57FromDiscord<0x1e> In reply to @Yardanico "check https://github.com/enthus1ast/nimSocks maybe": I tried it, but I failed to use it;
22:01:08FromDiscord<0x1e> sent a code paste, see https://play.nim-lang.org/#ix=3ZeL
22:02:40FromDiscord<0x1e> sent a code paste, see https://play.nim-lang.org/#ix=3ZeM
22:03:12FromDiscord<ynfle> In reply to @j-james "is there a flag": There is a --out/-o flag to define the output filename
22:04:38FromDiscord<j-james> ah, ty
22:04:45FromDiscord<j-james> forgot about the `--fullhelp` flag
22:04:51*dtomato quit (Quit: The Lounge - https://thelounge.chat)
22:06:15*jjido quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
22:07:02FromDiscord<0x1e> sent a code paste, see https://play.nim-lang.org/#ix=3ZeO
22:12:34*xaltsc quit (Read error: Connection reset by peer)
22:24:20*gsalazar quit (Ping timeout: 255 seconds)
22:26:05*vicfred joined #nim
22:36:31NimEventerNew thread by Georgeethan: Is it possible to create a blockchain with the nim programming language? , see https://forum.nim-lang.org/t/9195
23:20:57FromDiscord<sOkam!> What GUI frameworks do you guys recommend for working with Nim?↵It's mainly for a game engine, and tools related to it↵I have nimgui in mind, but do you guys recommend anything else outside of that?
23:21:41FromDiscord<Elegantbeef> I just made my own GUI cause i didnt like any of the other one's API
23:21:46FromDiscord<Elegantbeef> Declarative retained GUI is best
23:22:10FromDiscord<Elegantbeef> If you want an imgui nuklear or imgui is your best bet
23:22:18FromDiscord<Elegantbeef> dear-imgui i mean of course
23:22:24FromDiscord<Elegantbeef> Otherwise you're... pretty screwed
23:28:58FromDiscord<sOkam!> idc about either. just looking for options 🤷‍♂️
23:31:06FromDiscord<j-james> these are most of the options: https://github.com/xflywind/awesome-nim#gui
23:31:42FromDiscord<j-james> + sdl wrappers and windy
23:33:19FromDiscord<Elegantbeef> There arent really many gui libraries sadly
23:33:35FromDiscord<Elegantbeef> The ones that do exist are mostly imguis which isnt fun ime
23:38:02FromDiscord<!Patitotective> https://github.com/Patitotective/ImTemplate hehe
23:53:08*arkurious quit (Quit: Leaving)
23:59:05FromDiscord<IzanamiのMegumi> that's funny
23:59:15FromDiscord<IzanamiのMegumi> im on lesson 10 of nim for begginers playlist
23:59:34FromDiscord<IzanamiのMegumi> and I realized that if you change the inc function's place you get 2 different results