00:00:21 | * | Kazimuth joined #nimrod |
00:20:18 | flaviu | dom96: You're in charge of the builder site, right? |
00:21:56 | * | shodan45 quit (Quit: Konversation terminated!) |
01:00:48 | * | saml_ joined #nimrod |
01:06:03 | * | saml_ quit (Ping timeout: 240 seconds) |
01:09:31 | * | freezerburnv joined #nimrod |
01:16:40 | flaviu | dom96: It appears you are. Check your PR box for nimbuild. |
01:19:41 | * | saml_ joined #nimrod |
01:21:07 | flaviu | Araq: Don't worry about it, but do you know where the error is in the new code? My logging statements are turning up nothing. |
01:30:06 | * | flaviu quit (Remote host closed the connection) |
02:04:09 | Varriount | Araq: ping |
02:09:08 | Varriount | dom96: Ping |
02:09:23 | Varriount | dom96: The babel package listing is invalid, one of the lines is missing a comma |
02:10:26 | * | q66 quit (Quit: Leaving) |
02:10:55 | NimBot | Araq/Nimrod devel 1354257 Varriount [+0 ±1 -0]: Update json.nim... 2 more lines |
02:14:47 | * | hoverbear joined #nimrod |
02:14:52 | * | hoverbear quit (Max SendQ exceeded) |
02:16:01 | * | hoverbear joined #nimrod |
02:32:39 | NimBot | Araq/Nimrod devel 370f06d Varriount [+0 ±1 -0]: Update categories.nim... 2 more lines |
02:41:03 | * | freezerburnv quit (Quit: freezerburnv) |
03:14:16 | * | Kazimuth quit (Ping timeout: 240 seconds) |
03:53:33 | * | springbok quit (Ping timeout: 244 seconds) |
03:54:54 | * | kemet joined #nimrod |
03:57:16 | * | BitPuffin quit (Ping timeout: 240 seconds) |
05:00:22 | Varriount|Mobile | Hello kemet |
05:15:14 | * | kemet quit (Remote host closed the connection) |
05:15:50 | * | kemet joined #nimrod |
05:15:59 | * | kemet quit (Remote host closed the connection) |
05:28:16 | * | BitPuffin joined #nimrod |
06:15:23 | * | io2 joined #nimrod |
06:21:38 | * | kemet joined #nimrod |
06:24:56 | * | saml_ quit (Quit: Leaving) |
06:31:25 | * | hoverbea_ joined #nimrod |
06:33:03 | * | Varriount|Mobile quit (Remote host closed the connection) |
06:33:17 | * | Varriount|Mobile joined #nimrod |
06:34:41 | * | hoverbear quit (Ping timeout: 264 seconds) |
06:42:08 | * | hoverbea_ quit () |
06:44:35 | * | kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com) |
07:11:08 | * | Demos quit (Read error: Connection reset by peer) |
08:22:24 | * | Simplicity joined #nimrod |
08:22:35 | * | Simplicity left #nimrod (#nimrod) |
08:30:59 | * | kunev joined #nimrod |
08:37:24 | * | eigenlicht joined #nimrod |
08:45:07 | Araq | uh oh |
08:45:17 | Araq | "Simplicity has left #nimrod" ... a bad omen |
09:10:33 | * | kemet joined #nimrod |
09:12:34 | * | kemet quit (Client Quit) |
09:12:53 | * | kemet joined #nimrod |
09:15:39 | * | kemet quit (Remote host closed the connection) |
09:16:59 | * | Matthias247 joined #nimrod |
09:59:41 | * | enurlyx joined #nimrod |
10:15:22 | * | BitPuffin quit (Ping timeout: 244 seconds) |
10:16:26 | * | BitPuffin joined #nimrod |
10:21:00 | * | kemet joined #nimrod |
10:36:34 | NimBot | nimrod-code/packages master e646b42 Varriount [+0 ±1 -0]: Update packages.json... 2 more lines |
10:36:34 | NimBot | nimrod-code/packages master d23710a Dominik Picheta [+0 ±1 -0]: Merge pull request #65 from Varriount/patch-1... 2 more lines |
10:36:37 | dom96 | Varriount: Nice catch. |
10:38:22 | * | Klaufir left #nimrod (#nimrod) |
10:48:10 | * | kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com) |
11:09:50 | * | q66 joined #nimrod |
11:09:50 | * | q66 quit (Changing host) |
11:09:50 | * | q66 joined #nimrod |
11:33:34 | dom96 | Well I figured out why caasdriver fails. |
11:33:47 | dom96 | It uses a destructor which fires too soon |
11:35:04 | dom96 | hrm, or maybe not. |
11:57:13 | NimBot | Araq/Nimrod devel 8965ee5 Dominik Picheta [+2 ±0 -0]: Add osproc stdin test. |
11:57:13 | NimBot | Araq/Nimrod devel 1658a29 Dominik Picheta [+0 ±1 -0]: Fixes #1263. |
11:57:18 | * | foodoo joined #nimrod |
12:01:20 | Araq | how did you fix it? |
12:01:28 | Araq | too lazy to look at the dfif :P |
12:02:33 | dom96 | there was no problem with osproc |
12:02:54 | dom96 | just that caasdriver tried writing to a closed input stream |
12:04:29 | foodoo | I wonder when Nimrod 1.0 will be released. Are there already plans for that? |
12:05:21 | Araq | foodoo: christmas this year. |
12:05:36 | Araq | though it's a really optimistic plan ... |
12:06:30 | foodoo | Alright. Take your time :) |
12:06:50 | foodoo | But knowing that it's on the horizon makes me happy |
12:12:10 | * | vendethiel quit (Read error: Connection reset by peer) |
12:14:54 | * | vendethiel joined #nimrod |
12:19:17 | * | untitaker quit (Ping timeout: 240 seconds) |
12:25:07 | * | untitaker joined #nimrod |
12:44:03 | * | Varriount|Mobile quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) |
13:16:01 | * | darkf quit (Quit: Leaving) |
13:39:50 | * | Trustable joined #nimrod |
14:04:40 | * | KevinKelley quit (Ping timeout: 246 seconds) |
14:09:50 | * | q66 quit (Quit: Leaving) |
14:10:13 | * | q66 joined #nimrod |
14:11:31 | * | q66 quit (Remote host closed the connection) |
14:11:56 | * | q66 joined #nimrod |
14:17:31 | * | flaviu joined #nimrod |
14:19:03 | * | kunev quit (Quit: leaving) |
14:23:32 | flaviu | dom96: http://i.imgur.com/aHABpIR.png |
14:24:25 | dom96 | flaviu: Nice, but it'll take a while before I can make it live. |
14:42:26 | * | foochain joined #nimrod |
14:42:29 | dom96 | I wonder why there is both http://build.nimrod-lang.org/docs/system.html#getStackTrace, and http://build.nimrod-lang.org/docs/system.html#getStackTrace,_2 |
14:47:19 | * | foochain left #nimrod (#nimrod) |
14:51:37 | * | foodoo quit (Quit: so long and thanks for the fish) |
15:00:53 | Araq | dom96: docgen bug ... :-/ |
15:01:05 | dom96 | Araq: that's what I thought |
15:28:48 | * | hoverbear joined #nimrod |
15:29:36 | * | KevinKelley joined #nimrod |
15:39:59 | * | Matthias247 quit (Read error: Connection reset by peer) |
15:58:00 | * | KevinKelley quit (Quit: Page closed) |
16:02:53 | * | enurlyx quit (Ping timeout: 252 seconds) |
16:03:06 | * | enurlyx joined #nimrod |
16:27:05 | * | flaviu quit (Ping timeout: 252 seconds) |
17:25:32 | * | flaviu joined #nimrod |
17:38:00 | * | kunev joined #nimrod |
18:15:17 | * | MayurYa joined #nimrod |
18:15:32 | * | MayurYa quit (Changing host) |
18:15:32 | * | MayurYa joined #nimrod |
18:23:22 | Araq | hi MayurYa welcome |
18:24:39 | flaviu | http://meta.stackoverflow.com/questions/260377/open-source-advertising-sidebar-2h-2014 |
18:26:44 | flaviu | If someone sees filwit, see if he wants to make an ad for that, I think it'd be a good way to gain exposure |
18:37:02 | * | Jehan_ joined #nimrod |
18:45:08 | * | q66 quit (Ping timeout: 252 seconds) |
18:48:48 | Varriount | Araq: So, what bugs do you think I can fix? |
18:51:35 | * | Varriount|Mobile joined #nimrod |
18:57:53 | * | q66 joined #nimrod |
19:03:40 | Varriount | Araq: Also, what kind of size does computeRecSize and friends compute? Is there anything interesting or unusual about how it computes things? |
19:04:06 | * | Puffin joined #nimrod |
19:06:02 | * | BitPuffin quit (Ping timeout: 245 seconds) |
19:11:40 | * | perturbation joined #nimrod |
19:22:14 | * | Matthias247 joined #nimrod |
19:24:50 | dom96 | Why do idetools compile the file? |
19:27:56 | Varriount|Mobile | dom96: Because idetools is broken |
19:29:01 | Araq | Varriount|Mobile: easy, fix the most recently reported sigsev bug |
19:29:29 | Araq | and yes, computeRecSize is unusual in that it doesn't work at all |
19:29:47 | Araq | hence sizeof() cannot always be computed at compile-time |
19:30:00 | Araq | somehow i got the alignment computations wrong |
19:38:08 | dom96 | Varriount|Mobile: What ever happened to that explanation of compiler modules that Araq told us on Skype? |
19:38:14 | dom96 | Varriount|Mobile: You said you wrote it down right? |
19:40:26 | flaviu | dom96: https://gist.github.com/BitPuffin/c1d7e2c72bedf654f90f |
19:41:53 | * | kunev quit (Ping timeout: 264 seconds) |
19:41:58 | dom96 | why isn't this on the wiki |
19:41:58 | dom96 | ? |
19:42:03 | * | Johz joined #nimrod |
19:50:10 | flaviu | I don't know, I guess no one bothered do that. |
19:50:36 | Araq | everything except lambda lifting is self explaining anyway |
19:50:54 | Araq | lambda lifting however ... I don't understand it either |
19:51:42 | dom96 | Araq: it's a good reference |
20:00:22 | * | Mat3 joined #nimrod |
20:00:25 | Mat3 | hello |
20:01:34 | NimBot | Araq/Nimrod devel 79b0848 Dominik Picheta [+0 ±1 -0]: Fix idetools --def crash. |
20:03:12 | Araq | hi Mat3 |
20:03:38 | Araq | so apparently <title /> is not valid HTML ... wtf |
20:03:50 | Araq | but <title></title> is |
20:04:33 | Araq | I mean, ok, we all know html is not xml but this is just weird as fuck |
20:06:05 | flaviu | It makes sense though, <title> is meaningless without a body |
20:07:13 | dom96 | shouldn't <title> be in <head> anyway? |
20:07:15 | flaviu | Araq: <title></title> is invalid too. |
20:07:50 | dom96 | flaviu: Really? Does the HTML spec state that you can't have an empty title? |
20:08:46 | flaviu | Yes, the spec says so. It seems like the browsers let it work anyway |
20:09:57 | Mat3 | Hi Araq |
20:10:21 | Araq | flaviu: ok,, but browsers accept <title></title> but not <title /> |
20:10:39 | Araq | which is the real problem of course, the html spec is worthless |
20:11:48 | Mat3 | as I know every HTML tag (with some exceptions) must end in a </..> tag |
20:18:29 | Mat3 | and because empty tags are not specified, ther should at least surround a whitespace character |
20:18:57 | Mat3 | ^there |
20:19:35 | Araq | Mat3: so what? maybe it becomes valid html 6? |
20:20:06 | Araq | with an ever evolving spec and browsers all doing their own thing, why should one care about the spec? |
20:20:42 | Araq | less than 1% of all html documents adhere to the spec anyway |
20:20:45 | flaviu | Mat3: from the spec: "The img element ... Content model: Empty.", "The meta element ... Content model: Empty." |
20:20:49 | * | MayurYa quit (Ping timeout: 272 seconds) |
20:21:14 | flaviu | That sounds an awful lot like empty tags are specified. |
20:22:36 | Mat3 | well as written "as I know" |
20:22:38 | dom96 | I'm starting to wonder whether there is much point to CAAS. |
20:23:15 | flaviu | dom96: There is |
20:23:16 | Mat3 | Araq: I think you are right about these HTML specs, one can simply ignore them |
20:23:16 | dom96 | It doesn't seem like it will make things much faster. |
20:23:22 | flaviu | oh |
20:23:25 | dom96 | and getting it to even work is challenging. |
20:23:32 | Jehan_ | Just because people deviate from it doesn't mean that a standard is worthless. |
20:24:53 | Jehan_ | Without the standard, you'd get even more deviation. |
20:25:28 | Araq | Jehan_: how so? a new browser need to render things close enough to the existing browsers to have any chance |
20:25:59 | Jehan_ | Now imagine that there weren't a standard. |
20:26:03 | Araq | effectively the existing implementations already provide a defacto standard |
20:26:14 | Araq | yes, I can imagine that |
20:26:20 | Jehan_ | That worked out so well during the Netscape/IE wars. :) |
20:26:29 | Araq | the situation would be exactly the same |
20:26:50 | Jehan_ | I very much doubt that. |
20:27:07 | flaviu | Araq: You can't blame anyone when things don't work. For example, I can objectively say that IE is crap by pointing out all the standards it does not meet |
20:27:09 | Mat3 | more dynamic, more choices, more freedom, more chaos -> better standards (sounds nice to me) |
20:28:03 | flaviu | Just a scapegoat, for the one person here who uses IE11 or something |
20:31:59 | Mat3 | IE11 = Internet Explorer 11 ? |
20:33:02 | Araq | Jehan_: FPC / Delphi, Wine / Windows API, Dosbox / dos, there are lots of examples where not having a standard didn't stop anything |
20:33:16 | Matthias247 | dom96: i tried caas for the nimlime plugin. It seemed slower than starting the compiler again and again for hints. But most probably because it is buggy and compiles the source even when it's not required |
20:33:42 | flaviu | Mat3: Yes, but I mean the latest, supposedly good, Internet Explorer version is. |
20:34:28 | Jehan_ | Araq: These are really examples with a dominant vendor who can define a de facto standard via the power of the market. |
20:35:42 | Araq | yes, my point. compatibility is a political thing really, standards don't prevent any incompatibilities |
20:37:00 | Araq | just write a brower that adheres to the html spec, but doesn't do it close enough to firefox/chrome and IE and see how far you'll get |
20:37:09 | Jehan_ | No, but they lay out a common ground. |
20:37:36 | Jehan_ | Araq: Depends on what your purpose is. The problem with the web in that regard is less the HTML and more that everything is a multi-megabyte webapp these days. |
20:39:47 | Jehan_ | Oh, that first sentence may have been a bit oblique. Few people are going to write another web browser for the web. But writing something that processes HTML for internal documentation etc. is a different story. |
20:40:30 | Araq | well you better be very permissive or you won't be able to parse much "HTML" |
20:41:18 | Jehan_ | Araq: With internal tools, that is not a problem. |
20:42:17 | Jehan_ | The web is really an absurdly chaotic environment. |
20:43:13 | Araq | well I wrote web crawlers ... what do you think? that I looked at the HTML spec? ;-) |
20:43:54 | Jehan_ | As a starting point, you probably did. Because reverse-engineering that from scratch would be a bit rough. :) |
20:43:59 | Mat3 | Jehan_: this situation results because of HTML (even roff is a better and more flexible content-description language) |
20:44:48 | Jehan_ | Mat3: If you want to tell me that XML/HTML is a disaster, you're preaching to the choir. |
20:44:54 | Araq | Jehan_: nah, you simply "know" HTML and use that as a starting point |
20:45:50 | flaviu | Its amazing the effort the PyPy guys go through to optimize things. |
20:46:21 | flaviu | They manually wrote the tokenizer using state machines instead of regexes |
20:46:53 | Jehan_ | flaviu: I get not using regexes, but state machines? |
20:47:29 | Araq | state machines for lexers are stupid, been there done that |
20:47:32 | flaviu | They are effectively regexes, but are directly implemented in state machines |
20:47:35 | flaviu | https://bitbucket.org/pypy/pypy/src/b84ebcce7ebe37e222f75352b2e2c1274dc5f6e0/pypy/interpreter/pyparser/pytokenize.py?at=default |
20:47:35 | Jehan_ | The Python syntax isn't that complex. |
20:47:54 | Jehan_ | flaviu: Have to look at that, but that's what flex/lex do? |
20:48:26 | EXetoC | Araq: what have you not done? |
20:48:29 | Jehan_ | Ah, they may need to do that bcause they're writing in RPython. |
20:48:30 | EXetoC | gone to the moon probably |
20:48:55 | flaviu | Jehan_: Parser generator toolkit. You give it a grammar, and it gives you a parser |
20:49:16 | Jehan_ | flaviu: Yeah, I know. |
20:49:21 | Araq | flaviu: # Automatically generated DFA's |
20:50:02 | flaviu | Araq: The comments lied! |
20:50:06 | flaviu | "The regular expressions have been replaced with hand built DFA's" |
20:50:53 | Jehan_ | Maybe so that they consume less memory? |
20:51:22 | Jehan_ | But unless have a complex syntax -- which Python doesn't -- it's generally easier and faster to write a lexer by hand. |
20:51:59 | flaviu | They do do it by hand. Their regexes are just in a really weird format. |
20:52:22 | Jehan_ | With "by hand" I mean code, not regexes. |
20:53:05 | flaviu | Regexes do make the code much more compact, although slightly less readable. |
20:55:16 | Jehan_ | flaviu: That also depends on how you write regexes. |
20:55:50 | Jehan_ | You don't have to do it Perl4 style as a string of characters mashed together. |
20:56:09 | flaviu | I guess so, although even extended regexps will likely be more compact |
20:56:35 | flaviu | And you don't really need extended regexps for the stuff in python, its very straightforward |
20:57:01 | Jehan_ | flaviu: I'm talking about something like EBNF. |
20:57:34 | Araq | EXetoC: I never wrote a 3D engine ... |
20:57:52 | flaviu | I thought we're talking about tokenizers. EBNF is a bit overkill for that... |
20:57:59 | Matthias247 | Araq: oh. I thought that's the one thing everybody does ;) |
20:58:02 | Matthias247 | I did ;) |
20:58:48 | Matthias247 | although it was far from a complete and usable engine |
20:59:21 | Mat3 | by the way, does one of you know a way do bypass HTML for a web design ? |
20:59:52 | Jehan_ | flaviu: EBNF is pretty simple? |
21:00:36 | Jehan_ | Modern regular expressions are actually pretty complicated. |
21:00:46 | Matthias247 | Mat3: do everything in flash - and everybody will hate you ;) |
21:00:54 | Mat3 | t should be possible to render the whole design in Javascript and embed texts as plain UTF8 encoded texts I think |
21:01:35 | Araq | Mat3: just adapt some premade free design |
21:01:35 | Jehan_ | Mat3: You can do that. I'm not sure you WANT to do that, though. |
21:01:38 | flaviu | Jehan_: It is, but regexps are much more concise, especially for simple things. And I know about modern regexps, insane.. |
21:01:45 | Matthias247 | Mat3: react.js does something like this |
21:01:59 | Mat3 | thanks |
21:02:01 | Jehan_ | flaviu: Conciseness at the expense of readability. |
21:02:02 | flaviu | Jehan_: http://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.html :D |
21:02:21 | Jehan_ | This is why there exist tools that break down and explain regular expressions for you. |
21:03:36 | Jehan_ | For what it's worth, if you do write tools, I'm of the Terrence Parr school of thought. |
21:03:41 | flaviu | Jehan_: Sorry, but `[0-9]+`is much simpler than `number = number | 0 | 1 | 2 | 3 | 4 |5 |6 |7 |8 |9 | ε` |
21:04:29 | Jehan_ | I.e. that there's little point in writing a tool specifically for regular grammars (which generally are just a bit too weak), when you can have a tool for more general CFG grammars that gives you more power at pretty much the same speed. |
21:04:46 | Jehan_ | flaviu: '0' .. '9' |
21:04:55 | * | noam_ joined #nimrod |
21:05:38 | Jehan_ | Look at lpeg for an example that's fairly close to what I'm suggesting. |
21:05:44 | Jehan_ | Minus the cryptic function names. |
21:05:52 | * | Trustable quit (Quit: Leaving) |
21:06:07 | flaviu | Sure, but that's EEBNF :P. |
21:06:33 | * | noam quit (Ping timeout: 240 seconds) |
21:07:18 | Jehan_ | flaviu: That's why I said "like EBNF", not "precisely EBNF"? |
21:08:19 | flaviu | Sorry, didn't read that. |
21:08:56 | flaviu | Jehan_: BTW, araq ported something like LPEG to nimrod |
21:08:58 | Mat3 | Matthias247: There exist some excellent Forth environments for Javascript, so my plan is to simply program my web design online (or better I write a Postscript DSL) |
21:08:58 | flaviu | http://build.nimrod-lang.org/docs/pegs.html |
21:09:05 | Jehan_ | flaviu: Yes, I know. |
21:09:38 | Jehan_ | Such a library is of limited use for a statically typed language, unfortunately. |
21:09:59 | Jehan_ | At least if you want to attach semantic information to grammar rules. |
21:11:29 | * | JehanII joined #nimrod |
21:11:29 | * | Jehan_ quit (Read error: Connection reset by peer) |
21:11:58 | * | JehanII is now known as Jehan_ |
21:18:06 | * | shodan45 joined #nimrod |
21:28:03 | * | shodan45 quit (Quit: Konversation terminated!) |
21:31:03 | * | Johz quit (Ping timeout: 255 seconds) |
21:39:02 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
21:39:52 | Mat3 | a union is defined with this statement - "type anUnion = object {.union.}" ... ? |
21:40:06 | Araq | yeah ... |
21:44:06 | Mat3 | thanks |
21:45:23 | Mat3 | exist there the possibility to declare object types so I can write "type anUnion = union" ? |
21:45:48 | Araq | you can do |
21:45:53 | Araq | union foo: |
21:45:59 | Araq | var a, b: int |
21:46:14 | Araq | with a "union" macro but that doesn't improve anything |
21:49:25 | Mat3 | hmm, right |
21:50:18 | Mat3 | get some sleep, ciao |
21:50:23 | * | Mat3 quit (Quit: Verlassend) |
21:53:08 | * | io2 joined #nimrod |
21:54:59 | * | io2 quit (Client Quit) |
21:57:05 | * | Jesin joined #nimrod |
22:39:49 | * | saml_ joined #nimrod |
22:46:22 | * | enurlyx quit (Quit: Nettalk6 - www.ntalk.de) |
22:56:48 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:58:39 | * | Demos joined #nimrod |
23:00:27 | * | Jehan_ quit (Quit: Leaving) |
23:09:11 | * | darkf joined #nimrod |
23:41:40 | * | flaviu quit (Quit: Leaving.) |
23:41:49 | * | flaviu joined #nimrod |
23:42:46 | * | flaviu quit (Remote host closed the connection) |
23:43:50 | * | flaviu joined #nimrod |
23:51:20 | * | flaviu quit (Remote host closed the connection) |
23:51:39 | * | flaviu joined #nimrod |
23:56:38 | * | wan joined #nimrod |