00:27:07 | * | ltbarcly joined #nimrod |
00:31:54 | * | ltbarcly quit (Ping timeout: 264 seconds) |
00:37:19 | * | ltbarcly joined #nimrod |
00:41:54 | * | ltbarcly quit (Ping timeout: 252 seconds) |
00:50:40 | * | ltbarcly joined #nimrod |
01:01:04 | * | brson_ joined #nimrod |
01:01:18 | * | brson quit (Read error: Connection reset by peer) |
01:05:09 | * | dyu joined #nimrod |
01:37:19 | * | fowl joined #nimrod |
01:41:38 | * | DAddYE quit (Remote host closed the connection) |
01:50:03 | * | q66 quit (Quit: Leaving) |
01:57:34 | * | Yeri joined #nimrod |
01:58:20 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
02:42:40 | * | DAddYE joined #nimrod |
02:49:40 | * | DAddYE quit (Ping timeout: 264 seconds) |
03:08:39 | * | fowl quit (Ping timeout: 260 seconds) |
03:14:35 | * | Yeri quit (Quit: Yeri) |
03:25:50 | * | fowl joined #nimrod |
03:25:53 | * | fowl quit (Changing host) |
03:25:53 | * | fowl joined #nimrod |
03:29:10 | * | fowl quit (Read error: Connection reset by peer) |
03:44:03 | * | fowl joined #nimrod |
03:45:53 | * | DAddYE joined #nimrod |
03:52:11 | * | DAddYE quit (Ping timeout: 260 seconds) |
04:15:32 | * | fowl quit (Quit: Leaving) |
04:34:10 | * | OrionPK quit (Read error: Connection reset by peer) |
04:48:51 | * | DAddYE joined #nimrod |
04:49:59 | * | zhtx joined #nimrod |
04:55:00 | * | DAddYE quit (Ping timeout: 245 seconds) |
04:57:41 | * | zhtx quit (Quit: Leaving.) |
05:08:45 | * | zhtx joined #nimrod |
05:15:39 | * | Associat0r joined #nimrod |
05:15:39 | * | Associat0r quit (Changing host) |
05:15:39 | * | Associat0r joined #nimrod |
05:19:03 | * | brson_ quit (Quit: leaving) |
05:19:08 | * | DAddYE joined #nimrod |
06:00:51 | * | zhtx left #nimrod (#nimrod) |
06:40:44 | * | gsp joined #nimrod |
07:39:37 | gsp | Shouldn't nil be a valid value for a variable of type set[T] ? |
07:49:12 | dyu | yes |
08:02:19 | * | DAddYE quit (Remote host closed the connection) |
08:14:33 | * | gsp quit (Ping timeout: 252 seconds) |
08:18:23 | * | companion_cube left #nimrod (#nimrod) |
08:26:46 | * | gsp joined #nimrod |
08:35:56 | * | dyu quit (Quit: Leaving) |
09:03:24 | * | DAddYE joined #nimrod |
09:09:50 | * | DAddYE quit (Ping timeout: 264 seconds) |
09:41:12 | * | dyu joined #nimrod |
09:46:44 | * | q66 joined #nimrod |
10:06:40 | * | DAddYE joined #nimrod |
10:10:54 | * | ltbarcly joined #nimrod |
10:12:59 | * | DAddYE quit (Ping timeout: 260 seconds) |
10:14:34 | * | ltbarcly quit (Client Quit) |
10:37:23 | * | ltbarcly joined #nimrod |
10:43:27 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
10:53:32 | * | dyu quit (Quit: Leaving) |
11:09:26 | * | ltbarcly joined #nimrod |
11:09:33 | * | DAddYE joined #nimrod |
11:15:04 | * | faassen joined #nimrod |
11:15:39 | * | DAddYE quit (Ping timeout: 248 seconds) |
11:26:56 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
11:42:19 | * | ltbarcly joined #nimrod |
11:59:49 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
12:03:44 | Araq | gsp: no |
12:08:44 | Araq | the underlying implementation of 'set' uses an array and it's a value type; its default value is {} |
12:08:55 | gsp | "<dyu> yes ... <Araq> gsp: no" :-D - but yeah, I eventually figured the answer was no, since set[T] is simply a bitfield in memory with no concept of nil-ness, only the empty set perhaps, right? |
12:09:06 | gsp | ah, ok! |
12:09:10 | Araq | yup |
12:11:23 | gsp | Araq: btw, any (purposeful) reason tuple unpacking only works on its own (i.e. in a single line such as "let (x,y) = ..." but not as part of multiple declarations)? |
12:11:56 | * | shevy left #nimrod ("I'll be back ... maybe") |
12:12:41 | * | DAddYE joined #nimrod |
12:12:58 | Araq | what do you mean exactly? |
12:13:12 | Araq | that it doesn't work in assignments? (x, y) = (2, 2) ? |
12:13:37 | Araq | that's simply because I never find the time to implement it and it's very rarely useful |
12:13:47 | Araq | that it doesn't work in parameters ... well |
12:14:04 | Araq | I've always found that's a weirdo of python of no usage |
12:16:50 | * | Amrykid quit (Changing host) |
12:16:50 | * | Amrykid joined #nimrod |
12:17:56 | gsp | nah, I mean that the "block-syntax" for let and var. E.g. "let (x,y) = (1,2)" works, whereas "let\n\t(x,y) = (1,2)" gives me "Error: identifier expected, but found '('" |
12:18:38 | gsp | thus making it necessary to write a new line with "let ..." for every tuple-unpacking-declaration |
12:18:42 | Araq | interesting. I never noticed ;-) |
12:19:31 | * | DAddYE quit (Ping timeout: 260 seconds) |
12:19:53 | gsp | Ah :-D |
12:20:35 | Araq | yeah well now I know :P |
12:20:57 | Araq | parseSection is pretty generic |
12:21:12 | Araq | and doesn't know about '(' introducing a section |
12:25:15 | gsp | parseSection? |
12:25:24 | gsp | Also, defining a converter should enable implicit type conversions, right? |
12:25:36 | Araq | never mind, I fixed it already, will push soon |
12:26:11 | Araq | yeah a converter should do that, but shouldn't use converters |
12:26:20 | Araq | *you shouldn't |
12:27:13 | gsp | I.e., converter's just aren't ready yet? |
12:27:31 | Araq | IME they are ready |
12:27:50 | Araq | please report a proper bug if they don't work properly |
12:28:11 | Araq | spent quite some time on that feature and we have tests for it |
12:28:24 | gsp | ah ok |
12:28:44 | gsp | well, in a similar vein as the tuple unpacking |
12:28:58 | Araq | hey |
12:29:25 | Araq | lots of people use tuple unpacking successfully :P |
12:29:32 | Araq | and converters too |
12:30:19 | gsp | sorry, that climax was poorly delivered - or not at all, actually ;-) |
12:30:21 | gsp | I meant to post this example: http://pastebin.com/WXB4EZuu |
12:31:05 | Araq | can't solve the captcha |
12:31:06 | gsp | Either way, no offense, I've been greatly enjoying Nimrod for the last few days :-) |
12:31:18 | gsp | try again? |
12:32:17 | Araq | 5th attempt worked -.- |
12:32:42 | Araq | well come on |
12:32:54 | Araq | let (x, y) = a ? |
12:33:09 | Araq | and then the compiler should know you want x and y's type to be int32? |
12:33:21 | Araq | so that the converter is invoked? |
12:34:23 | gsp | Yeah, I guess my understanding of the type system is lacking. A lot. - Either way, with the tuple unpacking I cant declare the type of the resulting tuple ("Error: '=' expected") |
12:34:52 | gsp | But yeah, I see how I'm expecting a bit much from the compiler there |
12:34:55 | Araq | *shrug* a.toTuple works beautifully though |
12:41:48 | gsp | mhm, right. reconsidering, it's silly to expect magic type inference or some contrived exception to the inference rules there. thanks for the help and again, great work on the whole project |
12:43:06 | Araq | thank you |
12:44:36 | Araq | of course 'let (x, y): tuple[...] = ...' is not unreasonable to support but there are far more important features missing |
12:46:12 | * | mal`` quit (*.net *.split) |
12:46:13 | * | orbitz quit (*.net *.split) |
12:46:37 | * | orbitz joined #nimrod |
12:46:55 | * | mal`` joined #nimrod |
13:15:56 | * | DAddYE joined #nimrod |
13:22:13 | * | DAddYE quit (Ping timeout: 245 seconds) |
13:27:59 | * | ltbarcly joined #nimrod |
13:29:41 | * | ltbarcly quit (Client Quit) |
14:07:20 | NimBot | Araq/Nimrod master 082c55e Araq [+0 ±2 -0]: changed parentDir to return the empty string on error |
14:07:20 | NimBot | Araq/Nimrod master 220db4c Araq [+0 ±1 -0]: bugfix: typos in os.nim |
14:07:20 | NimBot | Araq/Nimrod master 9df0e30 Araq [+0 ±3 -0]: support for --cs:partial |
14:07:20 | NimBot | Araq/Nimrod master feb8efc Araq [+0 ±4 -0]: implemented 'import a as b' |
14:07:20 | NimBot | 1 more commits. |
14:08:48 | * | ltbarcly joined #nimrod |
14:09:57 | * | ltbarcly quit (Client Quit) |
14:18:58 | * | DAddYE joined #nimrod |
14:23:29 | * | ltbarcly joined #nimrod |
14:25:56 | * | DAddYE quit (Ping timeout: 260 seconds) |
14:28:39 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
14:37:47 | * | DAddYE joined #nimrod |
14:39:37 | * | DAddYE quit (Remote host closed the connection) |
14:40:04 | * | DAddYE joined #nimrod |
14:42:04 | * | DAddYE_ joined #nimrod |
14:42:04 | * | DAddYE quit (Read error: Connection reset by peer) |
15:06:55 | * | DAddYE_ quit (Remote host closed the connection) |
15:07:27 | * | DAddYE joined #nimrod |
15:10:12 | * | DAddYE quit (Read error: Connection reset by peer) |
15:10:31 | * | DAddYE joined #nimrod |
15:13:30 | * | DAddYE quit (Remote host closed the connection) |
15:13:56 | * | DAddYE joined #nimrod |
15:18:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
15:35:01 | * | faassen quit (Quit: Leaving.) |
16:13:29 | * | DAddYE joined #nimrod |
16:29:48 | * | io2 joined #nimrod |
16:47:32 | * | filwit joined #nimrod |
16:48:23 | filwit | so i just realized the best way to become popular on the internet: trolls |
16:48:56 | * | Associat0r quit (Quit: Associat0r) |
16:49:07 | filwit | trolling posts inevitably get responses.. it's like our human nature can't not respond to dumbness.. even if we know it's fake |
16:50:10 | dom96 | hi filwit |
16:50:12 | filwit | so, putting two 'n two together: New popularity tactic for Nimrod: we troll ourselves on public discussion boards |
16:50:16 | filwit | hi dom96 |
16:50:26 | filwit | it's fool proof i tell you |
16:50:44 | dom96 | do it :P |
16:51:39 | filwit | no but really, i seriously wounder if Phoronix doesn't troll itself just to create controversy in it's forums to get more adviews... |
17:02:36 | * | brson joined #nimrod |
17:09:36 | dom96 | No, you are right. Controversy is a good strategy, look at Miley Cyrus... |
17:15:13 | io2 | is Araq's talk out yet? |
17:15:31 | io2 | dom96: lol |
17:23:30 | dom96 | it's not |
17:27:00 | * | Associat0r joined #nimrod |
17:27:00 | * | Associat0r quit (Changing host) |
17:27:00 | * | Associat0r joined #nimrod |
17:35:18 | Araq | filwit: well I'm good at trolling ;-) |
17:36:05 | filwit | ha, dom, that's true |
17:37:26 | filwit | Araq: hi |
17:40:25 | * | ltbarcly joined #nimrod |
17:41:26 | reactormonk | Araq, https://github.com/Araq/Nimrod/issues/593 *hrm* |
17:44:43 | * | ltbarcly quit (Ping timeout: 245 seconds) |
17:44:52 | Araq | reactormonk: looking at it right now |
17:45:02 | reactormonk | thanks. |
17:53:40 | * | gsp quit (Ping timeout: 260 seconds) |
17:57:34 | io2 | hi Araq, thanks dom96 |
17:57:53 | Araq | hi io2 |
18:43:37 | filwit | https://gist.github.com/PhilipWitte/6689343 |
18:43:45 | filwit | why does that write 'Andrew' twice |
18:44:38 | Araq | Andrew is the default value |
18:46:27 | filwit | k i think i'm thinking of things wrong |
18:46:40 | filwit | i'll read through the docs more on it |
19:05:36 | * | OrionPK joined #nimrod |
19:27:26 | Araq | ping zahary |
19:32:31 | filwit | https://gist.github.com/PhilipWitte/6689343 |
19:33:01 | filwit | trying to get a basic macro working |
19:33:26 | filwit | basically just copied of the docs |
19:33:39 | filwit | but for some reason this isn't working.. :\ |
19:35:42 | filwit | oh duh |
19:35:46 | filwit | i'm retarded, sorry |
19:45:36 | NimBot | Araq/Nimrod master 3e844dd Araq [+0 ±2 -0]: fixes #593 |
19:45:51 | Araq | reactormonk: try it please, don't have nodejs installed here |
20:10:31 | * | filwit quit (Quit: Leaving) |
20:15:20 | reactormonk | Araq, ok |
20:16:20 | reactormonk | ReferenceError: document is not defined |
20:19:40 | Araq | that's unrelated though I hope |
20:19:54 | Araq | btw any experience with "source maps"? |
20:20:14 | Araq | seems to be the proper way to get nice stack traces out of generated JS |
20:24:05 | * | EXetoC joined #nimrod |
20:36:14 | Araq | wb EXetoC |
20:38:54 | reactormonk | Araq, nope, sounds interesting |
20:38:58 | reactormonk | Araq, nope, it's not. |
20:39:14 | Araq | gah |
20:39:48 | Araq | pastebin some example please then |
20:39:49 | reactormonk | I think the raise exception is malformed for nodejs target |
20:40:11 | reactormonk | ... and that showed up because you fixed/disabled the dead code elimination (or similar) |
20:41:29 | reactormonk | yup, the exception handling code depends on dom.nim |
20:41:53 | reactormonk | ... more or less. In any case, it depends on some browser features, like alert or document |
20:44:12 | Araq | ok, installed node.js now |
21:03:49 | Araq | reactormonk: echo($("foo" in @["foo", "bar"])) works for me under node.js |
21:03:59 | Araq | I fixed some unrelated JS codegen bug |
21:04:11 | Araq | but that doesn't produce the "document" error either |
21:14:09 | EXetoC | ktnx! |
21:17:33 | * | photex joined #nimrod |
21:22:13 | * | d34th quit (Quit: Deleted System32) |
21:23:26 | * | d34th joined #nimrod |
21:30:32 | Araq | gah ... we really have too many built-ins |
21:30:51 | Araq | the JS backend is still incomplete |
21:31:28 | dom96 | we need JS tests |
21:31:56 | Araq | we have JS tests |
21:32:08 | dom96 | we need nimbuild to run them |
21:32:18 | Araq | but not enough and the tester can't run them as the testers do not have nodejs |
21:36:01 | dom96 | I will fix that. |
21:36:15 | dom96 | Once I have some more free time. |
21:36:19 | dom96 | If that ever happens... |
21:37:13 | Araq | no we only need to run the tests on 1 machine |
21:39:05 | dom96 | indeed |
21:39:48 | * | EXetoC quit (Ping timeout: 256 seconds) |
21:56:32 | NimBot | Araq/Nimrod master 89b8b10 Araq [+0 ±3 -0]: JS codegen: supports more builtins |
21:58:41 | * | reactormonk quit (Ping timeout: 246 seconds) |
22:03:39 | Araq | dom96: so I'm working on packages again |
22:03:46 | Araq | and if we have: |
22:03:54 | Araq | foo/a.nim, foo/b.nim |
22:04:11 | Araq | and b imports a then it should look in the same directory 'foo' first |
22:06:39 | dom96 | it should look in its own dir I guess? |
22:06:51 | dom96 | That's what you're saying right? |
22:06:56 | Araq | yeah |
22:07:09 | Araq | but this needs to be done for subdirs too |
22:07:48 | Araq | so if we have foo/a.nim, foo/gah/b.nim and a imports b and foo/gah is in the PATH, that should be tried first |
22:08:22 | Araq | however, a could also simply import "gah/b" |
22:08:29 | dom96 | ok, well make a list of how this stuff is resolved exactly please |
22:08:39 | Araq | and then gah doesn't even have to be in the path |
22:08:51 | Araq | well I'm making the list right now :P |
22:08:54 | dom96 | Something like: '1. We check the PATH to see if this module is present in any of the dirs listed in the PATH' |
22:09:05 | Araq | yeah |
22:09:13 | Araq | but the problem is that path has an order |
22:09:34 | Araq | and currently it's a global order and where the importing module resides is not considered |
22:10:15 | dom96 | Shouldn't that just be an error? |
22:10:36 | Araq | what should be an error? |
22:10:49 | dom96 | "Module a is present in "/../../a.nim" and "/../a.nim" from PATH, don't know which to import" |
22:11:11 | dom96 | Depending on the order of the PATH sounds like it would cause lots of issues |
22:11:22 | dom96 | lots of confusing issues |
22:14:12 | * | reactormonk joined #nimrod |
22:23:17 | Araq | hmm I agree |
22:24:47 | Araq | but then that's how "panicoverride.nim" works |
22:25:16 | Araq | you have a panicoverride in your project and that overrides a panicoverride in lib/system |
22:25:31 | Araq | ok for now we have no panicoverride in lib/system |
22:25:34 | Araq | but still |
22:32:16 | dom96 | right. well I'm going to sleep |
22:32:18 | dom96 | Good night |
22:32:23 | Araq | same here |
22:32:26 | Araq | good night |
23:00:53 | * | Yeri joined #nimrod |
23:13:00 | * | io2 quit () |
23:17:39 | * | reactormonk quit (Ping timeout: 252 seconds) |
23:19:57 | * | reactormonk joined #nimrod |
23:30:35 | * | ltbarcly joined #nimrod |
23:32:13 | * | Associat0r quit (Ping timeout: 245 seconds) |
23:35:07 | * | fowl joined #nimrod |
23:37:26 | * | Associat0r joined #nimrod |
23:47:05 | * | reactormonk quit (Ping timeout: 245 seconds) |
23:47:23 | * | OrionPK quit (*.net *.split) |
23:47:25 | * | jdp_ quit (*.net *.split) |
23:47:28 | * | profmakx quit (*.net *.split) |
23:47:28 | * | guaqua quit (*.net *.split) |
23:47:29 | * | brson quit (*.net *.split) |
23:47:29 | * | DAddYE quit (*.net *.split) |
23:47:30 | * | Reisen quit (*.net *.split) |
23:47:30 | * | zahary quit (*.net *.split) |
23:47:32 | * | mal`` quit (*.net *.split) |
23:47:33 | * | p0nce quit (*.net *.split) |
23:47:33 | * | fowl quit (*.net *.split) |
23:47:34 | * | orbitz quit (*.net *.split) |
23:47:35 | * | silven quit (*.net *.split) |
23:47:36 | * | ltbarcly quit (*.net *.split) |
23:47:39 | * | Associat0r quit (*.net *.split) |
23:47:40 | * | capisce quit (*.net *.split) |
23:47:43 | * | XAMPP quit (*.net *.split) |
23:47:43 | * | zahary_ quit (*.net *.split) |
23:47:49 | * | Zor quit (*.net *.split) |
23:47:54 | * | Roin quit (*.net *.split) |
23:47:59 | * | JStoker quit (*.net *.split) |
23:48:01 | * | tumak quit (*.net *.split) |
23:48:02 | * | Amrykid quit (*.net *.split) |
23:48:05 | * | d34th quit (*.net *.split) |
23:48:06 | * | rndbit quit (*.net *.split) |
23:48:06 | * | Trixar_za quit (*.net *.split) |
23:48:08 | * | Araq quit (*.net *.split) |
23:48:08 | * | eco quit (*.net *.split) |
23:48:08 | * | dom96 quit (*.net *.split) |
23:51:21 | * | OrionPK joined #nimrod |
23:51:21 | * | jdp_ joined #nimrod |
23:54:19 | * | Associat0r joined #nimrod |
23:54:19 | * | fowl joined #nimrod |
23:54:19 | * | ltbarcly joined #nimrod |
23:54:19 | * | d34th joined #nimrod |
23:54:19 | * | brson joined #nimrod |
23:54:19 | * | DAddYE joined #nimrod |
23:54:19 | * | mal`` joined #nimrod |
23:54:19 | * | orbitz joined #nimrod |
23:54:19 | * | Reisen joined #nimrod |
23:54:19 | * | Amrykid joined #nimrod |
23:54:19 | * | XAMPP joined #nimrod |
23:54:19 | * | zahary_ joined #nimrod |
23:54:19 | * | guaqua joined #nimrod |
23:54:19 | * | profmakx joined #nimrod |
23:54:19 | * | zahary joined #nimrod |
23:54:19 | * | p0nce joined #nimrod |
23:54:19 | * | capisce joined #nimrod |
23:54:19 | * | silven joined #nimrod |
23:54:19 | * | rndbit joined #nimrod |
23:54:19 | * | Zor joined #nimrod |
23:54:19 | * | Trixar_za joined #nimrod |
23:54:19 | * | JStoker joined #nimrod |
23:54:19 | * | eco joined #nimrod |
23:54:19 | * | Roin joined #nimrod |
23:54:19 | * | tumak joined #nimrod |
23:54:19 | * | dom96 joined #nimrod |
23:54:19 | * | Araq joined #nimrod |
23:56:08 | * | reactormonk joined #nimrod |