Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-03-24

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 bacek left #perl6
00:07 adriano86 joined #perl6
00:07 adriano86 :)
00:11 noganex left #perl6
00:13 noganex joined #perl6
00:17 tyatpi_ left #perl6
00:19 donri http://paste.pocoo.org/show/358685  why no work?
00:22 stkowski left #perl6
00:55 adriano86 left #perl6
00:58 marienz left #perl6
00:58 Trashlord left #perl6
01:02 Rotwang left #perl6
01:03 woosley joined #perl6
01:09 fhelmberger joined #perl6
01:13 donri because of the pairs apparently
01:32 f00li5h joined #perl6
01:36 noganex left #perl6
01:40 whiteknight left #perl6
01:45 plobsing left #perl6
01:45 tyatpi_ joined #perl6
01:52 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:53 Util 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:54 Util I don't know how you would specify that $request has to have the *property* of Get.
01:55 donri Util: it worked when I made the enum without pairs
01:55 donri but now that i try to make $request a custom class rather than the string, it fails :D
01:55 colomon rakudo: enum HttpMethod { :Get<GET>, :Post<POST> }; my $a = Get; say $a; say $a ~~ Get;
01:55 donri Cannot take numeric value for object of type
01:55 p6eval rakudo d5ccf9: OUTPUT«Could not find sub &HttpMethod␤  in main program body at line 22:/tmp/T4QxFpgYE6␤»
01:55 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␤»
01:56 donri guess i'll have to make a custom ACCEPTS
01:56 colomon rakudo: enum HttpMethod ( :Get<GET>, :Post<POST> ); my $a = 10 but Get; say $a; say $a ~~ Get;
01:56 p6eval rakudo d5ccf9: OUTPUT«10␤Bool::False␤»
01:58 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␤»
01:58 donri rakudo: enum HttpMethod <Get Post>; my $a = "/" but Get; say $a; say $a ~~ Get;
01:58 p6eval rakudo d5ccf9: OUTPUT«/␤Bool::True␤»
01:58 donri fun, isn't it
01:58 donri hm
01:58 donri rakudo: enum HttpMethod <Get Post>; my $a = "/" but Post; say $a; say $a ~~ Post;
01:58 p6eval rakudo d5ccf9: OUTPUT«/␤Bool::False␤»
01:58 donri :D
01:58 donri i see
01:59 donri it's because +"/" is 0 is Get
01:59 colomon seems like this might not be the best approach?
02:00 donri I'm just doing it wrong is all
02:01 donri also, not doing anything real just exploring
02:01 cotto joined #perl6
02:02 jql joined #perl6
02:02 silent_h_ left #perl6
02:06 cosimo joined #perl6
02:07 nymacro joined #perl6
02:11 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:12 donri I probably am. That was just temporary anyway, the main idea was to have requests smartmatch against a http method enum
02:14 cdarroch left #perl6
02:27 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
02:27 p6eval rakudo d5ccf9: OUTPUT«World␤»
02:28 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 #perl6
02:29 sorear TimToady: it didn't work after all
02:30 plobsing joined #perl6
02:30 sorear Rakudo parses the LHS of a parenned my as a signature and then lossily converts it to a declaration
02:32 TimToady ah well...
02:32 TimToady rakudo: my (Str $s where /^H/ = 'Hello'); say $s;
02:32 p6eval rakudo d5ccf9: OUTPUT«Any()␤»
02:36 icwiener_ joined #perl6
02:36 donri shouldn't that be a type error?
02:36 sorear I'm not sure
02:37 sorear it should obviously be an error
02:37 sorear but it might be a semantic constraint error
02:39 icwiener left #perl6
02:40 VXZ joined #perl6
02:44 TimToady rakudo: my (Str $s where /^H/ = 'Hello') = (); say $s;
02:44 p6eval rakudo d5ccf9: OUTPUT«Any()␤»
02:44 TimToady rakudo: my (Str $s where /^H/ = 'Hello') := (); say $s;
02:44 p6eval rakudo d5ccf9: OUTPUT«Hello␤»
02:45 TimToady but oughta work without the := ()
02:45 cognominal left #perl6
02:56 takesako left #perl6
02:56 icwiener_ left #perl6
02:57 orafu left #perl6
02:57 orafu joined #perl6
03:05 TimToady I don't know why you think it should be an error; the where is tighter than the =
03:07 sorear TimToady: I am referring to 21:27 < sorear> rakudo: my (Str $s where /^H/) = 'World'; say $s;
03:08 TimToady I don't think of that as as an assignment
03:12 donri I can't figure out how to get an enum instance from a value, or is it simply NYI in rakudo?
03:16 donri 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 #perl6
04:14 plainhao left #perl6
04:21 PerlJam donri: Is that even specced?
04:21 donri Yep
04:21 PerlJam where?
04:22 PerlJam oh. S12 says you can do: my day $d = 3; say $d.key;  # to get "Wed"
04:23 PerlJam ack++
04:23 PerlJam yeah, just looks like it's NYI
04:24 donri Day(3)               # Wed constant, found as value
04:24 PerlJam donri: yep, I just read down that far
04:24 donri neither can I seem to use enums as mixed in roles :(
04:25 gbacon left #perl6
04:26 PerlJam donri: you may need to wait for rakudo-on-6model
04:26 donri hokay :)
04:26 gbacon joined #perl6
04:31 HarryS left #perl6
04:31 HarryS joined #perl6
04:32 dsp_ left #perl6
04:32 dsp_ joined #perl6
04:32 Helios- left #perl6
04:33 Helios- joined #perl6
04:36 flatwhatson_ joined #perl6
04:36 sftp left #perl6
04:40 nsh| left #perl6
04:40 nsh joined #perl6
04:50 takesako joined #perl6
05:00 [particle]1 joined #perl6
05:01 [particle] left #perl6
05:02 [particle]1 is now known as [particle]
05:17 Util left #perl6
05:17 Util joined #perl6
05:47 estrabd left #perl6
05:51 bacek joined #perl6
06:00 nulrsan joined #perl6
06:00 nulrsan left #perl6
06:01 Helios- left #perl6
06:01 nulrsan joined #perl6
06:01 patch_ left #perl6
06:01 kaare_ joined #perl6
06:02 Helios- joined #perl6
06:02 patch_ joined #perl6
06:03 Mowah joined #perl6
06:06 phenny left #perl6
06:06 mtk left #perl6
06:07 phenny joined #perl6
06:14 mtk joined #perl6
06:15 bacek left #perl6
06:24 starcoder2 left #perl6
06:26 starcoder2 joined #perl6
06:28 VXZ left #perl6
06:33 ponbiki left #perl6
06:35 ponbiki joined #perl6
06:55 tadzik good morning
06:57 moritz_ \o
07:07 donri Why does Web.pm use underscores in identifiers? :(
07:13 donri mixed with hyphens, how 'cute' :)
07:15 moritz_ hysterical raisins.
07:16 donri that's not an excuse in perl6-land :P
07:22 wtw joined #perl6
07:25 moritz_ it is an excuse, just not a good one
07:25 donri ;)
07:26 noganex left #perl6
07:28 noganex joined #perl6
07:29 donri question is, would changes be accepted?
07:29 moritz_ ask masak. But I'd think "yes"
07:29 donri the GET method is also a completely wrong php-ism
07:29 moritz_ what does it do?
07:30 donri query args
07:30 donri which you can have for any http method
07:30 moritz_ should probably be URL-PARAMS or so
07:30 donri nah, should be 'args' :)
07:30 moritz_ too unspecific
07:30 donri or maybe 'params'
07:30 tadzik or params(), like in Dancer
07:31 donri what's the difference?
07:31 tadzik owait, not the same
07:32 donri http://werkzeug.pocoo.org/  is very well-designed and would IMHO serve good as a source of inspiration for web.pm
07:33 cognominal joined #perl6
07:34 * moritz_ is always fascinated when he sees random German words in unexpected places
07:36 donri was very glad to discover hitomi though, too few people understand the benefits of xml templates
07:38 moritz_ including me
07:39 donri http://packages.python.org/Flask-Genshi/#why-genshi
07:39 donri the example isn't even fair to genshi because the jinja one is missing <title>...</title>
07:43 moritz_ I'm working on a p5 web project now, and I have unit- and regressiontests for both backend and generated HTML
07:43 moritz_ but I don't have any tests for the JS part
07:43 moritz_ I kinda fear there's no easy solution to that
07:44 donri http://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
07:45 donri lets hope for a future of js on parrot
07:45 moritz_ even then somebody would need to implement the DOM
07:45 donri there are command-line js implementations
07:46 donri maybe you can mock the DOM somehow?
07:47 nulrsan left #perl6
07:48 birdwindupbird joined #perl6
07:49 * tadzik is amazed by the chrome extension which puts Jimmy Wales' Wikipedia banner on _every_ webpage
07:55 shi joined #perl6
07:56 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 #perl6
08:27 agentzh joined #perl6
08:28 dju left #perl6
08:29 dju joined #perl6
08:33 birdwindupbird left #perl6
08:43 mj41 joined #perl6
09:19 plobsing left #perl6
09:20 plobsing joined #perl6
09:21 pmurias joined #perl6
09:27 woosley left #perl6
09:36 pmurias would taking STD_P5 to a state of basic usability be a good GSoC project?
09:37 moritz_ pmurias: yes (but of course that would need an exacter defintion for an actual application)
09:37 dakkar joined #perl6
09:40 pmurias would writing a niecza-related proposal make sense?
09:40 awoodland joined #perl6
09:41 moritz_ sure
09:41 moritz_ it's Perl Foundation, not "Perl 5 and Rakudo Foundation" :-)
09:42 pmurias is it likely that two niecza related ones will get accepted? as i think sorear will apply
09:43 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:45 Rotwang joined #perl6
09:55 tadzik moritz_: http://nopaste.snit.ch/38515 could you give me a hand with this one?
09:55 tadzik I have no idea why it does not match that last part, </h>
09:58 moritz_ it still matches $<name>
09:59 moritz_ but not the '>'
09:59 moritz_ wtf?
10:01 tadzik oh look
10:01 tadzik when I do (<name=ident>) and later $0 instead of $<name> it parses
10:01 tadzik that's insane
10:02 agentzh left #perl6
10:03 cosimo left #perl6
10:03 _twitch joined #perl6
10:04 moritz_ maybe $<name> doesn't work well when there are two <name>s in the same regex?
10:04 tadzik strange bug
10:05 tadzik but { say $<name> } was ok
10:11 tadzik is <!after> NYI?
10:22 aesop left #perl6
10:24 tadzik 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: https://github.com/tadzik/web/commits/master
10:24 phenny tadzik: I'll pass that on when masak is around.
10:24 tadzik phenny: botsnack!
10:28 moritz_ tadzik: yes, after is NYI
10:29 amkrankruleuen left #perl6
10:32 amkrankruleuen joined #perl6
10:38 aesop joined #perl6
10:42 xinming_ joined #perl6
10:45 xinming left #perl6
10:54 shi left #perl6
10:55 Rotwang left #perl6
10:55 * moritz_ accidentally pushed to rakudo without spectesting. Bad moritz--, no cokie
10:58 mathw tsk
10:58 * mathw eats moritz_'s cookie
10:58 mathw (you make mistakes, I get fat... and that's not something you want to happen, is it)
10:59 dalek rakudo: 792e860 | moritz++ | src/Perl6/Grammar.pm:
10:59 dalek rakudo: workaround for RT #86906 - .panic fails to panic in some grammar rules
10:59 dalek rakudo:
10:59 dalek rakudo: The fix should really be to make the context information available, but since
10:59 dalek rakudo: the control flow is a bit weird in that parts of the grammar, I don't know how
10:59 dalek rakudo: to do this. Instead it's just s/self\.panic/pir::die/, which improves the
10:59 dalek rakudo: error message, but makes line numbers unavailable.
10:59 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/792e8602e8
10:59 moritz_ mathw: better than me making mistakes *and* getting fat
10:59 awoodland left #perl6
11:24 donri getting fat: eating the cake and keeping the cake
11:48 ab5tract joined #perl6
11:50 am0c joined #perl6
11:51 colomon o/
12:00 takadonet morning all
12:02 s1n left #perl6
12:09 donri Also, http://i.imgur.com/ZRneF.jpg
12:11 wallberg joined #perl6
12:18 sftp joined #perl6
12:19 s1n joined #perl6
12:20 amkrankruleuen left #perl6
12:20 leprevost joined #perl6
12:25 s1n left #perl6
12:28 tyatpi_ joined #perl6
12:29 amkrankruleuen joined #perl6
12:34 nadim_ left #perl6
12:36 nadim joined #perl6
12:36 s1n joined #perl6
12:36 amkrankruleuen left #perl6
12:37 amkrankruleuen joined #perl6
12:41 amkrankruleuen left #perl6
12:43 amkrankruleuen joined #perl6
12:43 hanekomu joined #perl6
12:43 hanekomu left #perl6
12:43 hanekomu joined #perl6
12:45 s1n left #perl6
12:48 kjeldahlw joined #perl6
12:49 s1n joined #perl6
12:55 s1n left #perl6
12:56 pmurias left #perl6
12:56 * moritz_ spectested his latest commit, didn't break anything
13:03 colomon moritz_++
13:13 plobsing left #perl6
13:16 mtk left #perl6
13:21 mtk joined #perl6
13:26 MayDaniel joined #perl6
13:26 birdwindupbird joined #perl6
13:27 woosley joined #perl6
13:28 birdwindupbird left #perl6
13:32 MayDaniel left #perl6
13:37 moritz_ http://smarterware.org/7550/designers-women-and-hostility-in-open-source
13:47 jaldhar left #perl6
13:47 PerlJam moritz_: nice.
13:49 madalu joined #perl6
13:50 wallberg left #perl6
13:55 madalu left #perl6
14:03 twinshadow joined #perl6
14:09 hanekomu left #perl6
14:15 plainhao joined #perl6
14:15 alester joined #perl6
14:18 pmurias joined #perl6
14:46 plobsing joined #perl6
14:48 envi joined #perl6
14:52 ab5tract left #perl6
14:56 woosley left #perl6
14:57 PacoLinux joined #perl6
15:04 orko joined #perl6
15:06 Eevee left #perl6
15:12 mj41 left #perl6
15:17 Patterner left #perl6
15:18 Psyche^ joined #perl6
15:18 Psyche^ is now known as Patterner
15:18 Eevee joined #perl6
15:18 wtw left #perl6
15:19 VXZ joined #perl6
15:19 Mowah left #perl6
15:21 envi left #perl6
15:21 envi_ joined #perl6
15:25 bacek joined #perl6
15:28 icwiener joined #perl6
15:31 pmurias left #perl6
15:34 VXZ left #perl6
15:35 orko left #perl6
15:41 nymacro left #perl6
15:43 cogno joined #perl6
15:45 kjeldahlw left #perl6
15:47 rbuels left #perl6
15:47 VXZ joined #perl6
15:48 cogno left #perl6
15:48 [Coke] .u S
15:48 phenny U+FF33 FULLWIDTH LATIN CAPITAL LETTER S (S)
15:49 _twitch left #perl6
15:51 [Coke] and I wonder how many groups, perl6 included, are thinking "wow, it must really suck in those other OSS projects..."
15:51 [Coke] (moritz's smarterware url)
15:52 moritz_ other projects?
15:52 moritz_ so far I know of two designers who have invested some work in creating rakudo or perl 6 logos, and both were rather disappointed
15:53 moritz_ though by lack of feedback, not hostility or elitism
15:55 [Coke] perlsixers, have no fear. Duke Nuke 'em release delayed again.
15:56 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
15:56 jnthn :P
15:57 jnthn 6model is kinda here. It's just that Rakudo doesn't run on it yet. :)
15:57 jnthn Mostly because along the way I decided to battle a few other issues.
15:58 jnthn (All the NQP bits I'm doing at the moment are directly applicable to Rakudo too.)
15:58 ymasory_ left #perl6
15:58 RichiH moritz_: lack of feedback can be worse than negative feedback
16:00 [Coke] jnthn: anything others can do to  help?
16:03 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:06 jnthn [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:11 moritz_ RichiH: I know. I've tried to give feedback to both, but it wasn't as much as they hoped for
16:14 Trashlord joined #perl6
16:18 RichiH ++ for trying :)
16:23 TimToady well, it's a bit hard when "not exactly what we were looking for" is not exactly what they want to hear...  :)
16:24 * jnthn 's compiler presentation has 42 slides now, but he's pretty sure the answer isn't "stop now, it's done" :)
16:24 jnthn Alas, 'tis late here.
16:24 jnthn sleep & :)
16:25 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
16:25 jnthn moritz_: Thanks...I'm doing amazingly well at that so far. I feared the jetlag would be a mess...
16:25 jnthn ...but so far I'm coping OK. :)
16:25 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!"
16:27 __sri PerlJam: not useful feedback
16:28 __sri 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  :)
16:28 TimToady now be nice
16:29 TimToady __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
16:29 TimToady we were already tired of fighting the mascot wars by then :)
16:31 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
16:31 * moritz_ wonders if modules.perl6.org should have a whole swarm of small butterflies :-)
16:31 PerlJam TimToady: I like your optimism!
16:31 __sri open source design work is very thankless and unrewarding, glad i tried it but learned the lesson
16:31 PerlJam moritz +1
16:32 PerlJam __sri: I think artistry is rarely rewarding except in the sense of personal accomplishment.
16:34 __sri yea, the gain of design is mostly monetary
16:35 PerlJam hmm .... I wonder if TPF would give a grant for logo designs  (I doubt it)
16:35 PerlJam Certainly there's been much more talk about "marketing perl" though, so maybe people would go for it.
16:36 PerlJam by people, I mean TPF
16:36 moritz_ there was an interesting hackernews discussion on how to attract designers
16:36 moritz_ maybe I can dig up the link
16:36 PerlJam moritz_: It probably starts with "be nice; give hugs"  :)
16:36 __sri moritz_: that discussion was good
16:37 __sri the bottom line was that it is much easier for hackers to profit from open source than for designers
16:37 __sri there is much truth to it
16:38 moritz_ http://news.ycombinator.com/item?id=2267861 finally found it
16:39 __sri or who here knows the name of an open source projects logo designer? ;)
16:39 * moritz_ knows one
16:41 __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.
16:42 moritz_ __sri: how many open source programmers does the average designer know?
16:43 __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?
16:43 __sri design and ux are related but not the same
16:43 donri IME designers are either programmers themselves or photoshoptards who think everything-is-an-image-or-even-flash is awsumlulz
16:44 donri Hopefully I only lack experience with good designers
16:44 PerlJam donri: that's pretty close to my experience as well.
16:44 __sri there are really good ones like hicks that can do both
16:44 donri "If it looks good (on my screen, in my single browser (if even)) it is good."
16:45 __sri http://hicksdesign.co.uk # did most of the opera ui, firefox logo...
16:46 moritz_ that looks nice
16:46 donri and s/he does no programming?
16:46 __sri none at all
16:46 donri intrusting
16:46 moritz_ and also w3 compliant, except for one stupid typo :-)
16:47 PerlJam __sri: funny, I looked at http://hicksdesign.co.uk/journal/  and immediately thought of you.  :)
16:47 PerlJam "made of unicorns"
16:47 __sri heh
16:47 donri Generally though I think you have to understand the technology if you're designing for the web/computers
16:47 donri Even if you don't actually do backend devel
16:48 TimToady that's an oversimplification, I think
16:48 TimToady there are many layers
16:48 donri 'course
16:48 PerlJam donri: only somewhat.  If they can mentall separate "content" from "design" that may be good enough.
16:48 moritz_ you can understand the technology (to a good degree) without doing any programming
16:48 TimToady and camelia is intended to be a relatively low layer in the food chain
16:48 donri moritz_: in deed, that was my point
16:49 TimToady there's not much visual design that can be directly associated with a language
16:49 TimToady but surrounding services open up many more design opportunities
16:49 donri The main issue I think is that you're designing for a non-static medium if you're not doing print
16:50 __sri i do agree that programmers with a sense for ux can be very valuable though
16:51 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 moritz_ success by delegation
16:51 donri also, sorry, i jumped in in the middle of your conversation here and have no idea about the actual context :)
16:52 * PerlJam wishes someone else would redesign the look for the Perl 6 Advent calendar.
16:52 TimToady donri: life is like that all over
17:05 TimToady mailchimp is cute
17:08 * moritz_ has a certain aversion against everything that has the faint smell of HTML emails
17:08 dsp_ left #perl6
17:09 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
17:09 PerlJam s/and/a/
17:10 PerlJam weird brain-o
17:10 madalu joined #perl6
17:11 TimToady it's a drama dairy
17:12 PerlJam So Lepidoptera Dromedarius?
17:12 TimToady sounds about right
17:13 * TimToady suspects the hump is what eventually turns into the wings...
17:14 dsp_ joined #perl6
17:14 madalu left #perl6
17:15 impious joined #perl6
17:25 ymasory left #perl6
17:26 [Coke] . o O (concatepillar)
17:31 fhelmberger_ joined #perl6
17:32 nothingmuch left #perl6
17:33 fhelmberger left #perl6
17:37 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:44 MayDaniel joined #perl6
17:47 fhelmberger_ left #perl6
17:56 jest joined #perl6
17:57 justatheory joined #perl6
18:00 allbery_b left #perl6
18:01 MayDaniel left #perl6
18:06 envi_ left #perl6
18:17 tyatpi_ left #perl6
18:17 ymasory joined #perl6
18:38 madalu joined #perl6
18:44 stkowski joined #perl6
18:47 madalu left #perl6
18:48 masak joined #perl6
18:48 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.
18:48 phenny 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: https://github.com/tadzik/web/commits/master
18:49 masak sorear: demand's probably pretty low.
18:49 masak tadzik++!
18:49 tadzik oh hai Carl
18:50 tadzik 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?
18:50 tadzik nah
18:50 PerlJam odd, I thought it was for some reason
18:51 moritz_ it was in alpha
18:51 moritz_ master only has <?before>
18:52 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 #perl6
19:05 Chillance joined #perl6
19:10 aesop left #perl6
19:20 masak PerlJam: <?after> is a bit non-trivial to implement.
19:23 moritz_ but often you can work around its absence
19:26 * 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:29 aesop joined #perl6
19:29 masak PerlJam: it's fairly clear how to do it, but it requires a bit of work.
19:31 masak tadzik: Ratel is Tene's baby, so it's possible he's interested in hearing about failures.
19:31 masak 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 #perl6
19:32 slavik1 http://consumerist.com/2011/03/worst-company-in-america-round-one-comcast-vs-charter.html
19:32 tadzik I wonder how sensemaking would it be to implement Dancer as a subclass of Astaire
19:32 slavik1 please vote for Comcast :)
19:33 masak tadzik: I know mberends has been involved in porting, or thinking about porting, Dancer to Perl 6.
19:34 tadzik masak: yeah, I know. I think HTTP::Server::Simple was the first stef
19:34 tadzik or even step
19:37 moritz_ has anybody fixed it to work with rakudo's new sockets?
19:43 MayDaniel joined #perl6
19:47 tadzik yes, I did
19:48 justatheory left #perl6
19:51 Rotwang joined #perl6
19:52 dalek roast: 116ac1c | (Kyle Hasselbacher)++ | S04-statements/loop.t:
19:52 dalek roast: [loop.t] Test for RT 63760 -- "loop {} while" is a syntax error
19:52 dalek roast: review: https://github.com/perl6/roast/commit/116ac1c953
20:00 Tene masak: Ratel isn't exactly a big piece of code
20:00 Tene like 50-ish lines iirc?
20:01 Tene 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 :)
20:02 Rotwang honey badgers ftw
20:03 MayDaniel left #perl6
20:08 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 Tene 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.
20:09 Tene 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 Tene I don't know if .subst has changed since alpha days
20:10 Tene Beyond that, um... maybe the $*OUT declaration?
20:10 leprevost left #perl6
20:10 Tene Nothing else looks obviously sketchy to me.
20:13 KyleHa joined #perl6
20:13 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 #perl6
20:14 KyleHa Are those tabs supposed to be there?
20:16 colomon KyleHa: yes
20:16 KyleHa Thank you.
20:16 colomon that's how Pairs stringify
20:17 dju left #perl6
20:18 dalek roast: 25a71d3 | (Kyle Hasselbacher)++ | S16-io/bare-say.t:
20:18 dalek roast: [bare-say] Test for RT 74822 -- Too many CR in a for loop with %
20:18 dalek roast: review: https://github.com/perl6/roast/commit/25a71d3ba5
20:20 mj41 joined #perl6
20:29 plobsing left #perl6
20:33 plobsing joined #perl6
20:36 Hackbinary joined #perl6
20:38 KyleHa left #perl6
20:42 Tene git diff
20:42 Tene oops
20:42 moritz_ binary files a/Tene and b/Tene differ
20:42 Tene tadzik: I've got a patch that gets ratel working on rakudo master
20:43 Tene or, at least, whichever modern version of rakudo I have checked out
20:43 Tene tadzik: have you been committing to a branch in the web repo, or... I could paste the patch?
20:43 tadzik Tene: I'll give you a commit bit to my fork
20:43 Tene 'k
20:43 tadzik Tene: done
20:44 jest left #perl6
20:45 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
20:46 moritz_ hugme: add tadzik to web
20:46 * hugme hugs tadzik. Welcome to web!
20:46 moritz_ in case you didn't have commit access before... :-)
20:46 tadzik dunno :)
20:47 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 #perl6
20:54 ymasory left #perl6
20:57 PerlJam left #perl6
21:01 tadzik left #perl6
21:01 Juerd left #perl6
21:02 pmichaud left #perl6
21:02 Tene tadzik: pushed
21:02 Tene oh, ENOTADZIK
21:02 hugme left #perl6
21:04 Util left #perl6
21:17 mberends joined #perl6
21:18 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 #perl6
21:23 aindilis left #perl6
21:24 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:26 mberends How negative that looks, not what I intended. Most important - GSOC would be very welcome, and the problems can be dealt with!
21:30 donri left #perl6
21:32 tadzik joined #perl6
21:32 tadzik is feather having smoketests again? :)
21:33 tadzik Tene++ # Ratel
21:35 mj41 left #perl6
21:36 kaare_ left #perl6
21:38 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 MayDaniel joined #perl6
21:38 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 }
21:38 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␤»
21:38 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 }
21:38 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)␤»
21:39 masak what? really? :)
21:39 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 if /<$regex>/ for @words }
21:39 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 #perl6
21:40 masak alpha never got list comprehensions? huh.
22:02 madalu joined #perl6
22:04 Mowah joined #perl6
22:09 MayDaniel left #perl6
22:09 skangas left #perl6
22:09 skangas joined #perl6
22:09 madalu left #perl6
22:10 sftp left #perl6
22:17 madalu joined #perl6
22:25 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)␤»
22:25 masak still with the non-existent sub that couldn't be found... ;)
22:26 plobsing left #perl6
22:26 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>)␤»
22:26 masak that's probably the real issue.
22:30 aindilis joined #perl6
22:30 masak 'night, #perl6.
22:33 masak dream of alpha and ng combined -- the features with a ∪ and the bugs with a ∩ :)
22:33 masak left #perl6
22:36 Mowah left #perl6
22:36 sftp joined #perl6
22:39 [particle] left #perl6
22:45 whiteknight joined #perl6
22:48 madalu left #perl6
23:06 kfo left #perl6
23:06 awoodland joined #perl6
23:07 cosimo joined #perl6
23:10 Sarten-X left #perl6
23:12 plobsing joined #perl6
23:20 [particle] joined #perl6
23:25 am0c left #perl6
23:26 pjcj left #perl6
23:30 tewk left #perl6
23:40 benabik joined #perl6
23:41 pjcj joined #perl6
23:42 Sarten-X joined #perl6
23:42 ymasory joined #perl6
23:43 risou joined #perl6
23:49 Chillance left #perl6
23:50 risou left #perl6
23:52 tewk joined #perl6
23:58 adriano86 joined #perl6
23:58 adriano86 :)
23:59 s1n joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo