6.2.11 released! | pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6
Set by audreyt on 1 February 2006.
00:12 Qiang joined 00:28 justatheory joined 00:34 stevan_ joined 00:44 justatheory joined 00:51 scook0 joined 00:59 macli left 01:03 joepurl joined 01:12 lisppaste3 joined 01:31 frederico joined 01:37 pmccann joined 01:57 Alex24NJ joined 02:42 stevan joined 02:49 vel joined 03:01 drbean joined 03:03 justatheory joined 03:41 vel joined 04:12 Debolaz joined, drbean joined 04:57 _SamB_ joined, Supaplex joined
Supaplex hey folks =) 04:57
04:59 _SamB_ is now known as SamB 05:03 KingDiamond joined 05:29 KingDiamond joined
gaal are we going to have a printf == print sprintf builtin? 05:48
svnbot6 r8954 | gaal++ | PPT printf.p6 - implementation
06:08 weinig joined 06:10 Cryptic_K joined 06:34 Khisanth joined 06:40 KingDiamond joined, justatheory joined 07:12 azuroth joined 07:30 drbean joined 07:43 Aankhen`` joined 08:03 nothingmuch joined 08:12 Alex24NJ joined 08:14 KingDiamond joined
nothingmuch help 08:25
i have a writer's block
www.osdc.org.il/talk.html?id=7 08:26
08:26 kanru joined 08:37 iblechbot joined 09:13 spo0nman2 joined 09:30 Aankh|Clone joined 09:36 nnunley joined 09:40 larsen joined 09:48 kane_ joined 10:02 spo0nman2 is now known as grepthis 10:08 chris2 joined 10:20 KingDiamond joined 10:26 Southen joined 10:48 elmex joined, nothingmuch joined
azuroth ?eval $a = [1,2,3]; $a .= [1]; say $a 10:55
10:55 evalbot_8949 is now known as evalbot_8954
evalbot_8954 Error: unexpected "." expecting operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input 10:55
azuroth ?eval $a = "a" say $a.upper 10:56
evalbot_8954 Error: unexpected "s" expecting operator, ">>=><<", "\187=>\171", "=>", "::=", "**=", "xx=", "||=", "&&=", "//=", "^^=", "+&=", "+|=", "+^=", "~&=", "~|=", "~^=", "?|=", "?^=", ":=", "~=", "+=", "-=", "*=", "/=", "%=", "x=", "Y=", "\165=", "|=", "^=", "&=", "=", postfix conditional, postfix loop, postfix iteration, ";" or end of input
azuroth whoops :-) 10:57
?eval $a = "a"; say $a.upper
evalbot_8954 Error: Undeclared variable: "$a"
azuroth ?eval my $a = "a"; say $a.upper
evalbot_8954 Error: No such method in class Str: "&upper"
azuroth ?eval my $a = "a"; say $a.toUpper
evalbot_8954 Error: No such method in class Str: "&toUpper"
azuroth ?eval my $a = "a"; say $a.toupper 10:59
evalbot_8954 Error: No such method in class Str: "&toupper"
azuroth ?eval my $a = "ab"; say $a.chomp
evalbot_8954 OUTPUT[ab ] bool::true
azuroth ?eval my $a = "ab"; say $a.chop 11:00
evalbot_8954 OUTPUT[a ] bool::true
azuroth ?eval my $a = "ab"; $a .= chop; say $a
evalbot_8954 OUTPUT[a ] bool::true 11:01
azuroth ?eval my $a = "ab"; $a .= [0]; say $a
evalbot_8954 Error: unexpected "." expecting operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input
azuroth ?eval my $a = "ab"; $a .= ([]) 0; say $a
evalbot_8954 Error: unexpected "." expecting operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input
azuroth ?eval my $a = "ab"; $a .= substr 1; say $a 11:03
evalbot_8954 Error: unexpected "1" expecting operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input
azuroth I should be using pugs, shouldn't I?
xinming azuroth: You are not using haskell definitely. :-) 11:07
my $a = "ABCDEFG"; $a.lc.say;
?eval my $a = "ABCDEFG"; $a.lc.say;
azuroth aha
evalbot_8954 OUTPUT[abcdefg ] bool::true
xinming ?eval $a = "abcdefg"; $a.uc; 11:08
;-)
evalbot_8954 Error: Undeclared variable: "$a"
azuroth [] is a method though, so maybe .= [1] should work?
xinming ?eval my$a = "abcdefg"; $a.uc;
?eval my $a = "abcdefg"; $a.uc;
evalbot_8954 "ABCDEFG"
azuroth I'm not sure whether it's in the synopses or not though, to be honest
evalbot_8954 "ABCDEFG"
azuroth is there a tc? title case? ;-p 11:09
xinming ?eval sub tc ($s is copy) { $s ~~ s/./{uc $/}/; $s }; (tc "abcdef").say 11:11
:-)
:-P
evalbot_8954 OUTPUT[Abcdef ] bool::true
11:12 nothingmuch joined
azuroth sneaky :-p 11:13
theorbtwo Careful: In some languages, titlecase and uppercase aren't the same thing. 11:17
(I don't know /what/ languages...)
nothingmuch seen audreyt?
jabbot nothingmuch: audreyt was seen 1 days 5 hours 53 minutes 30 seconds ago
xinming theorbtwo: hmm, are you free? I've got a problem in debugging, I don't know if it is a bug in pugs, But I really can't catch it. 11:18
azuroth hmm. I guess that makes sense, theorb
11:19 iblechbot joined 11:25 KingDiamond joined 11:30 feng joined 11:43 bsb joined 12:02 DaGo joined
nothingmuch i have a yucky problem with C++ here 12:18
azuroth oh?
nothingmuch i'd like to see how well it could be resolved in Perl
(6)
i have an object
and I need to add an interface to it 12:19
send/receive (serializability to a filehandle)
first of all i see that send/receive themselves will be much simpler due to introspection
i could just iterate the attributes 12:20
second, decorating the class with this interface automaticallly
third, applying the send/receive interface to all the classes within my class's members
(automatically)
lastly, getting compile time errors if a member in my class is not sendable/receivable, because it's a filehandle or something like that 12:21
as I see it this is duck typing
err
a problem for duck typing
if I just treat my class as if it does that
12:21 bazman joined
nothingmuch then it tries to apply send/receive to that class 12:21
food for thought 12:22
maybe I should p6l
12:23 efunneko joined
azuroth maybe something like... for each member, ~~ Serializable { $obj.send($fh); } ~~ Int { ... } ~~ String { ... } but no 12:25
what do you mean by automatically decorating the class? 12:26
nothingmuch well
i declare the serializable interface
in one place
and if i demand this interface in another place
from any class
then that class automatically gets it
think of it as a universal role
azuroth what... $a = Monkey.new(); $a.serialize($fh) # $a now does Serializable ? 12:28
scook0 nothingmuch: sounds like deep magic
were you thinking of this taking place at compile-time, or run-time?
nothingmuch azuroth: err, yes =)
except perhbaps i need to declare my Serializable $a = Monkey.new;
12:30 bazman left
nothingmuch stevan: ping 12:31
12:38 r0nny joined
nothingmuch sent 12:40
azuroth to p6l?
nothingmuch yes 12:41
12:48 bazman joined
scook0 nothingmuch: incidentally, I'm pretty sure "inference" only has one 'r' 12:54
nothingmuch scook0: i always do that =)
sorry
scook0 I remember intending to correct you on the same thing quite a while ago, and always forgetting to actually do so :) 12:56
nothingmuch ) 13:00
=)
13:46 kane_ joined
nothingmuch www.oooms.nl/ 13:55
13:57 feng123 joined 14:03 r0nny joined 14:10 funkyville joined 14:24 funkyville left 15:07 stevan_ joined
Juerd Hm 15:19
Once upon a time, feather built pugs automatically, and typing "pugs" would start a very recent revision
Now, it uses a debian package, which updates at release interval. 15:20
And the automatic building is broken even.
What have I missed?
Juerd prefers the old situation (pre-october)
I now finally understand some of the complaints. 15:21
(People don't all want to build their own pugses and parrots, many people just want to test drive Perl 6)
I guess I'll do the automatic stuff myself again. 15:22
gaal sneaky little pugses and parrotses
Juerd Hell, the script that did the automatic builds no longer even exists, it seems. 15:23
gaal it doesn't? look in ~eric256 ? 15:24
Juerd All there's left is automatic smoking. 15:25
Which wasn't the point of the automatic builds. It's certainly nice to have, but accessible pugs was the primary reason to have automatic building. 15:26
15:30 justatheory joined
gaal for me autosmokes are an immense benefit 15:42
because I don't have to remember to do one half of the regression test :-) 15:43
how does it do autosmoking if it doesn't do autobuilding? :)
you can probably prepend eric's directory to your path and get a recent pugs 15:44
Juerd No, it's not about me. 15:45
I don't care if I have to build pugs myself.
It's for the users of feather. It's a service I once provided, and then handed over to eric256.
I never installed the debian package.
So things happened without me being aware, and as you may know, I don't like monitoring what other people do.
So I'm just going to do it myself again
People should be able to login and run pugs, and test some things to see if they're supported yet. 15:46
The most recent pugs I can find in ~eric256/auto is from December 15:47
eric256 hasn't logged in for a while 15:48
Last login Nov 15 15:49
gaal i thought i saw recent linux smokes? who submits those? 15:50
Juerd From the looks of it, eric's autosmoke has been broken since December
An svk locking issue
gaal I may have been wrong. In any case, I encourage you to also put smokes into the cycle, if you take back autobuild.
15:51 nothingmuch joined
Juerd I'll probably do that. I have been under the impression that eric256 did these things. 15:51
gaal: Whereto are these smokes submitted?
gaal hopes eric has not been eaten by a grue
Juerd: smoke.pugscode.org
15:51 rantanplan_ joined
gaal you can have that automatically after 'make smoke' by adding one line to config.yml 15:52
Juerd Nice
gaal very. 15:53
Juerd feather.perl6.nl/~eric256/t_index/ is updated often, but as far as I can tell, it's been operating on the same revision for months :)
gaal :) 15:54
15:55 nothingmuch_ joined
nothingmuch_ fucking guy! 15:56
seen audreyt?
jabbot nothingmuch_: audreyt was seen 1 days 10 hours 31 minutes 41 seconds ago
nothingmuch_ hates the cable carrier
HATE HAT HATE
15:57 nothingmuch_ is now known as nothingmuch
Juerd For a moment I thought "hey, that eric256 guy IS logged in, and he's even watching top..." 16:00
But then I realised "Oh, that's me, still working under his uid"
gaal $$.head.bonk 16:01
gaal goes home & 16:02
16:04 rantanplan_ joined 16:05 elmex joined
Juerd It appears that "make smoke" is part of debian/rules binary. 16:22
Weird, but useful in this case.
It does take quite a while.
16:33 Qiang joined
gaal still less than GHC :) 16:43
Juerd, is feather SMP by any chance?
16:47 vel joined 16:51 BakedB joined 17:05 marmic joined 17:24 wilx joined 17:27 stevan joined 17:30 leo_____ joined, justatheory joined 17:31 BakedB joined 17:54 Alex24NJ joined 18:33 revdiabl1 is now known as revdiablo 18:34 Alex24NJ left 18:36 nothingmuch joined 19:04 feng joined 19:14 elmex joined 19:20 Bulgarian joined 19:33 Amnesiac joined
Juerd gaal: No 19:34
gaal: Though if you happen to have hardware to donate... :)
windows-- # learn to multitask 19:49
I'll try autobuilding again later. 19:53
Things don't currently debian-compile out of the box.
Next attempt will be debless, to see if that will work.
Thank you. An email will be sent to you with the URL for the requested download. 19:57
No, fuckers, I want it NOW.
Ah, there it is. 19:58
Another minute wasted.
Grr.
Just in case you also want it, don't bother with the form, bits.xensource.com/ISO/latest/xen-3...cd-3.0.iso
obra can Xen run unmodded windows these days?
szbalint Heh. It blows the mind that someone wants an email address for a download. 19:59
obra szbalint: why? It's pretty standard in the "and we want to talk to you later, and maybe sell you stuff" sense.
(Assuming it's optional)
szbalint Yeah, the emphasis is on optional. :) 20:00
obra Sure. non-optional makes me squick. But I expect RT will have such an (optional) thing within a couple months if my sales person has something to say about it
Juerd obra: Only with special inter CPUs supporting some kind of virtualization technology.
obra ah :/ 20:01
Juerd obra: It wasn't optional in this case.
obra eit
Juerd obra: To get this GPL'ed software, I had to give my address.
That's highly unusual, and deeply disturbs me.
obra There's nothing preventing them from doing that.
Juerd That is entirely correct.
obra I've seen it before. But yes, now you're free to redist it
Juerd However, I do happen to hate those forms. 20:02
And I don't wish to associate such negative feelings with open source software, that generally is distributed in a user friendlier way.
20:02 leo_____ is now known as LeTo
Juerd obra: Re optional fields: I generally do leave my address 20:04
But: I want to continue to download directly, and not have to wait for mail. 20:05
I expected the same here :|
gaal so, has anyone done some design work on embedding haskell in p6? we have eval :lang<haskell>, but that looks like an interpreter, and you can't seem to import modules from there. 20:25
I see we aren't squeezing everything we could out of System.Eval.eval_ 20:26
20:46 r0nny joined 20:51 wilx joined 21:06 G2 joined 21:10 justatheory joined 21:20 larsen joined 21:46 nothingmuch joined, justatheory joined 22:20 Cryptic_K joined 22:45 dduncan joined 23:30 bsb left
wolverian hm, STATUS needs updating 23:34