<< 06-07-2016 >>

00:03:27ephjaI'll check the logs tomorrow
00:03:28*ephja quit ()
00:09:32*rolha quit (Read error: Connection reset by peer)
00:10:44*rolha joined #nim
00:11:31*desophos joined #nim
00:34:48*ftsf_ joined #nim
00:44:11*boop quit (Ping timeout: 240 seconds)
00:47:52*brson quit (Ping timeout: 260 seconds)
00:51:42*sp33der89 joined #nim
00:59:37*fastrom quit (Quit: Leaving.)
01:00:25*fredrik92 left #nim ("Leaving channel")
01:01:38*vendethiel joined #nim
01:07:21*boop joined #nim
01:08:07*vendethiel quit (Ping timeout: 244 seconds)
01:30:12*rolha quit (Ping timeout: 258 seconds)
01:32:07*chemist69_ quit (Ping timeout: 258 seconds)
01:45:34*chemist69_ joined #nim
01:46:19*theweirdn8 joined #nim
01:57:37*vendethiel joined #nim
02:01:57*vendethiel quit (Ping timeout: 246 seconds)
02:02:31*kingofoz quit (Ping timeout: 252 seconds)
02:02:43*kingofoz joined #nim
02:05:10*yglukhov joined #nim
02:10:24*yglukhov quit (Ping timeout: 276 seconds)
02:21:19dyce_is it possible to crosscompile from mac to linux?
02:41:51*kingofoz quit (Ping timeout: 246 seconds)
02:42:35*kingofoz joined #nim
03:04:57*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:08:30*theweirdn8 left #nim (#nim)
03:25:03*sp33der89 quit (Ping timeout: 240 seconds)
03:33:17*bjz joined #nim
03:37:33*bjz_ joined #nim
03:40:03*bjz quit (Ping timeout: 264 seconds)
04:05:25*Senketsu joined #nim
04:07:10*yglukhov joined #nim
04:12:36*yglukhov quit (Ping timeout: 276 seconds)
04:24:20*endragor joined #nim
04:40:33*Senketsu quit (Ping timeout: 276 seconds)
04:40:43*kssreeram joined #nim
04:50:12*kssreeram quit (Read error: Connection reset by peer)
04:52:26*akamaus joined #nim
04:58:02*kingofoz quit (Ping timeout: 244 seconds)
04:58:25*kingofoz joined #nim
05:31:25*GangstaCat quit (Quit: Leaving)
05:42:03*kunev quit (Ping timeout: 240 seconds)
05:43:06*kssreeram joined #nim
05:43:54*kunev joined #nim
05:52:36*kunev quit (Ping timeout: 246 seconds)
05:54:25*kunev joined #nim
05:55:34*nsf quit (Quit: WeeChat 1.5)
05:58:35*arnetheduck quit (Read error: Connection reset by peer)
05:58:52*arnetheduck joined #nim
05:59:13*hendi__ joined #nim
06:16:06*hendi__ quit (Ping timeout: 276 seconds)
06:17:49*endragor_ joined #nim
06:21:01*endragor quit (Ping timeout: 252 seconds)
06:30:21*kssreeram quit (Ping timeout: 258 seconds)
06:31:49*hendi__ joined #nim
06:35:28*kssreeram joined #nim
06:41:29*fredrik92 joined #nim
06:43:20*endragor_ quit (Remote host closed the connection)
06:43:49*endragor joined #nim
06:59:13*Matthias247 joined #nim
07:02:52*kssreeram quit (Read error: Connection reset by peer)
07:07:15*brechtm joined #nim
07:17:54*nsf joined #nim
07:20:25*fastrom joined #nim
07:22:39*Matthias247 quit (Read error: Connection reset by peer)
07:23:51*akamaus quit (Ping timeout: 240 seconds)
07:25:15*fastrom1 joined #nim
07:28:23*fastrom quit (Ping timeout: 244 seconds)
07:33:36*kingofoz quit (Ping timeout: 258 seconds)
07:34:17*kingofoz joined #nim
07:37:06*brechtm_ joined #nim
07:39:59*BratwurstMitSenf joined #nim
07:40:34*BratwurstMitSenf left #nim (#nim)
07:40:39*brechtm quit (Ping timeout: 264 seconds)
07:42:10*BratwurstMitSenf joined #nim
07:53:40*yglukhov joined #nim
08:06:32*brechtm_ quit (Remote host closed the connection)
08:07:11*brechtm joined #nim
08:19:59*ftsf_ quit (Remote host closed the connection)
08:25:36*Trustable joined #nim
08:42:37*pafmaf joined #nim
08:48:25*coffeepot joined #nim
09:01:10*endragor quit (Remote host closed the connection)
09:30:50*gokr quit (Ping timeout: 244 seconds)
09:33:36*kssreeram joined #nim
09:49:35*endragor joined #nim
09:50:33*Demon_Fox quit (Quit: Leaving)
09:50:55*Demon_Fox joined #nim
09:52:10*Demon_Fox quit (Remote host closed the connection)
09:55:04*endragor_ joined #nim
09:56:03*kssreeram quit (Read error: Connection reset by peer)
09:57:22*endragor quit (Ping timeout: 260 seconds)
09:57:57*zaquest quit (Ping timeout: 260 seconds)
09:58:47*zaquest joined #nim
09:59:53*endragor_ quit (Remote host closed the connection)
10:00:22*kssreeram joined #nim
10:04:55*kssreeram quit (Read error: Connection reset by peer)
10:06:20*BratwurstMitSenf left #nim (#nim)
10:08:40*euantor joined #nim
10:12:30*fastrom1 quit (Quit: Leaving.)
10:32:51*arnetheduck quit (Ping timeout: 240 seconds)
10:36:29*elrood joined #nim
10:48:03*endragor joined #nim
10:51:48*brechtm quit (Read error: Connection reset by peer)
10:51:53*brechtm_ joined #nim
11:18:48*freezerburnv joined #nim
11:32:52*freezerburnv quit (Ping timeout: 252 seconds)
11:34:32*freezerburnv joined #nim
11:36:07*kssreeram joined #nim
11:40:03*kingofoz quit (Ping timeout: 240 seconds)
11:40:37*kssreeram quit (Ping timeout: 260 seconds)
11:40:58*kingofoz joined #nim
12:00:03*freezerburnv quit (Ping timeout: 240 seconds)
12:02:45*vendethiel joined #nim
12:04:55*endragor quit (Read error: Connection reset by peer)
12:05:01*endragor_ joined #nim
12:15:10*vi joined #nim
12:26:51*vendethiel quit (Ping timeout: 264 seconds)
12:47:24*hendi__ quit (Ping timeout: 276 seconds)
12:49:01*endragor_ quit (Remote host closed the connection)
12:51:04*endragor joined #nim
12:53:51*brechtm_ quit (Read error: Connection reset by peer)
12:54:05*brechtm joined #nim
12:54:52*rolha joined #nim
13:12:52*ephja joined #nim
13:25:14*GangstaCat joined #nim
13:43:09*rolha quit (Quit: Textual IRC Client: www.textualapp.com)
13:46:05*fvs joined #nim
13:47:23fvshi, does the nimcache get updated if I change source in ~/.nimble/pkgs/ or should I delete it and recompile?
13:52:43Araqdunno, but use -f to force a full recompile
13:52:50Araqno need to delete nimcache
13:58:48fvsthanks
14:01:31*PMunch joined #nim
14:02:08PMunchbrechtm, hi there
14:02:20PMunchI've got the SDL template to work on Android now :)
14:02:47fredrik92PMunch, aren't you on holiday with your gf?!?
14:03:00fredrik92:P
14:03:18PMunchAnd figured out how to do SDL image however that is not 100% compatible with the official SDL wrapper..
14:03:32PMunchfredrik92, yes I am. She says hi :P
14:03:40*vi quit (Quit: Page closed)
14:05:52*hendi__ joined #nim
14:06:05Araqaww
14:08:40*desophos quit (Read error: Connection reset by peer)
14:10:03PMunchOh Araq, by the way. Why does the main component of the SDL wrapper do nothing when in static mode but SDL image adds a header?
14:10:32PMunchRemoving the header was all I needed to so to get the compilation to work for Android
14:14:25PMunchs/so/do
14:14:55*brechtm quit (Remote host closed the connection)
14:15:13*nsf quit (Quit: WeeChat 1.5)
14:15:57*Hohto joined #nim
14:20:56AraqPMunch: no idea, please create a PR
14:21:12PMunchSo it's not intended to?
14:27:38PMunchgithub.com/nim-lang/sdl2/pull/71
14:27:47PMunchAraq, done ^
14:30:01PMunchNote that I haven't tested that with non-static targets (although it should compile as before for those). Maybe something like what's done in sdl-ttf would be more appropriate
14:30:34Araqdunno, yglukhov needs to review it
14:31:39*xet7 quit (Quit: Leaving)
14:42:30*xet7 joined #nim
14:54:08*endragor quit (Ping timeout: 272 seconds)
14:59:02*aziz_ joined #nim
14:59:35*aziz_ is now known as aziz
15:00:36*PMunch quit (Quit: leaving)
15:05:44*trusion joined #nim
15:11:36*euantor quit (Quit: Leaving)
15:20:47*pregressive quit (Remote host closed the connection)
15:38:11*saml quit (Ping timeout: 244 seconds)
15:40:41*Trustable quit (Remote host closed the connection)
15:48:02*brechtm joined #nim
15:51:21*brson joined #nim
16:00:24*saml joined #nim
16:02:51*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:08:25*fvs left #nim ("ERC (IRC client for Emacs 24.5.1)")
16:08:32*akamaus joined #nim
16:10:51*yglukhov quit (Ping timeout: 276 seconds)
16:15:57*hendi__ quit (Ping timeout: 246 seconds)
16:16:10*Hohto quit (Ping timeout: 250 seconds)
16:23:20*pregressive joined #nim
16:27:09*namnguyen quit (Ping timeout: 246 seconds)
16:35:52*brechtm_ joined #nim
16:37:39*brechtm quit (Ping timeout: 264 seconds)
16:43:06*namnguyen joined #nim
16:53:49*icebattle joined #nim
16:55:37*namnguyen quit (Remote host closed the connection)
17:00:18*namnguyen joined #nim
17:00:19*yglukhov joined #nim
17:03:12*xet7 quit (Quit: Leaving)
17:04:46*yglukhov quit (Ping timeout: 258 seconds)
17:07:56*aziz quit (Remote host closed the connection)
17:31:05*vendethiel joined #nim
17:40:31*RushPL joined #nim
17:41:10*PMunch joined #nim
17:42:54brechtm_PMunch: Hi. Good to hear! I haven't had much time to spend on my game yet. Slowly figuring things out...
17:43:23PMunchI've started porting my old game jam game for fun :)
17:44:00PMunchSo far I have mostly written some helper classes like a texture atlas parser and an animation handler
17:44:14PMunchRight now I'm trying to figure out haptic feedback on Android
17:44:36PMunchHaving some trouble getting SDL to compile when I include the haptic sub-module
17:45:33*akamaus quit (Ping timeout: 240 seconds)
17:45:54PMunchGetting a weird error: error: conflicting types for 'SDL_GetWindowSize'
17:46:18*euantor joined #nim
17:51:30*yglukhov joined #nim
17:52:33*brechtm_ quit (Remote host closed the connection)
17:53:09PMunchAh, think I found it now
17:53:37PMunchThe sdl wrapper adds some includes when compiling in static mode
17:53:53PMunchNot sure if these are used for something else but they break the compilation on Android
17:55:24dyce_is it possible to crosscompile for all platforms?
17:55:35dyce_or do you have to compile on each platform to get working binaries
17:56:16namnguyendyce_, it is possible to do that. you just need a toolchain for the target platform on your host platform
17:56:45dyce_is there an osx toolchain available to install on linux?
17:56:55namnguyenthere is none.
17:57:17namnguyen(as far as i know)
17:57:34dyce_darn
17:57:47namnguyenyea, that would be sweet, wouldn't it?
17:57:59namnguyeni think the main problem is in signing.
17:58:14dyce_how does Go do it?
17:58:35namnguyenyou can compile to OS X
17:58:48*xet7 joined #nim
17:59:10namnguyenbut you won't be able to release it
17:59:16namnguyenvia app store
17:59:29dyce_oh im not worried about that
18:00:26namnguyenah, well, then clang can targetMac
18:00:43dyce_nice nice, it would be cool to setup a docker container
18:01:54dyce_that compiles for ARM (raspberry pi), mips(openwrt routers). linux,bsd,osx 32/64 all statically linked :)
18:02:13namnguyenyeah
18:03:38*fredrik92 quit (Quit: Shutting down...)
18:03:38*M-Quora quit (Write error: Connection reset by peer)
18:03:38*Flox42 quit (Remote host closed the connection)
18:03:38*M-max quit (Read error: Connection reset by peer)
18:06:24dyce_does nim have something like requirements.txt from python
18:06:27dyce_that you can feed nimble
18:07:15*Flox42 joined #nim
18:07:43PMunchThe .nimble file have dependencies if that's what you're thinking of
18:07:54PMunchNot sure what requirements.txt does
18:15:10dyce_PMunch: yeah its the same, thanks
18:15:18*euantor quit (Remote host closed the connection)
18:17:22*euantor joined #nim
18:17:25*euantor quit (Client Quit)
18:22:01*ephja quit ()
18:25:42*akamaus joined #nim
18:30:54*nsf joined #nim
18:42:10*irrequietus joined #nim
18:46:45*chemist69_ quit (Ping timeout: 250 seconds)
18:50:15*vendethiel quit (Ping timeout: 264 seconds)
19:05:50*chemist69_ joined #nim
19:10:05*ozra joined #nim
19:28:55*ephja joined #nim
19:32:39PMunchyglukhov, does nimx use the vibration on Android/iPhones?
19:35:03*brson quit (Ping timeout: 240 seconds)
19:37:51*GangstaCat quit (Quit: Leaving)
19:40:27*brson joined #nim
19:43:36*irrequietus quit ()
20:04:47ephja const dllname = "iup(|30|27|26|25|24).dll"
20:05:07ephjawould 3.19 be iup319.dll? :p
20:05:26*M-Quora joined #nim
20:05:33*M-max joined #nim
20:12:53namnguyenephja, in your view, is IUP "production" enough?
20:13:47namnguyeni meant is it a pretty and comprehensive enough as a GUI library?
20:17:21PMunchnamnguyen, I haven't tried it all that much. But I was a bit turned off by the fact that to install it on Linux I had to build it from source..
20:18:22PMunchTypes in Nim are so weird..
20:18:34PMunchSometimes they convert, sometimes they don't..
20:22:06Araqit's actually pretty simple: If it can lose information, they don't.
20:22:28Araqand int can be 64 bits so it cannot fit a float.
20:23:50*Matthias247 joined #nim
20:24:37PMunchAaah
20:24:46PMunchThat actually makes a lot of sense
20:26:32PMunchMaybe add that to the error?
20:26:59PMunchBecause without that knowledge the type system can seem really confusing :P
20:27:35*fastrom joined #nim
20:29:07*akamaus quit (Ping timeout: 252 seconds)
20:31:34PMunchSpeaking of the type system, got any opinion on this Araq: github.com/nim-lang/Nim/issues/4432
20:33:03PMunchDiscovered it while looking into this: github.com/nim-lang/Nim/issues/4431 (See the fix in the last comment)
20:36:30AraqI don't have any opinion yet.
20:37:03Araqseems weird that an explicit toT() call is not much better than T()
20:37:21Araqbut "in generic contexts" is usually a convincing argument.
20:38:14PMunchProblem is that a call like int(myType) will not invoke a converter for myType to int
20:38:28PMunchBut var:int = myType will work
20:38:46PMunchmyType here is a variable of a type by the way, poor choice of name
20:42:38Araqyeah I know. type conversion is pretty fucked up. ask vegansk.
20:47:19ephjaPMunch: the archives with the library files aren't enough? was it not available for your package manager?
20:47:28ephjanamnguyen: I haven't used it much either, but it does seem decent
20:47:37ephjatime to find out
20:50:06ephjaso the library only accounts for up to version 3.0, even though additional 3.x versions were available in 2012.
20:51:07PMunchephja, it's in the AUR
20:51:22PMunchBut those are sources which take a while to compile iirc
20:51:43ephjaPMunch: ok. I don't think it actually compiled for me
20:52:30ephjaI wonder if the headers contain the usual C macro abuse ;)
20:52:38ephjainline all the things with macros
20:53:06PMunchHmm, there's iup and iup-gtk. Not 100% sure which I downloaded
20:54:27ephjaa complete QML interface would be a great addition to the ecosystem. A high level gtk+ 3 interface too, but people dislike gtk for various reasons
20:55:52yglukhovPMunch: no, no vibration api.
20:57:09PMunchI asked over in #sdl as well. There are apparently some patches in the pipe that adds it as a haptic device in SDL
20:58:43namnguyenephja, yeah, i'd prefer a more native L&F than Gtk
20:59:35namnguyenIUP offers native L&F. but it also seems to me that its library of widgets/components is not as comprehensive as other libraries.
21:01:06*Trustable joined #nim
21:01:22PMunchL&F?
21:01:30namnguyenlook and feel, sir
21:01:35ephjathat's probably true
21:01:35PMunchAh
21:02:16PMunchI guess the lack of widgets is down to it using the native libraries
21:02:34PMunchSo it ends up with the union of all the supported platforms
21:02:57namnguyenPMunch, wxWidgets offers the same l&f and a large collection of widgets.
21:03:11namnguyenno real mature Nim binding for it, though
21:03:26namnguyenthere are some binding. in fact, Araq worked on one.
21:03:30PMunchThat's a shame
21:03:45PMunchI've used it with Python before
21:11:20*irrequietus joined #nim
21:11:41ephjaso many libs are still available on sourceforge
21:15:39Araqnamnguyen: still working on it, in fact
21:15:45Araqrelease is only a few days away ...
21:17:40PMunchOoh, nice
21:18:08ephjaindeed
21:18:37ephjaI'd prefer not to touch C++, but you barely have to IIRC
21:19:00ephjaand the C++ interfacing is really convenient
21:19:47*fastrom quit (Quit: Leaving.)
21:20:26*freezerburnv joined #nim
21:22:12ephja"libiup(|3.0|2.7|2.6|2.5|2.4).so(|.1)" would the SO files even be named that way on linux? the DLL archives don't have version numbers embedded in the filenames. oh the confusion
21:30:22*vendethiel joined #nim
21:36:18*brson quit (Ping timeout: 272 seconds)
21:50:43*brson joined #nim
21:51:44*ndh joined #nim
21:57:14*PMunch quit (Quit: leaving)
21:58:42ndhhey there, i'm having a bit of trouble with quite a simple program. could someone take a look? this is my first time using nim. i'm using cc = vcc. https://gist.github.com/haferburg/25796c66926f81b2efb4862568d48977
21:59:03ndhthere's no nim compiler errors, just vc errors
22:03:20Araqndh: interesting, I've never seen this error before
22:03:37Araqit's as if vcc stopped parsing C code :P
22:03:58ndhit looks like maybe it's a function with an empty name?
22:04:03ndhi've added the .c file
22:04:07ndhthat was generated
22:05:05Araqah I see.
22:05:10Araqinteresting.
22:05:19ndhthis is vc 2010 btw
22:05:44Araqare you on Nim devel?
22:05:57ndhi don't know what that is so my guess is no :)
22:06:24Araqwell use a more recent vc then please
22:07:48ndhok
22:08:40*freezerburnv quit (Ping timeout: 252 seconds)
22:10:53ndhok it's working with the vs 12 compiler
22:11:00ndhjust two warnings:
22:11:08ndhnimcache\greetings.c(471) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'Globalmarkerproc56602'
22:11:17ndhnimcache\stdlib_system.c(12306) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'Globalmarkerproc56602'
22:12:55Araqyeah that warning indicates a real bug
22:13:02Araqthat I need to look into
22:13:10*PMunch joined #nim
22:13:27ndhok. do you think you need anything else from me to help you fix it?
22:14:08ndhthe nim.cfg file?
22:14:30Araqnah. but create a github issue
22:14:38Araqso that you can track its progress.
22:18:21*PMunch quit (Quit: leaving)
22:20:21*Trustable quit (Remote host closed the connection)
22:21:25ndhhttps://github.com/nim-lang/Nim/issues/4459 let me know if you need anything else
22:35:29*ndh quit (Quit: Page closed)
22:42:02*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:44:02cheatfateAraq, i have seen this warnings
22:45:01cheatfateWhen compiling asynchttpserver on windows with `vcc`
22:45:16cheatfatevcc from visual studio 2015
22:46:58Araqcheatfate: fix it.
22:47:22cheatfate^^^ i though you want to fix it :)
22:47:51*yglukhov quit (Remote host closed the connection)
22:48:04*brson quit (Quit: leaving)
22:49:27cheatfatei even dont understand what is `nimRegisterGlobalMarker`
22:53:51*zodiak quit (Ping timeout: 276 seconds)
22:55:09*zodiak joined #nim
22:56:28*arnetheduck joined #nim
22:58:02*Matthias247 quit (Read error: Connection reset by peer)
23:01:19Araqyou don't have to understand it.
23:01:31Araqthe calling conventions differ and that's all that matters.
23:01:39Araqso make them the same.
23:10:45*bjz joined #nim
23:15:05*brson joined #nim
23:15:08*bjz quit (Client Quit)
23:16:54*irrequietus quit ()
23:20:02*elrood quit (Quit: Leaving)
23:26:30*vendethiel quit (Ping timeout: 272 seconds)
23:29:06*xet7 quit (Quit: Leaving)
23:39:52*pafmaf quit (Ping timeout: 260 seconds)
23:41:44*ephja quit ()
23:45:10*yglukhov joined #nim
23:52:21*yglukhov quit (Ping timeout: 276 seconds)
23:53:47*nik_ joined #nim
23:54:14*nik_ quit (Client Quit)