| 00:01:34 | EXetoC | there we go | 
| 00:02:08 | reactormonk | dom96, I'm gonna do it if it isn't slower, currently creating benchmarks | 
| 00:02:30 | Araq | reactormonk: it doesn't matter if it's slower or faster | 
| 00:02:41 | Araq | it's not how the rest of the API works | 
| 00:02:41 | EXetoC | but I was trying to have it complete all the tasks at which point it would just exit the program by getting to the last statement. is that possible? | 
| 00:02:51 | reactormonk | Araq, don't worry, I wont' change the API | 
| 00:10:26 | * | pregressive quit (Ping timeout: 256 seconds) | 
| 00:11:33 | * | pregressive joined #nim | 
| 00:14:49 | * | Pisuke quit (Ping timeout: 246 seconds) | 
| 00:17:34 | * | pregress_ joined #nim | 
| 00:17:52 | * | pregressive quit (Read error: Connection reset by peer) | 
| 00:19:52 | EXetoC | I should have just used Future[void] there I think | 
| 00:24:54 | * | dalarmmst quit (Ping timeout: 276 seconds) | 
| 00:26:09 | * | themagician joined #nim | 
| 00:27:45 | * | Pisuke joined #nim | 
| 00:27:58 | * | themagician_d quit (Ping timeout: 264 seconds) | 
| 00:28:19 | EXetoC | working on a novel mongo driver *again*. it's just so much more fun | 
| 00:32:23 | * | vendethiel quit (Ping timeout: 256 seconds) | 
| 00:36:29 | * | thales joined #nim | 
| 00:36:53 | * | thales is now known as Guest72256 | 
| 00:37:35 | * | X67r quit (Quit: leaving) | 
| 00:40:55 | * | pregressive joined #nim | 
| 00:41:12 | * | pregress_ quit (Read error: Connection reset by peer) | 
| 00:45:59 | * | jaco60 quit (Ping timeout: 256 seconds) | 
| 00:47:07 | * | vendethiel joined #nim | 
| 00:47:15 | * | Varriount|Phone quit (Read error: Connection reset by peer) | 
| 00:48:08 | * | Varriount|Phone joined #nim | 
| 00:53:01 | * | wu-lee quit (Ping timeout: 246 seconds) | 
| 00:57:55 | * | no_name quit (Remote host closed the connection) | 
| 00:57:55 | * | devzerp quit (Remote host closed the connection) | 
| 00:59:09 | * | devzerp joined #nim | 
| 00:59:11 | * | no_name joined #nim | 
| 01:04:03 | * | ozra quit (Ping timeout: 246 seconds) | 
| 01:05:32 | * | wu-lee joined #nim | 
| 01:05:52 | * | pregress_ joined #nim | 
| 01:06:15 | * | pregressive quit (Read error: Connection reset by peer) | 
| 01:07:22 | * | apense_ joined #nim | 
| 01:07:56 | * | kashyap_ quit (Ping timeout: 246 seconds) | 
| 01:09:30 | * | apense quit (Ping timeout: 244 seconds) | 
| 01:10:00 | * | JohnS_ quit (Ping timeout: 246 seconds) | 
| 01:13:43 | * | wu-lee quit (Ping timeout: 265 seconds) | 
| 01:14:17 | * | gyeates joined #nim | 
| 01:15:06 | * | Varriount|Phone quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) | 
| 01:15:54 | reactormonk | What to use for benchmarking? | 
| 01:16:43 | reactormonk | well, there's tests/benchmarks/ | 
| 01:19:55 | def- | reactormonk: maybe this and the links at the bottom: https://github.com/def-/nim-benchmarksgame | 
| 01:22:56 | reactormonk | def-, I wanna test my table fetchers, but I'm not sure how to do it in such a manner that the compiler doesn't simply make it a const | 
| 01:23:25 | reactormonk | let's see if volatile works | 
| 01:25:46 | * | wu-lee joined #nim | 
| 01:27:19 | * | gyeates quit (Ping timeout: 246 seconds) | 
| 01:29:43 | * | vendethiel quit (Ping timeout: 252 seconds) | 
| 01:31:24 | * | gyeates joined #nim | 
| 01:32:12 | reactormonk | how exactly does var work in the type system? In proc[T](a: T): T = a, can T be var? In proc[T](a: seq[T]): seq[T] = a, can T be var? | 
| 01:36:25 | reactormonk | I'm currently wondering why https://gist.github.com/5bf2048f53240e0a1d3e won't compile with Error: type mismatch: got (Option[system.int]) but expected 'int' | 
| 01:39:23 | * | vendethiel joined #nim | 
| 01:42:57 | * | tennix joined #nim | 
| 01:43:32 | * | Guest72256 quit (Quit: Leaving) | 
| 02:03:22 | * | vendethiel quit (Ping timeout: 264 seconds) | 
| 02:04:34 | * | vendethiel joined #nim | 
| 02:18:21 | * | gyeates quit (Ping timeout: 256 seconds) | 
| 02:27:37 | * | vasher_ joined #nim | 
| 02:34:15 | * | gyeates joined #nim | 
| 02:51:07 | * | vendethiel quit (Ping timeout: 252 seconds) | 
| 02:58:43 | * | darkf joined #nim | 
| 02:59:48 | * | vendethiel joined #nim | 
| 03:10:41 | * | pregress_ quit (Ping timeout: 265 seconds) | 
| 03:23:00 | * | vendethiel quit (Ping timeout: 276 seconds) | 
| 03:23:26 | * | BitPuffin|osx quit (Ping timeout: 248 seconds) | 
| 03:26:55 | * | elbow joined #nim | 
| 03:28:30 | Varriount | reactormonk: Sounds like the manual needs an 'about var types' section. :3 | 
| 03:30:22 | * | gyeates quit (Ping timeout: 264 seconds) | 
| 03:32:33 | * | vendethiel joined #nim | 
| 03:38:47 | * | johnsoft quit (Ping timeout: 252 seconds) | 
| 03:41:29 | Varriount | Is it possible to try/catch an exception thrown from an iterator in a for loop, and still continue the iterator? | 
| 03:44:17 | * | gyeates joined #nim | 
| 03:46:17 | fowl | I doubt it | 
| 03:46:52 | fowl | for x in iter():  <-- where can you specify except: here | 
| 03:52:25 | * | infinity0 quit (Remote host closed the connection) | 
| 03:56:06 | * | jimmiejohnson48 joined #nim | 
| 03:56:43 | * | jimmiejohnson48 quit (Client Quit) | 
| 04:22:15 | * | dalarmmst joined #nim | 
| 04:26:36 | * | pregressive joined #nim | 
| 04:38:48 | * | vasher_ quit (Quit: Connection closed for inactivity) | 
| 04:41:09 | * | pregressive quit (Remote host closed the connection) | 
| 04:43:41 | * | yuan joined #nim | 
| 04:46:36 | * | yuan quit (Client Quit) | 
| 04:47:12 | * | vendethiel quit (Ping timeout: 255 seconds) | 
| 04:53:29 | * | tennix quit (Remote host closed the connection) | 
| 05:07:31 | fowl | cool https://github.com/andreaferretti/patty | 
| 05:13:42 | reactormonk | fowl, that's some next level awesome | 
| 05:14:35 | reactormonk | even the define statment for the debug code ^^ | 
| 05:31:37 | * | FedeOmoto quit (Quit: Leaving) | 
| 05:35:22 | reactormonk | ok, first try with macros: segfault. | 
| 05:44:41 | reactormonk | https://gist.github.com/59b23beaf9f9468586dc <- could someone help me out with macros? | 
| 05:47:42 | reactormonk | Ah fuck it, I'll try the forums | 
| 05:48:45 | reactormonk | O.o there isn't even an emacs mode for restructured text | 
| 05:50:16 | reactormonk | There's apparently rst-mode, but no package, eh. | 
| 05:51:01 | reactormonk | oh, it's integrated. oops. | 
| 05:52:38 | dtscode | patty seems awesome | 
| 05:53:10 | reactormonk | dtscode, yeah, currently working on a patch to use pure enums instead of suffixes, let's see if I get anywhere | 
| 05:57:37 | * | darithorn joined #nim | 
| 05:58:11 | * | zaquest joined #nim | 
| 06:07:32 | * | johnsoft joined #nim | 
| 06:21:16 | * | johnsoft quit (Ping timeout: 246 seconds) | 
| 06:21:53 | * | johnsoft joined #nim | 
| 06:30:22 | * | Kingsquee quit (Ping timeout: 246 seconds) | 
| 06:30:23 | * | johnsoft quit (Ping timeout: 252 seconds) | 
| 06:31:18 | * | johnsoft joined #nim | 
| 06:35:37 | * | apense_ quit (Ping timeout: 246 seconds) | 
| 06:40:43 | * | gyeates quit (Ping timeout: 256 seconds) | 
| 06:41:43 | * | pregressive joined #nim | 
| 06:44:31 | * | Trustable joined #nim | 
| 06:46:34 | * | pregressive quit (Ping timeout: 264 seconds) | 
| 06:53:37 | * | cornusammonis joined #nim | 
| 06:56:11 | * | infinity0 joined #nim | 
| 06:57:09 | * | cornus_ammonis quit (Ping timeout: 256 seconds) | 
| 07:14:25 | * | jszymanski joined #nim | 
| 07:18:43 | * | bjz joined #nim | 
| 07:19:29 | * | bjz quit (Client Quit) | 
| 07:19:59 | * | bjz joined #nim | 
| 07:21:04 | * | bjz quit (Client Quit) | 
| 07:30:35 | * | bcinman quit (Quit: My Mac has gone to sleep. ZZZzzz…) | 
| 07:34:19 | EXetoC | nim is rad | 
| 07:34:25 | EXetoC | peas out | 
| 07:40:08 | * | EXetoC quit (Ping timeout: 250 seconds) | 
| 07:41:42 | * | Kingsquee joined #nim | 
| 07:58:51 | * | bjz joined #nim | 
| 07:59:13 | * | jaco60 joined #nim | 
| 08:01:43 | * | yglukhov_ joined #nim | 
| 08:01:55 | * | yglukhov_ quit (Client Quit) | 
| 08:04:45 | * | coffeepot joined #nim | 
| 08:08:22 | * | jaco60 quit (Ping timeout: 246 seconds) | 
| 08:09:45 | * | yglukhov joined #nim | 
| 08:18:47 | * | gokr joined #nim | 
| 08:32:50 | * | vendethiel joined #nim | 
| 08:36:24 | * | johnsoft quit (Ping timeout: 264 seconds) | 
| 08:36:38 | * | johnsoft joined #nim | 
| 08:54:58 | * | jszymanski quit (Ping timeout: 264 seconds) | 
| 08:56:39 | * | jszymanski joined #nim | 
| 09:27:09 | * | milosn quit (Quit: leaving) | 
| 09:34:06 | * | xet7 quit (Ping timeout: 250 seconds) | 
| 09:36:58 | * | infinity0 quit (Remote host closed the connection) | 
| 09:39:13 | * | infinity0 joined #nim | 
| 09:49:03 | * | xet7 joined #nim | 
| 10:06:28 | * | magistr joined #nim | 
| 10:09:33 | * | arnetheduck joined #nim | 
| 10:14:11 | gokr | Hey guys | 
| 10:14:49 | fowl | Sup goku | 
| 10:15:04 | gokr | Last 2-3 days of work before... vacation :) | 
| 10:15:22 | gokr | My Ni is completely messed up :) | 
| 10:15:49 | gokr | Messed with it last night, but... I think its going toward a "good place" | 
| 10:16:48 | gokr | Not sure if I mentioned it - but I added the ability for functions (and prims) to decide if the argument is meant to be evaluated before being passed - or not. | 
| 10:17:43 | gokr | It really messed up the code ;) | 
| 10:20:01 | fowl | How | 
| 10:21:53 | gokr | Well... hard to explain. | 
| 10:22:33 | gokr | I have most of the tests green again, but I think my semantics aren't fully well defined. | 
| 10:22:52 | gokr | I need to think it through. | 
| 10:30:42 | def- | Saw a russian nim article today: http://habrahabr.ru/post/261801/ | 
| 10:31:22 | Araq | er why can a banned user still post? | 
| 10:36:26 | * | ozra joined #nim | 
| 10:43:15 | * | pregressive joined #nim | 
| 10:48:06 | * | pregressive quit (Ping timeout: 255 seconds) | 
| 10:54:39 | * | vasher_ joined #nim | 
| 11:07:38 | * | Jesin quit (Quit: Leaving) | 
| 11:17:37 | * | pipeep quit (Remote host closed the connection) | 
| 11:21:47 | * | thales joined #nim | 
| 11:22:11 | * | thales is now known as Guest67556 | 
| 11:22:55 | * | boopsies quit (Ping timeout: 256 seconds) | 
| 11:26:53 | * | johnsoft quit (Ping timeout: 256 seconds) | 
| 11:27:27 | * | johnsoft joined #nim | 
| 11:28:13 | * | maxvi joined #nim | 
| 11:28:36 | maxvi | hi everybody! has Nim lib to work with websockets ? | 
| 11:29:49 | * | aziz joined #nim | 
| 11:32:41 | Araq | maxvi: onionhammer1 has a websockets library on github, I don't think it's in Nimble yet ... :-/ | 
| 11:32:51 | def- | maxvi: this looks like the best shot: https://github.com/onionhammer/onion-nimrod/tree/master/websockets | 
| 11:36:36 | * | boopsies joined #nim | 
| 11:36:54 | * | maxvi left #nim ("ERC Version 5.3 (IRC client for Emacs)") | 
| 11:43:26 | * | EXetoC joined #nim | 
| 11:51:17 | * | Nairobi9_ joined #nim | 
| 11:54:30 | * | Nairobi9_ quit (Client Quit) | 
| 12:01:31 | * | jszymanski quit (Ping timeout: 246 seconds) | 
| 12:06:43 | * | johnsoft quit (Ping timeout: 246 seconds) | 
| 12:06:55 | * | johnsoft joined #nim | 
| 12:21:22 | * | NhanH quit () | 
| 12:21:32 | * | NhanH joined #nim | 
| 12:35:04 | * | pmbauer quit () | 
| 12:35:23 | * | pmbauer joined #nim | 
| 12:45:45 | * | BitPuffin joined #nim | 
| 12:46:36 | * | xet7 quit (Quit: Leaving) | 
| 12:49:35 | * | ChrisMAN quit (Ping timeout: 244 seconds) | 
| 13:02:54 | * | aziz quit (Remote host closed the connection) | 
| 13:09:38 | * | n1ftyn8_ quit () | 
| 13:09:53 | * | n1ftyn8_ joined #nim | 
| 13:11:53 | * | milosn joined #nim | 
| 13:21:06 | * | pregressive joined #nim | 
| 13:23:43 | * | endou___________ quit () | 
| 13:23:56 | * | endou___________ joined #nim | 
| 13:25:51 | * | Demos joined #nim | 
| 13:27:06 | * | ChrisMAN joined #nim | 
| 13:36:32 | * | FedeOmoto joined #nim | 
| 13:38:37 | * | yglukhov quit (Quit: Be back later ...) | 
| 13:40:34 | * | yglukhov joined #nim | 
| 13:45:00 | * | yglukhov quit (Ping timeout: 250 seconds) | 
| 13:50:02 | * | bcinman joined #nim | 
| 13:52:54 | * | gmpreussner|work joined #nim | 
| 14:01:01 | * | Arrrr joined #nim | 
| 14:01:23 | * | jubalh joined #nim | 
| 14:23:06 | * | saml joined #nim | 
| 14:25:35 | * | gyeates joined #nim | 
| 14:26:04 | * | jubalh quit (Quit: Leaving) | 
| 14:26:22 | * | jubalh joined #nim | 
| 14:39:11 | * | elbow quit (Remote host closed the connection) | 
| 14:46:51 | * | xcombelle joined #nim | 
| 14:59:49 | * | CARAM__ quit () | 
| 15:00:02 | * | CARAM__ joined #nim | 
| 15:02:18 | * | jszymanski joined #nim | 
| 15:04:36 | * | gyeates quit (Ping timeout: 255 seconds) | 
| 15:08:07 | * | Demos quit (Read error: Connection reset by peer) | 
| 15:08:43 | * | Demos joined #nim | 
| 15:21:48 | * | gyeates joined #nim | 
| 15:25:33 | * | Nairobi911 joined #nim | 
| 15:27:25 | * | Nairobi911 quit (Client Quit) | 
| 15:40:01 | * | def- quit (Ping timeout: 252 seconds) | 
| 15:40:17 | EXetoC | dom96: do you think it would be useful to have optional timeouts for the socket routines in asyncdispatch? | 
| 15:40:33 | * | jaco60 joined #nim | 
| 15:45:51 | EXetoC | should I just use asyncnet? or I could just roll my own future | 
| 15:51:09 | * | elbow_jason joined #nim | 
| 15:57:29 | * | yglukhov joined #nim | 
| 16:02:20 | * | Demos quit (Remote host closed the connection) | 
| 16:09:38 | * | jubalh quit (Remote host closed the connection) | 
| 16:10:58 | r-ku | quick add that ru article on wikipedia nim article references before they delete it | 
| 16:13:45 | * | johnsoft quit (Ping timeout: 252 seconds) | 
| 16:14:23 | * | johnsoft joined #nim | 
| 16:15:42 | * | jubalh joined #nim | 
| 16:16:21 | * | def- joined #nim | 
| 16:17:21 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | 
| 16:18:48 | * | vasher_ quit (Quit: Connection closed for inactivity) | 
| 16:20:00 | * | gyeates quit (Ping timeout: 256 seconds) | 
| 16:28:47 | * | Demos joined #nim | 
| 16:29:14 | * | darkf quit (Quit: Leaving) | 
| 16:40:30 | Araq | r-ku: got my message? | 
| 16:40:46 | * | Heartmender quit (Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!) | 
| 16:40:53 | * | Heartmender joined #nim | 
| 16:40:57 | * | Heartmender quit (Changing host) | 
| 16:40:57 | * | Heartmender joined #nim | 
| 16:40:57 | * | Heartmender quit (Changing host) | 
| 16:40:57 | * | Heartmender joined #nim | 
| 16:41:05 | r-ku | yes Araq, i think i fixed it on local version but not that it helps much | 
| 16:48:11 | r-ku | Araq: that looks better? https://github.com/r-ku/Nim/blob/coroutines/lib/system/gc_ms.nim#L542 | 
| 16:49:44 | * | gyeates joined #nim | 
| 16:50:42 | * | JStoker quit (*.net *.split) | 
| 16:51:10 | * | JStoker joined #nim | 
| 16:53:12 | * | brson joined #nim | 
| 16:53:25 | dtscode | If I need to represent this unicode character: U+200B , how would I do that in a string? | 
| 16:53:31 | dtscode | \u200B ? | 
| 16:55:05 | * | vasher_ joined #nim | 
| 16:56:55 | r-ku | source file is utf-8, just write unicode character in the string | 
| 16:57:29 | dtscode | well I can't write the character | 
| 16:58:10 | r-ku | in that case i dont know | 
| 16:58:23 | EXetoC | you could copy it from a website | 
| 16:58:50 | dtscode | you can't though. The character I need is the zero width whitespace character. theres literally nothing to copy | 
| 16:58:53 | EXetoC | but I suppose you could treat an integer as a unicode glyph, if you must do that | 
| 16:59:21 | EXetoC | right | 
| 16:59:27 | dtscode | thanks | 
| 16:59:28 | EXetoC | well | 
| 16:59:42 | EXetoC | just chain multiple hex literals | 
| 16:59:45 | EXetoC | that'll work, right? | 
| 17:00:11 | dtscode | Ummm I'm not sure | 
| 17:00:18 | dtscode | I don't even know the hex value | 
| 17:01:07 | * | brson quit (Quit: leaving) | 
| 17:01:13 | EXetoC | 200B would be the hex value | 
| 17:01:18 | dtscode | oh ok | 
| 17:01:22 | dtscode | so just \200b then? | 
| 17:01:31 | * | brson joined #nim | 
| 17:01:32 | * | brson quit (Client Quit) | 
| 17:01:59 | EXetoC | e2808b in utf 8 | 
| 17:02:09 | EXetoC | dtscode: \x20\x0b ? | 
| 17:02:47 | dtscode | oh ok. thanks for helping out a noob :D | 
| 17:03:54 | * | brson joined #nim | 
| 17:04:17 | EXetoC | http://nim-lang.org/docs/manual.html#lexical-analysis-string-literals | 
| 17:04:29 | EXetoC | there we go. I know how to paste now | 
| 17:04:42 | EXetoC | enjoy | 
| 17:04:52 | * | brson quit (Client Quit) | 
| 17:05:16 | dtscode | :D | 
| 17:05:21 | * | brson joined #nim | 
| 17:05:31 | EXetoC | d(:D)|< | 
| 17:15:27 | Arrrr | is a person! | 
| 17:20:19 | Demos | it's probably valid C++ | 
| 17:22:25 | dtscode | you mean perl | 
| 17:24:50 | * | Matthias247 joined #nim | 
| 17:25:24 | dom96 | EXetoC: use sleepAsync | 
| 17:25:35 | * | Guest67556 quit (Ping timeout: 264 seconds) | 
| 17:25:47 | dtscode | yay my modifications to irc.nim are done :D | 
| 17:26:32 | dom96 | TIL Perl has a bless command/keyword/function(?) | 
| 17:27:36 | dtscode | http://stackoverflow.com/questions/11695110/why-is-this-program-valid-i-was-trying-to-create-a-syntax-error | 
| 17:29:10 | dtscode | http://perldoc.perl.org/functions/bless.html | 
| 17:29:11 | dtscode | >This function tells the thingy | 
| 17:29:31 | * | dtscode is now known as dirtyheddwch | 
| 17:30:46 | * | dirtyheddwch is now known as dtscode | 
| 17:31:51 | * | dtscode is now known as PaulMaudib | 
| 17:32:10 | Arrrr | nim must have a 'curse' proc | 
| 17:36:05 | * | PaulMaudib is now known as ErroneousNick | 
| 17:37:05 | * | ErroneousNick is now known as dtscode | 
| 17:38:12 | * | BitPuffin quit (Ping timeout: 264 seconds) | 
| 17:48:23 | * | woflox joined #nim | 
| 17:53:46 | EXetoC | dom96: ok | 
| 17:54:37 | EXetoC | Arrrr: 0.001% chance of code segment mutation? | 
| 17:55:13 | Demos | perl has a very .... unique ... way of supporting OOP | 
| 17:55:30 | Demos | I kinda like it, but then again I rather like perl's attitude as a whole | 
| 17:56:40 | EXetoC | how do you actually define variables that are local to a function? it just seemed really confusing | 
| 17:56:46 | EXetoC | in perl that is | 
| 17:57:09 | reactormonk | Araq, could you read my backlog questions about var? | 
| 17:57:15 | dtscode | super complicated: my $var #local to the function | 
| 17:57:37 | EXetoC | huh | 
| 17:57:47 | dtscode | forgot a ; | 
| 17:58:12 | * | NimBot joined #nim | 
| 17:58:45 | Demos | interestingly local $var is a global | 
| 17:58:52 | Demos | as far as I remember | 
| 17:59:08 | EXetoC | I think that's what confused me | 
| 17:59:28 | Demos | yeah perl is full of stuff like that | 
| 17:59:31 | Demos | it's fun! | 
| 18:04:41 | * | magistr quit (Ping timeout: 256 seconds) | 
| 18:13:05 | * | Arrrr quit (Quit: WeeChat 1.2) | 
| 18:14:58 | * | drewsrem joined #nim | 
| 18:15:25 | * | thaless joined #nim | 
| 18:17:06 | * | elbow_jason quit (Remote host closed the connection) | 
| 18:20:25 | * | X67r joined #nim | 
| 18:23:33 | Araq | reactormonk: no idea what you're asking | 
| 18:24:30 | reactormonk | Araq, is there a way to make a proc that handles both var Table and non-var Table? | 
| 18:25:27 | Araq | no. | 
| 18:25:39 | Araq | you can easily share the impl though as it's done | 
| 18:26:05 | reactormonk | Sure. | 
| 18:26:25 | reactormonk | on another note, http://forum.nim-lang.org/t/1411 | 
| 18:26:54 | * | gyeates quit (Ping timeout: 248 seconds) | 
| 18:29:16 | * | xcombelle quit (Ping timeout: 246 seconds) | 
| 18:39:54 | * | gyeates joined #nim | 
| 18:42:32 | Araq | use : untyped instead of : stmt | 
| 19:02:38 | * | lokulin quit (Ping timeout: 248 seconds) | 
| 19:08:48 | * | vasher_ quit (Quit: Connection closed for inactivity) | 
| 19:10:36 | * | xcombelle joined #nim | 
| 19:12:08 | * | shodan45 joined #nim | 
| 19:13:00 | * | lokulin joined #nim | 
| 19:27:25 | * | thaless quit (Ping timeout: 244 seconds) | 
| 19:34:16 | * | gokr quit (Read error: Connection reset by peer) | 
| 19:34:23 | * | gokr joined #nim | 
| 19:35:03 | dtscode | how come the stdlib has no split with a max split? | 
| 19:35:39 | Araq | there was a patch for that and I rejected it | 
| 19:35:47 | dtscode | why? | 
| 19:35:51 | Araq | saw no point in it. | 
| 19:36:23 | dtscode | it can have uses | 
| 19:36:34 | Araq | split is a poor man's parser anyway, "split with max" even moreso | 
| 19:37:12 | dtscode | of course its a poor man parser, but by that logic sockets is a poor mans network lib | 
| 19:37:41 | dtscode | eh I guess I'll just run a modded stdlib | 
| 19:38:28 | Araq | or use parseutils | 
| 19:38:38 | Araq | which is for parsing stuff | 
| 19:39:04 | dtscode | why would I need a full on parser when I just need a seq with 3 elements split on the first 3 ws's | 
| 19:39:50 | Araq | why would the first 3 be separated by whitespace and not the rest? | 
| 19:40:26 | dtscode | If I were writing a rudimentary ircd, and the command type was PRIVMSG, I would only need PRIVMSG, CHANNEL, and :MSG | 
| 19:40:37 | dtscode | it would be pointless to split :MSG | 
| 19:41:44 | Araq | well I can see that it would come in handy for your situation but I still don't see the point of a split with max. | 
| 19:42:00 | dtscode | or I'm reading from a file, and each line contains POINT POINT LINE, and I need to put LINE at (POINT,POINT) but not parse the rest of the line | 
| 19:42:10 | Araq | what if it's the last 3 items you're interested in? | 
| 19:42:32 | dtscode | then you would split the whole line | 
| 19:42:33 | Araq | do you then want a "split with min"? a "split with range"? | 
| 19:42:39 | dtscode | no | 
| 19:42:49 | EXetoC | -3 :p | 
| 19:42:59 | fowl | dtscode thats not right for irc anyways | 
| 19:43:17 | dtscode | its just an example fowl | 
| 19:43:20 | fowl | You only need to search for ' :' to find the last arg | 
| 19:43:42 | dom96 | using split() is not maintainable | 
| 19:44:02 | dom96 | just look at the way the irc module does parsing | 
| 19:46:10 | EXetoC | don't you want to use that? there are some conveniences missing though but it's easy to patch | 
| 19:50:36 | * | apense joined #nim | 
| 19:50:49 | apense | can compiler procs be generic? | 
| 19:51:14 | apense | asking to see if `nimDestroyRange[T]` can have the export marker removed | 
| 19:57:32 | Araq | apense: no, they cannot | 
| 19:57:46 | Araq | but nimDestroyRange will be obsolete eventually anyway | 
| 20:01:52 | dtscode | so dom96 if I understand the irc module correctly with [email protected] dtscode becomes the user and dtscode.io becomes the host? | 
| 20:11:53 | * | filcuc joined #nim | 
| 20:16:40 | * | filcuc quit (Read error: No route to host) | 
| 20:16:56 | * | filcuc joined #nim | 
| 20:21:04 | * | gokr quit (Quit: Leaving.) | 
| 20:29:11 | * | gyeates quit (Ping timeout: 256 seconds) | 
| 20:32:39 | dom96 | dtscode: yes | 
| 20:32:54 | dom96 | you can just test it, just pass some string to parseMessage or whatever it's called | 
| 20:34:23 | * | vasher_ joined #nim | 
| 20:39:23 | * | def- quit (Ping timeout: 264 seconds) | 
| 20:53:56 | dtscode | eh fair enough | 
| 20:55:11 | * | yglukhov quit (Quit: Be back later ...) | 
| 20:55:52 | * | yglukhov joined #nim | 
| 20:57:08 | * | yglukhov_ joined #nim | 
| 20:57:08 | * | yglukhov quit (Read error: Connection reset by peer) | 
| 20:58:13 | * | gokr joined #nim | 
| 21:01:22 | * | yglukhov_ quit (Ping timeout: 250 seconds) | 
| 21:03:46 | * | xcombelle quit (Quit: Leaving) | 
| 21:09:48 | * | FedeOmoto quit (Quit: Leaving) | 
| 21:10:11 | * | jszymanski quit (Quit: computer sleeps...) | 
| 21:14:40 | * | def- joined #nim | 
| 21:22:02 | * | jubalh quit (Remote host closed the connection) | 
| 21:24:25 | * | Matthias247 quit (Read error: Connection reset by peer) | 
| 21:27:16 | * | Demos quit (Remote host closed the connection) | 
| 21:27:28 | * | zemm joined #nim | 
| 21:38:08 | * | Trustable quit (Remote host closed the connection) | 
| 21:52:38 | * | dom96_ joined #nim | 
| 21:58:29 | * | jefus is now known as nohead_Jefus | 
| 21:59:26 | * | filcuc quit (Ping timeout: 250 seconds) | 
| 22:00:34 | * | gyeates joined #nim | 
| 22:02:46 | * | nohead_Jefus is now known as Jefus | 
| 22:03:04 | * | elbow_jason joined #nim | 
| 22:06:51 | * | woflox quit (Ping timeout: 246 seconds) | 
| 22:30:04 | * | milosn quit (Read error: Connection reset by peer) | 
| 22:33:57 | * | wirbi joined #nim | 
| 22:34:26 | wirbi | Hello! | 
| 22:34:38 | dom96_ | Hi wirbi | 
| 22:34:50 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) | 
| 22:35:30 | * | milosn joined #nim | 
| 22:35:37 | wirbi | Is there somebody russian speaking? | 
| 22:36:02 | wirbi | I need consult but my english is very bad. | 
| 22:37:30 | dom96_ | It doesn't sound too bad :) | 
| 22:37:41 | dom96_ | I can't speak Russian at all :( | 
| 22:37:50 | dom96_ | Maybe Google Translate could help? | 
| 22:38:04 | wirbi | So, sorry, I'll try in english. :) | 
| 22:39:26 | wirbi | Need I use pastebin for the code or copy it right here? | 
| 22:39:34 | dom96_ | use pastebin | 
| 22:39:44 | dom96_ | or better gist | 
| 22:39:49 | dom96_ | (it supports Nim) | 
| 22:41:22 | * | gyeates quit (Ping timeout: 256 seconds) | 
| 22:42:40 | * | dom96_ quit (Quit: Page closed) | 
| 22:43:19 | wirbi | https://gist.github.com/wirbi7/3ada37c12ddac52fcc0a | 
| 22:44:46 | dom96 | You can't do this: https://gist.github.com/wirbi7/3ada37c12ddac52fcc0a#file-gistfile1-nim-L28 | 
| 22:44:58 | wirbi | But then I try to compile it, I receive error: Error: value of type 'proc (ws: WebSocket): Future[system.string]{.gcsafe, locks: <unknown>.}' has to be discarded | 
| 22:46:12 | wirbi | Yes, I have error exactly in this line | 
| 22:46:31 | dom96 | https://gist.github.com/dom96/721f126bc75c2979ca50 | 
| 22:46:33 | dom96 | This might work | 
| 22:47:28 | dom96 | You should make your callbacks return a Future[void] btw | 
| 22:47:33 | dom96 | So that you can 'await' them :) | 
| 22:48:03 | dom96 | oh, your WebSocketRecvClosure already does that. | 
| 22:48:21 | * | gyeates joined #nim | 
| 22:48:49 | * | vasher_ quit (Quit: Connection closed for inactivity) | 
| 22:50:35 | dom96 | wirbi: hrm. I get C code gen error when I try to compile the code I gave you... | 
| 22:50:40 | dom96 | looks like a Nim bug | 
| 22:51:10 | dom96 | I shall report it | 
| 22:54:32 | dom96 | Adding {.closure.} to line 6 compiles though: https://gist.github.com/dom96/721f126bc75c2979ca50 | 
| 22:54:38 | dom96 | Good night! | 
| 22:56:00 | wirbi | dom96: Oh... Thanka lot! | 
| 22:56:06 | wirbi | dom96: Oh... Thank a lot! | 
| 22:57:11 | wirbi | Good night! | 
| 22:57:38 | * | wirbi quit (Quit: Page closed) | 
| 22:58:15 | * | Demos joined #nim | 
| 23:02:45 | * | Demos quit (Ping timeout: 256 seconds) | 
| 23:14:47 | * | elbow_jason quit (Remote host closed the connection) | 
| 23:18:31 | * | Kingsquee quit (Quit: Konversation terminated!) | 
| 23:35:10 | * | strcmp1 quit (Ping timeout: 246 seconds) | 
| 23:42:25 | * | dalarmmst quit (Ping timeout: 256 seconds) | 
| 23:43:03 | * | bcinman quit (Quit: Textual IRC Client: www.textualapp.com) | 
| 23:47:19 | * | gyeates quit (Ping timeout: 252 seconds) | 
| 23:50:01 | * | X67r quit (Quit: leaving) |