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.
dduncan re the latest synopsis update, that option to have an extra short label for a longer named parameter looks useful 00:05
as I've found that the best internal name is often too long to be used repeatedly as a named argument
and hence I've been using shorter names throughout 00:06
on the other hand, trying to figure out a name that is both short and descriptive allows for some more thinking about what works well
00:16 YetAnotherEric left, buubot joined 00:18 buubot joined
TimToady dduncan: it seems like it was the logical way to get at :g($global) adverbs as well, and I decided it shouldn't have too much impact if the long names are just the fallback. 00:18
and I wanted it for STD
dduncan ok 00:19
00:22 weinig|bbl is now known as weinig 00:23 Schwern joined 00:24 CardinalNumber joined 00:32 macli left
svnbot6 r15329 | lwall++ | modifiers for regex, trans and p5regex 00:43
r15329 | lwall++ | long modifiers in :g($global) named parameter form
00:44 CardinalNumber is now known as ProperNoun
Limbic_Region hey TimToady - is hash/array slices in scalar context documented anywhere (perl5 and/or perl6)? 00:44
TimToady don't think it's documented in P5 00:45
if it is, probably documented to take the last value
Limbic_Region couldn't find it in perldata
TimToady in P6 would always turn into [...] 00:46
Limbic_Region thanks
TimToady there's nothing in P6 that automatically returns the last value of a list except [-1]
well, any maybe pop 00:47
Limbic_Region reverse shift
TimToady but none of those are "automatic"
Limbic_Region yeah 00:48
I was just thinking that you had to be wrong though
since that would imply there is only one way to do it
:P
TimToady I'm trying to think what's there that would only give you one way. .WHICH and .WHAT maybe 00:50
though you could always write macros...
actually, those come in functional forms too, so I guess they don't work
tene could you manually dig them out of a symbol table or some such?
Limbic_Region speaking of which, what synopses speak to introspection? 00:51
s/what/which/
TimToady mostly S12, some in S02
a lot of it is intentionally punted off to .HOWland, which is where MO and Moose come in. 00:52
Limbic_Region audreyt has indicated that 6.28 release is RSN so I will read S12 in detail RSN too 00:53
TimToady S12 won't talk about MO
Limbic_Region has mostly held off
TimToady well, not much...
presumably .HOW.methods is returning something from MO 00:54
Limbic_Region who was the prime mover in the meta object work - stvn?
TimToady yes
tene "prime mover" 00:55
TimToady with a lot of help from audreyt and, putter was it?
tene things of Thomas Aquinas.
Limbic_Region I think so
tene s/thing/think/
00:56 nipotaway is now known as nipotan
TimToady and of course nothingmuch is at one level the prime mover of MO 00:56
sort of the Moose porter
Limbic_Region so has perl 6 fully adopted the MO model?
and if so, shouldn't S12 cover it in greater detail
TimToady no, Perl 6 is completel agnostic on the subject of metaobject models. 00:57
s:5th/ /y /
s:5th/ <sp> /y / rathre
er
"Pay no attention to the MOP behind the .HOW curtain..." 00:58
Limbic_Region ok 00:59
well, I then don't much care about MO as the means by which pugs delivers an S12 perl 6
TimToady of course, the fact that P6 uses MO for its default MOP should likely be documented somewhere eventually...
Limbic_Region I just hadn't followed S12 too closely until it was something I could actually use
perl 5 was my first dive into OO 01:00
and while I speak Java relatively fluently
TimToady you can use most of S12 now, it's just a handrolled MOP that's not very introspectible
(in pugs)
Limbic_Region I don't quite grok things that are that abstract without some practical implementation to play with 01:01
oh, I realize that now
TimToady 6.28 should change that part
Limbic_Region but not when I wanted to
pugs OO was changing daily when I was interested
TimToady indeed, the abstraction barrier is precisely why MO is swept behind the .HOW curtain.
01:01 buetow joined
TimToady but I admit that the distinction is firmer in my mind than in reality. :) 01:02
01:02 bsb left
Limbic_Region I think the flavor of my code will strongly be affected by perl 6 OO once I grok it completely 01:03
I rarely resort to OO in perl 5
mostly imperative with a strong functional flavor
TimToady well, if not, we didn't design it right... :)
Limbic_Region despite never having learned a truly functional language
TimToady just think of objects as strange monads and you'll be fine. :) 01:04
Limbic_Region heh 01:05
I kinda need to learn ML
01:06 mjk joined
allbery_b haskell! 01:06
TimToady mooskell!
MoosekelL 01:07
Limbic_Region allbery_b - Alice is based of ML and since Alice has the features I need, it wins
TimToady well, what about Bob?
Limbic_Region en.wikipedia.org/wiki/Alice_programming_language 01:08
Bob - imdb.com/title/tt0103241/
lambdabot Title: What About Bob? (1991)
TimToady someone should port Perl 6 to run on top of Alice someday. :) 01:13
futures in Perl 6 are generally spelled "==>"
tene Does that make "<==" "pasts"? 01:14
TimToady is not sure whether he should cry or swear. :) 01:15
tene Both! 01:16
TimToady decommuting & 01:27
01:33 putter joined
putter can one create a A.pm which when used, causes a B.pm's import() to run as if it had been called directly? 01:37
if B has an actual import() sub, rather than getting it via inheritance, one could simply goto() it. 01:38
and if !UNIVERSAL::can(B,'import'), you are done.
but if B's import() comes via inheritance, perhaps from Exporter... (visions of special casing that pushed aside for just now), what can one do? 01:39
[particle] damian has a perl 5 module for that
putter !!! :) 01:40
devbot6 putter: Error: "!!" is not a valid command.
putter do tell
[particle] lemme see if i can remember, with cpan to aid me
search.cpan.org/~dconway/
lambdabot Title: Damian Conway - search.cpan.org
[particle] Toolkit 01:41
search.cpan.org/~dconway/Toolkit-0....Toolkit.pm
lambdabot Title: Toolkit - Keep your handy modules organized - search.cpan.org
putter :) 01:48
[particle]: my thanks
he took the source filter approach. i tried that, but though I encountered problems when B was itself a filter. but perhaps i was confused. will try again. 01:49
tnx
s/though/thought
01:53 bsb joined, Squern joined 01:57 rashakil__ joined 02:00 avar joined 02:15 REPLeffect_ joined
putter oh drat. that commit note should have been [particle]++. ;) 02:16
02:16 lpwave joined 02:27 Schwern joined
svnbot6 r15330 | putter++ | misc/pX/Common/v6.pm - Created. A v6.pm delegator. This small module flexibly delegates "use v6-alpha;" requests to actual implementation modules. 02:35
r15330 | putter++ | It defaults to a Pugs::Compiler::Perl6::v6, where the current v6.pm could be moved.
r15330 | putter++ | First draft - largely untested.
02:38 xdg joined 02:41 Schwern joined 02:42 Schwern joined 02:43 [particle] joined 03:20 REPLeffect_ joined 03:23 Aankhen`` joined
putter how about yet another variable scope? "nested local". 04:03
consider a regex / (...{local $a=3}...{X}... ) ... {Y} / 04:04
currently both X and Y can see $a=3.
the objective is a scope such that X can see $a=3, but not Y. 04:05
a "local" scope which respects the regex group nesting.
04:06 ashleyb joined 04:07 weinig is now known as weinig|bbl
putter is there a spare twigil in the house....? :) 04:08
Patterner U+2325 is cute 04:10
-= as an ascii alternative :) 04:11
putter looking...
people are going to be writing some truely bizarre code soon.... (apropos unicode) 04:13
Patterner: :) 04:14
TimToady Ā„ just came available. :)
putter lol
zipper gone?
TimToady Z
putter ah
TimToady even looks like "row major"
gotta run, though. 04:15
bbl &
putter considers looing for a reflected Z, resists...
bye
allbery_b doesn't see one (osx makes it easy...) 04:17
putter unicode isn't complex enough yet. let's add reflection and rotation combinators. 04:20
Patterner I thought Unicode already supports reflection/mirrored characters. 04:21
putter: what about U+16CE/RUNIC LETTER Z? :)
putter or RUNIC LETTER JERAN J 04:25
I wonder if ( ) parens are a combining char. for (+) analogy to $+x. 04:26
Patterner I wish I had a font to see those runic letters... 04:29
04:30 lpwave joined
putter į›ƒ ? 04:31
Patterner [] is probably not really the letter :) 04:32
putter :)
anyone know order of magnitude how expensive the method first-use, scan ISA, is? 10x sub call, 100x, 1000x? 04:46
putter is contemplating an architecture which would have all of the Prelude, Perl.foo grammar rules, and maybe even a p6 runtime api, all ISA()ed into _every_ package (well, every one which is using p6). 04:49
04:50 amnesiac joined
putter scary from a runtime performance perspective. but nice from a development perspective. want to do yet another p6 on p5 variant, "package Foo; use base SomeExistingOne; sub mumble {...mutant mumbling...}" 04:50
@tell TimToady re extensibility of the p6 grammar, one needs to be able to retract as well as extend, no? So one can play games like starting with the quick and dirty, or stable, version of token/rule/regex x, and then others selectively override it with more real, or experimental, variants. 04:54
lambdabot Consider it noted.
04:55 ashleyb joined
TimToady sure, but the overriding is based on longnames including longest token match. 04:56
lambdabot TimToady: You have 1 new message. '/msg lambdabot @messages' to read it.
putter I find myself writing regex inherited_hack_rule_no_longer_needed { <fail> } overrides.
no longest token 04:57
TimToady 'only' or 'proto' would cause this rule to hide all rules with the same short name 04:58
oh, $<foo> already scopes to the current (...) 05:00
putter class A { regex statement_control { if ...havent implemented else yet...} } class B does A { regex statement_control { if ...full version...} } where does the only go? 05:01
TimToady in front of the 2nd "regex" 05:02
same place "proto" or "multi" would go
putter re $<foo> !!! :) *pause* user hat replaced with have to code it over the weekend hat. ?!?! oh, sigh.
how would B get rid of if entirely? regex statement_control { if...and whatever else might be contributing to the token left intact... <fail> } ? 05:04
05:13 REPLeffect_ joined
TimToady something like that, or use proto that intelligently calls SUPER somehow 05:14
cj 1~9ohgefgfffffffffffffffffffffffffffffffffff 05:15
(scarlet says hi)
putter wonders if linux/X has a "recognize and filter cat on keyboard" program, like dos once did. 05:18
allbery_b doesn't look like it 05:22
putter :) 05:23
@tell audreyt To get a feeling for your current thinking on the p6 ast, where is the best place to look? kp6? 05:27
lambdabot Consider it noted.
putter ponders a p6 class A is reblessable {...} 05:29
re |,|| ... "YACC is stealing my |, and I want it back!" ;) 05:33
people are going to be soooooo confused. sigh. 05:34
end of day. g'night all. & 05:39
05:40 zgh joined
obra 'evening 05:55
06:13 BooK_ joined
gaal mornin' 06:20
06:27 jisom joined 06:28 jisom left, jisom joined 07:12 rfordinal_ joined 07:21 marmic joined 07:52 elmex joined 07:53 devogon joined 08:07 drrho joined 08:30 rfordinal_ is now known as rfordinal 08:41 allbery_b joined 08:52 dduncan left 09:22 mj41 joined 09:25 pdcawley joined 09:33 IllvilJa joined 09:35 Schwern joined 09:37 IllvilJa joined 09:41 lisppaste3 joined 09:55 buetow joined 10:04 chris2 joined 10:12 ruoso joined 10:29 ruoso_ joined 10:31 ruoso_ is now known as ruoso 10:56 nipotan is now known as nipotaway 11:09 rindolf joined
rindolf Hi all. 11:09
moritz hi rindolf ;) 11:10
shay hey moritz :)
moritz hi shay ;)
rindolf Hi moritz 11:11
moritz: what's up?
moritz nothingmuch ;)
.oO(sorry for hilight-spamming ;)
11:12
shay hehe
Patterner we forgive, but we won't forget 11:13
moritz ;) 11:14
my irclogs don't forget either
unless the hds crash ;)
11:15 nipotaway is now known as nipotan
rindolf moritz: don't you have backups? 11:19
moritz rindolf: yes, but irregularly 11:20
rindolf "Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." -- Linus B. Torvalds
moritz: I see.
moritz: I'm backin up my hard-disk every month.
moritz rindolf: I don't administer my server and don't have too fast access to it... 11:21
rindolf moritz: rsync?
moritz rindolf: I'm currently in a student's hall with approx. 24kB/s downstream... 11:22
rindolf: that's no fun...
I mirror the most important data with unison
(which is really two-way rsync) 11:23
rindolf moritz: OK.
moritz: why so low a bandwidth? 11:24
moritz: where do you live?
moritz normally I live in WĆ¼rzburg, Germany but now I'm in Edinburgh...
and the university doesn't seem to be interested in providing faster internet
yesterday the http proxy start killing connections randomly :( 11:26
rindolf moritz: ouch. :-( 11:32
moritz: do you have a faster Inet-connection at home?
moritz rindolf: yes, normal DSL-1024 11:33
wich gives about 124kB/s downstream via ftp 11:34
not ideal, but much better ;)
rindolf moritz: OK. 11:36
moritz: I have more than that.
200 KB or even more.
11:39 ruoso_ joined 12:18 ruoso joined 12:23 IllvilJa joined 13:10 drbean joined 13:15 Limbic_Region joined
rindolf moritz: what are you doing in Edinburgh? 13:29
13:35 cookys joined
stevan_ any of our chinese hackers familiar with "quad byte" format? 13:44
oh wow,.. its basically UTF-32... how strange (at least to me) 13:48
(Dan Kogai)++ # Encode handles it :)
moritz rindolf: studying physics ;) 14:14
rindolf moritz: are you studying in Edinburgh during your entire degree? 14:22
moritz rindolf: no, just one year... hopefully long enough to make my "master of physics" 14:23
14:23 mdiep joined 14:26 [particle] joined
moritz rindolf: and where do you live? 14:28
when trying to upload smoke reports, I get an error message "no space left on device" 14:30
is there anybody here who can fix that? 14:31
rindolf moritz: I live in Tel Aviv, Israel.
moritz rindolf: how much does the israel<->palestians conflict affect your daily life? 14:33
rindolf moritz: not much.
moritz rindolf: I only know isreal from TV, and I don't have a clue ;)
that's luck ;)
rindolf moritz: it's usually quiet here.
14:34 Limbic_Region joined
moritz rindolf: it's cool that the perl dev is so international ;) 14:35
is anybody from africa here? 14:36
rindolf moritz: my homesite is www.shlomifish.org/ 14:38
lambdabot Title: Shlomi Fish' Homepage
14:41 vel6608 joined
moritz rindolf: quit interesting ;) 14:44
14:46 mdiep joined
allbery_b aha, you're shomifish! the world shrinks a bit more :) 14:51
rindolf allbery_b: Shlomi Fish. 14:55
allbery_b sorry, I'm good at typoes :) 14:57
rindolf allbery_b: typos. ;-P 14:58
Limbic_Region hasn't been to a YAPC yet but I suspect name tags should include real name and then a list of online AKAs
moritz what happend to the default filehandles? IIRC they used to be $*DEF{IN,OUT,ERR}, but now none of the appear in the specs 15:02
[particle] STDIN?
moritz [particle]: in perl6? 15:03
?eval STDIN
evalbot_r15324 Error: No compatible subroutine found: "&STDIN"
[particle] 176: use GLOBAL <$IN $OUT $ERR>;
180: # my ($IN, $OUT, $ERR) ::= ($*IN, $*OUT, $*ERR)
S11.pod
moritz [particle]: thanks 15:04
[particle] ack to the rescue! 15:05
allbery_b moritz: isn't DEFIN ruby or something? :)
moritz allbery_b: I remeber that I wrote testcases for say and print using $*DEFOUT, it worked and nobody complained ;) 15:06
allbery_b: and I thought I found it somewhere in the specs
it's in t/builtins/io/say_and_print.t 15:07
15:10 ruoso joined 15:13 REPLeffect_ joined, baest joined
moritz what is the recommended way to iterate over a filehandle for reading? 15:18
while defined (my $line = $fh.readline()) is somewhat ugly...
[particle] for =$fh -> $line {...} 15:19
moritz [particle]: thanks
15:22 IllvilJa left 15:24 bonesss joined
svnbot6 r15331 | kudra++ | Late, but finally here 15:36
15:54 amnesiac joined
svnbot6 r15332 | kudra++ | I always have to correct this line break in the completed summaries, so I'm fixing it in the prototype 15:54
15:57 ruoso joined
svnbot6 r15333 | kudra++ | Full thread listing but no summaries yet 15:58
r15334 | kudra++ | Partial darft
r15335 | kudra++ | Placeholder; week isn't complete yet
devbot6 planet6: Audrey Tang: Weekly Perl 6 mailing list summary for 21-28 January, 2007 <pugs.blogs.com/pugs/2007/02/weekly_...m.html> 16:02
16:10 REPLeffect_ joined 16:14 REPLeffect_ is now known as REPLeffect, REPLeffect left, REPLeffect joined 16:16 bonesss joined 16:27 turrepurre joined 16:30 nipra joined 16:39 ruoso joined, falesca joined 16:41 turrepurre joined 17:02 iblechbot joined 17:11 ashleyb joined 17:28 ProperNoun joined 17:36 falesca joined 17:41 macli joined 17:45 justatheory joined 18:01 Xaduha joined 18:15 nipra joined 18:17 orafu joined 18:23 jisom joined, jisom left 18:24 jisom joined
kolibrie ingy: is it planned for the Perldoc module on CPAN to be able to process Perl 6 perldoc? 18:30
18:33 justatheory joined
ingy kolibrie: yes 18:34
kolibrie oh, goody
TimToady probably want to wait till Damian comes out with his parser
ingy nod
TimToady and just embed that. 18:35
ingy it's not really in my brain at the moment, but yes
TimToady he's just about done with it, I believe.
ingy awesome
kolibrie very nice
TimToady I'll need to install a translated version of it into the P6 parser as well.
since P6 is supposed to be able to access its surrounding pod via %= variables 18:36
ingy oh cool. so perldoc is parser into the ast?
parse*d*
TimToady yes, has to be an official subset of P6 grammar 18:37
which is of course extensible...
ingy :)
moment of panic relieved
TimToady It occurred to me that you might take that wrong. :)
ingy it was a very short moment
TimToady have to observe the kwidities, after all... 18:38
18:38 neonse joined
ingy :) 18:39
TimToady I guess that should be spelled kwiddities
does anyone remember how to get a web svn diff of the synopses? seems like something there should be a top-level page for somewhere... 18:42
wanted to mention it on perlmonks but couldn't find it...
18:43 beppu joined
Limbic_Region TimToady - couldn't find what on PerlMonks? 18:51
Limbic_Region pretty much has PerlMonks in memory at all times
oh nevermind 18:52
you wanted to put something on PerlMonks that doesn't currently exist (there)
18:56 IllvilJa joined
baest TimToady: can you explain what %= does or is a specification available somewhere (couldn't find it in the synopsis). Very curious on precisly what it does 19:02
PerlJam baest: %= looks like mod-equals to me. 19:05
baest: i.e., $a %= b is the same as $a = $a % b;
baest PerlJam: oh, yes, I'm not precise I was thinking about: 19:36:21 < TimToady> since P6 is supposed to be able to access its surrounding pod via %= variables
TimToady = is a twigil indicate a file-scoped document variable. The = is meant to remind you of =begin/=end
Limbic_Region ?eval my $num = 100; $num %= 3; $num
19:05 evalbot_r15324 is now known as evalbot_r15335
evalbot_r15335 \1 19:05
PerlJam oh! POD context 19:06
TimToady no, term context
so @=DATA could be the new <DATA>
but it would be a =begin DATA/=end DATA podstream 19:07
[particle] so, =$filehandle becomes $=filehandle?
TimToady no
has nothing to do with filehandles anymore
[particle] 's confusing, though
baest that makes sense. So why would you access the pod info. Is that instead of repeating yourself? Not sure I understand the effects of it
PerlJam baest: literate programming comes to mind :-) 19:08
TimToady you can think of it as a displaced heredoc
PerlJam baest: other forms of introspection too
TimToady and autodocs can refer to pod comments near them
so a function could have a method to return its documentation, for instance. 19:09
PerlJam runnable examples are always nice
TimToady some languages kludge this in with an extra declaration in the header of the function
baest TimToady: that's very cool. That is something that really bugged, that you had to repeat the options for a script twice or be _very_ creative
TimToady or by processing comments 19:10
baest bugged *me
PerlJam TimToady: are you making digs at python there? :-)
TimToady not intentionally
but if the shoe fits
PerlJam If you'd said something about semantic whitespace I would have been sure you were targeting python
TimToady python is sort of self-targeting that way... :) 19:11
baest :)
PerlJam TimToady: so, how is your day going so far? (What is it that you do for a living these days?)
TimToady I'm almost awake by now. 19:12
my blood pressure started too high this morning, so I'm taking it pretty easy, apart from posting to perlmonks, which can raise anyone's blood pressure
tene perhaps give functions an "is documented" trait? 19:13
TimToady I officially work for Netlogic Microsystems
but they pay me to work on Perl 6 a lot. :)
tene: that is precisely what I'd like to avoid.
PerlJam well (Netlogic Microsystems)++ then
jisom that'd require as "is documented where" trait 19:14
TimToady or if there is such an "is documented where" it would default to "the preceding pod block" 19:15
or the pod block links it the other direction instead
tene that could also work. 19:16
or support both
jisom and if you have some of your pod inside the function and some outside because you want the comments to be close to the code? 19:17
19:17 diakopter joined
TimToady main point is, pod is a data structure navigable by the program. 19:17
everything else is convention
jisom how strict is the parsing going to be?
TimToady how strict do you want it?
19:18 Belaf joined
diakopter TimToady: how would one go about making a pragma to embed interdependent tests in/among their corresponding methods/subs? 19:18
TimToady certainly the default for documentation can be a little more forgiving.
PerlJam TimToady: did you see chromatic's recent use.perl post?
jisom the stricter it is, the easier to write a parser(even if harder to write for beginners)
PerlJam jisom: perl is/has a parser 19:19
[particle] agrees with jisom -- let's not go the direction of HTML 1.0
jisom except be strict in the release stuff.....perl5 sort of has that issue, bad pod in the released in the tarball
*in the release tarball
diakopter TimToady: I mean, if pod will be runtime accessible by the module and vice versa ... why not tests as well
PerlJam suddenly experiences some deja vu 19:20
TimToady diakopter: it's been mentioned before as a possibility, but for the moment I'm lumping that in the "conventions to be established at some point" category.
PerlJam: which post is that? 19:22
PerlJam TimToady: use.perl.org/~chromatic/journal/ 19:23
lambdabot Title: Journal of chromatic (983)
PerlJam TimToady: you were talking about high blood pressure and the link in that article about "Why perl is a bad language" might raise yours if you read it. 19:24
But the sad thing is is that even on perlmonks, you find people like David Cameron 19:25
jisom "why is perl a bad language"....I can't write my kernel in it?
PerlJam heh, www.adequacy.org/public/stories/200...34.32.html 19:27
lambdabot Title: Pearl vs. Python: A Technical Review
PerlJam That one *has* to be a joke :)
19:27 REPLeffect left
PerlJam anyway ... 19:28
PerlJam goes back to patiently waiting for perl6 19:29
[particle] this is more fun to read: www.barcodeart.com/art/clock/launch_small.html
lambdabot Title: Scott Blake
jisom just figured out where "TimToady" came from 19:30
PerlJam jisom: Did you ride the short bus to school? ;-)
TimToady not to mention www.barcodeart.com/art/clock/launch_large.html
lambdabot Title: Scott Blake - Bar Code Clock
19:31 CardinalNumber joined
PerlJam I wish I could find a job that would a) pay me enough to keep my family happy and b) let me work on perl-related stuff all the time. 19:32
TimToady Cheop's Law: everything costs more and takes longer 19:33
jisom unless you make it open source and get people to work on it for free, then it just takes longer 19:34
PerlJam jison: the costs just change from monetary to something else. 19:35
TimToady mostly opportunity cost of letting others get ahead, which can raise your blood pressure. :) 19:36
kolibrie PerlJam: my boss is looking for someone, but I'm not sure exactly what he's looking for 19:37
TimToady a lot of people are looking for someone...
kolibrie never found his childhood kindred spirit -- too late now 19:38
TimToady some of us just stay children until we do. :) 19:39
kolibrie hmm, have to think about that
xerox TimToady: that law seem to be related to the second principle of thermodynamics. There's space for developement (-: 19:43
Limbic_Region xerox - I know you from ##java land right? 19:44
xerox Limbic_Region: YUCK. Here and #haskell.
moritz xerox: the principle basically says that the universe will end as a homogenous mass - not a good place to live in ;)
Limbic_Region hrmmm 19:45
Limbic_Region is trying to remember the helpful soul in ##java whose handle started with an x
jisom but the universe is mostly homogenous, empty space, we're an anomaly in the homogeneousness of the universe 19:46
my spell checker says it's a word and spelled right!
xerox I think both are oversemplification, but then I don't have a better theory of everything to propose. I can reccommend Penrose stuff to read, and watch, though. 19:47
TimToady no, the universe is mostly a seething mass of virtual particles. we are merely persistent accounting errors.
[particle] *coughs*
TimToady some are more persistent than others...
moritz TimToady: that explains a lot ;)
[particle] seeths 19:48
moritz xerox: does penrose lectures thermodynamics? I always thought he did some QM or unified theories...
TimToady well, the fact is whenever we say "an electron started here and ended up there", it's mostly wrong. 19:49
moritz TimToady: that's why we talk of wave functions ;)
or at leas I do ;)
[particle] waves
xerox moritz: some of his ideas are explained in a quite funny way in his special talks for the MSRI (<msri.org>)
[particle] electrons travel backwards in spacetime
19:49 justatheory joined
TimToady nah, they just obey Spacetime Transactional Memory 19:50
moritz [particle]: or forward - it so hard to tell since the schroedinger equation is invariant under time inversion ;)
allbery_b there is that thing where an electron moving backward in time is indistinguishable from a positron 19:51
TimToady STM is what keeps the accounting errors persistent, lucky for us.
xerox Ladies and gentleman, here it is the Spontaneous Symmetry Breaking.
TimToady by the way, my son Aron just had his first physics paper published: www.arxiv.org/abs/hep-th/0702124 19:52
moritz Aron++ ;)
obra TimToady: congrats. 19:53
xerox What a title!
obra TimToady: What's his Erdos #?
TimToady dunno, I'll have to ask him
moritz obra: physicists don't care, only mathematicians do
TimToady I used to work with someone whose number was 1
moritz (or at least I think so) 19:54
obra TimToady: did you co-publish with him? ;)
TimToady but never published anything with him, alas
obra alas.
moritz: it varies
moritz obra: ok ;)
obra my girlfriend is a physicist by training and she cares :) 19:55
moritz I know a computer science guy with erdĆ¼l 1 - I never met anyone else who was more crazy ;)
obra ponders an April 1 hoax to get citeseer to add erdos as the author on every paper
TimToady I've just asked him if any of his coauthors know their Erdƶs number. 19:56
moritz he once hold a lecture in ancient greek and afterwards told his collegeas: "It did'nt make a differnce" ;)
obra: cool idea ;)
19:56 CardinalNumber is now known as ProperNoun
obra www.oakland.edu/enp/ErdosA and www.oakland.edu/enp/thedata.html For those playing the home game 19:56
Only two Walls with a # <= 2. 19:57
Wall, Curtiss E.
Wall, James R.
TimToady I guess that's Erdős instead
obra ...now I want to know how many CPAN authors have co-authored with audrey.
moritz TimToady: your son isn't a professor by any chance? 19:58
TimToady: usually the last author on a paper is the prof who did nothing but nod and said "good work, folks" ;) 19:59
(or at least in germany, that is)
20:00 Caelum joined
TimToady no, he's the grad student slave labor who wrote a lot of the paper. 20:00
obra moritz: in the US, usually that prof gets first billing. 20:03
20:06 elmex joined
moritz obra: how sad ;) 20:14
TimToady yeah, we screw up the dates too. :) 20:16
jisom and measuring distance too 20:18
TimToady at least the traditional European dates are consistently little endian.
jisom and weight
TimToady though I think I prefer big endian dates anymore
2007/12/25
20:18 blueagnes joined
jisom and if you type 01/02/03 you have no clue when it is :-p 20:18
big endian, little endian, or mixed like the US 20:19
20:35 Xaduha joined 20:38 ashelyb_ joined 20:41 blueagnes left 20:45 as joined
moritz @tell rindolf on your homepage on the decss page there is at least one broken link 20:46
lambdabot Consider it noted.
20:48 miyagawa joined, mncharity joined, mncharity is now known as putter
TimToady @mess 20:50
lambdabot Maybe you meant: messages messages? msg
TimToady @moosages
lambdabot putter said 15h 55m 58s ago: re extensibility of the p6 grammar, one needs to be able to retract as well as extend, no? So one can play games like starting with the quick and dirty, or stable,
version of token/rule/regex x, and then others selectively override it with more real, or experimental, variants.
20:52 buubot joined
putter *startlement* '@moosages" worked!?!?! 20:53
hack attack time. let's see if the neurons are up for it.
20:54 amnesiac joined
allbery_b sure. lambdabot has(limited) edit distance heuristis 20:54
putter is there really no Filter::WithSub (or somesuch)? it seems like an obvious good thing. 20:55
20:55 integral joined
TimToady you mean grep? 20:56
putter ... use Filter::WithSub INSERT,sub{join(",",map{...}@mumble}; ...
... use Filter::WithSub sub { filter::simple code to create a bit of abstraction in this file }; 20:58
wraps nice #line around it.
use Filter::WithSub method=>'mumble', debug_to=>STDERR; 20:59
20:59 polettix joined
putter there's Macro search.cpan.org/~segv/Macro-0.2/Macro.pod 21:01
lambdabot Title: Macro - Simple code templating mechnism - search.cpan.org
putter basically I need some better metaprogramming for p5, or doing nontrivial ast's will make me run away. 21:03
TT: btw, for myself, feel free to use simple text macros in STD. :)
21:04 weinig|bbl is now known as weinig
TimToady well, that's essentially what the PrecOp role is doing currently... 21:08
putter k 21:09
TimToady and the return-type coercions could be copied down to the {*} stub.
pugs supports neither parameterized roles nor &.() methods yet. 21:10
tene if you really need those in pugs, check out a revision from the future.
TimToady well, sure, but the checkout takes longer than just waiting. 21:11
putter (the more developers you have sitting around twiddling thumbs waiting for next release, the longer it seems to take...) 21:12
oo, there's an idea...
[particle] ...hire some monkeys to code haskell? 21:14
jrockway i don't think monkeys are able to inderstand polymorphic type classes 21:15
putter I was hoping for a unicode "thumbs up" glyph, so we could have a thumb twigle. :)
Twiggling our thumbs. 21:17
tene Heh. 21:19
putter Ok, I hallucinate a fuzzy vision of a componentized p6 impl on p5. so assorted folks can push things in assorted directions, without the past/current constraints of their being "one big thing" (which must not be broken, etc). 21:20
s/their/there/
not sure if it can be usefully brainstormed without a whiteboard. :( 21:21
big downside of non-local development for me.
@tell stevan Was talking to someone at boston-pm about Moose. any interest in doing the proverbial boston-area p6 users group meeting? 21:22
lambdabot Consider it noted.
putter (there would be a whiteboard there... *wistfully*)
moritz putter: like... a wiki? 21:23
putter :) 21:24
nifty ("nifti"?), but... for a complex conversation, you really need to be in the same room, to handwave at each other will waving at a whiteboard. don't know of any substitute with current tech. the video wall stuff I guess. 21:25
s/will/while/
btw, is it just me, or does this seem odd: rule x / {env $x=3;return 'foo';} /; rule y /{env $x =2} <x> {$+x is now 3}/; 21:38
the "return isn't really exiting the stack frame" thing... cognitive dissonance. 21:39
21:42 Caelum joined 21:44 stevan_ joined 21:45 Aankhen`` joined
putter attempts to local()ize a symbol table entry. eg, A::new. 21:47
local *A::new = \&B::new; 21:48
woot
so we can have a p5 Perl6::Match for instance, which individual implementations can say "for Match, please use Pugs::Junk::ImplB::Match'), which should @ISA Perl6::Match, and it all just works. 21:50
21:53 CardinalNumber joined 21:54 KD-Misafir311 joined
putter still, it would be nice to have a scoping mechanism local(), but only in some specified set of package/lexical scopes. p7. 21:54
21:55 KD-Misafir311 is now known as nurii
putter sort of "just works". really want to localize the ISA of Perl6::Match. but that does fly with current p5 impl. 21:58
anyone see any problems with local()ing new() to permit a standard set of names (Perl6::Foo) to be used by everyone, despite there being multiple implementations? 22:00
Their .class will have to lie, but that was needed anyway. 22:01
In p6, a p5 package Foo is named perl5::Foo. Any objections to a p6 Bar being named perl6::Bar in p5? 22:07
@seen audreyt 22:12
lambdabot audreyt is in #perl6 and #haskell. I last heard audreyt speak 1d 7h 8m 29s ago.
22:12 CardinalNumber is now known as ProperNoun 22:31 Psyche^ joined
putter @seen gaal 22:32
lambdabot gaal is in #perl6 and #haskell. I last heard gaal speak 16h 11m 34s ago.
kolibrie putter: in november, clkao and audreyt at the prodding of cj? suggested a boston meeting in early May
if we can get dates, I may swing up
stevan also expressed interest 22:33
kolibrie cycles home 22:36
putter kolibrie: awesome. 22:43
but... 2+months away...
beautiful sunset. cloud cap 15deg up in the west, deep red, against windblown bare deciduous and waving tall pines. :) 22:45
22:47 Psyche^ is now known as Patterner
putter its unfortunate, but the difference in visual complexity between a.foo(...) and $a->foo(...) (as a way of mixing sublanguages (here "a")), has me wanting to make different architectural decisions. :/ 22:48
SamB ??? 22:49
22:49 jrockway joined
SamB what does -> do? 22:49
tene putter: elaborate?
putter a.foo(b.bar("fribble",3),"up") I can read, but
$a->foo($b->bar("fribble",3),"up") not so much 22:50
SamB that just makes me think "Python"...
for some reason...
putter sublanguages meaning domain specific languages. eg, mixing PIL1 in with something else. $pil1->stmts vs pil1.stmts pil.stmts p.stmts 22:51
Hmm, mixed results in experiment re Tufte's "minimal ink" guideline: portal.acm.org/ft_gateway.cfm?id=11...EN=6184618 22:54
lambdabot tinyurl.com/ywtjxn
23:06 lampus joined 23:12 pjcj_ joined
TimToady I suspect it's the > more than the - that interferes, since it's more vertical. 23:13
and it's more of an ascender
I'd say -> IS making THE same mistake AS putting your keywords IN all caps. 23:14
23:15 miyagawa joined
TimToady infix operators should be huffman coded vertically. :) 23:16
I don't think this applies so much to prefixes, however.
since you're not trying to connect two sides so much
(hence, I'm not too worried about sigils, which typically signal the start of a noun phrase.) 23:17
$x.foo.bar.baz() has a nice shape.
especially when trying to pick out what will interpolate 23:18
putter :) 23:22
$a.foo($b.bar("fribble",3),"up") 23:23
a.foo(b.bar("fribble",3),"up")
23:24 mako132 joined
putter could be. interesting. hadn't thought of it that way. 23:24
TimToady interesting that all our interpolaters are "strong" vertically 23:25
$ @ % & { \
and | for interpolating a caputre
*capture
though caputre is a cool word 23:26
putter lol.
TimToady caputrƩ
putter and ./foo blends away, atleast in my typeface
TimToady certain $.foo and .foo have a very different shape on the front. 23:27
s/<sp>/ly /
23:30 prism joined
TimToady I was worried about the vertical visual parsing of 1,2,3 Z 4,5,6 until I realized that was artificial 23:30
and you usually have @foo Z @bar
23:31 Squern joined
TimToady mixed with letters the Z stands out adequately, I think. 23:31
same for @foo X @bar
putter indeed 23:32
TimToady part of my unstating reasoning for going from XX to X
unstated even
I don't usually talk about half the things I think about... 23:33
but your bargraphs brought it back to mind
putter if you journal any of them, that might make for an interesting post/book/mumble sometime
TimToady I worry that those experiments are measuring the amount of time to produce a number, not an understanding. 23:34
putter yes indeed.
TimToady but it's hard to measure how well people integrate the areas under the "curve", and a lot easier to measure how long it takes them to say 12.2
the bars are there for "bulk" reasons that are more accessible to the backbrain than the front. 23:35
23:35 xinming joined
putter hmm, there's a question. one-laptop-per-child is getting closer to release. what could one collect/write to facilitate graph _understanding_. "graph as language". hmm 23:35
TimToady much like some people still prefer analog clocks even though it's faster to say 6:36 23:36
but then they have trouble translating the numbers back to the "feel" of time.
putter and lots of folks liked my www.vendian.org/envelope/dir2/day_of_dots_clock/ 23:37
lambdabot Title: A dot for every second in the day - a clock
23:38 krod joined
putter objective was to help folks develop a feel for order of magnitude time. ie, what's 10^5 seconds. 23:38
krod Could someone tell me the proper way of doing this: pastebin.ca/369643 ... I am trying to store the output of exec(uptime) somehow
buubot The paste 369643 has been copied to: erxz.com/pb/1512
putter that doesn't *look* like perl6... 23:39
allbery_b perl5 questions are best asked in #perl
putter `uptime` 23:40
jrockway maybe people think perl5.6 == perl6 23:41
putter anyone know if PIL2JS is still working at the moment?
"after all, the 5 is part of the language name, isn't it? been there forever". :) 23:42
allbery_b rolls his eyes 23:43
TimToady hmm, that does make me wonder whether foo1.2.3 should be consistenly parsed as a token. 23:44
v1.2.3 would then fall out of that
23:44 krod left
TimToady maybe even foo.1.2.3 23:45
[particle] and v1.2.3b1.4_209f
putter strawman hypothesis: if PIL2JS is working, or can be easily repaired, that seems a good way (the best way?) to drive development of a new front end. take tests, emit old PIL1, if PIL2JS works on it no less well than with pugs -CPIL, you are golden. can immediately use entire pugs t/. without conflating runtime development (much). 23:46
thoughts? questions? "you forgots"? 23:47
[particle] wonders what *-* is
xinming 06:32:52 < putter> objective was to help folks develop a feel for order of magnitude time. ie, what's 10^5 seconds.
06:33:04 < krod> Could someone tell me the proper way of doing this: pastebin.ca/369643 ... I am trying to store the output of exec(uptime) somehow
buubot The paste 369643 has been copied to: erxz.com/pb/1512
putter re token, hmm. no opinion. don't really understand the space
TimToady the dumbell operator?
putter err, the design space :) 23:48
xinming Oops. sorry.
TimToady well .1 can never be a method call.
xinming Mis click
TimToady it either has a number on the front or something else. 23:49
putter hmmmm
TimToady so if it has a non-number, we could treat them all consistently.
putter .1 is 0.1 or $_.1 ? 23:50
TimToady could also be a canonical namemangling for things like infix:<+> somehow
at the moment bare .1 is outlawed.
putter k
TimToady er, no, that was 1.
.1 is 0.1 23:51
least surprise
23:51 stevan__ joined
putter but a bit of a gotcha here 23:51
TimToady but foo.1 can't be a method call
a listop requires a space, foo .1
putter ^.^ 23:52
(eyebrow non-method call)
xinming TimToady: I'd suggest 0.1 for number. using .1 form is not as good as it should be. At least. I don't think people will think It's tedious for just a '0' more 23:54
putter oh, right. confused. eyebrows down.
TimToady xinming: you could be right, if only to prevent people from wondering if .1 means $_.1 somehow. 23:55
putter no comments/questions on the strawman in the corner?
TimToady I don't understand really. 23:56
putter np
TimToady I just push arbitrary symbols around.
My mind is sort of a Chinese Room. :)
putter :)
TimToady are you proposing a way of working on new frontends without knowing Haskell? 23:58
putter let's see...
TimToady and what do you mean by a "frontend"?
putter the objective is to have a "second" p6 parser. mostly because 23:59