pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/ Set by TimToady on 25 January 2008. |
|||
00:00
kst joined,
sahadev left
|
|||
cj | :) | 00:03 | |
pbuetow | (: | ||
wolverian | holy crap, is v6/v6-KindaPerl/compiled supposed to be in the repo and take 36MB? | 00:05 | |
ruoso | wolverian, considering it takes more time to compile than to download... | 00:06 | |
wolverian | oh, sure. :) | 00:07 | |
just my hd that's full.. I know, my new laptop is coming in next week. phew. | |||
00:07
chris2 left
|
|||
meppl | good night | 00:08 | |
00:08
monomorph left
00:10
meppl left
|
|||
cj | anybody want to fund me to work on p6 on the CLI VM for a year? | 00:14 | |
sounds like more fun than generating invalid web pages... | |||
ruoso | pugs: class Foo { method a { return "a" } }; role Bar { method a { return "b" } }; my $a = Foo.new(); $a does Bar; role Bar is also { method a { return "c" } }; say $a.a; | 00:15 | |
exp_evalbot | OUTPUT[*** Unknown syntactic construct: Syn "does" [Var "$a",Val (VType (mkType "Bar"))] at /tmp/Gyy5lKVIoe line 1, column 97-108] | ||
ruoso | pugs: class Foo { method a { return "a" } }; role Bar { method a { return "b" } }; my $a = Foo.new(); class Foo is also { does Bar }; say $a.a; | 00:16 | |
exp_evalbot | OUTPUT[a] | ||
ruoso | pugs: class Foo { method a { return "a" } }; role Bar { method a { return "b" } }; my $a = Foo.new(); class Foo is also { does Bar }; my $b = Foo.new(); say join ',', $a.a, $b.a | 00:17 | |
exp_evalbot | OUTPUT[a,a] | ||
cj | what is "P�"? | 00:18 | |
\n ? | |||
ruoso | cj, you mean, in the OUTPUT line? | ||
you probably want to configure your irc client to use utf8 (if that's the case) | 00:19 | ||
cj | yeah, that | ||
ruoso | pugs: class Foo { method a { return "a" } }; role Bar { method b { return "b" } }; my $a = Foo.new(); class Foo is also { does Bar }; my $b = Foo.new(); say join ',', $a.a, $b.a, $a.b, $b.b | ||
exp_evalbot | OUTPUT[a,a,b,b] | ||
cj | I just configured it to use utf-8 | ||
cj sets his LOCALE | 00:20 | ||
ruoso | it seems that pugs object composition is not quite right... | ||
TimToady | yes, MO was going to be the next big release (6.28) but it never made it | 00:21 | |
wolverian | cj,  U+2424 "SYMBOL FOR NEWLINE", category: "Control Pictures", utf8 bytes: E2 90 A4 | ||
ruoso | but what was it supposed to do in the following code? | ||
pugs: class Foo { method a { return "a" } }; role Bar { method b { return "b" } method a { return "c" }; my $a = Foo.new(); class Foo is also { does Bar }; my $b = Foo.new(); say join ',', $a.a, $b.a, $a.b, $b.b | 00:22 | ||
exp_evalbot | OUTPUT[***  Unexpected end of input expecting operator, ":", "," or "}" at /tmp/3LYfJo4XG3 line 2, column 1] | ||
ruoso | pugs: class Foo { method a { return "a" } }; role Bar { method b { return "b" } method a { return "c" }}; my $a = Foo.new(); class Foo is also { does Bar }; my $b = Foo.new(); say join ',', $a.a, $b.a, $a.b, $b.b | ||
exp_evalbot | OUTPUT[a,a,b,b] | ||
ruoso | should any of these be "c"? | ||
night & | |||
cj | wolverian: strange... what all do I need to set to get irssi to play nice with utf-8 chars? do you know? Setting gnome-terminal's encoding to utf-8 is obviously not enough... | 00:23 | |
wolverian | cj, it's easiest if your locale is utf8, then everything (including screen and irssi) work automatically. the manual method is doing /set term_charset utf8 and setting screen to utf8 with ^A :utf8 | 00:24 | |
cj, (but setting the locale requires restarting irssi and screen) | |||
Juerd | I've found it necessary to set the locale and restart screen. | 00:28 | |
^A:utf8, -U, etc, never worked well for me. | |||
wolverian | I haven't actually tried the manual method for some years, since I haven't needed to. | 00:29 | |
so you might be right in that it doesn't even work. | |||
of course since you can set the locale per-program, it doesn't make much sense even to do that :) | |||
$ LANG=foo.utf8 screen irssi | |||
but really.. are there any modern distros that ship with non-utf8 locales by default? | 00:30 | ||
s/ship with/use/ | |||
food -> | |||
00:32
wknight-away is now known as wknight8111
|
|||
wolverian | s/->/→ / | 00:32 | |
00:32
__Ace__ left,
pbuetow left,
pcbuetow left
|
|||
cj | wolverian: do you know an easy way to change a debian testing box to a utf8 locale? | 00:33 | |
00:33
__Ace__ joined,
pbuetow joined,
pcbuetow joined
|
|||
pugs_svn | r19823 | lwall++ | Remove some fossil () noticed by putter++ | 00:35 | |
r19823 | lwall++ | Fix whitespace assertion on statement_control not to accidentally allow fatarrow after newline | |||
TimToady | ruoso: no, a class's methods always override a role's methods | 00:39 | |
rakudo_svn | r25543 | jonathan++ | [rakudo] Generalize 'is' on classes to call trait_auxiliary:is, and implement a multi-sub that accepts a trait that is a class, which applies the inheritance. Now it's all MMD, as it should be. | 00:41 | |
wolverian | cj, to make your user use utf8 by default, put export LANG=en_US.utf8 (or so) in your appropriate startup file, e.g. .bashrc | 00:43 | |
(I'm not sure which one you're supposed to really use. .bash_profile, perhaps?) | |||
pugs_svn | r19824 | lwall++ | [STD_extract] answer some of the questions | ||
wolverian | cj, to change the system default locale, see dpkg-configure locales, or so. Juerd can help here, probably. | 00:44 | |
(I'm used to ubuntu and its gui tools :) | |||
[particle] | well, looks like rakudo got the new object model before pugs. who would have predicted that a year ago? | 00:45 | |
jnthn | [particle]: Erm, the object model in Rakudo has a LONG way to go. | 00:46 | |
00:48
nipotaway is now known as nipotan
00:57
pcbuetow left
01:00
kst left
01:01
vainguard left,
kst joined
|
|||
cj | wolverian, Juerd: this look right? [*] en_US.UTF-8 UTF-8 | 01:06 | |
01:06
__Ace__ left
|
|||
cj | wolverian: yeah, there are comments at the top of ~/.bash_foo that say which one is the 'login' version and which gets eval'd whenever a new bash starts | 01:07 | |
wolverian: I can never remember which is which | |||
okay. going home now. | 01:08 | ||
wolverian: are you working on any of the various p6 grammars/parsers/emitters? | 01:11 | ||
Juerd: you, too... I'm building a .deb of the library bits required to do late binding, etc with the CLI | 01:12 | ||
s/required/used/ | |||
TimToady | I think .bash_profile is for login, and .bashrc is every time | 01:13 | |
Juerd | cj: I'm not working on anything perl6 related :( | ||
01:16
pbuetow left
01:17
namelessuser left
|
|||
wolverian | cj, no, I'm not. I only have time to procrastinate.. | 01:19 | |
01:27
devogon left
01:35
monomorph joined
01:44
jferrero left
|
|||
Juerd | CHS addressing is HARD. | 01:48 | |
TimToady | it's easier than YMD :) | 01:52 | |
I shudder thinking about leapbytes... | 01:53 | ||
02:03
kst left
02:04
kst joined
|
|||
allbery_b | modern drives have worse than that, actually. but the on-drive controller hides the ugliness. (all modern CHS is fake) | 02:17 | |
nothingmuch | why are modern drives worse? | ||
allbery_b | spare sectors, potentially different sectors/track in different zones | 02:18 | |
nothingmuch | oh right, i knew about spare sectors at the very least... what's this about zones though? never heard of that | 02:19 | |
allbery_b | how close the head is to the outer edge vs. center of the platter | 02:20 | |
nothingmuch | real CHS required that sectors are really radiant? | ||
allbery_b | real CHS was based on the assumption that S was constant for all C, yes | 02:21 | |
nothingmuch | ouch | ||
allbery_b | it may still be, or might not | ||
the drive manufacturers hide the real geometry so they can play whatever games they want to maximize storage (or speed, etc.) | 02:22 | ||
nothingmuch | *nod* | ||
02:24
tobeya left
|
|||
allbery_b | (plug: you should be able to find more details than you ever want to know at www.dssc.ece.cmu.edu/ ) | 02:25 | |
02:26
dmq left
02:27
Auzon joined
02:30
Limbic_Region left
02:47
alester joined
03:02
mncharity joined
|
|||
mncharity | re r19822 commit message, lol :) | 03:02 | |
lambdabot | mncharity: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
mncharity | spinclad: re debian ruby 1.9, my fuzzy recollection is debian is serving a pre-release copy of 1.9. | 03:04 | |
so might check that version >= 1.9.0 2007-12-25 | 03:06 | ||
03:08
Auzon left
03:10
sri_work left,
justatheory left
03:11
dmq joined
03:17
kst left,
justatheory joined
03:18
kst joined
|
|||
mncharity | TimToady: re Why am I reinventing cheat/metholate?, hmm... my impression is c/m basically transforms STD into code which can be run on a pugs-level p6 implementation. | 03:19 | |
03:19
justatheory left
|
|||
mncharity | STD_extract has the (still work in progress) objective of providing enough information to "hand" implement a p6 parser when you don't have p6, and only a partial regex engine. So it tries / will try to answer questions like | 03:21 | |
what do all the code blocks (which need to be translated to p5/ruby/whatever) look like. what are all the rx pattern features used. what are all the subrules used. | 03:23 | ||
what are all the instances of mumble, so I can metaprogram draft code (ast nodes, or whatever) for them. | 03:24 | ||
03:24
cathya joined
03:25
cathya left
|
|||
mncharity | That all seemed sufficiently far from the intent of c/m, that it seemed worth spending a day rolling something new, optimized for that exercise specifically. | 03:25 | |
what do you think? | 03:27 | ||
cj | mncharity is chatty tonight! | ||
mncharity | responding to notes in svn. :) | 03:28 | |
hmm, and sounds like I should backlog... | |||
cj | TimToady: that sounds right to me, but I won't COMMIT until I read the docs :) | ||
03:29
Winkie joined
|
|||
mncharity | spinclad: oh, nm. found the discussion in the backlog. | 03:53 | |
ruoso: congrats on progress. bummer about grant. need to print out the grant rejections for later posting on wall to mock the reviews - it's traditional. | 03:58 | ||
TimToady: I'd like to see some version of STD running against pugs t/. any feel for how near at hand that is? thanks. | 04:15 | ||
good night all. & | |||
04:16
mncharity left
04:25
cathya joined
04:40
kst left
|
|||
cathya | anyone worked on security | 04:40 | |
and integration | |||
ok nevermind offtopic | |||
04:40
kst joined
05:25
wknight8111 left
05:52
njbartlett_ left
05:55
justatheory joined
05:57
monomorph left
05:59
charsbar left
06:05
charsbar joined
06:23
kst left
06:24
kst joined
06:46
justatheory left
06:50
alester left
07:08
Daveman joined
07:09
kanru left
07:33
cathya left
|
|||
moritz_ | moin | 07:38 | |
07:39
jisom joined
07:40
barney joined
07:55
Aankhen`` joined
08:29
cosimo joined
08:33
meppl joined
08:42
pyfrag joined
08:45
pyfrag left
08:51
iblechbot joined
|
|||
pugs_svn | r19825 | bloonix++ | kicked use lib /home/... from Linux.pm :-) | 08:53 | |
08:53
bloonix joined
09:04
[particle] left
09:13
cognominal_ left
09:20
kst left,
spinclad left,
spinclad joined
09:21
kst joined
09:22
[particle] joined
09:27
zamolxes joined
09:30
IllvilJa left,
devogon joined
09:40
jisom left
09:51
viklund left
09:55
meppl left
09:59
mattz_ left
10:00
mattz_ joined
10:03
Patterner left,
Psyche^ joined,
Psyche^ is now known as Patterner,
IllvilJa joined
10:08
Aankh|Clone joined,
Aankhen`` left
10:11
viklund joined
10:22
Aankhen`` joined
10:30
Aankh|Clone left
10:44
blindfish joined
10:56
Aankh|Clone joined
11:05
nipotan is now known as nipotaway
11:06
chris2_ joined
11:08
chris2_ is now known as chris2
11:14
Aankhen`` left
11:25
ebassi joined
11:40
djm left
11:41
wknight-away joined
|
|||
ruoso | TimToady, re: class method overrides role method. Isn't by the role overriding the class' method that "0 but true" works? | 11:59 | |
11:59
cognominal_ joined
|
|||
ruoso | TimToady, nevermind... I've found out... it's my example that is a bad one... | 12:02 | |
pugs: class Foo { method a { "a" } }; class Bar is Foo; role Baz { method a {"b" } }; my $a = Bar.new(); class Bar is also { does Baz }; my $b = Bar.new(); say join ',', $a.a, $b.a | 12:04 | ||
exp_evalbot | OUTPUT[b,b] | ||
ruoso | pugs: class Foo { method a { "a" } }; class Bar is Foo; role Baz { method a {"b" } }; class Buz { method a {"c"} }; my $a = Bar.new(); class Bar is also { does Baz };class Bar is also { is Buz }; my $b = Bar.new(); say join ',', $a.a, $b.a | 12:10 | |
exp_evalbot | OUTPUT[b,b] | ||
moritz_ | uhm, pugs' OO model isn't all that good ;) | 12:11 | |
ruoso | moritz_, but I think the last one is right | 12:13 | |
becaus I'm adding MI to Bar | |||
12:13
cognominal_ left
|
|||
ruoso | and the MRO would call Foo's a | 12:13 | |
www.perlfoundation.org/perl6/index....ementation | 12:14 | ||
lambdabot | Title: SMOP p6opaque Implementation / Perl 6, tinyurl.com/2z5spt | ||
ruoso | moritz_, take a look at the "composition" section in this sketch I'm writing | ||
moritz_ | ruoso: I don't know enough about Perl 6 OO (and MRO in general) to really assess that | 12:17 | |
12:22
mattz_ left
12:23
mattz joined
12:35
franck____ joined,
franck____ left
12:48
pbuetow joined
13:01
renormalist joined
13:02
blindfish left
13:08
blindfish joined
13:19
wknight-away left
13:27
zamolxes left
13:46
integral left,
integral joined
13:52
kanru joined
13:58
monomorph joined
14:00
f0rth left
14:03
alester joined
14:05
Lorn joined,
cognominal_ joined,
alester left
14:07
integral left,
integral joined
14:29
icwiener joined
14:35
acmoore joined
14:46
riffraff joined
14:52
Aankhen`` joined
14:57
AndyAway is now known as alester
15:10
Aankh|Clone left
15:12
barney left
15:15
TJCRI joined
15:25
peeps[work] joined
15:37
cosimo left
15:39
riffraff left
15:42
jferrero joined
15:46
paq joined
15:47
otronick joined
15:51
manfred joined,
kyrbe joined
15:52
kyrbe left
15:55
Aankh|Clone joined
16:10
paq left
16:11
kst left
16:12
Alias__ joined,
kst joined
16:13
Aankhen`` left
16:22
kanru left
16:25
Patterner left,
Psyche^ joined,
Psyche^ is now known as Patterner
16:35
kst left
16:36
njbartlett joined
|
|||
TimToady | ruoso: those look correct to me. the does inserts the 'b' method into Bar directly, and all the other .a's are in base classes, so the role wins | 16:59 | |
pugs_svn | r19826 | moritz++ | [irclog] fixed stupid bug in the logging bot that caused | ||
r19826 | moritz++ | weird and wrong nick names | |||
TimToady | that's because "is also" is modifying the class in place, not doing a mixin | ||
if it were a mixin (as in "0 but true") then it would be different | 17:00 | ||
with a mixin you get a new anonymous class, and then a does in the original class is considered part of the original class, not part of the new anonymous class | |||
17:20
justatheory joined,
kst joined
17:28
kane__ left
17:29
rindolf joined
17:52
meppl joined
17:55
paq joined
17:56
paq left
17:59
cognominal_ left
18:00
cognominal_ joined
|
|||
pugs_svn | r19827 | moritz++ | [irclog] added a few #parrot specific bots | 18:02 | |
moritz_ wonders why the dynamic nick coloring doesn't work for the #parrot logs | 18:05 | ||
pugs_svn | r19828 | moritz++ | [irclog] determine nick colors local to current channel ;) | 18:13 | |
18:13
ebassi left
|
|||
moritz_ | the nick coloring predates the "multiple channels" feature ;) | 18:15 | |
18:17
cognominal_ left
18:22
rindolf left
18:24
tobeya joined
|
|||
Lorn | moritz_: hey, can you help me? i forget my password for the commit bit :P | 18:27 | |
moritz_ | Lorn: just a sec | 18:28 | |
damned, commitbit not respondiing | |||
Lorn: sent. If it doesn't work, or doesn't arrive, ping me again | 18:30 | ||
18:36
paq joined
18:39
njbartlett_ joined,
njbartlett left
18:43
TechJournalist joined
|
|||
cj | morning homies | 18:45 | |
Tene | morning | 18:46 | |
18:56
ruoso_ joined
18:57
ruoso left,
ruoso_ is now known as ruoso
18:59
rindolf joined
19:16
chris2 left
19:17
paq left
19:18
manfred left
19:19
jisom joined
19:20
manfred joined
19:31
paq joined
|
|||
pugs_svn | r19829 | lorn++ | commit bit test | 19:33 | |
Lorn | moritz_: work :) thanks | ||
moritz_ | Lorn: you're welcome | 19:34 | |
ruoso: Vienna.pm is giving out grants in the "winter of code" project | 19:36 | ||
ruoso: maybe you could apply for a grant there | |||
19:38
paq left,
Aankhen`` joined
19:39
paq joined
19:44
paq left
19:47
psapo joined
19:51
jisom left
19:53
__Ace__ joined
19:54
smtms left
19:57
Aankh|Clone left
20:00
Aankhen`` left,
smtms joined
|
|||
moritz_ | @tell unobe I didn't apply your last irclog patch because the problem was cause by caching, not by wrong DB entries. Mail to you hangs at some smtp server :/ | 20:04 | |
lambdabot | Consider it noted. | ||
20:14
buchet joined
20:16
buchet left
20:24
peepsalot left
20:25
ebassi joined,
peepsalot joined
20:28
manfred left,
TechJournalist left
21:01
DaGo joined
21:03
rindolf left
21:15
smtms left
21:54
alester left
21:55
smtms joined
22:15
Auzon joined
22:16
smtms left
22:17
smtms joined,
araujo left
22:29
otronick left,
alester joined
22:45
alester left
22:48
DarkWolf84 joined
22:57
ludan joined
23:02
iblechbot left
23:04
ebassi left
23:07
DarkWolf84 left
23:09
Alias__ left
23:10
wknight-away joined
23:26
TJCRI left,
monomorph left
23:28
peeps[work] left
23:41
alester joined
23:55
cathyal joined
|
|||
cathyal | hi | 23:55 | |
just wondering | |||
Tene | Yes? | ||
cathyal | anyone worked on ircdaemons | ||
23:56
wknight-away left
|
|||
cathyal | ..i know ot | 23:56 | |
spinclad | we have an irclogger | ||
svn.pugscode.org/pugs/misc/irclog | 23:58 | ||
lambdabot | Title: Revision 19829: /misc/irclog |