<< 17-10-2015 >>

00:01:59*Matthias247 quit (Read error: Connection reset by peer)
00:10:19*jaco60 quit (Ping timeout: 240 seconds)
00:12:59*barosl joined #nim
00:13:56*dashed joined #nim
00:52:36*kulelu88 joined #nim
00:54:18*brson quit (Ping timeout: 260 seconds)
01:25:28onionhammery
02:08:39*CryptoToad quit (Read error: Connection reset by peer)
02:08:41onionhammeraraq can we mix c/c++ modules and compile them together easily?
02:11:18*bjz_ quit (Ping timeout: 268 seconds)
02:12:05*jakesyl quit (Ping timeout: 246 seconds)
02:12:40*jakesyl joined #nim
02:13:24*bjz joined #nim
02:18:05*silven_ quit (Ping timeout: 268 seconds)
02:30:30*infinity0 quit (Remote host closed the connection)
02:34:28*bjz_ joined #nim
02:35:46*bjz quit (Ping timeout: 240 seconds)
02:41:30*Varriount quit (Ping timeout: 240 seconds)
02:42:32*Varriount joined #nim
02:48:09*coryg joined #nim
02:58:30*bjz_ quit (Ping timeout: 250 seconds)
03:00:06*nande quit (Remote host closed the connection)
03:28:35*bjz joined #nim
03:36:56*brson joined #nim
03:43:03*saml_ joined #nim
03:47:13*brson quit (Quit: leaving)
03:52:59*coryg quit (Ping timeout: 240 seconds)
03:54:42*kulelu88 quit (Quit: Leaving)
04:02:40*darkf joined #nim
04:24:25*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:34:41*strcmp1 quit (Remote host closed the connection)
04:58:20*saml_ quit (Remote host closed the connection)
05:12:20*dashed quit (Quit: Connection closed for inactivity)
05:27:18*bjz joined #nim
05:35:16*strcmp1 joined #nim
05:39:55*strcmp1 quit (Ping timeout: 260 seconds)
05:59:54*desophos joined #nim
06:24:24desophoshow does Nim compare to Rust and Python?
06:25:15*barosl quit (Read error: Connection reset by peer)
06:32:25Araqonionhammer: you can certainly try, the codegen was written with this in mind.
06:32:41Araqthere were some really hard difficulties though that I cannot remember.
06:33:26Araqdesophos: well Nim is quite like Scala, philosophy-wise.
06:35:15Araqit tries to scale from Rust-like low level programming up to Python-like high level programming so that you don't have language borders in your system
06:36:08desophoshm, interesting. i had never heard of Nim before today when someone mentioned it in #python when i mentioned Rust
06:38:40*Ven joined #nim
06:38:41Araqat the same time, it's an excellent "glue" language since we have code generators for C, C++ and JavaScript
06:41:18AraqI think it's fair to say that Nim took more inspiration from Python than Rust did, so you should really give it a try ;-)
06:42:21desophosi write mostly python, so Nim intrigued me
06:43:51desophosi tried Rust and i liked it a lot though
06:45:22AraqRust obviously has way more resources put into it, but I think the experimental effect system additions have a chance of beating Rust on its homeground. Lifetime-management and GC avoidance.
06:45:23*strcmp1 joined #nim
06:46:12*Araq is extremely biased. Take everything with a grain of salt.
06:47:46desophostbh i don't care about memory management, i'd much rather have everything GCed; i just care about speed
06:47:57desophoswell, when it matters of course
06:48:48Araqyes, but IF things work out, we move much from the GC's overhead to compile-time.
06:49:26desophosneat
06:50:03*strcmp1 quit (Ping timeout: 255 seconds)
06:50:39desophoscould Nim be a good language for game development?
06:50:56desophosi guess there are no gamedev libraries written yet...
06:51:09Araqit already is used for commerical game development.
06:51:28desophosoh interesting
06:52:17Araqand gaming was certainly one of the problem domains I had in mind when designing Nim.
06:53:04desophosyou're the language designer? :O
06:53:19Araqyep.
06:53:27desophoswow i am honored
06:54:06Araqthank you. :-)
07:10:45*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:11:05*bjz joined #nim
07:25:16*desophos quit (Read error: Connection reset by peer)
07:25:23*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:28:03*Ven joined #nim
07:32:20*barosl joined #nim
07:45:10*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:50:17*Ven joined #nim
08:03:59*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:08:18*yglukhov joined #nim
08:18:44*yglukhov quit (Remote host closed the connection)
08:41:35*yglukhov joined #nim
08:41:40*yglukhov quit (Remote host closed the connection)
08:52:12*jaco60 joined #nim
08:54:34*bjz_ joined #nim
08:55:06*bjz quit (Ping timeout: 240 seconds)
09:13:36*Ven joined #nim
09:21:03*Matthias247 joined #nim
09:26:44*bjz_ quit (Max SendQ exceeded)
09:27:31*bjz joined #nim
09:30:34*silven joined #nim
10:16:23*smodo joined #nim
10:22:07*yglukhov joined #nim
10:26:36*strcmp1 joined #nim
10:31:36*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:02:45*elrood joined #nim
11:14:48*elrood quit (Quit: Leaving)
11:33:30*Trustable joined #nim
11:33:42*Trustable quit (Remote host closed the connection)
11:34:34*Trustable joined #nim
11:34:57*Ven joined #nim
12:15:27*Jesin quit (Quit: Leaving)
12:29:03*boopsiesisaway is now known as boopsies
12:45:19*yglukhov quit (Remote host closed the connection)
12:49:44*Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png)
12:51:56*Ven quit (Read error: Connection reset by peer)
12:51:59*Ven_ joined #nim
12:56:37*Matthias247 quit (Read error: Connection reset by peer)
12:58:26*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:02:32*Jesin joined #nim
13:16:52*strcmp2 joined #nim
13:17:04*irrequietus joined #nim
13:19:02*Ven joined #nim
13:20:02*strcmp1 quit (Ping timeout: 260 seconds)
13:36:45*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:54:49*Ven joined #nim
13:57:58*irrequietus quit (Remote host closed the connection)
14:47:00*UberLambda joined #nim
14:48:58onionhammerAraq hmm.. how would I even go about doing this?
14:49:18onionhammerwould i have to invoke the linker manually?
14:49:57*elrood joined #nim
14:53:07*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:57:21*Ven joined #nim
14:58:19*yglukhov joined #nim
15:01:26*Ven quit (Ping timeout: 240 seconds)
15:02:57*Jesin quit (Quit: Leaving)
15:03:03*Ven joined #nim
15:04:43*Sornaensis quit (Excess Flood)
15:05:17*Sornaensis joined #nim
15:05:45*smodo quit (Ping timeout: 250 seconds)
15:07:22*strcmp2 quit (Ping timeout: 250 seconds)
15:21:31*coryg joined #nim
15:27:31*strcmp1 joined #nim
15:38:23*desophos joined #nim
15:48:06*strcmp1 quit (Remote host closed the connection)
15:48:35*strcmp1 joined #nim
15:50:33*strcmp1 quit (Remote host closed the connection)
15:52:03*strcmp1 joined #nim
15:53:03*strcmp1 quit (Remote host closed the connection)
15:54:00*strcmp1 joined #nim
16:00:50*Matthias247 joined #nim
16:13:50*elrood quit (Quit: Leaving)
16:18:10*xet7 quit (Ping timeout: 240 seconds)
16:19:07*strcmp1 quit (Remote host closed the connection)
16:19:35*strcmp1 joined #nim
16:22:25*Arrrr joined #nim
16:29:34*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:34:48*Jesin joined #nim
16:38:07*Jaood joined #nim
16:38:34dom96Just wrote this in like 3 hours https://github.com/dom96/turingsim :D
16:41:33strcmp1i wonder what will happen to the name of that university if unification ever happens :P very cool, nice work.
16:42:48dom96strcmp1: doubt it would change :P
16:43:19strcmp1'kingstown' became 'dun laoghaire' ;) but yeah, hopefully we've come a bit further since that time.
16:45:53*Matthias247 quit (Read error: Connection reset by peer)
16:52:37*Matthias247 joined #nim
16:58:05*Jesin quit (Quit: Leaving)
16:59:55*Jaood quit (Ping timeout: 252 seconds)
17:02:51*Jaood joined #nim
17:05:21*darkf quit (Quit: Leaving)
17:05:27*Matthias247 quit (Read error: Connection reset by peer)
17:18:47*Jaood quit (Ping timeout: 264 seconds)
17:21:40*strcmp1 quit (Quit: bbs)
17:39:13desophosi
17:39:32desophosi'm surprised Lua isn't listed as an influence on Nim
17:40:38desophosit seems philosophically similar in several ways, in that it relies on powerful features (templates, macros) to compensate for its minimal builtin support for some popular conveniences
17:40:46desophosnot saying that's a bad thing at all
17:40:49desophosjust seeing a similarity there
17:41:39desophosnot even conveniences, features in some cases (more OOP support, pattern matching, applicative programming)
17:42:45Arrrrmacros are very powerful in nim, like over 9000
17:49:17Araqhi desophos. hrm, I suppose you can say it. well I definitely had lots of lua experience. I never felt like it had any major impact on Nim's design.
17:49:37Araqbut yeah, perhaps you're right.
17:51:10*Jesin joined #nim
17:56:58*vendethiel joined #nim
18:08:31*Jesin quit (Quit: Leaving)
18:19:07*enamex joined #nim
18:19:17*UberLambda quit (Quit: GTG)
18:30:34*gmpreussner joined #nim
18:32:05*coryg quit (Ping timeout: 246 seconds)
19:03:59*vendethiel quit (Read error: Connection reset by peer)
19:10:27*vendethiel joined #nim
19:18:54*vendethiel quit (Read error: Connection reset by peer)
19:19:03*vendethiel joined #nim
19:26:07*Jaood joined #nim
19:35:27desophosisn't nimble supposed to handle dependencies for me? i'm getting "could not load: pcre.dll" when trying to run `nrpl` from cmd on windows 10 after running `nimble install nrpl` with no errors
19:35:37desophosnrpl: https://github.com/wheineman/nrpl
19:36:25Araqnimble doesn't handle DLL deps afaik
19:36:47Araqwhere would it get these from? git repos must not contain binaries.
19:36:58desophosgood point
19:37:57Araqwe have some solution for pcre etc. which are simply part of the windows installers
19:40:16desophosdoes Nim have anything like python's virtualenv? i think that would be extremely useful considering that nimble's executables are on the PATH
19:40:31desophosand yeah, perhaps it would be a good idea to simply use the windows installer...
19:42:58Araqwell I don't like that Nimble can actually build applications. and puts them in the PATH. IMHO that's not Nim's business at all
19:43:04Araq*Nimble's
19:43:22Araqwe have niminst to generate real OS specific installers, people should use that instead.
19:44:02AraqNim generated native binaries. People should distribute them with native installers.
19:44:47desophoshmm that makes sense. why not have nimble build using niminst?
19:44:59desophoser, *install
19:45:22desophoser... build installers at least :)
19:48:23Araqonce the Nimscript integration is finally merged into Nimble, this is just another trivial custom command
19:48:31desophoscool
19:49:03*strcmp1 joined #nim
19:49:11*vendethiel quit (Read error: Connection reset by peer)
19:50:01*vendethiel joined #nim
19:50:03desophossigh... i'm so incompetent at building stuff on windows
19:50:53desophostime to reinstall virtualbox; i thought of virtualenv because i'd like to be able to share an environment across my host/guest
19:58:56*Jaood quit (Ping timeout: 265 seconds)
19:59:36Araqhttp://nim-lang.org/download/dlls.zip
20:00:03Araqhas pcre, but it's for the upcoming release and we changed the DLL names
20:00:21Araqbut you can rename it back to pcre.dll
20:01:50*strcmp2 joined #nim
20:04:21*strcmp1 quit (Ping timeout: 252 seconds)
20:05:00desophosoh cool, thanks!
20:30:33*yglukhov quit (Remote host closed the connection)
20:32:35*Jesin joined #nim
20:36:07*HaCk3D joined #nim
20:36:44HaCk3Dhey, folks, does any1 used pdcurses on *nix
20:36:47HaCk3D?
20:37:05HaCk3Dive got an " lib/nim/wrappers/pdcurses.nim(539, 37) Error: undeclared identifier: 'pdcursesdll' "
20:40:53Araqseems like it never was ported to unix properly
20:41:03Araqit's not hard to fix though.
20:42:19Araqand why is this part of the stdlib anyway? should be a nimble package by now
20:48:44HaCk3Di was trying to use nim-curses nimble packge
20:48:57HaCk3Dbut it doesnt support unicode
20:49:51Araqhow come? nim uses utf-8 and so shoulde nim-curses
20:52:19*johnsoft quit (Quit: Leaving)
20:52:24HaCk3Didk, its a weird behavior
20:52:37HaCk3Dwhen im trying to printw("Привет")
20:52:58HaCk3Dhttps://github.com/rnowley/nim-ncurses/issues/8
20:53:20HaCk3Dbut echo works as expected
20:53:31HaCk3Dmb its the cstring fault
20:55:36Araqmaybe relevant: http://ubuntuforums.org/showthread.php?t=879169
20:55:47ldleworkIs the nimsuggest stuff working these days?
20:57:56HaCk3DAraq: how can i execute C code like this setlocale(LC_ALL,""); ?
20:58:32AraqHaCk3D: import posix or hack it into your program via {.emit: """C code here""".}
20:59:11Araqldlework: yes, but it's still a bit rough.
21:00:02Araqe.g. doesn't work in a 'class' macro. dunno why yet, in theory it should work fine, I thought it through.
21:01:03*johnsoft joined #nim
21:02:10ldleworkAraq: Nim workshop, wow.
21:02:21ldleworkWill you be there?
21:02:41Araqyeah
21:03:19ldleworkIt makes me really happy you guys are doing that.
21:09:08Araqyeah well, you can expect more buzz the next weeks, we have quite exciting stuff in the pipeline
21:11:43ldleworkI can't find anything regarding Nimble on the website. I forget how to acquire it.
21:11:55ldleworkoh nm
21:17:04HaCk3DAraq: thnx
21:24:43*enamex quit (Quit: Leaving)
21:25:56*vendethiel quit (Ping timeout: 265 seconds)
21:27:44*Jaood joined #nim
21:30:38*vendethiel joined #nim
21:36:47*strcmp2 quit (Ping timeout: 264 seconds)
21:36:53*Jaood quit (Ping timeout: 246 seconds)
21:37:10*strcmp1 joined #nim
21:38:16*strcmp1 quit (Client Quit)
21:40:31*HaCk3D left #nim (#nim)
21:43:01ldleworkhow does one use nimsuggest with nim-mode?
21:48:21Araqask reactormonk
21:48:49*strcmp1 joined #nim
21:50:44ldleworkIt looks like the http client doesn't abstract auth, just raw headers
21:51:51Araqhttpclient is deprecated iirc
21:52:08Araqasynchttpclient is the one you should use. I think
21:53:43ldleworkI am.
21:53:55ldleworkI don't see anything related to basic auth
21:54:02*Arrrr quit (Ping timeout: 246 seconds)
21:54:52*Arrrr joined #nim
21:57:57AraqI have no idea, you have to ask dom96.
21:59:34dom96PRs welcome
22:00:18dom96the current httpclient should be a good enough base for now
22:00:21strcmp1sounds like an easy PR :)
22:05:43*dashed joined #nim
22:15:23*Trustable quit (Remote host closed the connection)
22:24:39*Jaood joined #nim
22:25:10*Arrrr quit (Quit: WeeChat 1.2)
22:28:05*Matthias247 joined #nim
22:28:16*boopsies is now known as boopsiesisaway
22:37:59*Jaood quit (Ping timeout: 256 seconds)
22:44:15*Jaood joined #nim
22:49:35ldleworkHas anyone heard of anything related to like amqp?
22:49:38*Jaood quit (Remote host closed the connection)
22:50:42*Kingsquee joined #nim
23:09:28*Ven_ joined #nim
23:18:24*Matthias247 quit (Read error: Connection reset by peer)
23:18:34*Ven_ quit (Read error: Connection reset by peer)
23:18:41Araqldlework: I think that means 'no'.
23:20:28ldleworkyeah heh
23:28:43*zemm quit (Remote host closed the connection)
23:30:41*zemm joined #nim
23:42:42desophosno commits in 3 years :( https://github.com/Vladar4/nimgame
23:44:06Araqdesophos: we have a really good Urho3D wrapper. need to push my updates for Urho 1.4 though
23:45:37desophosoh, cool
23:45:50desophosnever heard of it but 3d scares me :(
23:46:08desophosmakes everything harder lol
23:46:17Araqwell for 2D you only need SDL
23:46:48desophosyeah, it's just sad to see an abandoned game engine
23:47:20desophosi saw an SFML wrapper, i'll try that out
23:47:56Araqmaybe, it's abandoned. but really really stable. ;-)
23:48:03Araq*it is not abandoned
23:48:18desophoshah