Camelia, the Perl 6 bug

IRC log for #november-wiki, 2008-12-19

| Channels | #november-wiki index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:57 masak ugh, I've forgotten how to clone git so that I can push commits to it.
09:34 moritz_ @tell masak the 'tests' target in Makefile should depend on all
09:34 zarah Consider it noted.
12:42 masak joined #november-wiki
14:14 masak
14:15 moritz_ \N{CANADIAN SYLLABICS NASKAPI WAA}
14:15 masak aye.
14:15 masak a very cute symbol, if you ask me.
14:15 moritz_ not in my font :(
14:16 masak well, not in mine either, but I can see it through the Unicode info page.
14:21 moritz_ I always thought that in Canda they'd speak English and French, and use the latin alphabet
14:21 masak sure, but not the indigenous peoples.
14:22 masak "Naskapi" apparently means "people beyond the horizon"
14:23 moritz_ http://www.perlmonks.org/?node_id=731528 that's kind of question I like ;-)
14:23 zarah moritz_'s link is also http://tinyurl.com/52u7sn
14:24 masak sounds interesting. I've heard the terms FDA and NDA mentioned on #perl6 during the past year, and I sorta know what it's about.
14:24 masak but I don't grok it yet.
14:26 masak moritz_: oh, and you apparently knew the solution to that problem, too! now I've learned something today. :)
14:26 moritz_ actually it's "NFA" and "DFA" ;)
14:27 masak oh yes -- pardon me.
14:27 moritz_ he did it wrong in his post as well
14:27 masak heh
14:27 moritz_ the problem was just that .* went over the delimiters he wanted to match
14:28 masak a common problem, I guess.
14:28 masak .* is almost always too greedy for people's purposes.
14:28 moritz_ aye, and nearly always wrong
14:28 masak mm
14:29 moritz_ http://www.perlmonks.org/?node_id=24640 for that matter
14:29 zarah moritz_'s link is also http://tinyurl.com/6lmdgx
14:30 * masak likes Ovid
14:30 masak ...and Aristotle, and chromatic.
14:30 masak I almost always enjoy their blog posts.
14:35 moritz_ same here
14:35 moritz_ pity I've met only one of them in real life, and only very briefly
14:35 masak I wonder what background chromatic has that makes him such a good writer.
14:37 moritz_ I just know that he studied music or something similar
14:37 moritz_ maybe it helps to be not a die-hard science guy from the beginning ;)
14:37 moritz_ and as with everything else, it's a lot of practice you need
14:38 masak certainly.
15:44 ihrd joined #november-wiki
15:44 ihrd hi there
15:45 moritz_ an ihrd!
16:10 masak ihrd: hi!
16:10 masak Tene: you here too?
16:18 ihrd masak: hi
16:18 ihrd I do config file now
16:18 masak ihrd: great.
16:18 masak afk
16:18 ihrd Jeff send his diff to me
16:19 ihrd I merge it, and reviewing now
16:21 masak ah.
16:21 masak I've been away from November development for a while now, mostly due to studies. but now I see myself coming back to it.
16:24 ihrd good
16:26 ihrd Jeff do Config class, it get hash from file, and have method for each key
16:26 ihrd it looks not so good for my
16:27 ihrd because if we want to add one more param we should add one more method
16:28 masak ihrd: yes, that doesn't sound very good to me either.
16:28 ihrd mb we can do something like p5 AUTOLOAD
16:28 ihrd but I do not know how that can be done in p6
16:28 masak can't we just use a hash?
16:28 ihrd O, good
16:28 masak a config object sounds like a hash to me.
16:29 ihrd yay, but Jeff idea to use
16:29 ihrd Config.param_name
16:29 ihrd in November
16:29 * masak hasn't looked closely at Config
16:30 masak maybe that's what I'll do tonight or tomorrow
16:30 ihrd It`s look good, but if I understand right Rakudo do instance for each of it
16:30 ihrd so, mb it is not so good
16:32 masak no, maybe not.
16:33 ihrd I mean Rakudo instance object for each Class.method
16:33 ihrd and
16:33 ihrd my $.content_path        = Config.server_root ~ 'data/articles/';
16:33 ihrd my $.modifications_path  = Config.server_root ~ 'data/modifications/';
16:33 ihrd my $.recent_changes_path = Config.server_root ~ 'data/recent-changes';
16:33 ihrd my $.index_path          = Config.server_root ~ 'data/index';
16:33 ihrd four Config objects
16:33 ihrd mb
16:34 masak ...and it's lengthy :/
16:34 masak and repetitive.
16:34 masak given Config.server_root {
16:35 masak my $.content_path        = $_ ~ 'data/articles/';
16:35 ihrd hm
16:35 masak # ...
16:35 masak }
16:35 masak :)
16:35 ihrd more perl6ish
16:36 masak but it feels like the real problem might be deeper than that.
16:42 ihrd I think Config should be singleton, many instance of it -- bad idea
16:42 masak perhaps.
16:43 masak I don't like that we suddenly have classes with names like Config.
16:43 ihrd instance of object, and read full config every time... brrr
16:43 masak it goes against the idea of having clear, CPAN-like names.
16:44 masak ihrd: oh, is 'brrr' an expression of mild disgust? I never understood that before.
16:44 masak I thought it only expressed confusion.
16:44 ihrd Oh, sorry. Yes you understand right
16:45 masak no need to apologise. I'm just curious.
16:46 masak I'm reading your blog. are there protests in Vladivostok? about what?
16:46 masak must go now.
16:47 masak I'll be online tomorrow, possibly hacking November.
16:48 ihrd Oh. Yes, we have problems here, in Vladivostok
16:48 ihrd o. ok
16:48 ihrd bb
16:49 masak see you
16:49 masak left #november-wiki
17:34 ihrd left #november-wiki

| Channels | #november-wiki index | Today | | Search | Google Search | Plain-Text | summary