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:15 | onionhammer | Araq 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:56 | onionhammer | Araq i'm going to start the switch over to sockets |
00:45:16 | flaviu | https://github.com/Araq/Nim/issues/2088 |
00:45:28 | flaviu | def-: above is related to our PMs |
00:50:45 | Varriount | onionhammer: I have about 2/5 of Nimlime refactored |
00:51:15 | Varriount | One of the big improvements is more settings. |
01:10:29 | * | LMB_ joined #nim |
01:11:10 | onionhammer | Varriount oh? have you considered checking things in :P |
01:11:18 | onionhammer | otherwise merging is gonna be a bitch and a half |
01:12:04 | onionhammer | Araq looks like interrupt on nimsuggest leaves a dangling socket |
01:13:31 | * | perturbation joined #nim |
01:13:39 | onionhammer | araq nah nevermind, it was python :0 |
01:13:54 | LMB_ | Hi there! Nim newbie here... |
01:14:35 | * | wb quit (Ping timeout: 264 seconds) |
01:16:08 | LMB_ | In C++ or D I can create a type parameterized by both a type and, say, an integer. |
01:16:18 | LMB_ | Something like template<T, int> |
01:16:50 | LMB_ | I am trying to do something similar with Nim generics, but I couldn't make it work so far, |
01:17:19 | def- | LMB_: we have static[int] for that, but it's experimental/not working as expected. Do you have your code somewhere? |
01:18:15 | def- | or maybe this helps: https://github.com/def-/nim-unsorted/blob/master/matrixarithmetic.nim |
01:18:23 | LMB_ | I was trying something like this: |
01:18:35 | LMB_ | type Vector[T:typedesc,N:int] = tuple data: array[N, T] |
01:18:46 | LMB_ | Er, with some line breaks here and there. |
01:19:22 | LMB_ | Hum, nice. |
01:19:33 | LMB_ | I'll take a look at static[int] and this example. |
01:19:34 | LMB_ | Thanks! |
01:20:21 | def- | sth like this?: type Vector[T; N: static[int]] = tuple[data: array[N, T]] |
01:20:45 | * | reem joined #nim |
01:21:01 | def- | note the ; instead of , that makes T have any type, otherwise T would be a static[int] as well |
01:21:17 | def- | (T: typedesc would work as well) |
01:24:32 | LMB_ | OK, the type declaration works! Time to write my first proc ;-) |
01:25:57 | perturbation | I 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:11 | perturbation | if I declare a variable as type csize and then pass it in as 'addr foo' |
01:26:31 | perturbation | it works, but if I declare it as ptr csize and pass it in as 'foo', it doesn't |
01:28:56 | perturbation | I'll see if I can find a difference based on the nimcache output |
01:29:02 | def- | perturbation: good idea |
01:29:07 | def- | 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:08 | flaviu | def-: fyi, you can have a trailing comma. |
01:39:16 | flaviu | .eval echo [1, 2, 3, 4,] |
01:39:39 | * | Mimbus joined #nim |
01:39:40 | flaviu | .eval echo [1, 2, 3, 4,] |
01:39:44 | Mimbus | flaviu: eval.nim(3, 6) Error: type expected |
01:40:15 | flaviu | .give def- echo(@[1, 2, 3, 4,]) |
01:40:19 | Mimbus | def-: @[1, 2, 3, 4] |
01:40:24 | * | reem_ joined #nim |
01:41:19 | def- | flaviu: what's this about? |
01:41:34 | flaviu | The matrixarithmetic.nim link you posted |
01:41:58 | * | reem quit (Ping timeout: 252 seconds) |
01:42:11 | def- | ah, if i had written it with trailing commas instead of leading ones? |
01:43:16 | flaviu | Yes, since leading commas are most commonly used to avoid dealing with not having a final comma |
01:43:55 | def- | I actually like the way they look, but that's probably just me |
01:46:31 | Varriount | perturbation: Still having issues? |
01:54:43 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
01:57:17 | perturbation | Varriount, sorry, yes, but I have a working version so I just have to do some digging on my own now |
02:03:53 | perturbation | bbl when I have some better information as to what's going on |
02:03:53 | * | perturbation quit (Quit: Leaving) |
02:06:04 | onionhammer | Varriount 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:36 | pwernersbach | pertubation, 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:52 | pwernersbach | You could do something like this: |
02:53:04 | pwernersbach | var a: csize = 0 |
02:53:15 | pwernersbach | var b: ptr csize = addr(a) |
02:53:25 | pwernersbach | * = addr ( a ) |
02:53:37 | pwernersbach | , 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:47 | onionhammer | Varriount 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:51 | reactormonk | onionhammer, devel's the one you want to go for |
03:50:05 | * | sillesta64 quit (Read error: Connection reset by peer) |
03:53:47 | onionhammer | reactormonk talking about the nimlime repo |
03:53:58 | reactormonk | onionhammer, 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:33 | Varriount | onionhammer: Uh, I haven't pushed my branch yet? |
04:22:00 | Varriount | Unless you somehow have access to my laptop. Which has been off for the past couple of hours. |
04:22:25 | onionhammer | Varriount ah feb 201*4* lol, my bad ;) |
04:23:46 | Varriount | onionhammer: I'm going to be changing the configuration naming scheme a bit, if that's alright with you. |
04:24:30 | Varriount | onionhammer: I've switched the code to use configuration names like 'nimcheck.on_save.enabled' (in the json file) |
04:24:47 | Varriount | In the actual code it's all underscores. |
04:25:53 | * | pwernersbach left #nim (#nim) |
04:25:58 | Varriount | onionhammer: 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:36 | Araq | reactormonk: 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:23 | Araq | fowlmouth: I'm working on https://github.com/Araq/Nim/issues/2073 |
11:58:02 | Araq | but 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:40 | filwit | hey folks |
12:12:44 | filwit | araq, dom96: i made a PR with some website improvements: https://github.com/Araq/Nim/pull/2091 |
12:13:10 | Araq | yay filwit is back |
12:13:11 | filwit | please review whenever y'all have time and let me know if it checks out. |
12:13:17 | filwit | :) |
12:13:19 | def- | hi filwit |
12:13:37 | filwit | hey def |
12:13:37 | * | JinShil quit (Quit: Konversation terminated!) |
12:13:46 | BlaXpirit | :> |
12:13:52 | * | Angry joined #nim |
12:14:03 | filwit | wow, 95 users now eh? |
12:14:19 | BlaXpirit | was 104 yesterday |
12:14:21 | BlaXpirit | and probably more |
12:14:26 | filwit | nice |
12:14:32 | Araq | record was by 115 or something |
12:14:35 | BlaXpirit | https://gist.github.com/dom96/da2d4dead6fb00b71312 |
12:15:38 | * | dumdum joined #nim |
12:15:50 | filwit | is 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:23 | Araq | nope |
12:16:34 | filwit | anyone 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:10 | Araq | dom96, fowlmouth right assoc for a->b => c really *sucks*, I will change the spec |
12:17:36 | Araq | so sorry, Haskell fans a->b->c won't do what you think it does |
12:18:58 | dv- | what does -> do? |
12:19:36 | def- | dv-: http://nim-lang.org/future.html#-%3E.m,expr,expr |
12:22:38 | dv- | will that work for "normal" procs too? |
12:23:18 | dv- | ah, i guess not |
12:24:11 | Araq | filwit: the forum is still on github |
12:24:23 | Araq | check out all if its branches |
12:25:55 | filwit | Araq: okay i see it now, thanks |
12:29:27 | filwit | hmmm..., 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:13 | filwit | I'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:42 | filwit | Araq: do you run the forums and website from the same host? |
12:31:17 | filwit | guess it wouldn't matter much actually, nevermind |
12:31:52 | Araq | er ... I think so |
12:57:19 | dom96 | filwit: 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:34 | filwit | hey 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:19 | filwit | it would also make it easier to keep the site and forums visually consistent |
13:12:08 | filwit | cached** |
13:13:23 | flaviu | filwit: Can you include a rendered copy of the website with your PR so that the changes can be visually seen? |
13:14:27 | flaviu | Also, do you use sass, or is your formatting just similar to it? |
13:14:30 | filwit | flaviu: sure, give me a minute to take a few screenshots |
13:15:39 | * | EXetoC joined #nim |
13:15:44 | filwit | no 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:35 | dom96 | filwit: I wouldn't worry about caching the CSS too much. |
13:17:10 | filwit | dom96: well i'm not only worried about performance, it's about maintenance too |
13:17:55 | filwit | i 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:41 | filwit | plus all the code styling is different (tho my PR fixes that on the website) |
13:29:31 | BlaXpirit | how to get fields of a type? |
13:30:04 | def- | BlaXpirit: http://nim-lang.org/system.html#fields.i,T ? |
13:30:20 | BlaXpirit | right, lol |
13:30:22 | BlaXpirit | thanks |
13:30:26 | BlaXpirit | i knew there was something |
13:32:40 | BlaXpirit | but no, wait... |
13:32:52 | BlaXpirit | I want names of all fields of a type |
13:33:12 | BlaXpirit | what I actually want is to initialize an object without specifying field names |
13:33:16 | def- | fieldPairs, right below? |
13:34:10 | def- | Or the stuff from typeinfo: http://nim-lang.org/typeinfo.html#fields.i,TAny |
13:34:33 | * | dyu joined #nim |
13:34:51 | BlaXpirit | ah, that's nice |
13:35:10 | BlaXpirit | oh, i forgot about theindex again |
13:36:26 | BlaXpirit | hmm I don't know how to use this |
13:37:47 | BlaXpirit | all of these things seem to require an object, not a type |
13:38:29 | flaviu | So use a dummy object |
13:41:06 | * | Angry quit (Remote host closed the connection) |
13:49:10 | filwit | dom96, flaviu: http://reign-studios.net/philipwitte/nim/pr-changes-temp.png |
13:49:22 | filwit | just a couple of screens of the main visual changes made |
13:50:17 | filwit | there's really not much CSS changes beyond that (i refactored a lot and made the code universally colored) |
13:50:38 | flaviu | tbh, that doesn't look very good. |
13:51:06 | filwit | elaborate? |
13:51:33 | flaviu | It looks like the CSS is broken on the second column, and the text should wrap instead of disappearing at overflow. |
13:52:01 | filwit | lol, that image is a screen collage |
13:52:12 | filwit | there's 3 screenshot in one image there |
13:52:16 | filwit | from 3 different pages |
13:52:58 | flaviu | Oh, my bad then. |
13:53:03 | filwit | i'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:05 | flaviu | The icons look good then |
13:53:20 | filwit | okay, cool |
13:53:29 | filwit | and the 3rd banner? |
13:54:06 | flaviu | 3rd banner? |
13:54:20 | Araq | er ... does that mean the nice mainsite full of text gets replaced with our "docs" sections? |
13:54:23 | filwit | i 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:41 | filwit | Araq: no.... |
13:55:07 | filwit | flaviu: the banner in the image is the 3rd one |
13:55:22 | dom96 | filwit: can you just show us 3 separate screenshots? |
13:55:32 | filwit | Araq, flaviu: sorry i just did that really fast but I see it's confusing, let me take better screens... |
13:56:10 | dom96 | I don't think those should be highlighted since they are not in fact keywords. |
13:56:56 | filwit | dom96: 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:41 | filwit | dom96: 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:50 | flaviu | filwit: 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:58 | dom96 | filwit: also the 'compile and run with' should be underneath the jester example |
13:58:30 | filwit | flaviu: yes, I've been meaning to give y'all all the source art, forgot about that |
14:00:15 | filwit | dom96: 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:07 | dom96 | I think it makes more sense to just have it under the jester example. |
14:01:18 | dom96 | Otherwise we should have it under each slide. |
14:01:27 | dom96 | which is unecessary |
14:01:41 | dom96 | *unnecessary |
14:02:21 | filwit | i 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:51 | filwit | i need to run to the store folks, i'll be back later to make the changes |
14:11:56 | Araq | I never liked that the jester example has the compiling instructions |
14:12:48 | Araq | but they give dom96 a warm and fuzzy feeling |
14:13:09 | dom96 | lol |
14:13:11 | dom96 | meh, remove them then |
14:13:22 | dom96 | or maybe add them as a comment in the code |
14:14:00 | Araq | we kind of encourage people to not read our amazing docs :P |
14:14:20 | Araq | the examples should all be unusable code |
14:14:35 | Araq | and have links to the 1000 pages language manual |
14:15:10 | * | reem joined #nim |
14:17:22 | Araq | dom96: 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:43 | dom96 | Araq: sure |
14:36:12 | dom96 | Araq: nimsuggest doesn't compile for me |
14:37:07 | Araq | what's the error message? |
14:38:05 | dom96 | rdstdin fails on Windows |
14:38:57 | dom96 | also when I try to create a nimble package out of it I get https://gist.github.com/dom96/a9f697631cc2512c8807 |
14:38:57 | Araq | oh ok, let me fix it |
14:39:41 | Araq | wtf |
14:40:51 | dom96 | indeed |
14:43:57 | * | darkf quit (Quit: Leaving) |
14:46:57 | shevy | epic Araq quote |
14:47:01 | shevy | three letters :) |
14:48:51 | Araq | dom96: now it compiles again for me. dunno about your Nimble error |
14:54:09 | Araq | hrm if https://github.com/Araq/Nim/issues/2077 is still open, what did I close instead? |
14:54:59 | flaviu | BlaXpirit, def-: I promised this article yesterday http://flaviut.github.io/2015/02/08/circleci-nim/ |
14:55:12 | BlaXpirit | thank you very much |
14:55:18 | def- | flaviu: don't link to my article please |
14:55:32 | def- | flaviu: will be published properly tomorrow |
14:55:55 | flaviu | def-: Ok, sounds good. PM me when it's published and I'll add the link back |
14:56:36 | BlaXpirit | flaviu, please say something about price |
14:57:12 | def- | BlaXpirit: price? |
14:57:35 | BlaXpirit | price for using CircleCI this way |
14:57:40 | flaviu | BlaXpirit: Good idea. |
14:59:40 | BlaXpirit | does this mean there is a price? D: |
14:59:47 | BlaXpirit | i hoped for free |
15:01:03 | flaviu | BlaXpirit: 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:16 | flaviu | Same model as Github, Bitbucket |
15:03:41 | Araq | bbl |
15:05:57 | BlaXpirit | the best addition to that article would be a link to nre, tested this way :D |
15:07:37 | reactormonk | Araq, are tests build with release or test? |
15:08:42 | * | BlaXpirit_ joined #nim |
15:08:53 | BlaXpirit_ | ... |
15:09:01 | BlaXpirit_ | connection again |
15:09:04 | Araq | usually with a release version of the Nim compiler, reactormonk |
15:09:11 | reactormonk | Araq, ok. |
15:09:31 | Araq | bbl (this time for real) |
15:11:44 | * | BlaXpirit quit (Ping timeout: 265 seconds) |
15:13:18 | dom96 | flaviu: I like your blogs title. |
15:13:20 | dom96 | :P |
15:13:52 | flaviu | I'm full of witty titles! |
15:14:52 | * | Trustable1 joined #nim |
15:15:25 | shevy | titty witles? |
15:16:03 | * | Trustable quit (Ping timeout: 256 seconds) |
15:28:16 | * | gokr_ joined #nim |
15:32:02 | dom96 | Araq: well I created the nimble package anyway |
15:32:08 | dom96 | no 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:03 | onionhammer | Varriount go nuts with refactoring - just as long as we don't reduce functionality ;) |
16:28:17 | onionhammer | Varriount did you get my changes for nimsuggest? |
16:28:25 | onionhammer | Araq btw did you see my msg from earlier? |
16:31:34 | reactormonk | Araq, sooo how do I check which tests are broken by my changes? |
16:35:29 | onionhammer | Araq 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:09 | def- | Any chance of getting Windows bootstrapping fixed?: https://github.com/Araq/Nim/issues/2092 |
17:19:25 | BlaXpirit_ | wasnt Var. working on it? |
17:19:40 | BlaXpirit_ | 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:57 | BlaXpirit_ | 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:47 | BlaXpirit_ | 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:48 | BlaXpirit_ | -lpthread |
18:56:14 | BlaXpirit_ | {.passL: "-lpthread".} |
19:09:57 | BlaXpirit_ | 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:37 | def- | BlaXpirit_: for threading there's also --threads:on |
19:52:46 | * | alexruf quit (Quit: Textual IRC Client: www.textualapp.com) |
19:52:47 | def- | BlaXpirit_: strutils.formatFloat or strfmt.format("5.2f") |
20:03:43 | Araq | onionhammer: does it matter which files you test? |
20:20:08 | onionhammer | Araq 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:38 | Araq | well hrm |
20:21:50 | Araq | please create a proper test for this |
20:22:04 | gokr | Hey folks |
20:22:31 | Araq | hi gokr |
20:23:05 | gokr | Anything cool happening? Weekend has been busy with... kids etc. |
20:23:40 | * | flaviu joined #nim |
20:24:05 | Araq | I wanted to release 0.10.4 today, but I won't |
20:25:12 | onionhammer | araq sure.. ill try to write something to repro it |
20:27:58 | gokr | I am still amazed at people expressing "views" on what the community should and should not do. |
20:28:37 | gokr | (regarding "beginner inside" post on forum) |
20:28:53 | Araq | yeah, it's nice everybody knows better what we should do |
20:29:06 | Araq | it's like soccer |
20:29:16 | Araq | the fan always knows better than the coach |
20:29:57 | gokr | But 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:42 | gokr | But of course, people caring is good. :) |
20:31:04 | Araq | really? I spent 99% of my time fixing bugs I couldn't give a shit about :P |
20:31:30 | gokr | Well, granted - but I think you do it because Nim is your baby and you want it to be great. |
20:32:39 | Araq | yeah, you're right of course |
20:33:15 | gokr | Its the "itch" of open source. Most people that do it unpaid - scratch their own. |
20:33:40 | gokr | Which is why I generally applaud any effort - regardless if its "strategic" or not. |
20:36:03 | Araq | the forum we wrote found 2 critical GC bugs as well as numerous bugs in the async implementation |
20:36:25 | Araq | everything we do here is strategic. |
20:37:39 | Araq | nimsuggest is strategic. |
20:37:49 | Araq | the language rename was strategic. |
20:38:28 | gokr | Well... I wouldn't say everything "we" do (since I consider myself a part) is "strategic" - I would rather say everything has value. |
20:38:55 | gokr | My articles for example sure aren't part of any strategy - I just write them because I lite to. |
20:38:57 | gokr | like to. |
20:39:35 | flaviu | https://github.com/Araq/Nim/issues/1693 would be a strategic move :P |
20:39:56 | Araq | on the contrary |
20:40:16 | Araq | it means we need to deprecate every constructor in the stdlib |
20:40:25 | Araq | for consistency. |
20:40:39 | Araq | it's yet another language feature when we're after stability |
20:41:28 | Araq | it's not even clear the feature works in practice. overloading resolution is the core of the language. |
20:41:53 | Araq | it 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:31 | flaviu | What do you mean by "it's not even clear the feature works in practice"? |
20:45:15 | flaviu | But your reasoning does make sense. |
20:45:23 | * | gokr_ quit (Ping timeout: 245 seconds) |
20:48:40 | Araq | flaviu: there have been concerns raised about how this feature interacts with multi methods |
20:49:32 | * | irrequietus joined #nim |
20:50:20 | Araq | I don't think it has anything to do with them |
20:50:37 | Araq | but I didn't think about it really either |
20:56:08 | * | superfunc|lab joined #nim |
21:02:53 | onionhammer | Araq I started here https://github.com/onionhammer/onion-nimrod/blob/master/tests/repro.py |
21:03:13 | onionhammer | but its not done or really reproducing the behavior i saw yet, I'm out of time for today though |
21:03:14 | onionhammer | afk |
21:03:23 | Araq | bah. |
21:03:30 | Araq | finish it please. |
21:03:55 | Araq | remember, sleep is for losers. |
21:10:33 | fowlmouth | Araq, right assoc means a->b=>c is parsed as a->(b=>c) ? |
21:10:54 | Araq | fowlmouth: yes, but I already changed the spec (and implementation) |
21:11:27 | Araq | when I asked dom96 about this gotcha he told me it wouldn't matter in practice :P |
21:11:40 | fowlmouth | we could have just fixed the macro to account for it |
21:12:51 | Araq | no, I didn't really like it anyway |
21:13:06 | Araq | arrows are too useful in too many contexts to trigger right associativity |
21:13:23 | onionhammer | Araq not going to sleep, but i do have a fever and a girlfriend that demands attention :P |
21:14:11 | Araq | pfff. girlfriends are overrated |
21:14:11 | fowlmouth | Araq, what is 'arrow like', special case for ->, => or all >s |
21:14:26 | Araq | fowlmouth: read the spec/manual |
21:14:48 | Araq | onionhammer: get well soon! |
21:16:03 | * | superfunc|lab quit (Ping timeout: 252 seconds) |
21:16:30 | fowlmouth | Araq, well thanks for fixing it :) |
21:21:13 | * | dymk left #nim ("Leaving") |
21:26:40 | * | matkuki joined #nim |
21:27:58 | reactormonk | Araq, so how do I find all tests that are affected by my new message? |
21:30:13 | Araq | reactormonk: grep for "instantiation"? |
21:36:39 | * | kuzy000_ quit (Ping timeout: 250 seconds) |
21:38:15 | * | ehaliewicz joined #nim |
21:46:39 | reactormonk | Araq, tests/generics/texplicitgeneric1.nim:# test explicit type instantiation |
21:46:43 | reactormonk | that stuff? |
21:47:09 | Araq | everything 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:55 | Araq | who ordered tables in const sections? |
23:10:02 | Araq | these now work |
23:19:43 | * | joecodes joined #nim |
23:20:18 | def- | cool, also echoing nil strings |
23:20:40 | def- | so echo, add, len will work for strings and seqs? |
23:20:46 | onionhammer | araq yeah i cant really reproduce exactly what i was seeing before; there are still a lot of 'no results founds' though |
23:21:18 | Araq | onionhammer: you have a fever. you should sleep. |
23:21:35 | Araq | def-: yup. that's planned since forever |
23:22:08 | onionhammer | Araq i know i should :P |
23:22:21 | def- | that will prevent many segfaults people get all the time, great |
23:22:21 | onionhammer | I get address in use a lot, maybe u could make it reusable? |
23:23:00 | def- | Araq: i just hope the check whether it's nill isn't expensive |
23:23:23 | joecodes | This 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:45 | Araq | def-: we'll get xlen and xadd which don't check for nil. for our speed freaks. |
23:24:27 | Araq | so 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:53 | def- | ok, good. my article should be out in ~ 12 hours then |
23:25:56 | Araq | er ... ok? |
23:26:03 | Araq | so you don't want to wait |
23:27:16 | BlaXpirit_ | Araq, just another thing I ran into... discard is non destructible context. |
23:34:28 | * | reem joined #nim |
23:41:33 | Araq | joecodes: already know it ;-) |
23:43:34 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:45:47 | joecodes | Araq: 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:51 | Araq | you can get roughly the same with Nim's templates, used as accessors |
23:47:18 | * | Sornaensis joined #nim |
23:47:45 | Araq | and his SOA vs AOS reinvents type aliases, in a way |
23:50:22 | joecodes | ah |
23:51:21 | * | jsudlow quit (Quit: Leaving) |
23:53:37 | Araq | and 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 |