svn switch --relocate svn.openfoundry.org/pugs svn.pugscode.org/pugs/ | run.pugscode.org | spec.pugscode.org | paste: sial.org/pbot/perl6 | pugs.blogs.com | dev.pugscode.org/
Set by putter on 11 February 2007.
00:02 rashakil joined 00:38 mako132_ joined 00:40 justatheory joined 00:46 seano joined 00:58 nipotaway is now known as nipotan
svnbot6 r15531 | lwall++ | add blockless gather form for problem 9 01:32
02:03 dvorak joined 02:08 dolmans joined
svnbot6 r15532 | lwall++ | Add caching version of problem 49 02:12
02:17 TimToady_ joined 02:20 dmq joined 02:47 Schwern joined 02:50 Pominx joined 02:55 b00t joined 03:02 nperez joined 03:06 TimToady_ is now known as TimToady 03:12 ccoffey_ joined, ccoffey_ left 03:13 SamB joined
specbot6 r14322 | larry++ | overgreedy .* noted by thom++ 03:22
03:50 Psyche^ joined 03:57 Psyche^_ joined 04:06 Psyche^_ is now known as Patterner 04:10 Yappo joined 04:44 amnesiac joined 05:08 Schwern joined
audreyt google talk coming up in 50min; wish me luck :) 05:11
TimToady luck!
maybe even good luck!
audreyt also good news: liver-blood-check today shows that I'll probably be fully recovered in 2wk
ooh :)
TimToady 福氣、好運、機遇... 05:15
audreyt 機遇 isn't quite Chinese :D 05:16
but thanks :D
TimToady interesting, got it out of my Mandarin dict.
audreyt means "Opportunity" but not quite used after 1940s 05:17
TimToady that would explain it
audreyt bbiab :))
05:18 offby1 joined
Aankhen`` Goodluck, audreyt! 05:23
Er. 05:24
Good luck, even.
audreyt slides: pugs.blogs.com/talks/google-pugs.pdf 05:36
Khisanth TimToady: ancient dictionary? :) 05:38
TimToady ancient language! 05:44
05:45 Yappo joined 06:04 dec_ joined 06:31 GeJ joined 06:37 rfordinal joined 07:03 iblechbot joined 07:18 jisom joined 07:28 nekokak joined 07:30 Squern joined
gaal audreyt++ 07:41
good morning
07:42 bsb left 07:43 DrSlump joined
nothingmuch hola gaal 07:52
gaal hey nuffin! 07:53
nothingmuch sup yo you yo
nothingmuch is in Incline Village NV
gaal watch your drink
nothingmuch no drink now 07:54
driving
plus have been awake for long
i doubt I willget anything more than an end of the day beer once or twice for the next 2 weeks
lumi_ Hi Gaal & emigrant!
gaal I'm just saying, must be hard to keep it from spilling
nothingmuch oh
ha ha ha
*cough*
gaal you know, you have a one-track mind. (hahahhaahhaaa) 07:55
hey lumi_ :)
lumi_ I have a tail
07:55 lumi_ is now known as lumi
nothingmuch i didn't get that one 07:55
>lumi_ == tail & horns
or mahybe }lumi- 07:56
antlers are better than horns
gaal one-track-mind+ADD == ???
anymoose
are you starting the less cody part of your excursion? please keep alive etc. 07:57
nothingmuch yep
tomorrow I do resort stuff
lumi Where are you excurding?
nothingmuch getting acclimatized to my board and the altitude
mammoth mountain resort
then I have an avalanche course
then I go to tioga pass
then I have a mountaineering course 07:58
then I play around in the tahoe region
by then it's been two weeks and I go home
lumi Do you learn how to be, or how to cause, an avalanche?
nothingmuch how to cause
hopefully i apply the negation of that 07:59
also, how to predict the ease of causing
gaal lumi: I think it's prep class for manic landscaping
nothingmuch and how to remove dead bodies from one
gaal like in the HHGTTG
07:59 the_dormant joined
lumi Pining for the (autographed) fjords? 07:59
nothingmuch no fjords around here
gaal any pines at least? 08:00
nothingmuch yes, plenty, i think
gaal well, they're all pining for the nonexistant fjords. obviously
huh I just realized audreyt probably put us on projector or something 08:01
*smiles*
unless it's already over? 08:02
nothingmuch what is already over?
HELLO EVERYONE WHO ARE YOU AND WHAT ARE YOU DOING?
lumi Gosh, are we on stage? 08:03
gaal nothingmuch: audreyt's giving (or was giving?) a talke
s/e$//
nothingmuch aha 08:04
08:05 marmic joined 08:10 nothing joined
gaal svn.pugscode.org down? 08:13
lambdabot Title: Revision 15532: /
gaal apparently not :/
08:24 BooK joined 08:25 BooK_ joined 08:36 drrho joined 08:45 Schwern joined 08:57 lampus_ joined, GabrielVieira2 joined 09:09 buetow joined 09:14 elmex joined 09:21 kanru joined 09:30 penk joined 09:56 buetow joined 10:04 IllvilJa joined 10:18 chris2 joined 10:29 iblechbot joined
gaal this is pretty quick'n'dirty, but I get about 17k dispatches per second with random data with ghci 10:37
Patterner how many do you need? :) 10:39
gaal don't know :) enough for this not to be considered a showstopper bottleneck
svnbot6 r15533 | gaal++ | * rudimentary benchmarking for dispatch algorithm
gaal I'd like to run this on a compiled+optimized version too, the numbers are sure to be better 10:40
and indeed they are: just under 37k/sec 10:42
Patterner how do you compile qc-dispatch? 10:43
gaal of course, this greatly depends on the generated samples, how big they are
Patterner: ghc --make -O misc/pX/audreyt/qc-dispatch.hs
Patterner I get lots of stuff like "undefined reference to `mtlzm1zi0_ControlziMonadziError_zdf19_closure'"...
gaal++ 10:44
gaal does --make solve the problem? 10:45
Patterner (34043,29006,36951) (tied/spoiled/okay) 1.835721 seconds
gaal groovy
your computer is faster than mine :)
2.71 sec here
Patterner goovy is a java language :)
groovy even...
gaal so is nice 10:46
Patterner size doesn't matter :)
gaal like audreyt said, this is going to be run a lot, so it has to be fast enough on slower machines too 10:47
11:13 mdiep_ joined 11:37 fglock joined, pbuetow joined 11:44 VanilleBert joined 11:52 devogon joined
audreyt 0.97039 seconds 11:58
12:04 ruoso joined
gaal audreyt: what cpu are you using? 12:13
I wonder if the algorithm can be made more parallel-friendly 12:14
moritz there seems to be a problem with pugscode.org's DNS 12:21
I can't resolve it anymore (tried in 2 different networks)
12:22 Psyche^ joined
gaal ah, and I thought it was a local problem with my isp 12:23
12:23 TimToady joined
moritz presumably not ;) 12:23
gaal moritz: try querying dns1.registerfly.com
# 216.40.47.18 12:24
12:25 fglock joined
moritz I think I'll just wait until it's fixed, I have no particularly pressing issues ;) 12:25
12:38 Psyche^ is now known as Patterner 12:39 VanilleBert left
svnbot6 r15534 | fglock++ | PCR - added stub for 'StrPos' class 12:52
13:09 IllvilJa joined, IllvilJa left 13:20 IllvilJa joined
dmq juerd: you about? 13:25
Juerd Yes 13:26
13:26 the_dormant joined 13:32 iblechbot joined 13:33 f0rth joined
moritz wow, t/regex/from_perl6_rules/stdrules.t all pass now (partly unexpected) 13:51
is there any reason not to remove the :todo<bug> labels? 14:13
if not I can do it ;-)
14:17 ayrnieu joined
moritz what does force_todo(@numbers) do? 14:18
14:19 [particle] joined
moritz and do we need it if the tests pass? 14:20
14:21 vel joined 14:27 bonesss joined
gaal moritz: see t/README 14:34
if tests pass, by all means please unTODO them :)
moritz++
bbl&
14:38 SCalimlim joined 14:40 Aankhen`` joined
svnbot6 r15535 | moritz++ | removed :todo<bug> labels for passing test in stdrules.t 14:44
14:56 fglock joined
fglock is there a module that supports 'graphemes' in perl5? 14:59
svnbot6 r15536 | fglock++ | PCR - StrPos - some fixes, docs 15:02
args graphemes?
15:03 amnesiac joined
fglock args: language-specific multi-byte chars 15:04
args fglock: certainly, but I don't see what you mean by supporting graphemes 15:05
fglock I need: grapheme_count( $str ) 15:06
length_as_graphemes()
args you mean fold casing ? surrogates ? 15:07
moritz ?eval "ähm".graphs
evalbot_r15534 3 15:08
moritz ?eval "ähm".bytes
evalbot_r15534 4
fglock moritz: I wonder is this is just reusing the codepoints() value 15:09
moritz fglock: "use v6" is no viable alternative? *g*
fglock moritz: this is for the v6 backend :)
moritz that's what they call recursion ;-) 15:10
fglock ?eval "ähm".codepoints
evalbot_r15534 Error: No compatible subroutine found: "&codepoints"
fglock hmm - my S02 must be outdated 15:11
moritz or it's just not implemented
fglock ?eval "ähm".codes 15:14
svnbot6 r15537 | fglock++ | PCR - s/graphemes/graphs/
evalbot_r15536 3
15:15 rlb3_work joined
svnbot6 r15538 | fglock++ | PCR - s/codepoints/codes/ 15:15
fglock Sadahiro++ String::Multibyte::Grapheme 15:17
15:20 GabrielVieira joined
svnbot6 r15539 | fglock++ | PCR - StrPos - added 'graphs()' 15:31
15:34 rashakil_ joined 15:40 GabrielVieira2 joined 15:42 rashakil__ joined 15:44 GabrielVieira2 is now known as GabrielVieira 15:46 VanilleBert joined
integral hmm, the svk on feather doesn't seem quite right: it's only r42975 (orig r15256) and neither 'svk pull' nor 'svk up -s' work (they give some weird RA layer 302 Found error). Anyone able to help fix this? 15:48
15:52 Psyche^ joined
integral Bleh, this is weird. "svn co svn.pugscode.org/pugs pugs-svn" works on my own box, but not feather. And the error from it on feather is the same as svk. 15:53
lambdabot Title: Revision 15539: /
kolibrie integral: my pugs checkout on feather gets the same 'RA layer request failed' failure 15:54
the last time I tried to update on feather (a couple weeks ago), I got 'The mirror is currently locked. This might be because the mirror is 15:55
in the middle of a sensitive operation or because a process holding
the lock hung or died.'
do not know if it is in any way related 15:56
integral doesn't think so, since svn is failing as well as svk
[particle] try pinging clkao 15:57
ajs_ I just updated twice with no problems
svn
15:57 Psyche^_ joined
integral ajs_: On feather? 15:57
moritz svn (not on feather) works fine for me as well 15:58
ajs_ sorry, missed that. no, not feather
integral Right, that's the same as me, it's only on feather that I've got problems.
kolibrie maybe it has to do with the DNS problem mentioned earlier today
integral okay, that sounds plausible 15:59
kolibrie from here svn.pugscode.org -> feather.perl6.nl (194.145.200.126) 16:01
from feather svn.pugscode.org -> svn.pugscode.org.sbp.kantoor.leaseweb.net (83.149.80.111) 16:02
integral *nod*, I'll just have to wait until things settle then :) 16:03
16:06 devogon joined 16:08 Psyche^_ is now known as Patterner, VanilleBert left 16:09 jdv79 joined 16:12 ajs_ is now known as ajs 16:14 fglock joined 16:34 bernhard joined 16:51 justatheory joined 17:03 forsaken joined 17:06 fglock joined 17:11 Lorn joined
svnbot6 r15540 | fglock++ | PCR - StrPos - added from_str_graphs() 17:11
TimToady fglock: graphs in Perl 6 may be matched with \X which is short for (?:\PM\pM*) 17:13
fglock TimToady: I'm actually doing the p6-backend work 17:14
17:18 kanru joined
fglock audreyt: re PCR hs_bridge, should it stay as-is, or upgrade to StrPos positions? 17:19
TimToady I mean, the P5 way to do it is \X, not the P6 way 17:20
17:21 Jedai joined
fglock TimToady: ah, much easier than what I was doing - thanks! 17:22
does $pos++ increments .graphs?
TimToady it increments whatever "char" means in this unicode mode. 17:24
which is default graphs
but under "use codes" or "use bytes" it would be a smaller bite 17:25
all subject to the maximum and minimum abstraction levels allowed by the stirng
fglock k 17:26
TimToady a string marked as "max bytes" will always increment by bytes even under a higher level
and it is likely an error to increment a "min codes" string under use bytes 17:27
in other words, it's okay for narrow characters to pretend to be wider, but not the other way around. 17:28
(as long as Unicode semantics are preserved) 17:29
(which means it is probably required to know the encoding of the bytes to know how they would have been treated if they'd been codepoints) 17:30
17:32 rashakil__ is now known as rashakil 17:34 vel6608 joined
svnbot6 r15541 | fglock++ | PCR - StrPos - removed String::Multibyte dependency; use \X to count graphs - TimToady++ 17:38
17:39 kanru joined 17:44 Lorn joined
svnbot6 r15542 | fglock++ | PCR - StrPos - new methods add_graphs(), add_codes(), clone() 17:53
18:00 awwaiid joined 18:01 lichtkind joined
PerlJam Does <<foo {somesub()} bar>> work? And if so, what's supposed to happen when somesub returns an array? 18:05
svnbot6 r15543 | fglock++ | PCR - Match.from and Match.to return StrPos objects; 2 new test fails; Pugs still works... 18:18
fglock ?eval sub somesub { <a b c> }; <<foo {somesub()} bar>>
evalbot_r15539 ("foo", "a", "b", "c", "bar")
ruoso I was thinking this days... One interesting feature would be to create a regex modifier to allow matching of unaccented characters, like /a/ with the modifier would match both 'ã' and 'a'
offby1 I bet you'd find characters where it's not clear if it's accented or not 18:19
just my general pessimism 18:20
ruoso offby1, that would depend on the locale
as \w already does
fglock ruoso: I think you can - maybe take a look at unicode properties
ruoso there's Text::Unaccent that does that by mapping
but having that as a regex modifier would be really interesting... 18:21
consider you have a html that you want to make some words bold, but one of these words have an accent, but you still want to make bold the word without the accent... 18:22
PerlJam ruoso: I'm pretty sure that is already specced and is not a regex modifier 18:23
ruoso PerlJam, any clue of what I should look for in the spec? 18:24
PerlJam not really. 18:26
But taking your example, you would do something like s/(word&mumble)/<b>$1</b>/g; where mumble is the thing that would include matching the appropriate unicode properties. 18:29
Jedai But is there really a case where you would like to match ANY accentuation of the same letter ? 18:30
ruoso yes...
Jedai, accepting mistyped names
Jedai Ok... 18:31
ruoso that's quite common in places where you accented letters in people's name
s/you /you have /
Jedai well, not as a regex modifier then ? Rather a letter by letter thing ? 18:32
ruoso letter by letter? hmm
doesn't seems like a good idea 18:33
this is what I do today... so no gain...
Jedai I mean something like a modifier who take letters as arguments
ruoso but... why would I need to pass the letters as arguments? 18:34
Jedai If you accept any accent, you accept things really different from what you want 18:35
It's really the same as Text::Unaccent
ruoso yeah... except that I can make a s/this/that/ and substitute both 'thís' as 'this' as 'thîs' 18:36
which is not that simple with p5 regexes 18:37
Jedai Yeah, I see your point :)
And it's pretty screwy to do with Text::Unaccent too 18:38
TimToady with Perl 6 you could presumably transform the string to NFD and then under "use codes" match the base character separately from the accents. 18:40
ruoso TimToady, hmm... how the code for that would look like? 18:41
Jedai The joys of unicode... 18:42
TimToady well, depending on how we represent Unicode properties, something like (<-M>)(<M>*) matches any grapheme and splits it into base and accents, assuming NFD 18:44
ruoso hmmm... I see... 18:45
ayrnieu (I lament the loss of the yen operator -- because I have it on my keyboard. Well, I can still use it for screen's cmd_char.)
TimToady just use it for backslash. :¥ 18:46
er, :\
ruoso but still... what if I want to match, but I simply don't want to care about it, as it is for case-sensitiveness.... 18:49
TimToady don't want to care about what? the accents? a<M>* 18:50
or do you want sugar for lexically scoped not-caring? 18:51
ruoso yeah... but this way I still have to go through all the chars that may be accented and add the <M>* after it
18:51 Lorn joined
TimToady so you want sugar for lexically scoped not-caring 18:51
ruoso I mean $str = 'João'; $str =~ s/(Joao)/<B>$1</B>/ 18:52
TimToady that could likely be arranged.
could even temporary match a chunk of string with NFD even if you never explicitly convert
fglock define your own 'regex_mod_external:<noaccent>' ?
TimToady maybe able to list the accents you want to ignore 18:53
ruoso optionally, yes... that could be usefull... 18:54
But I'm more in the sense of just ignoring it, as in ignore-case...
TimToady maybe just :insert which defaults to :insert(/<M>*/) or some such
hmm, insert too generic, but noaccent is kinda long 18:55
maybe overload :ignore
fglock :base 18:56
ruoso base seems fine
TimToady that probably works
presumably, like :i, it doesn't care whether you write the pattern with accents either, just normalizes both sides 18:58
ruoso sure...
[particle] isn't there already :base(n) for math-related stuff? 19:00
TimToady not in regex
also, like :i, only applies lexically in this rule, not dynamically in subrules
ruoso thinks this solves completely the problem 19:02
svnbot6 r15544 | fglock++ | PCR - ChangeLog - added StrPos
19:06 Squern joined
fglock brb 19:07
19:10 theorb joined 19:16 Khisanth joined 19:20 drupek12 joined
specbot6 r14323 | larry++ | Add :b/:basechar modifier as suggested by ruoso++. 19:25
ruoso :) 19:26
19:28 fglock joined
Juerd Ooh 19:31
Now if only we could /sort/ on basechars
[particle] thanks for not overloading :base
Juerd So that ń < ö < p 19:32
fglock mm - I wonder if PCR needs a Str class 19:34
TimToady there's a unicode report about sorting that goes into excruciating detail about all that. 19:38
and we already installed hooks into sort and cmp for alternate collation orders 19:43
(for some definition of installed that may not include implementation)
[particle] maybe it's for some definition of already 19:44
Juerd Neat, because Dutch has three different ways of sorting the ij. 19:46
TimToady well, who can explain the Dutch? Not even the Dutch... 19:47
Juerd Not at all.
But ij can be explained :)
It started as ii, which was like any double vowel.
And started a life of its own.
TimToady I can, of course, slang the Dutch because my ancestors were Flemish. :) 19:48
Juerd 14.oO( that explains a lot )
moritz did the Flemish invent the Flame war? 19:49
Juerd No, they have yet to invade .nl with caravans. 19:50
TimToady well, there were reasons my ancestors moved away, possibly involving flames
Juerd Trojan caravans.
Making us think they're paying tourists, while in fact they're full of soldiers :)
Hm, copper wire is more expensive than UTP, considering that UTP has 8 wires :) 19:51
svnbot6 r15545 | fglock++ | PCR - Grammar::Rule - fixed precedence of conjunctive/disjunctive ops
moritz can a method have multiple PRE blocks? 19:52
TimToady why not?
ruoso am I the only one who can't resolve pugscode.org? 19:53
moritz ruoso: this afternoon I had problems as well
TimToady: is that a "yes"?
TimToady dunno, but I can ping it
19:53 jesse__ joined
TimToady we don't usually forbid something unless there's a reason 19:53
so I really am asking "why not?" 19:54
moritz ok
TimToady that turns into "yes" only if nobody pipes up with a good reason
contrary to popular opinion, I don't actually know the answer to every question just yet. :) 19:55
moritz my thought was the following: if you have multiple conditions in a PRE-block and you connect them with "and", and one of them fails, you don't know which one failed...
ruoso whois pugscode.org gives a strange result...
moritz so a good workaround would be to use multiple PRE blocks 19:56
so that pugs/perl6 tells me which one failed
TimToady assuming some kind of assert-like mention of the code involved
moritz ?eval sub f($a is Num) {PRE {$a > 0} PRE {$a < 5} say $a} $f(2); f(50) 19:57
evalbot_r15539 Error: No compatible subroutine found: "$f"
moritz ?eval sub f($a is Num) {PRE {$a > 0} PRE {$a < 5} say $a} f(2); f(50)
evalbot_r15539 Error: PRE assertion failed: "&Main::f"
19:57 lampus_ is now known as lampus
TimToady just Num $a, not $a is Num 19:57
moritz ok
20:00 jesse__ is now known as obra
moritz so why does the first test in t/closure_traits/pre_post.t fails? 20:00
20:01 ozo_ joined
moritz ?eval sub foo(int $i) { PRE { $i < 5 } return 1; } foo(2); 20:01
evalbot_r15539 1
moritz at least it fails with r15530 20:02
TimToady Undeclared variable: "$i" 20:04
perhaps the closure isn't closing 20:05
it's not an int vs Int distinction 20:06
moritz well, it doesn't work if you substitute int by Num 20:07
TimToady or perhaps it's simply running the PRE before binding anything to $i, given pugs's penchant for belated reporting of undefineds. 20:08
20:08 Psyche^ joined
TimToady anyway, almost certainly a bug 20:08
svnbot6 r15546 | fglock++ | PCR - updated docs, TODO, ChangeLog 20:09
moritz I'm glad to hear that... PRE would be pretty pointless if you couldn't use the arguments
20:09 Lorn joined
fglock ?eval sub foo(int $i) { PRE { @_[0] < 5 } return 1; } foo(2); 20:09
evalbot_r15539 1
Juerd What is PRE?
moritz Juerd: preconditions 20:10
Juerd Eh, I knew that.
:)
I was reading PRE as yet another acronym, and didn't know that one yet :)
Argh. Thanks for being patient with me :)
moritz Perl Regular... E's?
Juerd P[ugs|arrot|erl] R[egular|ule|???] E[ngine|???], I was thinking. 20:11
moritz Enigma ;)
Juerd Perl Reality Enigma. 20:12
TimToady Potentially wRong Expression
Juerd Hehe
PWE { ... }
moritz Potentially wRong = Partially Right ;) 20:13
TimToady Potentially Other Stupid Thing
moritz is there something in p6 equivalent to Eiffel's class invariants? 20:14
TimToady Pink Remembering Elephants
potentially, though unspecced. I assume they're equivalent to identical PREs factored out from all the methods 20:15
so you could implement such a thing by distributing extre PREs to each method 20:16
moritz they are evaluated before and after any method call (except before the initialiser)
TimToady seems like it would be fairly easy to do even if we don't spec it officially 20:17
moritz so how would I do something like that?
fglock create a Role that adds PRE to methods... 20:18
TimToady depends on what kind of apparatus the MO folks hand us.
fglock Class->add_method( 'name', $closure does MyPre )
does this seem right? VAR(&meth).PRE.push( {...} ) 20:20
TimToady something like that, but you shouldn't need VAR 20:21
&foo.meth already calls a method on the &foo object. 20:22
only .() would be a problem.
fglock k
moritz funny... I've just written a test case that works fine inside eval(), and fails to compile outside of eval() ;) 20:30
TimToady In fact, I don't see any good reason offhand why a method declared inside a sub shouldn't just be considered a method on that &
fglock mm - anon prototype? $x = { method {...} } 20:31
with named methods, actually - $x = { method meth {...} } 20:33
moritz should POST have access to internal variables of a sub?
PerlJam doesn't quite see the unification of classes and subroutines as a good thing. 20:34
TimToady if they're in lexical scope, but it might not be best practice
PerlJam perhaps I'm just pessimistic today
moritz ?eval sub f(Num $i){my $x=$i; return 1; POST {$x > 0}} f(42)
evalbot_r15539 Error: POST assertion failed: "&Main::f"
[particle] -Opessimism
20:35 sili joined
TimToady I mostly just worry about the people who think -Opessimism is -Ofun 20:36
that set of people contains a lot of illigitimi that I have to non-carborundum 20:37
PerlJam btw, I had another idea for an article on Perl 6. "Perl 6: Where the heck is it?" I thought about trying to answer that question myself, but then decided that it would be better if I came up with some of the naysayer's arguments and such and then asked the set of questions to many of the principle players in Perl 6. 20:39
svnbot6 r15547 | moritz++ | Added test cases for subs with multiple (two) PREs or POSTs
Juerd PerlJam: See also the fears document, for inspiration
PerlJam People like larry, damian,chromatic,pmichaud,allison, etc.
Juerd: thanks.
Juerd I got caught up in other work, while writing that.
Yet another subproject died :(
sili slacker 20:40
:p
PerlJam Juerd: leonardo da vinci started bunches of projects that he never finished. But you have to start them before you can finish them anyway. :-)
moritz PerlJam: well, he died. so he wasn't successfull after all ;) 20:41
20:41 Patterner joined
sili dying makes people famous 20:42
PerlJam moritz: I don't know ... some people measure success by how many dreams you can dream.
Juerd PerlJam: Anyway, it's in quickref 20:43
moritz PerlJam: that's too philosophical for me ;)
Juerd quickref itself died too. Some of it is in Spec, but AFAIK, that's not maintained anymore either. 20:44
PerlJam I'm going to try to find time to write more about perl 6 this weekend (it might be hard since I'm going to SXSW) 20:46
Anything in particular that you guys think is lacking in terms of bring perl6 to the people?
sili PerlJam: working code 20:47
(pugs excluded)
moritz something cool about rules
PerlJam sili: pugs is our anchor until perl6-parrot comes alive.
moritz: like what? Rules aren't cool all by themselves? 20:48
moritz PerlJam: no, but what you can do with them is cool IMHO - so an example would be nice.. 20:50
specbot6 r14324 | larry++ | typo from perl++
r14324 | larry++ | clarification that :b includes mark characters in actual matched text
moritz PerlJam: but then you'd have to explane a lot I guess
PerlJam moritz: explaining alot is almost the point :-) I want people to be comfortable with perl 6.
I guess I could start a tutorial or two. Or take up Juerd's flag and start fleshing out quickref 20:51
[particle] pj: keep your eye on parrot's object model, which is being implemented *now*. expect perl 6 with object support shortly after 20:52
PerlJam [particle]: is it documented in the pdd?
[particle] allison, jonathan, and mugwump have been working on the draft pdd 20:53
it's updated in the repo. i'm writing tests, and jonathan's coding pmcs
PerlJam I'm guessing parrot's object model closely mimics perl 6's now?
[particle] there's a pir-based prototype impl in compilers/smop/
of course 20:54
once we have objects and i/o, we'll release 0.5.0
PerlJam who's RM for that one?
Coke?
[particle] which one? 20:55
PerlJam 0.5.0
[particle] dunno, wheever's lucky enough to be the rm when we decide the next release will be 0.5.0
PerlJam Didn't they go to a rotating RM schedule?
[particle] yes, but we haven't chosen the release numbers yet
PerlJam oh, I see.
[particle] coke's releaseing 0.4.10 this month
PerlJam Coke++ (like he has a choice ;-) 20:56
anyway ... I've got work to do 20:57
PerlJam &
20:59 fglock left 21:02 Lorn joined
sili PerlJam: I think a "Learning Perl 6" type wiki would be helpful. there's a lot of documentation out there, but it's not very organized and is dating quickly 21:08
it needs to be maintained, most importantly
21:14 Lorn joined 21:20 drupek12 joined
tene sili: the stuff in svn isn't dating so quickly. 21:21
sili tene: perhaps, but i think if the goal is to start putting perl6 in the hands of users, it needs to be accessible. in other words, a pretty web site 21:22
tene sili: the reason things are dating is because Perl 6 is still in heavy development.
sili tene: i understand that 21:23
tene However, if you want to volunteer to put together such a website, I'm sure it will be quite appreciated. :)
sili $newcomer doesn't, and doesn't want to bother with such things
there's a wiki up there somewhere, it just needs to be maintained 21:24
moritz sili: $noewcomer who doesn't want to be bothered with language changes shouldn't use p6 yet ;)
[particle] ?eval 1 << 29
evalbot_r15539 Error: ␤Unexpected "<< 29"␤expecting operator
[particle] ?eval 1 +<< 29 21:25
evalbot_r15539 Error: ␤Unexpected end of input␤expecting block, "\\", variable name, ">>" or "<<"
[particle] ?eval 1 +< 29
tene sili: I think moritz is probably right. The type of user you're trying to appeal to doesn't want to use Perl 6 until it's released.
evalbot_r15539 536870912
sili maybe
moritz tene: on the other hand once it's out we _have_ to have tutorials etc., and then it's too late to write them 21:26
tene how is it too late?
moritz well, when p6 is released, it will be in all the (tech) news and will get lots of attention... 21:27
and many people will try it...
and if they can't find suitable documentation they'll just abandon it 21:28
which is not what we want
21:29 beppu joined
tene That's probably true. 21:30
kolibrie hopefully we'll feel a change in the breeze and know when to write them 21:45
ayrnieu If you build it, the technical writers will come. 21:47
21:49 vel joined 21:51 Limbic_Region joined 21:52 vamo joined 21:53 vamo left 21:58 pmurias joined 22:01 justatheory joined 22:02 IllvilJa joined
pasteling "ajs" at 63.107.91.99 pasted "example of v6 regex parsing failure" (13 lines, 609B) at sial.org/pbot/23398 22:04
ajs Am I doing something odd there, or is v6?
Or does backwhacking in rules just not work very well right now
?
ayrnieu PerlJam - I'd like simple comparisons: 'here is idiomatic $lang code', 'here is functionally similar but idiomatic perl6 code', with comments on anything interesting about the perl6, but otherwise not emphasising the comparison.
ajs v6 says: "Error in perl 6 parser: parsing error in Expression: ..." ~ $/[0]" 22:05
[particle] sure 22:07
{ return " " ~ $/[0] }
probably doesn't like that for some reason
ajs So it would seem...
[particle] although i don't see why it wouldn't work 22:08
ajs It almost smells like it's reading the previous "\\" as "\" ... I'll try dumping the P5
22:09 justatheory joined
ajs Sadly, it never gets far enough to dump 22:09
22:10 Psyche^ joined 22:11 justatheory joined
ayrnieu PerlJam - especially where $lang eq perl5, of course, but Ruby is also a good candidate for some things, like monkeypatching examples. 22:12
ajs Yeah, I just changed that { ... "\\" ... } to { ... $bs ... } where I'd set $bs to a backslash, and it worked. 22:16
seems v6 may have problems with escapes in rule-embedded code 22:17
not shocking
22:22 Psyche^ is now known as Patterner 22:35 weinig joined 22:54 Limbic_Region joined 23:02 Belaf joined 23:03 DebolazY joined
allbery_b so, about versioning: a non-perler on #lopsa has raised a couple issues 23:09
(1) explosive complexity when a program ends up requiring 5 different versions of a perl module
(2) what happens when you end up mixing multiple versions of something like DBI?
[particle] you get what you deserve? 23:10
;)
allbery_b well, he's worrieid that it might end up becoming common practice. my take is that it's sufficiently complex and de-huffmanized to suggest "don't do that" but he still worries 23:11
personally I'd like to see a system where modules declare (a) version (b) compatibility; consumers declare compatible module versions (or don't, and risk faiure at runtime); (c) p6 finds the "best" single module that conforms or throws a compile time error saying what constraints need to be satisfied 23:14
[particle] if you're using different module versions with different apis in the same scope, that's a problem
(if it's even allowed--i imagine it isn't) 23:15
allbery_b the problem is,, wha constitutes scope?
[particle] a class or module?
allbery_b in the case of something like DBI, the underlying database foo essentally makes the scope the entire program. likewise when any module has internal state that isn't instance state 23:16
the proposed p6 behavior is IMO only safe for stateless modules
TimToady not without aliasing 23:17
it's not like we haven't talked about those issues over and over already...
[particle] again! again! 23:18
TimToady I think you're ignoring wha'ts already specced on modules that manage exclusive resources
allbery_b I may have missed them
TimToady it's also possible that it never made it from apocalypse to spec. :) 23:21
allbery_b where do I find the spec on exclusive resources? it's not in S11 wehere I would expect it
TimToady but we've certainly been discussing it recently
allbery_b huh
TimToady in p6l, for instance. 23:22
allbery_b hm, thought I was on p6l 23:23
seen lots f discussion about shaped arrays recently, but the only version stuff I've seen is snippets here 23:24
TreyHarris TimToady: yeah, i was just looking, i don't think it made the A->S transition
allbery_b: do you filter out the svn commit emails? it's been in a thread whose subject line is one of the commit logs
TimToady I guess I'll have to fix that then..
allbery_b nope, I get those 23:25
and I check my flters regularly so would notice if somehow they were getting spamfiltered
TreyHarris allbery_b: check your subject lines for /r14317/ 23:26
allbery_b hm, I've been getting those. 23:27
okay, so maybe it's the damn drugs doing the filtering :/
allbery_b needs to call $doctor and find out if there's some other alternative, this seems to only have downsides currently 23:28
TimToady it's certainly not adequately specced, regardless of how much we've discussed it.
23:30 nperez joined
allbery_b hates being drugged asleep half the time and half out of his mind the rest 23:30
23:31 theorbtwo joined 23:33 geoffb joined 23:56 jisom joined