Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2006-12-02

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:14 neonse left perl6
00:28 theorb is now known as theorbtwo
00:28 falesca joined perl6
00:35 prism god that feels better
00:36 prism just managed ti get rid of this solid lump of crap from out my nose
00:36 prism was about hald the siez of a golf ball
00:36 prism serves me right for beta testing Microsoft-Nose I guess
00:47 froggero1 joined perl6
00:55 mdiep joined perl6
01:02 devogon joined perl6
01:11 Khisanth joined perl6
01:13 SamB Microsoft-Nose?
01:14 SamB do they also offer a pie-thumb?
01:14 ozo joined perl6
01:18 prism joined perl6
01:18 mdiep joined perl6
01:21 Aankh|Clone joined perl6
01:27 ludan joined perl6
01:44 lisppaste3 joined perl6
02:04 ABC joined perl6
02:07 ozo left perl6
02:30 dmq joined perl6
02:39 lisppaste3 joined perl6
03:05 nekobaka joined perl6
03:20 whooosh joined perl6
03:39 nekobaka left perl6
03:54 H0LE joined perl6
04:51 H0LE left perl6
05:16 silug joined perl6
05:21 root4o joined perl6
05:21 root4o hi
05:24 root4o I watched this :http://video.google.com/videoplay?docid=448441135356213813&q=engEDU+lisp  
05:24 root4o and was wondering does Perl6 allow  double/triple/etc i.e. multi-level-dispatch as discribed here..... or it just normal-multimethod dispatch ala advanced-java ?
05:24 lambdabot Title: Practical Common Lisp - Google Video, http://tinyurl.com/y7pe72
05:27 root4o FYI : searching for "engEDU" in video.google.com shows many very interesting conferences on different topics....
05:45 TimToady root4o: it can do either depending on where you put semicolons instead of commas.
05:50 root4o aha..10x
06:14 BooK_ joined perl6
06:49 iblechbot joined perl6
07:00 Teratogen joined perl6
07:13 root4o left perl6
07:27 offby1 joined perl6
07:27 offby1 http://cgi.ebay.com/IBM-Correcting-Selectric-II-Electric-Typewriter_W0QQitemZ170055043999QQihZ007QQcategoryZ41816QQrdZ1QQcmdZViewItem
07:27 lambdabot http://tinyurl.com/yzux7w
07:27 offby1 hooray
07:27 offby1 thanks Mr lambdabot!
07:27 offby1 left perl6
07:33 nothingmuch stevan: monzy started it all, for us
07:49 meppl good morning
07:49 meppl good morning nothingmuch and lambdabot
08:22 marmic joined perl6
09:07 Teratogen joined perl6
09:07 marmic joined perl6
09:07 BooK_ joined perl6
09:07 lisppaste3 joined perl6
09:07 dmq joined perl6
09:07 Aankh|Clone joined perl6
09:07 mdiep joined perl6
09:07 prism joined perl6
09:07 Khisanth joined perl6
09:07 frankg joined perl6
09:07 Caelum joined perl6
09:07 dduncan joined perl6
09:07 autark joined perl6
09:07 nperez joined perl6
09:07 theorbtwo joined perl6
09:07 pmichaud joined perl6
09:07 plural joined perl6
09:07 leo joined perl6
09:07 coumbes joined perl6
09:07 Patterner joined perl6
09:07 avar joined perl6
09:07 xinming joined perl6
09:07 kanru joined perl6
09:07 sweinig_ joined perl6
09:07 awwaiid joined perl6
09:07 baest joined perl6
09:07 Grrrr joined perl6
09:07 statico joined perl6
09:07 rblackwe joined perl6
09:07 rafl__ joined perl6
09:07 PerlJam joined perl6
09:07 weinig joined perl6
09:07 ofer0 joined perl6
09:07 scsibug joined perl6
09:07 cmeyer joined perl6
09:07 pnu joined perl6
09:07 bcorn joined perl6
09:07 mj41 joined perl6
09:07 araujo joined perl6
09:07 lumi joined perl6
09:07 DebolazX joined perl6
09:07 cj joined perl6
09:07 Coleoid joined perl6
09:07 lambdabot joined perl6
09:07 sri_ joined perl6
09:07 rintaro joined perl6
09:07 miyagawa joined perl6
09:07 meppl joined perl6
09:07 slanning joined perl6
09:07 evalbot_r14854 joined perl6
09:07 TreyHarris joined perl6
09:07 boo_ joined perl6
09:07 Lorn joined perl6
09:07 SCalimlim joined perl6
09:07 Southen joined perl6
09:07 ayrnieu joined perl6
09:07 anatolyv joined perl6
09:07 stevan joined perl6
09:07 idiotmax joined perl6
09:07 mako132 joined perl6
09:07 kolibrie joined perl6
09:07 rgs joined perl6
09:07 Maddingue joined perl6
09:07 takanori_ joined perl6
09:07 LCamel joined perl6
09:07 wilx joined perl6
09:07 mugwump joined perl6
09:07 Yappo joined perl6
09:07 shadowspar joined perl6
09:07 revdiablo joined perl6
09:07 integral joined perl6
09:07 cookys joined perl6
09:07 knewt joined perl6
09:07 Ikarus joined perl6
09:07 bennymack joined perl6
09:07 Shabble joined perl6
09:07 jrockway joined perl6
09:07 perlbot joined perl6
09:07 Debolaz joined perl6
09:07 GeJ joined perl6
09:07 rafl joined perl6
09:07 nekokak joined perl6
09:07 spo0nman joined perl6
09:07 TimToady joined perl6
09:07 norageek joined perl6
09:07 cls_bsd joined perl6
09:07 jabbot joined perl6
09:07 qmole joined perl6
09:07 takesako_ joined perl6
09:07 PerlPilot joined perl6
09:07 ingy joined perl6
09:07 mr_ank joined perl6
09:07 jamessan joined perl6
09:07 svnbot6 joined perl6
09:07 AzureBOT joined perl6
09:07 mtve joined perl6
09:07 buu joined perl6
09:07 diotalevi joined perl6
09:07 spinclad joined perl6
09:07 monkey__ joined perl6
09:07 gaal joined perl6
09:07 pjcj joined perl6
09:07 clkao joined perl6
09:07 nothingmuch joined perl6
09:07 obra joined perl6
09:07 drbean joined perl6
09:07 Tene joined perl6
09:07 scw joined perl6
09:07 nnunley joined perl6
09:07 jiing joined perl6
09:07 broquaint joined perl6
09:07 nelhage joined perl6
09:07 tewk joined perl6
09:07 gugod joined perl6
09:07 amv joined perl6
09:07 dvorak joined perl6
09:07 maquis joined perl6
09:07 eviltwin_b joined perl6
09:07 buubot joined perl6
09:07 wolverian joined perl6
09:07 hcchien_ joined perl6
09:12 Teratogen I have a -boobies command in my bot
09:12 Teratogen oops wrong chan
09:36 TSa joined perl6
09:52 elmex joined perl6
09:52 ozo joined perl6
10:01 phpError joined perl6
10:09 devogon joined perl6
10:11 lisppaste3 joined perl6
10:15 dduncan left perl6
10:21 ludan joined perl6
10:21 ludan ola
10:26 ayrnieu joined perl6
10:26 foo\ joined perl6
11:01 lisppaste3 joined perl6
11:08 chris2 joined perl6
11:10 Hamish joined perl6
11:10 Hamish is now known as Hamish`
11:12 foo\bar joined perl6
12:41 neonse joined perl6
12:55 mdiep_ joined perl6
12:59 elmex joined perl6
13:21 meppl joined perl6
13:24 iblechbot joined perl6
13:28 rblackwe joined perl6
13:45 lisppaste3 joined perl6
14:10 RHainsworth joined perl6
14:11 spoop joined perl6
14:28 autark joined perl6
14:39 lisppaste3 joined perl6
15:01 buetow joined perl6
15:15 gnuvince joined perl6
15:21 larsen_ joined perl6
15:32 kanru joined perl6
15:34 larsen__ joined perl6
15:38 ayrnieu joined perl6
15:48 xinming_ joined perl6
16:03 Limbic_Region joined perl6
16:22 Limbic_Region anyone around?
16:22 Limbic_Region http://perlmonks.org/?node_id=587390 # Request for help translating a small bit of p5 into Perl 6
16:22 lambdabot Title: How to write this in Perl 6?
16:23 Daveman joined perl6
16:23 RHainsworth left perl6
16:35 chris2 joined perl6
16:36 TimToady Limbic_Region: interesting.  I note that the problem itself doesn't say the numbers have to be contiguous, though the example seems to indicate it.
16:37 TimToady there are many sets of 4 numbers on the same straight line that aren't in one of the 8 cardinal directions
16:43 TimToady actually, it limits it to vertical, horizontal, and diagonal, but the continguity is still somewhat implied by the example.
16:43 TimToady anyway, I'll whack on the P6 version...
16:44 kevinG joined perl6
16:54 Limbic_Region TimToady - sorry, was AFK
16:54 TimToady np
16:54 Limbic_Region TimToady - Project Euler is full of fun 5 minute distractions
16:55 Limbic_Region I hadn't thought of it as a way practicing Perl 6
16:55 Limbic_Region but since blazar asked I thought I should share with the channel
16:55 Limbic_Region fwiw, blazar is in the hospital with an extremely rare form of cancer
16:55 TimToady Looks like a good way of showing off Perl 6.  I just wish XX was implemented...
16:56 TimToady yow
17:01 spoop joined perl6
17:02 Limbic_Region TimToady - if I am reading S03 correctly, xx in p5 is ('foo') x $some_num;
17:02 Limbic_Region ?
17:04 lisppaste3 joined perl6
17:05 TimToady the X*X cross product metaoperator
17:06 TimToady X and XX are just common shortcuts
17:06 Limbic_Region oh, neat
17:07 TimToady but maybe it's not needed here, since the first line wants to [...] each 4 nums.
17:07 TimToady but I'm sure we can hyper some things.
17:07 Limbic_Region where is XX discussed as a cross product metaoperator?
17:08 Limbic_Region I see it under metaoperators in S03
17:08 TimToady S03:1708
17:09 Limbic_Region ah, didn't look far enough down
17:10 TimToady he doesn't realize there's a min operator and [min] either...
17:10 bernhard joined perl6
17:20 ashleyb joined perl6
17:24 Gothmog_ Limbic_Region: I don't think I found the problem you're talking about, though I'm pretty interested... could you tell me the name of the problem?
17:28 Limbic_Region according to blazar's use.perl journal entry (not PerlMonks node) it is problem 14
17:29 Limbic_Region er um
17:29 Limbic_Region scratch that
17:29 Limbic_Region he has apparently written about 2 different problems
17:29 Limbic_Region the one in his use.perl journal is 14
17:29 Limbic_Region the one in the perlmonks node is 11
17:30 Gothmog_ So it is about "Up Down Left Right" and "Four Fours"?
17:32 * Limbic_Region is trying to remember his password
17:32 Limbic_Region I haven't done project euler in a long time
17:33 Limbic_Region Problem 11's description is In the 2020 grid below, four numbers along a diagonal line have been marked in red.
17:35 Limbic_Region my genious rating has dropped a fair amount as a result of not keeping up with new problems
17:36 Gothmog_ Ah, I see it now... if you aren't logged in and enter 11 in the quick search you get another problem.
17:36 TimToady you can click the problem list on the left and get to 11
17:38 Gothmog_ Ah, that works, too..
17:38 Limbic_Region one of those problems lead me to write Partition::Integer::Unrestricted which I still need to upload to CPAN
17:38 pasteling "TimToady" at 71.139.39.243 pasted "a preliminary pugs-compatible solution" (32 lines, 1.5K) at http://sial.org/pbot/21546
17:38 Gothmog_ Strange that the search finds another problem with ID 11.
17:39 TimToady my solution uses max instead of the unimplemented [max], and prints in E notation, albeit with sufficient precision.
17:40 Limbic_Region TimToady - are you planning on replying?
17:40 TimToady also haven't thought about hyperizing yet, but I'm being dragged out for a walk by my health advisor.  :)
17:40 TimToady yes, but not immediately.
17:41 TimToady maybe I'll just put up my prelim version now.
17:41 Limbic_Region heh, tell Gloria we said hi
17:48 * Limbic_Region chuckles as he comes across a flattering picture of Heidi and a not-so-favorable Larry
18:02 autark_ joined perl6
18:12 lisppaste3 joined perl6
18:24 lisppaste3 Gothmog pasted "potential XX implementation" at http://paste.lisp.org/display/31226
18:26 Gothmog_ Seems to work correctly with pugs...
18:27 Gothmog_ And I can't think of a reason why it could go wrong.
18:27 weinig is now known as weinig|lunch
18:29 neonse left perl6
18:34 Psyche^ joined perl6
18:45 autark joined perl6
18:45 Psyche^ is now known as Patterner
18:47 justatheory joined perl6
18:50 neonse joined perl6
19:04 elmex joined perl6
19:09 TSa HaloO TimToady, are you back from your walk?
19:13 nothingmuch walking++
19:13 pbuetow joined perl6
19:13 TSa looks like it,yes
19:23 ludan joined perl6
19:31 wolverian I don't understand what the heck @dirs is
19:31 wolverian er, @dir
19:31 wolverian (re: http://perlmonks.org/?node_id=587390)
19:31 lambdabot Title: How to write this in Perl 6?
19:32 wolverian oh. linear offsets
19:39 wolverian heh. my haskell solution is 15 lines and gives the wrong answer. :)
19:46 Gothmog_ wolverian: @dir is the direction... but I think, 22 is not correct there...
19:48 wolverian hrm. shouldn't it be 19 and 21?
19:48 wolverian anyway. I'm not using that method :)
19:50 Gothmog_ Yes, I think so...
19:52 Gothmog_ But it gives the same result, whether you enter 22, 19 or neither.
19:55 wolverian yay, my program now gives the same answer.
19:56 wolverian it's not very pretty, though. :)
20:01 lisppaste3 wolverian pasted "Solution to #11" at http://paste.lisp.org/display/31238
20:11 Gothmog_ Ah no, we were wrong. 22 is correct.
20:12 Gothmog_ He adds a 0 after every line, so each line has 21 entries...
20:12 ludan joined perl6
20:12 wolverian Gothmog_, ah. thanks.
20:15 marmic joined perl6
20:17 Gothmog_ I could write a much more elegant solution than I have in Perl6 if multidimensional arrays and [;] were implemented...
20:31 Aankhen`` joined perl6
20:47 cognominal joined perl6
20:52 lisppaste3 joined perl6
21:01 weinig|lunch is now known as weinig
21:49 theorbtwo joined perl6
21:57 TimToady Gothmog_: thanks, I used your version in a followup that throws a lot of fancy tricks at it.
21:59 larsen_ joined perl6
21:59 TimToady the last statement now reads:
21:59 TimToady say max gather {
21:59 TimToady    for ^@data XX @dir {
21:59 TimToady        take int [*] @data[ $^base »+« $^offs ];
21:59 TimToady    }
21:59 TimToady }
22:00 TimToady the hyperop is actually bogus according to current specs though...
22:00 TimToady should be «+« instead.
22:06 lisppaste3 joined perl6
22:12 Gothmog_ Very nice. But I think I have to correct you: the version of XX I wrote should really work for an arbitrary count of arguments...
22:12 Gothmog_ @a XX @b XX @c ... should work, too.
22:12 lambdabot Maybe you meant: all-dicts arr ask . v
22:13 autark joined perl6
22:16 Gothmog_ I don't really know what pugs does with it, but I suppose it's either left or right associative...
22:17 Gothmog_ And therefore it should work as expected.
22:36 lisppaste3 joined perl6
22:38 weinig is now known as weinig|bbl
22:56 Franky joined perl6
22:56 Franky left perl6
22:59 mako132_ joined perl6
23:11 mako132_ joined perl6
23:12 weinig|bbl is now known as weinig
23:21 gnuvince joined perl6

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

Perl 6 | Reference Documentation | Rakudo