|
»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! | Rakudo Star Released! Set by diakopter on 6 September 2010. |
|||
|
00:01
jaldhar_ is now known as jaldhar,
whiteknight joined
|
|||
| jnthn | zzz& | 00:02 | |
| masak | nom & | ||
|
00:02
masak left
00:03
ch3ck3r left
00:11
bitter16 left
00:12
hercynium left
00:16
am0c joined
00:26
ggoebel left
00:32
Guest94843 left
|
|||
| lichtkind | is there no strict in perl 6? | 00:38 | |
| PerlJam | lichtkind: are you asking if you can turn stricture off? | 00:39 | |
| lichtkind | yes | ||
|
00:54
bluescreen joined,
bluescreen is now known as Guest42378
|
|||
| dalek | tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ics_tablet | 00:56 | |
|
00:57
xinming left
01:05
ggoebel joined
01:09
justatheory left
01:12
risou left
01:23
flatwhatson left
01:24
flatwhatson joined
|
|||
| [Coke] | (trouble building rakudo on parrot) trac.parrot.org/parrot/ticket/1884 | 01:27 | |
| I had a typo so I wasn't actually realcleaning parrot. (I don't think I should have to realclean to get this to work, though.) ... but now that I've done a realclean and blown away the cached value, I should be able to build rakudo again. So if it comes up again - "realclean" is the answer. :P | 01:31 | ||
|
01:33
justatheory joined
01:34
masonkramer left,
justatheory left,
masonkramer joined
01:36
justatheory joined
01:44
whiteknight left
02:02
ch3ck3r joined
02:04
impious left
02:05
cdarroch left
02:09
ch3ck3r left
02:10
Miesco joined
|
|||
| Miesco | whats wrong with this, why wont it increment?: perl -wlE 'my $cs = 'ZZ9'; my $nc = $cs++; say $nc;' | 02:10 | |
| perl6: 'my $cs = 'ZZ9'; my $nc = $cs++; say $nc;' | 02:12 | ||
| p6eval | rakudo : OUTPUT«===SORRY!===Confused at line 22, near "'my $cs = "» | ||
| ..pugs: OUTPUT«***  Unexpected "ZZ9" expecting term postfix or operator at /tmp/7R4DrwD6my line 1, column 12» | |||
| colomon | rakudo: my $cs = 'ZZ9'; my $nc = $cs++; say $nc; | 02:13 | |
| p6eval | rakudo : OUTPUT«ZZ9» | ||
| colomon | rakudo: my $cs = 'ZZ9'; my $nc = $cs++; say $nc; say $cs; | ||
| p6eval | rakudo : OUTPUT«ZZ9AAA0» | ||
| colomon | It does increment, as you can see. | ||
| Miesco | oh | ||
| colomon | you perhaps wanted | 02:14 | |
| Miesco | thanks! | ||
| colomon | rakudo: my $cs = 'ZZ9'; my $nc = ++$cs; say $nc; say $cs; | ||
| p6eval | rakudo : OUTPUT«AAA0AAA0» | ||
|
02:24
jferrero left
|
|||
| Miesco | How do you convert a string to an array reference? | 02:30 | |
|
02:32
QinGW joined
|
|||
| colomon | In what sense? | 02:37 | |
| rakudo: say "a b c d e f g".split(" ") | 02:38 | ||
| p6eval | rakudo : OUTPUT«abcdefg» | ||
| colomon | rakudo: say "a b c d e f g".split(" ").perl | ||
| p6eval | rakudo : OUTPUT«("a", "b", "c", "d", "e", "f", "g")» | ||
| colomon | or | ||
| rakudo: say "a b c d e f g".comb(/\S/).perl | |||
| p6eval | rakudo : OUTPUT«("a", "b", "c", "d", "e", "f", "g")» | ||
|
02:53
adu joined
03:14
lichtkind left
|
|||
| PerlJam | Anyone know off hand if it's possible to do a runtime use with rakudo? | 03:19 | |
| kthakore | rakudo: say 'Sure PerlJam!' | 03:24 | |
| p6eval | rakudo : OUTPUT«Sure PerlJam!» | ||
|
03:24
cggoebel joined
|
|||
| kthakore | rakudo: say 'Sure PerlJam! if( 'perljam' ) { require Math } ' | 03:25 | |
| p6eval | rakudo : OUTPUT«===SORRY!===Confused at line 22, near "say 'Sure "» | ||
| kthakore | rakudo: say 'Sure PerlJam!'; if( 'perljam' ) { require Math } ' | ||
| p6eval | rakudo : OUTPUT«===SORRY!===Confused at line 22, near "if( 'perlj"» | ||
| kthakore | rakudo: say 'Sure PerlJam!'; if( 1 ) { require Math } ' | ||
| p6eval | rakudo : OUTPUT«===SORRY!===Confused at line 22, near "if( 1 ) { "» | ||
|
03:25
ggoebel left
|
|||
| kthakore | awww | 03:25 | |
| I suck | |||
| rakudo: say 'Sure PerlJam!'; if( 1 ) { use Math; } ' | 03:26 | ||
| p6eval | rakudo : OUTPUT«===SORRY!===Unable to find module 'Math' in the @*INC directories.(@*INC contains: lib /home/p6eval/.perl6/lib /home/p6eval/p1/lib/parrot/2.10.0-devel/languages/perl6/lib .)» | ||
| kthakore | rakudo: say 'Sure PerlJam!'; if( 1 ) { use ; } ' | ||
| p6eval | rakudo : OUTPUT«===SORRY!===Confused at line 22, near "if( 1 ) { "» | ||
| kthakore | rakudo: say 'Sure PerlJam!'; if( 1 ) { use v6; } else { use v7; }' | 03:27 | |
| p6eval | rakudo : OUTPUT«===SORRY!===Confused at line 22, near "if( 1 ) { "» | ||
| kthakore | rakudo: say 'Sure PerlJam!'; if( 1 ) { use IO; } else { use v7; }' | ||
| p6eval | rakudo : OUTPUT«===SORRY!===Unable to find module 'IO' in the @*INC directories.(@*INC contains: lib /home/p6eval/.perl6/lib /home/p6eval/p1/lib/parrot/2.10.0-devel/languages/perl6/lib .)» | ||
| kthakore | something like that | ||
|
03:29
glow left
|
|||
| PerlJam | I tried the obvious things, but they didn't seem to work. :) | 03:30 | |
|
03:30
perimosocordiae joined
|
|||
| kthakore | PerlJam: rlly? | 03:31 | |
| but I find that obvious usually works in perl | |||
| perl6 | |||
|
03:32
kanishka joined
03:45
gbacon left,
gbacon joined
03:56
snearch_ joined
03:59
snearch left
04:02
araujo left
04:04
wayland76 joined
|
|||
| wayland76 | Hi all. | 04:05 | |
| I have a perl6 question. | |||
| dukeleto | I would like to make some Google Code-In translation tasks for Perl 6. What documents about Perl 6 need to be translated into other languages? | ||
| wayland76 | Once a grammar is applied to a string, and a Match object is obtained, is it possible to take the Match object and the grammar, and reverse the parse to obtain the original string? | 04:06 | |
| colomon | wayland76: In Rakudo, the original string is stored in the match object. I'm not sure if that's spec, and I'm not sure how to get back to it... | 04:07 | |
| PerlJam | wayland76: sounds like you want to walk the parse tree, concatenating the stringy versions of $/ as you go along. | 04:08 | |
| colomon | rakudo: my $m = "This is a test" ~~ /is/; say $m.perl | ||
| p6eval | rakudo : OUTPUT«Match.new( from => 2, orig => "This is a test", to => 4,)» | ||
| PerlJam | wayland76: but the top-level $/ will be the entire string matched anyway, so ... | ||
| colomon | rakudo: my $m = "This is a test" ~~ /is/; say $m.orig | ||
| p6eval | rakudo : OUTPUT«This is a test» | ||
| wayland76 | My reason for wondering was that I figured it would be nice to parse a file, modify the match object, and then say "write this back to the file" | 04:10 | |
|
04:11
satyavvd joined
|
|||
| wayland76 | Would it make sense to have a function on the match object that says "walk my children and, concatenate the stringy versions of $/ "? | 04:11 | |
| (sorry, extra comma -- ignore) | |||
|
04:17
cggoebel left
04:20
jhuni joined
04:23
ggoebel joined
04:32
ggoebel left
04:35
orafu left,
orafu joined
04:38
ggoebel joined
04:39
sorear left
04:43
wayland76 left
04:45
sorear joined
05:00
orafu left,
orafu joined
05:12
simcop2387 left
05:13
Trashlord left
05:23
ggoebel left
05:28
ggoebel joined
05:54
jaldhar left
05:55
orafu left,
orafu joined,
perimosocordiae left
06:05
jaldhar joined
|
|||
| sorear | good * #perl6 | 06:09 | |
|
06:10
_kaare joined
|
|||
| sorear | kthakore: if( 1 ) is wrong, wrong, wrong and only works in Rakudo due to a bug. anysequenceofletters( is always a function call in term position. You wanted if 1 instead; if you insist on parens, they have to be separated from if by a space | 06:12 | |
| wayland left :/ | 06:13 | ||
| kthakore | sorear: aww sorry | 06:15 | |
|
06:17
sftp left
|
|||
| kthakore | rakudo: say "sorry sorear" | 06:20 | |
| p6eval | rakudo : OUTPUT«sorry sorear» | ||
|
06:21
Guest42378 left
06:22
glow joined
06:23
Axius joined
06:30
kanishka left
06:38
masak joined
|
|||
| masak | oh hai, #perl6 | 06:38 | |
| PerlJam, kthakore: as far as I know, you were on the right track with 'require', but since it's run-time, it doesn't have the same syntax as 'use'. | 06:40 | ||
| er. scratch that. seems it does. | 06:41 | ||
|
06:44
Axius left
06:46
envi left
06:50
envi joined
|
|||
| sorear | hello masak ! | 06:58 | |
| masak | hi sorear! | ||
| aaah. another glorious day in Perl 6 land. | 06:59 | ||
| and only one day left to the Big Announcement. :) | 07:00 | ||
|
07:00
nymacro left
|
|||
| sorear | 1 hour yet in my timezone and I'm still feeling quite productive. | 07:00 | |
| while out today I figured out how to make require work. | 07:01 | ||
|
07:01
_kaare left
|
|||
| sorear | which is an important first step to eval | 07:01 | |
|
07:01
wtw joined
|
|||
| masak | 'require' is a prerequisite to 'eval'? | 07:02 | |
| sorear | they both involve adding a compilation unit to a Perl 6 interpreter at runtime | 07:03 | |
| masak | that they do. | 07:04 | |
| so they have a common prerequisite. | |||
|
07:04
nymacro joined
|
|||
| dalek | ok: b03cd9d | (Jeffrey T. Palmer)++ | src/operators.pod: Fix minor typos Signed-off-by: Moritz Lenz [email@hidden.address] |
07:11 | |
| moritz_ | good morning | ||
| masak | morning! | ||
|
07:19
IllvilJa1 left
07:24
kjeldahl joined
07:26
nym joined
07:28
simcop2387 joined
07:30
nymacro left
07:35
justatheory left
07:37
Bzek_ joined
07:40
Bzek left
07:50
adu left
|
|||
| sorear | C#-- # condition ? F1() : F2(); is a syntax error | 07:54 | |
| masak | why? | ||
| sorear | the expressions allowed in void context are very limited | 07:57 | |
| only stuff with obvious side effects | |||
| this hasn't bothered me at all until just now | 07:58 | ||
|
08:03
cjk101010 joined
|
|||
| moritz_ | such things usually start to bother you when you generate code :-) | 08:03 | |
| sorear | I retroactively appreciated it when I noticed how much of a win dead code elimination was :-) | 08:05 | |
| dalek | ecza: 3aadb1f | sorear++ | src/Metamodel.pm: Decouple sub tree from lexicals system |
08:06 | |
| ecza: cb82aa3 | sorear++ | / (5 files): Implement INIT phaser |
|||
|
08:35
redicaps joined
08:45
_kaare joined
08:47
bbkr left
08:54
gimix left
09:02
araujo joined
|
|||
| dalek | ecza: b46d150 | sorear++ | / (3 files): Reimplement monkey typing using phasers |
09:03 | |
| ok: 8828824 | hinrik++ | / (2 files): Skip testing S26, since Perl6::Perldoc currently can't parse it |
09:09 | ||
| ok: 1d294d7 | hinrik++ | Changes: v0.25 - Skip testing S26, since Perl6::Perldoc currently can't parse it |
|||
|
09:11
kensanata joined
09:15
bbkr joined
09:27
redicaps left
09:32
redicaps1 joined,
jferrero joined
09:39
snearch_ left
09:43
redicaps1 left
09:48
Trashlord joined
09:51
dakkar joined
|
|||
| masak | & | 10:00 | |
|
10:00
masak left
10:02
IllvilJa joined
|
|||
| sorear & | 10:02 | ||
| moritz_ | fg | 10:04 | |
|
10:05
QinGW left
|
|||
| tadzik | o/ | 10:11 | |
| moritz_ | \o | ||
| tadzik: how's the advent post coming? | 10:12 | ||
| tadzik | moritz_: it's not, yet :) I just finished my labs on Uni in 3 hours instead of 4, so I have some time to at least start it | ||
| survey: what existing perl 6 module do you like/use often? | 10:25 | ||
| moritz_ | JSON::Tiny | 10:27 | |
| SVG | |||
| SVG::Plot | |||
| moritz_ 's vanity alert flashes, since he developed them | |||
| tadzik | (: | 10:28 | |
| moritz_ | not vanity, actully. I just developed modules that I wanted to use | ||
| and now I'm using them | |||
|
10:28
tzhs joined
|
|||
| tadzik | hrm | 10:30 | |
| I wonder if that wouldn't actualy result in duplicating the so-you-want-to-write-a-module post | 10:33 | ||
| (duplicating the content, that is) | |||
| I feel out of ideas :| What do you think the post should contain? | 10:36 | ||
| moritz_ | things like: go to modules.perl6.org for a list of modules | ||
| for installing them, download neutro | |||
| types these lines for bootstrapping neutro | 10:37 | ||
| then do neutro Foo::Bar | |||
| point to your post about starting modules | |||
| tadzik | oh, so also 'how to install modules', sure | 10:40 | |
|
10:55
zbrown_ joined
11:02
jferrero left
|
|||
| dalek | : 26c1b4a | (Tadeusz Sośnierz)++ | misc/perl6advent-2010/articles/module-system.pod: Added an initial version of today's article |
11:02 | |
| tadzik | proofreading and further ideas will be more than welcome | ||
| moritz_ | +Modules will be installed to C<~/.perl6/lib> as well, so assuming your | 11:04 | |
| 42 | |||
| +PERL6LIB is alredy set, you are now able to use the installed modules: | |||
| the point of ~/.perl6/lib is that's in the search path by default | |||
| so PERL6LIB doesn't need to be set | |||
| tadzik | really? | ||
| cute | |||
| moritz_ | rakudo: .say for @*INC | 11:05 | |
| tadzik | so even the warning in neutro is worthless | ||
| p6eval | rakudo : OUTPUT«lib/home/p6eval/.perl6/lib/home/p6eval/p1/lib/parrot/2.10.0-devel/languages/perl6/lib.» | ||
| tadzik | cool | ||
| flussence | I think "./lib" should be in there by default too... | ||
| moritz_ | apart from that: very nice | ||
| tadzik: one more thing... the title doesn't quite fit to the contents of the post | |||
| it's not primarily about writing modules | |||
| tadzik | oh, right | ||
| I've been changing the title like 5 times alredy :) | |||
| moritz_ | Perl 6 Modules - an incomplete story | 11:06 | |
| flussence | I'd comment on the post, but I've horribly screwed up X and my system's in the middle of an update already | 11:07 | |
| moritz_ | flussence: if you have a checkout of the mu repo, just use perldoc to view it | ||
| flussence facepalm | |||
| yeah, that'd be easier :) | |||
| tadzik | or just pod2text | 11:08 | |
| dalek | : 8ef15ef | (Tadeusz Sośnierz)++ | misc/perl6advent-2010/articles/module-system.pod: Fix a few things |
11:09 | |
| tadzik | leaving for my programming classes, wil be back later | ||
| flussence | I didn't have a clone of it already, but wow, that's a big repo. | ||
| moritz_ | it contains the full history of the pugs repo | 11:10 | |
| plus a bit | |||
| $ git log|grep ^commit|wc -l | |||
| 32217 | |||
| flussence | there's a Term::ANSIColor? Nice. | 11:14 | |
|
11:21
satyavvd left
11:37
ch3ck3r joined
11:56
zbrown_ left
12:00
phio joined,
zby_ left
12:03
bluescreen joined,
bluescreen is now known as Guest23392
|
|||
| tadzik | flussence: ha! there's even two! | 12:19 | |
| flussence: is there anything you'd like to see in the article? | 12:21 | ||
|
12:23
skangas left
12:26
daxim joined
|
|||
| flussence | tadzik: nothing comes to mind, looks good to me | 12:32 | |
| I saw a Term::$something for p5 the other day that does 256 colours, I'm not a fan of having to remember that many colour names though | 12:34 | ||
| (I'd much prefer to just pass in rgb values and have it figure out the best palette entry) | |||
.oO( something else for me to write... ) |
12:36 | ||
| tadzik | unluckily, there is no rgb in ansi terminals | 12:37 | |
|
12:38
cjk101010 left
12:43
wooden left,
smash joined
|
|||
| smash | hello everyone | 12:44 | |
| moritz_ | oh hai | ||
|
12:55
Miesco left
12:56
Miesco joined
12:57
Axius joined
12:58
Kovensky left
|
|||
| takadonet | morning all | 13:00 | |
| smash | takadonet: mornin' | 13:03 | |
|
13:05
jhuni left
13:06
wamba joined
13:09
Kovensky joined
13:23
plainhao joined
13:30
Axius left
13:33
cjk101010 joined
13:34
masonkramer left,
masonkramer joined
13:42
tzhs left
13:52
xinming joined
14:02
Guest87704 joined
14:04
sftp joined
14:15
phio left
|
|||
| PerlJam | good * #perl6! | 14:21 | |
| moritz_ | good now, PerlJam | 14:22 | |
| colomon | rakudo: say ((1, 2) Z, (3, 4)).Str | 14:23 | |
| p6eval | rakudo : OUTPUT«2 4 2 4» | ||
| moritz_ | PerlJam: let me remind you that you're scheduled for the advent calendar tomorrow | ||
| PerlJam | aye. | ||
| colomon | I'm scheduled for Sunday, right? | ||
| PerlJam | Feel free to give me ideas too. I feel idea-less and have for a while. | 14:24 | |
| takadonet | who posting today? | ||
| PerlJam | (yes, I have read the brain storming, but nothing "clicks") | 14:25 | |
| moritz_ | takadonet: tadzik | ||
| colomon: you're scheduled for the 11th, which I believe is Saturday | |||
| PerlJam: since I've dumped all my ideas into the brainstorm, I can't offer more | 14:26 | ||
|
14:27
Lorn left
|
|||
| moritz_ | I have a TODO list for my blog, but it turns out that I already consulted it for the advent list | 14:27 | |
| the only remaining item is "why numeric types don't fit well with mathematical types" | 14:28 | ||
| PerlJam | Dr Pepper + cashews make for an interesting "breakfast" | 14:30 | |
| moritz_ | that reminds me, I have a can of cachews open at home, which we used for our last curry | ||
| oha | maybe usefull, but i would like to read something about minidbi and dbi in general | 14:31 | |
|
14:33
colomon left
14:34
masak joined,
colomon joined
14:35
Guest23392 left
14:37
alc left
|
|||
| masak | PerlJam: write about something in Perl 6 that you like... :) | 14:37 | |
| PerlJam | masak: I like too much :) | 14:38 | |
| masak | en.wikipedia.org/wiki/The_Paradox_o...re_Is_Less :) | ||
| moritz_ hates that big banner on top of WP pages | 14:39 | ||
| PerlJam | moritz_: me too! | 14:40 | |
| wikipedia-- | |||
| moritz_ | and even if I adblock it, the text remains | ||
| and wastes space | |||
| I can click on the small X box to close it, but that choice isn't remembered | |||
| wikipedia-- | |||
| </rant> | |||
| PerlJam | greasemonkey could help | 14:41 | |
| moritz_ | but I shouldn't have to | ||
| flussence | I think it only appears with JS turned on (I've never seen it) | ||
| masak | moritz_, PerlJam: i.imgur.com/GHWO3.png :) | 14:47 | |
| moritz_ | masak: :-) | 14:48 | |
|
14:50
Guest23392 joined
14:53
fhelmberger joined
14:55
Lorn joined
|
|||
| [Coke] | I am stunned that people surf the web with JS disabled. | 14:58 | |
| (but then, I write web apps for a living) | 14:59 | ||
| mathw | I've always thought it was a bit excessively paranoid | ||
| But then, they'd probably say I'm being an idiot | |||
| masak | I sure the web with JS disabled. in one of my browsers. | ||
| mathw | And when you get right down to it, I'm probably stupid for having my computer connected to the internet | ||
| masak | I also write web apps. | ||
| there are clear risks with having JS enabled by default, but I do it for performance reasons. | 15:00 | ||
| PerlJam | masak: sounds like the exact justification that Microsoft used for all of the insecurities in their operating system. | 15:01 | |
| moritz_ usually doesn't want all the interactivity that js offers | 15:02 | ||
| I often just want to read a page | |||
| flussence likes predictable UIs | |||
| PerlJam | moritz_: you're just old fashioned :) | ||
| masak likes a gracefully degrading web | |||
| moritz_ | no flashy toolbars, comment markers, real-time loaded tweets, ... | ||
| PerlJam: indeed I am. | |||
| masak | I'm old-fashioned in that way too. | 15:03 | |
| I sincerely believe much of the web is designed wrongly in an absolute sense. | |||
| PerlJam | I want a UI that caters to my needs and desires so that I don't have to think about things that are irrelevant to whatever task I'm trying to accomplish. | ||
| moritz_ | I'm active in a german web forum, and in the "homepage" section people often ask how to always show the same URL in the title bar, regardless of which subpage you're currently visiting | ||
| masak | Gmail is one of the few Ajax apps that got the back button right. | 15:04 | |
| moritz_ | I never understood why people want so tight control over their website, at the cost of the visitor | ||
| that's like wanting to forbid references to individual chapters or pages of a book | 15:05 | ||
| (the last one wanted it for security reasons.... somebody hacked his site, and he thought he could prevent that hiding the URL. 'nough said). | |||
| s/that/that by/ | |||
| PerlJam | masak: what do you think of the latest github changes? | ||
| masak | PerlJam: so far I've only noticed that things slide sideways. | 15:06 | |
| PerlJam | yeah, I think that's the only major change | ||
| masak | I'm ok with that, although I don't find that it adds anything. | 15:07 | |
| PerlJam | It adds a little bit of instant gratification :) | ||
| masak | something about it feels a bit like the Mac OS X interface. | ||
|
15:11
ggoebel left
|
|||
| moritz_ | www.infoq.com/news/2010/12/verve-msft # a type safe operating system (prototype) | 15:12 | |
|
15:15
ggoebel joined
15:20
MayDaniel joined
|
|||
| dalek | : 7e4977f | (Tadeusz Sośnierz)++ | misc/perl6advent-2010/articles/module-system.pod: More fixes in module-system article |
15:26 | |
| tadzik | any last words, last ideas? | ||
|
15:27
[Coke] left
|
|||
| moritz_ | ship it! | 15:28 | |
| alester | tadzik: Do you have a link to a list of all advent entries? | ||
| moritz_ | the day is nearly over in my time zone :-) | ||
| alester | So that if someone sees that one article, they can link to see all of them? | ||
| tadzik | alester: I don't think so. But we could mangle wordpress a bit to show it, no> | 15:29 | |
|
15:29
MayDaniel_ joined
|
|||
| tadzik | moritz_: aren't you in Gernamy? | 15:29 | |
| alester | tadzik: Are all these entries in a category? | ||
| What site are you posting to? | |||
|
15:30
risou joined
|
|||
| moritz_ | tadzik: yes. More than 2/3 of the day is already passed | 15:30 | |
| perl6advent.wordpress.com/2010/12/ works, but it's not links | |||
|
15:31
MayDaniel left
|
|||
| alester | You're not tagging these? | 15:31 | |
| Just tag them as "Advent" and then you can link to an Advent aggregate page | |||
| Or not. I'm just strirring up shit. :-) | 15:32 | ||
| But I figure that someone's going to see a mention of it and want to see the rest. | |||
| tadzik | I created a category 2010, but I think I'm the only one adding entries to a category :) | 15:33 | |
| moritz_ | tadzik: I do too, unless I forget | ||
| PerlJam | tadzik: I've modified the other entries to use those categories (2009,2010) | ||
| tadzik | PerlJam++ | ||
| alester | Also, I really like tagging in WordPress | ||
| it's butt simple and makes it real easy to get good tag lists. | 15:34 | ||
| see tag cloud on right column techworklove.com/ | |||
| I'm about thisclose to moving Perlbuzz over to WordPress, too. | |||
| Which I realize is almost heretical, but MT vs. WP is night/day. | 15:35 | ||
|
15:35
Patterner left
|
|||
| PerlJam | alester: not heretical at all. Just pragmatic. | 15:35 | |
| alester | I kow. | ||
| There's just no Perl-based blogging software that comes close. | |||
| tadzik | loliblogged! | ||
| perl6advent.wordpress.com/2010/12/0...ecosystem/ | 15:36 | ||
| colomon | \o/ | ||
| moritz_ | \o/ | 15:37 | |
| alester | Tweeted twitter.com/#!/perlbuzz/status/128...2110142464 | ||
| tadzik | oh nice :) | ||
| PerlJam | btw, perhaps this is just my pedantry showing through, but all of the titles start with "Day N" except for day 4 and all of them use "Day N -" except that days 6 and 7 use "Day N:" Should we strive for consistency here? | ||
| tadzik | (I hope it will be well-received, I have a strange feeling like "it could have been better") | 15:38 | |
| . o O ( strangely consistent ) | |||
| PerlJam | tadzik: artists always feel that way about their own work. | ||
| tadzik | :] | ||
| maybe I'm an artist then, if I'm quite sure my photography sucks :) | 15:39 | ||
| masak | I believe it's cool to use Perl software on the web, but I don't believe it's heretical not to. | ||
| tadzik | I remember this troll HIBOU trying to prove that Rakudo is unusable, because we use Wordpress, which is PHP | 15:40 | |
| PerlJam | tadzik: I use "artist" in the general sense of "someone who creates some original work" | ||
|
15:40
Miesco left
|
|||
| tadzik | I know, I'm just kidding around :) | 15:40 | |
| smash | PerlJam: programming, in general, can be an art | 15:41 | |
| tadzik: the post looks great | |||
| moritz_ | PerlJam: some consistency wouldn't be bad | 15:42 | |
| masak | indeed. tadzik++ | ||
| PerlJam | tadzik: having just read and went through your instructions, the only thing I would change is that I would emphasize adding ~/.perl6/bin to your PATH more. | ||
| tadzik: i.e., rather than saying "assuming it's in your path", I'd say, "make sure it's in your path" | |||
| tadzik++ indeed | |||
| tadzik | PerlJam: it's a tricky part, you set it differently everywhere | 15:43 | |
| tadzik redditing the post | 15:45 | ||
| (disregard trolls, aquire karma) | |||
| PerlJam | tadzik: Well, reading from an "outsider's" perspective, you say "assuming ~/.perl6/bin is in your PATH" and I would think "why would that be in my PATH? What else is in ~/.perl6? What is its function?" etc. | ||
| tadzik | PerlJam: hmm, quite right | ||
| I have 10 minutes of battery life though... will try to fix it a bit | |||
|
15:46
cotto left,
dd-sphere joined
|
|||
| tadzik | www.reddit.com/r/programming/comments/eiz01/ lolireddited | 15:46 | |
| post updated, hope it's better | 15:48 | ||
|
15:49
Psyche^ joined,
Psyche^ is now known as Patterner
|
|||
| arnsholt | I just increased the meme factor of my presentation by one. With a Latin Rickroll =D | 15:49 | |
| Now I just need a good latinisation of Rick Astley's name for the attribution ^^ | 15:50 | ||
|
15:50
ch3ck3r left
|
|||
| moritz_ | Riaccomo | 15:50 | |
| arnsholt | I've gotten as far as Ricardus Paulus | ||
| But Astley is giving me trouble, for obvious reasons =) | 15:51 | ||
| masak | does the name mean anything? | 15:54 | |
| you could translate by meaning. | |||
|
15:55
wtw left
|
|||
| arnsholt | Apparently it's a compund noun, meaning "east (of the) meadow" | 15:56 | |
| arnsholt has an idea | 15:57 | ||
| masak | that sounds workable. | 15:58 | |
| arnsholt | I'll probably go with Ricardus Paulus Prati Orientis (Richard Paul of the East Meadow) | 15:59 | |
|
16:00
justatheory joined
|
|||
| masak | nice! | 16:05 | |
| arnsholt | Yeah, I think that'll work | 16:08 | |
| Now I just have to hope someone asks what the Latin quote I used as an example means =) | |||
|
16:11
MayDaniel_ left
|
|||
| masak | I'm doing the last bit of preparing now for the Big Announcement tomorrow. | 16:12 | |
| I hope you're appropriately on edge :) | 16:13 | ||
|
16:20
slavik1 left
|
|||
| colomon is on edge... | 16:23 | ||
| masak | I'm prepared to give out a fourth and final clue, if there's interest. | 16:24 | |
|
16:25
Axius joined
|
|||
| colomon | clue! clue! clue! | 16:25 | |
| masak | the crowd has spoken. | ||
| here it is: wins.failblog.org/2010/12/05/epic-w...tiful-win/ | |||
|
16:25
alester left
|
|||
| colomon | does it have anything to do with your 3-language tweet of yesterday, or was that old news I simply missed previously? | 16:25 | |
| masak | colomon: as of January, I have a new job. but that is not the Big Announcement. | 16:26 | |
| oh well. at this time tomorrow, we'll know. :) | 16:28 | ||
| masak is curious whether clue #4 conforms to moritz_' guess | 16:29 | ||
| colomon | I like the grammatical implication of "we'll know" -- that you might not know yet either. :) | 16:30 | |
| masak | :) | 16:31 | |
| movie & | |||
|
16:31
masak left,
slavik1 joined,
whatsoever joined
|
|||
| PerlJam | masak: you're in communication beings made of light from the future and they have brought you a working, fast Perl 6 compiler ? | 16:32 | |
| er, communication *with* beings made of light | |||
|
16:32
whatsoever left
|
|||
| PerlJam | I know I thought that word the first time, but no clue why my fingers refused to type it. | 16:32 | |
|
16:36
jaldhar left
16:42
slavik1 left
|
|||
| oha | rakudo: say [[\+] 1,3...9] | 16:42 | |
| p6eval | rakudo : OUTPUT«1 4 9 16 25» | ||
| oha | rakudo: say [[\,] 1,3...9] | ||
| p6eval | rakudo : ( no output ) | ||
| colomon | > [\,] 1,3...9 | 16:45 | |
| ===SORRY!=== | |||
| maximum recursion depth exceeded | |||
| interesting bug | |||
| oha | colomon: yup, that's whay i got too locally | 16:49 | |
| either with [,] | |||
| perl6: say [[,] 1..3] | 16:53 | ||
| p6eval | pugs: OUTPUT«1 2 3» | ||
| ..rakudo : ( no output ) | |||
|
16:54
slavik1 joined
17:05
mtk joined
17:21
kensanata left
17:29
dakkar left,
IllvilJa left
17:40
MayDaniel joined
17:46
MayDaniel left
17:53
nym left
17:57
M_o_C_ joined
18:00
rgrau joined
18:10
finanalyst joined
|
|||
| TimToady | now.good should return an InstantGratification | 18:11 | |
| sjohnson | future.happiness is undefined :( | 18:14 | |
|
18:15
M_o_C_ is now known as M_o_C,
M_o_C left
18:16
M_o_C joined
18:25
kjeldahl_ joined
|
|||
| jasonmay | rakudo: sub foo(%d) { %d.perl.say }; foo(1 => 2); | 18:30 | |
| p6eval | rakudo : OUTPUT«Nominal type check failed for parameter '%d'; expected Associative but got Pair instead in 'foo' at line 1:/tmp/5DV48PdWml in main program body at line 22:/tmp/5DV48PdWml» | ||
|
18:31
envi left
|
|||
| rokoteko | maybe bit off topic, but this relates to perl 6. Im curious how is the performance comparison between parrot and perl 5 XS code? | 18:32 | |
|
18:33
smash left
|
|||
| jasonmay | rakudo sub foo(:$bar) { $bar.perl.say }; foo bar => 'hello' | 18:35 | |
| rokoteko | ie. running XS from perl5 vs running some parrot like code from perl6 | ||
|
18:35
di joined
|
|||
| jasonmay | whoops | 18:35 | |
| rakudo: sub foo(:$bar) { $bar.perl.say }; foo bar => 'hello' | |||
| p6eval | rakudo : OUTPUT«"hello"» | ||
|
18:35
di left
|
|||
| jasonmay | rokoteko: I was wondering that too | 18:35 | |
| I hope so, parrot is way cleaner looking than xs :) | |||
|
18:36
envi joined
18:39
dd-sphere left
18:40
cdarroch joined,
cdarroch left,
cdarroch joined
|
|||
| TimToady | rakudo: say ~(1,2 Z, 3,4) | 18:47 | |
| p6eval | rakudo : OUTPUT«2 4 2 4» | ||
| TimToady | known bug? | ||
| colomon | not to me | 18:48 | |
| rakudo: say ~(1,2 Z~ 3,4) | |||
| p6eval | rakudo : OUTPUT«13 24» | ||
| colomon | something's wacky with the comma operator | ||
| TimToady | perhaps not de-containerizing returned vars | 18:49 | |
|
18:49
impious joined,
impious left
|
|||
| colomon | also got this today: | 18:50 | |
| > [\,] 1,3...9 | |||
| ===SORRY!=== | |||
| maximum recursion depth exceeded | |||
| TimToady | rakudo: say ~((1,3),(2,4)) # but this is OK | ||
| p6eval | rakudo : OUTPUT«1 3 2 4» | ||
| TimToady | rakudo: say [,] 1 | 18:51 | |
| colomon | I've got to do some $work now, but if no one else has tackled this by this evening, I'll try to take a look. | ||
| p6eval | rakudo : OUTPUT«1» | ||
| TimToady | rakudo: say [,] 1,2 | 18:52 | |
| p6eval | rakudo : ( no output ) | ||
| TimToady | that's a simpler max recursion | ||
| probably the same one | |||
| might be same bug too | |||
| some kind of unexpected aliasing of returned variables | 18:53 | ||
|
18:57
sow joined
|
|||
| jnthn | Decontainerizing just don't happen yet afaik. | 19:03 | |
|
19:03
mtk left
|
|||
| TimToady | rakudo: my $x = 2; my $y = 4; my $z = (1,$x Z, 3,$y); say $z.Str; | 19:07 | |
| p6eval | rakudo : OUTPUT«2 4 2 4» | ||
| TimToady | rakudo: my $x = 2; my $y = 4; my $z = (1,$x Z, 3,$y); ($x,$y) = <boo gah>; say $z.Str; | 19:08 | |
| p6eval | rakudo : OUTPUT«boo gah boo gah» | ||
| Juerd | Oh, wow. * is chr 42. | ||
| That's so awesome. | |||
| gfldex | :) | 19:09 | |
| TimToady | .oO(When you wish upon a {chr 42}...) |
||
| rjbs | Juerd: Ha! | ||
| jnthn | rakudo: say "When you wish upon a {chr 42}..." | ||
| p6eval | rakudo : OUTPUT«When you wish upon a *...» | 19:10 | |
| jnthn | :D | ||
| jnthn wonders how deep the decontainerization goes... | |||
|
19:11
mtk joined
|
|||
| TimToady | rakudo: my $x = 1; my $y = 2; ($x Z, $y) = <boo gah>; say $x, $y | 19:12 | |
| p6eval | rakudo : OUTPUT«Cannot modify readonly value in '&infix:<=>' at line 1 in main program body at line 22:/tmp/HXeYau_Vz7» | ||
| TimToady | rakudo: my $x = 1; my $y = 2; ([,] $x,$y) = <boo gah>; say $x, $y | 19:13 | |
| p6eval | rakudo : OUTPUT«12» | ||
| jnthn | e.g. in return [$x, [$y, $z]] # decontainerize all? | ||
| TimToady | [...] decontainerizes anyway | ||
| jnthn | oh, true | ||
| TimToady | we need a shorter name for that :) | 19:14 | |
| jnthn | Is looking into infix:<,> and nested ones of those maybe enough? | ||
| TimToady | maybe snaps, as in "snapshot", or "snap the umbilical cord" | ||
| I would guess that comma is special, yes | 19:15 | ||
| diakopter | or "snapper" | ||
| TimToady | commie snapper | ||
| jnthn | snappy commie | ||
| TimToady | immute that list! | 19:17 | |
| diakopter | In Soviet Russia, commas delimit you! | ||
| TimToady | comma snapper | ||
| jnthn | heh :) | 19:19 | |
| jnthn figures it shouldn't be too hard to implement. Efficiently, otoh... | |||
| TimToady | thing is, if we want to make ($x Z, $y) = equivalent to ($x, $y) = we will need to make Z pass along the lvalueness and not snap the list | 19:20 | |
| likewise for [,]() = | |||
|
19:21
skangas joined
|
|||
| jnthn | Do we want that? :) | 19:21 | |
|
19:21
Axius left
|
|||
| TimToady | I could see (@foo Z, @bar) = ... | 19:21 | |
| jnthn | It feels want-ish (e.g. context flowing the rong way). Maybe... | ||
| TimToady | er, sliced | ||
| I could see (@foo[*] Z, @bar[*]) = ... | 19:22 | ||
| jnthn | Hm | ||
| Yeah, that could have its uses. | |||
| TimToady | I could see (@foo[^10] Z, @bar[^10]) = ... | ||
| jnthn | Well, we already pass what-to-do flags along to Z | ||
| &zipwith | |||
| Oh, maybe we do anyway... | |||
| TimToady | this particular decision could be made at compile time, actually | 19:23 | |
| jnthn | Yes. | ||
| TimToady | lzipwith :) | ||
| people will find lreduce confusing though :) | |||
| jnthn | Feels like the take vs take-rw style thing again. | 19:24 | |
| colomon | particularly [\,] | ||
| TimToady | I don't think there's an ltriangle | ||
| jnthn | Wonder if they're related enough issues for a common solution. (Don't ahve one to hand to suggest though...) | ||
| TimToady | probably | ||
|
19:24
kersplat joined
|
|||
| TimToady | I meant they'd find lreduce confusing because they'll take it as lfold | 19:25 | |
| the semantics are probably meaningful though | |||
|
19:26
solarion left
|
|||
| TimToady | maybe reduce-lv and zipwith-lv | 19:26 | |
| jnthn | Ah, OK. | ||
| Latvian reduce? :) | |||
| TimToady | those aren't commies anymore | ||
| well, maybe some of 'em still are | 19:27 | ||
| jnthn | Come to YAPC::EU next year and find out! ;) | ||
|
19:28
lichtkind joined
|
|||
| TimToady | the selection was Riga'd | 19:28 | |
|
19:28
ch3ck joined
|
|||
| TimToady | rakudo: (rand < .5 ?? my $x !! my $y) = ord '*'; say "$x $y" | 19:31 | |
| p6eval | rakudo : OUTPUT«42 Any()» | ||
|
19:32
blah_blah_blah joined
|
|||
| TimToady | there's a spot where even Perl 5 departs from tradition to propagate lvaluehood | 19:32 | |
|
19:35
envi left
|
|||
| sorear | good * #perl6 | 19:40 | |
|
19:40
MayDaniel joined
19:41
sow left
|
|||
| sorear | TimToady: hi | 19:41 | |
| A.pm: my module A; class X {} | 19:42 | ||
| B.pm: my module B; use A; class A::X::Y {} | |||
| test.pl: use A; use B; A::X::Y.new; | |||
| TimToady: does this work? why or why not? | |||
|
19:49
kjeldahl left
|
|||
| dalek | tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ics_tablet | 19:55 | |
| TimToady | sorear: will need to think about it, but have a headache at the moment, so that's hard :) | 20:02 | |
| sjohnson | hugme: give TimToady a brain massage | 20:06 | |
|
20:11
fhelmberger left
|
|||
| dalek | tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ics_tablet | 20:11 | |
| tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ics_tablet | 20:22 | ||
|
20:31
dual left
20:35
dual joined
20:37
daxim left
20:44
Guest23392 left
20:46
alester joined
21:01
monty joined
|
|||
| monty | helo how can i execute perl6 here pls? | 21:02 | |
| phenny | monty: 11 Nov 20:11Z <benoitc> tell monty I miss him | ||
|
21:02
finanalyst left,
pothos left,
y3llow left
|
|||
| monty | who misses me?! :) | 21:03 | |
| moritz_ | rakudo. say 'hello monty' | 21:04 | |
| rakudo: say 'hello monty' | |||
| p6eval | rakudo : OUTPUT«hello monty» | ||
| moritz_ | rakudo: say join ', ', 'hello monty' xx 3 | ||
| monty | oh thanks got it :) | ||
|
21:04
y3llow joined
|
|||
| p6eval | rakudo : OUTPUT«hello monty, hello monty, hello monty» | 21:04 | |
| sjohnson | heh | ||
| rakudo: say join ', ' => 'hello monty' xx 3 | |||
| p6eval | rakudo : OUTPUT«» | ||
| sjohnson | no => comma eh | ||
| ah well, can't have 'em all! | |||
|
21:04
pothos joined
|
|||
| moritz_ | => is not a comma in Perl 6 | 21:04 | |
| sjohnson | yeah, i figured :/ | 21:05 | |
| Tene | sjohnson: If you want a comma, just use the comma. We already have one, no need for another. ;) | 21:07 | |
|
21:07
pothos left,
pothos joined
21:10
plainhao left
|
|||
| sjohnson | nice on the eyes tho | 21:13 | |
| not saying ',', | |||
| Camel Book even said so!!! | |||
| :-) | |||
| jnthn | ",", is a little nicer on the eyes. | ||
| sjohnson hugs his perl book | |||
| jnthn | imho | ||
| sjohnson | chr(44), | 21:14 | |
| colomon | errr... what's happening with say join ', ' => 'hello monty' xx 3 ? | 21:15 | |
| TimToady | you're feeding join a single argument and a null list | 21:16 | |
| colomon | rakudo: say join ', ' => ('hello monty' xx 3) | ||
| p6eval | rakudo : OUTPUT«» | ||
| colomon | rakudo: say ', ' => ('hello monty' xx 3) | ||
| p6eval | rakudo : OUTPUT«, hello monty hello monty hello monty» | ||
| colomon | ah | ||
|
21:16
MayDaniel left
|
|||
| sjohnson | i broke the sacred perl6 rule | 21:17 | |
| rule: don't assume perl5 stuff works | |||
| sjohnson slaps himself on the wrist | |||
| TimToady | except when it does | ||
| remember also that at least one of the authors of the camel book was an idiot :) | 21:18 | ||
| sjohnson | i look forward to the day when i'll use that book as a doorstop | 21:19 | |
| butterfly book should come out then | |||
|
21:25
soroush joined,
soroush_ left,
_kaare left
|
|||
| TimToady | $.nap-state = True; | 21:25 | |
|
21:26
kjeldahl_ left
|
|||
| PerlJam | rakudo: say join ', ' <== 'hello monty' xx 3 # how about this one sjohnson ? :-) | 21:26 | |
| p6eval | rakudo : OUTPUT«hello montyhello montyhello monty» | ||
| PerlJam | rakudo: say 'hello monty' xx 3 ==> join ', ' # or this? | ||
| p6eval | rakudo : OUTPUT«hello montyhello montyhello monty» | ||
| jnthn | rakudo: 'hello monty' xx 3 ==> join ', ' ==> say | ||
| p6eval | rakudo : OUTPUT«hello monty, hello monty, hello monty» | 21:27 | |
| PerlJam | Hmm. | ||
| monty | My name is getting used a lot here.. common people.. use another name :P | ||
| sjohnson | PerlJam: i like the way you think | ||
| there is more way to do it, just not the p5 way ! | |||
| PerlJam looks at his REPL and then looks at p6eval's output | 21:28 | ||
| oh! I see. | |||
| sjohnson | Perl6Jam | 21:29 | |
| PerlJam | I guess I'm just not smart enough to use the REPL without mildly confusing myself :) | ||
|
21:31
monty left
|
|||
| PerlJam | But on the plus side, I've got an idea I like for tomorrow's advent post | 21:32 | |
| sjohnson | does it have anything to do with the arrow => comma thingy? | 21:34 | |
| PerlJam | there is no arrow comma thingy :) | ||
| but it does have to do with the feed operators <== ==> | 21:35 | ||
| :-) | |||
| jnthn | om nom nom | ||
| oh, not that kind of feed... | |||
| Though I guess they kinda do nom a list. | |||
|
21:36
M_o_C left
|
|||
| sjohnson | heh | 21:36 | |
|
21:45
mtk left
|
|||
| dalek | : 34bce8a | duff++ | misc/perl6advent-2010/schedule: add some intent for Dec 10 |
22:01 | |
| sorear | good * #perl6 | 22:05 | |
|
22:18
molaf joined
22:21
wooden joined
|
|||
| dukeleto | sorear: jolly good day, fine sir | 22:26 | |
| jnthn: how is your nom hacking? | |||
| jnthn: i read your slides and some blog posts, and your code makes a lot more sense to me now :) | |||
| jnthn: those were some fantastic slides from OSDC.fr | |||
|
22:45
jferrero joined
22:47
rgrau_ joined
22:48
rgrau left,
whiteknight joined
|
|||
| sorear | hello whiteknight | 22:52 | |
| whiteknight | hello sorear | 22:53 | |
|
23:00
rgrau_ left
23:06
ch3ck3r joined
23:07
jhuni joined
23:10
wamba left,
ch3ck left
23:11
ch3ck joined,
bluescreen joined,
bluescreen is now known as Guest36106
23:14
ch3ck3r left
23:23
Guest87704 left
|
|||