<< 22-06-2016 >>

00:05:31*edub4rt quit (Ping timeout: 240 seconds)
00:05:54*edub4rt joined #nim
00:11:57*lazypenguin joined #nim
00:23:54*sdw_ joined #nim
00:25:33*brson quit (Ping timeout: 240 seconds)
00:25:56*brson joined #nim
00:26:41*sdw quit (Ping timeout: 258 seconds)
00:29:17*freevryheid joined #nim
00:29:25*freevryheid is now known as fvs
00:29:47fvshi, howto write object to file: this fails to give correct structure: http://pastebin.com/AzEp7zcE
00:43:55*Demon_Fox quit (Quit: Leaving)
00:44:32*brson quit (Quit: leaving)
00:45:29Araqfvs: use the marshal module
01:00:48Araqdeterministic C code generation has arrived :-)
01:01:16Araqnow minor changes to a module shouldn't trigger a whole lot of C code recompilations anymore
01:02:11*freezerburnV joined #nim
01:07:22*freezerburnV quit (Ping timeout: 272 seconds)
01:09:14*gokr quit (Ping timeout: 260 seconds)
01:22:01*freezerburnV joined #nim
01:28:21*brson joined #nim
01:33:05freezerburnVgirvo: Evening/morning!
01:34:10*freezerburnV quit (Quit: Leaving)
01:34:22*freezerburnV joined #nim
01:37:56*FreezerburnV_ joined #nim
01:40:49*FreezerburnV_ quit (Client Quit)
01:42:43*FreezerburnV_ joined #nim
01:44:58*chemist69_ joined #nim
01:48:05*chemist69 quit (Ping timeout: 244 seconds)
01:48:16*saml_ quit (Quit: Leaving)
01:57:29fvsis it possible to get the length of a tuple?
01:58:10*Jesin quit (Quit: Leaving)
02:00:21Araqfvs: via macros.getType
02:01:25fvshow about iterating thru a tuple?
02:02:40*Jesin joined #nim
02:04:53Araqsystem.fieldPairs
02:04:59Araqsystem.fields
02:05:02Araqetc
02:06:55*FreezerburnV_ quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
02:06:59fvsthx Araq
02:16:37*FreezerburnV_ joined #nim
02:18:29girvoAraq: Would the marshal module work for writing out TAR headers then? They're a 512 byte struct in C, and I've got an object representation of it, but I was using writeBytes on the array[len, char] values by hand lol
02:21:22FreezerburnV_Hey girvo!
02:24:27girvohey FreezerburnV_ :)
02:24:54FreezerburnV_How's it going?
02:24:59*pregressive joined #nim
02:29:06girvoexhausted, huge week at work, but good because my Docker deployment daemon is coming along beautifully
02:29:31FreezerburnV_Oooh, good to hear! Sorry work was so difficult though
02:32:21FreezerburnV_I'm guessing because things were so intense you haven't had a chance to take a look at my email yet?
02:37:20girvoI had a very quick look and let my boss know, but until later this week everything is a bit crazy right now! :)
02:37:29girvoThanks so much for sending it over!
02:38:06girvoQuestion: is there any other examples of the "pegs" module usage aside from the documentation itself?
02:38:47FreezerburnV_girvo: no problem! Looking forward to hearing back when things are less crazy :D
02:39:12*brson_ joined #nim
02:41:51*brson quit (Ping timeout: 246 seconds)
02:44:11girvoAlso, what language are people finding the easier to port from to nim?
02:45:29FreezerburnV_I would think Python personally, due to the similarity
02:45:34girvoAnd lastly, I update the Rosetta Code entry, First-class functions, for Nim -- I ported the ES6 version basically, but I wonder if there's not a cleaner way of doing this: http://rosettacode.org/wiki/First-class_functions#Nim
02:49:10*pregressive quit (Remote host closed the connection)
02:54:37FreezerburnV_girvo: You can get better function definitions via "import future". You can do "(X: int) -> int" instead
02:54:58girvoYeah I left that out because I didn't want to rely on it for the example, hehe :)
02:55:10girvoAnd it wasn't _that_ much cleaner (though, a little bit)
02:55:22FreezerburnV_It's part of the standard library so I don't see why not to use it
02:55:31girvoThe main annoying bit is having to wrap the math functions to use them as {.procvar.}
02:55:45girvoWell, "annoying". It's not really that big a deal lol
02:56:54FreezerburnV_I'm not familiar with procvar yet, what's the necessity of it?
02:57:04*lazypenguin quit (Quit: Leaving)
02:57:55FreezerburnV_Can't you just pass a proc to something and it would work? I think I've done that?
02:58:31FreezerburnV_Or at least assigned a defined proc to a callback property and it compiled and ran fine
03:01:18FreezerburnV_But for now I need to get to sleep. Night!
03:01:40*pregressive joined #nim
03:02:24girvoNight :)
03:05:38*freezerburnV quit (Ping timeout: 250 seconds)
03:05:38*FreezerburnV_ is now known as FreezerburnV
03:08:31*FreezerburnV quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
03:19:25*pregressive quit (Remote host closed the connection)
03:28:46*fvs quit (Quit: Leaving)
03:44:57zdsIs nim pretty a thing?
03:48:42*Demos joined #nim
03:50:13*Demos quit (Client Quit)
03:50:14*pregressive joined #nim
04:10:30*pregressive quit (Remote host closed the connection)
04:33:48*edub4rt quit (Remote host closed the connection)
05:06:52*brson_ quit (Quit: leaving)
05:11:49*endragor joined #nim
05:16:35*yglukhov joined #nim
05:22:24*yglukhov quit (Ping timeout: 276 seconds)
05:24:34*yglukhov joined #nim
05:51:55*yglukhov quit (Remote host closed the connection)
06:27:35*vqrs quit (Ping timeout: 244 seconds)
06:32:04*endragor_ joined #nim
06:34:26*vqrs joined #nim
06:35:26*endragor quit (Ping timeout: 272 seconds)
06:36:06cheatfategirvo, and why you are using array[char] for TAR?
06:41:29*chemist69_ quit (Quit: WeeChat 1.5)
06:45:13*jeffc joined #nim
06:47:22*MyMind joined #nim
06:49:34*BlaXpirit_ joined #nim
06:49:37*wuehlmau1 joined #nim
06:51:16*here2bang is now known as afrigginelf
06:52:01*zama_ joined #nim
06:52:45*MyMind quit (Ping timeout: 276 seconds)
06:53:17*dariusc93 joined #nim
06:54:05*arnetheduck joined #nim
06:54:24*endragor_ quit (Remote host closed the connection)
06:54:54*endragor joined #nim
06:55:45*vqrs_ joined #nim
06:55:55*mtj__ joined #nim
06:56:52*mjanssen_ joined #nim
07:01:51*Amun_Ra_ joined #nim
07:03:39*joebo1 joined #nim
07:04:43*vqrs quit (*.net *.split)
07:04:44*wuehlmaus quit (*.net *.split)
07:04:44*zama quit (*.net *.split)
07:04:44*joebo quit (*.net *.split)
07:04:45*mtj_ quit (*.net *.split)
07:04:45*\u quit (*.net *.split)
07:04:45*mjanssen quit (*.net *.split)
07:04:45*BlaXpirit quit (*.net *.split)
07:04:45*Amun_Ra quit (*.net *.split)
07:04:45*jeffc_ quit (*.net *.split)
07:04:46*darius93 quit (*.net *.split)
07:04:52*zama_ is now known as zama
07:07:18*mjanssen_ quit (Quit: Lost terminal)
07:08:51*mjanssen joined #nim
07:09:27akamaushi all. Is the following code supposed to typecheck? http://pastebin.com/EbKnqJqc
07:11:47*Trustable joined #nim
07:12:01akamausit's listed as a negative example in https://github.com/nim-lang/Nim/issues/4084 which is marked fixed.
07:12:35akamausbut it is happily accepted by nim-0.14.2
07:14:47*\u joined #nim
07:16:55*BlaXpirit_ quit (Quit: Bye)
07:17:12*BlaXpirit joined #nim
07:17:45*Ven_ joined #nim
07:25:30*BlaXpirit is now known as BlaXpirit_
07:25:36*BlaXpirit_ is now known as BlaXpirit
07:30:59*girvo quit (Ping timeout: 244 seconds)
07:34:35*yglukhov joined #nim
07:35:00*arnetheduck quit (Ping timeout: 276 seconds)
07:37:05*gokr joined #nim
07:37:32mjanssenakamaus: also accpeted by nim master
07:38:16akamausmjanssen, is it a regression or what?
07:38:30mjanssenlet me check on the devel branch
07:38:49akamausi've already tried, the same behavior
07:39:59mjanssenyeah, devel is master
07:40:19mjanssenI would say re-open the issue
07:42:10akamausmjanssen, can you do it?
07:45:47mjanssenakamaus: no I cant, apparently you can only do this if you are a contributor
07:47:08akamausmjanssen, well, hope someone with sufficient privileges notice our talk then :)
07:49:10akamauspatch which closed this issue apparently broke other things, astar package for example.
07:50:34mjanssenyou could @mention the dev who fixed it on github (Araq)
07:51:56*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:52:51*Ven_ joined #nim
07:58:28mjanssenI do know Araq is a regular here so patience should go a long way
08:04:54*lautzu quit (Ping timeout: 276 seconds)
08:06:00*wuehlmau1 quit (Ping timeout: 272 seconds)
08:22:29*Amun_Ra_ is now known as Amun-Ra
08:27:56*PMunch joined #nim
08:29:35*Amun-Ra is now known as Amun_Ra
08:38:39*ephja joined #nim
08:38:58*wuehlmaus joined #nim
08:39:23*wuehlmaus is now known as Guest77864
08:47:11Araqakamaus: meh, this looks so hard to fix -.-
08:59:10cheatfateAraq, is it possible to search in macro for function with particular arguments and result?
08:59:30cheatfateor maybe just by name, so i can check arguments by myself
09:00:43Araqsure, pass a 'typed' thing to the macro and then the macro can inspect the symbols (rather than the identifiers)
09:00:58*trusion quit (Ping timeout: 250 seconds)
09:02:16PMunchIs the guy who created this: github.com/zah/nim.vim around?
09:09:27PMunchHmm, when Nimble doesn't find a package in the local package.json it asks if you want to check online. If you don't you get an unhandled exception "Package not found. [NimbleError]"
09:09:45cheatfateAraq, but i'm already in macro... i need to call another macro?
09:09:49PMunchIt looks a bit ugly and IMO should be handled as a print and quit
09:12:39cheatfateI just want to check if object passed to my macro has appropriate method len()
09:13:25cheatfateand if not show error()
09:13:41*girvo joined #nim
09:16:53Araqcheatfate: use a concept instead
09:18:06*girvo quit (Ping timeout: 244 seconds)
09:24:35veganskAraq, hi. Is it a bug or feature? I can't call generic proc for inherited object: https://gist.github.com/vegansk/f0f44132426b0de4106e19e1d3aed6d8
09:26:12Araqoldest open bug iirc
09:27:16*xet7_ quit (Read error: Connection reset by peer)
09:28:08vegansk#88 :-(
09:29:02*Guest77864 is now known as wuehlmaus
09:29:29*desophos quit (Read error: Connection reset by peer)
09:32:12Araqseems to be hard to fix, people tried and failed.
09:33:20vegansksadly :-(
09:34:33Araqwhat's up with the typedesc issue?
09:35:53veganskCan't beat it :-(
09:36:24Araqwhat's the problem?
09:37:34veganskAfter creation of tyCompositeTypeclass I changed typeRel so it can compare typeclasses: https://gist.github.com/vegansk/56ea52960d3586bc0c5b65244bb06852#file-test-nim-L12-L13
09:38:20veganskBut after that I get an error "generics.nim(5, 16) Error: cannot instantiate: 'Data'"
09:38:29AraqI don't think you can return isEqual here
09:38:46Araqtried isGeneric?
09:39:15veganskYes. Same error
09:39:46Araqok, well you don't bind anything
09:39:55*xet7_ joined #nim
09:39:56*xet7_ quit (Remote host closed the connection)
09:40:04Araqresult = isGeneric
09:40:09Araqif result != isNone:
09:40:09Araq put(c.bindings, f, a)
09:40:16Araq^ is then used
09:40:27Araqbinding 'Data', hopefully
09:40:36Araqand then it can be instantiated
09:41:09veganskWow!!! That's it!!! Thanks!
09:41:17Araqit's like saying that the T in proc foo[T](a: T; b: array[T]) matches
09:41:46Araqbut that's not enough. you need to bind it so the compiler can build the array[T] part
09:42:38Araqcheck if it needs to be isGeneric or isEqual please, I'm not sure
09:43:13Araqbindings are isGeneric, a binding match is isEqual iirc
09:44:35*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:46:08veganskI restored isEqual and commented this line: https://gist.github.com/vegansk/56ea52960d3586bc0c5b65244bb06852#file-test-nim-L18. Works in both cases
09:48:53Araqno, that's wrong
09:49:07Araqdon't comment out this line, it's important
09:49:36Araquse 'result = isGeneric' instead
09:50:14veganskSo, there is no difference :-) Because of ``if result != isNone: result = isGeneric
09:52:27Araqyes
09:53:27veganskI can create new PR or I can force the update of the old PR's branch. how is better?
09:55:37Araqold PR
09:55:43veganskOk!
09:57:01*girvo joined #nim
10:01:54*girvo quit (Ping timeout: 276 seconds)
10:11:48veganskAraq, one more thing, this variant is not working with implicit system.new invoke. Please look: https://gist.github.com/vegansk/56ea52960d3586bc0c5b65244bb06852#file-test-nim-L7-L14
10:13:10Araqdid that work with your original patch?
10:13:46veganskYes
10:22:49*Arrrr joined #nim
10:24:03Araqbummer -.-
10:35:10veganskAraq, moreover, new variant broke one of my libraries that heavily uses generics ;-(
10:35:42*gokr quit (Ping timeout: 276 seconds)
10:54:28*mjanssen quit (Quit: leaving)
10:57:53*girvo joined #nim
11:01:43*mjanssen joined #nim
11:02:28*girvo quit (Ping timeout: 244 seconds)
11:06:12*afrigginelf quit (Ping timeout: 250 seconds)
11:07:29*KaiXBerg joined #nim
11:14:15*joebo1 is now known as joebo
11:19:39*nsf quit (Quit: WeeChat 1.5)
11:28:52*themagician joined #nim
11:32:40*ephja quit (Quit: WeeChat 1.5)
11:35:04*ics quit (Quit: Connection closed for inactivity)
11:43:47*bjz joined #nim
11:48:24*Ven_ joined #nim
11:58:40*girvo joined #nim
12:03:25*girvo quit (Ping timeout: 252 seconds)
12:05:01*elrood joined #nim
12:06:03*Arrrr quit (Ping timeout: 240 seconds)
12:08:55*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:13:30*Arrrr joined #nim
12:18:23*vegansk is now known as veganskaway
12:24:49*sp33der89 joined #nim
12:25:54*kaminacrank joined #nim
12:26:02*kaminacrank left #nim (#nim)
12:29:50*UberLambda joined #nim
12:30:03*UberLambda left #nim (#nim)
12:30:07*filcuc joined #nim
12:31:13*BitPuffin joined #nim
12:36:58*themagician quit (Ping timeout: 252 seconds)
12:37:22*themagician joined #nim
12:38:29*Satyajit quit (Quit: https://fnordserver.eu)
12:43:51*themagician quit (Ping timeout: 240 seconds)
12:44:21*themagician joined #nim
12:49:40*Learath2 quit (Ping timeout: 264 seconds)
12:54:15*Learath2 joined #nim
12:54:58*Satyajit joined #nim
12:57:23*bjz joined #nim
12:59:35*girvo joined #nim
13:04:18*girvo quit (Ping timeout: 272 seconds)
13:06:45*edub4rt joined #nim
13:13:30*Satyajit is now known as alberti
13:20:37*freezerburnV joined #nim
13:28:50*gokr joined #nim
13:30:07*girvo joined #nim
13:30:59*saml_ joined #nim
13:31:38*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:32:06*bjz joined #nim
13:34:22*girvo quit (Ping timeout: 244 seconds)
13:35:38*abruanese joined #nim
13:36:04*fredrik92 joined #nim
13:43:21*xet7b joined #nim
13:45:51*sp33der89 quit (Remote host closed the connection)
13:48:48dom96yglukhov: cheatfate: http://www.nerds2nerds.com/?p=519, I'm curious, what is this about? :)
13:50:15*PMunch quit (Ping timeout: 264 seconds)
13:55:34*trusion joined #nim
13:58:30*fvs joined #nim
13:58:49*PMunch joined #nim
14:05:47edub4rtzielmicha: is reactor kinda of "finished" or is inactive? I am considering using it, as async core API is not satisfying all my needs
14:07:41cheatfatedom96, hi :) this is Bulgarian, not russian or ukrainian, but i can transfer you first sentence :)
14:08:36dom96edub4rt: What needs is the async core API not satisfying?
14:08:50*saml_ quit (Quit: Leaving)
14:10:59cheatfatedom96, Discussion with Zahary Karadjov - one of the main maintainers of Nim language
14:12:20dom96huh, how old is it?
14:12:29dom96I haven't seen zahary in here in a very long time
14:12:50cheatfatedom96, looks like April 2015
14:13:40*girvo joined #nim
14:13:41*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:14:34AraqI pinged him, not sure if he will join us here
14:17:23*euantor joined #nim
14:17:29*euant joined #nim
14:17:30edub4rtdom96: issues with await which I've created bugs, some API does not feel good for my taste, like all sendTo/connect in net.nim only take an address as a string meaning it will parse the string every connection made/packet sent, the lack better UDP support I'm having to work with SockAddr and ifdefs about platform which is too low level
14:18:10*girvo quit (Ping timeout: 252 seconds)
14:18:57edub4rtdom96: I saw that the common practice in net/async core is to use address as string everywhere, which just feels wrong for me, it should have been an IpAddress struct
14:19:50dom96edub4rt: Fair enough. We can add an overload so that passing IpAddress works.
14:20:11*PMunch quit (Ping timeout: 244 seconds)
14:20:29*pregressive joined #nim
14:20:44*Demon_Fox joined #nim
14:20:58*PMunch joined #nim
14:21:26Araqzahary says
14:21:48Araq„it's a small local podcast, I actually got more exposure when I did a talk a local conference
14:21:48Araqit's online, but also in Bulgarian“
14:22:46Araqand he is too busy to join us.
14:25:20endragordom96: would be nice if asyncnet operations supported timeouts
14:27:37edub4rtendragor, I'll also need this too, but I think I can achieve that using sleepAsync, but I feel skeptic because there are rumors that sleepAsync downgrades performance
14:29:10dom96We need a way to cancel futures too for proper timeouts
14:31:37cheatfateedub4rt, this is not rumors, its a fact!
14:32:06cheatfatehttps://github.com/nim-lang/Nim/issues/3909
14:32:19edub4rtdom96: net/async also needs another struct or easier wait to deal with UDP sockets, this is how I currently send udps https://gist.github.com/edubart/5c85087b2a948c1baf3b6fd37575281a
14:33:22edub4rtwith is just now right, I've to use platform's whens
14:34:13dom96I know.
14:34:18edub4rtrecvFrom is not easier either
14:38:33*gokr quit (Ping timeout: 240 seconds)
14:40:06edub4rtso I was thinking into using some libuv wrapper until this issues are resolved, while I can contribute with some small patchs or create workaround's in my codes, I cannot rework internals, as it would takes down my productivity, even if I did dom96 and core members would be skeptic about accepting it, like cheatfate's async rework
14:40:40edub4rtbut currently I do not know if there is a libuv's wrapper is in better shape, it could be worse
14:45:35*ddl_smurf quit (Quit: ddl_smurf)
14:47:00*gokr joined #nim
14:48:58*brson joined #nim
14:49:45*Arrrr quit (Quit: WeeChat 1.4)
14:57:40*freezerburnV quit (Ping timeout: 272 seconds)
15:03:49edub4rtdom96: just hit another barrier with await "'yield' cannot be used within 'try' in a non-inlined iterator" seems like issue #2528
15:03:50edub4rttry and await combination is sure with lot of issues
15:06:25*pregressive quit (Ping timeout: 260 seconds)
15:10:30*PMunch quit (Ping timeout: 244 seconds)
15:10:30*edub4rt quit (Ping timeout: 244 seconds)
15:10:46*jackkv quit (Ping timeout: 244 seconds)
15:10:46*gsingh93 quit (Ping timeout: 244 seconds)
15:10:56*edub4rt joined #nim
15:11:07*PMunch joined #nim
15:11:10*gsingh93 joined #nim
15:12:49edub4rtI think #2528 should be market as showstopper, it's for who works with combinations of exceptions and async
15:12:57*jackv joined #nim
15:13:37*girvo joined #nim
15:14:25*freezerburnV joined #nim
15:17:51*girvo quit (Ping timeout: 240 seconds)
15:21:42*gokr quit (Ping timeout: 276 seconds)
15:27:08*endragor quit (Ping timeout: 258 seconds)
15:43:27*nsf joined #nim
15:47:06*PMunch quit (Quit: leaving)
15:51:48*lautzu joined #nim
15:56:35*brson quit (Ping timeout: 260 seconds)
15:59:37*brson joined #nim
16:03:57*gokr joined #nim
16:13:33*girvo joined #nim
16:14:24*euant quit (Quit: Leaving)
16:14:24*euantor quit (Quit: Leaving)
16:15:39*yglukhov quit (Ping timeout: 276 seconds)
16:18:44*girvo quit (Ping timeout: 272 seconds)
16:19:30*PMunch joined #nim
16:19:49*filcuc quit (Read error: Connection reset by peer)
16:21:04dom96edub4rt: you don't need ``try`` to handle exceptions with async
16:21:21dom96The reason `try` is so unstable is because it's a hack to work around a limitation in the compiler.
16:21:36dom96My plan is to limit it and offer the alternative
16:21:38dom96which boils down to:
16:21:44dom96var fut = asyncCall()
16:21:49dom96yield fut
16:21:56dom96if fut.failed: handleError(fut.error)
16:23:12*ics joined #nim
16:23:35cheatfatedom96, but we already has this technique? people just like exceptions :(
16:24:23cheatfateand for some reason we rereverting this semantics...
16:25:23dom96cheatfate: huh?
16:25:32dom96I'm not sure what you mean
16:25:38*alberti quit (Quit: https://fnordserver.eu)
16:25:53dom96The revert will mean that you cannot use 'await' instead of 'yield' in my above example
16:25:58dom96*re-revert
16:34:07cheatfateawait is mostly equal to yield
16:36:05cheatfateand why `try` `except` is a hack?
16:38:10*jjido joined #nim
16:40:55*fvs left #nim ("Leaving")
16:50:30*jjido quit (Remote host closed the connection)
16:51:02*euantor joined #nim
16:51:05*jjido joined #nim
16:53:16dom96cheatfate: the transformation that the 'async' macro does in order to support is hacky
16:53:20dom96*support it
16:54:27*brson quit (Ping timeout: 264 seconds)
16:54:51*brson joined #nim
16:55:56*yglukhov joined #nim
16:55:57*jjido quit (Ping timeout: 276 seconds)
17:02:58*euantor quit (Remote host closed the connection)
17:07:47*euantor joined #nim
17:09:30*euantor quit (Remote host closed the connection)
17:13:34*girvo joined #nim
17:14:24*brson quit (Ping timeout: 246 seconds)
17:18:42*girvo quit (Ping timeout: 276 seconds)
17:26:02*desophos joined #nim
17:32:37*edub4rt_ joined #nim
17:35:22*BitPuffin quit (Read error: Connection reset by peer)
17:35:29*mostworst joined #nim
17:46:52*euantor joined #nim
17:48:21*brson joined #nim
17:49:05*chemist69 joined #nim
17:53:26yglukhovAraq: what do you think of https://github.com/nim-lang/Nim/pull/4385 ? Is it needed?
17:57:37*jjido joined #nim
18:01:39*euantor quit (Remote host closed the connection)
18:06:27*euantor joined #nim
18:06:29*mostworst quit (Ping timeout: 244 seconds)
18:10:39*euantor quit (Remote host closed the connection)
18:11:53*euantor joined #nim
18:13:30*girvo joined #nim
18:15:25*brson quit (Ping timeout: 258 seconds)
18:17:45*girvo quit (Ping timeout: 246 seconds)
18:21:09*Satyajit joined #nim
18:21:22*brson joined #nim
18:21:22*brson quit (Client Quit)
18:26:49*pregressive joined #nim
18:31:59*brson joined #nim
18:33:34*edub4rt_ quit (Ping timeout: 250 seconds)
18:37:19*|2321 joined #nim
18:41:19*desophos quit (Remote host closed the connection)
18:43:34*desophos joined #nim
18:44:49*desophos quit (Remote host closed the connection)
18:45:31*brson quit (Ping timeout: 240 seconds)
18:48:38*desophos joined #nim
18:49:03*jjido quit (Ping timeout: 276 seconds)
18:52:49*aziz joined #nim
18:58:11*desophos quit (Remote host closed the connection)
18:59:11*TheLemonMan joined #nim
18:59:30*desophos joined #nim
19:02:04*euantor quit ()
19:04:19*desophos quit (Ping timeout: 260 seconds)
19:05:11*desophos joined #nim
19:06:32*desophos quit (Remote host closed the connection)
19:07:35*desophos joined #nim
19:13:31*girvo joined #nim
19:17:25*desophos quit (Remote host closed the connection)
19:17:50cheatfatei want to talk about warnings in --verbosity:2
19:18:05cheatfatethere some [Uninit] warnings generated for array declarations
19:18:17*girvo quit (Ping timeout: 258 seconds)
19:18:20cheatfateso just want to ask is there proper way to initialize this arrays?
19:21:20*yglukhov quit (Remote host closed the connection)
19:28:23Araqcheatfate: var foo = [0, 1, 2, 3, 4]
19:28:35Araqfor long arrays it's wise to do that with a macro
19:29:00*lazypenguin joined #nim
19:29:21cheatfatebut what i can do if i declare array like `var a: array[100, string]`
19:29:30*desophos joined #nim
19:30:14*GangstaCat joined #nim
19:30:46*desophos quit (Remote host closed the connection)
19:31:59*desophos joined #nim
19:33:16*mostworst joined #nim
19:36:37*desophos quit (Ping timeout: 252 seconds)
19:37:06Araqcheatfate: what about it? in the future this needs to be var a: array[100, nil string]
19:37:20cheatfateaah ok, thank you
19:41:48Araqdom96: sooo ... given that you'll never be able to review cheatfate's PR :P
19:41:52Araqcan we merge it?
19:43:59cheatfateAraq, but pr can't be merged automatically it needs to be updated again...
19:44:39AraqI'm usually smart enough to do the merge. Or you update it.
19:45:02cheatfateand i think i will remove `bad named` procs from my variant of asyncdispatch and there will be only `addXXXXX` functions
19:45:51cheatfatebut i'm still vote for `upcoming` folder :)
19:46:46cheatfateI think its better to review only ioselectors.nim
19:48:47Araqyes, upcoming folder is good.
19:50:32cheatfateAraq, but i remember you wants to review it too :)
19:51:32*desophos joined #nim
19:53:09AraqI will, but I'd rather give you write access ;-)
19:54:08cheatfateBut i really want your review
19:55:52*desophos quit (Ping timeout: 252 seconds)
20:00:51*yglukhov joined #nim
20:03:43*brson joined #nim
20:06:44*desophos joined #nim
20:08:01*KaiXBerg quit (Quit: Page closed)
20:13:30*girvo joined #nim
20:15:46*Matthias247 joined #nim
20:17:52*girvo quit (Ping timeout: 252 seconds)
20:24:48*mostworst quit (Ping timeout: 246 seconds)
20:57:46*|2321 quit (K-Lined)
20:58:36*ephja joined #nim
21:13:35*girvo joined #nim
21:14:15*euantor joined #nim
21:18:27*girvo quit (Ping timeout: 264 seconds)
21:30:32gokrfowl: Hey, you are on HN :)
21:31:10gokrhttps://news.ycombinator.com/item?id=11956231
21:31:21gokr(wasn't me)
21:36:35*desophos quit (Remote host closed the connection)
21:37:09*desophos joined #nim
21:42:39PMunchHmm, who of you was it that mentioned L.B. Stanza the other day?
21:44:30def-PMunch: gokr
21:44:43gokrYeah
21:44:48PMunchwuehlmaus, and me are trying it out
21:45:00gokrCool, let us know what you find
21:45:10PMunchSomething strange going on with binary sizes
21:45:17gokrI noticed it mentioned deep in some thread about "interesting languages"
21:45:33PMunchThe 22 byte hello world program compiles "down" to 3.7mb
21:45:40gokrOuch.
21:45:41PMunchAnd it takes surprisingly long
21:46:42fredrik92just A little bit overkill
21:49:25*euantor quit ()
21:50:52cheatfatePMunch, looks like statically linked
21:50:55*lazypenguin quit (Remote host closed the connection)
21:52:59PMunchYeah, I'd wager that it has some kind of runtime/library
21:53:24PMunchAnd that it either just bundles the runtime with every program or does not eliminate dead code when including the library
21:54:44PMunchAnd a solid four seconds as measured by time to compile
21:57:48PMunchHmm, seems to take about 4 seconds regardless
21:58:56PMunchAnd all programs seem to take about 3.7mb as well
21:59:28PMunchI'm guessing that it might be quite easy for him to improve both aspects, and then it would be a very interesting language :)
22:07:54*aziz quit (Quit: Ex-Chat)
22:09:57*TheLemonMan quit (Quit: "It's now safe to turn off your computer.")
22:13:27*girvo joined #nim
22:17:59*girvo quit (Ping timeout: 260 seconds)
22:19:31*Trustable quit (Remote host closed the connection)
22:21:51*PMunch quit (Quit: leaving)
22:22:57*pregressive quit (Remote host closed the connection)
22:25:03*brson quit (Ping timeout: 240 seconds)
22:28:04*ddl_smurf joined #nim
22:31:39*desophos quit (Remote host closed the connection)
22:35:54*ddl_smurf quit (Ping timeout: 276 seconds)
22:36:08*ddl_smurf joined #nim
22:38:31*desophos joined #nim
22:44:56*brson joined #nim
22:55:38*flyx quit (Ping timeout: 258 seconds)
23:00:41*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:03:21*brson quit (Ping timeout: 246 seconds)
23:08:38*girvo joined #nim
23:09:40*sp33der89 joined #nim
23:11:04*elrood quit (Quit: Leaving)
23:13:16sp33der89So I send a private message to one of the mods of the subreddit too but just in case this is quicker; The 3 documentation links are broken in the subredditbar
23:14:19*yglukhov quit (Remote host closed the connection)
23:14:36*brson joined #nim
23:24:51dom96sp33der89: thanks, will fix
23:25:04*desophos quit ()
23:25:05*ics quit (Quit: Connection closed for inactivity)
23:25:46cheatfatedom96, it looks like asyncdispatch eating stack space very fast
23:26:00*Matthias247 quit (Read error: Connection reset by peer)
23:27:28cheatfatedom96, my code inside {.async.} failed due to stack smash if i make more then 3 iterations
23:27:53cheatfateunder windows
23:29:39ephjanom
23:37:19*brson quit (Ping timeout: 244 seconds)
23:43:23*brson joined #nim
23:45:24*desophos joined #nim
23:53:25sp33der89np just glad I could help hehe
23:55:24*flyx joined #nim