00:00:19 | * | Trustable quit (Remote host closed the connection) |
00:00:46 | * | Sembei quit (Ping timeout: 268 seconds) |
00:10:51 | * | boopsiesisaway quit (Ping timeout: 276 seconds) |
00:11:23 | * | boopsiesisaway joined #nim |
00:17:17 | * | cheatfate_ joined #nim |
00:20:53 | * | cheatfate quit (Ping timeout: 244 seconds) |
00:31:39 | PMunch | Hmm, I'm having some trouble with the parsecsv module |
00:33:50 | PMunch | I've got a large csv file which has an index of key->file positions for fast lookup. When I open the file, seek to the position from the cache, and then close the file everything seems to work fine. But as I was benchmarking the performance of the system I'm using this in I get a nil value from the call "s = newFileStream(fileName,fmRead)" |
00:34:47 | PMunch | This is running within a loop where the file is opened, seeked into, then closed (by a close() call to the csv parser). It runs fine for about 1500 runs and then suddenly crashes |
00:36:46 | PMunch | Oh sorry, my bad. I had a stray execution branch that did not close the stream |
00:46:32 | * | desophos quit (Remote host closed the connection) |
00:50:43 | * | allan0 quit (Ping timeout: 268 seconds) |
00:51:30 | * | allan0 joined #nim |
01:19:21 | * | desophos joined #nim |
01:20:24 | * | PMunch quit (Ping timeout: 276 seconds) |
01:22:28 | * | gokr quit (Quit: Leaving.) |
01:23:15 | * | BitPuffin|osx quit (Ping timeout: 248 seconds) |
01:33:51 | * | brson quit (Quit: leaving) |
01:45:22 | * | drewsrem quit (Quit: Leaving) |
01:47:07 | * | boopsiesisaway quit (Ping timeout: 260 seconds) |
01:47:39 | * | boopsiesisaway joined #nim |
01:51:29 | * | Varriount joined #nim |
01:58:04 | * | Varriount quit (Disconnected by services) |
01:58:05 | * | Varriount_ joined #nim |
01:59:31 | Varriount_ | cheatfate_: You can roll your own sequence, it's not too hard. |
02:36:32 | * | darkf quit (Read error: Connection reset by peer) |
02:37:00 | * | darkf joined #nim |
02:37:48 | * | ozra_ quit (Ping timeout: 244 seconds) |
02:37:52 | * | desophos_ joined #nim |
02:39:33 | * | desophos quit (Ping timeout: 240 seconds) |
02:42:27 | * | darkf quit (Read error: Connection reset by peer) |
02:43:13 | * | darkf joined #nim |
02:49:28 | * | mahasamoot quit (Remote host closed the connection) |
02:58:24 | * | desophos joined #nim |
03:03:13 | * | desophos quit (Ping timeout: 250 seconds) |
03:04:40 | * | sarlalian quit (Ping timeout: 252 seconds) |
03:48:21 | * | Demos quit (Ping timeout: 246 seconds) |
03:59:44 | * | sarlalian joined #nim |
04:33:33 | * | autumnl quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
04:49:18 | * | endragor joined #nim |
04:57:27 | * | sarlalian quit (Ping timeout: 264 seconds) |
05:18:12 | * | desophos_ quit (Read error: Connection reset by peer) |
05:22:23 | * | sarlalian joined #nim |
05:59:06 | * | gokr joined #nim |
06:15:12 | * | endragor_ joined #nim |
06:18:25 | * | endragor quit (Ping timeout: 244 seconds) |
06:24:51 | * | Demon_Fox quit (Quit: Leaving) |
06:32:38 | * | yglukhov joined #nim |
06:37:41 | * | endragor_ quit (Remote host closed the connection) |
06:38:10 | * | endragor joined #nim |
06:40:15 | * | rok joined #nim |
06:56:12 | * | bjz joined #nim |
07:02:51 | * | bjz quit (Ping timeout: 264 seconds) |
07:04:22 | * | bjz joined #nim |
07:11:21 | * | cheatfate_ is now known as cheatfate |
07:20:43 | * | Demos joined #nim |
07:24:16 | * | darkf quit (Read error: Connection reset by peer) |
07:24:42 | * | darkf joined #nim |
07:24:52 | * | fredrik92 joined #nim |
07:25:03 | * | endragor quit (Remote host closed the connection) |
07:31:36 | yglukhov | Araq: hi, we've just updated nim to latest devel and observing a strange error on windows: Error: system module needs 'appendString'. It is reproduced only on some projects. and only on windows. |
07:31:41 | yglukhov | any ideas? |
07:33:53 | * | rok quit (Quit: rok) |
07:39:16 | * | endragor joined #nim |
07:47:51 | * | dorei joined #nim |
07:49:11 | * | endragor quit (Remote host closed the connection) |
07:49:36 | Araq | yglukhov: working on it, it's a nimscript regression |
07:51:57 | * | endragor joined #nim |
08:04:35 | * | Sembei joined #nim |
08:23:34 | * | Sembei quit (Max SendQ exceeded) |
08:24:36 | * | apotheon quit (Read error: Connection reset by peer) |
08:24:51 | * | apotheon joined #nim |
08:24:54 | * | Sembei joined #nim |
08:26:42 | * | M-max quit (Ping timeout: 260 seconds) |
08:29:47 | * | enthus1ast joined #nim |
08:34:59 | * | M-max joined #nim |
08:41:06 | * | desophos joined #nim |
08:45:22 | * | desophos quit (Ping timeout: 260 seconds) |
10:50:55 | * | darkf quit (Quit: Leaving) |
10:53:41 | * | PMunch joined #nim |
10:57:04 | dom96 | hello everyone |
10:57:25 | fredrik92 | dom96, Hey there! :-D |
10:57:33 | dom96 | hi fredrik92 :) |
11:03:52 | * | arnetheduck joined #nim |
11:04:41 | federico3 | hi dom96 |
11:04:54 | dom96 | What's been happening guys? How's your Tuesday going so far? |
11:05:50 | fredrik92 | I'm shooting myself in the leg by arguing with windows batch commands! :P |
11:07:20 | dom96 | fredrik92: hehe. Funny, I'm arguing with bash :) |
11:07:50 | fredrik92 | dom96, yeah! Isn't it fun?!?!? |
11:08:46 | dom96 | fredrik92: totally. Seriously starting to consider just writing a little Nim program and bundling the exe :P |
11:09:14 | fredrik92 | no shit! |
11:10:42 | federico3 | dom96: speaking of which, we don't have a way to distribute Nim application to the end users that does not require installing nim & nimble |
11:11:32 | federico3 | maybe nimble could build a package that contains only C files and a build script, would that work? |
11:11:42 | dom96 | federico3: we've got niminst which generates installers/archives |
11:12:28 | dom96 | federico3: you should add the url of minimize to https://github.com/FedericoCeratto/minimize, I already forgot it :) |
11:12:33 | fredrik92 | yeah, I'm writing a little build script that automagically searches for nim installation, expands the PATH, then tries to infer the compiler to use, searches for that one and expands its path, then executes the nim compile command... |
11:12:37 | fredrik92 | Tricky shit! |
11:12:48 | Araq | what's wrong with niminst? |
11:13:12 | dom96 | fredrik92: that sounds incredibly complicated, why do you need to do that? |
11:13:29 | fredrik92 | dom96, automatic build service... :-/ |
11:13:31 | federico3 | dom96: the url of the running instance? |
11:14:19 | fredrik92 | dom96, Actually not that hard... The main problem is actually getting Batch to play nice with spaces when trying to search for something! |
11:14:54 | dom96 | federico3: yeah |
11:15:01 | federico3 | will do |
11:16:27 | fredrik92 | anyone else have that problem, when you have N (where N >> 30) tabs open in your browser and you don't find the tab you're looking for anymore? |
11:16:29 | fredrik92 | :P |
11:16:57 | cheatfate | fredrik92, use history :) |
11:17:09 | dom96 | fredrik92: cool. Is this for a specific project or are you making a generic build service for Nim projects? |
11:18:34 | fredrik92 | dom96, right now it's for one specific project that I and PMunch are doing for our university class, but I'm trying to keep in general... |
11:19:31 | dom96 | fredrik92: ooh, a university project in Nim. Wish I could do that. What's the project? |
11:19:35 | enthus1ast | dom96: we maybe could have a tool wich nows its compiled size, when it is larger than the compiled size, the additional bytes are interpreted as nim script. Like srlua https://github.com/LuaDist/srlua# |
11:20:55 | dom96 | enthus1ast: that would be cool! |
11:22:38 | fredrik92 | dom96, we're playing with databases and trying to dynamically adjust the schema as you insert new data, by structuring data into schemata and sub-schemata |
11:22:39 | enthus1ast | nim script is a feature of the compiler right? |
11:23:23 | dom96 | enthus1ast: yeah |
11:24:27 | dom96 | fredrik92: interesting. Awesome that you're using Nim for it :) |
11:24:43 | PMunch | Our university is pretty flexible in the languages we use |
11:25:29 | PMunch | Pretty neat as it allows you to try different ones without fear of being stuck with one as all our projects are really short |
11:25:33 | fredrik92 | at least now, in the later part of the studies... We were pretty much stuck with C and Python in the first years |
11:25:53 | federico3 | there are much worse languages to be stuck with :D |
11:26:41 | fredrik92 | True! Although I don't really care much for Python... Too bad I have to teach it to the seconds years! :P |
11:27:04 | dom96 | Funny. I'm a second year ;) |
11:27:14 | dom96 | They teach us nothing but Java here :( |
11:27:33 | PMunch | Java is nice |
11:27:38 | fredrik92 | dom96, Central Europe? |
11:27:42 | PMunch | It has it's limitations though |
11:28:02 | dom96 | fredrik92: UK |
11:28:25 | fredrik92 | PMunch, nice for Android though, right? ;-)... |
11:29:03 | PMunch | Yea |
11:29:17 | PMunch | That's how I got started using it |
11:29:22 | fredrik92 | They do Java here in the southern parts of Norway as well, but up north we go down to the core!! :-D |
11:31:35 | dom96 | Guess I need to think about moving to Norway :) |
11:32:22 | fredrik92 | Norway's awesome!!!! (I should know, I moved there after growing up in Germany! :P ) |
11:35:01 | dom96 | :) |
11:54:11 | * | ephja joined #nim |
12:04:51 | * | Varriount joined #nim |
12:06:10 | * | Varriount_ quit (Ping timeout: 250 seconds) |
12:09:23 | * | vegansk is now known as veganskaway |
12:14:49 | * | Varriount quit (Disconnected by services) |
12:14:50 | * | Varriount_ joined #nim |
12:17:42 | * | ephja quit (Quit: WeeChat 1.4) |
12:17:48 | * | fredrik92 quit (Read error: Connection reset by peer) |
12:19:30 | * | macbeth joined #nim |
12:23:15 | * | fredrik92 joined #nim |
12:31:47 | * | francisl joined #nim |
12:34:15 | * | francisl quit (Client Quit) |
12:34:38 | bbl | https://github.com/nim-lang/Nim/issues/1019 this has been backed, any timeframe? :P |
12:36:29 | * | BitPuffin joined #nim |
12:41:40 | dom96 | bbl: it looks difficult to implement so I doubt it will happen any time soon |
12:42:00 | dom96 | Of course a bigger bounty can always help :0 |
12:42:03 | dom96 | *;) |
12:42:06 | bbl | hah |
12:43:41 | dom96 | Ugh. DLL load errors result in an exit code of '0'. |
12:44:42 | dom96 | oh no, it's just my bash script failing :\ |
12:46:40 | Araq | bbl: why is it needed? use a tuple |
12:47:22 | bbl | Araq: because I am customed to c++ :D |
12:48:41 | Araq | nothing is easier than a typesafe printf. you can use a macro or varargs[T, conv] |
13:02:12 | cheatfate | [Error: system module needs 'appendString'] i got this when trying to do "--threads:on" |
13:02:43 | dom96 | cheatfate: It's a recent regression |
13:03:29 | cheatfate | Lets speak about [XDeclaredButNotUsed] and methods to avoid it |
13:04:28 | dom96 | Can you give examples of where you get that warning where you think you shouldn't? |
13:05:11 | cheatfate | examples now sitting in standart library its locks.nim/rlocks.nim |
13:05:49 | cheatfate | they both have "include system/syslocks" |
13:07:12 | cheatfate | so when you "import locks" you got [XDeclaredButNotUsed] on rlocks.nim staff, and when you "import rlocks" you got [XDeclearedButNotUsed] on locks.nim staff |
13:10:10 | cheatfate | first try to patch this was https://github.com/nim-lang/Nim/pull/4000 and it failed |
13:12:06 | dom96 | Can't you simply just switch off the XDeclaredButNotUsed warnings using {.push.} before the 'include' |
13:12:11 | dom96 | and {.pop.} it after |
13:12:12 | dom96 | ? |
13:13:10 | reactormonk | dom96, time to shoot the messenger? |
13:13:53 | dom96 | reactormonk: hrm? |
13:14:42 | reactormonk | dom96, not sure if simply silencing the warnings is the right approach. |
13:16:13 | cheatfate | dom96, Araq's comment on your proposal: "Meh, is that really the way to fix these warnings? Why not use what's needed and disable what's unused?" |
13:17:07 | cheatfate | so the question is how to "disable what's unused"? |
13:18:20 | dom96 | Another question, can this module be imported instead of included? |
13:19:52 | cheatfate | dom96, locks.nim/rlocks.nim its just an example |
13:21:06 | dom96 | cheatfate: why does it need to be included? |
13:22:01 | cheatfate | dom96, i have tryed to replace include with "from syslocks import *" and C code could not be compiled after this change |
13:22:52 | dom96 | how come? what error did you get? |
13:23:44 | cheatfate | Araq, is it possible to use repr on shared memory? |
13:24:03 | cheatfate | dom96, wait please |
13:27:02 | cheatfate | Araq, i just tried to repr sharedtable object and got SIGSEGV |
13:29:06 | cheatfate | dom96, ok its impossible to import syslocks, because all syslocks staff is decleared as private, without [*] |
13:29:26 | dom96 | cheatfate: then make it public :) |
13:30:44 | cheatfate | dom96, hmm its not the way i' searching... |
13:31:22 | cheatfate | modification of other libraries to get my own working without warnings |
13:31:58 | dom96 | No matter what you're gonna have to make modifications to it. |
13:32:12 | reactormonk | cheatfate, stdlib isn't holy, feel free to tinker. |
13:32:18 | * | zaquest quit (Ping timeout: 276 seconds) |
13:35:54 | cheatfate | reactormonk, i understand this but i want to have more universal method |
13:36:49 | reactormonk | cheatfate, you could switch off the warnings before importing. |
13:36:52 | cheatfate | your proposal is to make this particular example to work without warnings, i want to discover method which i can use in other situations... like with tableimpl.nim |
13:39:19 | cheatfate | like in C you can use #define UNUSED(x) (void)x; |
13:39:19 | dom96 | cheatfate: Maybe you could also import `tableimp`? ;) |
13:41:21 | cheatfate | argh, you just joking on me, never mind, forget about [XDeclaredButNotUsed], "Lets the code duplication begins"... |
13:42:24 | dom96 | if there is a good reason that those modules are included then we do need a different solution |
13:42:53 | * | ozra_ joined #nim |
13:43:54 | cheatfate | dom96, i dont know why included "syslocks" but i know "tableimpl" included just to avoid code duplication in almost similar structures |
13:45:08 | dom96 | cheatfate: which structures in `tableimpl` would be duplicated if it wasn't for the 'include'? |
13:45:09 | cheatfate | but when you want to avoid code duplication too, but you need to replace some staff from "tableimpl" so you creating your own alternatives, than we got some staff to be unused in "tableimpl" |
13:45:12 | * | zaquest joined #nim |
13:47:55 | cheatfate | dom96, whole `tableimpl` would be duplicated between `tables.nim` and `sharedtables.nim` |
13:48:18 | * | elrood joined #nim |
13:48:43 | dom96 | I don't understand how it could possibly be duplicated. |
13:49:01 | dom96 | Are you thinking of copying and pasting the contents of `tableimpl` into both `tables` and `sharedtables`? |
13:50:16 | cheatfate | if i will not find any resolution for xdeclaredbutnotused i need to duplicate `tableimpl` in my `concurrenttables` |
13:51:11 | cheatfate | just because i want to have not one lock like in `sharedtables` but 'lock striping' |
13:52:04 | cheatfate | difference between `tables.nim` and `sharedtables.nim` is using exactly one lock... so most of code sits in `tableimpl.nim` |
13:53:25 | * | SShrike joined #nim |
13:53:51 | cheatfate | ouch, i have forgot about using shared-memory in `sharedtables.nim` |
13:54:10 | * | macbeth quit (Quit: Page closed) |
13:54:24 | * | francisl joined #nim |
13:54:36 | * | SShrike quit (Client Quit) |
13:54:43 | cheatfate | dom96, sorry for my english |
13:56:34 | dom96 | cheatfate: No need to be sorry about that :) |
13:58:14 | cheatfate | it will be good to have {.unused:"symbol1, symbol2".} |
13:58:17 | veganskaway | cheatfate, see https://github.com/nim-lang/Nim/pull/4000 again. It uses ``when comiles`` now for conditional compilation |
13:59:11 | dom96 | veganskaway: would it not be better to use `when defined` instead? |
13:59:26 | dom96 | or when declared? |
14:00:11 | cheatfate | veganskaway, your pr made errors in stdlib_locks |
14:07:05 | cheatfate | dom96, so how do you think is it will be easy to implement {.unused:"symbol1, symbol2".} |
14:08:04 | dom96 | cheatfate: I would say that relatively speaking it would be easy in comparison to other things you could implement in the compiler |
14:08:21 | dom96 | But overall, i'm not sure. |
14:34:24 | * | pregressive joined #nim |
14:39:46 | * | couven92 joined #nim |
14:41:06 | * | exebook quit (Ping timeout: 246 seconds) |
14:41:48 | * | fredrik92 quit (Ping timeout: 246 seconds) |
14:58:18 | * | pregressive quit (Remote host closed the connection) |
14:59:33 | * | dorei quit (Quit: Page closed) |
15:04:04 | PMunch | What's the best way to use the Nim-devel version on an Arch based distro? |
15:04:46 | dom96 | PMunch: Clone, bootstrap manually and add the directory to your PATH |
15:05:43 | PMunch | That's what I was afraid of.. |
15:09:59 | enthus1ast | PMunch: its not that hard, i was able to do it :) |
15:10:08 | enthus1ast | But on debian |
15:10:25 | PMunch | Never said it was hard. Just easier to have it installed through the package manager |
15:10:31 | PMunch | That way it keeps up to date |
15:10:53 | couven92 | I managed to do that with Visual Studio on Windows... probably the most trickiest, since CL is NOT GCC |
15:11:00 | couven92 | :P |
15:11:00 | cheatfate | PMunch, somebody needs to create package before it can be installed with package manager :) |
15:11:57 | Araq | package managers keep software up to date? that's news to me. |
15:11:58 | PMunch | I know, I was wondering if there was one already :) |
15:12:10 | PMunch | Araq, that's part of the point |
15:12:24 | Araq | usually they freeze stuff. want a new gedit? make a distro upgrade. |
15:12:57 | PMunch | Not with rolling release distros |
15:13:08 | couven92 | PMunch, didn't you tell me that Arch packages can be configured to automatically git pull to keep themselves up to date? |
15:13:19 | PMunch | couven92, yes they can |
15:13:39 | PMunch | But someone still have to write the package build file. Something which I haven't looked into yet |
15:13:52 | PMunch | But I guess this might be a good a time as any to do it |
15:13:54 | couven92 | PMunch, do it! :P |
15:21:52 | dom96 | PMunch: It's easy enough to run `git pull && ./koch boot -d:release` in your local clone. |
15:22:19 | PMunch | Of course, but then I would have to manually keep it up to date or write a cronjob to update it |
15:22:27 | couven92 | dom96, foon't you have to compile koch first |
15:22:32 | dom96 | Aporia on OS X is now officially beautiful: https://raw.githubusercontent.com/nim-lang/Aporia/master/screenshots/osx.png :D |
15:22:59 | dom96 | PMunch: You'd have to do the same with pacman |
15:23:09 | dom96 | couven92: Only the first time you clone it |
15:24:46 | PMunch | dom96, not quite sure what you mean. If it was installed as a package automatically kept up to date with the github repo then it would show as an update in octopi along with all my other updates |
15:24:48 | Varriount_ | yglukhov: Hey, I just tried out your minecraft demo, great work! |
15:25:02 | PMunch | So when I update the rest of my system new Nim versions would also install |
15:25:14 | dom96 | PMunch: Pretty sure for Git packages you have to explicitly update each of them |
15:25:16 | yglukhov | Thanks, still a whole room for improvements =) |
15:25:27 | dom96 | PMunch: Otherwise things would break pretty often |
15:25:34 | PMunch | dom96, not as far as I know. |
15:26:02 | Varriount_ | yglukhov: What's neat is that I compiled it using -d:release and --passC:"-flto", and it still took under a minute to compile. |
15:26:37 | yglukhov | -flto? whats that? |
15:26:47 | Varriount_ | Link time optimization |
15:27:19 | dom96 | PMunch: I haven't used Arch in a while so you're probably right. |
15:27:25 | dom96 | But that sounds very risky to me. |
15:27:34 | yglukhov | ah cool. how long does it take to compile without flto? |
15:27:36 | cheatfate | Araq, now i know why repr() could not repr(sharedtables object), is it possible to update repr.nim so repr can use user-defined reprs for custom types? |
15:28:31 | federico3 | is anybody using the zmq bindings? |
15:28:32 | PMunch | dom96, well the Nim package for arch pulls from https://github.com/nim-lang/Nim#tag=v0.13.0 |
15:29:12 | dom96 | PMunch: yes, but you want HEAD of `devel`. |
15:29:18 | PMunch | So you would obviously get whatever bugs were in a never repo but apart from that it's not all that dangerous |
15:31:57 | PMunch | Unless Araq decides to put malicious code in the build scripts of course, but that goes for all packages |
15:43:03 | * | alexsystemf_ quit (Ping timeout: 246 seconds) |
15:45:17 | * | alexsystemf_ joined #nim |
16:05:03 | * | arnetheduck quit (Ping timeout: 240 seconds) |
16:06:46 | * | couven92 quit (Read error: Connection reset by peer) |
16:10:24 | * | fredrik92 joined #nim |
16:23:23 | * | pregressive joined #nim |
16:24:00 | * | vendethiel- joined #nim |
16:25:59 | * | vendethiel quit (Ping timeout: 260 seconds) |
16:29:03 | yglukhov | Araq: after latest "regression fixes", the program compiles but crashes on start on windows: https://gist.github.com/bogdan-voevoda/5aac87c3919cf279dccb :) |
16:33:07 | * | rok joined #nim |
16:33:47 | * | yglukhov quit (Ping timeout: 260 seconds) |
16:34:12 | PMunch | Araq, I created this pull request to solve 3972 (the JSON hashing order bug). Travis is complaining about something but I don't think it's related to my changes, anything I should do to fix it? https://github.com/nim-lang/Nim/pull/4009 |
16:47:45 | * | pregressive quit (Read error: Connection reset by peer) |
16:48:05 | PMunch | Anyone here tried to use nimongo? |
16:48:06 | * | pregressive joined #nim |
16:54:22 | PMunch | Hmm, after I installed Nim from the GitHub repo NimLime doesn't see it |
16:54:38 | PMunch | When I save a file it just says that it can't find it |
16:55:03 | PMunch | In the settings nim.executable is set to just "nim" and running nim from the terminal works fine |
16:56:05 | PMunch | Never mind, it was just my path that wasn't properly updated |
16:59:42 | * | brson joined #nim |
17:03:12 | * | enthus1ast quit (Ping timeout: 244 seconds) |
17:03:31 | * | vendethiel joined #nim |
17:04:22 | * | Jessin joined #nim |
17:06:28 | * | kier_ joined #nim |
17:07:29 | * | mrkishi quit (Ping timeout: 268 seconds) |
17:07:29 | * | DecoPerson quit (Ping timeout: 268 seconds) |
17:07:30 | * | alexsystemf_ quit (Ping timeout: 268 seconds) |
17:07:31 | * | StarBrilliant quit (Ping timeout: 268 seconds) |
17:07:31 | * | kier quit (Ping timeout: 268 seconds) |
17:07:32 | * | M-max quit (Ping timeout: 268 seconds) |
17:07:33 | * | nchambers quit (Ping timeout: 268 seconds) |
17:07:37 | * | Jesin quit (Ping timeout: 250 seconds) |
17:07:37 | * | vendethiel- quit (Ping timeout: 250 seconds) |
17:07:37 | * | Sembei quit (Excess Flood) |
17:07:48 | * | Sembei joined #nim |
17:07:51 | * | StarBrilliant joined #nim |
17:08:01 | fredrik92 | Do we have something fancy for nim in vim? |
17:08:25 | * | M-max1 joined #nim |
17:08:25 | * | nchambers joined #nim |
17:08:25 | * | alexsystemf_ joined #nim |
17:10:54 | * | mrkishi joined #nim |
17:15:50 | * | irrequietus joined #nim |
17:16:41 | * | DecoPerson joined #nim |
17:17:41 | * | vendethiel- joined #nim |
17:18:12 | * | vendethiel quit (Ping timeout: 244 seconds) |
17:30:02 | * | desophos joined #nim |
17:30:15 | * | yglukhov joined #nim |
17:30:26 | federico3 | fredrik92: yep |
17:31:47 | federico3 | nim.vim and and nvim-nim |
17:33:22 | fredrik92 | nim.vim got me an error on startup |
17:33:24 | fredrik92 | Error detected while processing /c/Users/Fredrik/.vim/bundle/nimrod.vim/ftdetect/nim.vim: |
17:33:24 | fredrik92 | line 2: |
17:33:24 | fredrik92 | E492: Not an editor command: ^M |
17:34:07 | fredrik92 | Yes, I'm using Vim in Windows... :O |
17:35:24 | * | yglukhov quit (Ping timeout: 276 seconds) |
17:35:46 | fredrik92 | This one to be exact: |
17:35:47 | fredrik92 | VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar 19 2011 15:37:04) |
17:35:47 | fredrik92 | Included patches: 1-138 |
17:35:47 | fredrik92 | Compiled by [email protected] |
17:35:47 | fredrik92 | Huge version without GUI. Features included (+) or not (-): |
17:35:48 | fredrik92 | +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent |
17:35:50 | fredrik92 | -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments |
17:35:52 | fredrik92 | +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs |
17:35:54 | fredrik92 | -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path |
17:35:56 | fredrik92 | +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv |
17:35:58 | fredrik92 | +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent |
17:36:00 | fredrik92 | +listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape |
17:36:02 | fredrik92 | +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse |
17:36:04 | fredrik92 | +mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype |
17:36:06 | fredrik92 | +path_extra -perl +persistent_undo +postscript +printer +profile -python |
17:36:08 | fredrik92 | -python3 +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent |
17:36:10 | fredrik92 | -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary |
17:36:12 | fredrik92 | +tag_old_static -tag_any_white -tcl -terminfo +termresponse +textobjects +title |
17:36:14 | fredrik92 | -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo |
17:36:16 | fredrik92 | +vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp |
17:36:20 | fredrik92 | -xterm_clipboard -xterm_save |
17:36:22 | fredrik92 | system vimrc file: "$VIM/vimrc" |
17:36:24 | fredrik92 | user vimrc file: "$HOME/.vimrc" |
17:36:26 | fredrik92 | user exrc file: "$HOME/.exrc" |
17:36:28 | fredrik92 | fall-back for $VIM: "/usr/share/vim" |
17:36:30 | fredrik92 | Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 |
17:36:32 | fredrik92 | Linking: gcc -o vim.exe -lm -ltermcap -liconv -lintl |
17:36:34 | fredrik92 | Anyone know what ^M should do? |
17:36:44 | fredrik92 | Is that CTRL+M? |
17:41:30 | elrood | fredrik92, ^M is windows' line ending carriage return. you could also have a look at something like pastebin.vim ;) |
17:44:03 | * | chrisheller quit (Remote host closed the connection) |
17:45:07 | fredrik92 | elrood, will do... ! ;) |
17:45:30 | * | shodan45 joined #nim |
17:48:25 | * | chrisheller joined #nim |
17:48:27 | fredrik92 | elrood, but why does Vim complain that ^M is not an editor command? |
17:50:47 | * | chrisheller quit (Read error: Connection reset by peer) |
17:51:12 | * | chrisheller joined #nim |
17:55:26 | fredrik92 | ah, windows-like line endings in the git checked out file |
17:55:35 | fredrik92 | ... -.- |
17:55:40 | * | chrisheller quit (Ping timeout: 252 seconds) |
17:58:24 | * | Demos_ joined #nim |
17:58:31 | * | BitPuffin quit (Read error: Connection reset by peer) |
17:58:43 | elrood | fredrik92, yup, looks like vim chokes on those. i'd recommend reading up on git's autocrlf and safecrlf options, and maybe updating your vim while you're at it anyways. 7.3 from 2010 seems quite dated |
17:59:55 | fredrik92 | elrood, good point! but normally I want to have windows-style checkouts |
18:02:38 | * | Demos quit (Ping timeout: 248 seconds) |
18:03:36 | * | Trustable joined #nim |
18:04:15 | elrood | actually, unless you are working with abominations like wordpad LF line endings should universially be usable, CRLF is pretty much redundant in my experience, but that's your choice of course. to fix the line endings a :set ff=unix and :w on the offending file should suffice |
18:06:30 | fredrik92 | elrood, thx, that's what I am doing now... or, actually i disabled git autocrlf locally for the nim.vim git repo |
18:24:59 | * | pregressive quit (Remote host closed the connection) |
18:27:01 | cheatfate | Varriount_, are you here? |
18:28:22 | * | yglukhov joined #nim |
18:28:48 | * | Sembei quit (Ping timeout: 250 seconds) |
18:28:59 | * | yglukhov quit (Remote host closed the connection) |
18:30:12 | * | pregressive joined #nim |
18:31:27 | * | rok quit (Quit: rok) |
18:34:27 | * | mat4 joined #nim |
18:34:31 | mat4 | hello |
18:35:00 | fredrik92 | mat4, hi there! :-) |
18:36:06 | mat4 | hi fredrik92 |
18:36:35 | * | BitPuffin joined #nim |
18:37:18 | * | yglukhov joined #nim |
18:46:18 | * | ozra_ is now known as ozra |
18:53:39 | * | anoisz joined #nim |
18:58:32 | * | fredrik92 quit (Quit: dinner . . .) |
18:59:40 | * | pregressive quit (Remote host closed the connection) |
19:23:01 | * | fredrik92 joined #nim |
19:23:55 | * | pregressive joined #nim |
19:32:05 | * | Matthias247 joined #nim |
19:37:12 | Araq | yglukhov: argh, can you fix it please? |
19:38:11 | yglukhov | Araq: sorry, i dont have windows. This crash is from my colleague |
19:44:10 | Araq | any test program for me? |
19:56:15 | * | autumnl_ joined #nim |
20:00:58 | * | aziz joined #nim |
20:01:13 | * | mat4 quit (Quit: Leaving) |
20:06:14 | * | Ven joined #nim |
20:06:35 | yglukhov | Araq: will do tomorrow. |
20:07:15 | Araq | btw I made plenty of progress on the noforwarding front |
20:07:29 | Araq | soon it should be ready for public testing ... |
20:08:04 | * | francisl quit (Quit: francisl) |
20:08:04 | Araq | however I still have no idea of whether we can avoid a .nofoward language split ... :-/ |
20:08:36 | * | enthus1ast joined #nim |
20:08:49 | yglukhov | thats great news! .noforward is used somewhere in system? |
20:09:30 | Araq | no, currently the compiler special cases sfSystemModule internally |
20:10:07 | yglukhov | hrm, so whats the case to use .noforward then if cyclics will work? |
20:10:34 | * | couven92 joined #nim |
20:12:29 | Araq | backwards compatibility |
20:14:15 | * | fredrik92 quit (Ping timeout: 264 seconds) |
20:14:51 | * | couven92 quit (Ping timeout: 244 seconds) |
20:15:35 | yglukhov | well, if thats the only concern, deprecation process was invented just for that? |
20:20:34 | * | BitPuffin quit (Ping timeout: 244 seconds) |
20:22:38 | * | fredrik92 joined #nim |
20:24:01 | * | darkf joined #nim |
20:26:58 | * | anoisz quit (Read error: Connection reset by peer) |
20:27:18 | * | fredrik92 quit (Client Quit) |
20:28:45 | * | shodan45 quit (Quit: Konversation terminated!) |
20:29:44 | * | fredrik92 joined #nim |
20:30:50 | flyx | where are tests for the stdlib located in the Nim repo? |
20:32:37 | * | Varriount joined #nim |
20:36:03 | * | Varriount_ quit (Ping timeout: 244 seconds) |
20:37:39 | Araq | yglukhov: no, my other concern is that it's turning Nim too much into a language where macros are 2nd class citizens |
20:38:05 | Araq | used 'proc' keyword? get some nice forwarding behaviour. |
20:38:16 | Araq | wrapped it in a template? good luck with that. |
20:38:58 | Araq | flyx: mostly in a 'when isMainModule' at the bottom of the module |
20:39:18 | Araq | more complex tests go into tests/stdlib |
20:39:45 | * | pregressive quit (Remote host closed the connection) |
20:40:32 | yglukhov | hmm. well before the cyclics support there was no city to begin with, right? |
20:42:22 | yglukhov | well i don't know, maybe you should ask the community, but imho the tope-level restriction is as sane as it could possibly get. i would not expect more. |
20:43:22 | flyx | I added YAML to docutils/highlite, it works when using it in RST input, I could add a test for it before making a PR, but I wonder if it's worth the hazzle |
20:44:35 | Araq | flyx: I think so. test case should check the full HTML output. This way the doc gen gets rudimentary testing. finally. |
20:47:09 | flyx | Araq: heh, okay, will do that |
20:48:26 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:49:54 | * | endragor_ joined #nim |
20:50:35 | * | pregressive joined #nim |
20:50:45 | * | Ven joined #nim |
20:53:07 | * | endragor quit (Ping timeout: 244 seconds) |
20:54:27 | * | endragor_ quit (Ping timeout: 264 seconds) |
21:01:13 | * | couven92 joined #nim |
21:04:01 | * | endragor joined #nim |
21:04:14 | * | Senketsu joined #nim |
21:06:46 | * | saml quit (Quit: Leaving) |
21:08:41 | * | ozra quit (Read error: Connection reset by peer) |
21:09:41 | * | ozra joined #nim |
21:12:55 | * | couven92 quit (Quit: Shutting down . . .) |
21:13:22 | * | saml joined #nim |
21:15:13 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
21:16:26 | * | chrisheller joined #nim |
21:16:35 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:16:51 | * | bjz joined #nim |
21:20:51 | * | yglukhov quit (Remote host closed the connection) |
21:22:34 | * | GangstaCat quit (Ping timeout: 244 seconds) |
21:25:13 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:27:22 | * | GangstaCat joined #nim |
21:27:33 | * | chrisheller quit (Read error: Connection reset by peer) |
21:34:08 | * | fredrik92 quit (Quit: Shutting down . . .) |
21:35:41 | * | Sembei joined #nim |
21:43:43 | * | GangstaCat quit (Quit: Leaving) |
21:47:16 | * | GangstaCat joined #nim |
21:49:29 | * | Sembei quit (Quit: WeeChat 1.4) |
21:52:19 | * | Demon_Fox joined #nim |
22:10:50 | * | pregressive quit (Remote host closed the connection) |
22:10:51 | * | irrequietus quit () |
22:11:22 | * | pregressive joined #nim |
22:15:52 | * | pregressive quit (Ping timeout: 250 seconds) |
22:24:31 | * | gokr quit (Quit: Leaving.) |
22:32:54 | * | Sembei joined #nim |
22:33:12 | * | Sembei quit (Client Quit) |
22:37:16 | * | BitPuffin|osx joined #nim |
22:43:18 | * | Jessin quit (Quit: Leaving) |
22:45:58 | * | Jesin joined #nim |
23:16:28 | * | enthus1ast quit (Quit: Leaving.) |
23:21:51 | * | krux02 joined #nim |
23:22:15 | * | aziz quit (Remote host closed the connection) |
23:35:44 | Varriount | cheatfate: Here. |
23:43:28 | * | Trustable quit (Quit: Leaving) |
23:50:16 | * | Matthias247 quit (Read error: Connection reset by peer) |