<< 20-06-2014 >>

00:00:52*superfunc joined #nimrod
00:03:08*Joe_knock joined #nimrod
00:07:39*superfunc quit (Ping timeout: 264 seconds)
00:08:15OrionPKautocomplete doesnt work real well in aporia iirc
00:08:47OrionPKsublimetext's plugin does syntax highlighting (and tmpl sublanguage highlighting), nimrod compiler check, go-to-definition
00:09:48Dingbais that NimLime?
00:12:26Dingbahow do you go-to-definition to work? I do even see an option for it
00:18:07Dingbaoh i got it to appear but it doesn't work
00:28:47OrionPKit's hit or miss on osx, but usually works on windows
00:59:40*hoverbear joined #nimrod
01:08:53*q66 quit (Quit: Leaving)
01:19:37*askatasuna quit (Quit: WeeChat 0.4.3)
01:21:23flaviuAraq: What is the usecase of having to do {.borrow: `.`.}? I can't really think of a case where that would be unwanted.
01:33:15*brson quit (Quit: leaving)
01:33:42*brson joined #nimrod
01:33:42*brson quit (Client Quit)
01:33:59*brson joined #nimrod
01:36:42reactormonkflaviu, what's that good for?
01:37:46flaviureactormonk: If I have `type A = object b: int; DisA = distinct A`, I cannot do `let val: A; val.b` without doing that
01:39:09reactormonkO.o
01:39:51flaviuI mean `let val: DisA; val.b`
01:39:52flaviusorry
01:44:31*jpoirier joined #nimrod
02:08:10*jpoirier quit (Quit: Bye!)
02:18:24reactormonkreadthedocs.org seems to be common with python package - can we adapt that stuff for nimrod to a certain degree?
02:21:44flaviureactormonk: Filwit is making better docs, I think that'll fix most the issues
02:21:50reactormonkflaviu, cool
02:48:39*Joe_knock quit (Quit: Leaving)
02:54:26VarriountDingba: If you want to contribute to the NimLime plugin, feel free to do so. OrionPK, Mattais and I are the main developers
03:00:54*brson quit (Ping timeout: 255 seconds)
03:02:27*brson joined #nimrod
03:04:40flaviuWhat do people think of having raw strings use the delimiter after the `r` as the string delimiter? Ex, `r/myregex/`, `r$/usr/bin/grep$`
03:05:36flaviuThe only problem I can think of is that `r""" """` will have to be special-cased
03:05:36Varriountflaviu: Could you explain?
03:06:35Varriountflaviu: Oh, you mean, the character after the 'r' would take the place of parenthesis?
03:06:38flaviuYes
03:06:56flaviuI think C++11 does something like this
03:06:56VarriountI don't think that would work..
03:07:05VarriountOr it would be hard to parse.
03:07:34flaviuI really doubt it'd be hard to parse
03:07:51Varriountflaviu: How would the compiler know if `rroar` is a string or an identifier?
03:08:11flaviuYou tell the programmer he can only use the operator symbols
03:08:40Varriountflaviu: And what is the usecase/benefit from this feature?
03:08:51*brson quit (Ping timeout: 264 seconds)
03:09:57flaviuI don't have to escape quotes and it provides maximum flexibly. Your point about `rroar` is good though, I don't think its worth it.
03:10:44Varriountflaviu: Sorry :<
03:11:31flaviuErr, maybe it is. `r@asd@` is unambiguous, `r@asd` could be an infix operator, but when the last `@` appears, it becomes unambiguous.
03:11:58Varriountflaviu: Talk to Araq, and see what he says..
03:13:08flaviuStill probably not worth it, the added complexity overrules a few undecipherable lines of source code, but I'll still mention it to Araq
03:15:58VarriountOdd... Why is the mersenne twister module not in the online documentation?
03:17:02flaviuWhat has xorshift ever done to you? :'(
03:17:16Varriountflaviu: I need random numbers.
03:17:57flaviuxorshift very high quality, and its the fastest prng there is
03:18:16Varriountflaviu: Is it built in to nimrod?
03:18:49flaviuNo
03:19:06flaviuits 1.10ns/64bits on one guy's computer, so it may be worth it to implement it
03:21:12flaviuLess than 4 cycles
03:22:39flaviumersenne twister actually is *less* random than xorshift and is 4 times slower
03:23:03Varriountflaviu: *But* it's in the standard library.
03:23:14flaviuAlthough its period is absolutely insane
03:23:30VarriountThere's also that PRNG submitted on the forum...
03:25:50flaviuVarriount: I can't find it, do you have a link?
03:26:44Varriounthttp://forum.nimrod-lang.org/t/367/2#2533
03:28:27Varriountflaviu: Also, regarding your earlier idea, it's still quite ambiguous. "var x = r&z or y&r"
03:29:01flaviuYou're right, I didn't think of that
03:30:05OrionPKhey varriount
03:30:17OrionPKin case u didnt see: https://github.com/onionhammer/ircfamiliar
03:31:01Varriount:D
03:31:06VarriountYay!
03:31:34VarriountOrionPK: How stable/featureful is it?
03:31:54flaviuVarriount: https://gist.github.com/82cc0a1b0392624e6174
03:32:19flaviuYou'll need to figure out your own seeding, but there is the implementation of the PRNG
03:33:07VarriountYou know, a random number generator interface might not be amiss. If nothing else, a common API would be useful.
03:35:37flaviuYes, but having any prng would reduce yak shaving. Anyway, the useful interface any PRNG is `next(PrngState): int64` and `mixin(PrngState, int64)`
03:36:16Varriountflaviu: Not to mention some convenience functions..
03:36:31flaviuYea, but those are prng agnostic
03:36:40flaviuThey only need to be defined once
03:37:09flaviuI guess I can start on a nice PRNG library next week, I've been meaning to get to that.
03:37:20flaviuAdd OS entropy sources, etc
03:37:39OrionPKVarriount well, there's some stability issues around the IRC module in the nimrod std lib
03:37:50OrionPKVarriount but i've been using it for months, basically as-is
03:38:03Varriountflaviu: I would be very greatful. It would be a nice addition to the standard library, not to mention helpful with regards to the password-phrase generator I'm writing.
03:38:16OrionPKso I decided a week or so ago I'd switch over to SCGI (on nginx) and open source it
03:38:33OrionPKbut mainly because I dont have a ton of time to keep adding features to it
03:38:37VarriountOrionPK: Does it support private messages yet?
03:38:44OrionPKnope. feel free to add it :p
03:38:49Varriount-_-
03:39:30*Varriount slaps OrionPK around a bit with a Rainbow Trout
03:40:11OrionPK;D
03:40:32*OrionPK updated the readme
03:54:18*Demos joined #nimrod
04:03:57*flaviu quit (Ping timeout: 245 seconds)
04:39:05*xtagon quit (Read error: Connection reset by peer)
05:06:09*Demos quit (Ping timeout: 244 seconds)
05:07:41*Demos joined #nimrod
05:18:02*Demos quit (Ping timeout: 244 seconds)
05:18:08*Matthias247 joined #nimrod
05:30:08*Matthias247 quit (Read error: Connection reset by peer)
05:37:55*kunev joined #nimrod
05:41:38*hoverbear quit ()
05:47:35*nande quit (Remote host closed the connection)
05:53:49*nande joined #nimrod
06:08:35*nande quit (Remote host closed the connection)
06:14:22*nande joined #nimrod
06:38:10*BitPuffin joined #nimrod
06:44:57*gkoller joined #nimrod
07:06:09*Raynes quit (Ping timeout: 255 seconds)
07:07:13*kemet joined #nimrod
07:09:23*kemet quit (Client Quit)
07:11:40*Raynes joined #nimrod
07:46:03*zahary quit (Quit: Leaving.)
07:46:25*nande quit (Remote host closed the connection)
07:52:05*nande joined #nimrod
08:13:08*nande quit (Remote host closed the connection)
08:19:07*nande joined #nimrod
08:31:02*Trixar_za quit (Ping timeout: 245 seconds)
08:31:47*Trixar_za joined #nimrod
09:31:46*nande quit (Read error: Connection reset by peer)
09:35:54*gkoller quit (Ping timeout: 276 seconds)
09:40:33*BitPuffin quit (Ping timeout: 240 seconds)
09:45:19*gkoller joined #nimrod
10:49:17*Trustable joined #nimrod
11:08:23*BitPuffin joined #nimrod
11:13:43*kunev quit (Quit: leaving)
12:19:03*untitaker quit (Ping timeout: 264 seconds)
12:26:04*untitaker joined #nimrod
12:47:46*flaviu joined #nimrod
12:50:45Araqflaviu: maybe you're right but the idea was that 'distinct' creates an abstract type
12:51:14Araqthat doesn't expose implemenation details like "it comes from an object and so supports dots"
12:53:31*darkf quit (Quit: Leaving)
12:54:17flaviuOk, thanks for the explanation
13:24:46Araqping def-
13:39:39*gkoller quit (Ping timeout: 276 seconds)
13:46:19def-Araq: pong
14:15:32Dingbahi can you specialize templates in nimrod(like C++ etc) or does this not apply somehow
14:15:53Dingbaor specliaze macros?
14:18:03AraqDingba: you can do various forms of specialization but none is comparable to C++'s approach
14:41:51flyxhum, strVal is defined in macros, but when I import it and try to call it, I get "Error: field 'strVal' cannot be found"
14:44:12flaviuflyx: Is the node you're looking at a string literal?
14:44:22flyxflaviu: jup
14:48:22flaviuhttps://gist.github.com/e1c2c1d66b786507a661 works for me. Am I misunderstanding what you're saying?
14:48:31flyxhm
14:48:38flyxthere was an error elsewhere in the macro
14:49:01flyxthe compiler does get confused a bit when parsing invalid macros…
14:49:03flyxit's not always easy to figure out where the error is
14:49:58flaviuYeah, I've had that happen before
15:00:08flyxso
15:00:13flyxproof of concept works now
15:03:39flaviuCan you gist it? I'm curious to see what it is.
15:03:42flyxI still need a way to properly distinguish between macro parameters passed inline and ones passed as block
15:04:40EXetoCdon't you get either a statement or a statement list?
15:05:38flyxflaviu: https://gist.github.com/flyx/853a3209e8e5a84c16bc
15:06:05flyxflaviu: it's supposed to grow into a html5 templating engine
15:06:33flyxflaviu: with a syntax somewhat similar to Jade and HAML
15:07:00flaviuOk, neat
15:07:22Araqflyx: check out OrionPK's stuff on github
15:07:35Araqhe did something quite close, I think
15:08:12flyxAraq: have a link? that doesn't seem like his github name
15:10:41EXetoCso you're unable to distinguish between the two if you have an openarray[stmt]? just a stmt should o, and then you can check the type of the root node
15:11:05flaviuflyx: https://github.com/onionhammer/onion-nimrod/blob/master/templates/tests.nim maybe?
15:11:14Araqyeah that's it
15:11:20flaviuIt doesn't look much like HAML though
15:11:26Araqnow come on! you've got to be kidding me
15:11:35AraqI installed a new touchpad driver
15:11:43Araqand now it misses an essential feature
15:11:57Araqscrolling direction is inverted and I can't change that anymore
15:12:21Araqbut hey, updates are always good, right?
15:12:22EXetoCthat's a feature?
15:14:19flyxthis looks more like a general templating engine
15:15:32flyxmy goal is to statically assure valid html (checks for valid hierarchy, allowed & required tags and attributes etc)
15:18:17OrionPKit's a compile-time templating engine
15:26:00Dingbai don't really understand how to use idetools, the docs say to use this to query it--(I think)
15:26:01Dingbanimrod idetools --track:FILE,LINE,COL <switches> proj.nim
15:26:20Dingbabut when i try to use it on a file it just spits out junk..
15:26:41Dingbanimrod idetools --track:test.nim,1,4
15:26:47Dingbai dunno if i have the syntax wrong
15:27:35Dingbait says "Hint: added path: (long path name) Hint use config file
15:27:44Dingbawhat does that have to do with idetools?
15:31:36flaviuDingba: Thats like your classpath, you can ignore it
15:32:27Dingbasorry what?
15:32:39Dingbathe output is classpath?
15:33:07flaviuNo, that outputs all the time. If you --verbosity:0, it'll disappear
15:33:29flaviuIt looks like it doesn't output anything at all
15:33:44Dingbaah i added it, yeah it ouputs nothing
15:33:49Dingba:(
15:35:43flaviuMaybe dom96 has an idea
15:35:55Araqwell it helps to give it a project file ...
15:36:03Araqnimrod idetools --track:test.nim,1,4 test.nim
15:36:30Araqthe project file is not necessarily the file you like to track ...
15:37:26Dingbaoh it says something now thanks
15:39:12Araqyay touchpad works again
15:39:23Araqand I only had to touch the registry myself ...
15:41:15flaviuAraq: Since I'm guessing it's synaptics, have you tried chrial scrolling?
15:41:25flaviu*chiral
15:41:53Araqno it's elantech
15:41:58Araqand win 8.1
15:43:30Dingbai don't think --usages works
15:43:39Dingbadoes this thing work across file boundarys?
15:44:15flaviuelantech's drivers appear to be just crappy versions of synaptics's drivers. Same UI but fewer features
15:52:39flaviuNot a solution to your problem, but I was in the same situation in regards to autocomplete, but I've found that not having smart auto-complete does not really decrease the speed I get things done much.
15:56:20Dingbaactually i am mostly interested in this because it seems like nimrod should be very good at it, and working on something like this seems like a way to learn nimrod
15:56:37Dingba(which i only know from reading the docs)
15:57:39*Trustable quit (Quit: Leaving)
15:59:15Dingbai have used lua alot and it lacks autocomplete/refactoring, I did get used to it.. but still find myself preferring to write C++ just because it has these things
16:01:23*darkfusion quit (Ping timeout: 252 seconds)
16:02:42*darkfusion joined #nimrod
16:02:47*gkoller joined #nimrod
16:07:06*superfunc joined #nimrod
16:10:27dom96Dingba: Are you using the latest compiler from git?
16:10:49Dingbafrom a few days ago
16:11:02*hoverbear joined #nimrod
16:11:40Trixar_zaYour nickname is rough on me
16:11:55Trixar_zaMostly because I want to add a t: http://en.wikipedia.org/wiki/Dingbat
16:11:57Dingbaactually i am using the one listed on the website: Full (i386, 32bit): download/nimrod_0.9.4_windows_i386_full.exe SHA256: dca7c63d0c1861d2d7c51b2e7a29fa98371750a10ab282d5df9de22a07719c24
16:12:06Dingbai don't know how old that is
16:13:07EXetoCtwo months or so
16:20:06Dingbanimrod likes building
16:21:51Dingbai build the dev one I think, but it still uses the old one on command line, how do i replace it?(I know nothing about this command line sh*t)..
16:22:13flaviuDingba: Did you add the old one to your PATH?
16:22:25EXetoCwell censored
16:22:28Dingbait added itself when i installed it
16:22:52Dingbathanks exetoc
16:22:59flaviuOh, ok. Then delete the old directory from your PATH, and add the new bin to it
16:23:27*gkoller quit (Ping timeout: 276 seconds)
16:26:06superfuncit may prove useful to become comfortable with this command line ish :D
16:26:09*Trustable joined #nimrod
16:27:22*flaviu <3s the command line
16:29:50EXetoCDingba: if you need to know how to manipulate environment variables: http://www.computerhope.com/issues/ch000549.htm
16:30:32flaviuEXetoC: Even easier: <WinKey>, PATH, <Enter>
16:32:31EXetoCok
16:33:46Dingbai got it to use the dev one:)
16:36:38Dingbame 2
16:37:07Dingba--usages says SIGSEGV: illegal storage access
16:37:23Dingbabut some of the other commands work(suggest/def) sorta
16:47:28*Johz joined #nimrod
17:08:27*superfunc quit (Ping timeout: 244 seconds)
17:12:25*q66 joined #nimrod
17:15:53*superfunc joined #nimrod
17:22:30*shevy joined #nimrod
17:46:37*superfunc quit (Quit: leaving)
17:46:52*superfunc joined #nimrod
18:16:08*brson joined #nimrod
18:23:33*gkoller joined #nimrod
18:29:25flaviuIt seems that its impossible to use escape sequences in triple quoted strings, but I don't think that's a good idea since `r""" """` is equivalent to `""" """`, which is a bit unexpected
18:31:02Araqwell it's much than what python does
18:31:07Araq*much better
18:31:47Araqwhich is something like "uhm yeah, some escapes work, sometimes" iirc
18:32:48*gkoller quit (Ping timeout: 276 seconds)
18:34:36flaviuAll that python does weird is allow \uXXXX in raw strings.
18:35:09Araqit also does weird things in non-raw """ strings, I think
18:36:48*gkoller joined #nimrod
18:37:13flaviuAs far as I can tell, they are the same as nimrod except for limitations on `""" """""`
18:43:14flaviu*same as nimrod's regular strings, with the exception of newlines, as expected of """ strings
18:43:47flyxwhat's the second argument to newNimNode for?
18:43:55*brson quit (Quit: leaving)
18:46:53Araqflyx: line information
18:47:07flyxAraq: ah, thanks
18:56:51*gkoller quit (Ping timeout: 276 seconds)
18:58:01flaviuAraq: Would you accept a PR?
18:59:51*superfunc quit (Ping timeout: 264 seconds)
19:04:21Araqto change how """ work? no way.
19:09:45*shevy quit (Ping timeout: 255 seconds)
19:11:27flaviuOk, but if its because of backwards compatibility, you're giving up one of the major advantages of a new language, which is that you don't have to worry about backwards compatibility
19:12:20Araqit's because I don't see what's wrong with the current way
19:13:45flyxwell, once one gets to grips with nimrod macros, they're quite nice to work with
19:21:29flaviuhttp://i.imgur.com/6uwU6EI.png?2
19:22:08*shevy joined #nimrod
19:22:27flaviuThat's pretty much my whole argument
19:23:47NimBotnimrod-code/babel master 2a0ddb7 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Renames temp directory and removes it in release builds. Refs #28.
19:23:47NimBotnimrod-code/babel master 10de991 Dominik Picheta [+0 ±4 -1]: Implements #41.... 5 more lines
19:23:47NimBotnimrod-code/babel master 83c07c2 Dominik Picheta [+0 ±1 -0]: Merge branch 'pr_removes_tmp_directory' of https://github.com/gradha/babel into gradha-pr_removes_tmp_directory... 3 more lines
19:23:47NimBotnimrod-code/babel master 7f287ca Dominik Picheta [+0 ±1 -0]: Merge branch 'gradha-pr_removes_tmp_directory'
19:23:58Araqok, so you have no good uses cases, flaviu :P
19:23:59*hoverbear quit ()
19:25:46dom96flaviu: I like that milestone on nim-by-example :)
19:27:48flaviuAraq: Sure I do. New user: "Why doesn't """\n""" work? I haven't prefixed a `r`, and my inductive reasoning says it should work."
19:29:42Araqthat is still not a use case
19:29:49flaviuIts basically a papercut: it is very minor, so no one will mention it, it has an easy workaround so no one will mention it, and it doesn't really feel right.
19:30:33flaviuAraq: How about this usecase: I don't want to explain the inconstancy.
19:32:42flaviuI want to say "a `r` or a proc name prepended to a string literal makes that string literal not interpret escape sequences", but this forces me to also add "unless that string literal is a triple-quoted string, in which case escape sequences are never interpreted"
19:33:47flaviuPeople, being people, will only remember the first part and forget about the second.
19:36:09Araqpeople, being people, don't use \n in """ as it's pointless and are happy copy&pasting stuff into """ works as long as the stuff doesn't contain """
19:37:11Araqand btw a *use case* would be: "I need \t to work in this """ string literal and using tabulators directly doesn't cut it because ..."
19:38:37Araqyou could argue that r""" shouldn't exist as """ means the same
19:39:18Araqbut don't make me type r""" just because Guido decided it's a good way to do it. It is not.
19:42:42NimBotnimrod-code/babel master e84c5a7 Dominik Picheta [+0 ±2 -0]: Fixes #25.
19:43:54*Jehan_ joined #nimrod
19:47:59*shevy quit (Ping timeout: 240 seconds)
19:48:17NimBotnimrod-code/babel master 66027f9 Dominik Picheta [+0 ±1 -0]: Fixes #37.
19:50:00flaviuBTW, I had no idea about python its r""" before you mentioned it, but I'll just post it on the fourms and won't come back to it again for a while.
19:54:03Araqcan somebody please look at donydh's problem? (forum)
19:54:08AraqI'm too busy
19:54:43flyxhm, another strange thing: classes is seq[string], className is string. "classes.add(className)" gives "Error: type mismatch: got ()"
19:54:53flyxnot sure what to make of that
19:55:41Araqadd(classes, className) # try this workaround please
19:56:45flyxsame error
19:57:47NimBotnimrod-code/babel master dd45dd9 Dominik Picheta [+0 ±2 -0]: Fixed tester and removed useless dir creation.
19:58:06flyxI guess I'll update my nimrod compiler
19:58:09Araqflyx: maybe the line information is wrong
19:58:23flyxAraq: it compiles when I comment just that line
19:58:56Araqadd returns 'void'
20:01:18flyxum, literally? that gives a error about a missing end of a character literal
20:01:52Araqno, not literally
20:02:01AraqI use quotes for quoting things
20:02:18Araqobviously 'void' in quotes is not valid nimrod code
20:02:37*flyx was confused, sorry
20:03:26*flyx replaced className with a string literal, same error
20:03:54Araqwell gist it please
20:06:44flyxAraq: https://gist.github.com/flyx/7042bbc3ac6383880384#file-html5-nim-L109
20:08:52Jehan_About donydh's problem: seems to be a Windows-specific bug, if any, can't reproduce it on OS X.
20:11:18Araqflyx: when you disable that line, classes ends up being empty
20:11:37Araqand so for instance lines 120-129 are not executed
20:11:51Araqwhich may produce the wrong 'add'
20:11:57flyxah
20:12:04Araqor something like that
20:12:07flyxright
20:12:14flyxI'll look into it, thanks
20:12:14Araqit sucks when the line information is screwed up
20:12:33Araqwe need to fix this, but then I don't know what the problem is
20:13:33*Jehan_ quit (Quit: Leaving)
20:14:08*Jehan_ joined #nimrod
20:20:55dom96This doesn't work, regression? https://gist.github.com/dom96/8f735acecfbe97f98634
20:21:48Araqdom96: read what you gisted...
20:23:31dom96Don't we support implicit returns?
20:23:36Jehan_dom96: The error message should tell you what's wrong?
20:23:48Jehan_test() returns a value that needs to be either used or discarded.
20:24:20Jehan_So, "echo test(5, 6") or "discard test(5, 6)"
20:28:04dom96Yes, it tells me the value should be discarded. I could have sworn that we support implicit return of the last expression
20:28:34Araqyes, we do
20:28:52dom96Then what am I missing?
20:28:54Araqthat doesn't mean you can implicitly discard the value that 'test' produces
20:29:24dom96gah
20:29:32Araqproc test(x, y: int): int = x + y # not discarded, but short for: return x+y
20:29:49Araqtest(3, 4) # discard, not allowed
20:30:00dom96I misread the error.
20:30:08dom96Thought it was on line 1.
20:32:34*OrionPK quit (Remote host closed the connection)
20:32:50*OrionPK joined #nimrod
20:44:08Araqomg seriously ... LL makes my head explode
20:44:19Araqwhy is this so hard?
20:45:20Araqparallel+spawn is easier to implement then lambda lifting
20:45:34Araqsomething is wrong here ...
20:46:25*shevy joined #nimrod
20:51:27*shevy quit (Ping timeout: 264 seconds)
20:53:06*superfunc joined #nimrod
20:54:34NimBotnimrod-code/babel master 0cc45d0 Dominik Picheta [+6 ±2 -0]: Fixes #27.
20:57:17*exirctest joined #nimrod
20:57:43*brson joined #nimrod
21:20:49*shevy joined #nimrod
21:35:47*flaviu quit (Quit: I probobly want to watch it later)
21:35:56*exirctest quit (Remote host closed the connection)
21:37:16*regtools quit (Quit: leaving)
21:37:39flyxhm, the immediate pragma for macros doesn't seem to work across files
21:38:10flyxwhen I use it in the same file, it works. when I use it for another file, I get "Error: undeclared identifier" for items that should be handled by the macro
21:38:30*kunev joined #nimrod
21:38:51dom96You likely need to bindsym them
21:39:09flyxit does work when I use include instead of import
21:39:34flyxand no, I do *not* want to bind the symbol because it isn't a nimrod symbol
21:40:54*flaviu joined #nimrod
21:41:44flaviudom96: I've reorganized things, but I'm not sure its better
21:42:34flaviuCan you look over it and tell me what you think?
21:43:33*Johz quit (Ping timeout: 240 seconds)
21:48:05dom96sure
21:48:14*superfunc quit (Quit: leaving)
21:48:28*superfunc joined #nimrod
21:49:21dom96flaviu: Looks good, the check marks don't seem to be working for some sections.
21:49:33flaviudom96: Wait 10 seconds
21:53:49superfuncflaviu: working on nim-by-ex?
21:54:53flaviusuperfunc: yes, my goal is to finish the basic sections by tomorrow afternoon
21:55:43superfuncnice, I'm drowning in category theory atm
21:56:22flaviuI've actually been wanting to learn some category theory, it seems useful
21:56:30dom96flaviu: Still doesn't work
21:56:59superfuncWhen I get out of this program in a couple weeks, I'll shoot some good literature for it your way
21:57:57flaviudom96: Works for me on both chrome and firefox
21:57:58*kunev quit (Quit: leaving)
21:58:53dom96flaviu: Doesn't work at all in IE for me
21:58:59dom96Don't have Chrome to test
21:59:09flaviuOh, IE. Ok, let me see
21:59:51superfuncDoesn't work in midori either
22:00:06superfunc(insert obscure browser joke here)
22:02:04flaviuI think I fixed it, I think the problem was that my JS had an error only some browsers quietly correct, in typical JS fashion
22:03:15flaviuI can't get virtualbox to run to test it myself, it appears it doesn't believe me when I tell it that I've loaded to kernel module
22:03:16superfuncjavascript is just the best
22:03:25superfuncI'll check on a few
22:03:46*flyx pushed his stuff to https://github.com/flyx/NimHTML
22:04:08flyxI'll push it to babel once it's in a usable state
22:05:55superfunchmm, still not showing up on firefox
22:06:03dom96flyx: cool
22:06:47flyxcurrently, it's little more than a tech demo of Nimrod's macro stuff
22:09:45flaviuOk, I got rid of it completely. I don't really care enough to bother.
22:09:56flaviusuperfunc: Do you have local storage enabled?
22:10:23NimBotnimrod-code/babel master d8068ad Dominik Picheta [+0 ±2 -0]: Implement configurable babelDir. Fixes #29.
22:10:26superfuncflaviu: You mean caching?
22:11:01dom96flaviu: It just started working for me!
22:11:13flaviudom96: Ok, great, it seems the timeout was the problem
22:11:28flaviuIt says that IE supports it since 4.0, but oh well
22:11:32dom96flaviu: Don't give up on it.
22:11:50dom96Works now in IE to
22:11:52dom96*too
22:11:55superfuncflaviu: It works in FF now
22:12:10flaviuok, I have no idea why it didn't work
22:12:24superfuncI think that's the javascript slogan
22:12:41Araqflaviu: that's why using nimrod's JS backend pays off
22:12:51superfuncs/didnt/did/g
22:12:58Araqif it doesn't work, you can blame me then
22:13:14Araqand I'll blame JS for you
22:14:14flaviuWell, I couldn't really blame you in this case, the problem method is in the dom api
22:14:15dom96We now use the JS backend in production
22:14:21dom96So there is no excuse not to use it ;)
22:14:41flaviudom96: Except that its an extra build step, which I don't want to do.
22:15:20flaviuAlthough it would be fairly trivial..., but its an extra dependency.
22:15:49flaviuIt directly conflicts with my desire to keep the scaffolding quick and dirty
22:16:09dom96Yeah... we should create a web service which translates .nim scripts into JS automatically :P
22:16:40flaviuThat would actually be extremely helpful
22:16:53flaviuDo that, and I'll write the javascript code in nimrod
22:17:28dom96Maybe I will. In a couple of months... lol
22:17:57flaviudom96: Rust does something like that, but they actually execute the code on the server: http://rustbyexample.com/type.html
22:18:27flaviuAraq: I'm blaming you for the compiler not working in JS
22:18:47dom96Problem is that we will need to sandbox it because of compile-time stuff
22:20:10flaviuEven without macros and static, iterator expansion could effectively DOS the server
22:21:02EXetoCdom96: you don't touch the DOM then?
22:21:22flaviudom96: playpen
22:21:49flaviuhttps://github.com/thestinger/playpen
22:22:47dom96EXetoC: I do?
22:23:08dom96EXetoC: Is there a problem with accessing the DOM?
22:23:24dom96https://github.com/Araq/Nimrod/blob/devel/web/babelpkglist.nim
22:26:48EXetoCdom96: I don't know what was broken and if this has been touched the last couple of months
22:26:54*OrionPK quit (Remote host closed the connection)
22:27:12*OrionPK joined #nimrod
22:27:34EXetoCI couldn't use it for anything before
22:27:45dom96EXetoC: I have made some fixes when writing that script.
22:27:49dom96So maybe I have fixed it
22:29:06EXetoCok so some things work
22:30:38NimBotnimrod-code/babel master 30b8700 Dominik Picheta [+0 ±1 -0]: Documented config file and improved docs.
22:32:55dom96Anyone wanna test this new babel feature?
22:33:11dom96Araq: You can finally get rid of that dot in babel's dir :P
22:34:55*OrionPK quit (Remote host closed the connection)
22:35:11*OrionPK joined #nimrod
22:35:42Araqyay
22:35:51OrionPKsorry about restarts btw, working on irc client
22:37:21OrionPKgoals 3 minutes apart
22:37:25OrionPKlove it when that happens hehe
22:51:08*superfunc quit (Quit: leaving)
22:52:07*OrionPK quit (Remote host closed the connection)
22:52:22*OrionPK joined #nimrod
23:02:19*sdw quit (Ping timeout: 240 seconds)
23:20:15*BitPuffin quit (Ping timeout: 264 seconds)
23:21:27flaviuIt looks like its not a very good idea to make a set of integers. 8KiB is a bit steep :O
23:22:30*darkf joined #nimrod
23:23:08dom96I just realised: my new comp has 16GB of RAM, so even if I mess up and my program starts using a lot of memory I may not even notice.
23:23:43OrionPKyou should go down to 1 gig to be safe then
23:24:35flaviudom96: You will. You won't practically generate just 5GB of trash without generating an infinite amount, and you'll feel the swap kick in.
23:25:18EXetoCswap? pfft
23:25:50flaviuYeah, swap sucks. All its ever done is lock up my computer
23:32:29EXetoCdom96: what other things from the dom module have you used? the last thing I tried was modifying fgColor. didn't work
23:32:49dom96EXetoC: Just the stuff you can see in the file I linked
23:54:55*Trustable quit (Quit: Leaving)