<< 27-08-2015 >>

00:00:44*^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:06:02*xificurC quit (Ping timeout: 246 seconds)
00:18:48*nimjoe quit (Quit: Page closed)
00:19:03*pregress_ quit (Remote host closed the connection)
00:20:49*pregressive joined #nim
00:43:40*jaco60 quit (Ping timeout: 244 seconds)
01:14:07*zeph_ is now known as zeph
01:46:10*brson quit (Remote host closed the connection)
01:59:09*pregressive quit (Remote host closed the connection)
02:00:12*strcmp1 quit (Quit: Leaving)
02:12:58*filwit quit (Quit: Leaving)
02:19:22*brson joined #nim
02:20:40*NimBot joined #nim
02:21:15*CryptoToad quit (Ping timeout: 245 seconds)
02:37:13*NimBot joined #nim
02:57:49*Kingsquee joined #nim
03:15:52*brson quit (Quit: leaving)
03:21:13*kilon joined #nim
03:24:16*gsingh93_ quit (Quit: Connection closed for inactivity)
03:38:49*NimBot joined #nim
03:47:42*kilon quit (Remote host closed the connection)
04:34:20*darkf joined #nim
04:58:55*FedeOmoto quit (Quit: Leaving)
05:02:11*Demon_Fox quit (Quit: Leaving)
05:12:48*darkf_ joined #nim
05:16:28*darkf quit (Ping timeout: 244 seconds)
05:34:49*endragor joined #nim
05:41:43baabelfishCan I get a list of all identifiers in a file with nimsuggest? Would be helpful with an outline plugin
05:53:32*Matthias247 joined #nim
06:08:27*darkf_ is now known as darkf
06:09:45*Matthias247 quit (Read error: Connection reset by peer)
06:28:25*yglukhov joined #nim
06:38:59*yglukhov quit (Remote host closed the connection)
06:59:02*xificurC joined #nim
07:04:11*jszymanski joined #nim
07:17:28*Trustable joined #nim
07:18:24*BitPuffin|osx quit (Ping timeout: 264 seconds)
07:43:46*yglukhov joined #nim
07:48:54*dalarmmst joined #nim
08:08:17*coffeepot joined #nim
08:32:33*dtscode is now known as nchambers
08:32:41*nchambers is now known as dtscode
08:51:31*^aurora^ joined #nim
08:53:45*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
08:54:38*coffeepot joined #nim
09:05:28ekarlsohmmms, what does stack smashing mean ?
09:12:09*dalarmmst quit (Ping timeout: 265 seconds)
09:16:56coffeepotekarlso: causing a deliberate stack buffer overflow according to google :)
09:18:11*gokr joined #nim
09:19:22*Kingsquee quit (Read error: Connection reset by peer)
09:19:31*Kingsquee joined #nim
09:21:37ekarlsocoffeepot: ;P
09:22:04coffeepothey, I learned something too!
09:22:07coffeepot:D
09:22:23ekarlsowhat's the way to return an object or nil if something wasn't found ?
09:22:27coffeepotI even managed to resist making a hulk joke
09:23:01baabelfishekarlso: value type can't be null
09:23:09coffeepotif your object is a ref you can just set it to nil
09:23:28ekarlsohmmm
09:23:47ekarlsotrying to figure out how a iterator next() can do something other then return a object..
09:24:22ekarlsoraise an exception if there isn't any next ?
09:25:04baabelfishekarlso: just let it run out
09:25:58baabelfishand the term/keyword is yield, not return
09:26:20baabelfishekarlso: https://nim-by-example.github.io/for_iterators/
09:26:22ekarlsobaabelfish: yeah, but if next() doesn't have a next then ?
09:26:42baabelfishekarlso: do nothing
09:26:58coffeepotdrop out of bottom of iterator isn't it?
09:27:12ekarlsobaabelfish: how do you signal from next() that it didn't find anything then ?
09:28:25baabelfishwhat are you trying to do?
09:28:57baabelfishread the manual and tutorials about nim iterators
09:31:04*vegansk joined #nim
09:34:38*Ven joined #nim
09:53:25*^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:58:08*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:05:46*irrequietus joined #nim
10:12:01*yglukhov_ joined #nim
10:14:50*yglukhov quit (Ping timeout: 240 seconds)
10:15:04*Ven joined #nim
10:17:11*jaco60 joined #nim
10:27:05*Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png)
10:39:46ekarlsohmm
10:39:54ekarlsohow can I round up to a closest 512 ?
10:46:27*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:50:58monty5811512*ceil(i/512)
10:51:17*filcuc joined #nim
10:57:29*Jehan_ joined #nim
11:05:25*Ven joined #nim
11:05:44*yglukhov_ quit (Remote host closed the connection)
11:06:21*yglukhov joined #nim
11:08:19*Ven quit (Client Quit)
11:10:28*BitPuffin joined #nim
11:10:54ekarlsolet size = (ret.size + 511) & !(512 - 1); < I mean something like that monty5811
11:13:10ekarlsoapparantly
11:13:21ekarlso(size + 511) and not (512 - 1)
11:13:23ekarlso:P
11:16:03*raza joined #nim
11:16:35*jszymanski quit (Quit: computer sleeps...)
11:22:47*Ven joined #nim
11:47:34*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:51:50*irrequietus quit ()
11:59:18*Ven joined #nim
12:05:55*kilon joined #nim
12:06:36*vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше))
12:12:49*raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
12:13:06*thotypous joined #nim
12:16:00*strcmp1 joined #nim
12:16:02*raza joined #nim
12:17:49*^aurora^ joined #nim
12:21:17*kilon quit (Remote host closed the connection)
12:28:13*kilon joined #nim
12:28:34*irrequietus joined #nim
12:45:20*dalarmmst joined #nim
13:00:18*boopisaway is now known as boop
13:06:15*dalarmmst quit (Ping timeout: 255 seconds)
13:08:04*kilon quit (Remote host closed the connection)
13:11:24*endragor quit (Ping timeout: 265 seconds)
13:18:27*^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:43:34*gokr quit (Ping timeout: 260 seconds)
13:46:55*gokr joined #nim
13:55:16*Jehan_ quit (Quit: Leaving)
14:09:34*jszymanski joined #nim
14:13:04*FedeOmoto joined #nim
14:25:36*bendiken joined #nim
14:31:40*brson joined #nim
14:40:15*key_ quit (Read error: Connection reset by peer)
14:41:15*pregressive joined #nim
14:43:18*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:45:55*irrequietus quit ()
14:49:56*jszymanski quit (Quit: computer sleeps...)
14:59:51*Ven joined #nim
15:00:00*UberLambda joined #nim
15:01:32*leru joined #nim
15:08:54*pregressive quit (Read error: Connection reset by peer)
15:09:20*pregressive joined #nim
15:20:25*xet7 joined #nim
15:22:24*Guest40687 is now known as taotetek
15:22:50*NimBot joined #nim
15:22:53*taotetek is now known as Guest88902
15:24:19*leru quit (Quit: Nettalk6 - www.ntalk.de)
15:28:31*grumbly joined #nim
15:31:06grumblyWhere can I find out which parts of nim rely on the gc? (it appears seq relies on the gc, failing when adding more than 512 items)
15:32:05grumblyThis is with --gc:none
15:43:44*key_ joined #nim
15:54:21*gokr1 joined #nim
15:54:47*gokr quit (Read error: Connection reset by peer)
16:03:15federico3dom96: shall we try to add a Sender field to the outgoing emails without testing it locally before gokr1 goes postal?
16:20:52*UberLambda quit (Ping timeout: 265 seconds)
16:21:34*endragor joined #nim
16:27:31*dom96_ joined #nim
16:28:47*endragor quit (Remote host closed the connection)
16:28:59dom96_federico3: go for it
16:34:58*NimBot joined #nim
16:35:10*grumbly quit (Quit: Page closed)
16:37:46*yglukhov quit (Ping timeout: 260 seconds)
16:39:34*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:47:06*boop is now known as boopisaway
16:47:13*boopisaway is now known as boop
17:01:39*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:02:03*dom96_ quit (Ping timeout: 246 seconds)
17:09:45*NimBot joined #nim
17:13:55*yglukhov joined #nim
17:26:38*CryptoToad joined #nim
17:31:56*unclechu joined #nim
17:34:55*darkf quit (Quit: Leaving)
18:09:40*raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
18:12:36*kilon joined #nim
18:17:34*kilon quit (Ping timeout: 250 seconds)
18:19:52*X67r joined #nim
18:21:31*unclechu quit (Ping timeout: 246 seconds)
18:21:41*pregressive quit (Remote host closed the connection)
18:22:53*Demon_Fox joined #nim
18:24:10*unclechu joined #nim
18:26:58*pregressive joined #nim
18:39:02*jszymanski joined #nim
18:40:44*BitPuffin quit (Remote host closed the connection)
18:41:37*Jesin quit (Quit: Leaving)
18:49:23*Jesin joined #nim
18:59:29*UberLambda joined #nim
19:04:11*yglukhov quit (Remote host closed the connection)
19:05:31*Demon_Fox quit (Quit: Leaving)
19:06:03*Demon_Fox joined #nim
19:13:43*kilon joined #nim
19:14:39*Ven joined #nim
19:18:05*kilon quit (Ping timeout: 240 seconds)
19:24:21*Moix joined #nim
19:24:28MoixHello?
19:24:40Xehi
19:25:11*yglukhov joined #nim
19:26:12MoixHow I can use "redis.sendCommand(string, string)"?
19:28:03Moixcompiled gives me: "Error: undeclared identifier: 'sendCommand'"
19:28:47Xeyou can't
19:29:04Xethere are procedures defined for all the redis commands
19:30:37Moixhttps://github.com/nim-lang/Nim/blob/master/lib/pure/redis.nim#L242
19:30:57Xeit's not an exported procedure
19:31:21Xethere's not a "*" between its name and the opening paren
19:31:38Moixprocedure EVAL no exists :)
19:32:06*xet7_ quit (Read error: Connection reset by peer)
19:32:11Xethen https://github.com/nim-lang/Nim/issues/new
19:32:19Xeopen a ticket there
19:32:57*xet7_ joined #nim
19:42:55*Matthias247 joined #nim
19:45:20*filcuc quit (Quit: Konversation terminated!)
19:59:14dom96Moix: What are you trying to do?
19:59:19dom96Why do you need the sendCommand proc?
20:03:10*gsingh93_ joined #nim
20:03:16*gsingh93_ quit (Client Quit)
20:05:39*yglukhov quit (Remote host closed the connection)
20:09:33*jszymanski quit (Quit: computer sleeps...)
20:11:53*enquora joined #nim
20:15:16*kilon joined #nim
20:19:01*kilon quit (Ping timeout: 250 seconds)
20:28:42*kilon joined #nim
20:33:06*kilon quit (Ping timeout: 255 seconds)
20:33:46*kilon joined #nim
20:39:12gokr1federico3: Ehm... I think I mentioned the correct header to use.
20:39:52gokr1federico3: "Resent-From:"
20:40:03gokr1I have already checked that checkbox, so please add it.
20:40:20*Trustable quit (Remote host closed the connection)
20:40:38gokr1And then you subscribe say "[email protected]" and... you probably want to disable ECHO on that user.
20:42:31federico3gokr1: https://stackoverflow.com/questions/4367358/whats-the-difference-between-sender-from-and-return-path
20:42:58federico3gokr1: isn't Sender the right one?
20:43:01federico3https://tools.ietf.org/html/rfc2076
20:43:15gokr1I am just saying what I have configured on freelists.org.
20:43:53federico3oh, can you explicitely configure filtering on headers? :)
20:44:05gokr1No, but there is such an explicit setting.
20:44:23gokr1See http://www.ecartis.net/variables.html - deny-822-bounce
20:45:21federico3I'm being blocked by Nim's SMTP module apparently not being compatible with Python smtpd
20:46:19federico3https://mailtrap.io interesting
20:49:26*Demos joined #nim
20:49:42Demos#define D3D_COMPILE_STANDARD_FILE_INCLUDE ((ID3DInclude*)(UINT_PTR)1)
20:49:58Demosshould I write that in nim as a template or is there a way to get a const of the correct type?
20:55:23*enquora quit (Quit: enquora)
20:57:59*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:20:38*kilon quit (Remote host closed the connection)
21:20:54*unclechu quit (Quit: Leaving.)
21:22:57*UberLambda quit (Quit: GTG)
21:23:08AraqDemos: const foobar = cast[ptr ID2Include](1) works
21:24:50Moixdom96 and Xe I need for this: https://github.com/nim-lang/Nim/issues/3260 :)
21:25:11Demosoh, c2nim ggenerated the UINT_PTR part and that triggered "vm can not cast"
21:25:15Demosspecial case?
21:26:25AraqI hope so, quite sure it's used in quite some wrappers and works
21:26:45*^aurora^ joined #nim
21:30:57*pregressive quit (Remote host closed the connection)
21:38:45*strcmp1 quit (Ping timeout: 250 seconds)
21:39:26*strcmp1 joined #nim
21:40:13*Matthias247 quit (Read error: Connection reset by peer)
21:41:31*Matthias247 joined #nim
21:49:24Demosit does
21:52:15dom96Moix: replied
21:52:21dom96Moix: thank you for reporting
22:07:34*irrequietus joined #nim
22:10:24*BitPuffin|osx joined #nim
22:13:53*gsingh93_ joined #nim
22:17:28*yglukhov joined #nim
22:18:02federico3gokr1, dom96: https://github.com/nim-lang/nimforum/pull/62
22:20:59*Moix quit (Quit: Page closed)
22:21:06*boop is now known as boopisaway
22:22:03*yglukhov quit (Ping timeout: 244 seconds)
22:29:05*xificurC quit (Ping timeout: 240 seconds)
22:47:33*Moix joined #nim
22:51:22*renesac quit (Ping timeout: 272 seconds)
22:55:40*X67r quit (Quit: leaving)
23:04:00*renesac joined #nim
23:08:38*irrequietus quit ()
23:31:18*Matthias247 quit (Read error: Connection reset by peer)
23:41:21*Moix quit (Read error: Connection reset by peer)