Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-05-11

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 dju left #perl6
00:01 jnthn sleep &
00:01 dju joined #perl6
00:05 jaldhar joined #perl6
00:15 perigrin left #perl6
00:16 perigrin joined #perl6
00:39 [Coke] left #perl6
00:40 [Coke] joined #perl6
00:45 [Coke] left #perl6
00:47 [Coke] joined #perl6
00:52 [Coke] left #perl6
00:53 f00li5h joined #perl6
00:54 [Coke] joined #perl6
00:59 [Coke] left #perl6
01:00 [Coke] joined #perl6
01:14 woosley joined #perl6
01:20 jdhore left #perl6
01:24 dalek std: 14557a3 | larry++ | STD.pm6:
01:24 dalek std: some fixes/comments from jnthn++; p5 workarounds
01:24 dalek std: review: https://github.com/perl6/std/commit/14557a30fc
01:27 dawud left #perl6
01:28 jdhore joined #perl6
01:38 whiteknight left #perl6
01:43 beek joined #perl6
01:45 beek hello perlos.
01:51 colomon \o
01:56 ymasory left #perl6
02:18 sorear good * #perl6
02:23 colomon o/
02:27 alester joined #perl6
02:30 satyavvd joined #perl6
02:33 ymasory joined #perl6
02:37 sorear jnthn hacks STD now!?
02:37 sorear did Krupp spam every CPAN author?
02:44 hudnix left #perl6
02:46 mtk left #perl6
02:55 mtk joined #perl6
02:57 alester left #perl6
02:59 satyavvd left #perl6
03:08 LoRe left #perl6
03:11 LoRe joined #perl6
03:15 alester joined #perl6
03:23 Su-Shee joined #perl6
03:27 Su-Shee_ left #perl6
03:33 LoRe left #perl6
03:35 benabik joined #perl6
03:37 satyavvd joined #perl6
03:41 LoRe joined #perl6
03:44 jjore left #perl6
03:55 agentzh joined #perl6
04:11 jjore joined #perl6
04:15 beek okay, I've got rakudo installed, and I got Pies from github to use panda.  From panda I installed NativeCall, because DBDI needed it.  Now to install DBDI, it can't find NativeCall in @*INC.
04:15 jjore left #perl6
04:15 beek panda did install ~/.panda/src/DBDI dirs in @*INC, i do see.
04:16 beek I havent figured out how to add to @*INC permanently, rather than just runtime.
04:16 beek aaaand i don't know how all this is supposed to fit together, so I'm sorta flailing a bit in the dark with mittens.
04:17 jjore joined #perl6
04:18 beek if there was a question in there, it'd be something like:  uhhh ummm huh?
04:21 * TimToady hasn't tried using modules yet, so can't help much
04:23 beek well on that note, I may just go back to 5 for awhile, until I get another bug to try this again sometime.
04:24 TimToady most of the moduley people are asleep in .eu right now
04:24 beek ha.  okay thanks.
04:25 imamelia left #perl6
04:27 beek I kinda assume that I can just use blizkost and p5 modules with parrot currently, until I get my shat figured out.
04:27 beek and I also assume that's more of a temporary fix until most modules are 6'd.
04:28 beek i guess i should go try instead of assuming.
04:52 LoRe left #perl6
04:52 jaldhar left #perl6
04:53 jaldhar joined #perl6
04:54 LoRe joined #perl6
04:55 kaare_ joined #perl6
05:05 dalek left #perl6
05:05 dalek joined #perl6
05:10 sftp left #perl6
05:11 kaare_ left #perl6
05:13 molaf joined #perl6
05:14 rgrau left #perl6
05:15 alester left #perl6
05:23 birdwindupbird joined #perl6
05:26 wamba joined #perl6
05:38 LoRe left #perl6
05:39 LoRe joined #perl6
05:43 jaldhar left #perl6
05:44 jaldhar joined #perl6
05:53 wtw joined #perl6
06:00 wamba left #perl6
06:06 cottoo joined #perl6
06:06 cotto left #perl6
06:16 PZt left #perl6
06:19 ali_h left #perl6
06:51 jdhore left #perl6
06:58 jdhore joined #perl6
07:02 fhelmberger joined #perl6
07:06 yegor joined #perl6
07:08 jaldhar left #perl6
07:09 jaldhar joined #perl6
07:15 dakkar joined #perl6
07:15 LoRe left #perl6
07:16 krunen left #perl6
07:16 LoRe joined #perl6
07:16 krunen joined #perl6
07:21 LoRe left #perl6
07:24 mj41 joined #perl6
07:26 kfo_ joined #perl6
07:29 kfo left #perl6
07:35 SHODAN left #perl6
07:44 yegor left #perl6
08:06 awoodland joined #perl6
08:08 lue left #perl6
08:08 lue joined #perl6
08:09 benabik left #perl6
08:19 b_jonas joined #perl6
08:29 wamba joined #perl6
08:35 MayDaniel joined #perl6
08:38 Khisanth left #perl6
08:38 Pathin joined #perl6
08:42 Pathin left #perl6
08:42 Juerd left #perl6
08:42 Juerd joined #perl6
08:43 hatseflats left #perl6
08:44 hatseflats joined #perl6
08:47 Pathin joined #perl6
08:48 Khisanth joined #perl6
08:53 satyavvd left #perl6
09:02 MayDaniel left #perl6
09:09 awoodland left #perl6
09:14 am0c left #perl6
09:20 tadzik I'm under no illusions that we can write the
09:20 tadzik runtime engine in Perl.  Especially the interpreter.  That would be
09:20 tadzik bleh
09:20 tadzik I'm under no illusions that we can write the runtime engine [of Perl 6] in Perl.  Especially the interpreter.  That would be silly.
09:22 tadzik TimToady: are you still under that impression? Just curious
09:22 tadzik (that's from http://dev.perl.org/perl6/ta​lks/2000/als/larry-als.txt)
09:24 mathw I think you *can*, but it depends what you want to get out of it
09:25 mathw masak's doing his best to prove that it's possible
09:25 mathw I doubt Yapsi will ever be particularly fast, but that's not what it's for
09:25 tadzik Oh wait, the Runtime is Parrot, right
09:26 tadzik for some reason I thought of the settings library as the part of a runtime
09:27 jnthn morning o/
09:27 tadzik morning jnthn
09:27 Trashlord hey
09:31 mathw well, that's how I understand it. Other people might use words differently.
09:43 tzhs joined #perl6
09:43 wamba left #perl6
09:45 wamba joined #perl6
09:46 yegor joined #perl6
09:54 yegor left #perl6
09:54 wamba left #perl6
09:55 wamba joined #perl6
09:59 woosley left #perl6
10:02 jdhore left #perl6
10:02 wamba left #perl6
10:04 wamba joined #perl6
10:07 donri joined #perl6
10:33 wamba left #perl6
10:34 mtk left #perl6
10:42 mtk joined #perl6
10:43 Ali_h joined #perl6
11:02 Psyche^ joined #perl6
11:04 Patterner left #perl6
11:04 Psyche^ is now known as Patterner
11:05 Su-Shee_ joined #perl6
11:08 Su-Shee left #perl6
11:08 Su-Shee_ is now known as Su-Shee
11:16 Mowah joined #perl6
11:41 woosley joined #perl6
11:42 spinclad left #perl6
11:45 wamba joined #perl6
11:47 dakkar left #perl6
11:53 LoRe joined #perl6
12:03 hudnix joined #perl6
12:03 takadonet morning all
12:08 sjn o/
12:16 IllvilJa left #perl6
12:23 pernatiy left #perl6
12:26 wknight8111 joined #perl6
12:27 wknight8111 left #perl6
12:27 wknight8111 joined #perl6
12:31 wamba left #perl6
12:32 wamba joined #perl6
12:35 wamba left #perl6
12:36 bluescreen10 joined #perl6
12:37 wknight8111 left #perl6
12:37 wknight8111 joined #perl6
12:38 wknight8111 left #perl6
12:38 leprevost joined #perl6
12:38 wknight8111 joined #perl6
12:41 jaldhar left #perl6
12:41 jaldhar joined #perl6
12:56 Holy_Cow joined #perl6
12:57 Holy_Cow left #perl6
13:01 dakkar joined #perl6
13:03 sftp joined #perl6
13:03 imamelia joined #perl6
13:06 ggoebel left #perl6
13:06 bluescreen10 left #perl6
13:07 pernatiy joined #perl6
13:11 ggoebel joined #perl6
13:11 yegor joined #perl6
13:12 yegor left #perl6
13:18 benabik joined #perl6
13:19 meteorjay left #perl6
13:21 ggoebel left #perl6
13:21 bluescreen10 joined #perl6
13:22 lue left #perl6
13:23 lue joined #perl6
13:26 ggoebel joined #perl6
13:39 tadzik morning #perl6
13:39 tadzik or, 'afternoon
13:39 jnthn o/
13:42 plobsing_ joined #perl6
13:46 plobsing left #perl6
13:47 agentzh left #perl6
14:02 leprevost left #perl6
14:11 wtw left #perl6
14:12 satyavvd joined #perl6
14:12 ymasory_ joined #perl6
14:15 PZt joined #perl6
14:22 pmurias joined #perl6
14:24 TimToady Since all computer languages are sublanguages of Perl 6, it is inevitable that, with a few appropriate declarations, an efficient runtime can be written in Perl 6.  :)
14:24 mathw :D
14:25 dual left #perl6
14:27 yegor joined #perl6
14:27 woosley left #perl6
14:28 * jnthn did once ponder the idea of a Perl 6 subset that would be relatively easily transformable to C, for the purposes of writing a VM in.
14:31 mathw that would be at the small end of subset then
14:32 jnthn yes :)
14:32 jaldhar left #perl6
14:33 tadzik isn't that what mberends is doing regarding Perlduino?
14:33 jaldhar joined #perl6
14:33 mathw writing a VM is still hard though
14:35 ymasory_ left #perl6
14:35 woosley joined #perl6
14:36 yegor left #perl6
14:38 jnthn mathw: Yeah. I've got quite enough on my plate without *that* task right now :)
14:38 daxim joined #perl6
14:41 mathw there are VMs around
14:41 mathw just need to get Rakudo to run on ALL OF THEM
14:41 mathw then we can have a deathmatch :D
14:42 mathw and crown the One True VM
14:42 TimToady I think that maybe the Go subset would be more useful these days than the C subset.
14:42 mathw and nobody will ever need to write one again, because we'll have found out which one's best
14:42 mathw Is Go getting any traction?
14:43 TimToady It certainly is inside Google.
14:43 jaldhar left #perl6
14:43 TimToady I've got spies.  :)
14:43 jaldhar joined #perl6
14:44 mathw Well you expect it to be picked up inside Google
14:44 ymasory left #perl6
14:44 mathw I assume that's a major reason why they bothered to write it in the first place
14:44 mathw I interviewed there once. They seemed clever.
14:45 spq joined #perl6
14:47 TimToady Go would probably be a good platform for exploring Erlang-like lightweight threading.
14:48 jaldhar left #perl6
14:49 pmurias left #perl6
14:59 meteorjay joined #perl6
14:59 mathw I've been getting very interested in threading over the last year or so
14:59 mathw Largely due to continually being reminded at work that we do it very badly
15:00 yegor joined #perl6
15:00 yegor left #perl6
15:02 ab5tract joined #perl6
15:04 PerlJam Go was written because that's the kind of thing the people who created it do.  Rob Pike and Ken Thompson are just repeating a pattern they've used for the last 30 years only in a new context.
15:05 yegor joined #perl6
15:05 mathw I've now got far too many languages on my list of languages I should take a good look at
15:05 kaare_ joined #perl6
15:18 pmichaud good morning, #perl6
15:19 TimToady \o
15:20 jnthn o/ pmichaud
15:20 PerlJam buenos dias pmichaud
15:21 tadzik good afternoon pmichaud
15:22 pmichaud ...should we perhaps revert 42dc4d10 ?
15:24 benabik pmichaud: Unknown revision
15:24 pmichaud sorry, typo
15:24 pmichaud 42dcfd10
15:24 noganex_ joined #perl6
15:24 tzhs left #perl6
15:24 yegor left #perl6
15:24 pmichaud gcd() gets called a *lot* in programs (e.g., in Rat.new) and this version will really slow things down.
15:24 benabik pmichaud: I don't have an opinion, but now I at least know what you're talking about.
15:25 pmichaud it also gets called in   infix:<+>(Rat,Rat)
15:25 noganex left #perl6
15:25 pmichaud alternatively, I could convert the 2-argument calls to gcd into method calls
15:25 pmichaud i.e., switch gcd($x,$y) to $x.gcd($y)
15:27 pmichaud the second sounds better
15:27 MayDaniel joined #perl6
15:31 hercynium joined #perl6
15:35 Su-Shee left #perl6
15:36 Su-Shee joined #perl6
15:40 pmichaud results of avoiding call to (now-expensive) gcd():  http://gist.github.com/966698
15:40 MayDaniel left #perl6
15:42 Holy_Cow joined #perl6
15:44 dual joined #perl6
15:45 jnthn pmichaud: worth it
15:45 tadzik I think this is this kind of thing we could optimize using tree-optimizer, no?
15:46 tadzik just transforming gcd(a, b) to a.gcd(b)
15:46 pmichaud jnthn: I figure a 14% improvement is almost always worth it, especially for something as fundamental as Rat construction and arithmetic.  :-)
15:47 pmichaud tadzik: how would the optimizer know that gcd(a,b) is the same as a.gcd(b), though?  That's no longer the case in the code.
15:48 tadzik hmm, I have no idea
15:48 pmichaud indeed, what makes 42dcfd10 slower is the fact that it switched gcd() so that it's no longer a simple transformation.
15:48 jnthn The real optimization answer will be to have it as two multis, and have the compiler realize that gcd($a, $b) candidate is the one to choose.
15:49 tadzik rakudo: multi media($a, $b) { say "two
15:49 p6eval rakudo 08e717: OUTPUT«===SORRY!===␤Unable to parse blockoid, couldn't find final '}' at line 22␤»
15:49 tadzik bleh
15:49 pmichaud I suspect the gcd() sub itself is suspect anyway -- so far .gcd() is only defined on Int
15:49 tadzik rakudo: multi media($a, $b) { say "two" }; multi media(*@a) { say "slurpy" }; media 5, 6;
15:49 p6eval rakudo 08e717: OUTPUT«Ambiguous dispatch to multi 'media'. Ambiguous candidates had signatures:␤:(Any $a, Any $b)␤:(*@a)␤␤  in main program body at line 22:/tmp/ZjxFZm5uCk␤»
15:49 pmichaud so if you pass non-Int values to gcd(), it'll fail.
15:50 jnthn tadzik: hmm.
15:50 pmichaud multi xyz($a, $b) { ... };   multi xyz($a, $b, *@c) { ... }
15:50 jnthn Well, or we could make the above work.
15:51 pmichaud anyway, I'm not liking the gcd() function in the first place
15:51 jnthn *nod*
15:51 pmichaud I'm somewhat inclined to rip it out altogether, esp if it's unspect
15:51 pmichaud *unspecced
15:51 benabik Isn't it somewhat needed to do proper Rat math?
15:51 pmichaud we have gcd as a method
15:51 pmichaud I'm saying eliminate it as a sub, not the general gcd capability
15:52 pmichaud indeed, I wonder if it should perhaps be   infix:<gcd>(Int $a, Int $b)
15:52 pmichaud then you get [gcd] for "free"
15:52 jnthn gcd as a method feels slightly weird to me, fwiw.
15:52 pmichaud and one can write  $a gcd $b
15:52 jnthn ooh, the infix isn't so bad, at first blush.
15:52 jnthn Especially for [gcd]
15:53 benabik Isn't wanting something like [gcd] why sub gcd was made slurpy?
15:53 pmichaud benabik: yes.  That's why I'm suggesting an operator might be better
15:53 pmichaud $a gcd $b can remain efficient, and [gcd] @list would work too
15:53 benabik pmichaud++
15:54 pmichaud anyway, calculating gcd is pretty common in programs; seems like a good candidate for a core feature
15:54 pmichaud but I'm also happy to leave it as a method
15:55 jnthn operator will be faster to dispatch and inlinable.
15:56 dakkar left #perl6
15:59 Holy_Cow left #perl6
16:00 pmichaud I'll try it with an operator
16:01 pyrimidine is now known as _somebody_
16:03 pmichaud sin.t over time:  http://gist.github.com/966751
16:05 _somebody_ is now known as pyrimidine
16:07 jdhore joined #perl6
16:09 Tedd1 joined #perl6
16:10 Tedd1^ left #perl6
16:11 pmichaud switching from method to operator in current master shows no difference in sin.t
16:13 tadzik difference to rakudo-work?
16:13 pmichaud right
16:13 pmichaud the numbers remain essentially the same
16:13 dalek rakudo: ef6e8f4 | pmichaud++ | src/core/Rat.pm:
16:13 dalek rakudo: Speed up Rat handling significantly.
16:13 dalek rakudo:
16:13 dalek rakudo: Commit 42dcfd10 changed "sub gcd()" from a 2-argument signature to a slurpy
16:13 dalek rakudo: signature.  Unfortunately, this also significantly slowed this function down,
16:14 dalek rakudo: and since it's used by Rat.new, &infix:<+>(Rat,Rat), and &infix:<->(Rat,Rat),
16:14 dalek rakudo: it slowed down Rat handling and arithmetic.  This patch changes Rat.pm
16:14 dalek rakudo: to avoid calls to gcd() altogether, using .gcd() directly and resulting in
16:14 dalek rakudo: a ~14% improvement on the sin.t test on my machine.
16:14 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/ef6e8f4bc3
16:14 jnthn pmichaud: It won't be much different now, no.
16:15 pmichaud msg bacek good catch on the recent sin.t regression -- regression was in code that handles rational numbers.  Now fixed in rakudo ef6e8f4 (14% faster than previous rakudo-bleed).  http://gist.github.com/966698
16:15 pmichaud oops, wrong chan
16:16 jedai left #perl6
16:16 pmichaud jnthn: yes, I know we don't do inlining yet.  But I was also curious if using a multi dispatch operator would be different from a non-multi method call
16:16 pmichaud answer: no, not for this.
16:16 pmichaud (and yes, it may all change in the future)
16:17 pmichaud overall I like &infix:<gcd> better, but that's a language decision.
16:17 ymasory joined #perl6
16:18 pmichaud and rakbench sure streamlines the process of running these little comparisons :-)
16:18 ab5tract left #perl6
16:25 woosley left #perl6
16:25 molaf left #perl6
16:27 cdarroch joined #perl6
16:27 cdarroch left #perl6
16:27 cdarroch joined #perl6
16:31 slavik left #perl6
16:34 bluescreen10 left #perl6
16:37 jdhore Am I allowed to bump the PARROT_REVISION? bacek++ pushed another GC fix which seems to fairly significantly speed up rakudo compilation
16:38 pmichaud if the spectests pass after the bump, then yes.
16:38 colomon .gcd?
16:38 jdhore colomon, hmm?
16:38 pmichaud Integer.gcd
16:38 jdhore oh
16:38 pmichaud the old gcd($a,$b)  called Integer.gcd
16:39 pmichaud and Rat's operators were calling gcd($x,$y)
16:39 colomon ah.  funny, I don't remember there being a .gcd at all.  stupid brain.
16:39 pmichaud I simply switched it so that Rat's operators call  $x.gcd($y) instead of going through the sub
16:39 pmichaud because the gcd was written  our sub gcd(*@a) { ... }    which made it a lot slower as it looped over @a
16:40 pmichaud *the new gcd
16:40 colomon actually, that sounds like a really handy workaround for the gcd bug that was bothering me in Math::BigInt the other day.
16:40 slavik joined #perl6
16:40 pmichaud jdhore: have you spectested with the PARROT_REVISION bump?  if not, I can do it
16:41 pmichaud (only takes 4.5 mins on my new machine :)
16:41 jdhore pmichaud, I haven't, but i'd be happy to do it...Except it doesn't take me 4.5 minutes here at work :P
16:41 pmichaud oh
16:41 * colomon fantasizes about the 12-core Mac Pro someone was talking about on Hacker News a week or two ago...
16:43 pmichaud building, testing
16:43 jdhore thanks dude
16:44 * takadonet happy with his dual quad core with16 gigs of ram....
16:45 jdhore takadonet, That's what i've got at home (s/16/32/, but close enough)
16:45 tadzik I happy with my dualcore with 2 gigs of ram :)
16:45 jdhore I'm just at work and the best I have is a 2.4GhZ dual-core laptop with 3GB RAM
16:46 bluescreen10 joined #perl6
16:46 * pmichaud tries "make spectest" with TEST_JOBS=15, just to see what happens
16:47 takadonet well that my workstation stats
16:47 jdhore takadonet, That's my Desktop :D
16:49 pernatiy left #perl6
16:51 jedai joined #perl6
16:51 dalek specs: cb2d1ec | larry++ | S03-operators.pod:
16:51 dalek specs: add gcd and lcm infix ops
16:51 dalek specs: review: https://github.com/perl6/specs/commit/cb2d1ec138
16:51 pmichaud a-ha!  TimToady++
16:51 jnthn :)
16:52 jnthn std: class Foo { method bar { $!lol } }
16:52 p6eval std 14557a3: OUTPUT«ok 00:01 113m␤»
16:52 jnthn std: class Foo { method bar { return -> { $!lol } } }
16:52 p6eval std 14557a3: OUTPUT«Potential difficulties:␤  Variable $!lol used outside of method/submethod declaration at /tmp/f8EXZfS7Ky line 1:␤------> [32mass Foo { method bar { return -> { $!lol[33m⏏[31m } } }[0m␤ok 00:01 115m␤»
16:52 jnthn TimToady: ^^ this was my concern about using $*IN_DECL
16:52 TimToady yes, well...
16:53 jnthn If the answer is "getting it really right is semantic analysis, not something that should be in STD", that's fine.
16:53 TimToady STD doesn't know how to close over self, either...
16:54 jnthn .oO( wow, I got std to emit a swear in the error \o/ )
16:54 TimToady it's not a four-letter word though
16:54 jnthn No, I'll have to look harder to make it do that :)
16:55 jnthn Alternatively I could do useful things. :)
16:55 dalek rakudo: 21f3ea5 | pmichaud++ | build/PARROT_REVISION:
16:55 dalek rakudo: Bump PARROT_REVISION to get latest parrot gc improvements from bacek++ .
16:55 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/21f3ea59fa
16:55 dalek rakudo: 43180b9 | pmichaud++ | .gitignore:
16:55 dalek rakudo: Add config.status and RAKBENCH to .gitignore.
16:55 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/43180b967d
16:56 birdwindupbird left #perl6
16:56 slavik left #perl6
16:57 slavik joined #perl6
16:58 TimToady but yeah, $*IN_DECL isn't gonna cut it, since we need to scan lexical scopes
16:59 jnthn std: class Foo { has $!b; method bar($a = $!b) { } }
16:59 p6eval std 14557a3: OUTPUT«Potential difficulties:␤  $a is declared but not used at /tmp/EMq7cYABGH line 1:␤------> [32mclass Foo { has $!b; method bar([33m⏏[31m$a = $!b) { } }[0m␤ok 00:01 116m␤»
16:59 jnthn std: class Foo { has $!b; method bar($a = $!b) { $a } }
16:59 p6eval std 14557a3: OUTPUT«ok 00:01 116m␤»
16:59 jnthn Ah, it's smarter than that :)
17:04 dalek std: 47fbf6e | larry++ | STD.pm6:
17:04 dalek std: add gcd and lcd ops
17:04 dalek std: review: https://github.com/perl6/std/commit/47fbf6ec01
17:04 dalek std: 162660c | larry++ | STD.pm6:
17:04 dalek std: Revert "add gcd and lcd ops"
17:04 dalek std:
17:04 dalek std: This reverts commit 47fbf6ec01d24d70975986a8575836e360f31cee.
17:04 dalek std: review: https://github.com/perl6/std/commit/162660c6f7
17:04 dalek std: 3ba3a75 | larry++ | STD.pm6:
17:04 dalek std: add gcd and lcm ops
17:04 dalek std: review: https://github.com/perl6/std/commit/3ba3a75d5d
17:04 TimToady cool, I get karma for reverting :)
17:05 diakopter the door bumps you on the way in and out
17:05 satyavvd left #perl6
17:20 tadzik I'd say the door opens for you
17:21 colomon ... and just like that, Math::BigInt's gcd works again.  :)
17:21 pmichaud colomon: note that I just added infix:<gcd> and infix:<lcm> to master, too
17:22 dalek rakudo: b5084f6 | pmichaud++ | src/ (3 files):
17:22 dalek rakudo: Add infix:<gcd> and infix:<lcm> operators.
17:22 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/b5084f6a46
17:22 tadzik what a timing
17:22 pmichaud ....like that.  :-)
17:22 colomon does infix:<gcd> call .gcd?
17:22 pmichaud colomon: no.
17:22 moritz what is lcm?
17:22 colomon least common multiple
17:22 pmichaud "least common multiple"
17:22 moritz huh
17:22 * moritz would have expected "factor"
17:22 moritz but then again I've learned math in .de, not in en
17:22 colomon moritz: 10 lcm 15 is 30
17:23 moritz oh
17:23 pmichaud > say 10 lcm 15
17:23 pmichaud 30
17:23 colomon that's not a factor at all, in American math English
17:23 pmichaud > say 10 gcd 15
17:23 pmichaud 5
17:24 pmichaud > say [lcm] 2, 3, 10, 15, 4
17:24 pmichaud 60
17:24 pmichaud ....niiiiiice
17:24 colomon TimToady++, pmichaud++
17:25 [1]imamelia joined #perl6
17:25 pmichaud we probably need entries for   &infix:<lcm>(Int $x = 1) { $x }
17:26 colomon yup
17:26 benabik left #perl6
17:26 wamba joined #perl6
17:27 imamelia left #perl6
17:27 [1]imamelia is now known as imamelia
17:29 jnthn oh, [lcm] is cute!
17:30 masak joined #perl6
17:30 sorear good * #perl6
17:30 mkramer1 joined #perl6
17:30 masak gd'evening, zebras.
17:31 colomon o/
17:31 jnthn privet, masak :)
17:31 sorear masak: TimToady and jnthn both vehemently disagree, but I think the sanest way to handle private attributes is to generate private accessors, and have $!foo mean self!foo
17:32 mkramer left #perl6
17:32 sorear note that private methods are not virtual and so can be inlined
17:32 dalek rakudo: a423aef | pmichaud++ | src/core/metaops.pm:
17:32 dalek rakudo: Add degenerate cases for infix:<gcd> and infix:<lcm>.
17:32 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/a423aefcc7
17:32 tadzik so gcd() is gone now?
17:32 pmichaud I didn't take it out yet, no.  I'd like to get rid of it.
17:33 masak +1
17:33 tadzik I'm now tempting a friend of mine to write the LHF tests :)
17:33 colomon nooooo!
17:33 tadzik "do you want to become a famous Perlist?" :)
17:34 colomon errr.... though I guess that would probably fix the problem I was have too.  okay, +1
17:34 sorear niecza: say (3 => 5)!Pair::key
17:34 p6eval niecza v5: OUTPUT«Unhandled exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.␤  at System.Collections.Generic.Dictionary`​2[System.String,Niecza.P6any].get_Item (System.String key) [0x00000] in <filename unknown>:0 ␤  at
17:34 p6eval ..Niecza.STable.GetPriv…
17:34 masak pmichaud: I don't think that gcd of the empty list should be 1.
17:34 sorear lcm() should be 1
17:34 pmichaud masak: feel free to fix it.  :-)
17:34 masak pmichaud: lcm is probably fine, but not gcd.
17:34 sorear gcd() should be Inf or an error
17:34 masak right.
17:35 masak glad we agree.
17:35 sorear niecza: say (3 => 5)!Enum::key
17:35 mj41 left #perl6
17:35 p6eval niecza v5: OUTPUT«3␤»
17:35 mkramer1 left #perl6
17:36 * sorear quietly grumbles that STD is a moving target (again)
17:36 pmichaud Perl 6 is a moving target.
17:37 pmichaud Has been for many years now.  :-)
17:37 colomon pmichaud: any objection to making infix:<gcd>(Any, Any) and then calling .gcd?
17:37 pmichaud Yes.
17:37 pmichaud It's only defined on the integral types.
17:37 pmichaud (see the spec)
17:37 colomon yes, but you (and maybe the spec) are suggesting you know all the integral types ahead of time.  you may not.
17:37 dalek rakudo: 678ad30 | masak++ | src/core/metaops.pm:
17:37 dalek rakudo: [src/core/metaops.pm] make [gcd]() fail
17:37 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/678ad30975
17:38 sorear Integral, no?
17:38 pmichaud infix:<gcd> is a multi.
17:38 sorear er, wait, that's Haskell
17:38 masak :P
17:38 pmichaud also, as jnthn++ said earlier: 15:55 <jnthn> operator will be faster to dispatch and inlinable.
17:38 sorear (hi masak)
17:38 benabik joined #perl6
17:39 pmichaud if the operator just forwards to a method... it's not really faster.
17:40 colomon so should the method go away as well?  or do you expect the method to be implemented in terms of the operator?
17:40 pmichaud I don't have an opinion on that yet.
17:40 pmichaud I don't typically expect the methods to be implemented in terms of operators, no.
17:40 jnthn Generally operators are done in terms of methods.
17:40 jnthn heh, pmichaud beat me to saying it :P
17:41 pmichaud ...except for those where speed might be an issue
17:41 pmichaud i.e., we want  Int + Int to be fast without a method dispatch
17:41 pmichaud er
17:41 pmichaud yeah.  By similar reasoning,   Int gcd Int should also be fast if the hardware allows it
17:41 pmichaud s/hardware/vm/
17:42 pmichaud *especially* since we call it a lot for all of the Rats
17:42 colomon we don't call it at all for Rats right now.
17:42 pmichaud oh?
17:42 colomon didn't you make Rats use the method form?
17:42 pmichaud I switched it to the operator
17:42 colomon or did I miss a commit in the frenzy?
17:43 pmichaud at the same time I added gcd and lcm
17:43 colomon pmichaud++
17:43 pmichaud because someday the operator may be much faster than the method
17:43 pmichaud (inlinable :-)
17:43 mkramer joined #perl6
17:43 jnthn rakudo: say pir::gcd__II(10,5)
17:43 p6eval rakudo ef6e8f: OUTPUT«5␤»
17:44 jnthn rakudo: say pir::gcd__III(10,5)
17:44 p6eval rakudo ef6e8f: OUTPUT«5␤»
17:44 jnthn hm
17:44 jnthn :)
17:44 jnthn rakudo: say pir::gcd__III(10,6)
17:44 p6eval rakudo ef6e8f: OUTPUT«2␤»
17:44 jnthn So there is an op
17:44 jnthn Do we use that already?
17:44 pmichaud yes.
17:44 jnthn ah, OK
17:44 pmichaud method gcd(Int $x: Int $y) {
17:44 pmichaud pir::gcd__iii($x, $y);
17:44 pmichaud }
17:44 pmichaud oops
17:44 jnthn If that's all it does then it'll surely be an inlining candiate
17:44 jnthn oh, not the method, the oop
17:44 jnthn *op
17:44 pmichaud our multi sub infix:<gcd>(Int $a, Int $b) { pir::gcd__Iii($a, $b)
17:44 pmichaud }
17:44 pmichaud our multi sub infix:<lcm>(Int $a, Int $b) { pir::lcm__Iii($a, $b)
17:45 jnthn hm
17:45 pmichaud I agree, lcm has a range issue.
17:45 colomon range issue?
17:45 pmichaud I figure "implement it and file bugs" rather than leave it unimplemented
17:45 pmichaud the result of lcm might not fit in an I register
17:45 colomon gotcha
17:46 tadzik p6eval doesn't forbid pir?
17:46 jnthn Well, it's an OK implementation of the (int, int) variant, I guess :)
17:46 pmichaud even for (int, int)  it has a range issue
17:46 pmichaud rakudo:  say pir::lcm__Iii(1000000000, 7)
17:46 p6eval rakudo ef6e8f: OUTPUT«7000000000␤»
17:46 pmichaud rakudo:  say pir::lcm__Iii(10000000000, 7)
17:46 p6eval rakudo ef6e8f: OUTPUT«70000000000␤»
17:46 pmichaud hmm
17:47 pmichaud 64-bit ints?
17:47 colomon yes
17:47 sorear rakudo still doesn't have bigints
17:47 pmichaud anyway, the above would fail on a 32-bit int machine :)
17:47 colomon but you're quite right in principle.
17:47 jnthn pmichaud: lowercase int can overflow
17:47 sorear so anything that doesn't fit in "int" will be promoted to Num
17:47 jnthn pmichaud: e.g. doesn't need promotion
17:47 pmichaud jnthn: ah, I get what you mean now.
17:47 pmichaud You meant the Perl 6 "int" and not the Parrot "int"  :-)
17:47 jnthn Int OTOH needs to support bigint semantics
17:47 jnthn Right
17:47 jnthn :)
17:48 pmichaud I missed the context switch.
17:48 pmichaud (since I was talking about I registers)
17:48 jnthn aha :)
17:48 jnthn bbs, errands
17:49 * pmichaud is slightly amused that sorear++ is explaining to him how Rakudo Int's are handled.  :)
17:49 * colomon is having a hard time keeping Math::BigInt on top of the gcd changes today....
17:49 pmichaud colomon: should be stable-ish by now.
17:49 sorear pmichaud: I was intending to remind jnthn, not yo
17:50 sorear u
17:50 pmichaud ahhhh
17:51 pmichaud rakudo:  say pir::lcm__Iii(2000000000000000000, 2)
17:51 p6eval rakudo ef6e8f: OUTPUT«2000000000000000000␤»
17:51 pmichaud rakudo:  say pir::lcm__Iii(2000000000000000000, 7)
17:51 p6eval rakudo ef6e8f: OUTPUT«-4446744073709551616␤»
17:52 pmichaud rakudo:  say pir::lcm__Iii(2000000000000000000, 5)
17:52 p6eval rakudo ef6e8f: OUTPUT«2000000000000000000␤»
17:52 pmichaud anyway, the 7 case shows the error :)
17:55 moritz rakudo:  say pir::lcm__Iii(2000000000000000000, 3)
17:55 p6eval rakudo ef6e8f: OUTPUT«6000000000000000000␤»
17:55 moritz rakudo:  say pir::lcm__Iii(2000000000000000001, 5)
17:55 p6eval rakudo ef6e8f: OUTPUT«-8446744073709551611␤»
17:55 moritz rakudo:  say pir::lcm__Iii(2000000000000000001, 4)
17:55 p6eval rakudo ef6e8f: OUTPUT«8000000000000000004␤»
18:03 mj41 joined #perl6
18:13 colomon huh.  I can't build parrot with the latest rakudo and --gen-parrot.  :\
18:13 tadzik what's the issue?
18:13 colomon "Failed to load libpcre"
18:14 pmichaud you probably need a fresh checkout or something like that
18:14 pmichaud several of us had that issue
18:14 pmichaud (fresh checkout of parrot)
18:14 colomon already did rm -rf parrot parrot_install
18:14 pmichaud it occurs during the parrot build, yes?
18:14 colomon yes
18:14 pmichaud hmmm
18:14 pmichaud maybe reboot, realclean, etc.
18:15 moritz idn't tadzik have the same issue?
18:15 pmichaud I'm not sure what I did on mine to fix it-- I just know that it cleared itself up after a realclean or reboot or something like that
18:15 moritz *didn't
18:15 pmichaud moritz: yes, I think so.
18:15 moritz he "solved" ith --without-pcre in parrot's Configure.pl
18:15 * moritz -> gone
18:16 * colomon is rebooting
18:16 colomon left #perl6
18:17 masak "buy the new colomon. boots in just 20 seconds."
18:18 imamelia left #perl6
18:18 fhelmberger left #perl6
18:19 fhelmberger joined #perl6
18:20 fhelmberger left #perl6
18:21 pmichaud ...or maybe longer.
18:21 tadzik oh, yeah, my problem exactly
18:22 Chillance joined #perl6
18:22 colomon joined #perl6
18:23 * Tene ports colomon to systemd, reducing boot time by 75%
18:23 colomon Thinking during my reboot... I'm really not seeing any justification for a Int.gcd method.
18:24 Tene tadzik: If you're experiencing boot times long enough to be a problem for you, you should investigate systemd.
18:24 colomon Tene: eh?
18:24 masak colomon: me neither.
18:24 tadzik Tene: no, I meant the pcre problem
18:24 Tene tadzik: Ah, I misunderstood context.
18:24 tadzik Tene: also, I rarely shutdown, I mostly suspend. KDE startup is far more annoying than my system startup
18:24 tadzik system is like 20 secs, KDE is like 60
18:25 Tene colomon: It was a joke response to masak and pmichaud
18:25 Tene systemd is a replacement for sysvinit and upstart
18:25 colomon Tene: ah.  and I missed the setup.  :)
18:25 dalek niecza: fd940af | sorear++ | / (3 files):
18:25 dalek niecza: Use MRO to tiebreak multimethods
18:25 dalek niecza: review: https://github.com/sorear/niecza/commit/fd940afe32
18:26 * tadzik uses openrc
18:26 tadzik or rather my system uses
18:26 masak colomon: now, if you'd had a shorter boot-time... :P
18:26 pmichaud my startup time is about 25 seconds, for both system and kde :)
18:27 pmichaud SSDs make for amazing boot times :)
18:28 tadzik yeah, SSD is one tempting thing
18:28 colomon reboot and realclean did not help.  :(
18:28 tadzik colomon: try building parrot --without-pcre
18:28 tadzik wfm
18:28 colomon perl Configure.pl --gen-parrot --without-pcre  ?
18:28 pmichaud colomon: maybe report to #parrot or a track bug
18:28 tadzik I dunno
18:28 pmichaud *trac
18:29 pmichaud perl Configure.pl --gen-parrot --gen-parrot-option=--without-pcre  # probably
18:31 orafu joined #perl6
18:33 orafu left #perl6
18:35 colomon pmichaud++ # your command line there got me a working build, it appears
18:35 pmichaud we should still find out and/or report why we're getting the failure, though.
18:36 orafu joined #perl6
18:38 mkramer left #perl6
18:39 masak report, then find out, I'd say.
18:40 masak submit bug early, submit bug often :P
18:40 orafu left #perl6
18:42 colomon what's the e-mail address for Parrot bugs?
18:42 pmichaud I don't think there is one.
18:43 pmichaud I think it has to be submitted to trac.parrot.org/parrot
18:43 pmichaud checking
18:43 mj41 left #perl6
18:43 masak aye.
18:43 pmichaud there's a "parrotbug" script in the parrot repo
18:44 pmichaud docs/submissions.pod says to use that.
18:44 * colomon starts a fresh build of rakudo in another directory to duplicate the problem.
18:45 dual left #perl6
18:46 colomon Google tasks API!  \o/
18:46 pmichaud it's about time.  :)
18:46 colomon agreed.
18:46 pmichaud I still want the market on my revue, though.  :(
18:47 colomon perl6 interface to the api needed?  ;)
18:49 masak of course :)
18:52 orafu joined #perl6
18:56 colomon now if they can just make tasks work with google Voice on my droid...
18:56 pmichaud I wish I could create custom google voice commands
18:57 dual joined #perl6
18:58 colomon yeah, that would be nice.  :)
18:59 colomon I'm just saying, my number one use of Google voice is to send myself an e-mail reminding me to add something to my tasks list.
18:59 mkramer joined #perl6
19:00 wamba left #perl6
19:04 colomon woah, Math::BigInt completely blows up under the latest Rakudo.  :\
19:06 colomon .... probably not Rakudo's fault?  I'm very confused.
19:07 mkramer left #perl6
19:07 ab5tract joined #perl6
19:08 colomon t/01-basic.t .. Unknown param Signature t
19:08 colomon in <anon> at line 100:/Users/colomon/.perl6/lib/NativeCall.pm6
19:09 colomon .... maybe I need to rebuild NativeCall
19:09 snearch joined #perl6
19:11 dsouza joined #perl6
19:11 colomon hmm... do you need to install NativeCall by hand?  Or is my version old?
19:11 * tadzik tries to make panda install Math::Bigint
19:12 benabik colomon: Parrot recently removed some depreciated NCI stuffs.
19:12 colomon tadzik: I haven't pushed any of today's changes yet, who knows what will happen...
19:12 tadzik ah, I see
19:13 colomon Can someone else check zavolaj against the latest Rakudo?  I think it's broken...
19:13 colomon but I'm not at latest, hmmm
19:15 birdwindupbird joined #perl6
19:15 colomon ack, I'm stumped.
19:16 mkramer joined #perl6
19:16 tadzik perl6-mpd is broken too
19:17 jnthn Tehre were some changes to Parrot NCI recently.
19:17 jnthn Maybe Zavolaj got hit by them.
19:17 benabik http://trac.parrot.org/parrot/​wiki/ParrotDeprecationsFor3.6
19:23 tadzik looks so
19:24 colomon yup
19:24 colomon benabik++
19:25 * colomon watches his day spiral into another day of no progress....
19:25 jnthn Is anyone going to take on the gcd/lcm tests task?
19:25 jnthn If not, I can add them to the "task suggestions" for Friday's hackathon :)
19:26 jnthn In fact, maybe I should start a wiki page for that...
19:26 colomon jnthn++ # but don't bother testing the method forms....  ;)
19:26 jnthn ok
19:26 jnthn :)
19:27 SHODAN joined #perl6
19:27 am0c joined #perl6
19:29 dsouza left #perl6
19:29 dsouza joined #perl6
19:29 wamba joined #perl6
19:32 jnthn Started page at http://event.perlrussia.org/mayper​l4/wiki?node=HackathonSuggestions
19:32 jnthn stroll, before it gets dark &
19:53 TiMBuS left #perl6
19:53 colomon parrot/parrotbug
19:53 colomon Cannot open './myconfig': No such file or directory at parrot/parrotbug line 131.
19:53 colomon sigh
19:53 colomon ah, needs to be run from the parrot directory.
19:53 benabik left #perl6
19:54 Vlavv_ left #perl6
19:55 Vlavv_ joined #perl6
19:58 colomon argh
20:04 takadonet left #perl6
20:05 imamelia joined #perl6
20:07 colomon argh
20:07 * colomon wonders if anyone actually uses parrotbug
20:07 Mowah left #perl6
20:08 snearch left #perl6
20:09 orafu left #perl6
20:09 wknight8111 left #perl6
20:09 wknight8111 joined #perl6
20:12 SHODAN left #perl6
20:13 imamelia left #perl6
20:16 pmichaud I think parrotbug only works after Configure has been successfully performed.
20:16 pmichaud it should probably say that.
20:16 pmichaud (if that's the case)
20:16 masak if that's the case, that sucks.
20:16 masak "hi, you need a partly working system to report a broken system with this tool"
20:17 pmichaud it would mean that a user is unable to report a bug if Configure.pl doesn't work, yes.  :)
20:17 masak yes, that's the "sucks" part.
20:17 pmichaud I think that's fairly rare.  Still, yes, suck.
20:17 colomon actually, it's dying at the moment because it can't call my text editor
20:17 moritz ouch
20:17 masak pmichaud: "fairly rare" is a weak consolation for people who actually trigger that failure mode.
20:18 masak besides, why *should* it depend on that?
20:18 [Coke] left #perl6
20:18 pmichaud masak: I suspect so it can include configuration details in the bug report.
20:19 moritz ... which should be optional, of course
20:19 pmichaud it would probably be better to have "configuration details unavaila....."  right
20:19 pmichaud I didn't write parrotbug.  I didn't even know it existed until colomon++ asked earlier how to report a bug, and I looked at the docs.
20:19 moritz it could still gather important information from the system (compilers in PATH, OS, architecture, ...) if parrot wasn't configured
20:19 pmichaud Granted, I probably shouldn't have read the docs.
20:19 moritz ... and just pointed to trac
20:19 colomon docs--
20:22 [Coke] joined #perl6
20:22 colomon Action (display,edit,save,quit) # which one sends my message, I wonder?
20:22 pmichaud possibly none -- sending might come in the next step
20:22 colomon Message saved. Please submit a ticket and attach this file at
20:22 colomon https://trac.parrot.org/parrot/newticket
20:23 pmichaud ouch!
20:23 colomon and "quit" just appears to exit
20:23 pmichaud so, parrotbug just formats details for a ticket, it doesn't actually send it.
20:23 colomon looks like
20:24 colomon and of course, you've got to be logged in to submit a ticket?
20:24 jnthn Yup
20:24 pmichaud colomon: yes
20:24 colomon rakudobug++
20:24 jnthn A very atractive approach to bug submissions... ;)
20:24 pmichaud at my p6 meeting last night I was asked what ticket system we would use if we weren't using RT.
20:24 pmichaud I basically responded with "not Trac"
20:25 colomon at least my lunchtime noms were tasty today...
20:25 pmichaud rakudo:  say 4 lcm 10;  # checking
20:25 p6eval rakudo 678ad3: OUTPUT«20␤»
20:25 pmichaud \o/
20:25 jnthn rakudo: say 6 lcm 7;
20:25 p6eval rakudo 678ad3: OUTPUT«42␤»
20:25 pmichaud rakudo:  say lcm 3, 14, 20, 15, 100;
20:25 wknight8111 left #perl6
20:25 p6eval rakudo 678ad3: OUTPUT«Could not find sub &lcm␤  in main program body at line 22:/tmp/UR2lnEipS0␤»
20:25 jnthn [lcm]
20:25 pmichaud rakudo:  say [lcm] 3, 14, 20, 15, 100;
20:26 p6eval rakudo 678ad3: OUTPUT«2100␤»
20:26 tadzik cool
20:26 pmichaud rakudo:  say [gcd] 3, 14, 20, 15, 100;
20:26 p6eval rakudo 678ad3: OUTPUT«1␤»
20:26 jnthn tadzik: Got any suggestions for http://event.perlrussia.org/mayper​l4/wiki?node=HackathonSuggestions - we got some module-y ideas there...
20:27 jnthn tadzik: Like, is there any panda/pie hacking to do?
20:27 jnthn *pies
20:27 araujo left #perl6
20:27 colomon mmmmmm.... pies
20:27 imamelia joined #perl6
20:27 tadzik we _do_ need a better url for a Most Wanted list
20:27 tadzik jnthn: well, panda has an LHF list
20:27 jnthn colomon: That phrase is better when you don't know where the name "pies" came from...
20:28 tadzik then name of a pie, or the name of my module?
20:28 tadzik jnthn:
20:28 tadzik https://github.com/tadzik/Pies​/issues?milestone=&amp;labels=
20:28 colomon "TICKET_CREATE privileges are required to perform this operation"
20:28 tadzik (:
20:29 moritz though need to log in first
20:29 colomon moritz: am logged in
20:29 tadzik oh, that reminded me of Shrek for some reason
20:29 noganex joined #perl6
20:29 jnthn tadzik: Your module. It's from a Polish word, no? :)
20:29 tadzik "I think I told you to stay outside!" "I am outside!"
20:29 tadzik jnthn: yep :)
20:29 tadzik phenny: pl "pies"?
20:29 phenny tadzik: "dog" (pl to en, translate.google.com)
20:29 noganex_ left #perl6
20:30 pmichaud colomon: feel free to abandon the bug report since it's being a pain
20:30 tadzik and panda is actually a name of my dog. What a coincidence! :)
20:30 nicte joined #perl6
20:30 colomon tadzik++
20:30 pmichaud I'll report it to #parrot and maybe parrot-dev
20:30 ymasory left #perl6
20:30 tadzik jnthn: if you saw her picture you won't be confused anymore :)
20:32 TiMBuS joined #perl6
20:32 jnthn tadzik: A lot of things can be explained with that reasoning... ;)
20:32 tadzik http://goo.gl/MtTJf :)
20:33 tadzik I named her at the first moment I saw her :) But, offtopic
20:34 imamelia left #perl6
20:34 jnthn nice!
20:35 birdwindupbird left #perl6
20:35 nicte left #perl6
20:35 [Coke] left #perl6
20:37 tadzik she looked more Pandy when she was few weeks old, extremely fat for that age, and with those dots above eyes :)
20:37 tadzik colomon: I think Parrotland had some issues with trac accounts recently
20:37 [Coke] joined #perl6
20:38 imamelia joined #perl6
20:39 icwiener joined #perl6
20:41 cotto_work colomon: you have permissions to submit a trac ticket on trac.parrot.org now.  We had to disable giving that bit to any registered user due to trac spam.  Sorry for the inconvenience.
20:43 colomon cotto_work++ # submitted
20:43 cotto_work colomon++ # submitting
20:44 b_jonas left #perl6
20:44 moritz now add another one for "parrotbug is utterly broken"
20:46 cotto_work moritz: looks like you'll beat me to it then
20:48 moritz cotto_work: I can't, trac doesn't let me in
20:48 moritz "Invalid username or password"
20:49 moritz with the credentials stored in the browser, which have always worked so far.
20:49 imamelia left #perl6
20:50 tadzik I just had the same problem
20:53 awoodland joined #perl6
20:54 r0b86 left #perl6
20:57 pernatiy joined #perl6
20:58 tadzik g'night #perl6
21:00 colomon \o
21:01 imamelia joined #perl6
21:03 pmichaud ticket for "bug reporting is broken" is now TT #2108, fwiw
21:04 colomon pmichaud++
21:04 pmichaud [Coke]++
21:04 bluescreen100 joined #perl6
21:04 [particle] left #perl6
21:05 kaare_ left #perl6
21:06 colomon so, do we have a REST module for p6 yet?
21:06 moritz sleep() RESTs pretty well :-)
21:07 colomon punning--
21:07 moritz in my understanding REST is more of a general concept or methodology than something that can be cast into a framework
21:08 moritz of course web frameworks can help you with it
21:08 [particle] joined #perl6
21:08 plobsing_ colomon: we'll leave the rest up to you
21:08 masak moritz: in my understanding too. specifically, REST isn't about choosing cute URLs.
21:08 colomon perhaps I should ask, what do we have in the way of web client frameworks
21:12 * moritz knows of one web client, and that is LWP::Simple. No frameworks around.
21:15 * masak likes Web::Scraper
21:21 donri left #perl6
21:21 spq left #perl6
21:21 spinclad joined #perl6
21:21 bluescreen__ joined #perl6
21:28 Sarten-X left #perl6
21:32 spinclad left #perl6
21:36 Sarten-X joined #perl6
21:39 justatheory left #perl6
21:40 bluescreen__ left #perl6
21:40 bluescreen100 left #perl6
21:40 bluescreen10 left #perl6
21:40 keeth joined #perl6
21:43 mj41 joined #perl6
21:59 ymasory joined #perl6
22:02 dual_ joined #perl6
22:04 dual left #perl6
22:04 dual_ is now known as dual
22:07 wamba left #perl6
22:13 ab5tract left #perl6
22:21 stevan_ joined #perl6
22:21 stevan_ left #perl6
22:24 masak left #perl6
22:27 Su-Shee_ joined #perl6
22:28 mj41 left #perl6
22:28 cottoo left #perl6
22:30 Su-Shee left #perl6
22:32 fridim_ joined #perl6
22:32 fridim_ left #perl6
22:33 whiteknight joined #perl6
22:37 awoodland left #perl6
22:43 athomason joined #perl6
22:43 athomason left #perl6
22:44 athomason joined #perl6
22:47 whiteknight left #perl6
22:48 whiteknight joined #perl6
22:50 athomason left #perl6
22:53 athomason joined #perl6
22:53 icwiener left #perl6
22:56 whiteknight left #perl6
22:56 kst left #perl6
22:56 whiteknight joined #perl6
22:57 kst joined #perl6
22:57 whiteknight left #perl6
22:57 jnthn sleep &
22:57 whiteknight joined #perl6
23:01 flatwhatson joined #perl6
23:02 sorear good * #perl6
23:16 justatheory joined #perl6
23:21 hercynium left #perl6
23:23 cdarroch left #perl6
23:36 pjcj left #perl6
23:36 Chillance left #perl6
23:46 Ali_h Hi all - complete noob to perl 6 so this might seem a really dumb question and I appologize beforehand - I cant get my .pl files to open bring up perl6.exe type $ perl6 file.pl and get non-declarative sigil is missing its name at line 1 "$ perl6 sc" what am I doing wrong :/
23:51 TimToady well...if line one of your file is "$ perl6 sc" then that's not valid Perl 6
23:52 Ali_h TimToady, its not line one is use v6
23:53 Ali_h this is why I dont understand
23:53 TimToady try leaving out the "use v6" line
23:53 TimToady rakudo: use v6;
23:53 p6eval rakudo 678ad3:  ( no output )
23:54 Ali_h ok ill try that
23:54 TimToady or no-past the file.pl here
23:54 TimToady *no-paste
23:55 Ali_h same thing - TimToady im working through the book that came with the download
23:55 TimToady is this the latest Rakudo Star?
23:55 Ali_h yeah
23:56 TimToady what kind of system are you on?
23:57 * perigrin suspects windows.
23:57 Ali_h perigrin, your ringt (hides)
23:57 Ali_h right*
23:57 perigrin " bring up perl6.exe" kinda gave you away
23:58 Ali_h :)
23:58 TimToady jnthn develops on Windows, so it can work, but maybe you have to smile just right...
23:58 * TimToady is not a Windows expert...
23:59 Ali_h I could just slap daemon its his fault im learning it :/
23:59 TimToady pmichaud: are you around?
23:59 PerlJam Ali_h: I'd like to see the code you're trying to execute
23:59 Ali_h the first one from the book PerlJam

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo