|
»ö« 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! Set by sorear on 4 February 2011. |
|||
|
00:06
fisted_ is now known as fisted
00:13
masak joined
|
|||
| masak | \o/ | 00:13 | |
| tadzik | o/ | 00:15 | |
| masak | tadzik: hi! :) | ||
| tadzik | ohhai :) | ||
| masak | so... what's up? :) | 00:16 | |
|
00:16
tyatpi joined
|
|||
| jnthn | o/ #perl6 | 00:17 | |
| phenny | jnthn: 04 Mar 19:04Z <Tene> ask jnthn if he's had time to look at gist.github.com/838498 yet | ||
| masak | jnthn: rt.perl.org/rt3/Ticket/Display.html?id=78234 | ||
| jnthn | :P | ||
| Tene | hi jnthn | 00:18 | |
| jnthn | o/ | ||
| sorear | Hello jnthn | 00:19 | |
| jnthn | I'm...a boyut to sleep. | ||
| But I'm hackathoning Sun - Tue | |||
| So will have time to look \o/ | |||
| sorear | That's all you do anymore :/ | ||
| jnthn | sorear: I know :/ | ||
| $dayjob :/ | |||
| Tene | jnthn: what time zone are you on? | ||
| jnthn | European | 00:20 | |
| masak | Central. | ||
| jnthn | CET | ||
| tadzik | nopaste.snit.ch/34387 | ||
| masak sleeps | 00:23 | ||
|
00:23
masak left
|
|||
| jnthn sleeps too...talks tomorrow | 00:23 | ||
|
00:30
tyatpi left
00:32
risou joined
00:46
_jaldhar left,
araujo joined
00:47
cotto joined
00:51
zamolxes joined
00:54
risou left
01:05
Helios` joined
01:07
kolibrie joined
01:08
jedai joined,
stepnem joined
01:10
Tedd1 joined
01:12
AphelionZ joined
01:14
__rnddim__ is now known as lue
|
|||
| lue | hello world! o/ | 01:14 | |
|
01:15
Eevee joined
|
|||
| colomon | lue! \o/ | 01:15 | |
|
01:17
silent_h joined
|
|||
| lue | .oO(It's funny. There's always a bunch of stuff I want to look up on my computer, but the second I sit down in front of my old laptop, I have trouble remembering :D) |
01:18 | |
|
01:24
envi joined
01:29
Guest87704 left
01:31
Guest87704 joined
01:32
silent_h left
01:34
Eevee left
01:47
jferrero left
01:50
risou joined
01:53
Guest87704 left
01:58
fisted_ joined,
Guest87704 joined
01:59
zamolxes_ joined,
krunen left,
krunen joined,
Sarten-X joined
02:00
noganex_ joined
02:01
kst left
|
|||
| dalek | ecza: 105a947 | sorear++ | lib/ (6 files): Rename a couple C# types for 6model consistency |
02:01 | |
|
02:01
kolibrie left
02:02
kst joined,
kolibrie joined,
JodaZ joined
02:05
zamolxes left,
fisted left,
sjn left,
baest left,
_ilbot left,
rokoteko left
02:06
_ilbot joined,
sjn joined,
baest joined,
rokoteko joined
|
|||
| flussence | is there a good way to write a test for a function that's supposed to warn() but not die()? lives_ok doesn't differentiate between them | 02:07 | |
|
02:14
Eevee joined
|
|||
| TimToady | warn is supposed to be a control exception, but I doubt rakudo does it right yet | 02:14 | |
| flussence | pretty sure it doesn't... | 02:19 | |
| rakudo: try { warn; say 'ok'; CONTROL { say 'fail' } } | 02:20 | ||
| p6eval | rakudo 413862: ( no output ) | ||
| flussence | er. | ||
| rakudo: try { warn; say 'ok'; CONTROL { say 'fail' }; CATCH { say 'double fail' } } | |||
| p6eval | rakudo 413862: OUTPUT«double fail» | ||
| flussence | (though I think the right fix is for me to rewrite this code so it DWIM without spewing warnings...) | 02:21 | |
|
02:36
Eevee left
02:38
leprevost joined
02:45
_jaldhar joined
02:49
stkowski left
02:57
_jaldhar left
|
|||
| colomon is feeling defeated by inkscape. | 02:57 | ||
|
03:14
AphelionZ left
03:49
Eevee joined
03:59
whiteknight left
|
|||
| lue | colomon: what's the problem? | 04:21 | |
|
04:35
akaman joined
04:36
akaman left
04:41
_jaldhar joined,
Eevee left
04:42
Eevee joined
05:21
fhelmberger joined
05:32
araujo left
05:42
Guest87704 left
05:49
Guest87704 joined
06:31
_twitch joined
06:45
cotto left,
cotto joined
06:52
justatheory joined
06:53
kaare_ joined
06:56
justatheory left,
NoisyNose joined
07:07
nymacro joined
07:15
HarryS joined
07:17
satyavvd joined
07:23
satyavvd_ joined,
satyavvd left
07:26
nymacro left
07:27
nymacro joined
07:37
satyavvd_ left
07:43
NoisyNose left
|
|||
| dalek | ecza: ce33cb7 | sorear++ | lib/ (3 files): Refactor away distinction between loc_ vtables and local methods |
07:46 | |
| sorear out | |||
|
07:50
Guest87704 left
07:51
risou_ joined
07:54
risou left
07:55
Guest87704 joined
08:19
woosley joined
08:46
araujo joined
09:09
Trashlord joined
09:10
donri joined
09:16
satyavvd joined
09:17
Mowah joined,
araujo left
09:21
araujo joined,
araujo left,
araujo joined
09:28
woosley left
|
|||
| donri | Is <:Letter> NYI? | 10:05 | |
|
10:07
Teedev[1] joined
10:14
Axius joined
|
|||
| Teedev[1] | Hi! I newbie in Perl6 | 10:20 | |
| how to install perl6 module? | 10:21 | ||
| tadzik | Teedev[1]: you can try neutro, if it works for you. I'm currently in the middle of rewriting/refactoring it, so I'm sorry for alle the breakages :) | 10:26 | |
| or you can go the old way with ufo? | |||
| s/\?$// | 10:27 | ||
| Teedev[1] | tadzik,neutro? | 10:35 | |
| tadzik | Teedev[1]: aye. github.com/tadzik/neutro | 10:36 | |
| you can try either of the branches, there is a chance that one of them will work :) What do you want to install actually? | |||
|
10:45
PacoLinux_ joined
10:52
Bzek joined
|
|||
| dalek | ast: 9040c15 | moritz++ | S0 (3 files): unfudge Parcel related tests for niecza |
10:57 | |
| Teedev[1] | tadzik, Unable to find module 'File::Mkdir' in the @*INC directories. | 10:58 | |
| (@*INC contains: | |||
| /home/ron/.perl6/lib | |||
| don't have /usr/lib64/parrot/2.5.0/languages/perl6/lib in root directory!!! | 10:59 | ||
| tadzik | Teedev[1]: have you read the README instructions? | ||
|
10:59
PacoLinux_ left
|
|||
| moritz_ | tadzik: nobody ever read READMEs :( | 11:02 | |
| tadzik: are you in .nl now? | |||
| Teedev[1] | tadzik, yse i read it | ||
| moritz_ | Teedev[1]: so which command did you run? | ||
| tadzik | moritz_: in this particular case I'm unable to determine whether docs are not read, or whether neutro is _so_ broken :) | ||
| moritz_: aye, on the workshop | 11:03 | ||
| Teedev[1] | # ./bootstrap.sh | ||
| tadzik | trying the master branch? | ||
| Teedev[1] | ? | ||
| moritz_ | looks like | 11:04 | |
| tadzik | anyway, did it clone the git repos, are the "mt" and "ft" directories present? | ||
| Teedev[1] | teedev:/home/ron/Downloads/tadzik-neutro-c41d1f3 # ls | 11:05 | |
| bin bootstrap.sh deps.proto ft mt README | |||
| tadzik | what if you run 'PERL6LIB=mt/lib:ft/lib bin/neutro .'? | ||
|
11:06
MayDaniel joined
|
|||
| colomon | lue: when I ask it to install inkscape, macports works for hours and then dies. | 11:08 | |
| Teedev[1] | tadzik, ron@teedev:~/Downloads/tadzik-neutro-c41d1f3> 'PERL6LIB=mt/lib:ft/lib bin/neutro .' | 11:09 | |
| bash: PERL6LIB=mt/lib:ft/lib bin/neutro .: No such file or directory | |||
| ron@teedev:~/Downloads/tadzik-neutro-c41d1f3> | |||
| tadzik | oh that's weird | 11:11 | |
| are those mt/ft directories empty? | |||
|
11:12
mberends joined
|
|||
| Teedev[1] | tadzik, not empty. | 11:12 | |
| tadzik, ron@teedev:~/Downloads/tadzik-neutro-c41d1f3> ls mt ft | |||
| ft: | |||
| lib LICENSE META.info README t | |||
| tadzik | are the lib is in there? Looks like something's wrong with either your shell or your files, or I'm missing something | 11:13 | |
| mberends | www.perlworkshop.nl/nlpw2011/ rocks! masak++ is starting his talk :-) | 11:14 | |
| colomon | \o/ | 11:18 | |
| Teedev[1] | no time for online | 11:22 | |
| tadzik, thanks for help me :D | 11:23 | ||
| bye :P บายครับ | |||
| tadzik | oh, you're welcome. Shame it's not working for you though | 11:24 | |
|
11:24
Teedev[1] left
11:33
jferrero joined
11:35
alex__ joined
|
|||
| tadzik | did skip() stop working recently? | 11:38 | |
|
11:43
alex__ left
|
|||
| tadzik | rakudo: use Test; plan 1; skip(1, 'foo'); ok 0, 'blah!' | 11:44 | |
| p6eval | rakudo 413862: OUTPUT«1..1get_attr_str() not implemented in class 'Sub' in main program body at line 7530» | ||
| tadzik | at least LTA | ||
|
11:46
whiteknight joined
12:04
satyavvd left
|
|||
| TimToady | donri: <:Foo> was a recent invention, so yes, NYI, I suspect | 12:04 | |
|
12:04
orafu left
|
|||
| TimToady | rakudo: say 'a' ~~ <Letter> | 12:05 | |
| p6eval | rakudo 413862: OUTPUT«Bool::False» | ||
| TimToady | rakudo: say 'a' ~~ <isLetter> | ||
| p6eval | rakudo 413862: OUTPUT«Bool::False» | ||
| TimToady | rakudo: say 'a' ~~ <isL> | ||
| p6eval | rakudo 413862: OUTPUT«Bool::False» | ||
| TimToady | bleah | ||
| ENOBRANE | |||
| rakudo: say 'a' ~~ /<Letter>/ | 12:06 | ||
| p6eval | rakudo 413862: OUTPUT«Method 'Letter' not found for invocant of class 'Cursor' in <anon> at line 22:/tmp/8uHMHjW3_1 in 'Cool::match' at line 2659:CORE.setting in 'Regex::ACCEPTS' at line 6271:CORE.setting in main program body at line 22:/tmp/8uHMHjW3_1» | ||
| TimToady | rakudo: say 'a' ~~ /<isLetter>/ | ||
| p6eval | rakudo 413862: OUTPUT«a» | ||
| TimToady | donri: ^^ | ||
| that's what it was before we invented <:Letter> | |||
| TimToady is logged in from a livecd while copying files off an undead disk drive... | 12:07 | ||
| TimToady ought to be sharpening a wooden stake instead | 12:08 | ||
|
12:08
orafu joined
12:15
avuserow left,
pyrimidine left
12:16
Guest87704 left
12:19
ggoebel joined
|
|||
| TimToady ought to be sleeping, actually, but jetlag hath its uses... | 12:20 | ||
|
12:20
Guest87704 joined
12:22
avuserow joined
12:23
ggoebel left
12:29
ggoebel joined
12:30
pyrimidine joined
12:47
Chillance joined
|
|||
| donri | TimToady: Thanks :) also: melatonin | 13:00 | |
|
13:09
orafu left,
orafu joined
13:13
Axius left
13:21
flatwhatson_ joined
13:22
mberends left
|
|||
| dalek | kudo: 3abc9c8 | tadzik++ | Test.pm: Add a variant of skip() to Test.pm to overcome RT #85472 Error message taken from Perl 5's Test::More |
13:27 | |
| flussence | argh, Text::Wrap seems to be doing something insane with how it counts \n as part of the line-length. Sometimes it does, sometimes it doesn't. | 13:30 | |
| dalek | kudo: 12dfa0d | tadzik++ | t/01-sanity/99-test-basic.t: Fix tests of Test.pm to use the right order of arguments. Add a test for the wrong order. |
13:38 | |
| kudo: c463f55 | tadzik++ | Test.pm: [Test.pm] DRY in skip_rest |
|||
|
13:42
am0c joined
13:51
risou joined
13:53
karupanerura joined
13:54
risou_ left
14:07
am0c left
14:09
AphelionZ joined
|
|||
| flussence | rakudo: gist.github.com/856374 | 14:09 | |
| p6eval | rakudo 413862: OUTPUT«===SORRY!===Unable to parse blockoid, couldn't find final '}' at line 28» | ||
| flussence | huh | ||
| std: gist.github.com/856374 | 14:11 | ||
| p6eval | std 4608239: OUTPUT«===SORRY!===Non-declarative sigil is missing its name at /tmp/pDZeQSjxmS line 5:------> ⏏&[$_]("abcde");Preceding context expects a term, but found infix & instead at /tmp/pDZeQSjxmS line 5:------> | ||
| ..⏏&[$_]("abcd… | |||
| flussence | works locally :/ | ||
| oh, no it didn't. | 14:15 | ||
| rakudo: given 'say' { &[$_](1) } | 14:16 | ||
| p6eval | rakudo 413862: OUTPUT«invoke() not implemented in class 'Any' in main program body at line 22:/tmp/JqHYEJjX9s» | ||
| flussence | rakudo: given 'say' { &[$_].(1) } | ||
| p6eval | rakudo 413862: OUTPUT«invoke() not implemented in class 'Any' in main program body at line 22:/tmp/4EPFqSRj91» | ||
| flussence | rakudo: given &say { &[$_].(1) } | ||
| p6eval | rakudo 413862: OUTPUT«Method 'count' not found for invocant of class 'Perl6MultiSub' in 'Any::postcircumfix:<[ ]>' at line 1791:CORE.setting in main program body at line 1» | ||
| flussence | rakudo: given &say { $_.(1) } | ||
| p6eval | rakudo 413862: OUTPUT«1» | 14:17 | |
| flussence | that's the one... | ||
| std: gist.github.com/856374 | |||
| p6eval | std 4608239: OUTPUT«===SORRY!===Two terms in a row at /tmp/btY8PWby_l line 7:------> (given $! { .Str, .WHAT, .perl })⏏».say expecting any of: POST bracketed infix infix or meta-infix postfix | ||
| ..postfix_prefix_meta_operator statement modifier loop… | |||
| flussence | death by mojibake :( | ||
| std: gist.github.com/856374 | 14:18 | ||
| p6eval | std 4608239: OUTPUT«ok 00:01 128m» | ||
| flussence | rakudo: gist.github.com/856374 | ||
| p6eval | rakudo 413862: OUTPUT«&warnabcdeException()undef&dieabcdeException()undef» | ||
| flussence | there we go. | ||
|
14:18
am0c joined
14:19
AphelionZ left
14:22
zby_home joined
14:47
cpk joined
|
|||
| cpk | sorear: hi | 14:54 | |
|
15:03
fisted_ is now known as fisted
15:17
leprevost left,
AphelionZ joined
15:38
am0c^ joined
15:41
am0c left
15:51
colomon left
16:04
am0c^ left
16:11
cognominal joined
16:18
Psyche^ joined,
Psyche^ is now known as Patterner,
AphelionZ left
16:25
ymasory joined
16:29
nwc10 joined
|
|||
| nwc10 | what is the p5 post referenced in irclog.perlgeek.de/phasers/2011-02-22#i_3323431 ? | 16:29 | |
| moritz_ | nwc10: not yet published, I fear | 16:32 | |
| nwc10 | and that's all we know about it? :-) | 16:33 | |
| moritz_ | we know it's about the 5th task of strangelyconsistent.org/blog/masaks...ng-contest | ||
| nwc10 | aha thanks. | 16:34 | |
|
16:34
justatheory joined,
nwc10 left
16:35
GinoMan joined
16:38
leprevost joined
|
|||
| flussence | Files=15, Tests=91 Result: PASS \o/ | 16:39 | |
|
16:39
cjk101010 joined
16:44
whiteknight left,
Bzek left
16:47
cpk left
16:49
Bzek joined
16:51
kaare_ left
16:52
kaare_ joined
16:57
Bzek left,
rdesfo joined
16:58
Bzek joined
16:59
Bzek left
17:00
amiri joined
17:09
MayDaniel left
|
|||
| sorear | good * #perl6 | 17:12 | |
|
17:12
pumphaus_ joined
|
|||
| moritz_ | \o | 17:13 | |
|
17:14
pumphaus_ is now known as pumphaus
|
|||
| sorear | phenny: tell cpk The last two times you've tried to contact me it's been at night. Please either stick around longer, or PM me an e-mail address. | 17:14 | |
| phenny | sorear: I'll pass that on when cpk is around. | ||
|
17:15
am0c^ joined
17:19
justatheory left
17:40
MayDaniel joined
|
|||
| sorear wants to do something with <:Letter> | 17:44 | ||
| TimToady still thinks the right path forward is not to use ICU everywhere, but to steal the data out of Perl 5's tables | 17:45 | ||
| sorear | Perl 5's table generators are... big. | 17:46 | |
| I still don't really understand how most of them are put together | |||
| TimToady | I'm not suggesting stealing the implementation | ||
| just the data | |||
| sorear | but the data changes with each Unicode version | 17:47 | |
| TimToady | and Perl 5 tracks it | ||
| sorear tries to quantify opposition to adding 100+ KB of tables | 17:48 | ||
| TimToady | at some point we write our own mktables and track it ourselves | ||
| sorear | currently niecza uses the CLR platform tables | 17:49 | |
| which include only General_Category and case mapping for characters 0-65535 | |||
| moritz_ | niecza: say uc 'ß' | ||
| TimToady | most platforms screw up Unicode support | ||
| p6eval | niecza v3-36-gce33cb7: OUTPUT«ß» | ||
| moritz_ | seems this one does too | ||
| sorear | What should that produce? SS? | 17:50 | |
| moritz_ | yes | ||
| TimToady | not that p5 supports that level either by default... | 17:51 | |
| moritz_ | $ perl -Mutf8 -wE 'say uc "ß"' | ||
| SS | |||
| TimToady | -Mutf8 isn't default :/ | 17:52 | |
| sorear | What about "SS" ~~ /ß/i ? | ||
| moritz_ | matches in Perl 5 | ||
| sorear | What about "ß" ~~ /SS/i ? | ||
| What about "ß" ~~ /ss/i ? | |||
| moritz_ | too | 17:53 | |
| sorear | ...what. | ||
| how. | |||
|
17:53
leprevost left
|
|||
| moritz_ | magic! | 17:53 | |
| TimToady | p5 canonicalizes to lc | ||
| because it understands there is also titlecase | 17:54 | ||
| course, that probably breaks other languages :) | |||
| but we're aiming for language independent grapheme semantics, which can't be perfect for everyone | 17:55 | ||
|
17:55
porter235 joined
|
|||
| moritz_ | that's ok as long as it's perfect for *me* :-) | 17:55 | |
| porter235 | is anyone packaging rakudo-star for ubuntu? | 17:56 | |
| moritz_ is not aware of anybody | 17:58 | ||
|
18:01
porter235 left
18:04
mberends joined
|
|||
| tadzik | moritz_: my PM pal was doing this some time ago, hang on | 18:05 | |
| oh that's just Rakudo: launchpad.net/~dexter/+archive/rakudo-pkg | 18:06 | ||
|
18:07
plobsing_ joined
18:10
plobsing left
18:12
justatheory joined
18:17
Axius joined,
pmurias joined
18:18
Rotwang joined
18:23
Sarten-X left
|
|||
| dalek | ecs: 411f2a5 | masak++ | S32-setting-library/Containers.pod: [S32/Containers] removed parameter to .keys etc You could match on indexes/keys using an optional parameter on the .keys, .values, .pairs, .enums, .kv methods. I discovered this by accident, and went to check the source of both Rakudo and Niecza. Neither implements this parameter. It's a very old parameter, but it seems no-one has cared about it enough to ask for it or implement it. Besides, there are better, more readable ways to accomplish the same thing: %h.values(/^prefix/); # instead of this... %h.pairs.grep({.key ~~ /^prefix/})».value; # ...do this %h.kv.map({ $^value if $^key ~~ /^prefix/ }); # ...or this %h{%h.keys.grep(/^prefix/)}; # ...or even this There are plenty of alternative ways to emulate the functionality that the parameter provided, all of them (in my opinion) more tractable. |
18:27 | |
| ecs: d8e2c04 | masak++ | S32-setting-library/Containers.pod: [S32/Containers] fixed typo |
|||
|
18:28
masak joined
|
|||
| masak | oh hai, #perl6 :) | 18:29 | |
| sorear | Hello, masak. | ||
| moritz_ | \o | ||
| masak is drinking whisky and making the spec smaller :P | 18:30 | ||
| if someone will stand up to defend that feature, please get in touch with me. | 18:32 | ||
| flussence | dir() has a similar thing, doesn't it? | 18:33 | |
| moritz_ | yes, but it has a good reason | ||
| it defaults to none <. ..> | |||
| flussence | oh, yeah. | ||
| masak | dir() has other issues :) | 18:34 | |
| moritz_ | yep, returning Strs for one | ||
|
18:34
kst left
|
|||
| masak | I especially like how .values(/^prefix/) does filtering on the *keys*. | 18:34 | |
| moritz_ | s/does/did/ | ||
| sorear | dir's issues are related to the poor support for qp-y stuff in stadnard Perl 6 | 18:35 | |
| masak | moritz_: troo | ||
| flussence | (maybe Associative should have a match parameter, and dir() should subclass it... :) | ||
| sorear should probably implement dir in niecza soon | |||
| moritz_ | sorear: if you do, use your imagination, and make it better than rakudo's :-) | ||
| flussence: noooooo | |||
| neither is a dir() listing associative | 18:36 | ||
| masak | flussence: what moritz_said. | ||
| flussence | just kidding :) | ||
| moritz_ | nor ... oh, there was a ':)' at the end | ||
| masak | had this been p6l, there wouldn't have been :) | ||
| moritz_ | how's the workshop going? | 18:46 | |
| or are you hackathoning today? | |||
|
18:48
Vlavv_ left
18:49
Vlavv_ joined
19:05
simcop2387 joined,
pmurias left
19:13
envi left
19:16
karupanerura left
|
|||
| masak | moritz_: the workshop has finished. it was successful IMO. | 19:17 | |
| sorear | workshop on what? | 19:18 | |
| masak | sorear: Dutch Perl Workshop 2011 | ||
|
19:18
rdesfo left
19:25
thelazydeveloper joined
|
|||
| masak | thelazydeveloper: oh hai | 19:29 | |
| thelazydeveloper | oharrothar | ||
| masak | :) | ||
| sorear | Welcome, thelazydeveloper. | 19:30 | |
| Did masak invite you? | |||
| masak | not that I know. | ||
| rakudo: my @a = 0..3; @a[0, 1] = @a[1, 3]; say @a.perl | |||
| p6eval | rakudo c463f5: OUTPUT«[1, 3, 2, 3]» | ||
| thelazydeveloper tips his hat | |||
| masak | thelazydeveloper: that doesn't mean you shouldn't feel welcome :) | ||
| thelazydeveloper | narp, he didn't invite | ||
| thelazydeveloper takes off his shoes and kicks back | 19:31 | ||
| sorear | niecza: my @a = 0..3; @a[0, 1] = @a[1, 3]; say @a.perl | ||
| thelazydeveloper | Good to know | ||
| p6eval | niecza v3-36-gce33cb7: OUTPUT«[1, 3, 2, 3]» | ||
| masak | rakudo++ niecza++ | ||
| thelazydeveloper: nice shoes. | |||
| sorear | pugs: my @a = 0..3; @a[0, 1] = @a[1, 3]; say @a.perl | ||
| p6eval | pugs: OUTPUT«[1, 3, 2, 3]» | ||
| masak | pugs++ | ||
| sorear | alpha: my @a = 0..3; @a[0, 1] = @a[1, 3]; say @a.perl | 19:32 | |
| p6eval | alpha : OUTPUT«[1, 3, 2, 3]» | ||
| masak | alpha++ :) | ||
| I was trying to break slice assignment today, but I haven't succeeded yet. | 19:33 | ||
| s/break/expose of bug in/ | |||
| sorear | What bug? | ||
| masak | none in particular. | ||
| was just looking for one :) | |||
| sorear is trying to figure out unicode case mapping rules | 19:35 | ||
|
19:35
kst joined,
cpk joined
|
|||
| sorear | particular question: how can my $str = "ss"; "ß" ~~ /$str/i possibly work? | 19:35 | |
| hi cpk | 19:36 | ||
| for once you didn't come at midnight ;) | |||
| cpk | hi sorear | ||
| phenny | cpk: 17:14Z <sorear> tell cpk The last two times you've tried to contact me it's been at night. Please either stick around longer, or PM me an e-mail address. | ||
| masak is trying to decide what to hackathon on for three days | |||
| cpk | i'm living in france | ||
|
19:36
AphelionZ joined
|
|||
| cpk | sorear: i tried niecza on my home pc (vista 32bits) and i have the same issue | 19:37 | |
| sorear | the runtime version thing? | 19:38 | |
| cpk | sorear: I have seen the IRC log of yesterday | ||
| yep | |||
|
19:38
AphelionZ left
|
|||
| cpk | so the v3 is broken when used with microsoft .net 4 ? | 19:38 | |
| sorear | I don't quite know why it's not working with .net 4 | 19:39 | |
| cpk | ok | ||
| sorear | however I know why it's broken with .net 2 / mono 2.6 | ||
|
19:40
Mowah left,
nymacro left
|
|||
| sorear | I'll try to put together a binary release today for the 2.0 runtime | 19:40 | |
| hopefully that will work better on .net 4 | |||
| cpk | i hope too | ||
| masak | I'm eager to try v3. did moritz_ succeed in getting .net 4 to work on Debian? | 19:41 | |
| cpk | I can't wait for using niecza on my windows PC ;-) | ||
| masak | Niecza seems quite popular these days. :) | ||
| cpk | masak: I like the fact that perl6 starts to work on other VM than parrot | 19:43 | |
| tadzik | it deserves it | ||
| sorear | Rakudo is also moving to support Java/.net | ||
|
19:43
Mowah joined
|
|||
| moritz_ | masak: i just recompiled mono from source | 19:44 | |
| masak: took some time, but worked | |||
| masak | moritz_: URL? | ||
| moritz_ | masak: dunno, but easy to google | 19:45 | |
| masak | gotcha. | ||
| cpk | I have to go, talk to you next week and have fun ! | ||
| bye | |||
| masak | cpk: \o | ||
|
19:45
cpk left
19:52
Axius left
|
|||
| tadzik | hrm, could someone take a look at the skip() madness and what currently happens in the spectests? | 19:52 | |
|
19:52
risou_ joined
19:53
Guest87704 left
|
|||
| moritz_ | tadzik: what about it? | 19:53 | |
| lue | hello world! | ||
| tadzik | moritz_: seen my latest patch? | 19:54 | |
| lue: hi! | |||
|
19:54
Guest87704 joined
|
|||
| tadzik | then take a look at t/spec/S06-multi/proto.rakudo:33 | 19:54 | |
| that case causes an ambigous dispatch I believe | 19:55 | ||
| masak | hi lue! | ||
| moritz_ | tadzik: well, 'skip 1' is not very fortunate | ||
|
19:55
risou left
|
|||
| tadzik | moritz_: well, skip(1,1) is quite weird anyway | 19:56 | |
| lue | Trying to get the Principle of Explosion to work in Perl 6 is an interesting distraction :) | ||
| tadzik | but it still feels like this entire multis are a bit wrongish | ||
|
19:56
porter235 joined
|
|||
| tadzik | so maybe there should be one multi with 2 params, checking whether the first one is Int inside | 19:56 | |
| lemme code what I think | 19:57 | ||
| moritz_ | tadzik: the signature and error message in that skip() multi don'T fit well together either | ||
| +# needed because of RT #85472 | |||
| +multi sub skip(Int $count, $reason) is export { | |||
| + die "skip() was passed a non-numeric number of tests. Did you get the argu | |||
| there's no check in there that $reason is non-numeric | 19:58 | ||
| which is why you get that error | |||
| tadzik | like this: wklej.org/id/487473/ | ||
| masak | lue: getting the principle of explosion "to work" in Perl 6? :) | ||
| dalek | ast: 20f0418 | moritz++ | S06-multi/proto.t: improve fudge message |
||
| moritz_ | rakudo: say pir::null__p() # EXPLOSION | ||
| p6eval | rakudo c463f5: OUTPUT«Null PMC access in type() in main program body at line 22:/tmp/4NIeUBmR89» | ||
| masak | lue: isn't it, like, a general logical principle that holds all the time and regardless of circumstances? | 19:59 | |
| lue | Er, trying to use the principle of explosion, I meant :) | ||
|
19:59
justatheory left
|
|||
| tadzik | moritz_: well, that patch is due to a different error coming from typechecking $count actually, in your patch | 19:59 | |
| masak | lue: the one that says "anything follows from a contradiction"? | ||
| lue | Yes, that's the one. | ||
|
19:59
mberends left
|
|||
| moritz_ | tadzik: the error message and the check still aren't aligned in that nopaste | 19:59 | |
| tadzik | what do you mean? | 20:00 | |
| masak | lue: I guess I'm having trouble seeing how anything you might write in a program would change the way that principle plays out. | ||
| moritz_ | tadzik: it says that something is *not* numeric, but you are checking that some *is* an Int | ||
| masak | lue: it feels like saying "I'm trying to get gravity to work in English". | ||
| moritz_ | tadzik: how about $count !~~ Int # instead? | 20:01 | |
| lue | I'm just trying to see how I could make $p ^ $q and $p ^ !$q both come out True. | ||
|
20:02
mberends joined
|
|||
| moritz_ | rakudo: say so True ^ False | 20:02 | |
| p6eval | rakudo c463f5: OUTPUT«Bool::True» | ||
| tadzik | oh, I see the point | ||
| moritz_ | rakudo: say so True ^ !False | ||
| p6eval | rakudo c463f5: OUTPUT«Bool::False» | ||
| tadzik | I just borrowed the message from Test::More | ||
| moritz_ | just overload infix:<^> to always return True? | ||
| masak | :P | ||
| let's overload Logic! | |||
| lue | waitaminute. There's a valid so operator‽ | ||
| moritz_ | sure. | 20:03 | |
| tadzik | die "skip() was passed a numeric reason parameter. -- better now? | ||
| masak | The Operator Formerly Known As 'true'. | ||
| lue | moritz_: That feels like cheating though. | ||
| moritz_ | rakudo: say so True ^ any(True, False) | ||
| p6eval | rakudo c463f5: OUTPUT«Bool::False» | ||
| moritz_ | rakudo: say so True ^ !any(True, False) | 20:04 | |
| p6eval | rakudo c463f5: OUTPUT«Bool::True» | ||
| moritz_ | hm. | ||
| problem is that ! doesn't autothraed | |||
| sorear | perl6: say defined 1 && 0 | ||
| p6eval | niecza v3-36-gce33cb7: OUTPUT«Bool::True» | ||
| ..pugs, rakudo c463f5: OUTPUT«0» | |||
| flussence | takadonet: ping | ||
| masak | rakudo: say all(True, False).not | ||
| p6eval | rakudo c463f5: OUTPUT«Bool::True» | ||
| masak | tadzik, jnthn, and I are sitting in the same sofa behind our laptops. people are stopping by all the time pointing out how cute we look. | 20:05 | |
| moritz_ | send pics! | 20:06 | |
| tadzik | hah, hold on | ||
| donri | What is <EXPR> really? | 20:07 | |
| masak | donri: it's the rule for Perl 6 expressions. | ||
| moritz_ | a call to a named subrule | ||
| donri | (In PCT) | ||
| tadzik | I actually made a screenshot of us :) | ||
|
20:07
Rotwang left
|
|||
| masak | right, a call to the rule. | 20:07 | |
| tadzik | i.imgur.com/F5GIX.jpg | ||
| donri | but do my own rules match on <EXPR> somehow? | 20:08 | |
| lue | does say so mean what it does in English, as in "why didn't you just SAY SO‽‽" | ||
| sorear | TimToady: Now, I'm pondering "ß" ~~ / [:i .] . / | ||
| masak | donri: not implicitly, no. | 20:09 | |
| jnthn | heh, I forgot to look at the camera :P | ||
| moritz_ | masak, tadzik: yes, you're a cute bunch | ||
| donri | masak: but how do you do that then? e.g. if I have a rule for function calls | ||
| masak | moritz_: :> | ||
| sorear | tadzik: where are y'all? | 20:10 | |
| tadzik blushes | |||
| sorear: Dutch Perl Workshop | |||
| moritz_ | donri: maybe you should rephrase your question | ||
| sorear | Who'se #4? | ||
| moritz_ | I have a feeling you didn't mean to ask the question that masak++ answered | ||
| sorear: mberends | |||
| (on the left) | |||
| masak | donri: what moritz_ said. | ||
| donri: I'm getting a bit of an XY problem vibe here. | 20:11 | ||
| donri | doesn't EXPR match calls to functions in squaak for example? | ||
| but i can't figure out how/why | |||
| masak | donri: are you writing an HLL? | 20:12 | |
| donri | toying with it yes | ||
| masak | ok. | ||
| then the question makes sense. | |||
| moritz_ | donri: EXPR generally matches things of the form <term> [<infix> <term>]* | ||
| masak | but if the Squaak tutorial doesn't do it for you, I'm not sure I can be of much help. :/ | ||
| donri | yea I should probably go to #parrot but, not on freenode :( | ||
| moritz_ | as well as prefix and postfix operators | 20:13 | |
| so I hope that your <term> rule matches function calls | |||
| sorear | [ <prefix>* <term> <postfix>* ] ** <infix> :) | ||
| moritz_ | sorear: modulo [post]?circumfix | ||
| donri | is it about naming, e.g. term: rules? | 20:14 | |
| it's unclear to me when a rule name is significant and not | |||
| moritz_ | donri: well, all the term:stuff rules are part of the 'proto term { ... }' rule | ||
| donri | yes, but is that 'term' rule significant in itself? | 20:15 | |
| sorear | 'term' is significant because it has a well known name | ||
| donri | its name, I mean, is that used by stuff inherited by HLL::Grammar | ||
| hm I should go read the source for the parent grammar | |||
| sorear | NQP's EXPR uses term, I think | ||
| donri: it's written in pir, yhbw | 20:16 | ||
| donri | hehe | ||
| moritz_ | but iirc it's commented at a lot | ||
|
20:21
Rotwang joined,
porter235 left
|
|||
| masak | moritz_: is it MonoDevelop I should download? it's just version 2.4.2, I thought I was looking for something 4.x | 20:21 | |
| moritz_ | masak: mono-2.10.1.tar.gz or so | ||
| masak | oh, ok. | 20:22 | |
| sorear | MonoDevelop is an IDE | ||
| moritz_ | masak: ftp.novell.com/pub/mono/sources/mon....1.tar.bz2 | 20:23 | |
| sorear | it is versioned independantly of mono | ||
| masak | moritz_: thanks. | ||
| tadzik | bbi60 | 20:24 | |
| and I think I fixed that Test.pm wrongness | |||
|
20:27
masak left
20:36
mberends left
|
|||
| donri | yay i can has working hll base | 20:38 | |
| thanks guys | |||
|
20:39
justatheory joined,
_sri joined
|
|||
| moritz_ | in the Perl 5 code I'm writing right now I'd so love to use :$foo to mean foo => $foo | 20:46 | |
|
20:58
risou_ left
21:00
_twitch left
21:06
y3llow_ joined
|
|||
| sorear | TimToady: in light of STD.pm6:4290, what does / <[ \ß ]> / mean? :) | 21:06 | |
|
21:06
pothos_ joined,
whiteknight joined
21:08
y3llow_ is now known as y3llow,
pothos_ is now known as pothos
21:13
takadonet1 joined
|
|||
| takadonet1 | flussence: yo | 21:13 | |
| flussence | I fixed the infinite loop bug! | 21:14 | |
| takadonet1 | !!!! | ||
| flussence | (and pretty much rewrote all of Text::Wrap doing so) | ||
| takadonet1 | i knew you could do it | ||
| flussence | I guess now all that needs doing is cleaning up the leftover p5 pod stuff | 21:15 | |
| takadonet1 | and put your name as the main author :) | ||
| flussence | hm, I've got half a mind to give you the blame for starting it :) | 21:16 | |
| takadonet1 | sounds good | 21:17 | |
| flussence: anything else sir? | 21:20 | ||
| sorear | after picking over UTS10 and UTS18, I think I understand how this works | 21:23 | |
| flussence | those global vars need to go away at some point, I'll leave them in for compatibility though until I figure out a better way to do it | ||
| sorear | in particular, "ß" ~~ / :i <!before s> ss / will match :) | ||
| slightly counterintuitive but perfectly well-defined | 21:24 | ||
| takadonet1 | flussence: ok | ||
| moritz_ | sorear: as long as we have something to point people to when they submit bug reports... :-) | ||
| flussence | (hm, perl6.vim seems to have some outdated "#( )" comment syntax instead of "#`( )"...) | 21:27 | |
| (":1290,1329s/#/#`/g" seems to make it DWIW) | 21:29 | ||
| sorear | std: 1 + #( ) 2 | 21:38 | |
| p6eval | std 4608239: OUTPUT«===SORRY!===Bogus term at /tmp/EXosEXYD8M line 1 (EOF):------> 1 + #( ) 2⏏<EOL>Other potential difficulties: Embedded comment seems to be missing backtick at /tmp/EXosEXYD8M line 1:------> 1 + #( )⏏ 2Parse | ||
| ..failedFAIL… | |||
| sorear | moritz_: what worries me is that said bug reports probably won't be in English | 21:39 | |
| moritz_ | sorear: if they are in German, I can help :-) | 21:40 | |
| sorear | yes, we're quite lucky to have you | ||
| but what if they're in Spanish? | 21:41 | ||
| moritz_ | I think in general we can ask for English bug reports | 21:43 | |
| and if we find nobody who translates, and the automatic translation aren't helpful either, we can still reject them | |||
|
21:57
colomon joined
|
|||
| tadzik is back | 22:06 | ||
| moritz_ | wb | ||
|
22:17
porter235 joined
22:19
PacoLinux_ joined
22:21
porter235 left
22:24
Mowah left
|
|||
| tadzik | rakudo: say $_ while prompt("asd") # is that correct? | 22:28 | |
| p6eval | rakudo c463f5: OUTPUT«asdAny()asdAny()asdAny()asdAny()asdAny()asdAny()asdAny()asd» | ||
| flussence | I'm guessing the intent is to loop until it gets an EOF, right? | ||
|
22:29
zby_home left,
masak joined,
zby_home joined
|
|||
| jnthn | rakudo: while prompt("asd") -> $line { say $line } | 22:30 | |
| p6eval | rakudo c463f5: OUTPUT«asdLand der Berge, Land am Strome,asdLand der Äcker, Land der Dome,asdLand der Hämmer, zukunftsreich!asdHeimat bist du großer Söhne,asdVolk, begnadet für das Schöne,asdvielgerühmtes Österreich,asdvielgerühmtes Österreich!asd» | ||
| flussence | (should prompt() recognise a ^D?) | ||
| tadzik | flussence: it does | ||
| moritz_ | tadzik: yes, prompt() doesn't set $_ implicitly | 22:36 | |
| no function does | |||
|
22:36
kaare_ left
|
|||
| sorear | hello jnthn | 22:38 | |
| masak | jnthn just went to sleep. | 22:39 | |
| sorear | moritz_: 'while' is supposed to set $_, though | ||
| masak | sorear: say what? o.O | ||
| would you mind checking the spec again? | |||
| moritz_ | sorear: no. | ||
| sorear | actually I'm only sure about that in the prefix case | ||
| masak | sorry, but no. | 22:40 | |
| actually, I'm not disagreeing with the fact that you're certain about it. :P | |||
|
22:40
Rotwang left
|
|||
| sorear | interesting, S04 contradicts itself | 22:41 | |
| moritz_ | rakudo: while 3 { .say; last } | ||
| p6eval | rakudo c463f5: OUTPUT«Any()» | ||
| moritz_ | rakudo: while 3 -> $_ { .say; last } | ||
| p6eval | rakudo c463f5: OUTPUT«3» | ||
| moritz_ | interesting. | ||
| masak | not terribly. | ||
| moritz_ | perl6: while 3 -> $_ { .say; last } | ||
| p6eval | pugs, rakudo c463f5: OUTPUT«3» | ||
| ..niecza v3-36-gce33cb7: OUTPUT«Unhandled exception: No value in mainline available for parameter $_ at /tmp/QlafEZyHqE line 1 (MAIN mainline @ 3) at /home/p6eval/niecza/lib/CORE.setting line 1261 (CORE C524_ANON @ 2) at /home/p6eval/niecza/lib/CORE.setting line 1262 (CORE module-CORE @ 39) | |||
| ..at /home/p6eva… | |||
| moritz_ | perl6: while 3 { .say; last } | 22:42 | |
| p6eval | niecza v3-36-gce33cb7: OUTPUT«Unhandled exception: Unable to resolve method say in class Any at /tmp/o7uAnmEFKg line 1 (MAIN mainline @ 4) at /home/p6eval/niecza/lib/CORE.setting line 1261 (CORE C524_ANON @ 2) at /home/p6eval/niecza/lib/CORE.setting line 1262 (CORE module-CORE @ 39) at | ||
| ../home/p6eval/niec… | |||
| ..rakudo c463f5: OUTPUT«Any()» | |||
| ..pugs: OUTPUT«» | |||
| dalek | ecs: 6828ff4 | sorear++ | S04-control.pod: Fix self-contradiction in S04 |
22:43 | |
|
22:46
Mowah joined
|
|||
| Tene prods jnthn about future availability to talk about p6object | 22:46 | ||
|
22:48
PacoLinux_ left
|
|||
| masak | Tene: not in another 7-8 hours, I'd guess. | 22:49 | |
| Tene | 'k | 22:50 | |
| flussence | Is there an up-to-date .html translation of S26 anywhere? | ||
| masak | not that I know. | 22:53 | |
| maybe try generating one with Damian's CPAN module? | |||
|
22:53
zby_home left
|
|||
| donri | Is there a better way to do this in nqp? my $int := ""; for $<digit> { $int := $int ~ $_; } | 22:55 | |
|
22:55
masak left
|
|||
| dalek | kudo: d85450a | tadzik++ | Test.pm: Hopefully fix the skip() insanity |
22:56 | |
| kudo: bfdd78d | tadzik++ | src/core/List.pm: Fail when trying to reverse an infinite list |
|||
| flussence | (hmm, I could use that CPAN module, but I prefer the insane method personally...) | 22:58 | |
| arnsholt | donri: The base HLL grammar has a built-in rule for parsing integers, if that's what you're trying | 23:25 | |
| donri | yep but I'm not sure how to extend it | ||
| I want to allow commas | |||
| arnsholt | Hmm. Not sure how to do that, off-hand | 23:26 | |
| donri | I have it working but not very elegant :) | ||
| that is, manually with <digit> | 23:27 | ||
| arnsholt | You could try looking at Rakudo's grammar. Think it allows _ | ||
| Working and not elegant beats elegant and not working, any day =) | 23:28 | ||
| donri | haha true | 23:34 | |
| just curious for sake of learning nqp better | |||
| arnsholt | If you're working on an HLL I can recommend looking into how NQP is built up as well | 23:36 | |
| Knowing the grammar well enough to see what constructs are avilable is quite useful, and it's useful for building one's own HLL as well =) | |||
| donri | Everyone is building their own web framework these days; I predict in the future everyone will build their own Parrot HLL for every problem domain. ;) | 23:39 | |
| (Joke, but not completely.) | |||
| Tene | donri: answering your specific question, pir::join('', @($<digit>)) | 23:52 | |
| oslt | |||
| donri | ooh | ||
| Tene | donri: alternately, capture it as one string and subst out the ,s oslt | 23:53 | |
| donri | works without the @() | 23:54 | |
|
23:55
fisted_ joined
|
|||
| Tene | yeah, rakudo's &radcalc ignores _, and handles alternate bases, etc. | 23:56 | |
|
23:56
fisted left
23:57
MayDaniel left
|
|||