<< 03-07-2016 >>

00:00:23*Jesin quit (Quit: Leaving)
00:00:44*afriginelf quit (Ping timeout: 250 seconds)
00:04:18*Jesin joined #nim
00:07:06*rolha joined #nim
00:10:40*Demon_Fox joined #nim
00:12:53*arnetheduck joined #nim
00:41:36*fastrom quit (Quit: Leaving.)
00:42:28*yglukhov quit (Remote host closed the connection)
00:57:50*vendethiel- quit (Ping timeout: 258 seconds)
01:14:31*rolha quit (Ping timeout: 240 seconds)
01:32:21*chemist69 joined #nim
01:35:51*chemist69_ quit (Ping timeout: 264 seconds)
01:42:58*yglukhov joined #nim
01:47:47*yglukhov quit (Ping timeout: 260 seconds)
02:11:00*zds is now known as subsetpark
02:13:15*jefuzz quit (Quit: soundcloud.com/wacastle)
02:16:29*afrigginelf quit (Read error: Connection reset by peer)
02:26:33*ephja quit (Ping timeout: 240 seconds)
02:51:42*vendethiel joined #nim
03:12:57*vendethiel quit (Ping timeout: 246 seconds)
03:37:08*chemist69 quit (Ping timeout: 272 seconds)
03:41:00*chemist69 joined #nim
03:44:56*yglukhov joined #nim
03:49:42*yglukhov quit (Ping timeout: 260 seconds)
04:12:47*vendethiel joined #nim
05:15:48*vendethiel quit (Ping timeout: 246 seconds)
05:42:08*kssreeram joined #nim
05:43:23*kssreeram quit (Client Quit)
05:44:22*chemist69 quit (Ping timeout: 250 seconds)
05:46:56*yglukhov joined #nim
05:51:42*vendethiel joined #nim
05:52:12*yglukhov quit (Ping timeout: 246 seconds)
06:11:15*chemist69 joined #nim
06:14:51*vendethiel quit (Ping timeout: 264 seconds)
07:17:53*kssreeram joined #nim
07:34:18ftsfwhat's the best way to profile a nim program? (on linux)
07:50:11*yglukhov joined #nim
07:54:15ftsf\o/ figured it out using nimprof
07:54:42*yglukhov quit (Ping timeout: 246 seconds)
07:58:17*akamaus joined #nim
08:18:38*GangstaCat quit (Quit: Leaving)
08:26:27*TheLemonMan joined #nim
08:31:28*Guest84502 quit (Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!)
08:35:18*Gonzih quit (Quit: WeeChat 1.5)
08:40:15*Gonzih joined #nim
08:40:30*akamaus quit (Ping timeout: 272 seconds)
08:43:10*nsf quit (Quit: WeeChat 1.5)
08:44:09dom96ephja: in Aporia?
08:48:40Varriountonionhammer: Just pushed a new minor NimLime release.
08:48:44*Matthias247 joined #nim
08:49:55*ephja joined #nim
08:59:36cheatfateVarriount, is it possible to change nim's options for `check.on_save`? like i want to run check with `nim c --os:linux`
09:30:12*Demon_Fox quit (Quit: Leaving)
09:32:57*akamaus joined #nim
09:37:27*EastByte joined #nim
09:52:26*yglukhov joined #nim
09:57:12*yglukhov quit (Ping timeout: 276 seconds)
10:01:45*arnetheduck quit (Ping timeout: 276 seconds)
10:06:42*kssreeram quit (Read error: Connection reset by peer)
10:07:22*kssreeram joined #nim
10:07:25*Arrrr joined #nim
10:07:25*Arrrr quit (Changing host)
10:07:25*Arrrr joined #nim
10:22:46*der-landgraf joined #nim
10:28:08*rolha joined #nim
10:37:43*rolha quit (Ping timeout: 250 seconds)
10:52:53*elrood joined #nim
10:53:45*yglukhov joined #nim
10:58:18*yglukhov quit (Ping timeout: 276 seconds)
11:05:30*yglukhov joined #nim
11:05:47*kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:06:15*brechtm joined #nim
11:07:12*pafmaf joined #nim
11:20:51*brechtm quit (Ping timeout: 264 seconds)
11:27:07*chemist69 quit (Ping timeout: 250 seconds)
11:31:21*zaquest quit (Quit: Leaving)
11:32:14*brechtm joined #nim
11:33:03*zaquest joined #nim
11:34:54*brechtm quit (Remote host closed the connection)
11:35:18*der-landgraf quit (Quit: WeeChat 1.5)
11:35:29*chemist69 joined #nim
11:35:31*brechtm joined #nim
11:38:36*der-landgraf joined #nim
11:49:51*ephja quit ()
11:49:52*Arrrr quit (Ping timeout: 272 seconds)
11:56:38*Arrrr joined #nim
11:56:38*Arrrr quit (Changing host)
11:56:38*Arrrr joined #nim
12:01:14*der-land1 joined #nim
12:02:11*desophos quit (Read error: Connection reset by peer)
12:02:39*der-landgraf quit (Ping timeout: 276 seconds)
12:09:53*fredrik92 joined #nim
12:12:02*brechtm quit ()
12:15:42*Arrrr quit (Read error: Connection reset by peer)
12:24:43*kssreeram joined #nim
12:27:24*kssreeram quit (Read error: No route to host)
12:28:02*kssreeram joined #nim
12:29:19*couven92 joined #nim
12:29:31*fredrik92 quit (Quit: Bye)
12:29:44*couven92 is now known as fredrik92
12:59:52*couven92 joined #nim
13:01:55*PMunch joined #nim
13:02:32*nsf joined #nim
13:07:42*vendethiel joined #nim
13:18:24*fastrom joined #nim
13:21:09*jefuss joined #nim
13:37:23*kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:37:32*der-land1 quit (Ping timeout: 272 seconds)
13:44:09*freezerburnv joined #nim
13:44:09*cheatfate quit (Read error: Connection reset by peer)
13:44:43*freezerburnv quit (Client Quit)
13:49:09*maus joined #nim
13:50:12*cheatfate joined #nim
13:52:30*akamaus quit (Ping timeout: 276 seconds)
14:19:57*TheLemonMan quit (Quit: "It's now safe to turn off your computer.")
14:28:39PMunchftsf, you there?
14:29:01*Gonzih quit (Quit: WeeChat 1.5)
14:32:53ftsfPMunch, yep!
14:33:08PMunchI just implemented the pool thing we were talking about the other day :)
14:33:14ftsfoh cool
14:33:42*Gonzih joined #nim
14:33:49PMunchpastebin.com/X8kezrpN
14:34:03PMunchCurrently using 8 bit masks, but that is easy to change
14:34:21PMunchJust wanted to test their efficiency but that's hard to do without anything that actually needs it :P
14:35:10PMunchpastebin.com/hySXVdi7
14:35:15PMunchThere is a usage example
14:35:24PMunchBut I've got to run now, will be back later
14:35:33ftsfcool, i'll have a play with it, thanks!
14:35:39*PMunch quit (Quit: leaving)
14:36:28*hendi__ joined #nim
14:58:19*hendi__ quit (Ping timeout: 252 seconds)
14:59:43*Matthias247 quit (Read error: Connection reset by peer)
15:05:05*jefuss quit (Ping timeout: 250 seconds)
15:34:14*Heartmender joined #nim
15:34:22*Heartmender is now known as Guest33908
15:34:22*kssreeram joined #nim
15:40:53*Ven joined #nim
15:43:00*Ven quit (Client Quit)
15:44:58*irrequietus joined #nim
15:49:35*Trustable joined #nim
15:55:21*maus quit (Ping timeout: 276 seconds)
15:57:52*perturbation joined #nim
16:00:39*xet7_ joined #nim
16:07:05*vendethiel quit (Quit: q+)
16:09:42*Ven joined #nim
16:17:04*maus joined #nim
16:29:27*TheLemonMan joined #nim
16:31:36cheatfateAraq, hi! i want to remove ioselectors.nim from stdlib
16:45:11*couven92 quit (Ping timeout: 240 seconds)
16:47:47*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:17:59*hendi__ joined #nim
17:18:00dom96cheatfate: why?
17:18:46cheatfatedom96, long story, i have found some errors in it, which i have made because Araq's review :)
17:19:01*couven92 joined #nim
17:19:01dom96so why not fix them with a PR?
17:20:15cheatfatedom96, to find this bug (saving callbacks in shared memory is a big problem) i have started new ioselectors (which i want to separate to many files ioselectors_linux.nim, ioselectors_bsd.nim)
17:21:29cheatfatesomebody need to write somewhere (do not store callbacks in shared memory !!! because you will get bug which very hard to find/understand)
17:22:23cheatfatedom96, i think separated version of ioselectors.nim will be much easier to maintain
17:26:04*couven92 quit (Quit: Bye)
17:26:25*couven92 joined #nim
17:37:24*hendi__ quit (Ping timeout: 276 seconds)
17:45:44*ephja joined #nim
17:45:53*Ven joined #nim
17:45:54*jefuss joined #nim
17:48:49*PMunch joined #nim
17:50:33*cheatfate_ joined #nim
17:50:33*cheatfate quit (Read error: Connection reset by peer)
17:52:05PMunchftsf, hi again :)
18:02:28*cheatfate_ is now known as cheatfate
18:03:28ephjasplitPath 1846/5187 = 35.59%, extractFilename 2206/5187 = 42.53%. output buffers to the rescue?
18:13:47PMunchftsf, you there?
18:27:04*kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…)
18:33:29*GangstaCat joined #nim
18:46:55*xet7 quit (Ping timeout: 244 seconds)
19:01:11*xet7 joined #nim
19:12:16PMunchftsf, still gone?
19:18:12*Matthias247 joined #nim
19:28:13*Matthias247 quit (Read error: Connection timed out)
19:28:27*Matthias247 joined #nim
19:29:40*Guest33908 quit (Ping timeout: 272 seconds)
19:43:08*Guest6116 joined #nim
19:43:34*der-landgraf joined #nim
19:57:47*rolha joined #nim
19:57:56rolhahi everyone
19:58:11PMunchHi
19:58:18rolhasorry for the basic question ... but how do I set specific flags in nimble
19:58:30rolhaI want to pass -d:ssl when doing nimble build
20:02:20*jefuss quit (Ping timeout: 250 seconds)
20:02:50PMunchHmm, not sure to be honest. Haven't tried to do that before
20:03:52fredrik92anyone else besides me have this problem that the PATH exceeds the maximum environment variable length?
20:04:26PMunchThere is a max?
20:04:33fredrik92in Windows there is!
20:04:38ephjarolha: by modifying the cfg I guess
20:04:43ephjaor creating one
20:05:51*rolha quit (Remote host closed the connection)
20:06:33*rolha joined #nim
20:06:41rolhaephja: is that the .nimble cfg?
20:06:56rolhaI've tried to find this on https://github.com/nim-lang/nimble, but could find it
20:07:02rolhaI'll search a bit more, thx!
20:11:41*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:24:35*rolha quit (Quit: Textual IRC Client: www.textualapp.com)
20:51:06ephjarolha: nim.cfg? but the build command accepts flags apparently
20:54:10dom96indeed, .nim.cfg is the way to do it
21:04:40*maus quit (Ping timeout: 272 seconds)
21:10:34*fastrom quit (Quit: Leaving.)
21:12:45*elrood quit (Quit: Leaving)
21:15:58*Trustable quit (Remote host closed the connection)
21:20:59*GangstaCat quit (Quit: Leaving)
21:27:15federico3how to get the output of a thread (launched without using "parallel") ?
21:34:02*desophos joined #nim
21:45:38federico3nobody seems to be using awaitAndThen on GH
21:51:32*chemist69 quit (Ping timeout: 250 seconds)
21:52:50*chemist69 joined #nim
21:58:16fredrik92the system documentation ( http://nim-lang.org/docs/system.html ) lists a bunch of functions that in the documentation are annotated with the magic pragma, what does that one do?
21:58:26fredrik92e.g.
21:58:38fredrik92proc toInt(f: float): int {.magic: "ToInt", noSideEffect, importc: "toInt".}
22:03:06*TheLemonMan quit (Quit: "It's now safe to turn off your computer.")
22:03:38*abruanese quit (Read error: Connection reset by peer)
22:08:04*abruanese joined #nim
22:22:00*pafmaf quit (Ping timeout: 258 seconds)
22:29:05PMunchftsf, still away?
22:31:45dom96PMunch: Why do you want ftsf so much?
22:31:56fredrik92secret lover... :P
22:32:00PMunchHaha
22:32:16PMunchI wrote an implementation of a pool
22:32:27PMunchWhich he asked about some days ago
22:32:34dom96fredrik92: it means the compiler implements the proc.
22:32:55fredrik92ah! Cool! :-)
22:33:36fredrik92so it's a compiler intrinsic, right? Like __sync_test_and_set in gcc?
22:33:47PMunchAnd he said he was going to test it out. So since I'm wondering how it performs I'm waiting for him to come back from wherever he is so he can tell me :)
22:39:03dom96I'm beginning to dislike people not using type sections more than I should http://forum.nim-lang.org/t/2354#14511
22:42:10PMunchI've seen quite a lot of people not using var sections either..
22:42:53dom96Well... I'm alright with that :P
22:49:47PMunchBut not type sections?
22:58:21dom96If the variables are defined in the same place, then sure.
22:58:30dom96But more often than not, they are not.
22:59:05dom96I wouldn't like the idea of moving every var definition to the top of a proc.
23:02:03*fredrik92 quit (Quit: Shutting down...)
23:02:45PMunchOh yeah, I get that
23:03:02PMunchI was talking about those who have three var statements after each other..
23:09:11*Demon_Fox joined #nim
23:11:17*couven92 quit (Quit: Bye)
23:12:49*gdelazzari joined #nim
23:17:42gdelazzariHi, I opened an issue a couple of days ago on Github about getting Nim to run on an embedded system (a STM32 microcontroller) https://github.com/nim-lang/Nim/issues/4437 and they told me to ask here. Is there anyone that can help me? Please read the issue to understand what my problem is. I just can't get Nim to call malloc() when needed
23:20:33gdelazzariIt seems like I have to "port the core of Nim to my device" but I can't understand what this means and how I am supposed to do it
23:23:36*Matthias247 quit (Read error: Connection reset by peer)
23:25:41dom96You may need to wait for Araq to be around :)
23:26:58gdelazzariThank you for responding, do you know when he will probably be online?
23:29:58*arnetheduck joined #nim
23:31:25*yglukhov quit (Remote host closed the connection)
23:37:01*yglukhov joined #nim
23:41:27*yglukhov quit (Ping timeout: 260 seconds)
23:45:36*gdelazzari2 joined #nim
23:46:20*gdelazzari2 quit (Client Quit)
23:46:28*gdelazzari quit (Quit: Page closed)
23:47:02*gdelazzari joined #nim
23:57:51*irrequietus quit ()