pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | <stevan> Moose... it's the new Camel ":P | .pmc == PPI source filters! Set by Alias_ on 16 March 2006. |
|||
00:00
jisom joined
|
|||
theorbtwo | ruoso: Interesting... | 01:21 | |
nothingmuch | ingy: stevan found us an apartment: newyork.craigslist.org/mnh/roo/144956640.html | 01:33 | |
obra | nothingmuch: you're moving to .us? | 01:34 | |
nothingmuch | obra: yes | ||
obra | cool | 01:35 | |
01:42
zhobson joined
01:58
amnesiac joined
02:19
avar joined
|
|||
ruoso is surprised that beer is mentioned so many times in his presentation | 02:22 | ||
theorbtwo | ruoso: Interesting indeed. Um, you mean perlmonks, right? | 02:23 | |
ruoso | theorbtwo, yeah | ||
theorbtwo | Where is this presentation? | ||
ruoso | FLISOL | 02:24 | |
latin-american free software installation festival | |||
this event takes place in more than 100 cities at the same day | |||
theorbtwo | I'm afraid I won't be able to attend, then. It'll be broadcast on the internet somehow? I'm very interested in what you have to say about us. | 02:25 | |
ruoso | here in fortaleza, northeast of brazil, we also present talks... | 02:26 | |
theorbtwo, sorry... no broadcast... and the slides are mainly pictures from yapc::brasil::2005 | |||
theorbtwo | Oh. | ||
ruoso | the subject of the talk is "The Monastery - or - why a isolated programmer is a dumb programmer..." | 02:28 | |
theorbtwo | Heh. | ||
Sounds interesting. | |||
nothingmuch | hmmm... late | 02:29 | |
sleepy time | |||
theorbtwo | G'night, nm. | ||
ruoso needs to sleep too... the event starts in the next 8 hours... | 02:30 | ||
bye | 02:31 | ||
theorbtwo | Bye! | 02:32 | |
You should maybe post your nodes as a PMDiscuss? | |||
02:46
amnesiac joined
03:00
flounder99 joined
|
|||
flounder99 | who * | 03:07 | |
meppl | gute nacht | 03:46 | |
04:01
elmex_ joined
04:19
amnesiac joined
04:23
dmitri joined
04:27
dmitri left
04:29
coignard joined
05:26
scw joined
|
|||
wolverian | www.bbspot.com/News/2002/11/fired.html ... :) | 05:37 | |
05:48
coignard joined
|
|||
coignard | how long does src/Pugs/Parser.hs take to compile? | 05:48 | |
it's been like 20 minutes now, I swear | 05:49 | ||
06:07
amnesiac joined
06:17
KingDiamond joined
06:56
iblechbot joined
08:38
ghenry joined
|
|||
gabor529 | chown is mentioned in S29 but I could not find chmod anywhere, neither of them seems to be implemented in Pugs | 08:53 | |
are they going to be around ? will they work the same way as in Perl5 ? | |||
gaal | gabor529: feel free to propose how it should look like. it's easy to code, so feel free to commit too :) | 09:06 | |
gabor529 | I can write tests for them... | 09:07 | |
gaal | adding stuff to Prim.hs is a fun way to start haskell, go on you know you want to! | 09:08 | |
actually, there is a chmod already in pugs. | 09:09 | ||
line 955 in Prim.hs | |||
looks like it accepts a numerical mode and a list of files | 09:10 | ||
and returns the count of successful chmods, which is kinda weird, because it also fails if it doesn't succeed :) | |||
er no sorry, actually it doesn't fail on errors, it's doBoolIO not guardIO. | 09:11 | ||
but that should probably be changed :) | |||
gabor529 | I think it should return the list of files that were successfully changed | 09:13 | |
gaal | is that what p5 does? | 09:16 | |
no; p5 returns the count as well. | 09:17 | ||
gabor529 | yeah, but I don't learn much from that information alone | 09:19 | |
gaal | agreed. by all means propose something better on p6l :) | 09:20 | |
gabor529 | oh and it seems the stat() function of P5 is also missing from Pugs | 09:53 | |
10:15
Aankhen`` joined
10:32
chris2 joined
11:03
larsen joined
|
|||
svnbot6 | r9735 | szabgab++ | tests for chmod, | 11:03 | |
r9735 | szabgab++ | some of them fail | |||
r9736 | szabgab++ | more entries in docs/quickref | 11:09 | ||
11:18
gabor529_ joined
11:45
nothingmuch joined
|
|||
nothingmuch | question: how do you call that wire mesh thing you bake on? | 11:46 | |
gabor529_ | nothingmuch: mangel ? | 12:03 | |
I wonder if <a b c>.say should print a newline after each element | 12:04 | ||
Gothmog_ | I would think that <a b c>.say is more like say <a b c> than say for <a b c>? | 12:07 | |
nothingmuch | gabor529_: reshet afiya | 12:09 | |
nothingmuch agrees with Gothmog_ | |||
12:10
zor joined
|
|||
nothingmuch | otoh <a b c>Ā».say is like say for <a b c> | 12:10 | |
12:28
elmex joined
|
|||
gabor529_ | I would like to write ./pugs -e '"t/numbers.txt".slurp.uniq.say' | 12:43 | |
but now I need to write ./pugs -e '"t/numbers.txt".slurp.uniq.map:{"$_\n"}.say' | |||
better yet I would like to write ./pugs -e '"t/numbers.txt".slurp.uniq.map:{"$_\n"}.say("out.txt")' | |||
I mean without the map ./pugs -e '"t/numbers.txt".slurp.uniq.say("out.txt")' | 12:44 | ||
Gothmog_ | You can use what nothingmuch suggested... pugs -e '"t/numbers.txt".slurp.uniqōæ½xBB.say' | 12:45 | |
gabor529_ | ok, I missed that, what is that sign after q ?I only see some black thing | 12:46 | |
Gothmog_ | >> | 12:47 | |
13:09
cm_ joined
13:10
cm_ is now known as cm
|
|||
gabor529_ | ?eval <a a b c>.uniq.say | 13:12 | |
evalbot seem to be down anyway | 13:14 | ||
<a a b c>.uniq>>.say | |||
unexpected ">" | |||
and if I use a real >> then I get unexpected "\187" | 13:15 | ||
Gothmog_ | Probably the hyper operators are only partly implemented... | 13:18 | |
13:26
Toaster joined
13:34
turrepurre joined
13:35
nothingmuch joined
|
|||
svnbot6 | r9737 | fglock++ | pX/PCR/opp - added ternary op; emits p6 or p5 code | 13:55 | |
13:59
Southen joined
14:04
r0nny joined
|
|||
miyagawa | audreyt: ping | 14:17 | |
14:28
Limbic_Region joined
14:29
lightstep joined
14:30
Toaster joined
14:39
flounder99 joined
14:42
flounder99 left
14:50
pdcawley_ joined
|
|||
TimToady | gabor529_: eventually <a a b c>.uniq.each: { .say } should work too. | 14:56 | |
avar | will <a b a c>.uniq.each: { .say } give the same output? | 15:00 | |
or does the list need to be sorted like uniq(1) requires | |||
TimToady | that would depend on the implementatoin of .uniq which has never been specified, since Perl 5 doesn't have it. | 15:05 | |
I imagine the thinking with uniq(1) is that there might be some reason to want to collapse multiple runs for non-sorted data. | 15:06 | ||
Of course, these days anyone would use sort -u for that.... | |||
(I mean, for the .sort.uniq case) | |||
gah, no coffee yet... | 15:07 | ||
gabor529_ | I am not picking on uniq here, I am just trying to figure out how to replace the unix pipeline in a fashionable way within Perl6 | 15:08 | |
miyagawa | TimToady: ohayo! | 15:10 | |
TimToady | miyagawa: sochira mo! | 15:11 | |
miyagawa | TimToady: I assume your flight is a few hours away. Have a safe flight! (Yoi Tabi wo!) | ||
TimToady | ćććććććļ¼ | 15:12 | |
I sent my preliminary slides to Kondo-san. | |||
miyagawa | TimToady: appreciated. | 15:13 | |
(sorry, my irc terminal doesn't grok UTF-8 ...) | |||
TimToady | 'sou shitai, yo!' to katta. | ||
miyagawa | wakari masita :) | 15:14 | |
TimToady | *kaita | ||
*kakimashita | |||
*okaki shimashita | |||
Limbic_Region hands TimToady some virtual coffee | 15:16 | ||
TimToady | LR: thnx | ||
avar | TimToady: I guess you could make arguments for <a b a c>.uniq => qw(a b c) or qw(a b a c) both ways | ||
avar wonders when the other would be useful | |||
miyagawa | TimToady: Considerign your Japanese skills, this Marty's talk tokyo.yapcasia.org/sessions/_kongougo.html looks very interesting. | 15:17 | |
TimToady | zannen desu ga, nihongo de wakari-nikui. nihongo de, atama ga taihen osoku... | 15:18 | |
*osoi | |||
jitsu wa, eigo de sono hanashi wo kikimashita. | 15:21 | ||
miyagawa | naruhodo! | 15:22 | |
was it interesting? | |||
TimToady | hai | ||
gabor529_ | are we going to have a slurp that does *not* chomp the newline or a "say" that adds a newline to every element in list context ? | ||
the latter can be solved with a map in front but it looks less natural | 15:23 | ||
TimToady | slurp should not autochomp. | ||
nothingmuch | hat if it's chuck norris slurping? | ||
gabor529_ | TimToady: not even in list context ? | 15:24 | |
TimToady | slurp never splits, even in list context. The whole point of slurp is to return the entire file as one string. | 15:25 | |
nothingmuch | list context is the =<> fish operator | ||
it's readline | |||
and it's lazy | |||
so it accomodates both slurping and loop-reading | |||
and it autochomps based on the handle's options, right? | |||
gabor529_ | then "t/numbers.txt".slurp.say should be cat, but it is not for me | 15:26 | |
TimToady | Actually, it should add a newline. You want .print for that. | ||
gabor529_ | it eliminates the newlines from between the lines | ||
nothingmuch | gabor529_: then it's a bg | 15:27 | |
bug | |||
gabor529_ | then "t/numbers.txt".slurp.print gives the same | ||
nothingmuch | gabor529_: add tests please =) | ||
gabor529_ | nothingmuch: sure | ||
TimToady | my attention will be spotty now--have to go pack for Japan... | 15:29 | |
15:36
Khisanth joined
|
|||
gabor529_ | If I am not mistaken my chomp should work in list context on each element like in perl5 ? @a = chomp ("abc\n", "bcd\n"); | 15:43 | |
@a is ("abc\n", "bcd") in my Pugs | 15:44 | ||
15:45
gabor529_ is now known as gabor529
15:47
jisom joined
|
|||
avar | it still works in place (in p5) | 15:49 | |
16:20
viewer joined
16:31
mc__ joined
|
|||
mc__ | is perl6 ready for serious development on it? | 16:32 | |
merlyn | development to finish perl6, yes. :) | ||
using perl6 for production, not quite. | |||
it'll be ready "by christmas" | |||
mc__ | merlyn: this year christmas? | 16:33 | |
merlyn | that's not quite clear | ||
mc__ | merlyn: ok thanks | ||
svnbot6 | r9738 | szabgab++ | test chomp in list context | 16:53 | |
r9738 | szabgab++ | it seems to join its paramaters into one string | |||
16:54
ajs_home joined
16:55
amnesiac joined
17:06
nothingmuch joined
17:20
DesreveR joined
17:26
jisom joined
|
|||
coignard | hmm | 17:28 | |
17:30
rindolf joined
|
|||
rindolf | Hi all! | 17:30 | |
How do I generate the HTML output for the test? | |||
How do I generate the HTML output for the *tests*? | |||
jisom | make smoke? | ||
svnbot6 | r9739 | szabgab++ | some more string related tests | 17:33 | |
17:35
mj41_ joined
|
|||
nothingmuch | www.instructables.com/ex/i/961CB130...143E7E506/ | 17:54 | |
rindolf | jisom: thanks | 17:55 | |
18:03
justatheory joined
18:09
FurnaceBoy joined
18:15
tri joined
18:29
jisom joined
|
|||
rindolf | Damn - it takes a long time to run make smoke. | 18:53 | |
nothingmuch | well, the pugs test suite is huge | 19:01 | |
rindolf | nothingmuch: yeah | 19:09 | |
That and pugs is slow. | |||
coignard | heh. | ||
gaal | commits welcome | ||
coignard | I am running it on 400mhz cpu | ||
gaal: I soon as as make ends of it, just downloaded pugs last night | 19:10 | ||
:) | |||
19:11
b_jonas joined
19:20
KingDiamond joined
|
|||
rindolf | It finished. | 20:00 | |
20:05
bernhard joined
20:09
rashakil joined,
SamB joined
20:35
premshree_ joined
20:57
swarm joined
21:14
ayrnieu joined
21:17
ruz joined
|
|||
spinclad | nm: 'wire mesh thingy': we call it a rack here (oven rack) (top rack, middle rack, bottom) | 21:17 | |
we cooked some pizza here last night in 8x8" (20 x 20 cm) pans (too small) -- the first one didn't cook the dough through, the second we left in a long time and was crunchy but good. | 21:20 | ||
21:23
KingDiamond joined
21:25
Kattana joined
21:29
frobnitz joined
21:34
kanru joined
21:37
turrepurre joined
|
|||
Toaster | pizza should always be cooked on a solid preheated tray, smeared with flour and oliveoil | 21:45 | |
otherwise the base doesn't crisp | |||
(at the highest shelf of the oven) | |||
PerlJam | Toaster: pizza should always be cooked on a pizza stone. | 21:52 | |
21:55
iblechbot joined
21:58
ColARes joined
|
|||
nothingmuch | lowest place in the oven emulates a pizza stone | 22:05 | |
that's my rationale anyway | 22:06 | ||
and it works for me =) | |||
PerlJam | nothingmuch: no, a pizza stone is porous. Your typical cookie sheet or pan or whatever isn't. | 22:07 | |
(but if it works for you, then it works for you. :-) | |||
nothingmuch | the cookie sheet is very temporary | 22:08 | |
it stays there only so that it doesn't stick to the rack | 22:09 | ||
otherwise the dough is cooked to deeply | |||
err, baked | |||
PerlJam | nothingmuch: oh, that's excellent too. Cook it just enough for the dough to support itself, then remove the cookie sheet. | 22:10 | |
PerlJam always just uses a stone though :) | |||
nothingmuch | i don't have a stone | ||
please post a comment in step 6 | |||
on how to use one | |||
PerlJam | Really it should be in step 5 I think. You need to get the stone hot with the oven. | 22:14 | |
nothingmuch | PerlJam: also, i slightly rephrased step 6 to make it clearer what the sheet's purpose is | ||
okay | |||
from a chronological POV that makes sense | |||
however from a versioning point of view i still think it relates more to baking | |||
PerlJam | Once the stone is hot, you just put the pizza on it an let it cook :) | 22:15 | |
nothingmuch | aye | ||
PerlJam | some people (my wife) put corn meal to prevent sticking, but really I think that's just left-over knowledge that doesn't apply to the stone (I've yet to have *anything* stick on the stone) | ||
nothingmuch | glue? | 22:16 | |
PerlJam | Though If you've spilled some cheese on the stone before and didn't clean it well, it may leave a slick (non-porous) spot that I would imagine could cause food to stick. | 22:17 | |
nothingmuch | hmm | 22:18 | |
how pourus is it? like teapot clay? lava rock? | |||
PerlJam | Um I don't know what "teapot clay" is like (my teapots are all either ceramic or metal) but it's definitely *not* like lava rock :) | 22:19 | |
It's porous enough that if you drop some water on it, it will seep through rather quickly. | 22:20 | ||
I guess it's kind of like unglazed tile | 22:21 | ||
or perhaps dry but unfired clay brick. | 22:22 | ||
nothingmuch | hm | ||
PerlJam | er, scratch that last one, it's not like unfired clay | ||
nothingmuch | PerlJam: so, are you posting? ;-) | 22:24 | |
PerlJam | too distracted at the moment. | 22:25 | |
nothingmuch | okies =) | ||
i'll make a script that uses WWW::Mechanize to mail you every hour that you didn't | |||
svnbot6 | r9740 | fglock++ | pX/PCR - /(.)*/ returns an array in @$0; t/06-subrule.t pass all tests | 22:31 | |
Toaster | hm, hadn't thought of a pizza stone, not owning one | 22:56 | |
but with the materials available, a big slab of solid hot metal's worked well for me | 22:57 | ||
. o O ( next on #perl6, get to know and love your ramen) | 22:58 | ||
nothingmuch | i gave up on that a while ago... too hard to clean, and since I learned about the sheet/rack trick i've been getting good results anyway | ||
ramen? | |||
maybe are pans are too thin | 22:59 | ||
Toaster | noodahls | ||
nothingmuch | i think they're cold again by the time i finish putting the pizza on them and back in the oven | ||
also, they're not really metal | |||
Toaster | (pizza + ramen + jolt being the most stereotypical hacker food group i can think of) | ||
nothingmuch | they're covered by enamel | ||
not this type of pizza =) | |||
see also VICTUALS in pugs root ;-) | 23:00 | ||
Toaster has :) | |||
guess this pizzalore should be added to it | |||
nothingmuch | "commits welcome" | 23:02 | |
23:05
hlen joined
23:26
coignard joined
23:30
meppl joined
23:39
meppl joined
|