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