<< 30-05-2021 >>

00:02:01*test300-M29 joined #nim
00:02:38*test300-M29 quit (Remote host closed the connection)
00:05:28*Diamondcite joined #nim
00:05:39*Diamondcite quit (Remote host closed the connection)
00:14:24*thuttu770 joined #nim
00:14:42*thuttu770 quit (Remote host closed the connection)
00:28:26ForumUpdaterBotNew thread by Masiarek2: Print dates in reversed order, see https://forum.nim-lang.org/t/8055
00:56:56*nphg joined #nim
00:58:46*nphg1 quit (Ping timeout: 240 seconds)
01:11:19*xet7 joined #nim
01:20:58FromGitter<BracketMaster> does Nim support any RTOS at the moment?
01:22:24*kur1j joined #nim
01:22:58*kur1j quit (Remote host closed the connection)
01:24:08*dxrt joined #nim
01:26:15*arkurious quit (Quit: Leaving)
01:28:35FromDiscord<ElegantBeef> Seems it supports freeRtos in some regard
01:29:36*gchamoul17 joined #nim
01:30:05*gchamoul17 quit (Remote host closed the connection)
01:44:01*dxrt left #nim ("Textual IRC Client: www.textualapp.com")
02:01:46*tokudan joined #nim
02:01:59*tokudan quit (Remote host closed the connection)
02:09:24*DNS joined #nim
02:09:31*DNS is now known as Guest52695
02:09:58*Guest52695 quit (Remote host closed the connection)
02:21:24*NimBot joined #nim
02:31:38FromDiscord<Airbus5717> Are there any good PDFs for nim?ā†µSo I can use as a ref
02:33:17FromDiscord<ElegantBeef> What do you mean?
02:33:23FromDiscord<Hi02Hi> the file format?
02:35:16FromDiscord<Airbus5717> A book lol for nim
02:35:26FromDiscord<ElegantBeef> Well nim in action exists
02:35:30FromDiscord<ElegantBeef> Also there is http://ssalewski.de/nimprogramming.html
02:35:30FromDiscord<Airbus5717> But I want PDF
02:35:45FromDiscord<Airbus5717> Cuz I will print it
02:35:47FromDiscord<ElegantBeef> Doesnt nim in action have a ebook?
02:35:54FromDiscord<ElegantBeef> You want a pdf cause you will print it?
02:36:19FromDiscord<Airbus5717> In reply to @ElegantBeef "You want a pdf": Yes
02:36:31FromDiscord<ElegantBeef> Why not spend $40 and get the printed nim in action?
02:37:07FromDiscord<Airbus5717> Hmm
02:37:28FromDiscord<Airbus5717> I'll try that website and convert it
02:39:12FromDiscord<Hi02Hi> In reply to @ElegantBeef "Also there is http://ssalewski.de/nimprogramming.ht": wow now that i check, he updated it for destructors and the stdlib
02:39:19FromDiscord<Hi02Hi> (edit) "wow" => "Wow"
02:40:10*TingPing13 joined #nim
02:40:48*TingPing13 quit (Remote host closed the connection)
02:49:02FromDiscord<ElegantBeef> @stefansalewski dont know if you'll see this but in your book, every use of the word `intent` should be `intend` šŸ˜„
02:49:45FromDiscord<Hi02Hi> is he around?
02:49:55FromDiscord<ElegantBeef> On gitter or irc i think, so maybe
02:50:28*arecaceae quit (Remote host closed the connection)
02:50:29FromDiscord<Hi02Hi> iirc there should be an issue tracker
02:50:46*arecaceae joined #nim
02:51:28FromDiscord<Hi02Hi> found it https://github.com/StefanSalewski/NimProgrammingBook
02:52:11FromDiscord<ElegantBeef> Yea seems he'd take a PR
03:11:03*aftix28 joined #nim
03:11:12*aftix28 quit (Remote host closed the connection)
03:15:14*groepaz7 joined #nim
03:15:16*groepaz7 quit (Remote host closed the connection)
03:26:06*spiderstew_ joined #nim
03:27:15*spiderstew quit (Ping timeout: 250 seconds)
03:57:47*hatiac23 joined #nim
03:58:06*hatiac23 quit (Killed (Sigyn (Spam is off topic on freenode.)))
04:08:07*Guest89583 joined #nim
04:08:20*Guest89583 quit (Remote host closed the connection)
04:10:25*inittab_ joined #nim
04:10:41*inittab_ quit (Remote host closed the connection)
04:31:33*motersen quit (Ping timeout: 240 seconds)
04:32:20*motersen joined #nim
04:46:23*maslan joined #nim
04:46:30*maslan quit (Remote host closed the connection)
04:59:45*letto quit (Quit: Konversation terminated!)
05:00:44*letto joined #nim
05:13:06*letto quit (Quit: Konversation terminated!)
05:15:31*pauljw joined #nim
05:15:35*pauljw quit (Remote host closed the connection)
05:40:21*held joined #nim
05:40:31*held quit (Remote host closed the connection)
06:12:26*hyiltiz quit (Ping timeout: 265 seconds)
06:15:05*itchy16 joined #nim
06:15:24*itchy16 quit (Remote host closed the connection)
06:17:17*hyiltiz joined #nim
06:18:09*the-mentor joined #nim
06:18:44*the-mentor quit (Remote host closed the connection)
06:23:18*rockcavera quit (Remote host closed the connection)
06:29:23*SebastianM joined #nim
06:32:46*letto joined #nim
06:49:03*Burek joined #nim
06:49:10*Burek quit (Remote host closed the connection)
06:55:59*H__ joined #nim
06:56:09*H__ quit (Killed (Sigyn (Spam is off topic on freenode.)))
07:03:12*rockcavera joined #nim
07:25:30*SebastianM left #nim (#nim)
07:37:13*d6chung21 joined #nim
07:37:18*d6chung21 quit (Remote host closed the connection)
07:42:14*nimaje0 joined #nim
07:42:37*nimaje0 quit (Remote host closed the connection)
07:45:20*DetectiveTaco11 joined #nim
07:45:44*DetectiveTaco11 quit (Remote host closed the connection)
07:46:55*msgctl joined #nim
07:47:11*msgctl is now known as Guest71416
07:47:39*Guest71416 quit (Remote host closed the connection)
07:54:00FromDiscord<Varriount> Well, this has greatly surprised me.ā†µhttps://github.com/nim-lang/Nim/pull/17699
08:14:03*Lightkey14 joined #nim
08:14:38*Lightkey14 quit (Remote host closed the connection)
09:00:55FromDiscord<KnorrFG> hey, do we have a bimap type?
09:01:21FromDiscord<KnorrFG> maybe in a some third party lib that I didnt find?
09:35:33*simputer_ joined #nim
09:35:45*simputer_ quit (Remote host closed the connection)
09:51:33*Khetzal7 joined #nim
09:52:01*Khetzal7 quit (Remote host closed the connection)
09:57:53*Vladar joined #nim
10:19:33*pharada_0 joined #nim
10:20:03*pharada_0 quit (Remote host closed the connection)
10:31:56FromDiscord<0ffh> Install 850MB of asciidoc dependencies? No thank you!
10:43:52FromGitter<bung87> any reason mysql client receive mysql quit command packet `10011`?
10:50:30FromGitter<bung87> nvm
11:01:28*aaro joined #nim
11:01:43*aaro is now known as Guest15349
11:01:49*stealthii27 joined #nim
11:02:02*Guest15349 quit (Remote host closed the connection)
11:02:12*stealthii27 quit (Remote host closed the connection)
11:04:03*lieter8 joined #nim
11:04:17*lieter8 quit (Remote host closed the connection)
11:04:29*adp joined #nim
11:04:58*adp quit (Killed (Sigyn (Spam is off topic on freenode.)))
11:19:11*NimBot joined #nim
11:20:46*lritter joined #nim
11:24:20*arkurious joined #nim
11:26:56*t[m]519 joined #nim
11:27:20*t[m]519 quit (Remote host closed the connection)
11:35:38*amiri joined #nim
11:35:59*NimBot joined #nim
11:36:14*amiri quit (Remote host closed the connection)
11:39:38ForumUpdaterBotNew thread by Mrhdias: How can I use return value from a spawned function in Nim?, see https://forum.nim-lang.org/t/8056
11:47:57*ggVGc19 joined #nim
11:48:18*ggVGc19 quit (Killed (Sigyn (Spam is off topic on freenode.)))
11:54:10*SLWW_ joined #nim
11:54:22*SLWW_ quit (Remote host closed the connection)
11:58:08*NimBot joined #nim
12:17:42*NimBot joined #nim
12:19:52FromDiscord<dsd> hi all im trying to install nim,i have download it the zip file and run finish.exe, i got an error when trying to download Mingw and now i have to move the mingw64 zip in to nim/dist. my question is kinda simple and maybe kinda dumb but should i put the zip as is. or should i extract it and move it then?
12:22:49*d6chung22 joined #nim
12:23:16*d6chung22 quit (Remote host closed the connection)
12:25:53*overclucker joined #nim
12:26:16*overclucker quit (Remote host closed the connection)
12:39:03Oddmongeris there a formater for nim sources sowewhere ? It should follow the Ā«NEP1Ā» rules, that would be perfect (help me to not become mad with a bit rigid fellow coder :Ć¾ )
12:39:04*nobyk28 joined #nim
12:39:34*nobyk28 quit (Remote host closed the connection)
12:44:21FromDiscord<Rika> nimpretty
12:44:27FromDiscord<Rika> installed alongside nim
12:49:18Oddmongerthank you i try
13:18:58*retroid_ joined #nim
13:19:38*retroid_ quit (Remote host closed the connection)
13:30:11*luminoso-M17 joined #nim
13:30:37*luminoso-M17 quit (Remote host closed the connection)
13:49:57ForumUpdaterBotNew thread by DarkBlue: Unidecode, see https://forum.nim-lang.org/t/8057
13:52:33*tane joined #nim
14:03:13*gnustomp joined #nim
14:03:16*gnustomp quit (Killed (Sigyn (Spam is off topic on freenode.)))
14:13:34*whaletechno quit (Ping timeout: 272 seconds)
14:22:54*Gustavo6046 quit (Ping timeout: 245 seconds)
14:41:31*asd2 joined #nim
14:42:12*asd2 quit (Client Quit)
15:18:03FromDiscord<Encrypted Backpack> what the fuck was nim again
15:20:06*jcs joined #nim
15:20:17*jcs quit (Remote host closed the connection)
15:34:10FromDiscord<Hi02Hi> from when you asked last time https://media.discordapp.net/attachments/371759389889003532/848585079793778718/PMEzmdn8GqjKZMgRkCMgQkIiAbJFBIjSyDBkCMgRkCPwMBP4Pe0vm5YnsSesAAAAASUVORK5CYII.png
15:34:15*jmspeex joined #nim
15:34:35*jmspeex quit (Killed (Sigyn (Spam is off topic on freenode.)))
15:50:25*kab-el8 joined #nim
15:50:31*kab-el8 quit (Read error: Connection reset by peer)
15:58:20*Sergey5-t joined #nim
15:58:40*Sergey5-t quit (Killed (Sigyn (Spam is off topic on freenode.)))
16:00:13*screamapiller[m] quit (Quit: Idle for 30+ days)
16:07:07*ephemient joined #nim
16:07:41*ephemient quit (Remote host closed the connection)
16:09:48*InPhase2 joined #nim
16:09:55*InPhase2 quit (Remote host closed the connection)
16:16:52*mns joined #nim
16:16:59*mns quit (Remote host closed the connection)
16:21:54*a_chou joined #nim
16:22:27*Gustavo6046 joined #nim
16:24:19ForumUpdaterBotNew thread by Mrhdias: How to pass a channel between spawned functions?, see https://forum.nim-lang.org/t/8058
16:24:40*dan_x23 joined #nim
16:25:03*dan_x23 quit (Remote host closed the connection)
16:38:20ForumUpdaterBotNew thread by Matthias: Undeclared identifier error from macro but not from resulting code, see https://forum.nim-lang.org/t/8059
16:44:26*Gustavo6046 quit (Ping timeout: 240 seconds)
16:45:07*Gustavo6046 joined #nim
16:48:22ForumUpdaterBotNew thread by Wag: How to sign message with RSA (openssl)?, see https://forum.nim-lang.org/t/8060
17:17:39*uvegbot joined #nim
17:20:16*morcos joined #nim
17:20:17*morcos quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:20:40*whaletechno joined #nim
17:23:52*Gustavo6046 quit (Quit: ZNC 1.8.2 - https://znc.in)
17:25:36*Gustavo6046 joined #nim
17:39:38*funkylab28 joined #nim
17:39:38*funkylab28 quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:39:53FromDiscord<Casey.McMahon> sent a long message, see http://ix.io/3oml
17:40:44FromDiscord<Rika> MyType[]
17:40:56FromDiscord<Rika> you can "dereference" types to get the non-ref version i believe
17:41:06FromDiscord<Rika> i dont remember if thats true
17:41:11FromDiscord<Casey.McMahon> cool, lemme try that
17:41:20FromDiscord<Rika> !eval echo (ref int)[]
17:41:21NimBotCompile failed: /usercode/in.nim(1, 15) Error: type mismatch: got <type ref int>
17:41:27FromDiscord<Rika> hm no
17:41:36FromDiscord<Rika> i forgot what's the thing for that then
17:41:51FromDiscord<Rika> but i remember some funky stuff you can do with types that arent intuitive to the traditional programmer
17:42:06FromDiscord<Rika> i think there's something in typeinfo or w/e the module is called
17:42:18FromDiscord<Rika> typetraits?
17:42:19FromDiscord<Rika> idk
17:42:35FromDiscord<Casey.McMahon> MyType[] generates `illformed ast` error
17:43:20FromDiscord<Rika> yeah yeah i said already its wrong sorry
17:44:18FromDiscord<Casey.McMahon> haha sorry. i'm googling `nim dereferencing` now...
17:44:39FromDiscord<Rika> !eval import typeinfo; echo (ref int)[]
17:44:40NimBotCompile failed: /usercode/in.nim(1, 32) Error: type mismatch: got <type ref int>
17:45:19FromDiscord<Rika> no no i forgot
17:45:22FromDiscord<Rika> i dont think it exists
17:45:56*superbia joined #nim
17:46:00FromDiscord<Casey.McMahon> i was seeing stuff about pointers, nothing on objects
17:46:10FromDiscord<Rika> lets see if ref is a generic under the hood..
17:46:11FromDiscord<Rika> !eval import typetraits; echo (ref int).genericHead
17:46:13NimBotCompile failed: /usercode/in.nim(1, 34) Error: expected generic type, got: type ref int of kind ref
17:46:29FromDiscord<Rika> !eval import typetraits; echo (ref int).distinctBase
17:46:31NimBotCompile failed: /usercode/in.nim(1, 34) Error: distinctBase expects a distinct type as argument. The given type was ref int
17:46:32*superbia left #nim (#nim)
17:47:06FromDiscord<Rika> yeah i dont think nim has a facility for this...
17:47:39FromDiscord<Casey.McMahon> Bigger picture, what I am trying to do is get the stuff I defined in newParser (using this library: https://github.com/iffy/nim-argparse) into a runtime object variable. But I am way over my head...
17:48:26FromDiscord<Casey.McMahon> which has a macro inside of a template, which really has my brain razzled.
17:50:51*SebastianM joined #nim
17:51:16*xet7 quit (Remote host closed the connection)
17:52:21*xet7 joined #nim
17:55:15FromDiscord<Casey.McMahon> sent a code paste, see https://play.nim-lang.org/#ix=3omo
17:55:41FromDiscord<Casey.McMahon> sent a code paste, see https://play.nim-lang.org/#ix=3omp
18:01:35*SebastianM quit (Quit: SebastianM)
18:09:37FromDiscord<quarternion> sent a code paste, see https://play.nim-lang.org/#ix=3omu
18:09:46FromDiscord<quarternion> Is there a better way of writing this, `Stats(domainCode: domainCode, pageTitle: pageTitle, countViews: countViews,ā†µ totalSize: totalSize)` seems to be quite verbose
18:10:19FromDiscord<Rika> no
18:10:29FromDiscord<Rika> well unless you make a macro
18:10:54FromDiscord<Rika> in which case you're not really saving much space unless you can make it more "generic" for any type
18:20:54FromDiscord<quarternion> Thanks. I was thinking of a similar feature as in Ocaml records: "filed punning".
18:59:57ForumUpdaterBotNew post on r/nim by David-Kunz: Learning Nim: Object Variants, see https://reddit.com/r/nim/comments/nohwkn/learning_nim_object_variants/
19:00:39ForumUpdaterBotNew thread by DavidKunz: Learning Nim: Object Variants [video], see https://forum.nim-lang.org/t/8061
19:19:58*lritter quit (Quit: Leaving)
19:21:30FromDiscord<Casey.McMahon> so is there any way to convert a compile time variable (that is a ref object) into a runtime variable?
19:26:08*theelous3 joined #nim
19:49:59*krux02 joined #nim
20:04:37*nerthus_ joined #nim
20:06:31*nerthus quit (Ping timeout: 246 seconds)
20:09:00*a_chou quit (Quit: a_chou)
20:18:25*Vladar quit (Quit: Leaving)
21:26:00FromGitter<BracketMaster> I've got a function: āŽ āŽ ```proc myProc(a, b, c : int) : int = āŽ 5``` āŽ āŽ I want to create a ``var args`` and then call ``myProc(args)`` [https://gitter.im/nim-lang/Nim?at=60b402e7bdecf719a08b4be7]
21:32:01FromGitter<BracketMaster> Does anyone know how I might accomplish that?
21:38:05FromGitter<BracketMaster> Python has tuple unpacking for functions
21:41:37*asrp[m] joined #nim
21:55:50*tane quit (Quit: Leaving)
22:15:10FromDiscord<ElegantBeef> Can you give a more indepth example
22:19:54FromDiscord<ElegantBeef> @BracketMaster ^
22:44:33*nerthus_ quit (Remote host closed the connection)
22:47:16*krux02 quit (Remote host closed the connection)
22:47:22FromGitter<BracketMaster> nvm that
22:48:48FromGitter<BracketMaster> well, I was thinking I could have ``var args = (a:1, b:2, c:3)`` and then call ``myProcs(args)`` - but for my particular case, I found a solution
22:48:56FromGitter<BracketMaster> that didn't really need that at all
22:50:46FromGitter<BracketMaster> I do have a new issue, I want to create a template because I have some int and float vectors, and don't want to have to manually write lots of procs: āŽ āŽ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=60b416c543fc4a24c5d55ad3]
23:24:50FromGitter<BracketMaster> nvm - got it
23:38:33*theelous3 quit (Read error: Connection reset by peer)
23:51:18*hyiltiz quit (Quit: hyiltiz)
23:52:27*hyiltiz joined #nim
23:52:27*hyiltiz quit (Changing host)
23:52:28*hyiltiz joined #nim