<< 11-03-2019 >>

00:00:11ryukopostingmsys2 seems to be pretty consistent, the bigger problem is lack of package availability
00:00:16shashlickNuisance really, waste time on dumb issues
00:00:17ryukopostinghooray for no fork()
00:01:16shashlickTrying to get my editor to build an exe for every push so folks can try it easily
00:02:52ryukoposting? your editor is building things?
00:03:28shashlickOh I mean build a new editor binary for every push
00:03:40ryukopostingooooooh
00:03:56shashlickBut ya it rebuilds its plugins if the files change too
00:05:03ryukopostingoh, neat
00:05:18ryukopostingI have never looked into any of the editor plugins lol
00:08:42shashlickIt was a challenge but Nim was pretty fun to build a plugin system with
00:09:02shashlickBoth nimterop and feud use it
00:11:03ryukopostingoooooooooh i thought you meant like the vs code plugin and stuff
00:11:12ryukopostingthat's pretty slick
00:15:31shashlickYa do check it out
00:15:37shashlickCurious for feedback
00:35:35FromGitter<Varriount> ryukoposting: Were you able to get the signing code to compile?
00:48:24*rockcavera quit (Remote host closed the connection)
00:48:57shashlickwhy does eraseLine fail in travis git bash
01:34:16*rockcavera joined #nim
01:34:19*rnrwashere joined #nim
01:43:58*rnrwashere quit (Remote host closed the connection)
01:50:15*Snircle joined #nim
02:04:35*chimez joined #nim
02:05:22ryukopostingVarriount can you send me the link again
02:05:25*chimez quit (Client Quit)
02:08:19*ftsf_ joined #nim
02:13:38*rnrwashere joined #nim
02:18:31*rnrwashere quit (Remote host closed the connection)
02:35:52*noeontheend joined #nim
02:41:00*dddddd quit (Remote host closed the connection)
02:51:17*chimez joined #nim
03:02:39*banc quit (Quit: Bye)
03:22:16FromGitter<gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5c85d468b4b6ef7bc88ca97a]
03:22:57FromGitter<gogolxdong> This doesn't work after adding circle svg element to VNodeKind.
03:23:27*banc joined #nim
03:24:35FromGitter<deech> Does anyone have an example of using the: ⏎ ⏎ ```{.experimental: "parallel".} ⏎ parallel: ⏎ spawn ...``` ⏎ ⏎ construct where `spawn`'s call expression returns a compound data structure like `object`/`tuple`? [https://gitter.im/nim-lang/Nim?at=5c85d4f20a6b9151630c5b76]
03:35:37*rnrwashere joined #nim
03:52:11FromGitter<gogolxdong> this is drawing a spinning loading circle, with the relevant css. Anyone know how to get it work?
03:53:10FromGitter<gogolxdong> http://ix.io/1Dcn
04:02:58*krux89 quit (Ping timeout: 245 seconds)
04:06:58FromGitter<AchalaSB> hey, I'm trying to compile Nim-C-wasm, Able to compile to C ⏎ While compiling C to wasm getting this error ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5c85dee225e4e24c074c7c97]
04:07:14*nsf joined #nim
04:14:54*noeontheend quit (Ping timeout: 252 seconds)
04:18:20*noeontheend joined #nim
04:20:38FromGitter<gogolxdong> For comparison , the expected working HTML piece is added. http://ix.io/1Dcn
04:21:25FromGitter<gogolxdong> correction :http://ix.io/1Dcs
04:23:26*rnrwashere quit (Remote host closed the connection)
04:26:00*rnrwashere joined #nim
04:29:07*chemist69 quit (Ping timeout: 240 seconds)
04:31:29*chemist69 joined #nim
04:42:09FromGitter<Varriount> @AchalaSB That means that you're Nim compiler is generating code for one architecture, but your C compiler is targeting another
04:45:25FromGitter<AchalaSB> @Varriount Yes, To convert to wasm I'm using `--target= wasm32-unknown-unknown-wasm` I think its not compatible with Nim architecture
04:47:28FromGitter<AchalaSB> But I have to use that, How can I fix it??
04:57:42*noeontheend_ joined #nim
05:02:05*rnrwashere quit (Remote host closed the connection)
05:27:44*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
05:31:38*chimez quit (Quit: chimez)
05:32:06*chimez joined #nim
05:33:26*narimiran joined #nim
05:40:08*brakmic joined #nim
05:42:18*brakmic_ joined #nim
05:45:28*brakmic quit (Ping timeout: 245 seconds)
05:50:47*brakmic joined #nim
05:53:23*brakmic_ quit (Ping timeout: 245 seconds)
06:17:41*flaviu joined #nim
07:00:00*gmpreussner quit (Quit: kthxbye)
07:04:53*gmpreussner joined #nim
07:07:36*noeontheend_ quit (Ping timeout: 252 seconds)
07:07:36*noeontheend quit (Ping timeout: 252 seconds)
07:21:22FromGitter<Varriount> @AchalaSB I believe there's an architecture switch for the Nim compiler
07:26:23*brakmic quit (Remote host closed the connection)
07:29:07*brakmic joined #nim
07:33:23*brakmic quit (Ping timeout: 245 seconds)
07:49:49*ftsf_ quit (Ping timeout: 255 seconds)
08:00:22*jjido joined #nim
08:00:46*PMunch joined #nim
08:07:48*brakmic joined #nim
08:20:45narimiranhttps://github.com/nim-lang/RFCs/issues/142
08:21:57*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:40:10*brakmic quit (Ping timeout: 250 seconds)
08:51:37*Vladar joined #nim
08:54:51*skelett1 quit (Ping timeout: 252 seconds)
08:55:39*skelett1 joined #nim
09:08:55*brakmic joined #nim
09:10:50*vlad1777d joined #nim
09:15:02*cornfeedhobo quit (Quit: ZNC - https://znc.in)
09:17:28*abm joined #nim
09:18:04*cornfeedhobo joined #nim
09:24:34*krux02 joined #nim
09:30:13*stefanos82 joined #nim
09:31:17*brakmic quit (Remote host closed the connection)
09:31:32*brakmic joined #nim
09:42:58*floppydh joined #nim
09:47:04FromGitter<Vindaar> @danielcook just for curiosity I wanted to see if I could manage to call Nim from R. Worked just fine (you are almost there). See here: https://gist.github.com/Vindaar/df44fe0014530b6d61bed91c84a42733
09:47:16FromGitter<Vindaar> @danielecook
09:48:19*brakmic quit ()
09:54:26FromGitter<gogolxdong> unhandled exception: Incorrect string value: '\xF0\x9F\x8F\x80' for column 'nickname' at row 1 [DbError] , requires utf8mb4, we have changed server and client to utf8mb4_bin, is there something still missing?
09:58:19FromGitter<gogolxdong> nickname has a emoji which causes this problem.
10:00:40*dddddd joined #nim
10:12:05leorizegogolxdong: can you input the sql with emoji directly into the table via a console?
10:12:49leorizeif not then my guess would be that you haven't fully migrated the database to utf8mb4
10:21:42FromGitter<putao88> INSERT INTO user(openid,nickname) VALUES ('asfdsdgfsdfs','\xF0\x9F\x8F\x80') ,like this?
10:22:46FromGitter<putao88> (https://files.gitter.im/nim-lang/Nim/NZMs/image.png)
10:23:09FromGitter<putao88> This is what I set up
10:24:43*zestyr quit (Quit: WeeChat 2.4)
10:25:53leorizehave you altered the `user` table to use utf8mb4?
10:26:38FromGitter<putao88> yes
10:27:32leorizedoes it work if you insert emoji via the console?
10:35:14FromGitter<putao88> I used the mysql statement and made it: INSERT INTO user(openid,nickname) VALUES ('asfdsdgfsdfs','\xF0\x9F\x8F\x80')
10:37:28FromGitter<putao88> @FromIRC
10:57:16*matthias__ joined #nim
11:31:25*cgfuh joined #nim
11:38:30FromGitter<danielecook> @Vindaar Thank you very much this is awesome. I'm am new to nim (and compiled langs) but wanted to start experimenting in this direction. This is exteremely helpful.
12:34:29*waleee joined #nim
12:37:29*Snircle joined #nim
12:43:01*zestyr joined #nim
12:56:09*lritter joined #nim
12:57:41*lritter quit (Remote host closed the connection)
13:15:24*lritter joined #nim
13:15:57*ng0 joined #nim
13:22:33*brakmic joined #nim
13:41:33*arecacea1 quit (Read error: Connection reset by peer)
13:41:51*arecacea1 joined #nim
14:14:06*chimez quit (Remote host closed the connection)
14:34:28*chimez joined #nim
14:51:06*kapil____ quit (Quit: Connection closed for inactivity)
15:08:18*rnrwashere joined #nim
15:10:02*brakmic quit (Ping timeout: 245 seconds)
15:15:04*brakmic joined #nim
15:16:11*brakmic_ joined #nim
15:19:37*brakmic quit (Ping timeout: 245 seconds)
15:27:24*rnrwashere quit (Remote host closed the connection)
15:34:58*waleee quit (Quit: WeeChat 2.4)
15:41:09*noeontheend_ joined #nim
15:41:09*noeontheend joined #nim
15:41:19ZevvHow do I not generate random identifiers from getAst(template), but just use the identifiers as defined in the template
15:41:44*PMunch quit (Remote host closed the connection)
15:42:12FromGitter<liquid600pgm> may I ask, how are macros bootstrapped in Nim?
15:42:19FromGitter<liquid600pgm> do they use nimvm?
15:44:07*Cthalupa quit (Ping timeout: 255 seconds)
15:45:51*planetis[m] quit (Quit: User has been idle for 30+ days.)
15:46:16*brakmic_ left #nim (#nim)
15:46:26*brakmic_ joined #nim
15:46:50*Cthalupa joined #nim
15:46:59*brakmic_ quit ()
15:47:27*brakmic joined #nim
15:49:48*Trustable joined #nim
15:50:50AraqZevv: macros.gensym?
15:53:28*rnrwashere joined #nim
16:01:12FromGitter<Clyybber> Araq: Btw, the heisenbug I experienced with the implicit result variable https://forum.nim-lang.org/t/4700, seems to have been fixed. Could it have been this commit https://github.com/nim-lang/Nim/commit/f8bf24623c630f9eac172cd45ba4c3ea21bec30d that fixed it?
16:03:59Zevvaraq: problem is that if I use getAst on a template, the ids I use in the temple get a suffix. Id like getAst not to do that, because I'd like to use these identifiers later on when extending the ast tree
16:10:06leorizeit's a fundamental thing of templates afaict
16:10:29leorizeif you'd like to use them later then extract them from the ast tree, that's the only way I could imagine atm
16:11:28Zevvok, I'll find another way, thanks
16:20:28*Cthalupa quit (Ping timeout: 245 seconds)
16:20:50*brakmic quit (Ping timeout: 246 seconds)
16:22:56*Cthalupa joined #nim
16:23:27*chimez quit (Quit: chimez)
16:24:03*chimez joined #nim
16:25:01*chimez quit (Client Quit)
16:25:57*brakmic joined #nim
16:26:53*brakmic_ joined #nim
16:30:03*brakmic quit (Ping timeout: 245 seconds)
16:41:13*rnrwashere quit (Remote host closed the connection)
16:41:47*rnrwashere joined #nim
16:51:35*brakmic joined #nim
16:55:07*brakmic_ quit (Ping timeout: 240 seconds)
17:00:41*Senketsu_ quit (Read error: Connection reset by peer)
17:00:46*Senketsu joined #nim
17:28:55*bashbjorn is now known as hashbjorn
17:42:51narimiransome nimble love from Status: https://twitter.com/bitfalls/status/1105053762438287360 :D
17:43:46*vegax87 quit (Changing host)
17:43:46*vegax87 joined #nim
17:43:46*vegax87 quit (Changing host)
17:43:46*vegax87 joined #nim
17:49:46*brakmic quit (Read error: Connection reset by peer)
17:50:41*brakmic joined #nim
17:51:56*rnrwashere quit (Remote host closed the connection)
17:52:28*arecacea1 quit (Remote host closed the connection)
17:52:47*arecacea1 joined #nim
18:03:25FromGitter<liquid600pgm> is it really love though
18:08:00*nsf quit (Quit: WeeChat 2.4)
18:16:03ZevvI'm trying to build a macro which starts with a piece of boilerplate, defining some variables and closurs. Using a template the identifiers get suffixed, but generating this by hand with AST yields unreadable code. What is the obvious solution here?
18:18:17federico3https://github.com/nim-lang/needed-libraries/issues/created_by/kobi2187 what is this stuff?
18:21:50Zevvoh look, parseStmt
18:53:15*noeontheend_ quit (Ping timeout: 252 seconds)
18:53:15*noeontheend quit (Ping timeout: 252 seconds)
18:57:51*rnrwashere joined #nim
19:06:38*noeontheend joined #nim
19:12:25FromGitter<alehander42> Well some epic issues they can probably act as lists for detailed subissues
19:18:05*jjido joined #nim
19:20:16*abm quit (Quit: Leaving)
19:37:51*rnrwashere quit (Remote host closed the connection)
19:38:55*rnrwashere joined #nim
19:42:35*nsf joined #nim
19:43:46*rnrwashere quit (Remote host closed the connection)
19:46:36*rnrwashere joined #nim
19:49:16*salewski joined #nim
19:50:31*rnrwashere quit (Remote host closed the connection)
19:51:51salewskiCaution, questions to borrow pragma follows (3 lines). I have
19:51:59salewskitype MinMaxHeap = distinct seq[int]
19:52:08salewskiproc len(h: MinMaxHeap): int = seq[int](h).len
19:52:17salewski# can I use borrow pragma instead, and when how apply it?
19:52:24*narimiran_ joined #nim
19:53:31shashlickwhy does deepCopy not work on a seq in 0.19.4
19:54:00*NimBot joined #nim
20:01:52FromGitter<genotrance> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5c86beb00a6b91516312ae15]
20:02:04FromGitter<genotrance> works fine on devel, broken on 0.19.x
20:02:17FromGitter<kayabaNerve> TIL that troll issue from back in the day (9030) was deleted and is not in the Wayback machine :( Anyone know of an archive?
20:02:53FromGitter<kayabaNerve> Don't get me wrong, utter trash of an issue, should've been deleted.
20:03:34FromGitter<kayabaNerve> Gitter doesn't embed issues so I can't grab it from this side of the pond.
20:04:45FromGitter<jivank> speaking of wayback machine, when i last tried it doesn't seem to work with nim forum. i am guessing because its written in karax now :/
20:06:05salewskiCan we use push to apply inline to multiple procs, something like {.push inline: on.} ?
20:08:59salewskiOK will test myself, bye.
20:09:03*salewski quit (Quit: WeeChat 2.3)
20:17:20*stefanos82 quit (Remote host closed the connection)
20:17:50*narimiran_ is now known as narimiran
20:18:44*nsf quit (Quit: WeeChat 2.4)
20:25:03*brakmic quit (Remote host closed the connection)
20:29:02FromGitter<genotrance> meh, just a wrapper which was recently introduced, never mind
20:30:25*Trustable quit (Remote host closed the connection)
20:38:17*brakmic joined #nim
20:38:28*brakmic quit (Remote host closed the connection)
20:38:44*brakmic joined #nim
20:39:33*brakmic_ joined #nim
20:39:58*brakmic quit (Read error: Connection reset by peer)
20:40:09*brakmic__ joined #nim
20:44:14*brakmic_ quit (Ping timeout: 272 seconds)
20:46:48ZevvIs there a way to expand templates in a macro before printing AST.repr?
20:47:31*abm joined #nim
20:50:13*matthias__ quit (Quit: matthias__)
20:51:01*floppydh quit (Quit: WeeChat 2.4)
21:17:15Zevvwell Araq, new take. This is my grammar: http://paste.ubuntu.com/p/yGvGZW4nBt/, which gets compiled to Nim
21:18:01Zevvbasically works; next is optimizations and captures.
21:25:08FromGitter<deech> In the Nim manual it says that `spawn` uses `deepCopy` for `ref` objects but that can be overridden because it is in `system`. How do I override it? https://nim-lang.org/docs/manual.html#parallel-amp-spawn
21:26:18*Vladar quit (Ping timeout: 245 seconds)
21:26:30FromGitter<deech> @genotrance Totally didn't see your issue with `deepCopy`. :)
21:27:07*narimiran quit (Ping timeout: 252 seconds)
21:27:52shashlickheh, well am porting my editor to 0.19.x and ran into that - that was easy, but then ran into a nim crash as well which was a bit harder to work around
21:28:06shashlickneed to isolate and open an issue on that one
21:30:08shashlickall sorts of digressions though - spent so much time on my nng wrapper which broke due to upstream changes
21:45:03*catgirl quit (Ping timeout: 245 seconds)
21:47:08*brakmic joined #nim
21:47:48*xet7 quit (Quit: Leaving)
21:48:21rockcaveraHello guys. I tested this code here: https://nim-lang.github.io/Nim/httpclient.html#progress-reporting and I noticed that the memory consumed by the executable is increasing, to the point that at the end it is using 469MB
21:48:34rockcaverathis is normal?
21:48:58rockcaveraI'm starting now
21:49:11*brakmic__ quit (Read error: Connection reset by peer)
21:49:29*brakmic quit (Read error: Connection reset by peer)
21:49:34*xet7 joined #nim
21:50:52*rnrwashere joined #nim
21:51:14*brakmic joined #nim
21:52:34dom96rockcavera: Are you downloading a pretty large file?
21:53:13rockcaveradom96 i'm downloading a file in code: http://speedtest-ams2.digitalocean.com/100mb.test
21:53:17rockcavera100MB
21:53:44dom96I see. Please file a bug report
21:54:10shashlickWhat are you doing in the callback
21:54:27rockcaverahow can I do this?
21:54:52dom96https://github.com/nim-lang/Nim/issues/new
21:55:41*bobby quit (Ping timeout: 268 seconds)
21:57:22*krux02 quit (Remote host closed the connection)
22:01:25*bobby joined #nim
22:08:24FromGitter<deech> Has anyone tested `parallel:` and `spawn` with a large # of processes? Currently trying with 2 million and seeing lots of inefficiency. Around 5,000 or so it seems to work ok.
22:08:57*noeontheend quit (Read error: Connection reset by peer)
22:10:44*rnrwashere quit (Remote host closed the connection)
22:11:15*rnrwashere joined #nim
22:14:23*brakmic quit (Read error: Connection reset by peer)
22:14:27*brakmic_ joined #nim
22:16:05*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:17:04*brakmic joined #nim
22:17:17*brakmic_ quit (Read error: Connection reset by peer)
22:21:44*bobby quit (Remote host closed the connection)
22:25:20*bobby joined #nim
22:29:52*lf-araujo joined #nim
22:33:11*brakmic quit ()
22:35:41*bobby quit (Ping timeout: 252 seconds)
22:36:20*bobby joined #nim
22:36:22shashlickif I have a C++ proc with `int & varName` - how do I wrap it in nim?
22:38:02shashlickI have tried `var varName` and it works fine but breaks for me on Travis with its old gcc compiler
22:39:20shashlick--std=c++11 doesn't help
22:39:22shashlickhttps://travis-ci.org/genotrance/feud/builds/504926110#L1204
22:45:06*lf-araujo quit (Ping timeout: 244 seconds)
22:49:37*ftsf_ joined #nim
22:59:16*rnrwashere quit (Remote host closed the connection)
22:59:35*rnrwashere joined #nim
23:05:46FromGitter<zetashift> @narimiran I wonder why he found nimble on npmjs/eclipse level of broken.
23:09:28shashlickok switched to cint and it worked
23:09:48shashlick@gogolxdong - finally ran into your LRESULT issue with 0.19.4 - devel doesn't mind converting LRESULT into int
23:10:31shashlickweirdly, it does it implicitly on my laptop but on Travis it complains
23:10:38shashlickwonder what LRESULT is actually
23:20:39*rnrwashere quit (Remote host closed the connection)
23:20:54*rnrwashere joined #nim
23:21:26*rnrwashere quit (Remote host closed the connection)
23:23:32*ng0 quit (Quit: Alexa, when is the end of world?)
23:25:54FromDiscord<demotomohiro> if you are talking about LRESULT in windows API, it is actually ``typedef LONG_PTR LRESULT;``
23:29:46shashlickya somehow it gets implicitly converted on my machine
23:31:33shashlickfinally got it building on travis!
23:31:37shashlickhttps://travis-ci.org/genotrance/feud/builds/504971426
23:57:07*banc quit (Ping timeout: 245 seconds)
23:57:13FromGitter<iffy> How do I convert this C function signature typedef to Nim? `typedef napi_value (*napi_callback)(napi_env env, napi_callback_info info);`
23:57:46FromGitter<iffy> c2nim says `napi_callback* = proc (env: napi_env; info: napi_callback_info): napi_value`
23:58:59*lritter quit (Ping timeout: 246 seconds)
23:59:12*rnrwashere joined #nim