<< 10-03-2017 >>

00:06:46*Matthias247 quit (Read error: Connection reset by peer)
00:17:34*vlad1777d quit (Quit: Leaving)
00:23:34*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:37:01*bjz joined #nim
00:38:31*elrood quit (Quit: Leaving)
00:49:53*kulelu88 quit (Quit: Leaving)
01:08:12*Jesin joined #nim
01:18:18*xmonader joined #nim
01:52:30*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:54:29*bjz joined #nim
02:22:57*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:29:37*rauss joined #nim
02:34:25*chemist69 quit (Ping timeout: 258 seconds)
02:44:17*girvo quit (Ping timeout: 268 seconds)
02:48:15*chemist69 joined #nim
03:08:10*couven92 quit (Read error: Connection reset by peer)
03:12:28*stephenwithav quit (Remote host closed the connection)
03:14:36*girvo joined #nim
03:17:28*shashlick quit (Ping timeout: 240 seconds)
03:17:33*Nobabs27 joined #nim
03:18:33*brson quit (Quit: leaving)
03:18:51*shashlick joined #nim
03:28:39*yglukhov joined #nim
03:33:33*bjz joined #nim
03:48:03*Nobabs27 quit (Quit: Leaving)
04:01:05*yglukhov_ joined #nim
04:01:06*yglukhov quit (Read error: Connection reset by peer)
04:22:54*BitPuffin|osx quit (Ping timeout: 258 seconds)
04:24:28*yglukhov_ quit (Ping timeout: 240 seconds)
04:35:52*rauss quit (Quit: WeeChat 1.7)
05:43:44*rauss joined #nim
05:55:29*chemist69 quit (Ping timeout: 260 seconds)
05:58:03*chemist69 joined #nim
06:07:07*rauss quit (Quit: WeeChat 1.7)
06:09:38*rauce quit (Ping timeout: 268 seconds)
06:16:24*rauce joined #nim
06:25:26*zachcarter quit (Quit: zachcarter)
06:26:18*zachcarter joined #nim
06:41:59*nsf joined #nim
06:47:46*Vladar joined #nim
06:50:31*liljimmybob joined #nim
07:02:05*rauce quit (Ping timeout: 246 seconds)
07:05:42*ldleworker is now known as ldlework
07:05:42*ldlework quit (Changing host)
07:05:42*ldlework joined #nim
07:08:30*rauce joined #nim
07:22:18*vlad1777d joined #nim
07:39:19*rokups joined #nim
07:40:15*xmonader quit (Ping timeout: 256 seconds)
07:51:17*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:55:09*gokr joined #nim
07:56:19*girvo quit (Ping timeout: 268 seconds)
07:56:45*bjz joined #nim
08:05:47*lenstr quit (Ping timeout: 246 seconds)
08:08:04FromGitter<Varriount> Araq: Valgrind works with Nim?
08:15:38*Andris_zbx joined #nim
08:41:49*uthini joined #nim
08:43:26*couven92 joined #nim
08:44:47*liljimmybob quit (Ping timeout: 264 seconds)
08:53:20*byte512 joined #nim
09:23:52*bjz_ joined #nim
09:24:33*bjz quit (Ping timeout: 260 seconds)
09:26:32Araqvarriount: yes with the right "ignore" rule
09:28:45*uthini quit (Read error: Connection reset by peer)
09:33:44*gangstacat quit (Quit: Ĝis)
09:35:11*Salewski joined #nim
09:36:44SalewskiAraq, I assume that the recent change of nimsuggest output format for chk command was intentional?
09:36:53Araqyes
09:37:02Araqshould be much easier to process now
09:37:14Araqbut tbh I only test --stdin and --epc protocols
09:37:25Araqso maybe it got worse for the raw sockets protocol
09:37:31Araqwhat does your editor use?
09:37:43SalewskiOK, then I will fix it for my NEd editor.
09:38:17Araqit's actually now not ambiguous anymore, no more guessing where the error stopped
09:38:27SalewskiYes, generally the new format is more consistent with output of the other commands.
09:38:42Araqyeah, that was the intention
09:38:48SalewskiFixing is easy, but it will need some testing.
09:39:10Araqalso, if you want chk for more than the current file, use --refresh:on
09:39:17Araqwhen invoking nimsuggest.
09:39:24Araqeventually this will be the default though
09:39:40SalewskiAh, interesting.
09:39:46Araqnimsuggest is now threaded, it processes the current file immediately
09:39:57Araqand the other modules when there is hopefully less activity
09:40:43Araqand the upcoming version has context awareness ... it prefers type symbols in a type context and all that
09:40:48*Ven joined #nim
09:40:54Araqand the results are now sorted by relevance
09:41:00Araqso don't mess with the order.
09:41:29SalewskiGreat.
09:41:50Araqand I implemented a --maxresults switch
09:43:16Araqand in case statements it will suggest the possible enum values... all thanks to the more precise cursor tracking within the compiler
09:43:40SalewskiMaybe you should document and announce the changes -- users of other editors may be confused.
09:44:32Araqyeah, but maybe you can add some quick notes to news.txt?
09:44:50Araqit surely gets tiresome to do everything :P
09:45:27SalewskiOK, bye.
09:45:34Araqty, bye
09:45:43*Salewski left #nim (#nim)
09:56:33*yglukhov joined #nim
10:01:15*gangstacat joined #nim
10:03:42*PMunch joined #nim
10:05:08*chemist69 quit (Ping timeout: 246 seconds)
10:05:32*chemist69 joined #nim
10:10:30*abeaumont joined #nim
10:12:21*yglukhov quit (Remote host closed the connection)
10:19:09*Ven quit (Ping timeout: 260 seconds)
10:19:26*couven92 quit (Quit: Leaving)
10:19:28SusWombatHey all :)
10:22:36*Ven joined #nim
10:24:14*gangstacat quit (Quit: Ĝis)
10:26:58euantorAwesome news about nimsuggest @Araq! Sounds like some major improvements, now I just need to finally get around to getting it installed...
10:31:08Araqeuantor: I think the VS plugin should be announced on the website together with 0.17.0
10:32:07euantorThat would be great, should be a good way to show off a bit
10:32:59*gangstacat joined #nim
10:33:15cheatfateAraq, but we still don't have 0.16.2
10:33:48cheatfatei will miss most stable version
10:33:58Araqcheatfate: the current devel will be 0.17.0, not 0.16.2
10:34:48cheatfateso there will be no 0.16.2?
10:35:51*gangstacat quit (Client Quit)
10:36:12AraqI don't think so.
10:36:24Araqwe could backport critical fixes from 0.17 to 0.16.2
10:36:44Araqbut right now we have no release model for this -.-
10:37:12Araqwe need to do this though, it's what Python does too, even Python 2 is still getting bugfixes
10:38:08Araqanybody with cherrypicking skills around?
10:39:11*arnetheduck joined #nim
10:39:15euantorIs it not over-complicating things when the project hasn't hit 1.0 yet?
10:39:29Araqthat's what dom96 says too.
10:39:50Araqbut since we need this release model, we might as well think about solving the problem now
10:45:14dom96seriously, we don't need this.
10:45:24dom96Focus on releasing 0.17.0 instead of backporting fixes.
10:48:26cheatfatefrom my not very long experience every .0 release was buggy, that's why .2 release was always much more stable
10:50:19cheatfatethat's why i'm missing 0.16.2
10:51:15*Ven quit (Read error: Connection reset by peer)
10:51:47Araq^ yup.
10:52:00*Ven joined #nim
10:53:33cheatfateis nim17 will be not compatible with nim16?
10:59:10Araqit breaks compatibility in minor ways, yes
11:00:07Araqmost important change is that .base method's effects are not inferred anymore
11:03:43Araqdom96: as I said, we need to solve this problem anyway.
11:04:26Araqand 0.17.0 could be delayed further, still need to fix the jester codegen regression
11:05:11dom96what problem though?
11:05:28dom96You just create a branch off 0.16.0 and backport the fixes
11:07:24Araqproblem is I want a nice tool for this :P
11:07:41Araqand ideally it would be smart about conflicts
11:07:57Araqor let me move partial commmits over to the branch
11:08:16dom96You will always need to resolve conflicts yourself
11:09:02dom96git will help you out to a point
11:09:13dom96but there is no need for a tool
11:20:25*Arrrr joined #nim
11:24:09Araqgit cannot even show the diffs conveniently
11:24:31Araqit's a terminal app, how could it.
11:26:21SusWombatShouldnt a nice git client be what you want?
11:26:40SusWombat"client"
11:27:17Araqyeah, I tend to try these and not use them for anything :-)
11:28:57euantorI really like Tower on my mac, it actually helps me get stuff done with Git
11:29:19federico3are you looking for http://meldmerge.org/ ?
11:29:22euantorthough it isn't free software, it's worth the cost
11:29:32SusWombatI havent done anything complicated with git yet, but i really like magit for commiting stuff
11:31:37*gangstacat joined #nim
11:33:55SusWombatwhat is the recommended gui lib for nim?
11:35:17AraqSusWombat: the jury is still out there, but PMunch is improving my wxWidgets wrapper
11:36:33AraqI prefer nim-lang/ui but that's still very limited in the widgets it supports
11:36:43SusWombatok thanks :)
11:37:41Araqwe also have gtk2, gtk3 and iup wrappers
11:42:06PMunchSusWombat, if you have any questions just let me know :)
11:42:15PMunchI've looked into the various GUI toolkits
11:42:41SusWombatPMunch, sure. I just want to play around a bit with guis as i never have done anything besides css+html in that area
11:43:11PMunchWell, libui is pretty neat for the basic stuff. It's quite a simple and straight-forward API
11:43:22PMunchBut it is, as Araq mentioned, a bit limited in functionality
11:44:45PMunchwxWidgets has all the features you would probably ever need, but it's a bit harder to use since it's old and the wrapper isn't all there yet. But I have written a macro for it which makes creating GUIs pretty easy
11:45:09*Gonzih quit (Quit: WeeChat 1.7)
11:45:12SusWombati guess ill look into these two then
11:45:17PMunchhttps://github.com/PMunch/wxnim/blob/master/examples/controlgallery.nim <- that is an example of the macro in use
11:45:55PMunchIt's pretty wxWidgets specific so if you look at wxWidgets tutorials it's pretty easy to see what it does.
11:47:17SusWombatah thx for the link
11:47:42Araqlibui is quite complete if you don't mind drawing custom widgets on your own :P but the event handling simply isn't there yet
11:48:08Araqtry to get a unicode representation of a keypress, I think it's impossible with libui
11:48:48PMunchWhile wxWidgets is old and has a silly large reach (it even has a target with pure X11 without Gtk..)
11:49:05PMunchSo everything in it is wrapper, a string is a wxString, a thread is a wxThread etc.
11:49:29PMunchBut I found that converting is easy (the macro has converters), and you can use Nims threading instead
11:49:41*couven92 joined #nim
11:50:54AraqwxWidgets is also harder to link against and I dislike the API very much
11:50:58*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:51:49Araqthe event handling macros, the fact that you need to inherit and override
11:52:39PMunchYeah..
11:52:54PMunchIt's a pain to work with. But the flexibility is pretty unparalleled
11:53:23PMunchIf you go through the trouble of using wxWidgets then you can export to pretty much any platform
11:53:45PMunchAnd it's not that bad to link with. I did static linking the other day and it was pretty straight forward
11:53:51*Gonzih joined #nim
11:54:08*xmonader joined #nim
11:54:17PMunchPlus with the macro, some converters, and Nims built-in threads it's pretty simple to use actually
11:55:04*elrood joined #nim
11:55:59*bjz joined #nim
12:02:29*Snircle joined #nim
12:03:59*Ven quit (Ping timeout: 264 seconds)
12:06:31*Ven joined #nim
12:09:59*chemist69 quit (Ping timeout: 256 seconds)
12:11:01*chemist69 joined #nim
12:14:36enthus1astlittle question, there are no higher level async udp bindings right know except for them in asyncdispatch right?
12:16:50cheatfateenthus1ast, yep
12:18:24enthus1astmhh ok (and i'm such a lazy ass)
12:18:57*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:20:37enthus1astcheatfate: i see you have deleted your branch with your approach, is it still somewhere lying around? :)
12:22:03enthus1astlaying
12:25:50cheatfateenthus1ast, hmm which one?
12:26:09cheatfatemy approach inside of asyncdispatch, but was slightly modified by vegansk, if i remember correctly
12:26:17*yglukhov joined #nim
12:27:45*Arrrr quit (Quit: Leaving.)
12:32:06enthus1astmhh then i think i try what i wanted to do with the asyncdispatch one
12:32:59*Arrrr joined #nim
12:32:59*Arrrr quit (Changing host)
12:32:59*Arrrr joined #nim
12:39:29*xet7 joined #nim
12:42:58*Arrrr quit (Ping timeout: 240 seconds)
12:43:32*Arrrr joined #nim
12:43:32*Arrrr quit (Changing host)
12:43:32*Arrrr joined #nim
13:01:59ArrrrSo, it is sure that named tuples will dissapear? I have to make my body
13:02:29*xmonader quit (Ping timeout: 260 seconds)
13:05:44PMunchNo named tuples?
13:12:41zachcarteranyone know how to create a dylib with cmake / gnumake? right now all my makefile is producing is a .a file
13:12:58*xet7 quit (Quit: Leaving)
13:13:30*xet7 joined #nim
13:14:31*xet7 quit (Client Quit)
13:15:50*xmonader joined #nim
13:17:44Arrrr'Plans regarding named tuples' https://forum.nim-lang.org/t/2823
13:19:07*kier_ joined #nim
13:20:49*Ven quit (Ping timeout: 256 seconds)
13:22:06*Ven joined #nim
13:22:09*kier quit (Ping timeout: 240 seconds)
13:22:50elroodzachcarter, not really nim-related, but since there's low traffic anyways.. care to paste your cmakelists.txt somewhere?
13:23:34zachcarterwell it is indirectly but sure I can link to it, one second
13:23:51zachcarterhttps://github.com/grimfang4/sdl-gpu/blob/master/CMakeLists.txt
13:24:09zachcarter(this is not my library - I’m just trying to create nim bindings to it)
13:26:23*Matthias247 joined #nim
13:26:52zachcarterI don’t know how the option thing works in CMake :/
13:31:37zachcartersomething in this secition I would think - https://github.com/grimfang4/sdl-gpu/blob/196c09400b78745babef059f88c46c31cc8e40ac/src/CMakeLists.txt#L85
13:32:11*xet7 joined #nim
13:36:44elroodsee if you can run something like ccmake . or cmake-gui . in your build directory to adjust the options. or look for the appropriate add_library directives and change STATIC to SHARED manually
13:37:33zachcarteralright thanks
13:37:34zachcarterI’ll try that
13:38:47AraqArrrr: more likely to stay than to be removed
13:39:15elroodzachcarter, np, good luck hunting
13:43:47*xet7 quit (Quit: Leaving)
13:44:35*tankfeeder joined #nim
13:47:27*sz0 joined #nim
13:47:28*Arrrr quit (Ping timeout: 240 seconds)
14:09:00*BitPuffin|osx joined #nim
14:14:39*BitPuffin|osx quit (Ping timeout: 256 seconds)
14:15:09*chemist69 quit (Ping timeout: 240 seconds)
14:15:22*dddddd joined #nim
14:17:59*chemist69_ joined #nim
14:27:25*xmonader quit (Ping timeout: 260 seconds)
14:27:28subsetparkI didn't even know tuples could be anonymous!
14:35:36*Ven quit (Ping timeout: 240 seconds)
14:37:29*Ven joined #nim
14:45:33*rauss joined #nim
14:55:03FromGitter<evacchi> hey all. it seems like nimsuggest in vscode is not working for me. nimsuggest looks on the $PATH
14:55:28FromGitter<evacchi> is there any command I could type in the editor to check whether it is finding/using it ?
14:58:42*Vladar quit (Quit: Leaving)
15:02:03*Vladar joined #nim
15:05:04FromGitter<evacchi> huh
15:05:19FromGitter<evacchi> [Extension Host] Activating extension `kosz78.nim` failed: ENOENT: no such file or directory, stat '../Cellar/nim/0.16.0/bin/nim
15:12:30*couven92 quit (Quit: Client disconnecting)
15:12:46*zachcarter quit (Quit: zachcarter)
15:13:35*IrcDroidClient joined #nim
15:14:12PMunchevacchi, had some trouble in Sublime as well
15:14:20FromGitter<evacchi> i have uninstalled from brew and just added the nim dir to the $PATH, now it says it can't find it at all
15:14:24PMunchBut after explicitly setting the path everything worked fine
15:14:25FromGitter<evacchi> console says
15:14:28FromGitter<evacchi> [Extension Host] Here is the error stack: TypeError: Path must be a string. Received undefined
15:14:39FromGitter<evacchi> how do I set it explitly ?
15:15:08PMunchNot sure for the VS Code plugin but for Sublime it was a configuration option
15:15:52FromGitter<evacchi> uhm
15:16:39*IrcDroidClient quit (Client Quit)
15:16:44FromGitter<evacchi> [Extension Host] Error: Command failed: "/Users/evacchi/Devel/extras/Nim/bin/nim" c -d:release --path:"/Users/evacchi/Devel/extras/Nim" nimsuggest.nim
15:18:06*IrcDroidClient joined #nim
15:18:15*IrcDroidClient left #nim (#nim)
15:18:25FromGitter<evacchi> huh found this ticket https://github.com/pragmagic/vscode-nim/issues/28
15:18:32*IrcDroidClient joined #nim
15:20:13PMunchSo it tries to build nimsuggest?
15:21:47IrcDroidClientare there numpy- like lib in nim?
15:21:57*Snircle is now known as ccde_nc6400
15:22:08FromGitter<evacchi> at some point it did, now I have built it as suggested
15:22:26FromGitter<evacchi> it worked!
15:22:48*ccde_nc6400 is now known as Snircle
15:28:33*IrcDroidClient quit (Ping timeout: 260 seconds)
15:30:16*BitPuffin|osx joined #nim
15:43:59*gangstacat quit (Read error: Connection reset by peer)
15:45:15*PMunch quit (Quit: leaving)
15:49:17*zachcarter joined #nim
15:49:52*nsf quit (Quit: WeeChat 1.7)
15:50:20FromGitter<evacchi> it seems like there might be a problem with resolving symlinks, though, that might be why it didn't work with brew
15:51:18*xmonader joined #nim
15:54:22*sz0 quit (Quit: Connection closed for inactivity)
15:59:21*IrcDroidClient joined #nim
16:01:14*yglukhov quit (Remote host closed the connection)
16:06:34*gangstacat joined #nim
16:07:05*IrcDroidClient quit (Ping timeout: 258 seconds)
16:15:23zachcarterI’m trying to debug some bindings I’ve written using LLDB and when I try to step into one of the methods I’ve bound to, the debugger fails to step in - it just steps through the instruction. Does that mean that the dylib I’m binding to doesn’t contain debug instructions or….
16:15:40zachcartererr debug symbols rather
16:27:30*tankfeeder quit (Quit: Leaving)
16:28:04*brson joined #nim
16:29:17demi-possibly, if it was built with optimizations applied to the C code then that won't work
16:34:37zachcartergotcha, thank you demi-
16:38:51demi-check the gcc/clang invocations for a `-g`, if that is there, you should be able to debug it
16:45:41*Trustable joined #nim
16:58:31*Andris_zbx quit (Remote host closed the connection)
17:00:13*deavmi__ joined #nim
17:00:15*deavmi__ quit (Remote host closed the connection)
17:00:49*deavmi__ joined #nim
17:01:15*deavmi__ is now known as deavmi
17:01:26*deavmi quit (Client Quit)
17:02:02*deavmi joined #nim
17:02:08*deavmi quit (Remote host closed the connection)
17:02:40*deavmi joined #nim
17:17:24*deavmi quit (Quit: deavmi)
17:20:32*Ven quit (Ping timeout: 246 seconds)
17:20:49*nsf joined #nim
17:23:23*Ven joined #nim
17:34:10*Vladar quit (Remote host closed the connection)
17:36:53*Ven quit (Ping timeout: 260 seconds)
17:38:08*Ven joined #nim
18:00:25*Arrrr joined #nim
18:06:18*Ven quit (Ping timeout: 258 seconds)
18:09:28*Ven joined #nim
18:20:52*Ven quit (Ping timeout: 258 seconds)
18:21:15*chemist69_ quit (Ping timeout: 258 seconds)
18:22:06*xmonader quit (Ping timeout: 240 seconds)
18:22:13*rokups quit (Quit: Connection closed for inactivity)
18:23:45*Ven joined #nim
18:26:01*chemist69 joined #nim
18:31:00*shashlick quit (Ping timeout: 260 seconds)
18:34:05*shashlick joined #nim
18:41:20*nsf quit (Quit: WeeChat 1.7)
18:51:59*jabb quit (Quit: leaving)
18:52:28*Ven quit (Ping timeout: 240 seconds)
18:53:34*Ven joined #nim
18:54:25*xmonader joined #nim
19:13:18*Jesin quit (Quit: Leaving)
19:19:05*Arrrr quit (Ping timeout: 260 seconds)
19:20:00*Jesin joined #nim
19:24:20*libman joined #nim
19:35:36*Ven quit (Ping timeout: 240 seconds)
19:37:57*BitPuffin|osx quit (Ping timeout: 240 seconds)
19:39:03*Ven joined #nim
19:40:30FromGitter<Varriount> Araq: Regarding the whole backport thing, you could just use this: http://nvie.com/posts/a-successful-git-branching-model/
19:50:47*Ven quit (Ping timeout: 264 seconds)
19:54:06*Ven joined #nim
19:55:13Araqvarriount: that's pretty much the thing we already use
20:04:49*brson quit (Ping timeout: 240 seconds)
20:05:28*Ven quit (Ping timeout: 240 seconds)
20:08:17*Ven joined #nim
20:08:35*xmonader quit (Ping timeout: 258 seconds)
20:11:36*jonathon joined #nim
20:12:35FromGitter<Varriount> Araq: We don't have a hotfixes branch based off of master.
20:13:39Araqwe have feature branches
20:13:53Araqok, we don't have hotfix branches
20:23:43jonathonwhen trying to compile using gcc.exe=musl-gcc i get "nimbase.h: No such file or directory" but gcc and clang can both find it...
20:24:32jonathongr
20:28:35*chemist69 quit (Ping timeout: 264 seconds)
20:29:43*PMunch joined #nim
20:30:44*chemist69 joined #nim
20:31:27*brson joined #nim
20:35:19*bjz joined #nim
20:45:15*jonathon quit (Quit: Quit)
21:14:15*butchster quit ()
21:15:52*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
21:24:22*nsf joined #nim
21:35:55*Ven quit (Ping timeout: 260 seconds)
21:38:41*Ven joined #nim
21:52:03*butchster joined #nim
22:03:27*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:14:27*zachcarter quit (Ping timeout: 240 seconds)
22:22:35*Ven quit (Ping timeout: 260 seconds)
22:23:43*Ven joined #nim
22:33:53*chemist69 quit (Ping timeout: 256 seconds)
22:34:42*rauss quit (Quit: WeeChat 1.7)
22:37:25*Ven quit (Ping timeout: 260 seconds)
22:39:04*Ven joined #nim
22:39:17*chemist69 joined #nim
22:41:24*IrcDroidClient joined #nim
22:43:26*zachcarter joined #nim
22:46:56*zachcarter quit (Read error: Connection reset by peer)
22:47:40*zachcarter joined #nim
22:48:09*IrcDroidClient quit (Ping timeout: 260 seconds)
22:51:06*PMunch quit (Quit: leaving)
23:01:27*elrood quit (Quit: Leaving)
23:07:35*Ven quit (Ping timeout: 264 seconds)
23:09:04*Ven joined #nim
23:11:02*bjz joined #nim
23:13:13*Trustable quit (Remote host closed the connection)
23:18:57*gokr quit (Ping timeout: 260 seconds)
23:22:48*IrcDroidClient joined #nim
23:22:57*IrcDroidClient quit (Remote host closed the connection)
23:25:36*nsf quit (Quit: WeeChat 1.7)
23:53:06*Ven quit (Ping timeout: 240 seconds)
23:56:04*Ven joined #nim