<< 18-03-2016 >>

00:04:32*Matthias247 quit (Read error: Connection reset by peer)
00:24:49*PMunch quit (Ping timeout: 240 seconds)
00:28:51*GangstaCat quit (Ping timeout: 248 seconds)
00:29:37*boopsies is now known as boopsiesisaway
00:35:12*jaco60 quit (Quit: Leaving)
00:37:55*allan0 quit (Ping timeout: 248 seconds)
00:38:10*allan0 joined #nim
00:54:28*desophos joined #nim
00:58:37*desophos quit (Ping timeout: 244 seconds)
01:02:04*Guest71581 is now known as Heartmender
01:02:08*Heartmender quit (Changing host)
01:02:08*Heartmender joined #nim
01:02:08*Heartmender quit (Changing host)
01:02:08*Heartmender joined #nim
01:13:13*desophos joined #nim
01:58:34*kulelu88 joined #nim
02:01:04*GangstaCat joined #nim
02:35:57*Demon_Fox joined #nim
03:01:55*brson quit (Ping timeout: 248 seconds)
03:19:35Varriount_cheatfate: Whatcha making?
03:20:10cheatfateFinishing my kqueue.nim already needs only macos compilation tests
03:20:53cheatfate"whatcha?" what does it mean?
03:31:28kulelu88what are you
03:31:44*endragor joined #nim
03:31:45kulelu88colloquial american
03:37:10*kulelu88 quit (Quit: Leaving)
03:47:02*jck joined #nim
03:50:27*endragor quit (Remote host closed the connection)
03:52:34*endragor joined #nim
04:04:03*francisl joined #nim
04:07:26francislis the windows version supposed to work? I trying to build getting started stuff. It compiles but failed to execute
04:34:46*toaoMgeorge quit (Read error: Connection reset by peer)
04:37:49*vendethiel joined #nim
04:53:06*gmpreussner_ quit (Ping timeout: 276 seconds)
04:53:06*gsingh93 quit (Ping timeout: 276 seconds)
04:55:03*onionhammer quit (Ping timeout: 276 seconds)
04:55:21*gsingh93 joined #nim
04:55:28*ludocode_ joined #nim
04:55:42*ludocode quit (Ping timeout: 276 seconds)
04:56:14*darkf quit (Read error: Connection reset by peer)
04:58:08*gmpreussner joined #nim
05:00:28*onionhammer joined #nim
05:04:59*darkf joined #nim
05:06:45*s455wang quit (Ping timeout: 276 seconds)
05:25:01*s455wang joined #nim
05:26:34*francisl quit (Quit: francisl)
05:42:57*vendethiel quit (Ping timeout: 260 seconds)
06:17:40*endragor_ joined #nim
06:21:02*endragor quit (Ping timeout: 244 seconds)
06:40:56*endragor_ quit (Remote host closed the connection)
06:41:25*endragor joined #nim
06:50:55*bjz joined #nim
06:51:07*toaoMgeorge joined #nim
06:51:28*endragor quit (Remote host closed the connection)
07:01:40*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:09:18*toaoMgeorge quit (Read error: Connection reset by peer)
07:21:13*bjz joined #nim
07:27:50*Matthias247 joined #nim
07:45:43*Matthias247 quit (Read error: Connection reset by peer)
07:47:42*yglukhov joined #nim
07:52:11*endragor joined #nim
07:56:34*endragor quit (Ping timeout: 244 seconds)
08:02:10*gokr joined #nim
08:23:13*bjz quit (Ping timeout: 240 seconds)
08:23:34*bjz joined #nim
08:24:08*Trustable joined #nim
08:32:02*irrequietus joined #nim
08:44:07*yglukhov_ joined #nim
08:44:07*yglukhov quit (Read error: Connection reset by peer)
08:53:18*endragor joined #nim
08:56:09*dorei joined #nim
08:56:22*enthus1ast quit (Ping timeout: 252 seconds)
08:57:39*endragor quit (Ping timeout: 248 seconds)
08:58:23*endragor joined #nim
09:09:21*darkf quit (Quit: Leaving)
09:20:11*^aurora^ joined #nim
09:20:52*irrequietus quit ()
09:35:15*dorei quit (Quit: Page closed)
09:50:01*vonh quit (Ping timeout: 252 seconds)
09:57:08*arnetheduck joined #nim
10:07:46*Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif)
10:11:39*desophos_ joined #nim
10:13:04*dorei joined #nim
10:16:32*desophos_ quit (Ping timeout: 260 seconds)
10:17:14*toaoMgeorge joined #nim
10:19:09*vonh joined #nim
10:32:42*Arrrr joined #nim
10:32:42*Arrrr quit (Changing host)
10:32:42*Arrrr joined #nim
10:33:25*Demon_Fox quit (Quit: Leaving)
10:35:35*vendethiel joined #nim
10:35:48*irrequietus joined #nim
10:39:28*yglukhov_ quit (Ping timeout: 264 seconds)
10:48:53*yglukhov joined #nim
10:49:38*yglukhov_ joined #nim
10:49:38*yglukhov quit (Read error: Connection reset by peer)
11:02:34*vendethiel quit (Ping timeout: 240 seconds)
11:03:53cheatfateAraq, i know you are busy, but do you receive my night staff?
11:04:23Araqyes, but I'm really busy indeed
11:05:28baabelfishCan i somehow get the ast of a module/file?
11:10:55Araqbaabelfish: parseStmt + slurp in a macro
11:11:08Araqbut it's bad style.
11:11:24*gokr quit (Quit: Leaving.)
11:11:27*gokr1 joined #nim
11:13:31*irrequietus quit ()
11:15:22*enthus1ast joined #nim
11:15:25*vonh quit (Ping timeout: 250 seconds)
11:17:51*vonh joined #nim
11:20:33baabelfishAraq: I'm thinking of creating "show ast" command for vim
11:21:44Araqbaabelfish: sounds more like you want to add a feature to nimsuggest then
11:23:53reactormonkbaabelfish, you could also dump it in a nim file and prepend dumpTree
11:23:55baabelfishAraq: sounds like a plan
11:32:22*vendethiel joined #nim
11:47:04*vonh quit (Ping timeout: 240 seconds)
11:54:03*vendethiel quit (Ping timeout: 240 seconds)
12:15:49*yglukhov_ quit ()
12:27:21*yglukhov joined #nim
12:28:56*francisl joined #nim
12:29:52francislHey guys, based on the 1.0 Roadmap, there is only two things left to reach a stable 1.0. Is that correct?
12:35:03*jaco60 joined #nim
12:35:03Araqha, I wish.
12:35:14Araqthe roadmap is not up to date
12:35:55Araqand this whole "version 1.0" business ... well. we have good backwards compatibility and at the same time push the language forward
12:37:51francislanother question, I have no problem compiling and running nim on my mac. Yesterday I tried on windows. It seems to compile fine, but he executable just hang in the console.
12:38:21francislSo I reduce the code down to a simple `hello world`, even that was not working
12:38:55francislIs there a special steps to do after installing the nim from the installer?
12:40:28*gokr1 quit (Quit: Leaving.)
12:44:13enthus1astfrancisl: i had similar problems with the 64 bit version
12:44:25*toaoMgeorge quit (Ping timeout: 244 seconds)
12:44:40francislexactly, was running 64bit also
12:46:31francislis there a solution? is it a know problem?
12:48:08enthus1astmy "solution" was to install 32bit....
12:49:20francislok, thanks
12:53:00Araqfyi 64 bit works fine for me
12:56:42francislWindows 10 on Intel CPU?
12:58:58*lcm337 joined #nim
13:02:31*toaoMgeorge joined #nim
13:02:31*toaoMgeorge quit (Client Quit)
13:02:51*toaoMgeorge joined #nim
13:05:04*endragor_ joined #nim
13:05:42*endragor quit (Ping timeout: 260 seconds)
13:09:45*francisl quit (Quit: francisl)
13:10:55*xezzy joined #nim
13:11:50*xezzy quit (Client Quit)
13:12:26*toaoMgeorge quit (Quit: Bye)
13:12:46*toaoMgeorge joined #nim
13:13:47dom96enthus1ast: francisl: that's an odd bug. Have you tried bootstrapping Nim manually in 64bit mode? I would be curious to know whether that also results in the same bug. If not then we have a problem with the installer.
13:15:25*toaoMgeorge quit (Read error: Connection reset by peer)
13:15:42enthus1astcan't test it right now i'm at work
13:20:04*boopsiesisaway is now known as boopsies
13:29:33*francisl joined #nim
13:33:09Araqfrancisl: yeah, I'm on Win 10
13:34:08gmpreussneri'm running 64-bit Nim on Windows 10, but I didn't use the installer
13:34:34*vonh joined #nim
13:35:07Araqhe he he
13:46:16*bjz quit (Quit: Textual IRC Client: www.textualapp.com)
13:49:04*bjz joined #nim
13:55:58*krux02 joined #nim
14:01:53*bjz quit (Ping timeout: 244 seconds)
14:04:14*bjz joined #nim
14:06:40francislI’m not surprise! But maybe there is something wrong with the 64bit built for windows
14:07:30*fredrik92 joined #nim
14:08:00*fredrik92 quit (Client Quit)
14:22:07*endragor_ quit (Remote host closed the connection)
14:27:00*endragor joined #nim
14:29:46*endragor quit (Remote host closed the connection)
14:30:15*endragor joined #nim
14:37:41*endragor_ joined #nim
14:40:27*endragor quit (Ping timeout: 246 seconds)
14:42:06*endragor_ quit (Ping timeout: 248 seconds)
15:03:25*pregressive joined #nim
15:14:25*chrishel_ joined #nim
15:16:10*chrisheller quit (Ping timeout: 252 seconds)
15:19:52*chrisheller joined #nim
15:21:40*chrishel_ quit (Ping timeout: 252 seconds)
15:24:11*lcm337 left #nim (#nim)
15:40:11*arnetheduck quit (Ping timeout: 250 seconds)
15:48:54*Jesin quit (Quit: Leaving)
16:11:30*jaco60 quit (Remote host closed the connection)
16:12:50*jaco60 joined #nim
16:12:56*exebook quit (Ping timeout: 268 seconds)
16:13:15*BitPuffin joined #nim
16:19:05*Jesin joined #nim
16:22:06*BitPuffin quit (Read error: Connection reset by peer)
16:22:23*BitPuffin joined #nim
16:25:13*exebook joined #nim
16:27:41*dorei quit (Quit: Page closed)
16:28:49*Matthias247 joined #nim
16:30:05*Demon_Fox joined #nim
16:34:27*yglukhov quit (Ping timeout: 276 seconds)
16:43:16*brson joined #nim
17:02:25*Matthias247 quit (Read error: Connection reset by peer)
17:13:27*exebook quit (Ping timeout: 276 seconds)
17:16:11*rok joined #nim
17:17:14*BitPuffin|osx joined #nim
17:18:14*BitPuffin|osx is now known as ForkedPuffin
17:22:01*lcm337 joined #nim
17:30:09*exebook joined #nim
17:47:34*ForkedPuffin is now known as BitPuffin|osx
17:48:24*enthus1ast quit (Ping timeout: 252 seconds)
17:56:16dom96ldlework: how's dadren going?
18:04:31*bjz_ joined #nim
18:04:52*yglukhov joined #nim
18:05:31cheatfatelooking for OSX guys to compile test
18:06:15ldleworkdom96: I stopped to learn opengl
18:06:23ldleworkso I can write an efficient sprite graph
18:06:27*bjz quit (Ping timeout: 248 seconds)
18:06:41dom96cheatfate: I can test on OSX if you want :)
18:06:45dom96ldlework: cool
18:07:10cheatfatehttps://gist.github.com/cheatfate/c7cddb67585b7daf6a9d
18:07:29cheatfatedom96, could you please test to compile selectors.nim with this kqueue.nim
18:08:02dom96sure
18:08:51*yglukhov quit (Ping timeout: 244 seconds)
18:10:25*desophos_ joined #nim
18:15:15dom96cheatfate: seems to be working fine, all tests except tests/async/tasynceverror.nim pass. Although that test also fails in the previous kqueue implementation.
18:15:51cheatfateok, i'l check it
18:18:16*yglukhov joined #nim
18:21:41cheatfatedom96, is there any command to run this tests on my bsd's farm?
18:21:56dom96cheatfate: ./koch tests cat async
18:22:11dom96thanks for checking
18:26:21*filwit joined #nim
18:30:15cheatfateopenbsd do not like sprintf's and predictable random() :)
18:40:04*yglukhov quit (Remote host closed the connection)
18:44:09*yglukhov joined #nim
18:44:57dom96Can anybody ensure this works on older Linux kernel's? https://github.com/nim-lang/Nim/pull/3648
19:03:03*darkf joined #nim
19:07:59cheatfateSO_REUSEPORT will not work on kernels prior 3.9
19:08:41dom96Yeah, but programs will also not compile even if it's not used
19:08:45dom96because of the include
19:08:59dom96'SO_REUSEPORT* {.importc, header: "<sys/socket.h>".}: cint'
19:09:03cheatfateyou are right
19:09:19dom96Any ideas how to resolve that problem?
19:10:21cheatfatedo we have something like "check header for #define or symbol"?
19:10:31dom96Don't think so
19:11:29cheatfateThen we can add this but commented... because there so many 2.6.x kernels
19:12:53cheatfatedom96, but you know you already broke support for kernels prior 2.6.9 in selectors
19:13:17dom96cheatfate: because of epoll?
19:13:18cheatfatedom96, http://man7.org/linux/man-pages/man2/epoll_ctl.2.html#BUGS
19:13:57dom96ahh, but that's only a problem when using selectors on kernels before 2.6.9
19:14:31dom96should probably fix that anyway though
19:16:50cheatfatefreebsd/openbsd/macosx tests passed only one error in tasynceverror.nim
19:17:28cheatfatebut netbsd not passed tasyncudp.nim (unhandled exception: msgCount == 200 * serverCount * 5 [AssertionError])
19:22:46*BitPuffin|osx quit (Ping timeout: 244 seconds)
19:25:51*Jesin quit (Quit: Leaving)
19:28:59cheatfatedom96, you need to remove your tasynceverror.nim test because it can't be completed...
19:29:08*francisl quit (Quit: francisl)
19:30:42cheatfatedom96, because you 1. closing client connection 2. adding kqueue EVFILT_WRITE to kqueue when second end of this socket is already closed... so you will never get EV_ERROR and only Bad File Descriptor will be available on this test
19:31:39dom96cheatfate: I didn't write the test originally.
19:32:11*francisl joined #nim
19:32:57dom96Might be worth looking into the history behind that test to see if a more accurate one can be created
19:32:59dom96or ask https://github.com/l04m33 directly
19:33:37*BitPuffin quit (Ping timeout: 244 seconds)
19:33:47cheatfateto get EV_ERROR you need to add EVFILT_WRITE(2) BEFORE closing client connection(1), so kqueue will return you ERROR on your accepted socket (about disconnect)
19:35:08cheatfatefor me asyncdispatch.nim (end of file) is macro magic, and i can't understand it
19:43:53cheatfatewith my kqueue.nim netbsd is works much better but not good enough :)
19:51:30*Jesin joined #nim
19:52:35*francisl quit (Quit: francisl)
19:55:46cheatfatetasyncudp.nim is using asyncio.nim (i thought it already dead), am i wrong?
19:57:10*Gonzih quit (Quit: WeeChat 1.4)
20:00:30Arrrrisn't len for enums supported?
20:04:21*francisl joined #nim
20:06:39dom96cheatfate: good point, asyncio is dead.
20:07:08dom96Arrrr: maybe 'high()'?
20:11:00*francisl quit (Quit: francisl)
20:19:27*yglukhov quit (Remote host closed the connection)
20:20:09Varriount_dom96: high() won't work for enums with holes though...
20:20:21*Varriount_ is now known as Varriount
20:23:03*irrequietus joined #nim
20:26:17*yglukhov joined #nim
20:31:29Arrrrhigh + 1 is an alternative, i find strange there is not a len
20:35:03*desophos quit (Disconnected by services)
20:35:07*desophos_ is now known as desophos
20:35:29*desophos_ joined #nim
20:36:57*gokr joined #nim
20:38:35*francisl joined #nim
20:55:14*Arrrr quit (Quit: WeeChat 1.4)
20:59:55*vendethiel joined #nim
21:04:25*gokr quit (Quit: Leaving.)
21:08:22flyxI am getting a strange IOError in my code: Error: unhandled exception: cannot open: yaml-dev-kit/R4YG/=== [IOError]
21:08:40flyxthe file exists and is readable, I attempt to read it. what can be the problem?
21:10:05flyxI use readFile() and it works with a lot of previous files
21:10:29*BitPuffin|osx joined #nim
21:17:20*yglukhov quit (Remote host closed the connection)
21:19:18*francisl quit (Quit: francisl)
21:21:10flyxah, I had too much input streams open
21:23:03*itPuffin|osxB joined #nim
21:23:39*themagician_m joined #nim
21:24:58cheatfategot this "stdlib_math.c:(.text+0x894): warning: warning: rand() may return deterministic values, is that what you want?"
21:25:07cheatfatewhen compiling in openbsd
21:25:19cheatfatedo we use rand()?
21:25:23*BitPuffin|osx quit (Ping timeout: 276 seconds)
21:25:39*themagician quit (Ping timeout: 276 seconds)
21:25:39*Guest71084 quit (Ping timeout: 276 seconds)
21:25:39*wh1t3r0s3 quit (Ping timeout: 276 seconds)
21:25:39*ldlework quit (Ping timeout: 276 seconds)
21:25:57*Guest71084 joined #nim
21:26:18*rok quit (Ping timeout: 276 seconds)
21:26:33*ldlework joined #nim
21:27:09*yglukhov joined #nim
21:27:22*pregressive quit (Remote host closed the connection)
21:28:47*wh1t3r0s3 joined #nim
21:39:25*yglukhov quit (Remote host closed the connection)
21:44:33*francisl joined #nim
21:54:33*irrequietus quit ()
22:09:18*saml quit (Quit: Leaving)
22:14:18*Matthias247 joined #nim
22:17:49*francisl quit (Quit: francisl)
22:23:04*Demos quit (Read error: Connection reset by peer)
22:28:53*pregressive joined #nim
22:32:05*jaco60 quit (Quit: Leaving)
22:32:11*Demon_Fox quit (Quit: Leaving)
22:34:09*tdc joined #nim
22:44:11*tinAndi joined #nim
22:45:35*pregressive quit ()
23:14:28*Matthias247 quit (Read error: Connection reset by peer)
23:30:39*chrishel_ joined #nim
23:30:39*vonh quit (Read error: Connection reset by peer)
23:30:44*vonh2 joined #nim
23:31:25Varriountcheatfate: The math module does.
23:32:11cheatfatei think we need replace it with something more reliable like random(), but need to check all systems
23:33:22*chrisheller quit (Ping timeout: 252 seconds)
23:34:21*itPuffin|osxB quit (Ping timeout: 244 seconds)
23:36:14cheatfatebut it looks its more complex staff than i thought... random() is present in open/free/net bsd's and my linux also, but linux wants to use random_r in multithreaded environment
23:36:31cheatfatebsd systems doesnt have random_r
23:36:41nchambersdoes bsd have /dev/urandom?
23:38:27cheatfateall my farm (openbsd,freebsd,netbsd,linux) has /dev/urandom
23:38:52nchambersyou can pull from that
23:43:37cheatfateits a system staff, i dont know if it will be goot to pull data from /dev/urandom every time somebody call rand()
23:43:53nchamberseh yeah
23:44:05nchambersmaybe /dev/random and just warn if it starts blocking?
23:44:10cheatfatei even dont know is there c_* staff available to open/read/close
23:54:13*tinAndi quit (Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822])
23:55:39Varriountcheatfate: You know there are other PRNG's in the stdlib.
23:56:02*krux02 quit (Remote host closed the connection)
23:56:47*boopsies is now known as boopsiesisaway
23:57:59cheatfateYeah i think there many, but the problem is that somebody from maintainers must declare/describe what systems we support from what kernel/os versions, and than we can start to search for suitable PRNG
23:59:41cheatfateif somebody starts to build their own game machines and/or casinos i think they are using their own PRNG, and will not use simple random... also crypto staff is always comes with some CPRNGs