»ö« 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:01 whiteknight joined, yarp left 00:14 jerome left 00:17 dayangkun joined 00:26 jerome joined, Circlepuller joined 00:27 MissingSemicolon joined 00:29 Circlepuller__ left 00:36 Circlepuller_ joined 00:38 Circlepuller left 00:43 Chillance left 00:51 thou left 00:57 benabik joined 01:05 anuby joined 01:12 jerome left 01:17 hypolin joined, colomon left 01:19 colomon joined 01:24 jerome joined 01:30 baest left, whiteknight left 01:31 gootle joined 01:34 baest joined 01:45 FROGGS_ joined 01:47 flightrecorder left 01:48 FROGGS left, flightrecorder joined 02:01 fgomez left 02:02 MikeFair_ joined 02:03 gootle1 joined 02:04 gootle left 02:11 fgomez joined 02:13 erkan left 02:25 fgomez left 02:37 gootle1 left 02:42 fgomez joined, wooden left, Vlavv` left, sftp left, pmichaud left, [Coke] left, phenny left, sftp joined 02:48 wooden joined, Vlavv` joined, pmichaud joined, [Coke] joined, phenny joined 02:57 orafu left 02:58 orafu joined 03:01 fgomez left 03:02 gootle joined 03:12 thou joined 03:40 fgomez joined 03:55 dayangkun left 04:07 telex left 04:15 telex joined 04:24 satyavvd joined 04:27 telex left 04:32 Targen left 04:34 jaldhar joined 04:36 telex joined 04:39 skids left 04:46 wooden left 04:52 thou left 04:59 am0c joined 05:06 kaleem joined 05:09 wk__ left 05:11 Targen joined 05:12 eiro joined 05:17 sirrobert left 05:28 MissingSemicolon left 05:30 wooden joined, wooden left, wooden joined
moritz good morning 05:30
sorear good morning moritz 05:32
05:35 wooden left 05:37 mucker joined 05:39 sirrobert joined 05:52 wooden joined, wooden left, wooden joined 05:53 gootle1 joined, gootle1 left, gootle1 joined, gootle left 05:56 gootle1 left 05:58 yarp joined 06:03 wooden left
TimToady it seems kinda silly that I'm using a big is_prime routine written in Perl 6 when libtommath implements Miller-Rabin in C.. 06:17
I'm thinking is_prime (or is-prime, or whatever) is something that should be provided as a built-in 06:18
likewise there's an expmod routine in there that seems to not be visible from Perl 06:20
06:23 FROGGS_ left 06:24 wooden joined, wooden left, wooden joined
eiro hello all 06:24
is there a way to introspect a perl6 grammar to build its AST ? (or something equivalent) 06:25
06:26 flightrecorder left
MikeFair_ eiro: I believe a Grammar has the capabilities you're looking for, but I'm not quite sure exactly what it is you're loking for 06:27
(nor am I sure I even know how to code it once I do understand ;) ) 06:28
06:28 gootle joined
eiro ok. ingy wrote an awesome piece of perl5 named pegex: it's a PEG parser with multilang emiter so you can write one PEG for python, perl5, javascript, ... 06:29
i wonder if perl6 is not a better tool for that (because of its native PEG support) 06:30
06:30 gootle1 joined, gootle left 06:31 wooden left
eiro hmm.. just realized that i can ask on the list: this is a much better place 06:31
06:31 wooden joined, wooden left, wooden joined 06:33 wk joined
diakopter TimToady: sounds good to me 06:33
06:35 gootle joined, gootle1 left, yarp_ joined, gootle1 joined, gootle left
dalek ecs: 5277fef | larry++ | S32-setting-library/Numeric.pod:
Add expmod and is-prime as built-ins in Int
06:36
06:37 gootle joined, gootle1 left, yarp left 06:38 yarp_ is now known as yarp
diakopter std: 3.'is-prime?'() 06:38
p6eval std 77327a4: OUTPUT«ok 00:00 41m␤»
diakopter std: 3.'is-prime?'
p6eval std 77327a4: OUTPUT«===SORRY!===␤Unsupported use of . to concatenate strings or to call a quoted method; in Perl 6 please use ~ to concatenate, or if you meant to call a quoted method, please supply the required parentheses at /tmp/z_7V5RQAN6 line 1:␤------> 3.'is…
06:42 gootle1 joined, gootle left, gootle1 left, gootle2 joined, gootle2 left
MikeFair_ eiro: Sorry, I'm not the right person for that question, but Perl6 Grammars are extraordinary and have a combination of hierarchical nested match rules and automated calling of methods as the matches are found. 06:43
Parrot uses P6 Grammars specifically for writing interpretters to all kinds of languages. 06:44
eiro MikeFair_, i'm aware of that! that's why i ask :) 06:49
masak morning, #perl6 06:54
sorear morning, masak 06:55
masak eiro: I think PEG has been described as "the closest thing to what Perl 6 has"; i.e. it's not identical, but it's a good first approximation if you want to understand it.
eiro masak, you mean PEGex ? isn't PEG a general concept ? 06:59
07:05 erkan joined 07:10 fhelmberger joined 07:13 brrt joined 07:18 cibs joined
tadzik good morning #perl6 07:18
moritz \o
07:20 gootle joined, flightrecorder joined
sorear eiro: en.wikipedia.org/wiki/Parsing_expr...on_grammar 07:22
Woodi morning everyone 07:24
eiro sorear, yep. that's why i don't understand the answer masak gave.
don't worry: i'll figure out 07:25
07:25 wooden left
Woodi I was thinking about MOP and security a little... MOP is kind of like assembly language, can mess with (near?) everything inside... so imagine app with GUI written in assembler - implementing into it "sandbox" functionality would be for volontiers :) 07:28
diakopter eiro: masak was saying PEG helps to understand P6, not the other way around 07:29
Woodi so maybe maybe security should be written close to GUI/input ?
module with "checks" for input, using regex/grammar or even MOP-y based added behaviours for get/lines/recv ? module used with "use", kind of -T from v5 07:32
eiro ohh sure! but that's not the point! i want to write a lib that parses a text and i want it at least in perl5, perl6, python. as i will use a PEG and as perl6 is a target, i thought pegex wasn't optimal for my problem.
sorear Woodi: implementing sandbox is near impossible for exactly those reasons. better to implement it at a lower level, restrict what the application can do
eiro my dream was: write in perl6, use in perl5 and python
(in perl6 as well)
Woodi sorear: that's my point
Su-Shee Woodi: that would be a horrible design. security/grants/permissions - all these decisions should already been made down below before you even display anything remotely interface-ish. 07:33
sorear eiro: talk to ingy, that's what pegex and c'dent is for
Woodi no sandbox so something close-to-GUI can be used. kind of good practice
diakopter sorear: I guess you didn't see eiro's original question
1.08 hours ago
:) 07:34
Woodi Su-Shee: why horrible before ever designed ?
eiro sorear, hehe. and that was my first question: why pegex exists when he's aware of perl6
there must be a technical issue i don't understand
diakopter++
Woodi I do not said "do sandbox-in-high-lvl" but "do-filtering-with-module" 07:35
diakopter eiro: well, the p6 compilers don't compile to p5/python
07:35 wooden joined
Woodi rereads and what hi sayd could be read that way... sorry 07:36
eiro diakopter, not even just the grammar ? no way to introspect it?
diakopter (though STD/viv do of course, but it's just for the parser. So I guess if you wrote viv backends for python/etc you could get what you want)
Su-Shee Woodi: because this is a well-known question which has been discussed in detail at least since 1978. A GUI is an information editing/displaying engine, nothing more. it doesn't decide on anything security-like. the security on the contrary decides what an interface is allowed to show. and it does just that: "show stuff" AFTER the decision is done in lower levels of your software. 07:37
Woodi: read the orginal smalltalk model-view-controler paper.
+l
eiro Grammar.new( 'rx.p6' ).as_yaml.say
diakopter eiro: nqp provides a way to supply your own actions to a grammar; I don't know if rakudo does
eiro argghh... i was affraid of that :) ENOTIME for the moment but i need the result 07:38
so yes: i'll fallback to pegex
Woodi I was proposing something close to GUI not GUI with sandbox
07:38 marmay_ joined, leont joined
eiro thanks all for answers 07:38
Su-Shee Woodi: read up on the problem.
Woodi I know MVC, controler need to do filtering - preferably by "use SomeSecModule" 07:39
07:44 FROGGS joined 08:00 kurahaupo left
arnsholt diakopter: The NQP actions stuff is the same as in Perl 6 08:11
diakopter k 08:13
08:13 wamba joined
arnsholt eiro: There's no easy way to introspect grammars (assuming what you want is things like "which subrules does this rule call") 08:19
And, given that many of those things can be determined at runtime by things like <$subrule> and code interpolation, it's not really possible in the general case 08:20
08:20 Psyche^ joined 08:22 kresike joined
kresike good morning all you happy perl6 people 08:22
masak morning, kresike. 08:23
08:23 Patterner left, Psyche^ is now known as Patterner
kresike hello masak o/ 08:23
masak eiro: I just meant I don't think it captures the whole truth that Perl 6 implements a PEG. but I might be wrong on that, and it might be subject to interpretation. 08:24
08:25 wooden left
brrt morning kresike 08:26
kresike hello brrt o/
08:30 wooden joined, wooden left, wooden joined
brrt for those who care, the fix in parrot 4.8.0 to prevent parrot from dying twice, does not prevent parrot from dying twice, it allows it :-) 08:31
if an embedding application has multiple interpreters, and one of them dies, it used to be the case that the second interpreter dying would not be reported to the embedding application 08:32
this is now fixed
thus allowing you to do something useful with the resulting exception object, twice 08:33
(or more than once, anyway)
eiro arnsholt, masak thanks for those answers. that was my guess but perl6 is so astonishing i prefer don't bet before asking
08:47 dakkar joined 09:01 yves_ joined 09:04 marmay_ left
dalek : 53e9d0d | (Konrad Borowski)++ | docs/feather/~/index.html:
Update perlcabal.org/~/
09:09
masak I notice today is Release Day and we don't have a release manager. 09:13
I volunteer.
(unless someone else wants to do it more than I do, in which case I gladly step down) :) 09:14
moritz masak: go for it 09:23
masak edits the release guide
dalek kudo/nom: 69910dc | masak++ | docs/release_guide.pod:
[docs/release_guide.pod] I'll do September
09:27
masak I'll get to it this evening.
in the meanwhile, please think of an appropriate release name ;) kthx
dalek kudo/nom: 94f900b | moritz++ | docs/release_guide.pod:
fix a typo
09:31
moritz ah, that's usually the hardest part of doing a release :-)
the release name
you could always name it 'Perl', you know :-)
09:32 mucker left
masak :D 09:33
wk Ooh, i had not noticed, that we had release named Tallinn 09:34
thank you, Masak
masak wk: you're welcome. and thank you for being so awesome, Tallinn. :) 09:35
wk masak: when you were here last time? 09:37
masak after YAPC::Europe last year. 09:38
wk: you were just celebrating Estonia's second independence! in a big park in the outskirts of Tallinn.
a huge crowd. thousands of white balloons. awesome.
wk masak: 21th August this year? 09:39
masak no, 2011. 09:40
wk masak: ok, 20th anniversary, after YAPC in Riga
masak aye. 09:43
jnthn and I went north up to Tallinn, and flew back home from there. 09:44
I have relatives in Tallinn. we visited them.
moritz: I'm not happy with the intermediate state unquotes are in in the nom branch. pros and cons of reverting the latest changes and relegating them to a branch? 09:46
09:49 fhelmberger left
moritz masak: what were the latest changes? 09:55
the typed exceptions for splice typecheck failures? 09:56
masak oh, I don't mind those.
moritz keep it
09:56 leont left
masak I'm thinking more about allowing unquotes at all while giving them the wrong scoping. 09:56
moritz nobody uses macros yet, and we know they are experimental
lunch&
masak ok, good. 09:57
I'll leave them.
I'm starting to have a plan for how to do them right... but $work is sucking up unusually many tuits right now.
10:01 wamba left 10:07 hypolin left 10:12 wamba joined 10:13 [hds] joined, [hds] left 10:22 anuby left 10:24 yarp left 10:29 brrt left 10:38 kurahaupo joined 11:05 Su-Shee_ joined 11:09 Su-Shee left, kurahaupo left 11:10 gootle left 11:12 mucker joined, Su-Shee_ is now known as Su-Shee 11:15 gootle joined 11:17 fhelmberger joined 11:20 gootle left
jnthn +1 to leave macros in master 11:21
*no* feature tends to be spot on during its first iteration
Well, maybe some of the ones Pm puts in are. But none of mine are. :D
s/master/nom, our spiritual master/ 11:22
11:22 fhelmberger_ joined 11:23 fgomez left 11:26 fhelmberger left
moritz jnthn: masak and me also tend to find bugs in the features that pm implements :-) 11:27
masak oh, don't worry. we do. 11:29
the best Pm bug that I've found has a long ticket on RT. I'm not sure it's resolved yet, actually.
it was about a leaky optimization. 11:30
jnthn nothing beats comet and snowman bug though :P
11:32 fhelmberger joined 11:33 brrt joined 11:34 fhelmberger_ left
moritz
.oO( double bacon bug! )
11:36
tadzik oh yes 11:37
jnthn that was also pretty good :)
My students are currently writing a reverse polish evaluator in C#. Who can write one in Perl 6 that fits in a p6eval line? :) 11:39
masak what should it contain? numbers, + - * / ? 11:41
jnthn right
tadzik p6eval: given '22+3* { my@s; for .comb { if $_ ~~ /\d/ { @s.push($_) } else { @s.push(eval "{@s.pop} $_ {@s.pop}}") } } say @s.perl }
r: given '22+3* { my@s; for .comb { if $_ ~~ /\d/ { @s.push($_) } else { @s.push(eval "{@s.pop} $_ {@s.pop}}") } } say @s.perl }
p6eval rakudo 94f900: OUTPUT«===SORRY!===␤Confused␤at /tmp/2Z2RtLYGi7:1␤»
tadzik dang
r: given '22+3*' { my@s; for .comb { if $_ ~~ /\d/ { @s.push($_) } else { @s.push(eval "{@s.pop} $_ {@s.pop}}") } } say @s.perl } 11:42
p6eval rakudo 94f900: OUTPUT«===SORRY!===␤Unable to parse blockoid, couldn't find final '}' at line 2, near "for .comb "␤»
tadzik yay 11:43
r: given '22+3*' { my@s; for .comb { if $_ ~~ /\d/ { @s.push($_) } else { @s.push(eval "{@s.pop} $_ {@s.pop}") } } say @s.perl }
moritz r: $_ = '22+3*'; my @s; for .comb { if m/\d/ { @s.push: $_ } else { @s.push: eval "{@s.pop} $_ {@s.pop}" } }
p6eval rakudo 94f900: OUTPUT«===SORRY!===␤Unable to parse blockoid, couldn't find final '}' at line 2, near "for .comb "␤»
rakudo 94f900: ( no output )
tadzik r: given '22+3*' { my@s; for $_.comb { if $_ ~~ /\d/ { @s.push($_) } else { @s.push(eval "{@s.pop} $_ {@s.pop}") } } say @s.perl }
p6eval rakudo 94f900: OUTPUT«===SORRY!===␤Unable to parse blockoid, couldn't find final '}' at line 2, near "for $_.com"␤»
moritz r: $_ = '22+3*'; my @s; for .comb { if m/\d/ { @s.push: $_ } else { @s.push: eval "{@s.pop} $_ {@s.pop}" } }; say @s[0]
p6eval rakudo 94f900: OUTPUT«12␤»
moritz there you go 11:44
tadzik nice
moritz though tadzik++ did all the hard work :-)
tadzik and all the syntax errors :P
11:45 satyavvd left
masak hm, I would've thought '22' would mean 22, not two 2s :) 11:45
masak is definitely not having sour grapes because he didn't get there first 11:46
tadzik masak: \details, \details
masak 5~:P 11:49
:P
11:50 yarp joined
tadzik r: given '33 22+3*' { my@s; for $_.comb(/\d+|\D/) { if $_ ~~ /\d/ { @s.push($_) } else { @s.push(eval "{@s.pop} $_ {@s.pop}") } } say @s.perl } 11:50
p6eval rakudo 94f900: OUTPUT«===SORRY!===␤Unable to parse blockoid, couldn't find final '}' at line 2, near "for $_.com"␤»
tadzik dang
r: $_ = '33 22+3*'; my @s; for .comb(/\d+|\D/) { if m/\d/ { @s.push: $_ } else { @s.push: eval "{@s.pop} $_ {@s.pop}" } }; say @s[0]
p6eval rakudo 94f900: OUTPUT«Element popped from empty list␤ in method Str at src/gen/CORE.setting:9842␤ in method Stringy at src/gen/CORE.setting:753␤ in block at /tmp/I2DL11wU5I:1␤ in method reify at src/gen/CORE.setting:5217␤ in method reify at src/gen/CORE.setting:5119␤ in method re…
tadzik I'll just get back to work ;)
11:53 am0c left
moritz r: $_ = '22+3*'; my @s; for .comb(/\d+ | <[+*/\-]> /) { if m/\d/ { @s.push: $_ } else { @s.push: eval "{@s.pop} $_ {@s.pop}" } } 11:55
p6eval rakudo 94f900: OUTPUT«Element popped from empty list␤ in method Str at src/gen/CORE.setting:9842␤ in method Stringy at src/gen/CORE.setting:753␤ in block at /tmp/5VHApSl8oW:1␤ in method reify at src/gen/CORE.setting:5217␤ in method reify at src/gen/CORE.setting:5119␤ in method re…
moritz the problem with tadzik's code is that \D matches the whitespace too
tadzik ah
11:55 gongyiliao left
tadzik troo 11:55
r: $_ = '33 22+3*'; my @s; for .comb(/\d+|\w/) { if m/\d/ { @s.push: $_ } else { @s.push: eval "{@s.pop} $_ {@s.pop}" } }; say @s[0] #pleasepleaseplease
p6eval rakudo 94f900: OUTPUT«33␤»
tadzik naah
11:57 JimmyZ joined
Timbus r: $_ = '33 22+3*'; my @s; for .comb(/\d+|\S/) { if m/\d/ { @s.push: $_ } else { @s.push: eval "{@s.pop} $_ {@s.pop}" } }; say @s[0] 12:00
p6eval rakudo 94f900: OUTPUT«165␤»
moritz \S is good thinking 12:03
a cow-orker presented me an internal gitlab installation (open source subset-clone of github). I found a bug in the first 3 minutes :-) 12:09
(I pushed a project without a master branch; gitlab didn't cope with that. It has been fixed upstream yesterday) 12:10
jnthn r: sub rpn($s) { my @s; @s.push(/\d+/ ?? +$_ !! ::("&infix:<$_>")(@s.pop, @s.pop)) for $s.words; @s[0] }; say rpn '5 2 + 3 *' 12:11
p6eval rakudo 94f900: OUTPUT«21␤»
tadzik nice
jnthn coffee and cake break! :) 12:12
colomon finally has a Linux which can run Niecza! o/ 12:14
Timbus ::("&infix:<$_>")
well thats just freaking awesome 12:15
moritz didn't use .words because it requires ws around ops 12:17
masak moritz: maybe .comb can be used to split out ops from runs of digits? / \d+ | <[+-*/]> / 12:19
moritz masak: that's what the \d+ | \S reges by Timbus++ did 12:22
masak oh! 12:25
that's what I get from backlogging partially.
yeah, probably better to \S and then default and error out on something unknown.
which git hooks are connected with the Rakudo repository? 12:34
does Niecza have any git hooks?
moritz both have dalek push hooks 12:35
masak I guess those hooks sit over at Github. 12:36
moritz yes 12:38
masak: any particular reason for asking?
[Coke] yawns. 12:41
12:47 spider-mario joined
masak moritz: yes. the thing at $dayjob that's taking up my time right now is constructing a Git course. I'm looking for real-world examples of everything between heaven and earth (including hooks), that I can use in the course material. 12:49
moritz masak: $work has a git hook that disallows non-fast-forward pushes 12:51
12:51 yarp left
moritz masak: and disallows deleting of several branches (master, dev, bugfix, next) 12:51
masak likes is-prime, but votes for the $tries parameter to be named, not positional 12:52
is-prime( :tries(100) ) reads better than is-prime(100)
moritz: both of those use cases are nice. thank you. 12:53
JimmyZ Is there a usecase for is-prime? 12:57
masak JimmyZ: my guess is that TimToady has encountered use cases for both it and expmod during his adventures in RC-land. 12:58
JimmyZ RC-land?
moritz rosettacode 12:59
though you need it for project euler too :-)
13:00 wamba left
JimmyZ r: my $r = 'a'; my $b = 'r'; say $$$$b 13:01
p6eval rakudo 94f900: OUTPUT«r␤»
masak that's a very rich variable. 13:02
maybe even part of the 1%.
13:04 PacoAir joined
JimmyZ Is there a way something like $$b to get $r 13:04
[Coke] wonders if is-prime would be core or modulastic. 13:05
masak [Coke]: well, it's core now. 13:06
by spec.
[Coke] That seems crazy to me. 13:07
JimmyZ r: my $r = 'a'; my $b = 'r'; say eval "\$$b"
p6eval rakudo 94f900: OUTPUT«a␤»
masak r: my $r = 'a'; say $::("r") 13:08
p6eval rakudo 94f900: OUTPUT«a␤»
masak r: my $r = 'a'; my $b = 'r'; say $::($b)
[Coke] especially if the answer is "it depends".
p6eval rakudo 94f900: OUTPUT«a␤»
JimmyZ nice, that's what I want
masak [Coke]: I don't know enough about tht algorithm to agree or disagree. 13:09
moritz determining primality is one of these things where there's no one good solution yet, and research ongoing
putting something in core for that seems questionable 13:10
though I understand the motivation behind it
[Coke] what is the motivation?
moritz more elegant rosettacode solutions 13:13
masak I always thought a constant list `primes` would go in before `&is-prime`, for some reason.
moritz well, generating a list of primes is even more difficult than &is-prime
PerlJam not if it's primes-less-than-1000 or so :) 13:14
(good morning btw)
moritz good morning PerlJam 13:15
PerlJam even if it's not primes-less-than-1000, it's a one-time cost to generate them and store them. Each release of Perl 6 could update that list :)
13:16 wk left
moritz slaps PerlJam 13:16
13:17 benabik left
masak "pull yourself together!" 13:17
PerlJam hugs moritz *hard*
masak there aare not many things you get slapped for on #perl6... but apparently joking about lists of primes is one :P 13:18
13:18 PacoAir left, atrodo joined, PacoAir joined 13:25 gongyiliao joined
jnthn
.oO( PerlJam's idea shows he sure ain't in his prime on a morning... )
13:25
PerlJam :-P
sirrobert could just use an Acme::Primes module =) import a big list of primes if you need them. 13:27
PerlJam Though, I also question TimToady's judgement in naming ... "is-prime" contains far too much certitude for a probabalistic test. Perhaps it should be called "maybe-prime" and return a confidence as well as a boolean 13:28
sirrobert sub maybe-prime { return True }; 13:29
brrt sub maybe-prime { return True, 0.1 } 13:30
or what is the ratio of prime numbers to non-prime-numbers?
moritz depends on how far up you go
sirrobert =)
hoelzro 1-10 it's 40% =) 13:31
1-7 it's 4/7
sirrobert primes.utm.edu/howmany.shtml
13:32 GlitchMr joined, skids joined
masak probably-prime 13:32
most-likely-prime
i-poked-it-it-is-prime 13:33
hoelzro trust-me-its-prime
sirrobert odds-of-primacy-are-greater-than-80-percent
tadzik masak++ # fotc reference
moritz here's-my-prime-number-mr-crazy
masak knew tadzik would like it :)
jnthn primeval # 'cus it evaluates whether it could be a prime
tadzik I started my morning with Business Time 13:34
masak tadzik: TMI
tadzik ...if you know, what I mean :P
I just meant the song!
you insensitive clod :P
masak :P
masak decommutes 13:35
13:48 am0c joined
[Coke] it is somewhat depressing to just be getting started on the real work of the day and having people heading out. :) 13:51
jnthn [Coke]: Move west! :P 13:52
er, dammit
Move east!
moritz or move far enough west :-) 13:55
dalek c: a6f3177 | (Felix Herrmann)++ | lib/Int.pod:
[Int] add is-prime and expmod
13:57
13:59 flightrecorder left 14:00 pmurias joined
pmurias jnthn: what does pastie.org/4760291 14:01
14:01 colomon left
pmurias mean? 14:01
14:01 flightrecorder joined, FROGGS left, thou joined
pmurias jnthn: I'm using classes (in to different files, one used from the other) not knowhows 14:02
14:02 stopbit joined
pmurias jnthn: putting them in a single file "fixed" the problem 14:03
14:08 wamba joined 14:11 kaleem left 14:14 FROGGS joined, thou left 14:19 colomon joined 14:21 wamba left 14:25 benabik joined 14:28 leprevost joined 14:30 wamba joined 14:36 kaare_ joined 14:41 thou joined
timotimo Cannot add tokens of category 'postcircumfix' - but i want my .o( ) postcircumfix operator! for when i want to make my variables think stuff :( 14:42
masak our implementors are currently busy. thank you for waiting. 14:44
timotimo r: multi infix:<.oO>($a, $b) { $a }; my $a = 10; say ($a .oO "I should see if i'm an odd number") mod 2 == 0; 14:46
p6eval rakudo 94f900: OUTPUT«True␤»
timotimo i think that's cute
.o(actually, s/odd/even/ or s/0/1/ ... 14:49
shame on me!)
masak r: my $a = 10; say $a %% 2 14:50
p6eval rakudo 94f900: OUTPUT«True␤»
timotimo of course there's an operator for that :S
masak timotimo: also, don't use infix:<mod> until you've read up on it in the manual. ;)
it... may not do what you think.
14:52 benabik_ joined 14:53 JimmyZ left 14:55 benabik left, benabik_ is now known as benabik 15:00 benabik_ joined 15:01 Timbus left 15:02 Timbus joined 15:04 sqirrel joined, benabik left, benabik_ is now known as benabik
TimToady masak: I don't think is-prime is terribly misnamed when the default number of tries reduces the probability of error to 4⁻¹⁰⁰ 15:08
15:09 yarp joined
masak yeah. people are a little too wary of probabilistic algorithms sometimes. 15:10
TimToady: how fast is it to make 100 trials?
TimToady not so fast that one isn't tempted to reduce the number :)
PerlJam masak: "God does not play dice"
skids r: multi postfix:<ȯO> (\a) { sub { "{ \a } thinks $^t".say } }; my $a = 10; $aȯO("must find a better nonperiod period"); #for timotimo 15:11
p6eval rakudo 94f900: OUTPUT«===SORRY!===␤Variable $aȯO is not declared␤at /tmp/_AyJQWrmTJ:1␤»
skids whoops.
TimToady but then if you reduce the number of tries, you supposedly have at least read the documentation for what the argument does
sometimes a rough idea of primality is all you need
masak PerlJam: not a very apt quote, since scientific consensus seems to have landed very much against Einstein on that.
skids r: multi postfix:<…O> (\a) { sub { "{ \a } thinks $^t".say } }; my $a = 10; $a…O("must find a better nonperiod period"); #for timotimo
p6eval rakudo 94f900: OUTPUT«10 thinks must find a better nonperiod period␤»
masak TimToady: how about the argument that $tries should be made :$tries ? 15:12
PerlJam masak: I still can't think of a better person to emulate :)
TimToady the run time also depends on the number in question, since modular exponentiate is iterative 15:13
masak PerlJam: you should apply for a job at a patent office, then.
TimToady: I suspected that.
TimToady *nentiation
PerlJam (at least as far as thinking about things goes ... his personal life wasn't much in the way things to emulate)
TimToady in rosettacode.org/wiki/Find_largest_l...ase#Perl_6 I'm only using *one* try
PerlJam masak: I'm not swiss ;) 15:14
TimToady (for the big numbers)
because for some reason the actual problem seems to not amplify mistakes
timotimo when the chance of the algorithm being wrong is lower than the chance of getting hit by a comet, then i say: good enough 15:15
TimToady and just checking a few candidates at the end is pretty certain to find a real solution
well, I use 100 tries for the initial seeding and for the final check of all the truncated primes
15:16 Patterner left
TimToady I think the reason it works is because choosing a composite in place of a prime does not confer any advantage over its "children" as its generating longer candidates, so the list of final candidates tends to contain largely unrelated candidates of similar length 15:18
masak timotimo: or, more importantly, lower than a stray cosmic ray hitting the bit representing the boolean result and flipping it.
TimToady the actual solution is guaranteed to be generated, and the only uncertainty is whether we actually throw it away by not including it in the list of finalists for strict checking
15:19 yarp left
TimToady anyway, it seems to generate correct results up through base 17 15:19
15:20 spider-mario left
TimToady the base 18 I was running earlier blew up mono; I'm running it again to see if that was a fluke 15:20
I'd run it in rakudo, but I'm waiting for is-prime to use the version from libtommath before I attempt that 15:21
15:21 spider-mario joined
skids masak++ lol. 15:21
TimToady the current Perl-6-based is-prime in rakudo is too slow to be practical for base 18
15:22 wtw left
TimToady it already takes several days of CPU time on my "supercomputer" in mono, and rakudo runs the algorithm slower 15:22
jnthn decomute & 15:23
TimToady I could run it about 4 or 5 times faster with real parallel hypers...
15:28 flussence left, flussence joined
kresike bye all 15:29
15:29 kresike left
timotimo there's lots and lots of items on the todo list before parallel hypers hit rakudo or niecza? 15:32
masak .oO( depends if we do things in order on the todo list ) :P
flussence
.oO( oh cool, that's the first time I've noticed 200+ users here. )
masak flussence: I count 199 nicks in here. 15:33
well, irssi does.
PerlJam maybe flussence sees some invisible users that we don't
flussence maybe my irssi's broken :)
masak .oO( I see dead nicks ) 15:34
timotimo masak: well, that's true. but there's a little bit of DAG going on there, too, isn't there? 15:35
TimToady actually, the RC algorithm doesn't even need hyper, race would be good enough, since we don't care about the order of results, since each iteration is just a set of numbers
colomon TimToady: what brought on is-prime? 15:38
TimToady rosettacode.org/wiki/Find_largest_l...ase#Perl_6
and the fact that libtommath already has one :)
masak timotimo: well, yes. real hyper ops are probably blocking on a more solidly implemented concurrency model.
15:40 estrabd joined, estrabd left
timotimo i wonder why there's no syntax highlighting in that code example. i seem to recall seeing syntax highlighting for perl6 on other pages of that wiki 15:40
or maybe i've hallucinated that
15:41 estrabd joined
TimToady no, it seems to be broken there, but all my css from RC seems hosed at the moment 15:41
I cleared my browser cache, and now it's highlighting correctly 15:43
timotimo indeed it is 15:45
15:46 fhelmberger left
flussence odd, that's the first time I've seen p6 syntax-highlighted better than another language in one place... 15:46
timotimo pow' is a poor choice for that silly syntax highlighter 15:47
as is n'
15:57 thou left 16:00 brrt left, birdwindupbird joined 16:02 birdwindupbird left, birdwindupbird joined
TimToady When all you have is a machine shop, everything starts to look like it wants a custom tool. 16:03
I'm referring to the leap from BUILD to MOP to grammar mod at irclog.perlgeek.de/perl6/2012-09-19#i_6002309 16:05
when probably all you need is a function that does what the default BUILD does, callable from your BUILD
pmichaud good morning, #perl6 16:06
masak pmichaud! \o/
TimToady the extra arguments do show up in %_, after all
pmichaud: o/ 16:07
masak timotimo: good point. will need to digest that, though.
pmichaud TimToady: enjoyed your tweets about the 47% :-)
16:07 markov1 joined
TimToady yes, well, I was on a roll... 16:08
16:08 stopbit_ joined, stopbit left
masak you Usonians sure seem to like your percentages... 16:08
TimToady only 99% of us do
masak :P
pmichaud sentiment in my household has been much the same. It's a little weird for us, too, because nearly all of our extended family are strong Romney backers, and all of them receive some sort of government assistance :-) 16:09
masak slackers!
:P
TimToady yes, well, fact is that in the US rich people make more money off of tax breaks than poor people do :)
perigrin technically they make more money full stop than poor people do 16:10
TimToady is also mostly embedded in conservative culture, which seems to have moved out from under him, leaving him stranded as a moderate
perigrin it makes playing the percentages easier.
pmichaud TimToady: yeah, I'm in the same boat (stranded) 16:11
perigrin a lot of conservatives feel that way too ... from my perspective you're one of the most liberal conservatives I've met :)
(both of you actually)
masak +1
pmichaud well, the state I live in has a lot to answer for these days :-P 16:12
TimToady I might turn into a conservative liberal if this keeps up. :)
perigrin there are worse things to be than someone who thinks that history has meaning but we should take care of each other. 16:13
16:13 MayDaniel joined
masak .oO( 50 shades of the GOP ) 16:14
pmichaud alas, the GOP is more O than G these days. :-)
perigrin pmichaud: my state is trying to give yours a run for it's money. 16:15
TimToady what really gripes me is when the pollsters lump me in with all the other "old white males"...
masak better than being lumped with the dead white males... 16:16
TimToady working on that...
pmichaud perigrin: perhaps, but we have W, Ron Paul, and "oops".
flussence
.oO( better than being thrown in with the great white sharks... )
perigrin pmichaud: We have Rubio, Scott, and W's brother ... 16:17
like I said ... trying to give you a run for your money :)
pmichaud Jeb actually sounds reasonable to me.
TimToady because he's *not* running, which is very reasonable :)
pmichaud lol
perigrin His first two weeks as Governor he violated our goverment transparency laws.
TimToady but yes, he seems sane
or at least saner, on average 16:18
perigrin Damning with faint praise there. :)
perigrin was not impressed with him as Governor ... but also spent most of that time living over-seas. 16:19
TimToady well, this is all rather off-topic, even if rather topical 16:20
huf but how else would i know to like or dislike perl6 if i dont know the political leanings of the core people working on it? :) 16:21
perigrin hyper-politics operators ... you can lean all directions at once and they'll reify at runtime.
TimToady we tend to be foaming-at-the-mouth moderates, with a large standard deviation :)
pmichaud huf: we're all folks who believe there are multiple answers to the same question. 16:22
TimToady you can say that again
that goes without saying
huf :)
16:22 flightrecorder left
huf i'm sure he can say it again, but exactly how many times? 16:22
i must know!
perigrin huf: it's a lazy list. 16:23
16:23 FROGGS left
huf eh, that way lie the too-easy political jokes, i'll skip those :) 16:23
masak moritz: heh, I also just found the typo you fixed in 94f900b. ;) 16:31
16:38 crab2313 joined 16:51 mucker left, dakkar left 16:54 wk joined
skids
.oO(Cat should be implemented ASAP just so we (<can>,<haz>).lol.cat.say)
16:59
17:02 thou joined
TimToady pictures a lolrat 17:02
skids Iz in yer wallz chewin yer wirez 17:03
not as endearing
TimToady tough job, but someone has to do it
masak tough... and not without risks. those wires are hot! 17:04
TimToady The wires are only half as hot, which is why Norwegian rats do so well here. 17:06
masak Norwegian rats do well almost anywhere. :) 17:09
(and they've emigrated from Norway because the beer prices were too high) 17:10
TimToady I guess rats are subject to notchewall selection... 17:11
masak :P
17:14 xinming_ joined 17:15 crab2313 left, flussence left, crab2313 joined, raiph joined 17:17 xinming left 17:18 flussence joined 17:19 flussence left 17:20 leprevost left
moritz wonders if expmod should be an infix operator 17:22
masak **% 17:23
actually, I wonder if it should just be a guaranteed optimization...
17:28 pmurias left
diakopter wonders what "portable Perl 6 code" will look like 17:35
obviously least common denominator syntax 17:36
but style of writing I'm wondering about
TimToady masak: yes, I have wondered that also 17:43
masak oh, good. 17:44
TimToady though you might want more type inference for that to work out well...
masak maybe. 17:47
17:49 flightrecorder joined, FROGGS joined 17:53 sivoais left, benabik left
raiph hi all. has anyone reading this used the summary backlog instead of reading the full backlog? 17:55
moritz $ /perl6 -e 'say 3.expmod(2, 8)'
1
$ ./perl6 -e 'say 3.expmod(2, 100)'
9
raiph: I've done that today 17:56
or yesterday, not sure
moritz is a bit confused these days
TimToady moritz: is that tying into the tom code? 17:57
moritz TimToady: yes
method expmod(Int:D: Int:D \base, Int:D \mod) {
nqp::expmod_I(self, base, mod, Int);
}
TimToady cool
masak moritz++
raiph moritz: instead of or as well as?
TimToady I saw those routines, and figgered it was a simple matter of nqp
moritz though probably missing some decontainerization 17:58
17:58 benabik joined
moritz raiph: so far I've settled with reading the summary, and later the full backlog if I have time 17:58
TimToady feels obligated to read everything always, for some strange reason 17:59
TimToady would not make a good President
raiph moritz: \o/ :)
moritz raiph: my hope was that you (or somebody else) would copy&paste the HTML from the IRC logs and add some headings to it
and split it up into sections
but the current state is better than nothing, and i hope it doesn't burn out our summarizers 18:00
sorear good * #perl6 18:01
18:02 zby_home_ joined
moritz masak: I think I should wait with my expmod and is-prime changes until after the release 18:02
make: *** [src/stage1/QAST.pbc] Segmentation fault 18:03
eeks
not reproducible though
benabik Cosmic ray. No worries. ;-)
TimToady greets sorear with an amish californian greeting... 18:04
masak moritz: agreed.
sorear! \o/
18:11 thou left 18:12 birdwindupbird left 18:13 kurahaupo joined 18:15 birdwindupbird joined
masak ok, all y'all wonder full people. 18:28
wonderful*
are you ready to go into Rakudo release mode? :D
moritz the question is if *you* are ready :-) 18:29
TimToady we're always ready for you to go into release mode, you insensitive clod!
masak well, then. release mode it is.
masak flips the big "RELEASE MODE" switch 18:30
FROGGS the huge red one?
TimToady hears a humming sound...
masak yah. that one.
FROGGS the "there-is-no-going-back" nob?
masak also, I'll note that I've been called an insensitive clod twice today.
moritz $ ./perl6 -e 'say grep *.is-prime, 1..100'
1 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
TimToady masak: yes, I was parodying that
FROGGS hehe, so it must be true ;o)
masak TimToady: not sure the first time was well-deserved either :P 18:31
PerlJam masak: you insensitive clod! (thrice! :-)
masak FROGGS: no, no. three times means true.
dang.
PerlJam :-)
TimToady it's one of those things I wouldn't say if it were true...
moritz I... didn't expect the libtommath is_prime check to return True on 1
masak moritz: I *knew* it!
TimToady hmm
masak it alwasy *felt* like a prime to me :P
no matter what people said... 18:32
rurban Note that I fixed the broken imcc optimizer for constant encoded strings yesterday, but it's only in a parrot branch. github.com/parrot/parrot/issues/837
TimToady well, it is divisible by itself and 1
PerlJam looks like a prime, acts like a prime, smells like a prime ...
pmichaud rurban++
PerlJam
.oO( duck priming? )
masak TimToady: so are all primes.
moritz PerlJam: but it doesn't quack like a prime
pmichaud detects the awesome rakudo release machine spinning up 18:33
rurban parrot 4.9.0 will cpontain it but I try to fix the internal representaiuon of enconded string in SREG's also. It's 4x times slower currently
masak let's see if this time I manage to get the nqp release right...
pmichaud masak: there are a new set of nqp release instructions, so it should be better this time. (courtesy of mtmh2012
masak moritz: be prepared to remind me of whatever it is I've forgotten both recent times.
moritz rurban++ # fixing stuff
masak pmichaud: oh, good.
All tests successful. 18:34
Result: PASS
\o/
moritz masak: nqp tarball? bumping NQP's VERSION and Rakudo's VERSION?
masak moritz: I don't remember. :)
sorear if you make 1 a prime, you lose unique factorization.
-1
pmichaud the nqp tarball is now created by doing "make release"
rurban I think I can optimize string encoding held in registers or constants by factor 4
PerlJam looks at NQP's release instructions (I believe I volunteered for next month's release)
masak sorear: I wasn't being serious.
PerlJam pm: nice 18:35
moritz I can't make 1 a prime, and i guess nobody can :-)
rurban calling conventions not sure yet, but it should be doable also.
sorear rurban: is this part of the imcc optimization enabled by default? if not, does rakudo enable it?
pmichaud double-checks that nqp release document was indeed updated. 18:36
rurban it's internal in constant folding. it's also that SREG's and const strings cannot hold the encoding information efficiently at all. We need to redesign it.
masak peeps. release name. seriously.
focus! :P
18:36 spider-mario left
sorear masak: Stavanger? 18:36
masak ooh 18:37
rurban But it looks easy to do. See github.com/parrot/parrot/issues/83...nt-8717966
pmichaud is there a Stavanger.pm, though?
sorear or was that used already
TimToady have we used Tokyo or Edo? (YAPC::Asia coming up...)
rurban p.stolen
masak pmichaud: doubt it. neither is there a Perl.pm, sadly.
rurban Preikestolen
masak that would be wonderfully confusing.
pmichaud well, I figure we could create a Perl.pm :-)
PerlJam masak: #56? :)
masak PerlJam: you're being very helpful there.
rurban or Pulpit Rock
TimToady ooh, I just saw that 18:38
PerlJam Release names are always the hardest part.
pmichaud I'd be fine with Tokyo.pm
[Coke] which is why we shouldn't use them. :P
PerlJam [Coke]: ding!
pmichaud since jnthn++ will be attending, iirc
masak going with "Tokyo" for now.
pmichaud ...is there a reason why the release guide has release #55 labeled as "Frankfurst"? (note the extra 's')
masak phew, hardest part is over :)
pmichaud: git pull 18:39
pmichaud: as to the reason, I guess moritz was thinking of food at the time :P
pmichaud lol
skids r: class A { multi method m (:$f) { "f".say }; multi method m (:$g) { "g".say } }; my A $a .= new(); $a.m(:f);
p6eval rakudo 94f900: OUTPUT«f␤»
18:39 thou joined
skids Believe it or not that's broken in star08 18:40
pmichaud there is a "#Perl.pm", however! www.pm.org/groups/665.html
skids Probably got fixed along with the constraints?
masak o.O
sorear quick, somebody start a PM group in Frankfurt (Oder) to confuse things
masak tempted to switch over to "Perl" as a release name, then.
we can do Tokyo next month, when jnthn++'s been there.
pmichaud not sure how '#Perl.pm' is, though -- but it does appear in pm.org's "active groups" list :) 18:41
PerlJam masak: That sounds perfect ... for me :)
pmichaud looks through the other list of groups for more names 18:42
[Coke] star: class A { multi method m (:$f) { "f".say }; multi method m (:$g) { "g".say } }; my A $a .= new(); $a.m(:f);
p6eval star 2012.07: OUTPUT«Ambiguous call to 'm'; these signatures all match:␤:(A , :f(:$f), Mu *%_)␤:(A , :g(:$g), Mu *%_)␤␤ in method m at src/gen/CORE.setting:323␤ in block <anon> at /tmp/eN7sQqdMEy:1␤␤»
PerlJam Naming any release of Rakudo "Perl" is tempting fate a little I think. What confusion there could be!
skids Save it for the 1.0.0 release :-) 18:44
jnthn o/ from the train
sorear But we're on 56.0.0 now
dalek rl6-roast-data: b60f209 | coke++ | / (3 files):
today (automated commit)
jnthn this wifi is really greaNO CARRIER 18:45
[Coke] jnthn: back down to 2 rakudo fails.
PerlJam It would be funny if wifi dropping actually did generate "NO CARRIER" messages
skids sorear: just chalk that up to endianness.
pmichaud masak: I'll create the .msi version of the release later tonight or (more likely ) early tomorrow 18:46
sorear pmichaud: and we even have mst contributing :D
pmichaud sorear: indeed! mst++ 18:47
sorear re. #perl.pm
18:47 thou left
jnthn [Coke]: Yay :) 18:47
sorear bleh, the end of the month snuck up on me 18:48
rurban bad performance news from the parrot front. just benchmarked it against a different test and it looks like encoding SREG will not bring 4x times speed advantage. rather none. There are other things slowing it down 4 times. sprintf mostly.
18:52 Targen left
skids
.oO(someday I'll crack a NO CARRIER joke and nobody will get it because they are all too young. Sigh.)
18:54
18:55 kurahaupo left
jnthn skids: Just hang out with old people like me :P 18:56
18:56 sqirrel left
TimToady Get off my CARRIER!!! 18:56
masak tools/contributors.pl finds a contributor named "C". I don't know who that is. I don't find a corresponding author in the git logs. should I delete that entry? 18:57
tadzik C++
in the commit logs, I guess
skids Maybe it's sort of like the C locale. 18:59
sorear rurban: what kinds of things will become 4x faster after you're done?
19:00 fgomez joined
rurban I thought that SREG not holding STRING is slowing it down by 4x. Because I have to unesacpe, create a new string for the SREG with "encoding:"\unescaped string\"" as char *ptr. But a new benchmarks shows that its not worthwile fixing this. Rather fix sprintf. 19:04
But I'll research it.
dalek kudo/nom: c13ac5e | masak++ | docs/announce/2012.09:
[docs/announce/2012.09] added
19:05
masak people are welcome to review the announcement.
spotting typos, errors, etc.
dalek ecs: 1c74b86 | larry++ | S32-setting-library/Numeric.pod:
Assume Miller-Rabin certainty on composites

Pointed out by Martin D Kealey.
19:07
jnthn masak: is the move to a QAST-based NQP not worth mentioning? Or the new proto support? :) 19:09
rurban #56 "Perl" really? But I like the idea
19:10 crab2313 left
masak jnthn: they're in the ChangeLog. I removed them from the announcement as being "a bit internal". happy to be overridden on that point, though. 19:11
masak decides that "faster compiler" is worth having there 19:12
jnthn yeah, faster is always worth it 19:13
dalek kudo/nom: 738d1ea | masak++ | docs/announce/2012.09:
[docs/announce/2012.09] mention faster compiler
masak phenny: sv en "faster"? 19:14
phenny masak: "aunt" (sv to en, translate.google.com)
jnthn and the proto thing is actually a nice feature
GlitchMr "These are some possibly breaking changes:"
"- tie-breaking with constraints now picks the first matching one rather than demanding they be mutually exclusive"
Why it would be breaking
It wasn't working before, now it does
You could use this same argument for "Str.wordcase" - in 2012.08 Str.Wordcase didn't existed, it could break your 2012.09 if they depend on it to not existy 19:15
exist*
masak good point. 19:16
moving tie-breaking up to "new features".
GlitchMr Every change in dynamic language could be easily breaking 19:17
your code on 2012.09*
19:17 PacoAir left
dalek kudo/nom: 488521b | masak++ | docs/announce/2012.09:
[docs/announce/2012.09] tie-breaking is a feature

Not a breaking change. :)
19:18
19:19 PacoAir joined
skids
.oO(breaks ties, not code)
19:19
masak guess it prefers bowties.
19:20 flussence joined 19:21 PacoAir left, raiph left, PacoAir joined
[Coke] bowties are cool now. 19:22
dalek p: a318bd5 | masak++ | VERSION:
[VERSION] bump to 2012.09
[Coke] so, why is evalbot using a one-back star?
GlitchMr nqp 2012.09 :-)
skids [Coke]: At least now that we've all forgotten Tucker Carlson entirely. 19:23
[Coke] skids: ah, I was referencing Doctor Who. Yes, I had forgotten TC.
masak wonders if Tucker Carlson is ever going to forgive Jon Stewart 19:24
19:31 PacoAir left 19:32 PacoAir joined 19:33 PacoAir left 19:39 mdupont_ left, fgomez left, PacoAir joined
masak NQP 2012.09 uploaded. 19:40
dalek kudo/nom: bdb50f4 | masak++ | tools/build/NQP_REVISION:
[release] bump NQP revision
19:43
kudo/nom: 77defe7 | masak++ | VERSION:
[release] bump VERSION
href="https://glitchmr.github.com/perl6-changes:">glitchmr.github.com/perl6-changes: 8179af9 | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Add more Perl 6 changes to blog article.

Currently, the changes aren't too exciting compared to previous week, but we still have three days - who knows what will happen then... Besides, isn't Rakudo Star release awesome enough - I mean, it brings newest changes to useful and usable distribution of Perl 6 - you know, without installing Panda :-).
GlitchMr I know that links to `expmod` and `is-prime` aren't working, but I hope doc.perl6.org/ will update before I will merge it with `master` :-) 19:45
19:50 gongyiliao left
dalek p: e8a7719 | jonathan++ | docs/qast.markdown:
Document more of QAST.
19:51
19:52 sivoais joined
dalek href="https://glitchmr.github.com:">glitchmr.github.com: 92a60be | GlitchMr++ | / (2 files):
Fix footer on main page.
19:52
19:53 am0c left
masak all stresstests pass. 19:54
19:54 am0c joined
dalek href="https://glitchmr.github.com:">glitchmr.github.com: 7111f0d | GlitchMr++ | index.css:
Replace 0px with 0, 0px is ugly
19:54
masak make release VERSION=2012.09
GlitchMr I hope I don't spam this channel with commits to my blog
masak why do I have to pass VERSION here?
if I did everything right up to this point, the correct version is in the file VERSION, no?
when would I ever want to do a release with another version number than the one in the VERSION file? 19:55
jnthn Maybe the Makefile needs it for something
masak my point is that the Makefile can go look for it in the VERSION file. 19:57
oh well. it's not a big deal. it just feels redundant.
jnthn Yeah but that's probably hassle to (portably) implement :)
er, not that make release is portable anyway, I guess...
GlitchMr Also, my website breaks HTML standards and I seriously don't care 19:58
jnthn GlitchMr: You only break standards if you declare a doctype that says you are following them.
sorear which ones? 19:59
jnthn If you don't declare a doctype, you can do what you want, 'cus you promised nothing :)
GlitchMr I declare doctype for Strict Mode
<!DOCTYPE html>
Anyways, bye
19:59 GlitchMr left
jnthn o/ 19:59
bah, my battery is almost out and now the wifi improves
'cus we're back in Skane, of course 20:00
masak Rakudo 2012.09 uploaded to github.com/rakudo/rakudo/downloads
sorear you have wifi on the train but no electricity?
jnthn There's power but I have something else plugged in :D 20:01
though, that's probably charged
but also I'm almost home :)
masak p6c announcement sent. 20:03
jnthn masak++ 20:04
sorear masak++
jnthn Time to start making the next month's release awesome :) 20:05
masak en.wikipedia.org/wiki/Rakudo_Perl_6 updated. 20:06
standing down release mode.
masak celebrates with an imperial stout :)
PerlJam masak++
jnthn \o/
jnthn only has unimperial stout at home
in fact, I think my fridge only one beer o.O
Guess I gotta go shopping after work tomorrow :) 20:07
masak thank you all for participating in this months Rakudo release. 20:08
your cooperation is much appreciated.
20:12 estrabd is now known as estrabd_afk 20:14 zby_home_ left
dalek kudo/nom: adc2127 | masak++ | docs/release_guide.pod:
[docs/release_guide.pod] some future release dates
20:16
20:17 Chillance joined
flussence updates the other bit of the wiki page because masak++ forgot :P 20:17
masak oh! 20:18
thanks.
let's hope that was my one mistake this time ;)
dalek kudo/nom: ee7dfef | duff++ | docs/release_guide.pod:
Move masak's release from the future to the past
masak ah, right. the main text.
PerlJam: heh ;)
flussence++ PerlJam++ 20:19
masak comes to think of Kung Fu Panda
"yesterday is history, the future, a mystery... but today -- is a gift"
"that's why they call it 'the present'" 20:20
tadzik :D
PerlJam sage words from a cartoon
tadzik masak++ #release
masak \o/
masak is now having a stout and eating 77% chocolate from the Philippines 20:21
TimToady I suppose the chocolate makes the stout not taste bitter, and vice versa
sorear Is it blended with 23% Swedish chocolate to reduce importation costs? 20:22
skids Is there a non-fatal way to "use NotExistingPackage;" yet, other than BEGIN{ eval {...} }?
sorear skids: try { require NotExistingPackage; }
masak sorear: I don't know what the remaining 23% are. probably disgruntled Americans of some kind. :)
skids Ah. Right. Thanks sorear++. 20:23
sorear masak: eating Americans?
masak sorear: just referring back to my earlier comment today that Usonians seem unusually keen on percentages right now.
sorear it's like malaria 20:24
masak 1%, 99%, 47%...
sorear it flares up every four years like clockwork
masak :P
masak .oO( clockwork flares up every four years? )
diakopter clockwork * every * * 20:25
PerlJam Is that why it's orange?
masak cut the release just in time for the absurdist humor, it seems :) 20:26
[Coke] glitchmr: I am wondering why you post commits to your blog here. isn't it more interesting that your blog post is posted?
TimToady 14.3% of all colors are orange 20:27
--Roy G Bif
*Biv
masak r: say (100 / 7).fmt("%4.1f") 20:28
p6eval rakudo 77defe: OUTPUT«14.3␤»
masak yep.
TimToady pictures a fiolet flower
masak we're in fiolent agreement here.
sorear what probability measure do you use on colors? 20:29
it seems to me that you're only considering spectral colors
diakopter sorear: I think he just meant 1/7 of roygbiv
TimToady npr: sub postfix:<%>($x) { $x * 100 }; say (100% / 7).fmt("%4.1f") 20:30
masak sorear: see above p6eval calculation.
p6eval pugs: OUTPUT«(timeout)»
..rakudo 77defe, niecza v21-15-gf226bf6: OUTPUT«1428.6␤»
TimToady er...
PerlJam clearly "color" must refer to visible light
masak TimToady: talk about overcompensating ;)
diakopter PerlJam: *visible to humans 20:31
TimToady 1428.6% of oranges are colored
flussence spectres normally aren't visible to humans
masak diakopter: *visible to humans who have sight
diakopter .. and aren't colorblind
PerlJam humans are the most important of all beings capable of sight, so all refereneces to color revolve around human perception. 20:32
TimToady I don't see it that way.
PerlJam It's the most important 300 nm EVAR!
TimToady Solism is so provincial... 20:33
sorear mumbles something about imaginary coors 20:34
colors, too
TimToady didn't know coors made a stout, or chocolate either... 20:35
masak well, the color that flickers in front of my eyes when I rub them or when I'm tired is *exactly* the imaginary purple-green that Pratchett describes in his books.
it's uncanny. 20:36
sorear 'coons? Moors?
TimToady infers that masak rubs his eyes only when he's not tired 20:37
diakopter he didn't say xor
masak actually, it's when I'm tired that I tend to rub my eyes.
TimToady this is why TimToady should have his computer do his inferencing for him 20:38
sorear one micro-foot
20:39 thou joined
TimToady <- a poem with 7 micro-feet 20:39
colomon is now thinking of imaginary Ardbeg... 20:40
TimToady wanders off to take a nap for a millifortnight or two 20:42
masak r: say (14 * 24 * 60 * 60) / 1000 20:43
p6eval rakudo 77defe: OUTPUT«1209.6␤»
masak r: say (14 * 24 * 60 * 60) / 1000 / 60
p6eval rakudo 77defe: OUTPUT«20.16␤»
masak twenty minutes.
or forty :)
20:48 thou left
skids I suppose using xor in a natural language conversation is no worse than using iff. 20:48
[Coke] jnthn: my fridge only has a half drunk beer with a wine stopper in the bottle, 20:51
masak beer is so badly behaved when it's half drunk. 20:52
20:55 kurahaupo joined 20:56 birdwindupbird left, spider-mario joined
jnthn ah, home :) 20:56
sorear yay!
jnthn I'll be here for, er, 2 days.
Then I think I'm gonna change continent. :P 20:57
sorear YAPC::Tōkyō ? 20:58
masak \o/
PerlJam jnthn: you need africa, australia, greenland and antarctica for the complete set of major land masses. 20:59
jnthn PerlJam: I went to Morocco, which is Africa. :) 21:00
Greenland is pretty easy from here. :)
Australia is a long flight, and Antarctica is appealing but also distant and very pricey to go to :)
PerlJam ah, sorry, I wasn't at a good zoom level on your map. Morocco's placemarks blended into Spain 21:01
jnthn
.oO( Why is Greenland icier than Iceland, and Iceland geener than Greenland? )
sorear would like to set up shop on Mars or Venus someday 21:02
jnthn sorear: And yes, YAPC :)
And vacation.
I'm going for 2 weeks to attend a 2.5 day conference. :)
21:04 sivoais left 21:06 leprevost joined
[Coke] sees he squeaked onto the release announcement. 21:09
21:10 sivoais joined, snearch joined 21:18 snearch left 21:19 stopbit_ left 21:20 stopbit_ joined, stopbit_ is now known as stopbit 21:21 kaare_ left
dalek kudo/nom: 00533a4 | duff++ | CREDITS:
Add IRC name to CREDITS
21:25
kudo/nom: ef228dd | duff++ | tools/contributors.pl:
Minor improvement to contributors.pl
21:25 skids left 21:34 wamba left 21:35 benabik left 21:47 spider-mario left 22:01 leont joined 22:14 benabik joined 22:16 benabik_ joined, benabik left, benabik_ is now known as benabik 22:22 benabik_ joined, benabik left, benabik_ is now known as benabik 22:27 stopbit left 22:31 lue left
masak good night, #perl6 22:46
colomon \o
22:49 fgomez joined, thou joined 22:59 benabik left 23:13 PacoAir left 23:15 skids joined 23:18 broquaint joined 23:19 thou left 23:21 telex left 23:22 telex joined 23:24 Psyche^ joined, Psyche^ is now known as Patterner 23:44 Patterner left 23:49 whiteknight joined