-Ofun: xrl.us/hxhk | pugscode.org | pugs.kwiki.org | paste: paste.lisp.org/new/perl6 or sial.org/pbot/perl6 Set by apple-gunkies on 11 November 2005. |
|||
kane_ | Khisanth: perldoc works fine for me, otherwise you Just Read It ;) | 00:09 | |
dduncan | ?eval try { die Object.new() }; say "got a '{$!.ref}' having '$!'" | 00:21 | |
00:21
evalbot_8064 is now known as evalbot_8068
|
|||
evalbot_8068 | OUTPUT[got a 'Str' having '<obj:Object>' ] bool::true | 00:21 | |
dduncan | so I just discovered this bug ... | 00:22 | |
objects get stringified when used as a die argument | |||
but they should stay objects | |||
looking for existing test ... | |||
Khisanth | so how is die defined? | 00:39 | |
wolverian: thegoo.org resembles a marketing gimmick for a movie | 00:54 | ||
dduncan | still going to check on that, but first ... | ||
I'm wondering what the correct test is to see if a package has been loaded or not | |||
wolverian | Khisanth, yes. the tour pdf is better :) | ||
Khisanth | I mean it uses a lot of words to say nothing | 00:55 | |
dduncan | "return defined ::($module_name);", an analogue to Perl 5's "no strict 'refs'; return defined %{$module_name . '::'};", always returns 1, it seems | 00:56 | |
so I'm wondering what to test to see if there was a previous "use/require Foo" or not | |||
Khisanth | which is not a very good way to convince people to download a 20MB pdf file ... | ||
wolverian | Khisanth, yes. you might want to submit a bug report. :) | 00:57 | |
dduncan | or more specifically, I want to only "use Foo" if there wasn't already a Foo declared by an already loaded file | ||
Khisanth | wolverian: that would require finding the correct location first (Note: I haven't downloaded the pdf) | ||
svnbot6 | r8069 | Darren_Duncan++ | r1093@Darren-Duncans-Computer: darrenduncan | 2005-12-03 17:08:32 -0800 | 01:10 | |
r8069 | Darren_Duncan++ | /ext/Rosetta-Incubator : fixed several bugs in Locale::KeyedText and its examples ... 2 known bugs still remain, but it otherwise works | |||
dduncan | one of those 2 bugs is the test for existing package | 01:15 | |
the other bug is that die stringifies its arg | 01:16 | ||
wolverian | Khisanth, I don't know if the site itself is on CPAN, but Goo itself is. if you have the energy, the address should be there. | ||
(s,the,an,) | |||
Khisanth | energy yes, interest no :) | 01:17 | |
dduncan | with the second one, I will search for and if necessary add a Pugs test for it | ||
the first one, I don't know what the correct syntax is | |||
02:23
kanru2 is now known as kanru
|
|||
meppl | gute nacht | 02:38 | |
svnbot6 | r8070 | Darren_Duncan++ | r1097@Darren-Duncans-Computer: darrenduncan | 2005-12-04 00:20:59 -0800 | 08:24 | |
r8070 | Darren_Duncan++ | added new test t/builtins/control_flow/die_arg_preservation.t, which checks that gets what you pass to die() in pristine shape, with original value type, not cast as Str ... needed when using objects as exceptions | |||
dduncan | fyi, I reported the corresponding bug here a few hours ago; see colabti.de/irclogger/irclogger_log/...005-12-04, time index 00:21 | 08:27 | |
I still have to look into the /src, but fixing this *may* be as simple as changing the signature of die() from taking a 'Str' arg to an 'Any' arg | 08:29 | ||
now, I found one source line that may not be *the* problem here, but it could be a problem of its own ... | 08:34 | ||
it is in /perl5/PIL-Run/lib/PIL/Run/PrimP5.pm ... | 08:36 | ||
line 408, says: MULTI SUB die (*@xxa) { die map{p6_to_s($_)}@xxa; }; | |||
that appears to be an explicit cast to a string ... | |||
therefore, it should effectively say instead: MULTI SUB die (*@xxa) { die @xxa; }; | 08:37 | ||
but that's only a parallel issue ... | |||
I think the actual problem I'm facing may be caused in ... | 08:41 | ||
src/Pugs/Internals.hs, lines 152... where "die" is declared | 08:42 | ||
the line "die :: (MonadIO m, Show a) => String -> a -> m b" suggests that it throws/returns a "String", and maybe that's what needs changing | 08:43 | ||
I'm not sure what to change it to, though, if that is the right place | |||
on the other hand ... | 08:45 | ||
there is src/Pugs/Prim.hs, lines 325... | 08:46 | ||
perhaps "fail (errmsg . concat $ strs)" is what is doing the string cast ... | 08:47 | ||
or specifically, the "concat" | 08:48 | ||
I wonder what Perl 5 does ... its die can take multiple args and concat them like this, but it can also pass objects unscathed ... | 08:49 | ||
maybe what's necessary here is to test the args contents ... if there is just one value in args then pass it as is without the string cast | 08:50 | ||
in any event, it will take me time to figure out the exact code to change to, but hopefully I've pointed out what line(s) need changing | 08:51 | ||
anyway, its late, so... | |||
good night! | |||
nothingmuch, if you want to backlog the last 20 mins, you may have comments ... or know whether I'm on the right track re what needs fixing | 08:53 | ||
fixing what the test in 8070 reports | |||
nothingmuch | hola | ||
can't right now | |||
ETOOWRKOVERFLOW | |||
err | |||
EWRKOVERFLOW | |||
dduncan | did you log in automatically? | 08:54 | |
nothingmuch | just came to ask someone on #catalyst to make sure a bug doesn't exist | ||
and when I launched irssi it connected to all my usual channels | |||
dduncan | fyi, this is about the ability to use objects as exceptions ... I discovered and committed a test showing all die args are cast as Strs, but shouldn't be | ||
nothingmuch | right | 08:55 | |
that shouildn't be | |||
dduncan | in the backlog, I searched and identified the 2-10 lines in the src that are probably what need tweaking | ||
but I'm not sure exactly what to change them to | |||
they are the definitions of die() in Internals.hs and Prim.hs | 08:56 | ||
nothingmuch really can't do that right now | |||
i have a C++ memory allocation bug to chase | |||
dduncan | that's fine ... hopefully what I wrote will help someone else with the tuits to fix it | ||
nothingmuch | aye | 08:57 | |
dduncan++ | |||
dduncan | now about that ... | ||
karma dduncan | |||
jabbot | dduncan: dduncan has neutral karma | ||
dduncan | now there's a bug | 08:58 | |
it always says neutral | |||
good night | 09:01 | ||
nothingmuch | autrijus: ping | 12:33 | |
elmex | nothingmuch: pong | 12:56 | |
nothingmuch | elmex: ? | 13:05 | |
elmex | nothingmuch: :) | 13:06 | |
never mind | |||
nothingmuch | okay =) | ||
autrijus: i do you have HTML::FromANSI in a repository somewhere? if so, can I have it? | |||
nnunley | nothingmuch: It looks like it's in CPAN. | 13:09 | |
nothingmuch | nnunley: yeah, it's been there for a long while | 13:12 | |
i'm now comaintainer, since I have a change for it | 13:13 | ||
Term::VT102::Boundless is more suitable than Term::VT102 for this specific taskl | |||
so now I was going to update it but I'd like to be versioned and stuff | |||
nnunley | Got it. | 13:27 | |
Misinterpreted the it as being the bundle, and not the repository. | |||
svnbot6 | r8071 | kane++ | * register installations | 13:47 | |
r8071 | kane++ | * allow to write back installation information | |||
r8071 | kane++ | * add is_installed & write methods | |||
r8071 | kane++ | * have package->install register it's installation | |||
r8071 | kane++ | * pull meta info from .jib file | |||
r8071 | kane++ | * add tests | |||
rafl | kane_: ping | 14:06 | |
kane_: Object::Accessor confuses me. I do $obj->mk_accessors(qw( dirig )); and $obj->dir($dir) where $dir is 'foo' and checked using Params::Check. | 14:07 | ||
kane_: But what I get back from $obj->dir() is JIB::Repository=HASH(0x83f89dc). Why? | 14:08 | ||
kane_ | show me some code -- it doesn't quite make sense like this :) | ||
clkao | mad kane | 14:09 | |
rafl | kane_: nopaste.debianforum.de/1738 | ||
kane_: Line 18 outputs 'foo', line 20 ouputs 'JIB::Repository=HASH(0x...)' | 14:10 | ||
kane_ | rafl: interesting... let me check that -- it should Just WOrk | 14:11 | |
rafl: you must have a typo somewhere though -- it works for me: | 14:13 | ||
nopaste.snit.ch:8001/5694 | |||
rafl | kane_: It doesn't work if Path::Class is loaded.. | 14:15 | |
kane_ | path::class is hijacking the dir() function? | 14:16 | |
rafl | D'OH. | ||
kane_ | yup, it is | ||
naughty path::class | |||
rafl | Indeed. | 14:18 | |
OK, everything works now. | |||
kane_: Let's discuss the repository layout a bit. | 14:27 | ||
kane_ | sure, go ahead | ||
rafl | kane_: I would like to have all .jibs in one directory ("pool", maybe split up alphabetically). | ||
kane_: And the index files in another dir (I call it dists) | |||
kane_: The dists directory should have various index files in various subdirectories. grouped by any meta information you want. | 14:28 | ||
kane_: I want author, language and module, for now. | |||
kane_ | this sounds very much like what debian does, correct? | 14:29 | |
rafl | kane_: So I can select all modules of author a written in p6. | ||
It goes beyond what Debian does. | |||
Debian only has dists/{stable,testing,unstable}/{main,contrib,non-free} | 14:30 | ||
kane_ | the pool/dists thing i recognize -- the split up from 'just' Packages.gz to the subdirs is the 'beyond' part, right? | ||
rafl | No. Debian also has subdirs in dists where the Packages.gz lives. That's the same way I thought about it for sixpan. But I would like to use every meta information available to group the packages files. | 14:31 | |
kane_ | puts a bit of strain on the generation of them on updates, but that's about it when it comes to complexity right? | ||
rafl | (Well, this should be possible at least. Your not forced to serve millions of index files, of course) | ||
kane_ | so there's one aggregated index on packages, and then subsets on $metainfo you find interesting? | 14:32 | |
rafl | Yes. | 14:33 | |
kane_ | ok.. so that means the subsets are nothign more than a grep on the main index? | ||
so allow for that structure, stick iwth the main index for now? | |||
rafl | Kind of, yes. | ||
EPARSE | |||
kane_ | mm? | 14:34 | |
rafl | I didn't get that sentence: so allow for that structure, stick iwth the main index for now? | 14:35 | |
kane_ | for now, just use the main index, but allow for a repository structure that has sub-indexes | 14:36 | |
kane_ has to go afk for a while -- back in about an hour or so probably | 14:38 | ||
rafl | kane_: Sorry.. feather was offline for some moments. | 14:42 | |
kane_: Well, OK. | |||
Juerd_ | Sorry 'bout that :) | 14:43 | |
rafl | Juerd_: Please alias 'ifconfig eth0 down' to 'slay juerd' | 14:45 | |
Juerd_ | rafl: Hehe | 14:48 | |
rafl: It was the router | |||
rafl: Unavoidable. | |||
rafl | What did the router do? | 14:49 | |
Juerd_ | Disable an interface on which part of the internet was no longer routable. | 14:55 | |
It then can take a few minutes before the entire chain, upto your provider, knows how to route the packets again. | |||
rafl | Oh well.. :-( | ||
Let's hope that doesn't happen during my GPW talk. | 14:56 | ||
Juerd_ | It can always happen | ||
rafl | We're pretty much pissed if we don't have a box that run's pugs. | ||
Juerd_ | It's a mechanism that keeps thingsn running :) | ||
For other people, feather had been offline for 10 minutes | 14:57 | ||
And longer if this hadn't happened | |||
rafl | Well, news wrt the european geek tour? :-) | 14:58 | |
Juerd_ | No | ||
But I have set aside some money to be able to go to 22c3 | |||
Need a little more, or else I'll have to do without food for a few days, but I think I'll manage | 14:59 | ||
rafl | Great! | ||
Maybe Sven can help out with some food for those four days. :-) | |||
Traveling by train or car or plain? | |||
Juerd_ | Car | ||
Traveling by car is cheaper, especially if I can find a passenger | |||
It's approx. 90 euros per drive, based on German fuel prices. | 15:00 | ||
rafl usually pays <5EUR for Chemnitz -> Berlin | |||
Juerd_ | LPG is even cheaper in .nl, so if I fill it up before the border, it'll be even cheaper :) | ||
Amsterdam - Berlin costs approx. 165 | 15:01 | ||
And Dordrecht - Amsterdam some 20 | |||
rafl | Hm, OK. | ||
rafl needs to leave now. | 15:02 | ||
Juerd_ | OK, bye | ||
BTW - will you also be staying at Sven's? | |||
rafl | Yes. | 15:03 | |
Juerd_ | Great :) | ||
rafl nearly always sleeps at Sven's place when he's in Berlin. | |||
15:03
Lopo_ is now known as Lopo
|
|||
rafl | There are big, fat cats that you can use as a pillow there. | 15:03 | |
Juerd_ | Cats++ | 15:04 | |
rafl | The big fat ones only. The small ones always bite me. | ||
Juerd_ | Note to self: bring extra duct tape to mend air bed. | ||
rafl | :-) | 15:05 | |
Bye. | |||
xgl | @y[$x++]++ <- is this legal? | 17:03 | |
?eval my $x = 0; my @y = 1..9; @y[$x++]++; $x | 17:06 | ||
17:06
evalbot_8068 is now known as evalbot_8071
|
|||
evalbot_8071 | \3 | 17:06 | |
xgl | ?eval my $x = 0; my @y = 1..9; @y[$x++]++; @y | ||
evalbot_8071 | [1, 2, 2, 4, 5, 6, 7, 8, 9] | ||
xgl | ?eval my $x = 0; my @y = 1..9; ${@y[$x++]}++; $x | 17:07 | |
evalbot_8071 | \1 | ||
xgl | ?eval my $x = 0; my @y = 1..9; ${@y[$x++]}++; @y | ||
evalbot_8071 | [2, 2, 3, 4, 5, 6, 7, 8, 9] | ||
xgl | ?eval my $x = 0; my @y = 1..9; ++${@y[++$x]}; @y | ||
evalbot_8071 | [1, 2, 3, 4, 5, 6, 7, 8, 9] | ||
r0nny | xgl: u midded to add a loop | ||
eh missed | |||
?eval my @foo=1..0;for @foo -> $bar { $bar++};@foo | 17:08 | ||
evalbot_8071 | [] | ||
r0nny | ops | ||
xgl | ?eval my @foo = 1..9; for @foo -> $bar {$bar++}; @foo | 17:11 | |
evalbot_8071 | Error: Can't modify constant item: VRef <Scalar> | ||
r0nny | ?eval my @foo=1..9;for @foo -> $bar is rw { $bar++};@foo | ||
evalbot_8071 | [2, 3, 4, 5, 6, 7, 8, 9, 10] | ||
r0nny | ?eval my @foo=1..9;for @foo -> $bar { $bar++};@foo | ||
evalbot_8071 | Error: Can't modify constant item: VRef <Scalar> | ||
r0nny | ?eval my @foo=1..9;map{$_++}@foo | 17:12 | |
evalbot_8071 | Error: Can't modify constant item: VInt 1 | ||
r0nny | ?eval my @foo=1..9;for @foo -> $bar ia rw { $bar++};@foo | ||
evalbot_8071 | Error: unexpected "f" expecting ";", statements or end of input reserved word | ||
r0nny | ?eval my @foo=1..9;for @foo -> $bar is rw { $bar++};@foo | ||
evalbot_8071 | [2, 3, 4, 5, 6, 7, 8, 9, 10] | ||
r0nny | ?eval my @foo=1..9;for @foo -> $bar is rw { $ar++ if $bar==5;};@foo | 17:13 | |
evalbot_8071 | Error: Undeclared variable: "$ar" | ||
r0nny | ?eval my @foo=1..9;for @foo -> $bar is rw { $bar++ if $bar==5;};@foo | ||
evalbot_8071 | [1, 2, 3, 4, 6, 6, 7, 8, 9] | ||
xgl | so @y[$x++]++ should not be legal, because it applies '++' in list context? | ||
r0nny | actually it is legal | 17:14 | |
cause [] returns a object | |||
xgl | but that object is an one-element list though, right? | 17:15 | |
r0nny | actually i dont know | ||
try it | |||
xgl | ?eval my $x = 0; my @y = 1..9; @y[5] | 17:16 | |
r0nny | no space in front of the ? | ||
xgl | ?eval my $x = 0; my @y = 1..9; @y[5] | ||
evalbot_8071 | \6 | ||
xgl | ?eval my $x = 0; my @y = 1..9; @y[$x] | ||
evalbot_8071 | \1 | 17:17 | |
r0nny | ?eval my $x = 0; my @y = 1..9; @y[5,7] | ||
evalbot_8071 | [6, 8] | ||
r0nny | ?eval my $x = 0; my @y = 1..9; @y[5..7] | ||
evalbot_8071 | [6, 7, 8] | ||
r0nny | ok | ||
xgl | ?eval my $x = 0; my @y = 1..9; @y[$x++] | ||
evalbot_8071 | [1,] | ||
r0nny | if u supply a list of indexes, it returns a list | ||
xgl | but if i apply a single index, it returns a scalar? what about that last expression .. @y[$x++] ... shouldn't that return a scalar instead of '[1,]? | 17:18 | |
r0nny | maybe a bug | 17:19 | |
im not sure | |||
i dont know the effect $++ has in combination with the ++ op | |||
try ++$x | 17:20 | ||
?eval my $x = 0; my @y = 1..9; @y[++$x] | |||
evalbot_8071 | [2,] | ||
r0nny | ?eval my $x = 0; my @y = 1..9; @y[(++$x)] | ||
evalbot_8071 | [2,] | ||
r0nny | ?eval my $x = 0; my @y = 1..9; @y[$x)] | ||
evalbot_8071 | Error: unexpected "[" expecting word character, "::", term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
r0nny | ?eval my $x = 0; my @y = 1..9; @y[$x] | ||
evalbot_8071 | \1 | ||
r0nny | ?eval my $x = 0; my @y = 1..9; @y[$x++.scalar] | ||
xgl | ok, i think the inconsistency between @y[$x] and @y[$x++] is probably a bug, but i'm not sure which behavior is canonically correct. | ||
evalbot_8071 | Error: unexpected "[" expecting word character, "::", term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
r0nny | ?eval my $x = 0; my @y = 1..9; @y[scalar $x++] | ||
evalbot_8071 | Error: No such method: "&scalar" | 17:21 | |
r0nny | ?eval my int $x = 0; my @y = 1..9; @y[$x++] | ||
evalbot_8071 | [1,] | ||
r0nny | ?eval my int $x = 0; my @y = 1..9; @y[{$x++}] | ||
evalbot_8071 | Error: cannot cast from VCode (MkCode {isMulti = False, subName = "<anon>", subType = SubBlock, subEnv = Just (MkEnv {envContext = CxtSlurpy (mkType "Any"), envLValue = False, envLexical = MkPad (padToList [("$?1",[(<ref>,<ref>)]),("$_",[(<ref>,<ref>)]),("$__evalbot_print",[(<ref>,<ref>)]),("$code",[(<ref>,<ref>)]),("$lang",[(<ref>,<ref>)]),("$x",[(<ref>,<ref>)]),("&?BLOCK_EXIT",[(<ref>,<ref>),(<ref>,<ref>),(<ref>,<ref>),(<ref>,<ref>),(<ref>,<ref>) | ||
r0nny | oh | ||
nice to know ;P | |||
xgl | ?eval my int $x = 0; my @y = 1..9; @y[${$x++}] | ||
evalbot_8071 | \1 | ||
xgl | interesting ... | 17:22 | |
r0nny | Juerd_: any idea whats up with this | ||
anyway - need to solve some math problems | 17:24 | ||
laterz | |||
xgl | thanx | ||
Juerd_ | r0nny: Up with what? | 18:58 | |
And why ask me? | |||
rafl | Juerd_: He learned that you're the one to blame. | 19:30 | |
kane_: How about JIB::PackageSet? | 19:31 | ||
Juerd_ | But I'm not! | 19:36 | |
rafl | Of course! | ||
You are. Who else should it be? | |||
Juerd_ | Saint Nicholas. | 19:37 | |
Be it Sinterklaas or Santa. I don't care. | |||
rafl | There's no Saint Nicholas. But there's a Juerd_. | ||
Juerd_ | I'm not real | 19:38 | |
Do you still believe in me? | |||
rafl | You sometimes say that you need money for food. | 19:44 | |
I guess no one who's not real does that. | 19:45 | ||
Also I doubt that you would have reserved a place to sleep at Sven's place if you wouldn't even need one, because you don't exist. | |||
And also typing would be hard without existing. | |||
Juerd_ | Who says that guy is me. | 19:51 | |
And that this line is typed. | |||
xgl | ?eval my $x = 0; my @y = 1..9; @y[$x] | 20:15 | |
evalbot_8071 | \1 | ||
xgl | ?eval my $x = 0; my @y = 1..9; @y[$x++] | ||
evalbot_8071 | [1,] | ||
xgl | why the difference? | 20:16 | |
nothingmuch | autrijus: ping | ||
Khisanth | slice vs. element? | 20:19 | |
nothingmuch | So, RorParams or Session::Flash ? | 20:20 | |
vote on the next RoR feature to steal | |||
as I write Authentication::Credential::Htpasswd | |||
oh, wait | |||
wrong channel | |||
xgl | sure, but why slice in one instance, but element in the other? | ||
Khisanth | probably the operator | 20:21 | |
?eval my $x = 0; my @y = 1..9; @y[$x+0] | 20:22 | ||
evalbot_8071 | \1 | ||
Khisanth | hmm | ||
autrijus | greetings from osdc.com.au! | 21:57 | |
was without net access all of yesterday | 21:58 | ||
obra | autrijus! | ||
how's osdc? | |||
autrijus | hey obra | ||
just past reg, first welcome talk 'bout to start | |||
obra | nice. | 21:59 | |
svk pull on jifty and rm -rf all of RPS/web | |||
autrijus | okay... they are now all autogenned? | ||
obra | not autogenned. defautled. | 22:00 | |
defaulted. | |||
autrijus | excellent | ||
obra is ajaxifying the "admin" templates now | |||
autrijus | last year osdc didn't have wireless nor coffee... apparently this year they've fixed both for good | ||
obra | heh | 22:01 | |
also, all of our deps are now included. (pureperl + linux-686) | |||
autrijus | very exciting | ||
obra | :) | 22:02 | |
autrijus | also, going to work with Alias on fixing M::I::* seriously | ||
documenting the API along the way and add sensible tests | |||
sorry for the long delay but we're getting around to it :) | |||
obra | nice | ||
autrijus pulls parrot 040 and tests the usual pugs compat | 22:07 | ||
nothingmuch | autrijus: is HTML::FromANSI on svn somewhere? | 22:11 | |
obra: who do i complain to when I don't get mail from rt.cpan.org on bugs opening (just getting updated?) | 22:12 | ||
autrijus | nothingmuch: no but you are free to create a openfoundry project... | ||
nothingmuch | autrijus: naaah.... darcs is easier | ||
autrijus | feel free to setup darcs for it | ||
nothingmuch | i'll import from CPAN and make a release tomorrow | ||
autrijus | please do | ||
DesreveR | re | ||
22:12
DesreveR is now known as r0nny
|
|||
autrijus | greetings r0nny | 22:12 | |
nothingmuch goes back to catalyst land | 22:13 | ||
r0nny | yo autrijus | ||
nothingmuch | let's see hwo many plugins I can release today ;-) | ||
autrijus | nothingmuch: go fer it :) I'm currently in Jifty land and may or may not come back to Cat later :) | ||
(I'm also rapidly running out of battery, so expect drop any time) | |||
r0nny | Juerd_: there was something odd with list access | ||
?eval my int $x = 0; my @y = 1..9; @y[$x++] | 22:14 | ||
evalbot_8071 | [1,] | ||
r0nny | why does this return a list ? | ||
autrijus | ?eval my $x = 0; my @y = 1..9; @x[$x+1] | ||
evalbot_8071 | Error: Undeclared variable: "@x" | ||
autrijus | ?eval my $x = 0; my @y = 1..9; @y[$x+1] | 22:15 | |
evalbot_8071 | \2 | ||
r0nny | hmm | ||
odd | |||
autrijus | fixing | ||
r0nny | ?eval my int $x = 0; my @y = 1..9; @y[++$x] | ||
evalbot_8071 | [2,] | ||
autrijus | fixed | ||
r0nny | hmm | ||
in svn ? | 22:16 | ||
atm i feel like updating parrot, and pugs | |||
obra | nothingmuch: you complain to me | ||
diotalevi | Hey, is that M::I::* that was mentioned earlier Module::Info of perl5? I'm doing some work to merge its forked B::Utils with the cpan B::Utils (and add tests n stuff) | ||
obra | nothingmuch: what bug was it and when? | ||
autrijus | diotalevi: Module::Install, sadly | ||
not ::Info | |||
diotalevi | Oh. Nevermind then. | ||
autrijus | r0nny: will commit after I run some tests (and if battery still up) | 22:17 | |
r0nny | hmm | ||
darn ;P | |||
guess i wont update this day | |||
autrijus | hm? I'm committing already | ||
r0nny: can you write a test for it? | 22:18 | ||
r0nny | yeah | ||
obra | nothingmuch: I certainly get notifications when bugs are created. I'd be happy to check logs | ||
autrijus | cool... see my commit log | ||
r9072 | |||
er, r8072 | |||
now I must drop... bbiab | 22:19 | ||
nothingmuch | obra: can't remember when last bug was openend... IIRC ~ 2-3 weeks ago | 22:20 | |
does it send to [email@hidden.address] ? | |||
obra | if that's listed as the owner of the module, yes | ||
r0nny | btw - is there a test for the broken method dispatcher ? | ||
nothingmuch | owner of the module? | ||
isn't this in my pause account? | |||
obra | yes, it's fed from pause | 22:21 | |
svnbot6 | r8072 | autrijus++ | * r0nny pointed out that post/pre ++/-- doesn't impose scalar | ||
r8072 | autrijus++ | context by default: | |||
r8072 | autrijus++ | my $x = 0; my @y = 1..9; is(@y[++$x].perl, '\\2') | |||
r8073 | autrijus++ | * My official english name is also changed on the passport... | |||
r8073 | autrijus++ | Reflect it in AUTHORS. | |||
obra | and goes to your @CPAN.ORG address | ||
nothingmuch | aye | ||
obra: i'll let you know if i suuspect this happenned again | 22:22 | ||
obra | thanks | ||
nothingmuch | i didn't get a mail for this one, for example: rt.cpan.org/NoAuth/Bug.html?id=15886 | 22:23 | |
obra | November 17 is a bit far back in time for me to have logs for ;) | 22:24 | |
(Nov 27 or so is the most recent I've got) | 22:25 | ||
r0nny | odd | ||
nothingmuch | okay | 22:26 | |
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[++$x]; | ||
22:26
evalbot_8071 is now known as evalbot_8073
|
|||
evalbot_8073 | OUTPUT[4 ] bool::true | 22:26 | |
r0nny | wth? | 22:27 | |
?eval my $x=0;my @foo=1..9;say @foo[$x+1]; | |||
evalbot_8073 | OUTPUT[2 ] bool::true | ||
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[$x++]; | ||
evalbot_8073 | OUTPUT[3 ] bool::true | ||
r0nny | ALLERT | ||
++ op broke | 22:28 | ||
?eval my $x=0;my @foo=1..9;say @foo[$x+=1]; | |||
evalbot_8073 | OUTPUT[4 ] bool::true | ||
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[$x++]; | ||
evalbot_8073 | OUTPUT[3 ] bool::true | ||
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[$x+1]; | ||
evalbot_8073 | OUTPUT[2 ] bool::true | ||
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[$x]; | ||
evalbot_8073 | OUTPUT[1 ] bool::true | ||
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[$x++]; | ||
evalbot_8073 | OUTPUT[3 ] bool::true | ||
r0nny | ?eval my $x=0;my @foo=1..9;say @foo[{$x++}]; | 22:29 | |
evalbot_8073 | Error: cannot cast from VCode (MkCode {isMulti = False, subName = "<anon>", subType = SubBlock, subEnv = Just (MkEnv {envContext = CxtSlurpy (mkType "Any"), envLValue = False, envLexical = MkPad (padToList [("$?1",[(<ref>,<ref>)]),("$_",[(<ref>,<ref>)]),("$__evalbot_print",[(<ref>,<ref>)]),("$code",[(<ref>,<ref>)]),("$lang",[(<ref>,<ref>)]),("$x",[(<ref>,<ref>)]),("&?BLOCK_EXIT",[(<ref>,<ref>),(<ref>,<ref>),(<ref>,<ref>),(<ref>,<ref>),(<ref>,<ref>) | ||
r0nny | ops | ||
n8 | 22:34 | ||
autrijus | it's a separate bug in t/pugsbugs/postincrement_in_subscripts.t | 23:21 | |
will fix | |||
mm the first talk (what's new in python) is nice | 23:30 | ||
coros (&coro.next that passes value to yield()); new "functional" module that introduces currying | 23:32 | ||
setuptools (CPAN.pm shell like); | |||
package support in indexer and much more metadata; everything moved to svn; | |||
shared AST structure (macro exposed to python land) among Jython, PyPy and CPython | 23:33 | ||
all these coming to Python 2.5 (alpha1 next March) | |||
integral | hmm, perl6 is missing quite a bit of that in spec form | ||
autrijus | yup. | ||
the specific Syns still has some way to go compared to detailed PEPs. | 23:34 | ||
wolverian | now they just need to get rid of the "parens are required when calling a function" thing | 23:37 | |
:) | |||
integral | and add {, }, and ;, and define layout as just adding appropiate ones ;-) | 23:38 | |
autrijus | :D | 23:39 | |
autrijus is reading up on Paste/WSGI | 23:40 | ||
wolverian | I'm fine with whitespace, except when ruby makes it impossible to use .map and such nicely | ||
autrijus | I'm... obviously biased in favor of optional layout :) | ||
wolverian | also, I didn't realise ruby doesn't require ()s on if clauses. that's neat. (and somehow familiar.. ;) | 23:41 | |
integral | you can't write one-liners with mandatory layout | 23:42 | |
autrijus | pugscode.org/euroscon/haskell.xul?page=46 # updated to highlight layouts | 23:43 | |
(also massively updated/reordered other places) | 23:44 | ||
Alias++ for suggesting pugscode.org/euroscon/haskell.xul?page=18 | |||
(and the slide after that) | 23:45 | ||
integral | heh | ||
Jooon | I remember going OMGBBQ! when seeing that :) | 23:46 | |
autrijus | bbq? | ||
Jooon | barbeque | ||
autrijus | meaning fried brain? | 23:47 | |
Jooon | yes, even though I never thought of it like that :) | ||
I just like the "acronym" OMBWTFBBQ very much | 23:48 | ||
OMG* | |||
!!!11 :) | |||
dduncan | g'day folks | 23:58 |