00:10:26 | * | Jehan_ joined #nim |
00:10:56 | * | Jehan` quit (Ping timeout: 252 seconds) |
00:16:22 | * | jaco60 quit (Ping timeout: 256 seconds) |
00:17:21 | * | Guest80548 quit (Quit: Leaving) |
00:22:37 | * | thaless joined #nim |
00:27:06 | * | vikaton joined #nim |
00:35:18 | * | Kingsquee quit (Read error: Connection reset by peer) |
00:35:34 | * | Kingsquee joined #nim |
00:40:49 | * | flaviu quit (Ping timeout: 250 seconds) |
00:41:31 | * | BitPuffin|osx quit (Ping timeout: 255 seconds) |
00:43:56 | * | flaviu joined #nim |
00:48:33 | * | flaviu quit (Read error: Connection reset by peer) |
00:48:48 | * | vasher_ quit (Quit: Connection closed for inactivity) |
00:53:33 | * | dddddd quit (Ping timeout: 265 seconds) |
00:53:49 | * | Jehan_ quit (Ping timeout: 250 seconds) |
01:10:17 | * | vendethiel- quit (Ping timeout: 250 seconds) |
01:13:39 | * | vendethiel joined #nim |
01:26:36 | * | vasher_ joined #nim |
01:48:31 | * | thaless quit (Ping timeout: 248 seconds) |
01:49:20 | * | infinity0 quit (Remote host closed the connection) |
01:49:41 | * | infinity0 joined #nim |
01:56:47 | * | vendethiel quit (Ping timeout: 246 seconds) |
02:18:37 | * | vendethiel joined #nim |
02:24:02 | * | rgv151 joined #nim |
02:26:16 | * | FedeOmoto joined #nim |
02:28:45 | * | ozra quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
02:41:38 | * | Demon_Fox quit (Quit: Leaving) |
02:53:43 | * | darkf joined #nim |
03:04:44 | * | vendethiel quit (Ping timeout: 252 seconds) |
03:07:16 | * | vendethiel joined #nim |
03:17:02 | * | BitPuffin|osx joined #nim |
03:23:08 | * | vikaton quit () |
03:30:54 | * | iNode00 joined #nim |
03:32:48 | * | tennix joined #nim |
03:47:33 | * | tennix quit (Quit: Leaving...) |
03:51:19 | * | vendethiel quit (Ping timeout: 276 seconds) |
03:59:06 | * | ggggggg joined #nim |
04:04:08 | * | gyeates quit (Ping timeout: 252 seconds) |
04:08:48 | * | vasher_ quit (Quit: Connection closed for inactivity) |
04:15:04 | * | FedeOmoto quit (Quit: Leaving) |
04:25:22 | * | elliot42 joined #nim |
04:44:05 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
04:49:08 | * | klayd quit (Remote host closed the connection) |
04:51:18 | * | Sembei joined #nim |
04:53:43 | * | Pisuke quit (Ping timeout: 276 seconds) |
04:55:33 | * | mal`` quit (Quit: Leaving) |
05:04:05 | * | mal`` joined #nim |
05:10:41 | * | vendethiel joined #nim |
05:28:08 | * | Jesin quit (Remote host closed the connection) |
05:31:35 | * | johnsoft quit (Ping timeout: 250 seconds) |
05:31:35 | * | elliot42 quit (Read error: Connection reset by peer) |
05:32:04 | * | johnsoft joined #nim |
05:32:43 | * | xificurC quit (Ping timeout: 256 seconds) |
05:35:15 | * | xificurC joined #nim |
06:19:03 | * | strcmp2 quit (Quit: Leaving) |
06:24:28 | * | jszymanski joined #nim |
06:29:25 | * | gyeates joined #nim |
06:30:16 | * | vendethiel quit (Ping timeout: 255 seconds) |
06:30:19 | * | nande quit (Remote host closed the connection) |
06:34:29 | * | dashed joined #nim |
07:07:17 | * | gyeates quit (Ping timeout: 252 seconds) |
07:25:24 | * | jubalh joined #nim |
07:35:44 | * | Kingsquee quit (Read error: Connection reset by peer) |
07:35:59 | * | Kingsquee joined #nim |
07:50:35 | * | Jehan_ joined #nim |
07:52:37 | * | Trustable joined #nim |
07:58:21 | * | phI||Ip quit (Ping timeout: 256 seconds) |
08:00:51 | * | Jehan_ quit (Quit: Leaving) |
08:01:16 | * | xcombelle joined #nim |
08:15:06 | * | coffeepot joined #nim |
08:16:28 | * | yglukhov_ joined #nim |
08:23:55 | Araq | Varriount: the compiler allows it but our docs say this: |
08:23:59 | Araq | ## Builtin 'addr' operator for taking the address of a memory location. |
08:24:00 | Araq | ## Cannot be overloaded. |
08:41:14 | * | gokr quit (Quit: Leaving.) |
08:47:45 | * | apense_ joined #nim |
08:50:26 | * | apense quit (Ping timeout: 246 seconds) |
08:58:21 | * | vendethiel joined #nim |
09:03:37 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
09:05:35 | * | dashed quit (Quit: Connection closed for inactivity) |
09:25:35 | Araq | hrm does any code check for 'when defined(nimrod)' ? |
09:46:49 | * | vasher_ joined #nim |
09:57:18 | * | dv- quit (Ping timeout: 265 seconds) |
09:57:37 | * | dv- joined #nim |
09:58:37 | * | skroll2 quit (Ping timeout: 264 seconds) |
10:22:57 | * | strcmp1 joined #nim |
10:25:16 | * | skroll2 joined #nim |
10:40:15 | OnO | what's the purpose of this check? |
10:42:28 | * | milosn quit (Read error: Connection reset by peer) |
10:47:53 | * | milosn joined #nim |
10:49:36 | * | arnetheduck joined #nim |
10:54:08 | * | jaco60 joined #nim |
11:00:56 | * | coffeepot joined #nim |
11:17:21 | * | dddddd joined #nim |
11:18:31 | * | boopsiesisaway is now known as boopsies |
11:33:06 | Araq | OnO: alternative implementations must not define it |
11:46:19 | * | Kingsquee quit (Quit: Konversation terminated!) |
11:57:03 | * | MatrixBridge quit (Remote host closed the connection) |
11:57:33 | * | MatrixBridge joined #nim |
11:57:50 | * | raza joined #nim |
12:05:05 | * | Demon_Fox joined #nim |
12:28:56 | * | xcombelle quit (Remote host closed the connection) |
12:35:33 | * | iNode00 quit (Quit: iNode00) |
12:55:05 | * | FedeOmoto joined #nim |
13:11:34 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
13:24:15 | * | gyeates joined #nim |
13:24:39 | * | coffeepot joined #nim |
13:38:12 | * | BitPuffin|osx joined #nim |
13:41:22 | * | Demos joined #nim |
13:54:04 | Araq | r-ku: your test case doesn't work |
13:54:24 | Araq | tgenericprocmatcher.nim(13, 16) Error: ambiguous call; both system.new(T: typedesc) and mgenericprocmatcher.new(_: typedesc[T]) match for: (typedesc[FBar]) |
13:57:11 | r-ku | Araq: judging from error i would say fix doesnt work because mgenericprocmatcher.new() is more specific than system.new() |
13:58:26 | Araq | I cannot see how proc new*(_: typedesc): int = 4 can be picked over system.new |
14:00:04 | * | jefus_ joined #nim |
14:00:07 | r-ku | ehm, error does not mention this proc at all |
14:00:40 | Araq | yeah but typedesc[T] vs typedesc is also nothing we need to support IMHO |
14:00:54 | * | vendethiel quit (Ping timeout: 265 seconds) |
14:00:55 | Araq | the test works when I disable the dubious cases 3 and 4 |
14:01:35 | Araq | so that's good enough |
14:01:55 | r-ku | i just pulled from devel, rebuilt compiler using bootstrap.sh and triest that test - works for me |
14:02:22 | r-ku | Nim/tests/generics % nim c -r tgenericprocmatcher.nim; echo $? |
14:02:24 | r-ku | prints 0 |
14:02:29 | r-ku | im not doing something retarded right? |
14:02:33 | Araq | also I'm renaming "tgenericprocmatcher" to something that's useful |
14:02:54 | r-ku | awesome, because i had no clue how to name it |
14:03:13 | Araq | toverloading_basedon_typedesc |
14:03:45 | Araq | well your devel is not my devel |
14:04:03 | Araq | but I haven't changed anything related to typedesc, so it's a bit weird |
14:04:15 | * | jefus quit (Quit: Leaving) |
14:06:05 | r-ku | my devel tracks your devel on github, last commit "Merge pull request #3042 from k2nr/fix-readme-typo" |
14:06:13 | r-ku | so im confused.. |
14:06:31 | Araq | my devel isn't pushed yet |
14:08:45 | r-ku | that makes it your fault then >:) |
14:09:22 | Araq | but I cannot be bothered with this nonsense now. I disabled the dubious tests |
14:09:23 | * | vendethiel joined #nim |
14:10:21 | r-ku | were there any changes around that area? it surely couldnt break on its own |
14:10:48 | Araq | oh hrm |
14:10:51 | Araq | strange |
14:11:06 | Araq | my version of sigmatch doesn't have the typedesc patch at all ? o.O |
14:12:17 | r-ku | so being precise.. "your devel != your devel" |
14:12:38 | * | jefus_ is now known as jefus |
14:28:20 | * | darkf quit (Quit: Leaving) |
14:28:37 | * | gyeates quit (Ping timeout: 264 seconds) |
14:32:28 | * | gyeates joined #nim |
14:36:54 | FedeOmoto | does generics play well with inheritance? |
14:37:00 | FedeOmoto | the following code fails to compile: |
14:37:15 | FedeOmoto | type |
14:37:15 | FedeOmoto | Data[T] = object of RootObj |
14:37:15 | FedeOmoto | value: T |
14:37:15 | FedeOmoto | TypeObj = object of RootObj |
14:37:15 | FedeOmoto | Type = ref TypeObj |
14:37:16 | FedeOmoto | SubTypeObj[T] = object of TypeObj |
14:37:18 | FedeOmoto | data: Data[T] |
14:37:20 | FedeOmoto | SubType[T] = ref SubTypeObj[T] |
14:37:22 | FedeOmoto | SubSubTypeObj[T] = object of SubTypeObj[T] |
14:37:24 | FedeOmoto | SubSubType[T] = ref SubSubTypeObj[T] |
14:37:26 | FedeOmoto | SubSubSubTypeObj[T] = object of SubSubTypeObj[T] |
14:37:28 | FedeOmoto | SubSubSubType[T] = ref SubSubSubTypeObj[T] |
14:37:32 | FedeOmoto | method value[T](t: SubType[T]): T = |
14:37:34 | FedeOmoto | t.data.value |
14:37:36 | FedeOmoto | proc newSubSubSubType[T](data: T): SubSubSubType[T] = |
14:37:38 | FedeOmoto | new(result) |
14:37:40 | FedeOmoto | result.data.value = data |
14:37:42 | FedeOmoto | echo newSubSubSubType(1234).value |
14:39:29 | * | BitPuffin|osx left #nim ("Using Circe, the loveliest of all IRC clients") |
14:41:23 | * | BitPuffin|osx joined #nim |
14:43:27 | r-ku | this is where you provide error message |
14:44:34 | FedeOmoto | hehe |
14:44:36 | FedeOmoto | sorry: |
14:44:37 | FedeOmoto | c.nim(21, 28) Error: type mismatch: got (SubSubSubType[system.int]) |
14:44:38 | FedeOmoto | but expected one of: |
14:44:38 | FedeOmoto | c.value(t: SubType[value.T]) |
14:45:01 | FedeOmoto | I don't understand the "value.T" in the last line |
14:46:05 | FedeOmoto | on the other hand, if I change the method signature to: |
14:46:06 | FedeOmoto | method value(t: SubType[int]): int |
14:46:11 | FedeOmoto | it works OK |
14:46:37 | Araq | FedeOmoto: no, they do not. |
14:47:03 | FedeOmoto | Araq: ouch... |
14:47:09 | Araq | and even we fix the bugs and implement the missing type relations they won't work well. |
14:48:26 | FedeOmoto | so, based on your answer I can't expect them to work on the short term, right? |
14:49:07 | Araq | ozra was working on the generic subtyping relation and gave up. ;-) |
14:49:31 | FedeOmoto | I was doing a massive refactoring on my code while I found this, now I've to "fall back" to my ugly but working implementation :( |
14:49:58 | Araq | well |
14:50:32 | Araq | if your refactoring leads to SubSubSubType ... |
14:50:52 | Araq | maybe your refactoring isn't that good. |
14:51:20 | * | pregressive joined #nim |
14:51:59 | FedeOmoto | that was just an example to illustrate the problem |
14:51:59 | * | pregressive quit (Read error: Connection reset by peer) |
14:52:12 | * | pregressive joined #nim |
14:52:56 | Araq | https://github.com/nim-lang/Nim/issues/88 |
14:54:24 | Araq | that said, I don't remember why it's hard to do |
14:54:36 | * | vendethiel quit (Ping timeout: 252 seconds) |
14:55:10 | FedeOmoto | thx Araq |
14:57:37 | * | rgv151` joined #nim |
15:00:07 | FedeOmoto | Araq: maybe you should set up a challenge for this one like you did for the dlopen/TLS issue :P |
15:00:57 | Araq | hrm yeah, that worked surprisingly well |
15:02:31 | FedeOmoto | haha |
15:08:48 | * | vasher_ quit (Quit: Connection closed for inactivity) |
15:10:49 | fowl | Does nim have websockets? |
15:11:19 | Araq | fowl: onionhammer has a websockets module iirc |
15:13:46 | fowl | Thanks found it |
15:13:47 | * | jubalh quit (Quit: Leaving) |
15:14:51 | fowl | This still uses asyncio :( |
15:17:39 | Araq | "still"? |
15:20:15 | fowl | Yes |
15:20:39 | fowl | If i want to use it with jester i have to juggle async libs |
15:20:41 | federico3 | it it deprecated already? |
15:22:00 | * | vasher_ joined #nim |
15:22:55 | Araq | I'm sure dom96 will happily port it over to jester |
15:23:32 | * | silven quit (Ping timeout: 246 seconds) |
15:24:02 | * | silven joined #nim |
15:24:05 | federico3 | strcmp1: ping? |
15:24:26 | federico3 | dom96: when are you going to get a pint in Dublin with strcmp1 and me? |
15:25:52 | * | zaquest quit (Quit: Leaving) |
15:47:57 | * | zaquest joined #nim |
15:50:14 | * | dalarmmst quit (Ping timeout: 256 seconds) |
15:50:21 | * | Matthias247 joined #nim |
15:50:34 | * | dalarmmst joined #nim |
15:58:32 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:01:39 | * | yglukhov_ quit (Ping timeout: 250 seconds) |
16:12:54 | OnO | how do I bootstrap Nim that has some new Magic introduced? I get UnknownMagic on 2nd pass (after compiling C source) |
16:16:27 | r-ku | OnO: new magic cant appear in stdlib then building new compiler version |
16:16:51 | r-ku | dirty bandaid could be commenting it out when building new version |
16:22:39 | * | Demos quit (Remote host closed the connection) |
16:22:50 | * | askatasuna joined #nim |
16:23:39 | * | xcombelle joined #nim |
16:25:06 | * | vendethiel joined #nim |
16:27:38 | * | S_Walker quit (Ping timeout: 256 seconds) |
16:31:22 | OnO | okay, but what's the standard workflow, do we need to generate new csources any time new magic is introduced? |
16:38:46 | r-ku | OnO: that i dont know, just telling you what i figured out on my own |
16:46:12 | * | Demos joined #nim |
16:50:06 | strcmp1 | federico3, pong |
16:57:51 | Demos | OnO: I usually step back in the git history till I have a version I can build |
16:57:53 | Demos | and report the bug |
16:58:07 | Demos | sometimes bootstrap does break unfortunately |
17:01:24 | OnO | oh well... I'd need to report bug to myself, since it is me who introduces new Magic, but I wanted ask what's the workflow :P |
17:03:12 | * | Demos_ joined #nim |
17:05:41 | * | Demos quit (Ping timeout: 252 seconds) |
17:07:01 | federico3 | hey strcmp1 |
17:10:07 | * | vendethiel quit (Ping timeout: 248 seconds) |
17:11:01 | * | rgv151` quit (Quit: rcirc on GNU Emacs 24.5.1) |
17:28:43 | * | yglukhov_ joined #nim |
17:31:21 | Araq | OnO: the workflow is to put it into a 'when not defined(booting)' |
17:34:19 | * | Jehan_ joined #nim |
17:36:25 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
17:37:16 | * | vendethiel joined #nim |
17:45:10 | * | Demos_ quit (Remote host closed the connection) |
17:47:22 | * | Demos joined #nim |
17:49:19 | * | elbow_jason joined #nim |
18:06:05 | * | BitPuffin joined #nim |
18:08:21 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
18:16:26 | * | gyeates quit (Ping timeout: 246 seconds) |
18:16:41 | * | Demos quit (Remote host closed the connection) |
18:17:05 | * | Matthias247 quit (Read error: Connection reset by peer) |
18:25:36 | * | Learath2 joined #nim |
18:27:21 | * | Demos joined #nim |
18:31:38 | * | gyeates joined #nim |
18:35:11 | Learath2 | Is there anyway I can divide an int64 in nim ? |
18:38:18 | * | Ven joined #nim |
18:38:26 | Demos | try the div operator |
18:38:35 | Demos | like 4 div 3 |
18:45:14 | Learath2 | works fine with ints not int64s |
18:47:56 | Araq | 3'i64 div 4'i64 works for me |
18:51:05 | Learath2 | https://gist.github.com/0e5f830d0f2a6f6f9727 this is what I was trying gets me test.nim(3, 15) Error: type mismatch: got (int64, int64) |
18:51:45 | Learath2 | oh nvm me the editor just wouldnt save .... |
18:51:48 | Learath2 | div indeed works |
18:53:42 | * | milosn quit (Ping timeout: 264 seconds) |
19:09:11 | * | Jesin joined #nim |
19:22:01 | * | Jehan_ quit (Quit: Leaving) |
19:23:34 | * | Varriount|Mobile joined #nim |
19:25:09 | Varriount|Mobile | Araq: Should 'addr' be overloadable (eg, used as the identifier for a procedure)? |
19:25:29 | Araq | Varriount|Mobile: as I said, the docs say it's not overloadable |
19:26:18 | Varriount|Mobile | Oh. Hm. |
19:26:23 | reactormonk | dom96, soooo you want checked exceptions? |
19:27:03 | Varriount|Mobile | reactormonk: Don't you dare. |
19:27:23 | Varriount|Mobile | We've all seen the mess Java made of checked exceptions. |
19:27:24 | reactormonk | Varriount|Mobile, well, he wanted exceptions in doc and make sure that they're in there :-) |
19:27:47 | reactormonk | Maybe I'm painting the issue overly dramatic |
19:28:04 | Demos | we have something like checked exceptions |
19:28:08 | Demos | they are just opt-in |
19:28:24 | Demos | lets not add some kind of special exception type though |
19:30:19 | dom96 | reactormonk: we already have checked exceptions |
19:30:26 | dom96 | just sane ones |
19:30:30 | dom96 | not shitty java ones |
19:31:18 | dom96 | If you explicitly say "{.raises: BlahError.}" I would like the docgen to tell you "Please document this error, including the scenario in which it gets raised." |
19:31:35 | dom96 | or at least have a warning |
19:33:07 | Araq | if you explicitly say this the compiler including doc2 does check it for you |
19:33:25 | Araq | no idea why you want the same but only in the doc comments |
19:37:04 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
19:39:13 | dom96 | because I want explanations of when the exception gets raised |
19:42:43 | * | Varriount|Mobile quit (Ping timeout: 246 seconds) |
19:47:39 | Araq | and how can the doc generator help with that? |
20:00:26 | * | dtscode is now known as \ |
20:00:37 | * | \ is now known as dtscode |
20:02:27 | * | shodan45 joined #nim |
20:07:12 | * | Varriount|Mobile joined #nim |
20:08:38 | * | jszymanski quit (Ping timeout: 256 seconds) |
20:08:42 | Varriount|Mobile | Araq: For Windows, the equivalant 'readlink' procedure (GetFinalPathNameByHandle) returns a path with the \\?\ notation. Should that be removed? |
20:09:51 | Araq | no |
20:10:06 | Araq | implement it with as few lines as possible |
20:10:56 | reactormonk | Is that still a valid path? |
20:11:08 | Varriount|Mobile | reactormonk: On windows, yes. |
20:11:12 | reactormonk | ok |
20:12:05 | * | Matthias247 joined #nim |
20:12:17 | Varriount|Mobile | reactormonk: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx |
20:12:24 | Varriount|Mobile | Search for '\\?\' |
20:13:16 | * | ^aurora^ joined #nim |
20:21:35 | * | yglukhov_ quit (Quit: Be back later ...) |
20:27:10 | * | Varriount|Mobile quit (Ping timeout: 246 seconds) |
20:29:01 | * | enquora joined #nim |
20:29:02 | * | Varriount|Mobile joined #nim |
20:31:19 | Varriount|Mobile | Araq: Also, the GetFinalPathNameByHandle procedure doesn't error when the given file is not a symlink/hardlink/junction point |
20:33:26 | dom96 | Araq: by checking if those errors are documented |
20:39:46 | * | Varriount|Mobile quit (Ping timeout: 246 seconds) |
20:41:50 | Araq | Varriount: yeah I thought about it. IMo expandSymlink should simply return the path unchanged if it's not a symlink. |
20:42:34 | Araq | so I can apply this call without thinking, and in the rare cases where I need to check, I can easily do 'if res == original' |
20:42:35 | reactormonk | Araq, sounds reasonable. do we have an isSymlink or similar? |
20:42:45 | Araq | yeah, I think we do |
20:43:02 | Araq | dom96: aha, ok I see |
20:44:53 | * | wedowmaker joined #nim |
20:48:58 | * | Demon_Fox quit (Quit: Leaving) |
20:49:36 | * | saml quit (Quit: Leaving) |
20:58:59 | dom96 | federico3: Have you guys already had a pint? |
20:59:59 | * | Elliot42 joined #nim |
21:00:41 | * | Demos quit (Remote host closed the connection) |
21:00:48 | Elliot42 | If I have case n: of 1..8: print "yes" else: discard, will the compiler optimize away the 1..8 and replace it with >=1 and <= 8? |
21:00:59 | Elliot42 | Otherwise the program would iterate through the sequence for no reason |
21:01:25 | Elliot42 | Like let's say I'm in a tight loop, and I have 1..1000, that will take a long time to check versus >=1 and <= 1000 |
21:01:50 | * | Demos joined #nim |
21:02:04 | def- | Elliot42: use nim -d:release c and check the C file, then you know what happened |
21:02:12 | * | shodan45 quit (Quit: Konversation terminated!) |
21:02:24 | Araq | Elliot42: yes, the compiler is smart enough to pick the most efficient solution |
21:02:39 | reactormonk | also, this kind of optimization will probably happen in the C compiler |
21:02:40 | Elliot42 | Cool. Though you're right, in the future I'll just check the C |
21:02:49 | Araq | and the C code doesn't do, you need to check the generated assembler |
21:02:57 | def- | oh, right |
21:03:06 | * | askatasuna quit (Ping timeout: 252 seconds) |
21:03:31 | Elliot42 | reactormonk: I don't know if gcc would know to optimize it, because the naive compilation is iterating through a sequence, and the compiler wouldn't necessarily be able to tell its a contiguous sequence |
21:03:54 | reactormonk | Elliot42, I'd hope seq is consistent enough to allow for this optimization |
21:04:06 | * | xcombelle quit (Remote host closed the connection) |
21:04:16 | * | onionhammer joined #nim |
21:04:24 | Araq | well the question was about 'case', not 'seq' |
21:05:09 | reactormonk | Oh oops. |
21:05:18 | Elliot42 | Nim really interests me, because it feels like python but is fast enough for my needs (python isn't, and pypy/numpy don't fix it). I plan to switch most of my work to it once it hits 1.0. Do you have any idea when that might happen? I heard it was planned for this summer. |
21:05:25 | reactormonk | Too many shortcuts taken. |
21:05:52 | reactormonk | Elliot42, we're beating each other to backwards compability usually :-) |
21:06:01 | * | xcombelle joined #nim |
21:06:11 | Elliot42 | reactormonk: What do you mean? |
21:06:32 | reactormonk | There shouldn't be too much change until 1.0 I'd say... |
21:06:54 | reactormonk | Araq, got a list somewhere what you want until 1.0? |
21:07:16 | Elliot42 | I know, I was just thinking its best to wait until the compiler is stable so I don't have to worry as much about errors |
21:08:06 | * | xcombelle quit (Client Quit) |
21:09:04 | Araq | reactormonk: todo.txt plus bugfixes, bugfixes, bugfixes |
21:09:26 | * | Jesin quit (Quit: Leaving) |
21:09:45 | Araq | 43 open high priority bugs |
21:10:14 | reactormonk | Araq, http://www.raidkillsbugs.com/-/media/raid/products/raid-multi-insect-killer-7.png |
21:16:42 | * | Jehan_ joined #nim |
21:17:05 | * | Jehan_ quit (Client Quit) |
21:17:40 | * | ozra joined #nim |
21:18:15 | * | milosn joined #nim |
21:23:02 | * | Varriount|Mobile joined #nim |
21:23:56 | * | BitPuffin|osx joined #nim |
21:40:11 | * | thales joined #nim |
21:40:35 | * | thales is now known as Guest34738 |
21:42:25 | * | Varriount|Mobile quit (Ping timeout: 246 seconds) |
21:45:01 | * | gokr joined #nim |
21:48:31 | * | BitPuffin|osx quit (Ping timeout: 248 seconds) |
21:55:16 | * | milosn quit (Read error: Connection reset by peer) |
21:56:06 | * | dddddd quit (Ping timeout: 264 seconds) |
22:00:12 | * | milosn joined #nim |
22:03:37 | dtscode | dom96: ping |
22:03:48 | dom96 | yes? |
22:04:08 | dom96 | stop pinging me and just ask |
22:04:15 | dtscode | fair enough. sorry |
22:04:43 | dtscode | I have some ideas for the irc module that I would like to run by you to see if they would get accepted before I implement them |
22:05:25 | dtscode | First: an option to turn on zwsp for this: http://ayu.smar.fi:7070/0/zwsp |
22:06:42 | dtscode | second: functions that let you send fake irc responses to the bot, like fake_privmsg(client, "channel to originate from", "some_msg") for testing purposes |
22:08:42 | * | the9to5 joined #nim |
22:08:52 | * | the9to5 quit (Client Quit) |
22:09:08 | dom96 | dtscode: possibly yes to the second |
22:09:18 | dtscode | what about the first? |
22:09:21 | dom96 | first should be a separate package I think |
22:09:31 | * | Elliot42 quit (Quit: Page closed) |
22:09:31 | dtscode | fair enough |
22:12:25 | dtscode | hrmm... I was thinking about also implementing an ignore list, but I guess thats pretty easily handled client side |
22:12:34 | dtscode | s/client/user/ |
22:13:28 | dom96 | you should build a bot framework on top of the irc lib |
22:13:57 | dtscode | what would this framework do? |
22:14:18 | dtscode | + that the irc lib doesn't already |
22:14:42 | dom96 | the nice things you propose |
22:14:47 | dom96 | look at other bot frameworks for inspiration |
22:14:53 | dtscode | fair enough |
22:14:58 | dtscode | thanks dom96 |
22:17:59 | * | dalarmmst quit (Ping timeout: 256 seconds) |
22:18:51 | * | Jesin joined #nim |
22:21:39 | * | perturbation joined #nim |
22:22:02 | dtscode | oh I'm sorry dom96. one more thing (probably should have written these down). why aren't the client fields like nick exported? |
22:22:23 | perturbation | is it possible to use a regular expression (from the re module) as a compile-time constant? |
22:22:40 | dom96 | dtscode: likely an oversight, should probably be a getter though |
22:23:03 | perturbation | I'm getting the following error (lib/impure/re.nim(84, 28) Error: VM is not allowed to 'cast') when declaring `const AdvertiserRegex = re"\s*j\s*=\s*([0-9])+"` |
22:23:06 | dtscode | thats what I was thinking dom96 |
22:23:11 | perturbation | if I use a let or var, everything works as normal |
22:23:22 | Araq | perturbation: no, but with a bit of luck lexim works at compile-time |
22:23:45 | Demos | does re use PCRE? |
22:23:50 | Araq | yes |
22:23:56 | dtscode | extended PCRE by default |
22:24:08 | dtscode | I didn't know that and I was getting so tripped up |
22:24:26 | perturbation | thanks Araq - I'll check out lexim |
22:24:38 | Araq | dtscode: re is deprecated anyway |
22:24:57 | Demos | what's the replacement? |
22:25:03 | Araq | nre |
22:25:10 | dtscode | oh well |
22:26:27 | FedeOmoto | Araq: thx for fixing #3038! :D |
22:28:30 | Araq | that doesnt fix #88 though |
22:38:04 | * | r-ku quit (Ping timeout: 252 seconds) |
22:38:49 | * | TylerE quit (Ping timeout: 252 seconds) |
22:40:56 | * | r-ku joined #nim |
22:41:46 | * | OnO quit (Ping timeout: 252 seconds) |
22:41:54 | * | OnO- joined #nim |
22:42:09 | * | TylerE joined #nim |
22:43:15 | * | wuehlmaus quit (Ping timeout: 252 seconds) |
22:43:36 | * | johnsoft quit (Ping timeout: 252 seconds) |
22:43:48 | * | wuehlmaus joined #nim |
22:43:57 | * | cyraxjoe quit (Ping timeout: 252 seconds) |
22:44:12 | * | wuehlmaus is now known as Guest32960 |
22:44:20 | * | johnsoft joined #nim |
22:44:38 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:45:35 | * | cyraxjoe joined #nim |
22:48:03 | * | enquora quit (Quit: enquora) |
22:48:47 | * | perturbation quit (Ping timeout: 248 seconds) |
22:53:59 | Araq | so ... 1400 closed bugs now. :-) |
22:54:40 | * | perturbation joined #nim |
22:55:09 | Araq | 530 open bugs, but 122 feature requests |
22:55:36 | Araq | that's 408 open bugs |
22:58:01 | * | vendethiel quit (Ping timeout: 255 seconds) |
22:58:44 | dom96 | not bad |
23:01:07 | * | BitPuffin quit (Ping timeout: 250 seconds) |
23:10:05 | * | boopsies is now known as boopsiesisaway |
23:11:03 | * | Demon_Fox joined #nim |
23:16:43 | * | gokr quit (Ping timeout: 250 seconds) |
23:18:13 | * | Demos quit (Remote host closed the connection) |
23:18:25 | * | Trustable quit (Remote host closed the connection) |
23:28:48 | * | vasher_ quit (Quit: Connection closed for inactivity) |
23:30:08 | * | wan quit (Ping timeout: 252 seconds) |
23:31:07 | * | perturbation quit (Remote host closed the connection) |
23:33:11 | * | perturbation joined #nim |
23:38:07 | reactormonk | What would be strongSpaces? |
23:38:46 | federico3 | dom96: not yet :) |
23:39:22 | def- | reactormonk: http://nim-lang.org/docs/manual.html#syntax-strong-spaces |
23:42:11 | * | BitPuffin|osx joined #nim |
23:43:38 | * | wan joined #nim |
23:48:21 | * | perturbation quit (Remote host closed the connection) |
23:58:39 | * | vendethiel joined #nim |