2009 -- the year of November. <november-wiki.org> <github.com/viklund/november> <irclog.perlgeek.de/november-wiki> <nopaste.snit.ch>
Set by moderator on 10 February 2009.
Tene zarah: tell masak blogs.gurulabs.com/stephen/2009/03/...-proj.html 01:14
zarah Tene's link is also tinyurl.com/d75ccl
Consider it noted.
03:20 ihrd joined 03:24 ihrd left 04:04 ihrd joined 05:49 ihrd left 08:54 ihrd joined 08:55 masak joined
ihrd hi massk 09:47
I write my first blog post 09:48
masak hey ihrd
zarah masak: You have new messages. Write '/msg zarah @messages' to read them.
masak @messages
zarah masak: 8 h 34 m 19 s ago, Tene said blogs.gurulabs.com/stephen/2009/03/...-proj.html
ihrd ihrd.livejournal.com/70022.html
zarah ihrd's link is also tinyurl.com/d32m5p
masak ihrd: seems you're not the only one who wrote something :)
masak reads both posts
ihrd my perl6.ru account blocked, I do not know why. send mail to the owner. post to my blog for now 09:49
masak ihrd: looks good. 09:50
ihrd nothing new, but while I was writing that I make my suggestions a litle bit clear 09:53
masak re the name Web.pm, I know many people consider it too general and vague, but I still find it very clear and descriptive.
ihrd: aye, it often helps to put things down into words. 09:54
ihrd yes and yes
masak ihrd: for some reason, Google Translate makes a fantastic job translating your blog entry.
perhaps it's the lack of slang :P
ihrd :) 09:55
masak I have a mind to work on three things in the coming week: Request/Response from Rack, HTML manipulation from Hpricot, and XML-based templates from Genshi. 09:56
at least the first and the third one will be of use in November. the second one will be of use for other things. 09:57
ihrd a lot for one week 10:03
In our propousal we reserved first week for specification 10:04
and second two weeks to implement f/w basics
masak right. 10:06
I intend to put the focus on the Rack porting. 10:07
ihrd we need more specification in place to go forward
masak the other two are indeed too big to fit in only one week.
ihrd: yes, additional specification would be nice.
especially, how the parts will fit together.
ihrd yes, and Rack port one of the core part
masak aye.
I want to look a bit more at Rack to see what it does and how it works. 10:08
will do that today.
ihrd good
I added 'bedrocks' 10:09
masak I will have two goals: porting Request and Response, and writing something about specification.
masak looks
ihrd fill free to add you ideas
(and fix my English) 10:10
masak will do.
ihrd My plan to the next week: rewiright forest as complite example, try to implement simple routines, review Templete 10:12
masak the English is good; only a slight type s/possibale/possible/.
ihrd: sounds good. 10:13
ihrd I planned Template as simple text-based perl6-embeded template
masak do you still have plans to do a templater with HTML and code mixed?
ihrd yes
masak ah, you just answered that :) 10:14
ihrd not just html, but text
masak yes, good.
is it OK if I reneame the file 'doc/bedrocks' to 'doc/fundamentals'?
I'm not familiar with the former metaphor.
ihrd thi is not metaphor 10:15
just word I found in dictionary
'основы'
masak I suspect it's a metaphor in Russian, but not in English.
ihrd it is from geology
masak aye, but to me it signifies nothing more than the geological meaning. 10:16
which makes me wonder why you are talking about stone :)
ihrd to get down to bedrock — Š“Š¾Š±Ń€Š°Ń‚ŃŒŃŃ Го ŃŃƒŃ‚Šø Гела A bedrock principle underlying the First Amendment is that the government may not prohibit the expression of an idea simply because society finds the idea itself offensive — Базовый принцип, лежащий в основе ŠŸŠµŃ€Š²Š¾Š¹ ŠŸŠ¾ŠæŃ€Š°Š²ŠŗŠø состоит в том, что ŠæŃ€Š°Š²ŠøŃ‚ŠµŠ»ŃŒŃŃ‚Š²Š¾ не вправе ŠæŃ€ŠµŠæŃŃ‚ŃŃ‚Š²Š¾Š²Š°Ń‚ŃŒ выражени
masak ihrd: 'bedrock principles' is fine.
ihrd ah
masak but not just 'bedrocks'.
ihrd okay, thank you 10:17
masak it's the difference between a noun and an adjective.
np
ihrd yes
masak I'm learning Chinese, I know exactly this is the hard part of mastering a foreign language.
the subtle meanings of wprds.
ihrd but 'to get down to bedrock'
here it is noun, no? 10:18
masak hm. yes.
but that is not a metaphor I'm used to hearing.
'get down to basics', perhaps.
10:20 Tene_ joined
ihrd okay, dictionary always containt something not so popular in real life 10:20
masak yes, it doesn't reflect how much and when a phrase is used. 10:21
github.com/masak/web/commit/8024163...01a3a81bfb 10:24
zarah masak's link is also tinyurl.com/db4lyk
ihrd > my %d = a => 1, b=>2; my @a; @a.push(%d); @a.perl.say; 10:28
["a" => 1, "b" => 2]
> my %d = a => 1, b=>2; my @a; @a.push(\\%d); @a.perl.say;
[{"a" => 1, "b" => 2}]
shor answer -- because it works
masak ah. :) 10:29
I'll remove the comment again.
ihrd but you are right, I think this is should work without \\
masak I'll ask on #perl6
ihrd I was look on the last November today 10:44
review Dispatcher, and throw out a lot of old code 10:45
now it looks very clear
but I see a lot of strange "Use of unitialized value" when I try ./test_wiki.sh 10:46
and cant find out what produce it
masak ihrd: aye, that mystery has been plaguing us for several months now. 10:47
I think the solution will be interesting, but viklund++ has looked really hard and found nothing.
ihrd looks like something in the BEGIN {} 10:51
masak we have a BEGIN {} ? :P
masak looks
ihrd because I put debug messages on the top of november and it is still throw that first
masak also, during PIR compilation of November.pm 10:52
ihrd yes, I add BEGIN { say 1; } on the top of wiki, and it is say it first, but say after that do thet after all this messages 10:54
masak does that give any clue about what produces the messages? 10:55
I fear that the only way to find out what's causing them is to selectively remove parts of modules until nothing can be removed without making the messages disappear. 10:56
ihrd use November; produce first four
simple program with only 'use November;' 10:57
masak well, November.pm pulls in a lot of stuff. 10:58
ihrd yes, I am trying to found who exactly doing this 10:59
hm... when I put all November 'use something' in one file it produce only three 11:01
masak congratulations on the driver's license.
ihrd thank you
I like to drive car
masak :)
ihrd mb markup use produce one
masak the rakudobug about this will be hilarious, I bet. 11:02
ihrd ah! Tags.pm produce three! 11:03
my $.page_tags_path is rw = $r ~ 'data/page_tags/'; 11:05
do that
masak ah!
and $r, for some reason, isn't initialized?
ihrd yes 11:07
masak wonder why.
ihrd my $r = Config.server_root;
change to the Config.new.server_root and it works properly 11:08
ah, thi is because someone change Config 11:09
old days we have method server_root
masak rakudo: class A { has $.c = "foo" }; class B { my $.d = A.c }; say B.d
p6eval rakudo de786f: OUTPUT«Use of uninitialized value␤␤»
ihrd and can call it on tha proto-object
masak rakudo: class A { has $.c = "foo" }; class B { my $.d = A.new.c }; say B.d
p6eval rakudo de786f: OUTPUT«foo␤»
ihrd but now server_root is argument
masak ihrd: aye. 11:10
ok, so it's not a rakudobug.
ihrd still have anothe three messages, but I fell I found something similar
will find I mean
masak me too. 11:11
ihrd yes, we have commented $!config = Config.new; 11:17
this is in November init
hm... not this is wrong point 11:20
masak lunch &
ihrd fix all this stuff 11:54
no more "Use of unitialized value" 11:55
hm... current November x3 slow then it be when I check this last time :( 11:58
masak ihrd: that's not good :/ are you checking via the main page? if so, the slowness is a combination of much content and a slow markup parser. 13:05
viklund++ is working on caching.
ihrd masak: yes, main page 13:09
but no, markup do not slow it a lot
with minimal minus 0.2-0.3 s 13:10
masak ah.
good to hear.
ihrd November.pm do not compile to .pir
ehan I do make
I do not see why 13:11
masak tries
ihrd a! 13:14
this is because it do not find ::Escape
masak :/
that'd be my fault.
I kinda moved it to HTML::Template 13:15
ihrd fixed 13:16
masak thank you. 13:21
14:09 ihrd left 15:24 ihrd joined 15:51 Tene joined
masak Tene: greetings. 15:51
16:17 sri_kraih_ joined
Tene hi masak 16:48
masak Tene: I wrote a Happle test before I went to sleep last night. 16:53
haven't committed it yet, but I can easily do that. 16:54
there, pushed. 17:03
I suspect it'll be quite a big task to port Hpricot, but it'll also start to pay off pretty quickly. 17:04
having a HTML parser would be really nice.
but I'll put it on low-prio for the next few weeks.
Tene: anothing thing I thought of, about Tags, is that it'd be really useful if one could work validation in there somewhere. 17:05
checking that a <head> element is made directly under a <html> element, and so on.
Tene Interesting idea. 17:13
I'm still trying to decide how much of a problem it is for me that it's a singleton / non-thread-safe. 17:15
masak I thought of that too. 17:19
you can't have the cake and eat it.
either you need to create an object, or you'll have thread issues.
if you go with the object, you could call everything as methods, that might be nice. 17:20
given Tags.new { .html { .head { ... }; ... } }
though the risk of clobbering $_ is significant.
masak needs to go home in a few minutes 17:21
will port more of Rack this evening. 17:24
18:20 p6eval joined
ihrd YAy! 18:45
18:52 ihrd left 20:26 szabgab joined