<< 08-02-2015 >>

00:00:25*Etheco quit (Quit: Leaving)
00:00:54*Trustable quit (Quit: Leaving)
00:06:18*sillesta64 joined #nim
00:36:08*reem quit (Remote host closed the connection)
00:42:15onionhammerAraq nimsuggest seems to work find (for many files) for a while, then it starts not working after maybe 8 or 9 def calls to different lookups in different files
00:42:56onionhammerAraq i'm going to start the switch over to sockets
00:45:16flaviuhttps://github.com/Araq/Nim/issues/2088
00:45:28flaviudef-: above is related to our PMs
00:50:45Varriountonionhammer: I have about 2/5 of Nimlime refactored
00:51:15VarriountOne of the big improvements is more settings.
01:10:29*LMB_ joined #nim
01:11:10onionhammerVarriount oh? have you considered checking things in :P
01:11:18onionhammerotherwise merging is gonna be a bitch and a half
01:12:04onionhammerAraq looks like interrupt on nimsuggest leaves a dangling socket
01:13:31*perturbation joined #nim
01:13:39onionhammeraraq nah nevermind, it was python :0
01:13:54LMB_Hi there! Nim newbie here...
01:14:35*wb quit (Ping timeout: 264 seconds)
01:16:08LMB_In C++ or D I can create a type parameterized by both a type and, say, an integer.
01:16:18LMB_Something like template<T, int>
01:16:50LMB_I am trying to do something similar with Nim generics, but I couldn't make it work so far,
01:17:19def-LMB_: we have static[int] for that, but it's experimental/not working as expected. Do you have your code somewhere?
01:18:15def-or maybe this helps: https://github.com/def-/nim-unsorted/blob/master/matrixarithmetic.nim
01:18:23LMB_I was trying something like this:
01:18:35LMB_type Vector[T:typedesc,N:int] = tuple data: array[N, T]
01:18:46LMB_Er, with some line breaks here and there.
01:19:22LMB_Hum, nice.
01:19:33LMB_I'll take a look at static[int] and this example.
01:19:34LMB_Thanks!
01:20:21def-sth like this?: type Vector[T; N: static[int]] = tuple[data: array[N, T]]
01:20:45*reem joined #nim
01:21:01def-note the ; instead of , that makes T have any type, otherwise T would be a static[int] as well
01:21:17def-(T: typedesc would work as well)
01:24:32LMB_OK, the type declaration works! Time to write my first proc ;-)
01:25:57perturbationI have something really weird - I'm interfacing with C for leveldb, and the C function expects a pointer to a size_t variable to output the length when called
01:26:11perturbationif I declare a variable as type csize and then pass it in as 'addr foo'
01:26:31perturbationit works, but if I declare it as ptr csize and pass it in as 'foo', it doesn't
01:28:56perturbationI'll see if I can find a difference based on the nimcache output
01:29:02def-perturbation: good idea
01:29:07def-sounds ok for me, not sure
01:34:29*JinShil quit (Quit: Konversation terminated!)
01:35:21*davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:35:31*perturbation quit (Ping timeout: 245 seconds)
01:36:59*davidhq joined #nim
01:38:59*perturbation joined #nim
01:39:08flaviudef-: fyi, you can have a trailing comma.
01:39:16flaviu.eval echo [1, 2, 3, 4,]
01:39:39*Mimbus joined #nim
01:39:40flaviu.eval echo [1, 2, 3, 4,]
01:39:44Mimbusflaviu: eval.nim(3, 6) Error: type expected
01:40:15flaviu.give def- echo(@[1, 2, 3, 4,])
01:40:19Mimbusdef-: @[1, 2, 3, 4]
01:40:24*reem_ joined #nim
01:41:19def-flaviu: what's this about?
01:41:34flaviuThe matrixarithmetic.nim link you posted
01:41:58*reem quit (Ping timeout: 252 seconds)
01:42:11def-ah, if i had written it with trailing commas instead of leading ones?
01:43:16flaviuYes, since leading commas are most commonly used to avoid dealing with not having a final comma
01:43:55def-I actually like the way they look, but that's probably just me
01:46:31Varriountperturbation: Still having issues?
01:54:43*davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:57:17perturbationVarriount, sorry, yes, but I have a working version so I just have to do some digging on my own now
02:03:53perturbationbbl when I have some better information as to what's going on
02:03:53*perturbation quit (Quit: Leaving)
02:06:04onionhammerVarriount i just checked in the change for using sockets
02:11:41*reem_ quit (Remote host closed the connection)
02:21:56*darkf joined #nim
02:23:20*reem joined #nim
02:24:11*reem quit (Remote host closed the connection)
02:52:36pwernersbachpertubation, declaring something as csize allocs the memory for it, and taking the addr of it (as in addr(foo)) gives you a pointer to that alloc'd space. Declaring something as ptr csize means that the variable is a pointer to a csize, but it doesn't allocate the memory for it
02:52:52pwernersbachYou could do something like this:
02:53:04pwernersbachvar a: csize = 0
02:53:15pwernersbachvar b: ptr csize = addr(a)
02:53:25pwernersbach* = addr ( a )
02:53:37pwernersbach, but just ptr csize would be wrong
02:57:42*skyfex_ joined #nim
03:00:27*skyfex quit (Ping timeout: 265 seconds)
03:05:27*JinShil joined #nim
03:18:20*brson joined #nim
03:23:03*JinShil quit (Quit: Konversation terminated!)
03:25:53*reem joined #nim
03:26:57*saml_ quit (Quit: Leaving)
03:27:47onionhammerVarriount hm ur branch is pretty out of date w/ master
03:28:20*reem quit (Remote host closed the connection)
03:33:08*LMB_ left #nim (#nim)
03:34:51reactormonkonionhammer, devel's the one you want to go for
03:50:05*sillesta64 quit (Read error: Connection reset by peer)
03:53:47onionhammerreactormonk talking about the nimlime repo
03:53:58reactormonkonionhammer, oops
04:03:35*brson quit (Quit: leaving)
04:08:05*BitPuffin quit (Quit: See you on the dark side of the moon!)
04:09:08*EXetoC quit (Ping timeout: 245 seconds)
04:21:33Varriountonionhammer: Uh, I haven't pushed my branch yet?
04:22:00VarriountUnless you somehow have access to my laptop. Which has been off for the past couple of hours.
04:22:25onionhammerVarriount ah feb 201*4* lol, my bad ;)
04:23:46Varriountonionhammer: I'm going to be changing the configuration naming scheme a bit, if that's alright with you.
04:24:30Varriountonionhammer: I've switched the code to use configuration names like 'nimcheck.on_save.enabled' (in the json file)
04:24:47VarriountIn the actual code it's all underscores.
04:25:53*pwernersbach left #nim (#nim)
04:25:58Varriountonionhammer: Any objections/questions/ideas for improvement?
05:40:50*NimBot joined #nim
05:43:43*vendethiel quit (Ping timeout: 245 seconds)
05:45:57*vendethiel joined #nim
06:14:26*akiradeveloper joined #nim
06:21:55*reem joined #nim
06:23:52*akiradeveloper quit (Remote host closed the connection)
06:26:44*FusionGaming quit (Ping timeout: 244 seconds)
06:36:22*akiradeveloper joined #nim
06:40:50*akiradeveloper quit (Remote host closed the connection)
06:41:10*akiradeveloper joined #nim
06:46:06*akiradeveloper quit (Remote host closed the connection)
06:47:12*akiradeveloper joined #nim
06:53:04*nande quit (Read error: Connection reset by peer)
06:56:01*akiradeveloper quit (Remote host closed the connection)
06:56:35*akiradeveloper joined #nim
06:57:56*akiradev_ joined #nim
07:00:48*akiradeveloper quit (Ping timeout: 245 seconds)
07:05:14*akiradev_ quit (Remote host closed the connection)
07:10:25*akiradeveloper joined #nim
07:16:43*akiradeveloper quit (Remote host closed the connection)
07:28:47*akiradeveloper joined #nim
07:58:59*reem quit (Remote host closed the connection)
08:01:24*reem joined #nim
08:04:32*reem quit (Remote host closed the connection)
08:06:15*reem joined #nim
08:09:02*reem quit (Remote host closed the connection)
08:13:13*CARAM__ quit (Ping timeout: 252 seconds)
08:15:48*CARAM__ joined #nim
08:23:25*wb joined #nim
08:33:43*reem joined #nim
08:33:58*akiradeveloper quit (Remote host closed the connection)
08:58:25*dumdum joined #nim
09:02:50*akiradeveloper joined #nim
09:05:42*akiradeveloper quit (Remote host closed the connection)
09:13:06*reem quit (Remote host closed the connection)
09:14:44*reem joined #nim
09:33:41*Demon_Fox quit (Quit: Leaving)
09:41:04*dyu joined #nim
09:41:41*ARCADIVS quit (Quit: ARCADIVS)
09:46:55*gmpreussner|work quit (Read error: Connection reset by peer)
09:50:06*JinShil joined #nim
09:58:31*BlaXpirit joined #nim
10:00:17*sillesta64 joined #nim
10:04:28*reactormonk quit (Ping timeout: 255 seconds)
10:08:55*reactormonk joined #nim
10:14:36Araqreactormonk: when you pulled this "nicer error message", did you adapt every single test that we have that checks for this error message?
10:33:17*dumdum quit (Ping timeout: 256 seconds)
10:35:25*Matthias247 joined #nim
10:45:18*VinceAddons joined #nim
11:01:50*kuzy000_ joined #nim
11:10:23*reem quit (Remote host closed the connection)
11:11:39*reem joined #nim
11:12:01*dyu quit (Quit: Leaving)
11:14:33*reem quit (Remote host closed the connection)
11:31:59*Trustable joined #nim
11:57:23Araqfowlmouth: I'm working on https://github.com/Araq/Nim/issues/2073
11:58:02Araqbut it would really be nice if you could come up with a *full* example that triggers the bug and that I can then add to the testsuite
12:06:50*darkf_ joined #nim
12:09:58*darkf quit (Ping timeout: 245 seconds)
12:10:17*darkf_ is now known as darkf
12:10:59*filwit joined #nim
12:11:40filwithey folks
12:12:44filwitaraq, dom96: i made a PR with some website improvements: https://github.com/Araq/Nim/pull/2091
12:13:10Araqyay filwit is back
12:13:11filwitplease review whenever y'all have time and let me know if it checks out.
12:13:17filwit:)
12:13:19def-hi filwit
12:13:37filwithey def
12:13:37*JinShil quit (Quit: Konversation terminated!)
12:13:46BlaXpirit:>
12:13:52*Angry joined #nim
12:14:03filwitwow, 95 users now eh?
12:14:19BlaXpiritwas 104 yesterday
12:14:21BlaXpiritand probably more
12:14:26filwitnice
12:14:32Araqrecord was by 115 or something
12:14:35BlaXpirithttps://gist.github.com/dom96/da2d4dead6fb00b71312
12:15:38*dumdum joined #nim
12:15:50filwitis dom96 around, I want to fix a couple of things on the forums, but nim-code/nimforum seems to be outdated and I don't see the forums in the main repo
12:16:23Araqnope
12:16:34filwitanyone got a link to the existing forums? Even the 'view source' in my browser is confusing me (it isn't linking to all the CSS required to actually display the forums
12:17:10Araqdom96, fowlmouth right assoc for a->b => c really *sucks*, I will change the spec
12:17:36Araqso sorry, Haskell fans a->b->c won't do what you think it does
12:18:58dv-what does -> do?
12:19:36def-dv-: http://nim-lang.org/future.html#-%3E.m,expr,expr
12:22:38dv-will that work for "normal" procs too?
12:23:18dv-ah, i guess not
12:24:11Araqfilwit: the forum is still on github
12:24:23Araqcheck out all if its branches
12:25:55filwitAraq: okay i see it now, thanks
12:29:27filwithmmm..., I need to talk to dom96 before changing anything on the forums I think. I designed the original CSS to cover everything in one file (to avoid loading multiple CSS files for different sections of the website). It seems the forums use a duplicated copy of the original though, and we could probably optimize that.
12:30:13filwitI've noticed on the forums the nim logo always pulls down when i refresh (on Chrome, firefox seems to be a bit better). Which might mean the caching on the server isn't set right too.
12:30:42filwitAraq: do you run the forums and website from the same host?
12:31:17filwitguess it wouldn't matter much actually, nevermind
12:31:52Araqer ... I think so
12:57:19dom96filwit: I'd rather keep the CSS seperate so I removed the stuff which wasn't needed.
13:09:07*dumdum quit (Ping timeout: 256 seconds)
13:10:34filwithey dom96: that's fine, but a lot of the basic layout code is in the CSS file you most likely already have caches (due to traveling through the website to get to the forums). We might as well link to the website one, and only have extra stuff in a separate file.
13:10:53*davidhq joined #nim
13:11:19filwitit would also make it easier to keep the site and forums visually consistent
13:12:08filwitcached**
13:13:23flaviufilwit: Can you include a rendered copy of the website with your PR so that the changes can be visually seen?
13:14:27flaviuAlso, do you use sass, or is your formatting just similar to it?
13:14:30filwitflaviu: sure, give me a minute to take a few screenshots
13:15:39*EXetoC joined #nim
13:15:44filwitno don't use sass, I've just found that matching the CSS indentation with the HTML helps when trying to locate a style, so my style has adapted to that over time
13:16:35dom96filwit: I wouldn't worry about caching the CSS too much.
13:17:10filwitdom96: well i'm not only worried about performance, it's about maintenance too
13:17:55filwiti can already spot descrepencies between the two, for instance the body background is not the same opacity and the links are different colors.
13:18:41filwitplus all the code styling is different (tho my PR fixes that on the website)
13:29:31BlaXpirithow to get fields of a type?
13:30:04def-BlaXpirit: http://nim-lang.org/system.html#fields.i,T ?
13:30:20BlaXpiritright, lol
13:30:22BlaXpiritthanks
13:30:26BlaXpiriti knew there was something
13:32:40BlaXpiritbut no, wait...
13:32:52BlaXpiritI want names of all fields of a type
13:33:12BlaXpiritwhat I actually want is to initialize an object without specifying field names
13:33:16def-fieldPairs, right below?
13:34:10def-Or the stuff from typeinfo: http://nim-lang.org/typeinfo.html#fields.i,TAny
13:34:33*dyu joined #nim
13:34:51BlaXpiritah, that's nice
13:35:10BlaXpiritoh, i forgot about theindex again
13:36:26BlaXpirithmm I don't know how to use this
13:37:47BlaXpiritall of these things seem to require an object, not a type
13:38:29flaviuSo use a dummy object
13:41:06*Angry quit (Remote host closed the connection)
13:49:10filwitdom96, flaviu: http://reign-studios.net/philipwitte/nim/pr-changes-temp.png
13:49:22filwitjust a couple of screens of the main visual changes made
13:50:17filwitthere's really not much CSS changes beyond that (i refactored a lot and made the code universally colored)
13:50:38flaviutbh, that doesn't look very good.
13:51:06filwitelaborate?
13:51:33flaviuIt looks like the CSS is broken on the second column, and the text should wrap instead of disappearing at overflow.
13:52:01filwitlol, that image is a screen collage
13:52:12filwitthere's 3 screenshot in one image there
13:52:16filwitfrom 3 different pages
13:52:58flaviuOh, my bad then.
13:53:03filwiti'm showing the banner changes (the ones that matter) at the top, and the docs & learn at the bottom... sorry i didn't put borders around them to separate, was just doing it quick
13:53:05flaviuThe icons look good then
13:53:20filwitokay, cool
13:53:29filwitand the 3rd banner?
13:54:06flaviu3rd banner?
13:54:20Araqer ... does that mean the nice mainsite full of text gets replaced with our "docs" sections?
13:54:23filwiti added some comments and changed the text a bit to something I thought fit better, plus I highlighted 'routs', 'get' etc (i also did that for 'spawn' on the second slide)
13:54:41filwitAraq: no....
13:55:07filwitflaviu: the banner in the image is the 3rd one
13:55:22dom96filwit: can you just show us 3 separate screenshots?
13:55:32filwitAraq, flaviu: sorry i just did that really fast but I see it's confusing, let me take better screens...
13:56:10dom96I don't think those should be highlighted since they are not in fact keywords.
13:56:56filwitdom96: well either is 'parallel' in the second slide, but that's highlighted (unlike the 'spawn', which i highlighted as well in the PR)
13:57:41filwitdom96: if you look on github, it collors function calls without () params correctly and works well... perhaps we could choose a color for function call in the banner?
13:57:50flaviufilwit: Can you post vector versions of the Nim logo? It would also be nice if you replaced the background image on the website with a PNG version.
13:57:58dom96filwit: also the 'compile and run with' should be underneath the jester example
13:58:30filwitflaviu: yes, I've been meaning to give y'all all the source art, forgot about that
14:00:15filwitdom96: the reason i put it under the first one is because the compile command applies to both, so it's just assumed with the second example and it fits much nicer (though I can put them both under the last one and it fits)
14:01:07dom96I think it makes more sense to just have it under the jester example.
14:01:18dom96Otherwise we should have it under each slide.
14:01:27dom96which is unecessary
14:01:41dom96*unnecessary
14:02:21filwiti don't think it's unclear at all, in fact I think it's more confusing to only have a "here's how to compile" on only a single code example... but I'll do whatever you feel is best
14:03:51filwiti need to run to the store folks, i'll be back later to make the changes
14:11:56AraqI never liked that the jester example has the compiling instructions
14:12:48Araqbut they give dom96 a warm and fuzzy feeling
14:13:09dom96lol
14:13:11dom96meh, remove them then
14:13:22dom96or maybe add them as a comment in the code
14:14:00Araqwe kind of encourage people to not read our amazing docs :P
14:14:20Araqthe examples should all be unusable code
14:14:35Araqand have links to the 1000 pages language manual
14:15:10*reem joined #nim
14:17:22Araqdom96: can you make 'nimsuggest' a Nimble package please?
14:17:31*dumdum joined #nim
14:19:41*reem quit (Ping timeout: 245 seconds)
14:20:43dom96Araq: sure
14:36:12dom96Araq: nimsuggest doesn't compile for me
14:37:07Araqwhat's the error message?
14:38:05dom96rdstdin fails on Windows
14:38:57dom96also when I try to create a nimble package out of it I get https://gist.github.com/dom96/a9f697631cc2512c8807
14:38:57Araqoh ok, let me fix it
14:39:41Araqwtf
14:40:51dom96indeed
14:43:57*darkf quit (Quit: Leaving)
14:46:57shevyepic Araq quote
14:47:01shevythree letters :)
14:48:51Araqdom96: now it compiles again for me. dunno about your Nimble error
14:54:09Araqhrm if https://github.com/Araq/Nim/issues/2077 is still open, what did I close instead?
14:54:59flaviuBlaXpirit, def-: I promised this article yesterday http://flaviut.github.io/2015/02/08/circleci-nim/
14:55:12BlaXpiritthank you very much
14:55:18def-flaviu: don't link to my article please
14:55:32def-flaviu: will be published properly tomorrow
14:55:55flaviudef-: Ok, sounds good. PM me when it's published and I'll add the link back
14:56:36BlaXpiritflaviu, please say something about price
14:57:12def-BlaXpirit: price?
14:57:35BlaXpiritprice for using CircleCI this way
14:57:40flaviuBlaXpirit: Good idea.
14:59:40BlaXpiritdoes this mean there is a price? D:
14:59:47BlaXpiriti hoped for free
15:01:03flaviuBlaXpirit: It is free. The idea is that people mess around with it and enjoy it, and then they decide to use it for actual work, at which point their company pays for it.
15:01:16flaviuSame model as Github, Bitbucket
15:03:41Araqbbl
15:05:57BlaXpiritthe best addition to that article would be a link to nre, tested this way :D
15:07:37reactormonkAraq, are tests build with release or test?
15:08:42*BlaXpirit_ joined #nim
15:08:53BlaXpirit_...
15:09:01BlaXpirit_connection again
15:09:04Araqusually with a release version of the Nim compiler, reactormonk
15:09:11reactormonkAraq, ok.
15:09:31Araqbbl (this time for real)
15:11:44*BlaXpirit quit (Ping timeout: 265 seconds)
15:13:18dom96flaviu: I like your blogs title.
15:13:20dom96:P
15:13:52flaviuI'm full of witty titles!
15:14:52*Trustable1 joined #nim
15:15:25shevytitty witles?
15:16:03*Trustable quit (Ping timeout: 256 seconds)
15:28:16*gokr_ joined #nim
15:32:02dom96Araq: well I created the nimble package anyway
15:32:08dom96no idea why it fails though
15:46:39*dumdum quit (Ping timeout: 256 seconds)
15:52:02*EXetoC quit (Quit: WeeChat 1.1.1)
16:21:40*irrequietus joined #nim
16:28:03onionhammerVarriount go nuts with refactoring - just as long as we don't reduce functionality ;)
16:28:17onionhammerVarriount did you get my changes for nimsuggest?
16:28:25onionhammerAraq btw did you see my msg from earlier?
16:31:34reactormonkAraq, sooo how do I check which tests are broken by my changes?
16:35:29onionhammerAraq just grabbed latest; http://pastebin.com/xTkDYxHt
16:47:09*irrequietus quit ()
16:47:11*kuzy000_ quit (Ping timeout: 250 seconds)
16:47:33*kuzy000_ joined #nim
16:50:50*alexruf joined #nim
16:51:08*mytrile joined #nim
16:51:10*alexruf quit (Client Quit)
17:02:12*Jesin quit (Quit: Leaving)
17:04:48*Jesin joined #nim
17:17:09def-Any chance of getting Windows bootstrapping fixed?: https://github.com/Araq/Nim/issues/2092
17:19:25BlaXpirit_wasnt Var. working on it?
17:19:40BlaXpirit_i remember yesterday he said it was done
17:26:10*dyu quit (Quit: Leaving)
17:51:50*jefus joined #nim
17:53:21*dumdum joined #nim
17:57:57BlaXpirit_will `method destroy` work?
18:09:07*alexruf joined #nim
18:19:01*xAndy| is now known as xandy
18:19:01*xandy quit (Changing host)
18:19:01*xandy joined #nim
18:26:08*irrequietus joined #nim
18:27:35*dumdum quit (Ping timeout: 256 seconds)
18:36:28*alexruf quit (Quit: My Mac has gone to sleep. ZZZzzz…)
18:43:30*alexruf joined #nim
18:45:41*Boscop__ joined #nim
18:48:18*Boscop_ quit (Ping timeout: 245 seconds)
18:50:40*irrequietus quit ()
18:51:47BlaXpirit_how to load a dynamic library that depends on some other library but doesn't load it?
18:55:48*filwit quit (Ping timeout: 245 seconds)
18:55:48BlaXpirit_ -lpthread
18:56:14BlaXpirit_{.passL: "-lpthread".}
19:09:57BlaXpirit_how to printf %5.2f ?
19:10:11*alexruf quit (Quit: My Mac has gone to sleep. ZZZzzz…)
19:34:16*alexruf joined #nim
19:51:37def-BlaXpirit_: for threading there's also --threads:on
19:52:46*alexruf quit (Quit: Textual IRC Client: www.textualapp.com)
19:52:47def-BlaXpirit_: strutils.formatFloat or strfmt.format("5.2f")
20:03:43Araqonionhammer: does it matter which files you test?
20:20:08onionhammerAraq doesnt seem to, but as soon as one lookup doesnt work the rest dont work
20:20:59*flaviu quit (Read error: Connection reset by peer)
20:21:00*Mimbus quit (Read error: Connection reset by peer)
20:21:38Araqwell hrm
20:21:50Araqplease create a proper test for this
20:22:04gokrHey folks
20:22:31Araqhi gokr
20:23:05gokrAnything cool happening? Weekend has been busy with... kids etc.
20:23:40*flaviu joined #nim
20:24:05AraqI wanted to release 0.10.4 today, but I won't
20:25:12onionhammeraraq sure.. ill try to write something to repro it
20:27:58gokrI am still amazed at people expressing "views" on what the community should and should not do.
20:28:37gokr(regarding "beginner inside" post on forum)
20:28:53Araqyeah, it's nice everybody knows better what we should do
20:29:06Araqit's like soccer
20:29:16Araqthe fan always knows better than the coach
20:29:57gokrBut I just ... find it funny that people don't understand that 99% of what is being done is done because someone *wants* to do it. Not because someone *else* wants you to.
20:30:42gokrBut of course, people caring is good. :)
20:31:04Araqreally? I spent 99% of my time fixing bugs I couldn't give a shit about :P
20:31:30gokrWell, granted - but I think you do it because Nim is your baby and you want it to be great.
20:32:39Araqyeah, you're right of course
20:33:15gokrIts the "itch" of open source. Most people that do it unpaid - scratch their own.
20:33:40gokrWhich is why I generally applaud any effort - regardless if its "strategic" or not.
20:36:03Araqthe forum we wrote found 2 critical GC bugs as well as numerous bugs in the async implementation
20:36:25Araqeverything we do here is strategic.
20:37:39Araqnimsuggest is strategic.
20:37:49Araqthe language rename was strategic.
20:38:28gokrWell... I wouldn't say everything "we" do (since I consider myself a part) is "strategic" - I would rather say everything has value.
20:38:55gokrMy articles for example sure aren't part of any strategy - I just write them because I lite to.
20:38:57gokrlike to.
20:39:35flaviuhttps://github.com/Araq/Nim/issues/1693 would be a strategic move :P
20:39:56Araqon the contrary
20:40:16Araqit means we need to deprecate every constructor in the stdlib
20:40:25Araqfor consistency.
20:40:39Araqit's yet another language feature when we're after stability
20:41:28Araqit's not even clear the feature works in practice. overloading resolution is the core of the language.
20:41:53Araqit would be almost as big a mistake as the new VM was
20:43:11*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:44:31flaviuWhat do you mean by "it's not even clear the feature works in practice"?
20:45:15flaviuBut your reasoning does make sense.
20:45:23*gokr_ quit (Ping timeout: 245 seconds)
20:48:40Araqflaviu: there have been concerns raised about how this feature interacts with multi methods
20:49:32*irrequietus joined #nim
20:50:20AraqI don't think it has anything to do with them
20:50:37Araqbut I didn't think about it really either
20:56:08*superfunc|lab joined #nim
21:02:53onionhammerAraq I started here https://github.com/onionhammer/onion-nimrod/blob/master/tests/repro.py
21:03:13onionhammerbut its not done or really reproducing the behavior i saw yet, I'm out of time for today though
21:03:14onionhammerafk
21:03:23Araqbah.
21:03:30Araqfinish it please.
21:03:55Araqremember, sleep is for losers.
21:10:33fowlmouthAraq, right assoc means a->b=>c is parsed as a->(b=>c) ?
21:10:54Araqfowlmouth: yes, but I already changed the spec (and implementation)
21:11:27Araqwhen I asked dom96 about this gotcha he told me it wouldn't matter in practice :P
21:11:40fowlmouthwe could have just fixed the macro to account for it
21:12:51Araqno, I didn't really like it anyway
21:13:06Araqarrows are too useful in too many contexts to trigger right associativity
21:13:23onionhammerAraq not going to sleep, but i do have a fever and a girlfriend that demands attention :P
21:14:11Araqpfff. girlfriends are overrated
21:14:11fowlmouthAraq, what is 'arrow like', special case for ->, => or all >s
21:14:26Araqfowlmouth: read the spec/manual
21:14:48Araqonionhammer: get well soon!
21:16:03*superfunc|lab quit (Ping timeout: 252 seconds)
21:16:30fowlmouthAraq, well thanks for fixing it :)
21:21:13*dymk left #nim ("Leaving")
21:26:40*matkuki joined #nim
21:27:58reactormonkAraq, so how do I find all tests that are affected by my new message?
21:30:13Araqreactormonk: grep for "instantiation"?
21:36:39*kuzy000_ quit (Ping timeout: 250 seconds)
21:38:15*ehaliewicz joined #nim
21:46:39reactormonkAraq, tests/generics/texplicitgeneric1.nim:# test explicit type instantiation
21:46:43reactormonkthat stuff?
21:47:09Araqeverything in generic/ is green
21:54:11*Demon_Fox joined #nim
21:56:00*mytrile quit (Quit: Leaving.)
22:02:23*irrequietus quit ()
22:11:35*mytrile joined #nim
22:12:07*mytrile left #nim (#nim)
22:15:13*matkuki quit (Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805])
23:07:42*Trustable1 quit (Quit: Leaving)
23:09:55Araqwho ordered tables in const sections?
23:10:02Araqthese now work
23:19:43*joecodes joined #nim
23:20:18def-cool, also echoing nil strings
23:20:40def-so echo, add, len will work for strings and seqs?
23:20:46onionhammeraraq yeah i cant really reproduce exactly what i was seeing before; there are still a lot of 'no results founds' though
23:21:18Araqonionhammer: you have a fever. you should sleep.
23:21:35Araqdef-: yup. that's planned since forever
23:22:08onionhammerAraq i know i should :P
23:22:21def-that will prevent many segfaults people get all the time, great
23:22:21onionhammerI get address in use a lot, maybe u could make it reusable?
23:23:00def-Araq: i just hope the check whether it's nill isn't expensive
23:23:23joecodesThis might be of interest to Araq https://www.youtube.com/watch?v=ZHqFrNyLlpA#t=2430 he's designing a language for game designers and has some interesting ideas (coming from c++ land)
23:23:45Araqdef-: we'll get xlen and xadd which don't check for nil. for our speed freaks.
23:24:27Araqso yeah, I decided to delay 0.10.4 and instead try to ensure it's polished, this time.
23:24:44*sillesta64 quit (Ping timeout: 265 seconds)
23:24:53def-ok, good. my article should be out in ~ 12 hours then
23:25:56Araqer ... ok?
23:26:03Araqso you don't want to wait
23:27:16BlaXpirit_Araq, just another thing I ran into... discard is non destructible context.
23:34:28*reem joined #nim
23:41:33Araqjoecodes: already know it ;-)
23:43:34*Matthias247 quit (Read error: Connection reset by peer)
23:45:47joecodesAraq: ah, should have known :-) I find his SOA vs AOS very interesting, so you can access structures in the most performant way, i.e. if you have a field that is just 1 bit long, and declared SOA, it is one long string of bits, but program structure doesn't need to know this.
23:46:32*Sornaensis quit (Excess Flood)
23:46:51Araqyou can get roughly the same with Nim's templates, used as accessors
23:47:18*Sornaensis joined #nim
23:47:45Araqand his SOA vs AOS reinvents type aliases, in a way
23:50:22joecodesah
23:51:21*jsudlow quit (Quit: Leaving)
23:53:37Araqand that pointers support pointer arithmetic out of the box and he repeats C's mistake of not distinguishing between ptr array of char and ptr of char is madness