Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2013-09-14

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
01:02 panchiniak left #perl6
01:17 Mouq joined #perl6
01:46 benabik joined #perl6
02:07 Ben_Goldberg joined #perl6
02:11 daniel-s joined #perl6
02:13 cibs joined #perl6
02:17 benabik joined #perl6
02:36 aindilis joined #perl6
02:55 mtk joined #perl6
03:11 preflex_ joined #perl6
03:24 btyler joined #perl6
03:45 fridim__ joined #perl6
04:05 benabik joined #perl6
04:25 SamuraiJack joined #perl6
04:33 SamuraiJack_ joined #perl6
04:36 SamuraiJack__ joined #perl6
04:42 Mouq_ joined #perl6
04:52 xinming joined #perl6
04:59 xinming joined #perl6
05:24 FROGGS[mobile] joined #perl6
05:45 Woodi joined #perl6
05:50 cooper joined #perl6
05:52 rhr joined #perl6
05:58 mstwu00 joined #perl6
06:14 [Coke] good morning, #perl6
06:19 SamuraiJack joined #perl6
06:23 FROGGS[mobile] o/
06:23 timotimo o/
06:23 tadzik o/
06:24 [Coke] o/
06:26 xinming joined #perl6
06:28 [Coke] anyone seen jnthn? ;)
06:28 tadzik yes
06:35 mstwu00 left #perl6
06:42 xinming joined #perl6
06:57 FROGGS joined #perl6
06:58 timotimo bleeeh, the wifi blocks everything that isn't port 80
06:58 timotimo time to do some h4x0ring
07:00 * timotimo pays attention
07:00 FROGGS (built-in mobile broadband)++
07:02 timotimo i may only push 1 gig through this before i get slowed down massively
07:04 FROGGS I just get tons of SMS then telling me how muh euros I have to pay (which I don't, because it has unlimited bandwidth, due to my employer)
07:05 timotimo wow nice
07:05 timotimo i can pay up 3 euros to get "some more"
07:05 timotimo no idea how much i get for that
07:05 timotimo probably really not much
07:08 timotimo yay a tunnel
07:08 lizmat joined #perl6
07:09 [Coke] \o/
07:09 woolfy joined #perl6
07:10 mberends joined #perl6
07:12 woolfy jnthn just started the course NQP/Perl6 in the Ökohaus ("ecological house") in Frankfurt.
07:18 denisboyun joined #perl6
07:27 timotimo yaaaaay
07:28 hoelzro ~\o/
07:29 woolfy Hey you two, pay attention to the teacher!  :-)
07:32 woolfy jnthn thought he would give a course to maybe 5 or 6 people.  So there we are in a full room with 16 attendees.
07:33 timotimo the future of rakudo really is bright
07:33 woolfy timotimo++
07:36 d^_^b joined #perl6
07:36 segomos joined #perl6
07:37 sivoais joined #perl6
07:47 sqirrel joined #perl6
07:55 xinming joined #perl6
07:58 ugexe joined #perl6
08:01 domidumont joined #perl6
08:04 Bzek joined #perl6
08:06 timotimo No LoL!
08:08 moritz good morning
08:08 timotimo hello moritz
08:08 moritz I hope somebody takes notes, and makes some comprehensive blog posts or docs out of them
08:09 timotimo we have an audio recording and coke offered to transcribe it
08:09 moritz \o/
08:09 moritz does jnthn have slides? or does he browse through the relevant code pieces?
08:10 timotimo he has slides and we have print-outs
08:10 timotimo and there's some shells and some pointing at source code
08:11 timotimo maybe we should be taking a screenshot of jnthns desktop every 5 seconds and play that at the same time as the audio or something?
08:12 domidumont joined #perl6
08:12 timotimo we are about to write our own compiler to replace rakudo
08:12 timotimo at this workshop, we are going to make perl6 and rakudo obsolete
08:14 FROGGS *g*
08:14 FROGGS pssst!
08:15 moritz you'll make it a thing of the qast
08:15 FROGGS hehe
08:30 timotimo https://metacpan.org/module/Imager::Screenshot <- this could take screenshots of jnthns screen periodically
08:30 timotimo too late now, though
08:36 denis_boyun joined #perl6
08:47 woolfy joined #perl6
08:50 iSlug joined #perl6
08:50 lizmat joined #perl6
08:51 [Sno] joined #perl6
08:53 spider-mario joined #perl6
08:55 dmol joined #perl6
08:56 timotimo now we're laughing about php
08:56 timotimo ooh good times
08:57 tadzik for every language community, there's at least one other language community that laughs at it
08:59 timotimo that seems fair
09:01 timotimo well, except python i guess, because NO LOL
09:01 tadzik so: for every language community, there's at least one other language community that laughs at it, except python, which doesn't LOL
09:02 timotimo ah, right, that doesn't require every language community to laugh about any specific number of other communities
09:06 moritz what language does the cobol community laugh at?
09:06 tadzik . o O ( dead people don't laugh )
09:07 timotimo they laugh about all other language communities because nobody makes as much money as them
09:07 tadzik hah
09:07 tadzik wiping off their tears with dollars
09:07 timotimo if nqp doesn't have pairs, what is $_ in this?
09:07 timotimo nqp: my %h; %h<foo> := "bar"; %h<raniw> := "awesome"; for %h { say($_.key); say($_.value) }
09:07 camelia nqp: OUTPUT«foo␤bar␤raniw␤awesome␤»
09:08 tadzik the plot thickens
09:08 timotimo nqp: Pair.new(:key(1), :value(100))
09:08 camelia nqp:  ( no output )
09:09 moritz nqp: my %h; %h<foo> := "bar"; %h<raniw> := "awesome"; for % { say($_.HOW.name($_)) }
09:09 camelia nqp: OUTPUT«get_number() not implemented in class 'Sub'␤current instr.: '' pc 129 ((file unknown):153102738) (/tmp/RS_2O076Q0:1)␤»
09:09 moritz nqp-jvm: my %h; %h<foo> := "bar"; %h<raniw> := "awesome"; for % { say($_.HOW.name($_)) }
09:09 camelia nqp-jvm: OUTPUT«Cannot numify this␤  in <anon>␤  in <anon>␤  in eval␤  in evalfiles␤  in command_eval␤  in command_line␤  in MAIN␤  in <anon>␤  in <anon>»
09:10 moritz it seems to be something that doesn't numify, but I have no idea why it would numify
09:11 timotimo why not look at the source of <anon> and find out? :)
09:17 timotimo we should have made a stencil on github for "attend RaNIW"
09:17 tadzik stencil?
09:17 timotimo questhub*
09:17 timotimo not github
09:17 tadzik oh :)
09:17 tadzik free karma
09:25 timotimo exercise time soon :3
09:37 lizmat joined #perl6
09:45 woolfy joined #perl6
09:45 timotimo tadzik: when i turn the second argument to the pointy block optional, it'll end up doing one item at a time; is that my mistake?
09:51 tadzik timotimo: I want to ask jnthn once he's free to answer :)
09:51 timotimo good
09:51 tadzik I stumbled upon that as well, wondering if it's a bug or a feature
09:51 timotimo i will snoop the conversation
09:52 timotimo turns out i don't know how to nqp::sprintf
09:54 timotimo or maybe i don't know how to hash
09:55 timotimo nqp: say(nqp::hash(:foo(1))<foo>)
09:55 camelia nqp: OUTPUT«Error while compiling block : Error while compiling op call (source text: "nqp::hash(:foo(1))<foo>"): Error while compiling op ifnull: Error while compiling op if: Error while compiling op isconcrete: Error while compiling op bind: Error while compiling op hash (source text:…
09:55 timotimo that's not how you do it  ...
09:55 timotimo nqp: my %h := nqp::hash(:foo(1)); say(%h<foo>);
09:55 camelia nqp: OUTPUT«Error while compiling block : Error while compiling op bind (source text: ":="): Error while compiling op hash (source text: "nqp::hash(:foo(1))"): Unknown QAST node type NQPMu␤current instr.: '' pc 52004 (src/stage2/QAST.pir:18966) (src/stage2/QAST.nqp:3186)␤»
09:55 timotimo i ... don't quite know what i just did wrong
09:56 PacoAir joined #perl6
10:02 timotimo wow, so many tuits on the table
10:04 [Coke] lizmat: I need power back soon.
10:05 FROGGS nqp: my %h := nqp::hash('foo', 1);
10:05 camelia nqp:  ( no output )
10:06 [Coke] thank you. sorry about the clanking.
10:07 timotimo i can only assume the animation referred to is something to be found on weebls-stuff?
10:07 FROGGS yeah, I just woke up ò.ó
10:07 [Coke] timotimo: sadly, yes.
10:07 timotimo in what way is that sad?
10:07 timotimo weebls stuff makes me happy most of the time
10:07 [Coke] I dislike weebls.
10:10 timotimo this email regex will also match ...@...oh
10:11 lizmat [Coke]: thanks for the loan of the power adapter!
10:12 denis_boyun joined #perl6
10:16 timotimo is the smoke results page on a different ip now or just incredibly slow to respond?
10:18 timotimo because seeing my changes make the modules green would make me happy :3
10:23 timotimo why did nobody ever mention --rxtrace and MyGrammar.HOW.trace-on(MyGrammar)??
10:23 tadzik yeah, same thought here
10:24 [Coke] I feel like a dunce. I'm still trying to get the 1.x examples to compile. Oy.
10:24 timotimo [Coke]: pastebin it or something?
10:25 stevan_ joined #perl6
10:25 Rotwang joined #perl6
10:28 araujo joined #perl6
10:31 timotimo --rxtrace for rakudo only seems to show a trace up to a call to comp_unit :(
10:32 tadzik you can put <?DEBUG(1)> in rakudo grammar
10:32 timotimo ooooh
10:33 timotimo all this shiny new stuff
10:33 rindolf joined #perl6
10:39 * moritz now runs an openid provider, because his last two have stopped operating
10:39 timotimo :o
10:39 timotimo is openid dying?
10:39 moritz maybe
10:39 tadzik the last one I used stopped working and I lost my SO account
10:39 tadzik not falling for that thing again :|
10:40 timotimo how did you lose your account?
10:40 timotimo did you misbehave? :p
10:40 tadzik I don't have that openid anymore
10:40 tadzik because that openid's dead
10:40 timotimo oh, crap
10:41 tadzik I could go to SO now and say "hey, I was the owner of that account. I have no proof, but I really was"
10:41 timotimo so there's still a reason to associate a classic email address thing to accounts made like that :|
10:41 timotimo well, openid wants to be decentralised anyway
10:42 tadzik thing is, when you use it everywhere, you centralize yourself with this openid
10:42 tadzik (if you know what I mean)
10:42 tadzik of course, otherwise you cetralize yourself with an email
10:42 tadzik so it's the same, really
10:43 timotimo yeah
10:43 tadzik but everytime I used openid, the site was like "oh, you have openid? Cool, now open an account here linked with that openid!"
10:43 timotimo totally what you want, right?
10:43 tadzik so the only thing I don't need is a new password
10:43 tadzik which doesn't matter, because I don't remember any of my passwords anyway
10:43 tadzik except the password to a passwords-file
10:44 timotimo i remember a few passwords, most are in a pwsafe
10:49 dalek v5: bfdcd2e | (Tobias Leich)++ | lib/Perl5.nqp:
10:49 dalek v5: enable tracing of grammars
10:49 dalek v5:
10:49 dalek v5: By for example: V5TRACE=Perl5::RegexGrammar
10:49 dalek v5: review: https://github.com/rakudo-p5/v5/commit/bfdcd2e086
10:50 timotimo :D
10:50 FROGGS *g*
10:51 FROGGS so I don't forget about it...
10:57 timotimo i have a super clever representation of a time in nqp
10:57 timotimo hours * 100 + minutes!
10:58 colomon \o
10:59 iSlug joined #perl6
11:02 [Coke] colomon: hio
11:02 rindolf joined #perl6
11:02 timotimo about to have noms i hope
11:02 [Coke] so, IRCLOG.HOW.trace-on(IRCLOG); shows me when the grammar is calling certain tokens - how can I see where it's failing when it fails?
11:05 SamuraiJack_ joined #perl6
11:06 lizmat joined #perl6
11:07 lizmat lunch&
11:08 colomon how's the workshop going
11:08 colomon ?
11:17 denis_boyun joined #perl6
11:17 woolfy joined #perl6
11:17 SmokeMachine joined #perl6
11:20 ivan`` joined #perl6
12:00 krunen back from lunch (at least the ones not having dessert...)
12:01 timotimo colomon: it's going good :)
12:02 colomon \o/
12:02 timotimo colomon: were you the one who's running the smoker?
12:04 FROGGS timotimo: if you are curious: http://irclog.perlgeek.de/moarvm/2013-09-12#i_7579501
12:09 timotimo oic
12:09 JQK joined #perl6
12:16 woolfy joined #perl6
12:16 lizmat joined #perl6
12:17 colomon timotimo: yes
12:21 timotimo can you give an updated IP? or restart the webapp or whatever it needs doing to be up again? :)
12:29 FROGGS tadzik: you are going to fix #122?
12:32 tadzik #122 what?
12:32 timotimo 'til 6 today
12:32 FROGGS tadzik: your nqp issue
12:32 tadzik oh, wasn't planning to
12:32 tadzik not yet at least
12:32 FROGGS [nqp] Iterating on multiple values nqp doesn't get optional items right (#122)
12:32 FROGGS k
12:32 timotimo i feel like i'm going to nap from 6:30 today to 07:30 tomorrow >_<
12:32 FROGGS timotimo: you mean only at that time? :o)
12:33 timotimo :/
12:34 mtk joined #perl6
12:34 timotimo i have a suspicion that people are not going to allow me to fall asleep during the workshop
12:44 * timotimo learns another bit of exotic, but fun to use syntax
12:46 moritz timotimo: which one?
12:46 timotimo <( and )> in regex
12:46 [Coke] nqp: https://gist.github.com/coke/6561753
12:46 camelia nqp: OUTPUT«Unable to open filehandle from path 'section2.sample': No such file or directory(2)␤current instr.: 'open' pc 570 (src/stage2/gen/NQPCORE.setting.pir:265) (src/stage2/NQPCORE.setting:627)␤»
12:47 timotimo what problem are you getting? no match?
12:47 [Coke] with line 44, this dies: Cannot look up attributes in a type object in  (section2.nqp:44)
12:48 [Coke] (if I just print out the ast, it works. try to save it in the action's private attribute, boom.
12:48 timotimo yes, your make is empty :)
12:48 timotimo the TOP make
12:48 [Coke] slightly different error if I use @!lines = [];
12:48 timotimo oh, wait, that's *after* the error
12:49 timotimo oh
12:49 timotimo i know what's wrong
12:49 [Coke] timotimo: aye. I'm ignoring the top level make and creating an array in the class.
12:49 moritz [Coke]: = is wrng in nqp
12:49 timotimo you're supplying the class IRCLOG::Actions, but the parse will not make it an instance for you
12:49 [Coke] I lied. -same- error if I init @!lines
12:49 timotimo so your @!lines is trying to access a type object actually
12:50 timotimo try :actions(IRCLOG::Actions.new) instead
12:50 [Coke] timotimo: arglebargle.
12:50 timotimo :)
12:50 moritz timotimo++
12:50 timotimo i wondered if i should notify jnthn of that when the first slide with actions came up, but it's simpler without instances ... until you want instance attributes ;))
12:53 pmurias joined #perl6
12:53 dalek rakudo-js: 88dd289 | (Pawel Murias)++ | / (6 files):
12:53 dalek rakudo-js: Start of a serialization implementation.
12:53 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/88dd289fc8
12:53 timotimo \o/
12:54 tadzik ooooh :)
12:54 timotimo "after this talk you can be this crazy, too"
12:55 tadzik that reminded me of a class at the university, where we programmed an MCU by giving it a stream of 0's and 1's
12:55 timotimo "arghlbarghl" is a fun word
12:58 tadzik timotimo: http://images2.wikia.nocookie.net/__cb20081110024604/fark/images/7/7c/Wharrgarbl.jpg
12:58 timotimo tadzik: you don't even look so old
12:58 tadzik timotimo: my university does
12:58 tadzik :)
12:58 tadzik but it was fun
12:58 timotimo i can imagine :)
12:59 tadzik it was also at 8 AM and lasted 4 hours. Parts of my sanity will stay in that classroom forever
12:59 timotimo they'll keep finding pieces of your sanity under and behind furniture for ages
13:00 tadzik by that logic, that room should be full of sanity by now
13:00 timotimo huh. we've gone through a tiny part of the slides, but already a big chunk of the time
13:00 tadzik I thought it's exactly the opposite :P
13:00 timotimo :D
13:11 timotimo i just missed a question for what pointy blocks are?
13:11 tadzik yes
13:14 timotimo nqp: say(&infix:<eq>("foo", "foo"))
13:14 camelia nqp: OUTPUT«Use of undeclared variable '&infix' at line 2, near ":<eq>(\"foo"␤current instr.: 'panic' pc 14693 (src/stage2/gen/NQPHLL.pir:5223) (src/stage2/gen/NQPHLL.nqp:279)␤»
13:17 timotimo juice: shake before drinking
13:20 timotimo nqp: my @a := [1,2,3,4]; nqp::deletepos(@a, 2); say(nqp::join(" ", @a));
13:20 camelia nqp: OUTPUT«Error while compiling block : Error while compiling op deletepos (source text: "nqp::deletepos(@a, 2)"): No registered operation handler for 'deletepos'␤current instr.: '' pc 52004 (src/stage2/QAST.pir:18966) (src/stage2/QAST.nqp:3186)␤»
13:20 timotimo how do i get rid of an entry in the middle of a list? probably splice manually?
13:22 timotimo i think i missed the reason why we had :s in the rules
13:22 FROGGS timotimo: I think he had not explained it yet
13:23 timotimo OK
13:28 dmol joined #perl6
13:28 timotimo what's the parameters to splice again? splice(the-array, start-index, remove-how-many, replacement-array)?
13:34 colomon timotimo: http://97.95.33.142:3001/report appears to work for me.  But that's what it's been for a while, and I didn't touch the app
13:37 [Coke] nqp: my %a := nqp::hash; say(%a.keys.elems);
13:37 camelia nqp: OUTPUT«Method 'keys' not found for invocant of class 'Hash'␤current instr.: '' pc 58 ((file unknown):44) (/tmp/kMtFyJIy9P:1)␤»
13:37 [Coke] nqp: my %a := nqp::hash; say(%a.^methods);
13:37 camelia nqp: OUTPUT«Confused at line 2, near "say(%a.^me"␤current instr.: 'panic' pc 14693 (src/stage2/gen/NQPHLL.pir:5223) (src/stage2/gen/NQPHLL.nqp:279)␤»
13:37 timotimo wat. oooh, duh
13:37 timotimo all ports except 80 and 443 are blocked here
13:37 timotimo silly me :)
13:38 timotimo WAT. "if $match { ... }" gives me elements() not implemented in class 'Float'
13:39 [Coke] nqp: class Barf is Hash { ... }
13:39 camelia nqp: OUTPUT«Unable to parse expression in blockoid; couldn't find final '}' at line 2, near "... }"␤current instr.: 'panic' pc 14693 (src/stage2/gen/NQPHLL.pir:5223) (src/stage2/gen/NQPHLL.nqp:279)␤»
13:39 [Coke] nqp: class Barf is Hash {  }
13:39 camelia nqp: OUTPUT«Could not find parent class 'Hash' at line 2, near ""␤current instr.: 'panic' pc 14693 (src/stage2/gen/NQPHLL.pir:5223) (src/stage2/gen/NQPHLL.nqp:279)␤»
13:39 timotimo or perhaps that error comes from my invocation of splice?
13:40 timotimo nqp::splice(@db, $idx, 1, []); <- doesn't seem wrong?
13:40 logie joined #perl6
13:42 [Coke] ... man, this is frustrating.
13:42 timotimo [Coke]: what are you struggling with?
13:42 timotimo i'm frustrated now, too :)
13:42 [Coke] be nice if I had finished that nqp opcode docs I thought about doing. :)
13:42 timotimo :D
13:42 timotimo agreed
13:42 [Coke] right now: I can't make a class that I can substitute for a hash. barring that, how do I find out if a hash is empty.
13:43 timotimo nqp: my @arr = [1, 2, 3, 4]; nqp::splice(@arr, 2, 1, []); say(nqp::join(", ", @arr));
13:43 camelia nqp: OUTPUT«Assignment ("=") not supported in NQP, use ":=" instead at line 2, near " [1, 2, 3,"␤current instr.: 'panic' pc 14693 (src/stage2/gen/NQPHLL.pir:5223) (src/stage2/gen/NQPHLL.nqp:279)␤»
13:43 timotimo nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, 2, 1, []); say(nqp::join(", ", @arr));
13:43 camelia nqp: OUTPUT«elements() not implemented in class 'Integer'␤current instr.: '' pc 85 ((file unknown):55) (/tmp/D6YaITV7YF:1)␤»
13:43 timotimo you can use nqp::elems for hashes, too
13:43 timotimo nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, 2, [], 1); say(nqp::join(", ", @arr));
13:43 camelia nqp: OUTPUT«elements() not implemented in class 'Integer'␤current instr.: '' pc 85 ((file unknown):55) (/tmp/2p7_OqSjiB:1)␤»
13:43 timotimo nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, 2, []); say(nqp::join(", ", @arr));
13:43 camelia nqp: OUTPUT«Error while compiling block : Error while compiling op splice (source text: "nqp::splice(@arr, 2, [])"): Operation 'splice' requires 4 operands, but got 3␤current instr.: '' pc 52004 (src/stage2/QAST.pir:18966) (src/stage2/QAST.nqp:3186)␤»
13:43 timotimo i don't understand how nqp::splice works, clearly
13:44 timotimo ah, like this:
13:44 timotimo nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, [], 2, 1); say(nqp::join(", ", @arr));
13:44 camelia nqp: OUTPUT«1, 2, 4␤»
13:44 [Coke] timotimo++
13:44 [Coke] (nqp::elems ftw)
13:45 timotimo my DELETE now seems to work :D
13:47 domidumont joined #perl6
13:49 [Coke] ... I thought mine did, until I tried deleting the first record.
13:52 pmurias [Coke]: if any ops are confusing I could document them
13:52 [Coke] \o/
13:52 [Coke] pmurias: no, I just need a corpus of all of them.
13:52 timotimo mine is at least capable of deleting the last line
13:53 [Coke] (yay, DELETE (*&#@$#@ works)
13:59 prevost joined #perl6
14:00 FROGGS lizmat: btw, my wife++ ordered an embroidery machine while I am absent... so we might be able to make awesome camelia/perl6 shirts in the near future
14:00 lizmat oooh, wow!
14:01 [Coke] ooooh
14:04 timotimo ooooh
14:04 tadzik aww yiss
14:04 timotimo mother*Δ∂ℝℕ∃Δ butterflies :)
14:04 tadzik :D
14:06 timotimo omg dese cookies
14:07 tadzik yeah
14:10 timotimo oh god so much sugar
14:10 tadzik Troi would love that
14:10 FROGGS timotimo: you can be our sugar layer then :o)
14:11 FROGGS Troi++
14:11 timotimo star trek reference?
14:11 FROGGS yesh
14:11 FROGGS "I feel pain"
14:23 dmol joined #perl6
14:32 [Coke] not no way, not knowhow.
14:34 timotimo apparently we've passed the 50% mark for today in terms of slide count
14:35 nwc10 timotimo: and you're not allowed to leave until it reaches 100%?
14:35 yoleaux 13 Sep 2013 20:58Z <jnthn> nwc10: Well, I registered at least...
14:35 FROGGS so, we are done at 24:34 ?
14:35 timotimo haha
14:36 timotimo the exercises are not annotated with which day they are on
14:39 timotimo but it seems like we'll reach exercise 4 today
14:39 xenoterracide joined #perl6
14:40 timotimo i hereby propose a hand-sign for "perl6 is great" wherein you give a thumbs up on one hand and a full hand on the other (so the fingers shown add up to 6)
14:41 TimToady .oO(Please stop, I'm hitchhiking.)
14:41 lizmat joined #perl6
14:42 raiph joined #perl6
14:43 TimToady .oO(Halt! I'm carjacking you!)
14:43 timotimo TimToady: in that case, the hand should be flipped over, so that the back of the hand is shown to the recipient
14:43 timotimo that should make it distinct
14:44 TimToady doubtless this is an obscene gesture in some culture or other
14:44 timotimo sure
14:44 timotimo in python culture it's obscene to claim "perl6 is great"
14:44 TimToady lol
14:44 timotimo no lol!
14:45 flussence rn: say time, (* X/ 60, 60, 24, 7) ... * < 60
14:45 tadzik I was thinking about bringing up python, but I didn't want to look languagist
14:45 camelia rakudo 67c6fd: OUTPUT«Cannot call 'Numeric'; none of these signatures match:␤:(Mu:U \v: Mu *%_)␤  in method Numeric at src/gen/CORE.setting:924␤  in sub infix:</> at src/gen/CORE.setting:3610␤  in sub infix:</> at src/gen/CORE.setting:3607␤  in block  at src/gen/CORE.setting:15762␤  in …
14:45 camelia ..niecza v24-95-ga6d4c5f: OUTPUT«1379169907.537071 22986165.125617851 22986165.125617851 57465412.814044625 197024272.50529584␤»
14:45 TimToady only ls is allowed, huh?
14:45 timotimo tadzik: python is a good target because "no lol" is such a meme in perl6-land nowadays; otherwise it's an okay language and community in my experience
14:46 timotimo flussence: i'm not sure if you have to put parens after X/?
14:47 TimToady timotimo: it's a list infix, doesn't parens like a hyper would
14:47 timotimo oke
14:47 * TimToady a word out
14:49 * timotimo a word out to my homies
14:51 woolfy joined #perl6
15:02 krokite joined #perl6
15:03 lizmat joined #perl6
15:05 * lizmat thinks .ast should be called .made
15:05 [Coke] zzzzzzzzzzz
15:05 timotimo [Coke]: you already know all this? ;)
15:06 [Coke] someone kick my chair if I start snoring. ( lag is overpowering jnthn's presentation. :(
15:06 timotimo poor you :(
15:06 timotimo i am super tired, too, but i can't blame jetlag
15:06 [Coke] timotimo: it's only 11 am! why am I tired? ;)
15:06 timotimo hehehe
15:07 timotimo you've only been up since midnight or so?
15:07 timotimo nah, probably more like 2am
15:07 timotimo timezones are hard
15:07 [Coke] my eyes are open, wendy. :P
15:07 timotimo hehehe
15:08 woolfy Coke: I saw that...  (I so hopen I could come over and startle you a bit)
15:08 woolfy s/hopen/hoped/
15:10 timotimo yays, game::crypt and druid are now showing checkmarks! :)
15:11 btyler joined #perl6
15:12 FROGGS ha! I already stubbed PHP :P
15:12 timotimo jnthn is reviving Cardinal!
15:12 timotimo i wanna have a napwaffle
15:16 btyler_ joined #perl6
15:17 colomon Cardinal?  Ruby on Parrot?
15:18 nwc10 I'll have a guess that this time it's Ruby on NQP (on Parrot or JVM)
15:21 tadzik let's write a PIR compiler in NQP on JVM
15:21 tadzik then we can have Parrot on JVM
15:21 fridim__ joined #perl6
15:23 timotimo let's compile parrot to emscripten first and write a javascript compiler in nqp
15:27 btyler joined #perl6
15:30 * TimToady thinks you should start with something easy like Perl 6
15:31 diakopter *headpillow*
15:31 timotimo diakopter: who are you smothering?
15:31 [Coke] hey, diakopter is awake.
15:31 tadzik not anymore
15:32 diakopter wait, TimToady is awake; I should be awake
15:32 woolfy stroopwafel!
15:32 TimToady actually, the desk eventually got soft enough that he can just use it for a pillow now
15:33 diakopter (new microsoft sculpt keyboard)
15:33 diakopter forgot the ++
15:33 TimToady my keyboard doesn't have a ++ key...
15:34 TimToady well, there's the 艹 key
15:34 [Coke] I think I have half a key.
15:34 diakopter
15:35 TimToady
15:35 TimToady wow, ⩴
15:35 TimToady .u ::=
15:35 yoleaux U+003A COLON [Po] (:)
15:36 yoleaux U+003D EQUALS SIGN [Sm] (=)
15:36 TimToady eh?
15:37 diakopter .u 29e7
15:37 yoleaux U+29E7 THERMODYNAMIC [Sm] (⧧)
15:37 diakopter .u 29fb
15:37 yoleaux U+29FB TRIPLE PLUS [Sm] (⧻)
15:38 TimToady .u 2a74
15:38 yoleaux U+2A74 DOUBLE COLON EQUAL [Sm] (⩴)
15:38 moritz .u 艹
15:38 yoleaux U+FA5E CJK COMPATIBILITY IDEOGRAPH-FA5E [Lo] (艹)
15:39 TimToady .u 卄
15:39 yoleaux No characters found
15:39 diakopter 6.0 I think
15:39 TimToady .u 卌
15:39 yoleaux No characters found
15:40 TimToady nah, it's in the BMP
15:40 TimToady I'm a bit surprised that 2a74 copy/pastes as 3 chars rather than 1
15:40 TimToady the ::=
15:41 diakopter maybe it's a double-wide plus 1
15:41 diakopter nope
15:42 diakopter
15:44 TimToady .u ⩴
15:44 yoleaux U+2A74 DOUBLE COLON EQUAL [Sm] (⩴)
15:44 TimToady there we go
15:44 TimToady typed it in directly to gnome instead of pasting
15:45 TimToady if there's a DOUBLE PLUS, why isn't there DOU
15:45 TimToady DOUBLE MINUS?
15:45 diakopter .oO( at least my windowing system isn't named after lawn art.. )
15:45 TimToady or a DOUBLE PLUS UNGOOD?
15:46 timotimo we will need to do a third day!
15:46 TimToady .oO( at least my OS isn't named after a fruit )
15:46 * moritz sees stroopwafels being mentioned in the backlog!
15:47 TimToady what makes a wafel stroop?
15:47 diakopter is that a mix between strep and croop?
15:48 moritz stroop = sirup
15:48 woolfy It is a beautiful Dutch word meaning sirup waffle
15:48 woolfy It's full of calorie goodness
15:48 moritz and taste. Don't forget the taste!
15:48 woolfy ack
15:49 cooper joined #perl6
15:49 lizmat [Coke] liked it
15:49 * moritz suspect mberends++ might be behind it
15:49 TimToady give me the stroop, but leave out the wafel, assuming it's made of wheatflour...
15:50 [Coke] I am coughing at the moment.
15:50 diakopter strep or croop?
15:50 [Coke] lizmat++ hosting.
15:50 TimToady diakopter: stroop
15:51 woolfy TimToady: indeed, it is not health for you
15:51 woolfy s/health/healthy/
15:51 diakopter okay, why would a waffle go well with stirrups
15:52 woolfy because the stirrups are spelled wrong?
15:52 * [Coke] wonders what the syntax was that let you say "use these as delimiters and complain smartly if we don't find the closer"
15:52 TimToady to delimit what?
15:52 moritz [Coke]: tilda between the delimiters
15:52 diakopter my fav syrup is Mrs. Butterworth's, in the iconic caricature woman bottle
15:53 [Coke] ah, ~
15:53 [Coke] it looked like a dash on the slide.
15:53 moritz '( ~ ')' <[()]>*
15:53 moritz erm
15:53 moritz '( ~ ')' <-[()]>*
15:54 * TimToady wonders if .*? would work there
15:54 moritz not in rakudo
15:54 TimToady well, it would allow a ( I guess
15:54 moritz because the inside doesn't backtrac, I think
15:55 * lizmat still thinks that .ast should have been called .made
15:55 tadzik php: echo"foo\n"
15:55 tadzik damn :(
15:55 moritz nr: say so '(abc)' ~~ /'(' ~ ')' .*?/
15:55 camelia niecza v24-95-ga6d4c5f: OUTPUT«Unhandled exception: Unable to parse anonymous regex␤Couldn't find final ')'; gave up␤  at /home/p6eval/niecza/lib/CORE.setting line 1536 (die @ 5) ␤  at /home/p6eval/niecza/lib/CORE.setting line 2950 (Cursor.FAILGOAL @ 6) ␤  at /tmp/fo8Fv2LDef line 1 (ANO…
15:55 camelia ..rakudo 67c6fd: OUTPUT«Unable to parse expression in ; couldn't find final ')'␤  in any FAILGOAL at src/stage2/QRegex.nqp:1037␤  in regex  at /tmp/ljPkLnDJjJ:1␤  in method ACCEPTS at src/gen/CORE.setting:11864␤  in method ACCEPTS at src/gen/CORE.setting:740␤  in block  at /tmp/ljPkLnDJjJ…
15:55 TimToady maybe we should rename 'make' to 'as'
15:55 moritz nr: say so '(abc)'' ~~ /'(' ~ ')' .*?/
15:55 camelia rakudo 67c6fd: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/elSTRqx0msâ�¤Two terms in a rowâ�¤at /tmp/elSTRqx0ms:1â�¤------> [32msay so '(abc)'[33mâ��[31m' ~~ /'(' ~ ')' .*?/[0mâ�¤    expecting any of:â�¤        postfixâ�¤        infix stopperâ�¤        infix or meta-infixâ�¤     …
15:55 camelia ..niecza v24-95-ga6d4c5f: OUTPUT«[31m===[0mSORRY![31m===[0m��Two terms in a row at /tmp/v3OevacJCB line 1:�------> [32msay so '(abc)'[33m�[31m' ~~ /'(' ~ ')' .*?/[0m��Parse failed��»
15:56 moritz ok, rakudo andniecza agree, the .*? doesn't backtrack
15:56 timotimo i'm a bit worried about :node, you pass a $/ which potentially carries around tons of other objects unnecessarily; but at least these nodes don't make it into the compilation
15:58 diakopter timotimo: why wouldn't they get serialized?
15:58 krunen tadzik: PHP Parse error:  syntax error, unexpected end of file, expecting ',' or ';' in Command line code on line 1
15:58 tadzik odd
15:58 timotimo diakopter: i see no reason for it to be serialised
15:59 timotimo if it does get serialised: WTH
15:59 tadzik krunen: https://gist.github.com/tadzik/6563134
15:59 krunen I just did php -r from the command line, not in a file
16:00 tadzik yay for consistency
16:00 krunen :/
16:01 timotimo the only thing consistency does is reduce the possibility of DWIM
16:02 tadzik (I pushed a less wrong rakudobrew to github, btw)
16:02 woolfy OK, finished for today. On our way to drop off stuff at the hotel and off to Restaurant Koriander in the Leipzigerstrasse 20 for dinner.
16:02 diakopter I think a serialization dumper would be wildly informative
16:02 woolfy jnthn++
16:02 ajr joined #perl6
16:02 woolfy left #perl6
16:02 lizmat jnthn++
16:21 pmurias diakopter: serialization dumper - you mean something that will turn the serialization format nqp uses into something humanly readable?
16:22 tadzik it's human readable, for some value of human... ;)
16:22 sqirrel joined #perl6
16:26 moritz_ joined #perl6
16:27 jnthn yay I survived!
16:27 pmurias tadzik: well you can read it, just not understand it ;)
16:28 jnthn I think the best bet is probably to deserialize it and then go through all the objects in it
16:28 jnthn You can get the number of objects
16:29 jnthn And get them out by index.
16:34 pmurias jnthn: you are reviving Cardinal?
16:35 jnthn pmurias: Only if somebody takes my Rubyish and makes it less -ish :P
16:36 jnthn dinner &
16:37 bruges_ joined #perl6
16:53 btyler joined #perl6
16:54 rindolf joined #perl6
16:56 dalek rakudo-js: b78980b | (Pawel Murias)++ | / (4 files):
16:56 dalek rakudo-js: Use one kind of serialization contexts for both serialization and deserialization.
16:56 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/b78980be79
16:56 dalek rakudo-js: 9f33a7d | (Pawel Murias)++ | runtime (4 files):
16:56 dalek rakudo-js: When deserializing objects mark the serialization context they came from.
16:56 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/9f33a7db2e
16:59 krokite joined #perl6
16:59 krokite joined #perl6
17:04 dalek rakudo-js: a78078e | (Pawel Murias)++ | runtime/serialization_writer.js:
17:04 dalek rakudo-js: Serialize the type check cache correctly.
17:04 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/a78078e119
17:08 dalek rakudo-js: c70bbd8 | (Pawel Murias)++ | runtime/ (2 files):
17:08 dalek rakudo-js: Serialize P6num correctly
17:08 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/c70bbd8a19
17:09 dalek rakudo-js: f184c52 | (Pawel Murias)++ | runtime/reprs.js:
17:09 dalek rakudo-js: Serialize P6str correctly
17:09 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/f184c52385
17:09 rindolf joined #perl6
17:43 SamuraiJack__ joined #perl6
17:45 BenGoldberg joined #perl6
17:45 BenGoldberg Good afternoon
17:57 sqirrel joined #perl6
17:57 sisar joined #perl6
18:04 timotimo hi
18:06 timotimo been
18:06 timotimo er
18:07 timotimo ben, i think for is not going to stay lazy by spec, but map does what you want
18:17 lue hello world! o/
18:32 timotimo hey lue
18:33 amkrankruleuen joined #perl6
18:58 lichtkind joined #perl6
18:59 pmurias jnthn: if an knowhow has the P6int repr it gains the ability to be boxed and nqp knows how to extract an int from it?
19:02 timotimo should do, yes
19:02 timotimo said jnthn
19:14 EvanTeitelman joined #perl6
19:27 denisboyun joined #perl6
19:38 cooper joined #perl6
19:38 cooper joined #perl6
19:46 FROGGS joined #perl6
19:50 poor_soul joined #perl6
19:52 poor_soul hi, #perl6! are you all at the workshop?
19:53 moritz not all of us :(
19:54 poor_soul i was testing moarvm and got a failing test during 'make test', is someone interested?
19:55 moritz maybe in #moarvm
19:55 poor_soul will they be there?
19:56 * moritz has no idea
19:56 moritz but #moarvm is also logged
19:56 kaare_ joined #perl6
19:59 * [Coke] signs on from the "bar".
20:00 [Coke] ah. it's easy to catch on logs when so many people are here in person.
20:02 * moritz puts some more logs into the fire
20:04 * flussence misread those 2 lines as "catch on fire when..."
20:06 cooper joined #perl6
20:06 * sorear wanders by
20:07 cognominal joined #perl6
20:08 dalek perl6-roast-data: 91523f0 | coke++ | p (2 files):
20:08 dalek perl6-roast-data: today (automated commit)
20:08 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/91523f052b
20:09 zakharyas joined #perl6
20:21 tadzik sorear! \o/
20:21 dalek roast: f728c56 | coke++ | S02-names-vars/variables-and-packages.t:
20:21 dalek roast: pugs fudge
20:21 dalek roast: review: https://github.com/perl6/roast/commit/f728c56a5c
20:28 krokite joined #perl6
20:31 lizmat joined #perl6
20:43 timotimo gaaah this doesn't make any sense to me :(
20:45 colomon sorear!  \o/
20:48 timotimo https://github.com/perl6/nqp/blob/master/src/vm/parrot/ops/nqp.ops#L2351 - first: why is *ch created and not used? is decontainerize mutating? is the method incomplete? second: what two objects am i supposed to pass in? which of the locals in this code https://github.com/perl6/nqp/blob/master/src/vm/parrot/QAST/Compiler.nqp#L986 are applicable? third: why am i getting "No registered operation handler for 'attrhintfor'", even though i put ...
20:48 timotimo ... QAST::Operations.add_core_pirop_mapping('attrhintfor', 'repr_hint_for', 'IPPs', :inlinable(1)); into QAST/Operations.nqp
20:49 sorear your code not being loaded when you expect it to?
20:49 timotimo er
20:49 timotimo oh
20:49 timotimo OH
20:49 sqirrel joined #perl6
20:49 timotimo of course
20:50 timotimo i added the operation, but *of course* it's not in the stage0
20:50 timotimo *thank you*!
20:50 sorear ch not being used, I'm 99% sure that's a bug
20:57 tadzik pmurias: README in rakudo-js says "See F for licensing details". Did you mean "a license file" or something?
21:02 lizmat lobby closing down  :-(
21:02 lizmat slep&
21:14 dalek panda: 26b59c3 | tadzik++ | rebootstrap.pl:
21:14 dalek panda: Fix rebootstrap
21:14 dalek panda: review: https://github.com/tadzik/panda/commit/26b59c31ec
21:14 cognominal joined #perl6
21:15 dalek panda: 2ef0abc | tadzik++ | rebootstrap.pl:
21:15 dalek panda: Fix rebootstrap better
21:15 dalek panda: review: https://github.com/tadzik/panda/commit/2ef0abca4a
21:16 timotimo i will have to continue working on that tomorrow
21:16 diakopter pmurias: I was thinking yaml of sorts, so you can clearly-ish see the pointers
21:19 tadzik I declare https://github.com/tadzik/rakudobrew useful and usable for early adopters
21:19 tadzik it can build rakudo for both VMs in any version, switch between any versions of any backends, install panda on any backend
21:20 tadzik seems to be pretty useful
21:20 diakopter ingy: ^
21:20 tadzik working on it, I also noticed that while one can run perl6 outside of rakudo-jvm directory, it is not so for nqp
21:20 tadzik (nqp on jvm, that is)
21:23 pmurias tadzik: see F<LICENCE> for details
21:25 tadzik ah :)
21:25 cognominal joined #perl6
21:27 colomon perl6 runs outside of rakudo-jvm directory now?!  \o/
21:28 dalek rakudo-js: d3f53c5 | (Pawel Murias)++ | README.markdown:
21:28 dalek rakudo-js: Remove use of F<> from README.markdown (tadzik++).
21:28 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/d3f53c5bcd
21:28 dalek rakudo-js: 48bf145 | (Pawel Murias)++ | runtime (6 files):
21:28 dalek rakudo-js: Pass nqp/t/serialization/01-basic.t.
21:28 dalek rakudo-js:
21:28 dalek rakudo-js: Various serialization fixes.
21:28 dalek rakudo-js: Add some missing ops.
21:28 dalek rakudo-js: Handle P6{int,num,str} reprs better.
21:28 dalek rakudo-js: review: https://github.com/pmurias/rakudo-js/commit/48bf1457af
21:29 tadzik colomon: it's all easy with rakudobrew \o/
21:30 pmurias diakopter: my experience with dumping complex treeish compiler stuff in yaml is that it gets confusing
21:30 tadzik I'm now making it fill the role of pandabrew as well
21:31 pmurias diakopter: as yaml uses indentation and craziness instead of punctuation
21:31 tadzik I guess it should be possible to make rakudobrew build both implementations in two OS processes :)
21:35 diakopter pmurias: I've always thought the first 2 columns should be a number of depth
21:39 tadzik IO.copy() different between parrot and jvm: https://gist.github.com/tadzik/6565882
21:40 tadzik trivial to fix, I think, but it's long past sleeptime to me anyway
21:40 tadzik will do that tomorrow unless someone gets to it first
21:40 tadzik zzz
21:40 FROGGS joined #perl6
21:45 ingy yaml? confusing?!
21:53 pmurias ingy: not enough curly brackets ;)
21:56 pmurias ingy: by confusing I mean that I don't see the exact structure of my data
21:57 pmurias s/see/easily see/
22:01 ingy pmurias: etoomuchperl :)
22:02 ingy I like that coffeescript and livescript make yaml look syntax-heavy
22:18 pmurias ingy: when trying to determin if I should access my data as [1]{foo}[3][4][0][0][2] or [1]{foo}[3][4][0][2] I prefer the extra syntax ;)
22:21 ingy pmurias: makes sense
22:22 ingy although I've never seen any program access data like that :)
22:50 Mouq_ r: 1
22:50 camelia rakudo 67c6fd:  ( no output )
22:59 Mouq_ r: 2.say
22:59 camelia rakudo 67c6fd: OUTPUT«2␤»
23:06 benabik joined #perl6
23:19 cooper joined #perl6
23:26 Mouq p6eval:
23:26 Mouq p6eval: 1
23:26 diakopter p6eval: help
23:26 camelia diakopter: Usage: <(nqp-jvm|star|pugs|nqp|std|niecza|rakudo|b|nom|npr|n|r|perl6|prn|rn|p|rnp|nrp|pnr|rpn|p6|nr)(?^::\s) $perl6_program>
23:32 BenGoldberg joined #perl6
23:45 ingy p6eval: help @me
23:45 camelia ingy: Usage: <(nqp-jvm|star|pugs|nqp|std|niecza|rakudo|b|nom|npr|n|r|perl6|prn|rn|p|rnp|nrp|pnr|rpn|p6|nr)(?^::\s) $perl6_program>
23:46 ingy diakopter: do you see privmsgs on irc?
23:49 diakopter yeah
23:53 ingy diakopter: hrm, do you see msgs I sent?

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

Perl 6 | Reference Documentation | Rakudo