»ö« 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:07
dorlamm left
00:09
mikemol left
00:14
mikemol joined
00:20
aindilis joined
|
|||
sorear | std: tr[a..z][A..Z]; | 00:31 | |
p6eval | std dc62e1d: OUTPUT«ok 00:01 119m» | ||
sorear | std: tr[a..z]:to[moo]A..Zmoo | 00:32 | |
p6eval | std dc62e1d: OUTPUT«Use of uninitialized value $CCSTATE in string eq at STD.pm line 52538.ok 00:01 120m» | ||
sorear | niecza: tr[a..z]:to[moo]A..Zmoo | ||
p6eval | niecza v12-64-g7dedef9: OUTPUT«===SORRY!===Action method quote:tr not yet implemented at /tmp/HQxrwQQUC9 line 1:------> tr[a..z]:to[moo]⏏<EOL>Use of uninitialized value in string context at /home/p6eval/niecza/boot/lib/CORE.setting line 773 (w… | ||
sorear | curious that tr can use heredocs for the replacement but not for the lhs | 00:33 | |
00:33
MindosCheng left
|
|||
lichtkind | moritz: sorry i was asking jnthn instead, because i wanted to talk in the calender leaf more about pairs and there general usage he found it ok just have to fix some slightly incorretness about perl 5 | 00:35 | |
00:37
cognominal_ joined
00:39
cognominal left
00:54
wolfman2000 joined
00:55
packetknife left
|
|||
sorear | TimToady: What is the intended semantics of tr/\d/x/ ? | 01:09 | |
01:17
krakan left,
krakan joined
01:36
tokuhirom joined
01:38
alvis joined
|
|||
[Coke] | nom: say 3.141592654 * 1337 / 100 | 01:41 | |
p6eval | nom c7b0aa: OUTPUT«42.00309378398» | ||
01:41
tokuhirom left
|
|||
[Coke] | whoa. | 01:41 | |
01:42
packetknife joined
01:49
benabik joined
01:55
tokuhirom joined
|
|||
[Coke] does another run of niecza vz. rakudo spectesting. | 01:56 | ||
01:58
tokuhirom left,
tokuhirom joined
01:59
benabik left
|
|||
sorear is forgetting how to write p5 :| | 02:00 | ||
02:03
fridim_ left
02:05
cognominal_ left
02:11
hundskatt left
02:13
emanonwzy joined
02:16
emanonwzy left
|
|||
TiMBuS | its extra hard without moose | 02:33 | |
02:58
packetknife left
|
|||
colomon just got around to reading the backlog from earlier today, and thinks it's quite awesome to see jnthn++ and sorear++ chatting away, and then a bunch of commits landing to both niecza and nom. Can't smile enough for it! :) | 03:03 | ||
03:23
Guest11969 left
03:40
Patterner left,
Psyche^ joined,
Psyche^ is now known as Patterner
03:46
Radvendi1 joined
03:51
clkao left
04:13
lichtkind left
04:14
mikemol left
04:19
agentzh joined
|
|||
japhb | phenny, tell jnthn It looks to me like setting elem_st in repr_bind_pos_{int,num} is copy pasta from repr_at_pos_{int,num} and that variable isn't actually used in the bind functions. | 04:35 | |
phenny | japhb: I'll pass that on when jnthn is around. | ||
japhb finally catches up on backlog | |||
04:39
tokuhirom left
04:42
risou_awy is now known as risou
|
|||
[Coke] | nom: say 9050/18222 | 04:49 | |
p6eval | nom c7b0aa: OUTPUT«0.496652398199978» | ||
[Coke] | nom: say 9673 / 18374 | 04:50 | |
p6eval | nom c7b0aa: OUTPUT«0.526450419070426» | ||
[Coke] | nom: say 10304 / 18388 | ||
p6eval | nom c7b0aa: OUTPUT«0.560365455731999» | ||
[Coke] | gist.github.com/1476841 - latest niecza vs. rakudo cage match numbers. | 04:51 | |
some pretty big gains in 3 days. | |||
04:55
Chillance left
04:56
mikemol joined
|
|||
TiMBuS | whhaaa- oh. [Coke], rakudo and niecza are swapped on that last run. | 05:02 | |
bit sneaky | |||
[Coke] | keeping you on your toes! | 05:11 | |
I'll normalize it. | |||
TiMBuS: done | 05:13 | ||
dalek | ast: 4c68d1a | moritz++ | S32-exceptions/misc.t: skipped tests for X::Obsolete |
05:22 | |
05:39
obra joined
05:41
obra left
|
|||
sorear found a more current contact for the ICU script guy | 05:41 | ||
I wonder what obra is looking for | 05:42 | ||
06:18
am0c joined
06:19
risou is now known as risou_awy
06:22
bluescreen10 left
06:23
bluescreen10 joined
06:30
agentzh left
|
|||
dalek | ecza: 841c18e | sorear++ | / (2 files): Start on Unicode property data reader |
07:26 | |
07:31
molaf joined
|
|||
TiMBuS | sorear, guessing from his hostmask, probably bad inodes | 07:53 | |
i feel bad for that one | 07:54 | ||
sorear | obra is someone important | ||
TiMBuS | internet famous | ||
geekosaur | not just internet famous, though | 07:55 | |
07:58
Radvendi1 left
|
|||
dalek | ecza: 5abbd8a | sorear++ | lib/UCD.cs: Implement inflation and access for "Binary" properties |
08:01 | |
sorear -> sleep | 08:02 | ||
tomorrow: finish lib/UCD.cs stuff; embed a copy of unidata; add a Niecza::UCD Perl interface; add <:Foo> syntax | 08:03 | ||
08:08
[particle]1 joined
08:09
ingyfoo joined,
jnthn_ joined
08:10
broquain1 joined,
pothos_ joined
08:12
slavik2 joined
08:13
wolfman2_ joined
08:14
pkkm joined
08:16
ingy left,
jnthn left,
slavik1 left,
pothos left,
broquaint left,
[particle] left,
wolfman2000 left,
pothos_ is now known as pothos
08:39
pothos left,
pothos joined
|
|||
moritz | niecza: sub MAIN() { say 3 } | 08:40 | |
p6eval | niecza v12-66-g5abbd8a: OUTPUT«Potential difficulties: &MAIN is declared but not used at /tmp/TpzfrykaOv line 1:------> sub MAIN⏏() { say 3 }» | 08:41 | |
08:57
preflex left
08:59
preflex joined
09:01
preflex left
09:05
preflex joined
09:10
preflex left
09:12
preflex joined
09:13
molaf left
|
|||
moritz | niecza: multi f('foo') { } | 09:21 | |
p6eval | niecza v12-66-g5abbd8a: OUTPUT«Unhandled exception: Unable to resolve method ast in class Any at /home/p6eval/niecza/src/NieczaActions.pm6 line 2103 (NieczaActions.parameter @ 105)  at /home/p6eval/niecza/src/STD.pm6 line 2931 (P6.parameter @ 233)  at /home/p6eval/niecza/src/STD.p… | ||
09:22
GlitchMr joined
09:53
lestrrat left
09:54
lestrrat joined
|
|||
moritz | niecza: class A { has $.a; has $.b = $.a } | 10:37 | |
p6eval | niecza v12-66-g5abbd8a: OUTPUT«===SORRY!===Variable $.a used where no 'self' is available at /tmp/KLDwQcyxJx line 1:------> class A { has $.a; has $.b = ⏏$.a }Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line… | ||
moritz | sorear: that error is questionable; when $.b is initialized, an invocant needs to be somewhere, so you can just make it available | 10:38 | |
10:49
hundskatt joined
11:00
cedric_ joined
11:01
tokuhirom joined
|
|||
cedric_ | Hello #perl6 | 11:01 | |
moritz | \o cedric_ | 11:02 | |
cedric_ | std: my %contributors_of; ++« %contributors_of<specs, roast, rakudo, niecza, ...> # :) | ||
p6eval | std dc62e1d: OUTPUT«ok 00:01 120m» | ||
cedric_ | Is the grammar.^parse function supposed to return a Grammar object or a Match object? Rakudo and Niecza differ in this respect: | 11:03 | |
perl6: grammar Test { token TOP { . } }; say $(Test.parse: 'test').WHAT | |||
p6eval | niecza v12-66-g5abbd8a: OUTPUT«Test()» | ||
..pugs b927740: OUTPUT«*** No such method in class Test: "&parse" at /tmp/cNjAEYKFjs line 1, column 41-59» | |||
..rakudo c7b0aa: OUTPUT«Match()» | |||
moritz | cedric_: I think it shoudl always be a Match | 11:04 | |
cedric_ | moritz: What's the preferred way to submit this kind of issues? (Github tracker, #perl6, ...) | 11:09 | |
moritz | cedric_: niecza bug reports go to the issue tracker on github | 11:10 | |
niecza: grammar Test { toekn TOP { . } }; say Test.parse('test') ~~ Match | |||
p6eval | niecza v12-66-g5abbd8a: OUTPUT«===SORRY!===Bogus statement at /tmp/E6R2XNBow1 line 1:------> grammar Test { toekn TOP { ⏏. } }; say Test.parse('test') ~~ MatchParse failed» | ||
moritz | niecza: grammar Test { token TOP { . } }; say Test.parse('test') ~~ Match | ||
p6eval | niecza v12-66-g5abbd8a: OUTPUT«Bool::False» | ||
cedric_ | moritz: smart check :) I'll report this issue to sorear. Thanks! | 11:17 | |
11:19
woosley joined
11:24
cedric_ left
11:25
[particle]1 is now known as [particle]
11:26
woosley left
11:34
fridim_ joined
|
|||
jnthn_ | afternoon o/ | 11:45 | |
moritz | \o jnthn_ | ||
tadzik | hello | 11:46 | |
moritz wonders if masak++ will soon return from vacations | 11:50 | ||
11:50
am0c left
|
|||
jnthn_ | .oO( oh noes, ogonek! ) |
11:50 | |
11:50
jnthn_ is now known as jnthn
|
|||
jnthn | moritz: In theory, todayish. :) | 11:51 | |
phenny | jnthn: 04:35Z <japhb> tell jnthn It looks to me like setting elem_st in repr_bind_pos_{int,num} is copy pasta from repr_at_pos_{int,num} and that variable isn't actually used in the bind functions. | ||
11:52
am0c joined
|
|||
dalek | p: fab287d | jnthn++ | src/ops/nqp.ops: Remove copy-pasted lines that aren't needed. japhb++ for noticing. |
11:52 | |
11:57
clkao joined
12:26
donri joined
12:34
woosley joined
12:36
woosley left
12:38
orafu left,
orafu joined
12:43
cognominal joined
12:46
MayDaniel joined
|
|||
jnthn | Oooh! Snow! :) | 12:50 | |
colomon | we got a light dusting | 12:56 | |
jnthn | I think it's the first we've had here this winter. | 12:58 | |
Last year, we got a load as early as November. | 12:59 | ||
colomon | We got a couple of inches back in November, but then it rained. | ||
moritz | nom: .say for ^0 | 13:11 | |
p6eval | nom c7b0aa: ( no output ) | ||
13:17
Trashlord left
13:45
molaf joined,
preflex left
13:47
preflex joined,
i0h joined
13:49
MayDaniel left
13:50
preflex left
13:52
preflex joined
13:54
raiph joined
|
|||
raiph | good * | 13:56 | |
13:56
am0c left
|
|||
raiph | colomon: in "Day 1: Catching Up With Perl 6" you state "at the moment there are four different Perl 6 implementations of interest" | 13:57 | |
colomon | yes | ||
13:57
am0c joined
|
|||
raiph | colomon: i'm curious why perlito is omitted | 13:57 | |
colomon | I know absolutely nothing about it. :) | 13:58 | |
raiph | colomon: ah! :) | ||
colomon: kinda like the ron paul effect | |||
colomon | kind of, I guess. | ||
note that you're the first person I can recall objecting to leaving it out of the overview. | 13:59 | ||
raiph | colomon: i'm not objecting; just noticed it; i had barely any awareness of perlito too | 14:00 | |
jnthn | ...who's ron paul? | ||
;- | |||
14:00
taiju joined
|
|||
jnthn | ) | 14:00 | |
14:01
taiju left
|
|||
colomon | jnthn: fringe US presidential candidate | 14:01 | |
jnthn | colomon: Yeah, I'm aware...was just fulfilling the effect. :) | ||
colomon | jnthn++ | ||
raiph | but then i saw a mention of perlito a couple days ago, played for a while, and thought, nice, i wonder if it is tested against the test suite, i wonder if this, that, the other... | ||
colomon: i was thinking of adding a post to the Day 1 entry; then i decided i ought msg you first | 14:04 | ||
tadzik | who's a "fringe" candidate? | 14:06 | |
jnthn | tadzik: One who doesn't cut the hair so it comes down almost to their eyes. | ||
tadzik | heh | 14:07 | |
jnthn | tadzik: I guess definition is something like "one who only appeals to a small amount of the electorate, so doesn't really stand a chance of actually winning" | ||
tadzik | oh, we have a few like this in Poland to | ||
*too | |||
jnthn | bah. My train tickets for visiting family in the UK cost more than my flight from here to the UK... | 14:09 | |
14:10
molaf left
14:25
lichtkind joined
14:39
Trashlord joined
14:42
molaf joined
14:49
Lothar left
14:54
Lothar joined
14:58
risou_awy is now known as risou
14:59
GlitchMr left
15:16
molaf left
15:18
molaf joined
15:21
molaf left
15:34
molaf joined
15:36
GlitchMr joined
15:40
molaf left
|
|||
mikemol | I'm hesitant to ask Perl 5 questions in here, but I'm trying to convert the p6 spec to epub, so perhaps it for a good enough cause. :) | 15:47 | |
tadzik | go on :) | ||
mikemol | Is there a way to command cpan to install perl modules to a user-specfic path? | ||
tadzik | I'm sure cpanm can do taht | 15:48 | |
mikemol | Hm. I have cpan and cpanp. *googles for cpanm* | ||
tadzik | cpanm -L extlib Plack # install Plack and all non-core deps into extlib | ||
from the manpage | |||
use cpanm, it's awesome | |||
as in: Just Works | |||
15:50
tokuhirom left
15:52
Chillance joined
15:53
ab5tract left
15:59
cognominal left
16:06
ab5tract joined
|
|||
moritz | \o | 16:16 | |
jnthn | hi, moritz | 16:17 | |
tadzik | hello | 16:18 | |
16:18
envi_ left
|
|||
moritz | jnthn: your name is in today's slot of the advent calendar schedule -- do you think you'll manage to write a post today? | 16:25 | |
jnthn | moritz: eek, I forgot it was today...my brain thought tomorrow somehow | 16:26 | |
moritz: I can write something :) | |||
Thanks for the reminder! | 16:27 | ||
16:27
overrosy joined
|
|||
moritz | jnthn: great, and you're welcome | 16:28 | |
nom: say DateTime.now | 16:29 | ||
p6eval | nom c7b0aa: OUTPUT«DateTime.new(year => 2011, month => 12, day => 18, hour => 15, minute => 50, second => 0, timezone => $*TZ)» | ||
moritz | good, today is the 18th :-) | 16:30 | |
jnthn | ;) | ||
Not quite sure what to write on. | |||
I guess I could do another meta-programming related post, but this time look at how we use it to build stuff inside Rakudo too. | |||
Dunno if that'd be interesting. | |||
moritz | well, I'd find it interesting for sure :-) | 16:31 | |
jnthn | Guess I could pick a non-trivial but non-mind-blowing missing feature and walk through how it's added. | ||
16:31
overrosy left
|
|||
jnthn | Maybe making "method foo() { ... }" in a role act as a requirement that the method is implemented in the target class, for example. | 16:31 | |
colomon | +1 | 16:32 | |
not for that particular feature necessarily, but that's a great general idea, IMO | |||
jnthn | Well, it's a feature I can (a) think of and (b) is easy to explain, and about the right level of difficulty for such a post. | ||
colomon | sure, I was just clarifying my +1. :) | 16:33 | |
16:33
overrosy joined
|
|||
colomon | you were typing faster than me. | 16:33 | |
jnthn | eek. | 16:38 | |
I tried to implement the Proxy class. It nearly worked apart from... | |||
...the FETCH method tried to decontainerize the container to put it in self. | 16:39 | ||
Which of course recursively calls FETCH, which... :) | |||
mikemol | Ok, finally got the EBook::EPUB module installed. Now to start writing a script to use it... | ||
tadzik | creating a mobi of Using Perl 6 I just converted the HTML version, iirc | 16:40 | |
lichtkind | moritz: wid langsam zeit gell, gib mir noch 20 min das paste ich dir artikel | 16:41 | |
tadzik | slowly time passes, give me 20 minutes to paste my article? | 16:42 | |
lichtkind | very good | 16:43 | |
tadzik | is that more-less correct? | ||
lichtkind | except the first words were : its about time | ||
tadzik | instead of "slowly time passes"? | 16:44 | |
I recognised only langsam and zeit | |||
lichtkind | gell is not really german but a bavarian acknowledging sound | ||
tadzik | I see | ||
lichtkind | tadzik: it was a bit provoking because moritz is from an area that politically is bavaria, even most people there dont like that fact :) | 16:45 | |
jnthn usually hears "langsam" as an excuse for why his train will be late. "There's a langsam train in front of us!" | 16:46 | ||
tadzik | :P | ||
lichtkind | yes it goes for slow and slowly | ||
moritz | lichtkind: you can paste the article for review whenever you want | 16:52 | |
lichtkind: and it's usually faster if you just do it, instead of asking if you should do or announcing that you will | 16:53 | ||
lichtkind | moritz: i can sleep better if someone checked for errors | 16:55 | |
16:58
MindosCheng joined
16:59
whiteknight joined,
whiteknight is now known as Guest47633
|
|||
moritz can better check for errors when he can actually read the article :-) | 17:00 | ||
lichtkind | moritz: duh | 17:04 | |
tadzik | jnthn: hey, idea. Panda fails because JSON/Tiny.pir is not the right one, but it works fine with JSON/Tiny.pm used to build the .pir one. So can't we just fallback to .pm if .pir is too old? | 17:12 | |
or not the right one | |||
oh, I think I see the problem | 17:14 | ||
it's about pirs compiled against pirs, not pm's ran against pirs, right? | 17:15 | ||
jnthn | tadzik: yes | ||
tadzik | so we'll have to recursively fallback to all the pms and bleh | 17:16 | |
lichtkind | hm the same pwd is meassured by phpBB medium and by wordpress strong | 17:21 | |
mikemol | lichtkind: Yeah, different password measurement algorithms are, well, different. | 17:22 | |
I once got "very strong!" out of an algorithm with "~~~aaa222" | |||
17:22
mj41 joined
|
|||
tadzik | there's this famous password in Poland, "dupa.8". Very secure, letters, numbers, special chars | 17:24 | |
everyone uses it for everything he/she doesn't care about | |||
(dupa is a not-really-polite word for the bottom) | 17:26 | ||
lichtkind | moritz: i saved a draft , can you see it? | ||
moritz: i will change start and ending a bit | |||
17:27
Guest47633 left
|
|||
flussence | if there's one thing I absolutely can't stand, it's websites with length limits on the password field. The only worse thing I've seen is one that had a limit on it only on the login page | 17:28 | |
.oO( I just did `perl $some_script.sh` by accident and it ran it in a shell anyway... looks like someone's made that mistake before :) |
17:41 | ||
17:42
jlaire left
|
|||
tadzik | heh | 17:42 | |
moritz | flussence: perl looks at the shebang line, and is happy to step aside for the shell mentioned in there | ||
17:46
jlaire joined
17:47
cognominal joined
18:27
risou is now known as risou_awy
18:30
jlaire left,
localhost left
18:32
localhost joined
|
|||
dalek | p: cde2f95 | jnthn++ | src/6model/reprs/CArray.c: Fix various thinkos in CArray. |
18:32 | |
18:34
jlaire joined
|
|||
dalek | volaj: 9ae5ba5 | jnthn++ | lib/NativeCall.pm6: Support creating and passing arrays to C also. |
18:38 | |
kudo/nom: d377bbe | jnthn++ | src/binder/container.c: Correct handling of container FETCHes from things other than the Perl 6 Scalar type. |
|||
kudo/nom: 3fc1613 | jnthn++ | src/binder/container.c: Fix handling of STORE for contaienrs other than Scalar. |
|||
kudo/nom: 4e608ce | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.pm: First cut implementation of Proxy. |
|||
kudo/nom: ac2b24c | jnthn++ | src/Perl6/Actions.pm: Relax type parameterization a bit. |
|||
kudo/nom: 2ea566d | jnthn++ | tools/build/NQP_REVISION: Bump to latest NQP revision for some fixes. |
|||
tadzik | fun | ||
mikemol | Well, after all of 20 minutes tinkering in between other things, I've got all the specs as epubs. Need to write a slightly better script so that I better metadata in there, but this is a nice milestone. | 18:39 | |
noidea | Just wondering, whic his the prefered perl6 interpreter? | ||
which* | |||
mikemol | I'm using McNamer's pod2epub application. Most of the rigamarole was around getting prereqs on my system. | ||
*McNamaera | 18:40 | ||
bah | |||
tadzik | noidea: I'd recommend Rakudo | ||
noidea | tadzik: thank you | ||
tadzik | niecza has some nice things that rakudo doesn't, though. Threading, CLR interop; it's also faster | ||
Rakudo runs on Parrot and Niecza runs on Mono/.NET | 18:41 | ||
noidea | Then why do you suggest Rakudo? | ||
Oh.. .NET | |||
tadzik | it has more modules available | ||
what are you planning to do? | |||
(with Perl 6) | |||
noidea | Well, I'm running an Ubuntu machine, so I'd prefer to stay away from .NET | 18:42 | |
Just pess with perl6 a bit. I tried perl5 a while ago and found it obnoxious | |||
mikemol | noidea: Ubuntu has mono packages. No idea how current they are, though. | ||
noidea | mess* | ||
tadzik | I think on Ubuntu you may already have some stuff... what mikemol said | ||
noidea hass very laggy internet atm | |||
mikemol muses that someone should implement NQP in JavaScript. | 18:44 | ||
18:45
ab5tract left
|
|||
tadzik | well volunteered! :P | 18:45 | |
mikemol | If I knew JS well enough, I'd consider it. | ||
Let me get my C++ version out the door, first, and then I'll consider learning JS for the purpose. :) | |||
18:48
mj41 left
18:57
raiph left
18:58
ab5tract joined
19:09
raiph joined
|
|||
sorear | good * #perl6 | 19:09 | |
raiph | o/ sorear | 19:10 | |
sorear | o/ raiph | 19:11 | |
noidea: don't get the idea that Niecza is strictly superior - it's not, in a lot of ways | 19:12 | ||
raiph | aiui, nqp is aimed purely at bootstrapping a full p6; is a strict, small, subset of p6; is intended to remain just that; and only current impl has a pir backend. | 19:14 | |
or could it become a lightweight p6, useful for duties other than bootstrapping, say as a training language? | 19:15 | ||
noidea: could you summarize what you found obnoxious about perl5? | 19:16 | ||
sorear | raiph: nqp is a small, bootstrappable language which is used to implement Rakudo | 19:18 | |
raiph: the three phases of Rakudo, alpha, ng, and nom, each have a corresponding nqp | 19:19 | ||
the ng nqp, commonly called nqp-rx, was used for a while as Parrot's standard mid-level language, but that role is falling to winxed | |||
raiph | sorear: thx. | 19:20 | |
i'm confused by "bootstrappable"; i was thinking "for bootstrapping". or is that the same? | 19:21 | ||
noidea | raiph: Well, I've come from a pascal java python backround (just a bit of each language, not getting too indepth) but not being able to set parameters in the definition of a function, and having to use a horrible sigil hack-ish way to get a an array out of a hash (like getting array @a = @hash['arr'];, except it was dirty) | 19:22 | |
And I was wondering about whats been backported to perl5, from perl6. like setting parameters (sub a($x, $y) {}) in a function | 19:23 | ||
sorear | raiph: nqp is implemented in nqp | 19:24 | |
noidea | I didnt spend too much time with perl5 though. I just couldn't deal with it at the time (a little less than a year ago) | ||
raiph | sorear: ah. thx. | 19:31 | |
19:32
spine joined
|
|||
raiph | noidea: i only used perl professionally in the 90s. | 19:37 | |
noidea: even then i found p5 argument/parameter stuff was almost shockingly minimalist. | 19:38 | ||
19:38
GlitchMr left
|
|||
noidea | how is it minimalist if you have to shift; multiple times to get your arguments? | 19:39 | |
sorear | noidea: minimalist means that the programmer has to to more work because the language is minimal | ||
noidea | mmm. I see | 19:40 | |
19:41
Lothar left
|
|||
raiph | P6 is not at all minimalist. some argue that it's gone far (much too far) in the other direction. | 19:42 | |
noidea | I feel like it might be the right direction - looking at some of the code examples | 19:43 | |
Im not all for a batteries included style, but it certainly does help when you dont have to do everything yourself | 19:44 | ||
I'm sure theres a module in CPAN for the parameter 'annoyance' i had | |||
raiph | noidea: i think the damian did a P6 arg passing module | 19:45 | |
noidea | I thought perl6 had it built in | ||
I think i ought to do some more reading | |||
lichtkind isntall panda | 19:48 | ||
19:49
ksi joined
|
|||
raiph | noidea: yes, P6 has it built in. indeed, beautifully done, imo. what i meant was that there are a bunch of P5 modules that give to p5 some of what P6 has to offer, and one example is... | 19:50 | |
19:50
am0c left
|
|||
noidea | raiph: ahh thats what I've been looking for. Its brilliant to be able to change the core with 3rd party modules | 19:52 | |
raiph | hmm. not sure about this. search.cpan.org/~brentdax/Perl6-Par...ameters.pm | 19:53 | |
didn't find what i thought existed. that one is by brent dax and dated 2002. | |||
sorear | I think what you are looking for is search.cpan.org/~ilmari/MooseX-Meth...natures.pm | 19:54 | |
2011, rafl | 19:55 | ||
raiph | sorear: i should have realized it was moosish | ||
sorear | moose was created by a bunch of pugs hackers who wanted to use the p6 object model in the real world | ||
lichtkind | panda: Incorrect pre-compiled version of lib/JSON/Tiny/Actions.pm loaded | 19:56 | |
sorear | although moose and p6 have diverged :| | ||
raiph | sorear: oh. is that the 6model stuff? | 19:57 | |
sorear | no, this was way before 6model | 19:58 | |
20:00
pkkm left
|
|||
raiph | sorear: oh. but can't be worse than what was before. (all roll your own oo). at least now there's a unification of sorts. | 20:02 | |
sorear: not between p5 and p6, but just within p5. | |||
then, grossly simplifying, if you don't think too much, p5 oo is like, say, ruby oo, as far as p6 is concerned. | 20:03 | ||
or am waving my hands too much? | 20:04 | ||
moritz | yes :-) | 20:09 | |
moritz -> sleep | |||
raiph | moritz: \\o// | ||
20:12
Lothar joined
|
|||
raiph | sorear: i can interpret exchange about oo two radically different ways | 20:12 | |
20:12
pkkm joined
|
|||
raiph | sorear: are u saying moose and P6 diverged significantly before 6model? | 20:13 | |
sorear | raiph: yes | 20:16 | |
raiph | sorear: thx. | ||
aiui 6model is, simplifying a lot, just another take on the original parrot goal of supporting any dynamic lang OO system | 20:19 | ||
albeit with a renewed determination to be sufficient for P6 needs. is that about right? | |||
jnthn | 6model isn't about dynamic language OO systems specifically. | 20:21 | |
It's designed so you could express a very static OO system in it also. | 20:22 | ||
And hit the various points inbetween (e.g. Gradual Typing) | |||
20:29
packetknife joined
20:30
y3llow_ joined,
pothos_ joined
|
|||
raiph | jnthn: thx. | 20:30 | |
20:32
y3llow left,
pothos left,
y3llow_ is now known as y3llow
20:33
pothos_ left,
pothos joined
20:36
pothos left,
pothos joined
|
|||
tadzik | lichtkind: yeah, known :/ | 20:41 | |
I don't really know how to resolve this in a sensemaking way | |||
lichtkind: the workaround is find ~/.perl6/lib -name *.pir -delete | 20:42 | ||
lichtkind | you will find a soluteion | ||
solution | |||
where is my brain | |||
raiph | jnthn: is this the best overview of 6model? github.com/jnthn/6model/blob/maste...erview.pod | 20:43 | |
20:48
ksi left
|
|||
jnthn | raiph: Seems to be still accurate. | 20:48 | |
raiph | jnthn: thx. | 20:50 | |
sorear | jnthn: when you get a chance, I would like your feedback on the rest of the DUBIOUS/DISCUSS items | 21:01 | |
(I understand this may be a while, perhaps even post-26th) | |||
jnthn | sorear: Yeah, it probably will be. I already responded to the ones I had an immediate view on. :) | 21:03 | |
21:04
ksi joined
|
|||
sorear | jnthn: I thought you only responded to one of them | 21:04 | |
jnthn | sorear: I thought it was two... :) | ||
sorear | ah, <~~0> was counted? | 21:05 | |
jnthn | sorear: Well, I guess I can only count that as "partially responded" :) | 21:06 | |
sorear: As in, the case where the thing has captures within it I'm still not too sure on. | 21:07 | ||
21:11
Trashlord left
|
|||
lichtkind | jnthn: it still needs some final touch perlpunks.de/paste/show/4eee570f.168a.d2 | 21:12 | |
but i think its much better now | |||
its in the wordpress do what you want with it | |||
21:12
Trashlord joined
|
|||
lichtkind | dalek: tell moritz: i will look tomorrow at the text again but i see it as finished | 21:25 | |
dalek: tell @moritz i will look tomorrow at the text again but i see it as finished | 21:26 | ||
phenny, tell moritz i will look tomorrow at the text again but i see it as finished | 21:27 | ||
phenny | lichtkind: I'll pass that on when moritz is around. | ||
lichtkind | phenny: thanks | ||
21:44
Moukeddar joined
21:47
pkkm left
|
|||
colomon | errr... where are we on today's Advent post? | 21:51 | |
jnthn | colomon: Almost written. | ||
colomon | \o/ | ||
jnthn | (Working on it. :)) | ||
colomon | I was afraid you'd gone to bed. :) | ||
jnthn | No, no. It's not even 11pm here yet! | 21:52 | |
Bed is like, 2am or something. :P | |||
21:55
Moukeddar left
|
|||
colomon | what can I say, I'm an old man. :) | 21:55 | |
spine | perl6: say ("ab" ~~ / (.*) b /).Bool; | 21:56 | |
p6eval | niecza v12-66-g5abbd8a: OUTPUT«Bool::True» | ||
..pugs b927740: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.20111008/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HAND… | |||
..rakudo 2ea566: OUTPUT«Bool::False» | |||
spine | is that expected behaviour or some unimplemented backtracking code in rakudo? | ||
21:57
mj41 joined
|
|||
colomon | errr.... is what the expected behavior? | 21:57 | |
jnthn | It's the by now infamous Rakudo backtracking bug. | ||
spine | colomon: say ("ab" ~~ / (.*) b /).Bool; prints OUTPUT«Bool::False | 21:58 | |
jnthn: ok, thanks. I never know if there is some new feature or if I am hitting bugs :) | 21:59 | ||
same regex without capturing group works | |||
22:03
IngisKahn joined
22:25
molaf joined
|
|||
dalek | kudo/nom: 539843e | jnthn++ | src/ (2 files): Add a .yada property to routines, so we can spot those that are just .../???/!!!. |
22:31 | |
kudo/nom: 0ac04a7 | jnthn++ | src/Perl6/ (2 files): Set the yada flag as needed. |
|||
kudo/nom: 2bc97f6 | jnthn++ | src/Perl6/Metamodel/ (3 files): Make a method foo() { ... } in a role serve as a requirement that the method is implemented, rather than an actual method that we compose in. The implementation could come from the class, a parent class or another role. |
|||
22:34
molaf left
22:36
broquain1 is now known as broquaint
|
|||
jnthn proof-reads the advent post | 22:43 | ||
tadzik | I wonder what funny C library binding I can now write, having struct introspection and arrays | 22:47 | |
jnthn | perl6advent.wordpress.com/2011/12/1...nt-rakudo/ | 22:49 | |
tadzik | awsum! | 22:50 | |
jnthn | tadzik: The structs and arrays are a tad limited at the moment, fwiw. But already you can probably do things that weren't possible before :) | ||
tadzik | how limited? | ||
jnthn | tadzik: Just on the type of things they can contain. | 22:51 | |
tadzik: e.g. at the moment it's only doubles and ints. I'll have it handling various sizes of integer pretty soon. After that because arrays of strings, pointers to structs and just opaque pointers. | |||
tadzik | alrighty | 22:52 | |
22:57
snarkyboojum left
22:58
snarkyboojum joined
22:59
simcop2387 left,
ksi left
23:00
PacoLinux left
23:01
simcop2387 joined
|
|||
jnthn | so, that beer I wanted... | 23:02 | |
lichtkind | jnthn: thank you | 23:06 | |
hope you liek it | |||
im off | |||
jnthn | night, lichtkind | 23:12 | |
lichtkind | jnthn: found any quirks? | ||
good night all o/ | 23:13 | ||
jnthn | lichtkind: Thatswhy => That's why | 23:15 | |
lichtkind | yes but the one spelling proram i have allowed me that :) | ||
i mostly ment content quirks | |||
jnthn | (:@good, :@bad) := |classify { good_music($_) ?? 'good' !! 'bad' }, %song.values; | 23:17 | |
does that actually work? :) | |||
lichtkind | jnthn: i taken it out of synopses | ||
jnthn | OK :) | ||
lichtkind | i tested binding | ||
jnthn | Then it probably should :) | ||
lichtkind | yeah better i test it | 23:18 | |
jnthn | OK, I'm gone for the night. o/ | 23:19 | |
lichtkind | sleep well | 23:20 | |
phenny, tell jnthn no it doesnt work now: Cannot use bind operator with this LHS at line 44, near " |classify" | 23:23 | ||
phenny | lichtkind: I'll pass that on when jnthn is around. | ||
mj41 | nom: my $b = "b"; say qq/a {$b} $b c/; | 23:26 | |
p6eval | nom 2bc97f: OUTPUT«a b b c» | ||
mj41 | nom: my $b = "b"; say Q:c/a {$b} c/; | ||
p6eval | nom 2bc97f: OUTPUT«===SORRY!===Colons may not be used to delimit quoting constructs at line 1, near ":c/a {$b} "» | ||
mj41 | trying to prototype simple templating system based on Q:c ... but Q:c not supported yet :-) | 23:28 | |
23:29
simcop2387 left
|
|||
mikemol cackles | 23:31 | ||
23:31
simcop2387 joined
|
|||
mikemol | With the exception of some unicode weirdness, I have a script which pulls title and authorship metadata from the p6 spec pods and then launches pod2epub. | 23:31 | |
23:36
lichtkind left
23:39
simcop2387 left
23:41
snearch joined,
simcop2387 joined
|
|||
djanatyn | o/ | 23:50 | |
sorear | Hello! | ||
djanatyn | Hey. |