»ö« 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:04 bacek left 00:07 adriano86 joined
adriano86 :) 00:07
00:13 noganex joined 00:17 tyatpi_ left
donri paste.pocoo.org/show/358685 why no work? 00:19
00:22 stkowski left 00:55 adriano86 left 00:58 Trashlord left 01:02 Rotwang left 01:03 woosley joined 01:09 fhelmberger joined
donri because of the pairs apparently 01:13
01:32 f00li5h joined 01:36 noganex left 01:40 whiteknight left 01:45 plobsing left, tyatpi_ joined
Util donri: It works when you change `"/" but Get` to just `Get`, so I would think that the problem lies in the run-time mixin badly interacting with the signature. 01:52
As I understand it, `$request where Get` in the signature means $request must have the *value* of Get, or at least smart-match Get. 01:53
I don't know how you would specify that $request has to have the *property* of Get. 01:54
donri Util: it worked when I made the enum without pairs 01:55
but now that i try to make $request a custom class rather than the string, it fails :D
colomon rakudo: enum HttpMethod { :Get<GET>, :Post<POST> }; my $a = Get; say $a; say $a ~~ Get;
donri Cannot take numeric value for object of type
p6eval rakudo d5ccf9: OUTPUT«Could not find sub &HttpMethod␤ in main program body at line 22:/tmp/T4QxFpgYE6␤»
colomon rakudo: enum HttpMethod ( :Get<GET>, :Post<POST> ); my $a = Get; say $a; say $a ~~ Get; 01:56
p6eval rakudo d5ccf9: OUTPUT«GET␤Bool::True␤»
donri guess i'll have to make a custom ACCEPTS
colomon rakudo: enum HttpMethod ( :Get<GET>, :Post<POST> ); my $a = 10 but Get; say $a; say $a ~~ Get;
p6eval rakudo d5ccf9: OUTPUT«10␤Bool::False␤»
donri rakudo: enum HttpMethod <Get Post>; my $a = 10 but Get; say $a; say $a ~~ Get; 01:58
p6eval rakudo d5ccf9: OUTPUT«10␤Bool::False␤»
donri rakudo: enum HttpMethod <Get Post>; my $a = "/" but Get; say $a; say $a ~~ Get;
p6eval rakudo d5ccf9: OUTPUT«/␤Bool::True␤»
donri fun, isn't it
hm
rakudo: enum HttpMethod <Get Post>; my $a = "/" but Post; say $a; say $a ~~ Post;
p6eval rakudo d5ccf9: OUTPUT«/␤Bool::False␤»
donri :D
i see
it's because +"/" is 0 is Get 01:59
colomon seems like this might not be the best approach?
donri I'm just doing it wrong is all 02:00
also, not doing anything real just exploring 02:01
02:01 cotto joined 02:02 jql joined, silent_h_ left 02:06 cosimo joined 02:07 nymacro joined
Util donri: Reading S14/"Run-time Mixins", it looks like you are mis-using "but", and that the compiler is not yet smart enough to complain. I am out of time to examine it further. donri++ for the exploration 02:11
donri I probably am. That was just temporary anyway, the main idea was to have requests smartmatch against a http method enum 02:12
02:14 cdarroch left
sorear rakudo: my (Str $s where /^H/) = 'World'; say $s; 02:27
phenny sorear: 23 Mar 10:50Z <moritz_> tell sorear FYI rakudo build mem usage currently peaks at ~600MB on a 64bit platform. ISTR that the GC threshold depends on available mem, so might be different on your machine
p6eval rakudo d5ccf9: OUTPUT«World␤»
sorear phenny: tell masak I think 'my $!spleen' is ETOOMUCHMAGIC and have no plans to implement it at this time. I may be persuaded by a rise in demand. 02:28
phenny sorear: I'll pass that on when masak is around.
02:29 tyatpi_ left
sorear TimToady: it didn't work after all 02:29
02:30 plobsing joined
sorear Rakudo parses the LHS of a parenned my as a signature and then lossily converts it to a declaration 02:30
TimToady ah well... 02:32
rakudo: my (Str $s where /^H/ = 'Hello'); say $s;
p6eval rakudo d5ccf9: OUTPUT«Any()␤»
02:36 icwiener_ joined
donri shouldn't that be a type error? 02:36
sorear I'm not sure
it should obviously be an error 02:37
but it might be a semantic constraint error
02:39 icwiener left 02:40 VXZ joined
TimToady rakudo: my (Str $s where /^H/ = 'Hello') = (); say $s; 02:44
p6eval rakudo d5ccf9: OUTPUT«Any()␤»
TimToady rakudo: my (Str $s where /^H/ = 'Hello') := (); say $s;
p6eval rakudo d5ccf9: OUTPUT«Hello␤»
TimToady but oughta work without the := () 02:45
02:56 icwiener_ left 02:57 orafu joined
TimToady I don't know why you think it should be an error; the where is tighter than the = 03:05
sorear TimToady: I am referring to 21:27 < sorear> rakudo: my (Str $s where /^H/) = 'World'; say $s; 03:07
TimToady I don't think of that as as an assignment 03:08
donri I can't figure out how to get an enum instance from a value, or is it simply NYI in rakudo? 03:12
rakudo: enum Day <Sun Mon Tue Wed Thu Fri Sat>; say Day(3) 03:16
p6eval rakudo d5ccf9: OUTPUT«Could not find sub &Day␤ in main program body at line 22:/tmp/rIJMBKERu4␤»
03:50 noganex joined 04:14 plainhao left
PerlJam donri: Is that even specced? 04:21
donri Yep
PerlJam where?
oh. S12 says you can do: my day $d = 3; say $d.key; # to get "Wed" 04:22
ack++ 04:23
yeah, just looks like it's NYI
donri Day(3) # Wed constant, found as value 04:24
PerlJam donri: yep, I just read down that far
donri neither can I seem to use enums as mixed in roles :(
PerlJam donri: you may need to wait for rakudo-on-6model 04:26
donri hokay :)
04:26 gbacon joined 04:31 HarryS joined 04:32 dsp_ left, dsp_ joined, Helios- left 04:33 Helios- joined 04:36 flatwhatson_ joined, sftp left 04:40 nsh joined 04:50 takesako joined 05:00 [particle]1 joined 05:01 [particle] left 05:02 [particle]1 is now known as [particle] 05:17 Util joined 05:47 estrabd left 05:51 bacek joined 06:00 nulrsan joined, nulrsan left 06:01 Helios- left, nulrsan joined, kaare_ joined 06:02 Helios- joined, patch_ joined 06:03 Mowah joined 06:06 mtk left 06:07 phenny joined 06:14 mtk joined 06:15 bacek left 06:26 starcoder2 joined 06:28 VXZ left 06:35 ponbiki joined
tadzik good morning 06:55
moritz_ \o 06:57
donri Why does Web.pm use underscores in identifiers? :( 07:08
mixed with hyphens, how 'cute' :) 07:13
moritz_ hysterical raisins. 07:15
donri that's not an excuse in perl6-land :P 07:16
07:22 wtw joined
moritz_ it is an excuse, just not a good one 07:25
donri ;)
07:26 noganex left 07:28 noganex joined
donri question is, would changes be accepted? 07:29
moritz_ ask masak. But I'd think "yes"
donri the GET method is also a completely wrong php-ism
moritz_ what does it do?
donri query args 07:30
which you can have for any http method
moritz_ should probably be URL-PARAMS or so
donri nah, should be 'args' :)
moritz_ too unspecific
donri or maybe 'params'
tadzik or params(), like in Dancer
donri what's the difference? 07:31
tadzik owait, not the same
donri werkzeug.pocoo.org/ is very well-designed and would IMHO serve good as a source of inspiration for web.pm 07:32
07:33 cognominal joined
moritz_ is always fascinated when he sees random German words in unexpected places 07:34
donri was very glad to discover hitomi though, too few people understand the benefits of xml templates 07:36
moritz_ including me 07:38
donri packages.python.org/Flask-Genshi/#why-genshi 07:39
the example isn't even fair to genshi because the jinja one is missing <title>...</title>
moritz_ I'm working on a p5 web project now, and I have unit- and regressiontests for both backend and generated HTML 07:43
but I don't have any tests for the JS part
I kinda fear there's no easy solution to that
donri docs.jquery.com/Qunit ? 07:44
moritz_ ideally I'd like to avoid the browser completely, which is what my other tests do so far
donri lets hope for a future of js on parrot 07:45
moritz_ even then somebody would need to implement the DOM
donri there are command-line js implementations
maybe you can mock the DOM somehow? 07:46
07:47 nulrsan left 07:48 birdwindupbird joined
tadzik is amazed by the chrome extension which puts Jimmy Wales' Wikipedia banner on _every_ webpage 07:49
07:55 shi joined
moritz_ we should put a Personal Appeal from Perl Founder Larry Wall on all web pages 07:56
tadzik or a Personal Appeal by a Perl 6 mascott Camelia
08:27 dju joined, agentzh joined 08:28 dju left 08:29 dju joined 08:33 birdwindupbird left 08:43 mj41 joined 09:19 plobsing left 09:20 plobsing joined 09:21 pmurias joined 09:27 woosley left
pmurias would taking STD_P5 to a state of basic usability be a good GSoC project? 09:36
moritz_ pmurias: yes (but of course that would need an exacter defintion for an actual application) 09:37
09:37 dakkar joined
pmurias would writing a niecza-related proposal make sense? 09:40
09:40 awoodland joined
moritz_ sure 09:41
it's Perl Foundation, not "Perl 5 and Rakudo Foundation" :-)
pmurias is it likely that two niecza related ones will get accepted? as i think sorear will apply 09:42
moritz_ pmurias: that's basically impossible to predict, given that it's the first year where TPF and PaFo apply separately, and we don't know yet how many applications and slots we get 09:43
09:45 Rotwang joined
tadzik moritz_: nopaste.snit.ch/38515 could you give me a hand with this one? 09:55
I have no idea why it does not match that last part, </h>
moritz_ it still matches $<name> 09:58
but not the '>' 09:59
wtf?
tadzik oh look 10:01
when I do (<name=ident>) and later $0 instead of $<name> it parses
that's insane
10:02 agentzh left 10:03 cosimo left, _twitch joined
moritz_ maybe $<name> doesn't work well when there are two <name>s in the same regex? 10:04
tadzik strange bug
but { say $<name> } was ok 10:05
is <!after> NYI? 10:11
phenny: tell masak I fixed most of the Web.pm, it compiles and mostly works, it's down to some failing tests in Hitomi due to <?after> not being implemented. See the commits here: github.com/tadzik/web/commits/master 10:24
phenny tadzik: I'll pass that on when masak is around.
tadzik phenny: botsnack!
moritz_ tadzik: yes, after is NYI 10:28
10:32 amkrankruleuen joined 10:38 aesop joined 10:42 xinming_ joined 10:45 xinming left 10:54 shi left 10:55 Rotwang left
moritz_ accidentally pushed to rakudo without spectesting. Bad moritz--, no cokie 10:55
mathw tsk 10:58
mathw eats moritz_'s cookie
(you make mistakes, I get fat... and that's not something you want to happen, is it)
dalek kudo: 792e860 | moritz++ | src/Perl6/Grammar.pm:
workaround for RT #86906 - .panic fails to panic in some grammar rules

The fix should really be to make the context information available, but since the control flow is a bit weird in that parts of the grammar, I don't know how to do this. Instead it's just s/self\.panic/pir::die/, which improves the error message, but makes line numbers unavailable.
10:59
moritz_ mathw: better than me making mistakes *and* getting fat
10:59 awoodland left
donri getting fat: eating the cake and keeping the cake 11:24
11:48 ab5tract joined 11:50 am0c joined
colomon o/ 11:51
takadonet morning all 12:00
donri Also, i.imgur.com/ZRneF.jpg 12:09
12:11 wallberg joined 12:18 sftp joined 12:19 s1n joined 12:20 amkrankruleuen left, leprevost joined 12:25 s1n left 12:28 tyatpi_ joined 12:29 amkrankruleuen joined 12:34 nadim_ left 12:36 nadim joined, s1n joined, amkrankruleuen left 12:37 amkrankruleuen joined 12:41 amkrankruleuen left 12:43 amkrankruleuen joined, hanekomu joined, hanekomu left, hanekomu joined 12:45 s1n left 12:48 kjeldahlw joined 12:49 s1n joined 12:55 s1n left 12:56 pmurias left
moritz_ spectested his latest commit, didn't break anything 12:56
colomon moritz_++ 13:03
13:13 plobsing left 13:16 mtk left 13:21 mtk joined 13:26 MayDaniel joined, birdwindupbird joined 13:27 woosley joined 13:28 birdwindupbird left 13:32 MayDaniel left
moritz_ smarterware.org/7550/designers-wome...pen-source 13:37
PerlJam moritz_: nice. 13:47
13:49 madalu joined 13:50 wallberg left 13:55 madalu left 14:03 twinshadow joined 14:09 hanekomu left 14:15 plainhao joined, alester joined 14:18 pmurias joined 14:46 plobsing joined 14:48 envi joined 14:52 ab5tract left 14:56 woosley left 14:57 PacoLinux joined 15:04 orko joined 15:06 Eevee left 15:12 mj41 left 15:17 Patterner left 15:18 Psyche^ joined, Psyche^ is now known as Patterner, Eevee joined, wtw left 15:19 VXZ joined, Mowah left 15:21 envi left, envi_ joined 15:25 bacek joined 15:28 icwiener joined 15:31 pmurias left 15:34 VXZ left 15:35 orko left 15:41 nymacro left 15:43 cogno joined 15:45 kjeldahlw left 15:47 VXZ joined 15:48 cogno left
[Coke] .u S 15:48
phenny U+FF33 FULLWIDTH LATIN CAPITAL LETTER S (S)
15:49 _twitch left
[Coke] and I wonder how many groups, perl6 included, are thinking "wow, it must really suck in those other OSS projects..." 15:51
(moritz's smarterware url)
moritz_ other projects? 15:52
so far I know of two designers who have invested some work in creating rakudo or perl 6 logos, and both were rather disappointed
though by lack of feedback, not hostility or elitism 15:53
[Coke] perlsixers, have no fear. Duke Nuke 'em release delayed again. 15:55
jnthn Is it delayed because they don't have a fast enough Perl 6 implementation to run it on yet? :) 15:56
moritz_ jnthn: yep, waiting for 6model
jnthn :P 15:57
6model is kinda here. It's just that Rakudo doesn't run on it yet. :)
Mostly because along the way I decided to battle a few other issues.
(All the NQP bits I'm doing at the moment are directly applicable to Rakudo too.) 15:58
15:58 ymasory_ left
RichiH moritz_: lack of feedback can be worse than negative feedback 15:58
[Coke] jnthn: anything others can do to help? 16:00
jnthn [Coke]: One task that I will block on that is very possible for others to do is fix up "make install" for nqp, so it doesn't scribble over nqp-rx and can co-exist with it. 16:03
[Coke]: The stuff I'm most actively working on at the moment is related to gradual typing and dealing with things that have lifetimes that cross the compile-time/runtime boundary. Given I'm still understanding the space myself as I implement stuff, I'm finding it hard to know how to draw others in to working on that. Once that is done and the Rakudo on 6model work starts proper, I expect plenty of LHF. 16:06
moritz_ RichiH: I know. I've tried to give feedback to both, but it wasn't as much as they hoped for 16:11
16:14 Trashlord joined
RichiH ++ for trying :) 16:18
TimToady well, it's a bit hard when "not exactly what we were looking for" is not exactly what they want to hear... :) 16:23
jnthn 's compiler presentation has 42 slides now, but he's pretty sure the answer isn't "stop now, it's done" :) 16:24
Alas, 'tis late here.
sleep & :)
moritz_ sleep well jnthn 16:25
TimToady there's lots of really good design out there, but any particular slot can only be filled by a single design; the best thing we can do to attract designers is to invent new slots that need designs
jnthn moritz_: Thanks...I'm doing amazingly well at that so far. I feared the jetlag would be a mess...
...but so far I'm coping OK. :)
PerlJam I thought sri got plenty of feedback, just that it didn't happen right away and that it wasn't "wow, we could use that!"
__sri PerlJam: not useful feedback 16:27
the point is i could have drawn anything, and was looking for direction here 16:28
PerlJam __sri: oh. Make it look more like Camelia :)
TimToady now be nice
__sri++'s designs are beautiful, and should go on some perl6.* sites, just I don't think it's right for perl6.org particularly 16:29
__sri i basically came with the wrong assumptions
TimToady we were already tired of fighting the mascot wars by then :)
PerlJam A butterfly sitting on an onion could make some nice imagry only I think people would get the wrong idea. 16:31
TimToady and I think the .org site should reflect the mascot; other sites can be more logo-esque, particularly more commercially oriented sites, when we get 'em
moritz_ wonders if modules.perl6.org should have a whole swarm of small butterflies :-)
PerlJam TimToady: I like your optimism!
__sri open source design work is very thankless and unrewarding, glad i tried it but learned the lesson
PerlJam moritz +1
__sri: I think artistry is rarely rewarding except in the sense of personal accomplishment. 16:32
__sri yea, the gain of design is mostly monetary 16:34
PerlJam hmm .... I wonder if TPF would give a grant for logo designs (I doubt it) 16:35
Certainly there's been much more talk about "marketing perl" though, so maybe people would go for it.
by people, I mean TPF 16:36
moritz_ there was an interesting hackernews discussion on how to attract designers
maybe I can dig up the link
PerlJam moritz_: It probably starts with "be nice; give hugs" :)
__sri moritz_: that discussion was good
the bottom line was that it is much easier for hackers to profit from open source than for designers 16:37
there is much truth to it
moritz_ news.ycombinator.com/item?id=2267861 finally found it 16:38
__sri or who here knows the name of an open source projects logo designer? ;) 16:39
moritz_ knows one
__sri and that's pretty much the only incentive there is for designers ;p 16:41
PerlJam At work I'm in the position of knowing that I need a designer (for the website), but not knowing how to find one that can meet my needs.
moritz_ __sri: how many open source programmers does the average designer know? 16:42
__sri how many open source designers does the average designer know? :D 16:43
donri how many designers with real knowledge of usability does the average open source programmer know?
__sri design and ux are related but not the same
donri IME designers are either programmers themselves or photoshoptards who think everything-is-an-image-or-even-flash is awsumlulz
Hopefully I only lack experience with good designers 16:44
PerlJam donri: that's pretty close to my experience as well.
__sri there are really good ones like hicks that can do both
donri "If it looks good (on my screen, in my single browser (if even)) it is good."
__sri hicksdesign.co.uk # did most of the opera ui, firefox logo... 16:45
moritz_ that looks nice 16:46
donri and s/he does no programming?
__sri none at all
donri intrusting
moritz_ and also w3 compliant, except for one stupid typo :-)
PerlJam __sri: funny, I looked at hicksdesign.co.uk/journal/ and immediately thought of you. :) 16:47
"made of unicorns"
__sri heh
donri Generally though I think you have to understand the technology if you're designing for the web/computers
Even if you don't actually do backend devel
TimToady that's an oversimplification, I think 16:48
there are many layers
donri 'course
PerlJam donri: only somewhat. If they can mentall separate "content" from "design" that may be good enough.
moritz_ you can understand the technology (to a good degree) without doing any programming
TimToady and camelia is intended to be a relatively low layer in the food chain
donri moritz_: in deed, that was my point
TimToady there's not much visual design that can be directly associated with a language 16:49
but surrounding services open up many more design opportunities
donri The main issue I think is that you're designing for a non-static medium if you're not doing print
__sri i do agree that programmers with a sense for ux can be very valuable though 16:50
moritz_ so far I had some good success here by offering a valuable service with terrible design to the great #perl6 folks, and then somebody came up with a much improved design for me :-) 16:51
success by delegation
donri also, sorry, i jumped in in the middle of your conversation here and have no idea about the actual context :)
PerlJam wishes someone else would redesign the look for the Perl 6 Advent calendar. 16:52
TimToady donri: life is like that all over
mailchimp is cute 17:05
moritz_ has a certain aversion against everything that has the faint smell of HTML emails 17:08
17:08 dsp_ left
PerlJam What's Camelia's scientific name? something like Lepidoptera Bactrianus ? 17:09
PerlJam doesn't remember if the Perl camel was a dromedary or and bactrian actually
s/and/a/
weird brain-o 17:10
17:10 madalu joined
TimToady it's a drama dairy 17:11
PerlJam So Lepidoptera Dromedarius? 17:12
TimToady sounds about right
TimToady suspects the hump is what eventually turns into the wings... 17:13
17:14 dsp_ joined, madalu left 17:15 impious joined 17:25 ymasory left
[Coke] . o O (concatepillar) 17:26
17:31 fhelmberger_ joined 17:33 fhelmberger left
PerlJam you know ... my wife has a butterfly tattoo on her hip ... I wonder if she'll let me have it colored to look like Camelia? ;) 17:37
17:44 MayDaniel joined 17:47 fhelmberger_ left 17:56 jest joined 17:57 justatheory joined 18:00 allbery_b left 18:01 MayDaniel left 18:06 envi_ left 18:17 tyatpi_ left, ymasory joined 18:38 madalu joined 18:44 stkowski joined 18:47 madalu left 18:48 masak joined
masak oh hai zebras 18:48
phenny masak: 02:28Z <sorear> tell masak I think 'my $!spleen' is ETOOMUCHMAGIC and have no plans to implement it at this time. I may be persuaded by a rise in demand.
masak: 10:24Z <tadzik> tell masak I fixed most of the Web.pm, it compiles and mostly works, it's down to some failing tests in Hitomi due to <?after> not being implemented. See the commits here: github.com/tadzik/web/commits/master
masak sorear: demand's probably pretty low. 18:49
tadzik++!
tadzik oh hai Carl
I thought I have a workaround for this <!after>, but the tests were failing anyway, so I didn't commit it :) 18:50
PerlJam <?after> isn't implemented?
tadzik nah
PerlJam odd, I thought it was for some reason
moritz_ it was in alpha 18:51
master only has <?before>
PerlJam oh, that's probably why I thought it was implemented 18:52
tadzik masak: oh, and the commit messages lie, I didn't actually fix Ratel, it works only partially
19:04 dakkar left 19:05 Chillance joined 19:10 aesop left
masak PerlJam: <?after> is a bit non-trivial to implement. 19:20
moritz_ but often you can work around its absence 19:23
PerlJam is so used to seeing "non-trivial" as a euphemism for "freaking impossible" that it took a few seconds to realize that masak really did mean "non-trivial" :) 19:26
19:29 aesop joined
masak PerlJam: it's fairly clear how to do it, but it requires a bit of work. 19:29
tadzik: Ratel is Tene's baby, so it's possible he's interested in hearing about failures. 19:31
tadzik: also, maybe this'll help make finish up the Web.pm grant -- for which, if so, I'm immensely grateful. :)
19:31 allbery_b joined
slavik1 consumerist.com/2011/03/worst-compa...arter.html 19:32
tadzik I wonder how sensemaking would it be to implement Dancer as a subclass of Astaire
slavik1 please vote for Comcast :)
masak tadzik: I know mberends has been involved in porting, or thinking about porting, Dancer to Perl 6. 19:33
tadzik masak: yeah, I know. I think HTTP::Server::Simple was the first stef 19:34
or even step
moritz_ has anybody fixed it to work with rakudo's new sockets? 19:37
19:43 MayDaniel joined
tadzik yes, I did 19:47
19:48 justatheory left 19:51 Rotwang joined
dalek ast: 116ac1c | (Kyle Hasselbacher)++ | S04-statements/loop.t:
[loop.t] Test for RT 63760 -- "loop {} while" is a syntax error
19:52
Tene masak: Ratel isn't exactly a big piece of code 20:00
like 50-ish lines iirc?
I wouldn't call it my baby, more like my poorly-remembered one-night stand. 20:01
tadzik maybe there's a place for Modern::Web, a Web.pm parts that are still loved :)
Rotwang honey badgers ftw 20:02
20:03 MayDaniel left
Tene tadzik: It's not that I dislike it, just that there's not much there to love. It's the simplest thing that could possibly work, and I expect it's about the same as most anyone would implement a templating library of that style. 20:08
tadzik: I personally don't like that style of templating, but I know enough people that do that I wanted to make sure it was available.
tadzik: It's super short and should be pretty trivial to fix up. You should be able to remove the use of eval on line 27 and just use a normal regex there. 20:09
I don't know if .subst has changed since alpha days
Beyond that, um... maybe the $*OUT declaration? 20:10
20:10 leprevost left
Tene Nothing else looks obviously sketchy to me. 20:10
20:13 KyleHa joined
KyleHa rakudo: my %h=<a b c> Z 1,2,3; for %h { .say } 20:13
p6eval rakudo 792e86: OUTPUT«a 1␤b 2␤c 3␤»
20:13 dju_ joined
KyleHa Are those tabs supposed to be there? 20:14
colomon KyleHa: yes 20:16
KyleHa Thank you.
colomon that's how Pairs stringify
20:17 dju left
dalek ast: 25a71d3 | (Kyle Hasselbacher)++ | S16-io/bare-say.t:
[bare-say] Test for RT 74822 -- Too many CR in a for loop with %
20:18
20:20 mj41 joined 20:29 plobsing left 20:33 plobsing joined 20:36 Hackbinary joined 20:38 KyleHa left
Tene git diff 20:42
oops
moritz_ binary files a/Tene and b/Tene differ
Tene tadzik: I've got a patch that gets ratel working on rakudo master
or, at least, whichever modern version of rakudo I have checked out 20:43
tadzik: have you been committing to a branch in the web repo, or... I could paste the patch?
tadzik Tene: I'll give you a commit bit to my fork
Tene 'k
tadzik Tene: done
20:44 jest left
moritz_ hugme: list projects 20:45
hugme moritz_: I know about Math-Model, Math-RungeKutta, MiniDBI, bench-scripts, book, gge, hugme, ilbot, java2perl6, json, modules.perl6.org, november, nqp-rx, nqpbook, perl6, perl6-examples, perl6-wtop, proto, pugs, rakudo, star, svg-matchdumper, svg-plot, tardis, try.rakudo.org, tufte, ufo, web, yapsi
moritz_ hugme: add tadzik to web 20:46
hugme hugs tadzik. Welcome to web!
moritz_ in case you didn't have commit access before... :-)
tadzik dunno :)
Tene tadzik: want me to put this on tadzik/master? tadzik/ng? 20:47
tadzik Tene: tadzik/master, that's where commits go
20:50 VXZ left 20:54 ymasory left 21:01 tadzik left
Tene tadzik: pushed 21:02
oh, ENOTADZIK
21:04 Util left 21:17 mberends joined
mberends \o from a new UMTS connection 21:18
phenny mberends: 23 Mar 14:32Z <moritz_> tell mberends you might consider coming up with a NQP-on-JVM GSOC proposal
21:21 plainhao left
mberends moritz_: GSOC is a nice idea, but immediately a few worries come to mind: 1. 6model itself is not big or complete enough to provide precise goals, 2. if I might mentor it, I would want to know more about how the result should look (need jnthn++) 3. there is a high probability of a time overrun. 21:24
How negative that looks, not what I intended. Most important - GSOC would be very welcome, and the problems can be dealt with! 21:26
21:30 donri left 21:32 tadzik joined
tadzik is feather having smoketests again? :) 21:32
Tene++ # Ratel 21:33
21:35 mj41 left 21:36 kaare_ left
masak rakudo: my @words = <kalle pelle abcdef deforestation>; for "a".."z" Z "c".."z" -> $a, $c { my $b = $a; $b++; my $regex = ($a, $b, $c).join(".*"); say "$regex:"; .say when /<$regex>/ for @words } 21:38
21:38 MayDaniel joined
p6eval rakudo 792e86: OUTPUT«(timeout)abcdef␤b.*c.*d:␤abcdef␤c.*d.*e:␤abcdef␤d.*e.*f:␤abcdef␤deforestation␤e.*f.*g:␤f.*g.*h:␤g.*h.*i:␤» 21:38
masak rakudo: my @words = <kalle pelle abcdef deforestation>; for "a".."z" Z "b".."z" Z "c".."z" -> $a, $b, $c { my $regex = ($a, $b, $c).join(".*"); say "$regex:"; .say when /<$regex>/ for @words }
p6eval rakudo 792e86: OUTPUT«No applicable candidates found to dispatch to for 'infix:<Z>'. Available candidates are:␤:()␤:(Any $lhs, Any $rhs)␤␤ in main program body at line 22:/tmp/33R8qPIfvq␤»
masak alpha: my @words = <kalle pelle abcdef deforestation>; for "a".."z" Z "b".."z" Z "c".."z" -> $a, $b, $c { my $regex = ($a, $b, $c).join(".*"); say "$regex:"; .say when /<$regex>/ for @words }
p6eval alpha : OUTPUT«a.*b.*c:␤Use of uninitialized value␤␤Could not find non-existent sub when␤in Main (file src/gen_setting.pm, line 324)␤»
masak what? really? :) 21:39
alpha: my @words = <kalle pelle abcdef deforestation>; for "a".."z" Z "b".."z" Z "c".."z" -> $a, $b, $c { my $regex = ($a, $b, $c).join(".*"); say "$regex:"; .say if /<$regex>/ for @words }
p6eval alpha : OUTPUT«a.*b.*c:␤Use of uninitialized value␤␤Could not find non-existent sub if␤in Main (file src/gen_setting.pm, line 324)␤»
21:39 mberends left
masak alpha never got list comprehensions? huh. 21:40
22:02 madalu joined 22:04 Mowah joined 22:09 MayDaniel left, skangas joined 22:10 madalu left, sftp left 22:17 madalu joined
masak alpha: my @words = <kalle pelle abcdef deforestation>; for "a".."z" Z "b".."z" Z "c".."z" -> $a, $b, $c { my $regex = ($a, $b, $c).join(".*"); say "$regex:"; for @words { if /<$regex>/ { .say } } } 22:25
p6eval alpha : OUTPUT«a.*b.*c:␤Could not find non-existent sub if␤in Main (file src/gen_setting.pm, line 324)␤»
masak still with the non-existent sub that couldn't be found... ;)
22:26 plobsing left
masak alpha: my $a = "foo"; say "foo" ~~ /<$a>/ 22:26
p6eval alpha : OUTPUT«Confused at line 10, near "~~ /<$a>/"␤in Main (file <unknown>, line <unknown>)␤»
masak that's probably the real issue.
22:30 aindilis joined
masak 'night, #perl6. 22:30
dream of alpha and ng combined -- the features with a ∪ and the bugs with a ∩ :) 22:33
22:33 masak left 22:36 Mowah left, sftp joined 22:39 [particle] left 22:45 whiteknight joined 22:48 madalu left 23:06 kfo left, awoodland joined 23:07 cosimo joined 23:12 plobsing joined 23:20 [particle] joined 23:25 am0c left 23:40 benabik joined 23:41 pjcj joined 23:42 Sarten-X joined, ymasory joined 23:43 risou joined 23:49 Chillance left 23:50 risou left 23:52 tewk joined 23:58 adriano86 joined
adriano86 :) 23:58
23:59 s1n joined