»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend! Set by sorear on 25 June 2013. |
|||
00:04
ajr_ left
00:27
Rotwang left
00:31
jnap left
00:43
kbaker left
01:02
panchiniak left
01:17
Mouq left,
Mouq joined
01:46
benabik joined
01:57
benabik left
02:07
Ben_Goldberg joined
02:08
BenGoldberg left,
daniel-s left,
cibs left
02:11
daniel-s joined
02:13
cibs joined
02:17
benabik joined
02:31
benabik left
02:36
aindilis left,
aindilis joined
02:38
aindilis left
02:41
mtk left
02:45
EvanTeitelman left
02:55
mtk joined
03:11
preflex_ joined,
ChanServ sets mode: +v preflex_
03:12
preflex left,
preflex_ is now known as preflex
03:21
araujo left
03:24
btyler joined
03:32
fridim__ left
03:45
fridim__ joined
04:05
benabik joined
04:11
logie left
04:25
SamuraiJack joined
04:33
SamuraiJack_ joined
04:36
SamuraiJack left,
SamuraiJack__ joined
04:40
SamuraiJack_ left
04:42
Mouq_ joined
04:45
Mouq left
04:50
xinming left
04:52
xinming joined
04:57
xinming left
04:59
xinming joined
05:01
fridim__ left
05:24
FROGGS[mobile] joined
05:31
cooper left
05:39
krokite left
05:45
Woodi joined
05:49
btyler left
05:50
cooper joined
05:52
rhr left,
rhr joined
05:57
Ben_Goldberg left
05:58
mstwu00 joined
|
|||
[Coke] | good morning, #perl6 | 06:14 | |
06:19
SamuraiJack joined
06:22
SamuraiJack__ left
|
|||
FROGGS[mobile] | o/ | 06:23 | |
timotimo | o/ | ||
tadzik | o/ | ||
06:24
xinming left
|
|||
[Coke] | o/ | 06:24 | |
06:26
xinming joined
|
|||
[Coke] | anyone seen jnthn? ;) | 06:28 | |
tadzik | yes | ||
06:31
[Sno] left
06:35
mstwu00 left
06:40
xinming left
06:42
xinming joined
06:57
FROGGS joined
|
|||
timotimo | bleeeh, the wifi blocks everything that isn't port 80 | 06:58 | |
time to do some h4x0ring | |||
timotimo pays attention | 07:00 | ||
FROGGS | (built-in mobile broadband)++ | ||
timotimo | i may only push 1 gig through this before i get slowed down massively | 07:02 | |
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:04 | |
timotimo | wow nice | 07:05 | |
i can pay up 3 euros to get "some more" | |||
no idea how much i get for that | |||
probably really not much | |||
yay a tunnel | 07:08 | ||
07:08
lizmat joined
|
|||
[Coke] | \o/ | 07:09 | |
07:09
woolfy joined
07:10
mberends joined
07:11
xenoterracide left
|
|||
woolfy | jnthn just started the course NQP/Perl6 in the Ökohaus ("ecological house") in Frankfurt. | 07:12 | |
07:18
denisboyun joined
07:22
thou left
|
|||
timotimo | yaaaaay | 07:27 | |
hoelzro | ~\o/ | 07:28 | |
woolfy | Hey you two, pay attention to the teacher! :-) | 07:29 | |
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:32 | ||
timotimo | the future of rakudo really is bright | 07:33 | |
woolfy | timotimo++ | ||
07:35
denisboyun left
07:36
segomos left,
b^_^d left,
d^_^b joined,
segomos joined,
sivoais_ left
07:37
sivoais joined
07:47
sqirrel joined
07:50
Bzek left
07:54
xinming left
07:55
xinming joined
07:57
ugexe left
07:58
ugexe joined
08:01
domidumont joined
08:04
Bzek joined
|
|||
timotimo | No LoL! | 08:06 | |
moritz | good morning | 08:08 | |
timotimo | hello moritz | ||
moritz | I hope somebody takes notes, and makes some comprehensive blog posts or docs out of them | ||
timotimo | we have an audio recording and coke offered to transcribe it | 08:09 | |
moritz | \o/ | ||
does jnthn have slides? or does he browse through the relevant code pieces? | |||
timotimo | he has slides and we have print-outs | 08:10 | |
and there's some shells and some pointing at source code | |||
08:10
domidumont left
|
|||
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:11 | |
08:12
domidumont joined
|
|||
timotimo | we are about to write our own compiler to replace rakudo | 08:12 | |
at this workshop, we are going to make perl6 and rakudo obsolete | |||
FROGGS | *g* | 08:14 | |
pssst! | |||
moritz | you'll make it a thing of the qast | 08:15 | |
FROGGS | hehe | ||
timotimo | metacpan.org/module/Imager::Screenshot <- this could take screenshots of jnthns screen periodically | 08:30 | |
08:30
woolfy left
|
|||
timotimo | too late now, though | 08:30 | |
08:36
denis_boyun joined
08:41
raiph left,
ssutch left
08:47
woolfy joined
08:50
iSlug joined,
lizmat left,
lizmat joined
08:51
[Sno] joined
08:53
spider-mario joined
08:55
dmol joined
|
|||
timotimo | now we're laughing about php | 08:56 | |
ooh good times | |||
tadzik | for every language community, there's at least one other language community that laughs at it | 08:57 | |
timotimo | that seems fair | 08:59 | |
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 | ||
timotimo | ah, right, that doesn't require every language community to laugh about any specific number of other communities | 09:02 | |
moritz | what language does the cobol community laugh at? | 09:06 | |
tadzik | . o O ( dead people don't laugh ) | ||
timotimo | they laugh about all other language communities because nobody makes as much money as them | 09:07 | |
tadzik | hah | ||
wiping off their tears with dollars | |||
timotimo | if nqp doesn't have pairs, what is $_ in this? | ||
nqp: my %h; %h<foo> := "bar"; %h<raniw> := "awesome"; for %h { say($_.key); say($_.value) } | |||
camelia | nqp: OUTPUT«foobarraniwawesome» | ||
tadzik | the plot thickens | 09:08 | |
timotimo | nqp: Pair.new(:key(1), :value(100)) | ||
camelia | nqp: ( no output ) | ||
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)» | ||
moritz | nqp-jvm: my %h; %h<foo> := "bar"; %h<raniw> := "awesome"; for % { say($_.HOW.name($_)) } | ||
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>» | ||
moritz | it seems to be something that doesn't numify, but I have no idea why it would numify | 09:10 | |
timotimo | why not look at the source of <anon> and find out? :) | 09:11 | |
we should have made a stencil on github for "attend RaNIW" | 09:17 | ||
tadzik | stencil? | ||
timotimo | questhub* | ||
not github | |||
tadzik | oh :) | ||
free karma | |||
timotimo | exercise time soon :3 | 09:25 | |
09:29
iSlug left
09:31
lizmat left
09:32
woolfy left
09:37
lizmat joined
09:40
denis_boyun left
09:45
woolfy joined
|
|||
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:45 | |
tadzik | timotimo: I want to ask jnthn once he's free to answer :) | 09:51 | |
timotimo | good | ||
tadzik | I stumbled upon that as well, wondering if it's a bug or a feature | ||
timotimo | i will snoop the conversation | ||
turns out i don't know how to nqp::sprintf | 09:52 | ||
or maybe i don't know how to hash | 09:54 | ||
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:… | ||
timotimo | that's not how you do it ... | ||
nqp: my %h := nqp::hash(:foo(1)); say(%h<foo>); | |||
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 NQPMucurrent instr.: '' pc 52004 (src/stage2/QAST.pir:18966) (src/stage2/QAST.nqp:3186)» | ||
timotimo | i ... don't quite know what i just did wrong | ||
09:56
PacoAir joined
|
|||
timotimo | wow, so many tuits on the table | 10:02 | |
[Coke] | lizmat: I need power back soon. | 10:04 | |
FROGGS | nqp: my %h := nqp::hash('foo', 1); | 10:05 | |
camelia | nqp: ( no output ) | ||
[Coke] | thank you. sorry about the clanking. | 10:06 | |
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 ò.ó | ||
[Coke] | timotimo: sadly, yes. | ||
timotimo | in what way is that sad? | ||
weebls stuff makes me happy most of the time | |||
[Coke] | I dislike weebls. | ||
timotimo | this email regex will also match ...@...oh | 10:10 | |
lizmat | [Coke]: thanks for the loan of the power adapter! | 10:11 | |
10:12
denis_boyun joined
|
|||
timotimo | is the smoke results page on a different ip now or just incredibly slow to respond? | 10:16 | |
because seeing my changes make the modules green would make me happy :3 | 10:18 | ||
why did nobody ever mention --rxtrace and MyGrammar.HOW.trace-on(MyGrammar)?? | 10:23 | ||
tadzik | yeah, same thought here | ||
[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,
Rotwang joined
10:28
stevan__ left,
araujo joined
10:30
denis_boyun left
|
|||
timotimo | --rxtrace for rakudo only seems to show a trace up to a call to comp_unit :( | 10:31 | |
tadzik | you can put <?DEBUG(1)> in rakudo grammar | 10:32 | |
timotimo | ooooh | ||
all this shiny new stuff | 10:33 | ||
10:33
rindolf joined
|
|||
moritz now runs an openid provider, because his last two have stopped operating | 10:39 | ||
timotimo | :o | ||
is openid dying? | |||
moritz | maybe | ||
tadzik | the last one I used stopped working and I lost my SO account | ||
not falling for that thing again :| | |||
timotimo | how did you lose your account? | 10:40 | |
did you misbehave? :p | |||
tadzik | I don't have that openid anymore | ||
because that openid's dead | |||
timotimo | oh, crap | ||
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 :| | ||
well, openid wants to be decentralised anyway | |||
tadzik | thing is, when you use it everywhere, you centralize yourself with this openid | 10:42 | |
(if you know what I mean) | |||
of course, otherwise you cetralize yourself with an email | |||
so it's the same, really | |||
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!" | ||
timotimo | totally what you want, right? | ||
tadzik | so the only thing I don't need is a new password | ||
which doesn't matter, because I don't remember any of my passwords anyway | |||
except the password to a passwords-file | |||
timotimo | i remember a few passwords, most are in a pwsafe | 10:44 | |
dalek | : bfdcd2e | (Tobias Leich)++ | lib/Perl5.nqp: enable tracing of grammars By for example: V5TRACE=Perl5::RegexGrammar |
10:49 | |
timotimo | :D | 10:50 | |
FROGGS | *g* | ||
10:50
domidumont left
|
|||
FROGGS | so I don't forget about it... | 10:51 | |
10:53
rindolf left
|
|||
timotimo | i have a super clever representation of a time in nqp | 10:57 | |
hours * 100 + minutes! | |||
colomon | \o | 10:58 | |
10:59
iSlug joined,
lizmat left
11:00
woolfy left
|
|||
[Coke] | colomon: hio | 11:02 | |
11:02
rindolf joined
|
|||
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
11:06
lizmat joined
|
|||
lizmat | lunch& | 11:07 | |
colomon | how's the workshop going | 11:08 | |
? | |||
11:08
SamuraiJack left
11:16
ivan`` left
11:17
denis_boyun joined,
woolfy joined,
SmokeMachine joined
11:20
ivan`` joined
|
|||
krunen | back from lunch (at least the ones not having dessert...) | 12:00 | |
timotimo | colomon: it's going good :) | 12:01 | |
colomon | \o/ | 12:02 | |
timotimo | colomon: were you the one who's running the smoker? | ||
FROGGS | timotimo: if you are curious: irclog.perlgeek.de/moarvm/2013-09-12#i_7579501 | 12:04 | |
12:08
lizmat left
|
|||
timotimo | oic | 12:09 | |
12:09
JQK joined
12:11
woolfy left
12:12
dmol left
12:16
woolfy joined,
lizmat joined
|
|||
colomon | timotimo: yes | 12:17 | |
timotimo | can you give an updated IP? or restart the webapp or whatever it needs doing to be up again? :) | 12:21 | |
FROGGS | tadzik: you are going to fix #122? | 12:29 | |
12:30
mtk left
|
|||
tadzik | #122 what? | 12:32 | |
timotimo | 'til 6 today | ||
FROGGS | tadzik: your nqp issue | ||
tadzik | oh, wasn't planning to | ||
not yet at least | |||
FROGGS | [nqp] Iterating on multiple values nqp doesn't get optional items right (#122) | ||
k | |||
timotimo | i feel like i'm going to nap from 6:30 today to 07:30 tomorrow >_< | ||
FROGGS | timotimo: you mean only at that time? :o) | ||
timotimo | :/ | 12:33 | |
12:34
mtk joined
|
|||
timotimo | i have a suspicion that people are not going to allow me to fall asleep during the workshop | 12:34 | |
timotimo learns another bit of exotic, but fun to use syntax | 12:44 | ||
moritz | timotimo: which one? | 12:46 | |
timotimo | <( and )> in regex | ||
[Coke] | nqp: gist.github.com/coke/6561753 | ||
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)» | ||
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) | ||
(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 :) | ||
the TOP make | |||
[Coke] | slightly different error if I use @!lines = []; | ||
timotimo | oh, wait, that's *after* the error | ||
oh | 12:49 | ||
i know what's wrong | |||
[Coke] | timotimo: aye. I'm ignoring the top level make and creating an array in the class. | ||
moritz | [Coke]: = is wrng in nqp | ||
timotimo | you're supplying the class IRCLOG::Actions, but the parse will not make it an instance for you | ||
[Coke] | I lied. -same- error if I init @!lines | ||
timotimo | so your @!lines is trying to access a type object actually | ||
try :actions(IRCLOG::Actions.new) instead | 12:50 | ||
[Coke] | timotimo: arglebargle. | ||
timotimo | :) | ||
moritz | timotimo++ | ||
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
|
|||
dalek | kudo-js: 88dd289 | (Pawel Murias)++ | / (6 files): Start of a serialization implementation. |
12:53 | |
timotimo | \o/ | ||
tadzik | ooooh :) | 12:54 | |
timotimo | "after this talk you can be this crazy, too" | ||
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 | ||
tadzik | timotimo: images2.wikia.nocookie.net/__cb2008...rgarbl.jpg | 12:58 | |
timotimo | tadzik: you don't even look so old | ||
tadzik | timotimo: my university does | ||
:) | |||
but it was fun | |||
timotimo | i can imagine :) | ||
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 | ||
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 | ||
tadzik | I thought it's exactly the opposite :P | ||
timotimo | :D | ||
13:06
sqirrel left
|
|||
timotimo | i just missed a question for what pointy blocks are? | 13:11 | |
tadzik | yes | ||
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)» | ||
timotimo | juice: shake before drinking | 13:17 | |
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)» | ||
timotimo | how do i get rid of an entry in the middle of a list? probably splice manually? | ||
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 | ||
timotimo | OK | 13:23 | |
13:28
dmol joined
|
|||
timotimo | what's the parameters to splice again? splice(the-array, start-index, remove-how-many, replacement-array)? | 13:28 | |
13:30
dmol left
|
|||
colomon | timotimo: 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:34 | |
[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)» | ||
[Coke] | nqp: my %a := nqp::hash; say(%a.^methods); | ||
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)» | ||
timotimo | wat. oooh, duh | ||
all ports except 80 and 443 are blocked here | |||
silly me :) | |||
WAT. "if $match { ... }" gives me elements() not implemented in class 'Float' | 13:38 | ||
[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)» | ||
[Coke] | nqp: class Barf is Hash { } | ||
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)» | ||
timotimo | or perhaps that error comes from my invocation of splice? | ||
nqp::splice(@db, $idx, 1, []); <- doesn't seem wrong? | 13:40 | ||
13:40
logie joined,
[particle] left
|
|||
[Coke] | ... man, this is frustrating. | 13:42 | |
timotimo | [Coke]: what are you struggling with? | ||
i'm frustrated now, too :) | |||
[Coke] | be nice if I had finished that nqp opcode docs I thought about doing. :) | ||
timotimo | :D | ||
agreed | |||
[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. | ||
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)» | ||
timotimo | nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, 2, 1, []); say(nqp::join(", ", @arr)); | ||
camelia | nqp: OUTPUT«elements() not implemented in class 'Integer'current instr.: '' pc 85 ((file unknown):55) (/tmp/D6YaITV7YF:1)» | ||
timotimo | you can use nqp::elems for hashes, too | ||
nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, 2, [], 1); say(nqp::join(", ", @arr)); | |||
camelia | nqp: OUTPUT«elements() not implemented in class 'Integer'current instr.: '' pc 85 ((file unknown):55) (/tmp/2p7_OqSjiB:1)» | ||
timotimo | nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, 2, []); say(nqp::join(", ", @arr)); | ||
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 3current instr.: '' pc 52004 (src/stage2/QAST.pir:18966) (src/stage2/QAST.nqp:3186)» | ||
timotimo | i don't understand how nqp::splice works, clearly | ||
ah, like this: | 13:44 | ||
nqp: my @arr := [1, 2, 3, 4]; nqp::splice(@arr, [], 2, 1); say(nqp::join(", ", @arr)); | |||
camelia | nqp: OUTPUT«1, 2, 4» | ||
[Coke] | timotimo++ | ||
(nqp::elems ftw) | |||
timotimo | my DELETE now seems to work :D | 13:45 | |
13:47
domidumont joined
|
|||
[Coke] | ... I thought mine did, until I tried deleting the first record. | 13:49 | |
13:50
domidumont left
|
|||
pmurias | [Coke]: if any ops are confusing I could document them | 13:52 | |
[Coke] | \o/ | ||
pmurias: no, I just need a corpus of all of them. | |||
timotimo | mine is at least capable of deleting the last line | ||
[Coke] | (yay, DELETE (*&#@$#@ works) | 13:53 | |
13:59
prevost joined
|
|||
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! | ||
[Coke] | ooooh | 14:01 | |
14:03
JQK left
|
|||
timotimo | ooooh | 14:04 | |
tadzik | aww yiss | ||
timotimo | mother*Δ∂ℝℕ∃Δ butterflies :) | ||
tadzik | :D | ||
timotimo | omg dese cookies | 14:06 | |
tadzik | yeah | 14:07 | |
timotimo | oh god so much sugar | 14:10 | |
tadzik | Troi would love that | ||
FROGGS | timotimo: you can be our sugar layer then :o) | ||
Troi++ | 14:11 | ||
timotimo | star trek reference? | ||
FROGGS | yesh | ||
"I feel pain" | |||
14:23
dmol joined
14:31
prevost left
|
|||
[Coke] | not no way, not knowhow. | 14:32 | |
timotimo | apparently we've passed the 50% mark for today in terms of slide count | 14:34 | |
14:35
lizmat left
|
|||
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
woolfy left
|
|||
FROGGS | so, we are done at 24:34 ? | 14:35 | |
timotimo | haha | ||
the exercises are not annotated with which day they are on | 14:36 | ||
but it seems like we'll reach exercise 4 today | 14:39 | ||
14:39
xenoterracide joined
|
|||
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:40 | |
TimToady | .oO(Please stop, I'm hitchhiking.) |
14:41 | |
14:41
lizmat joined
14:42
raiph joined
|
|||
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 | ||
that should make it distinct | |||
TimToady | doubtless this is an obscene gesture in some culture or other | 14:44 | |
timotimo | sure | ||
in python culture it's obscene to claim "perl6 is great" | |||
TimToady | lol | ||
timotimo | no lol! | ||
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 | ||
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 … | ||
..niecza v24-95-ga6d4c5f: OUTPUT«1379169907.537071 22986165.125617851 22986165.125617851 57465412.814044625 197024272.50529584» | |||
TimToady | only ls is allowed, huh? | ||
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 | ||
flussence: i'm not sure if you have to put parens after X/? | 14:46 | ||
TimToady | timotimo: it's a list infix, doesn't parens like a hyper would | 14:47 | |
timotimo | oke | ||
TimToady a word out | |||
timotimo a word out to my homies | 14:49 | ||
14:51
woolfy joined
15:02
krokite joined,
lizmat left
15:03
lizmat joined
|
|||
lizmat thinks .ast should be called .made | 15:05 | ||
[Coke] | zzzzzzzzzzz | ||
timotimo | [Coke]: you already know all this? ;) | ||
[Coke] | someone kick my chair if I start snoring. ( lag is overpowering jnthn's presentation. :( | 15:06 | |
timotimo | poor you :( | ||
i am super tired, too, but i can't blame jetlag | |||
[Coke] | timotimo: it's only 11 am! why am I tired? ;) | ||
timotimo | hehehe | ||
you've only been up since midnight or so? | 15:07 | ||
nah, probably more like 2am | |||
timezones are hard | |||
[Coke] | my eyes are open, wendy. :P | ||
timotimo | hehehe | ||
woolfy | Coke: I saw that... (I so hopen I could come over and startle you a bit) | 15:08 | |
s/hopen/hoped/ | |||
timotimo | yays, game::crypt and druid are now showing checkmarks! :) | 15:10 | |
15:11
btyler joined
|
|||
FROGGS | ha! I already stubbed PHP :P | 15:12 | |
timotimo | jnthn is reviving Cardinal! | ||
i wanna have a napwaffle | |||
15:16
btyler_ joined
|
|||
colomon | Cardinal? Ruby on Parrot? | 15:17 | |
15:17
btyler left
|
|||
nwc10 | I'll have a guess that this time it's Ruby on NQP (on Parrot or JVM) | 15:18 | |
tadzik | let's write a PIR compiler in NQP on JVM | 15:21 | |
then we can have Parrot on JVM | |||
15:21
fridim__ joined
|
|||
timotimo | let's compile parrot to emscripten first and write a javascript compiler in nqp | 15:23 | |
15:26
btyler_ left
15:27
btyler joined
|
|||
TimToady thinks you should start with something easy like Perl 6 | 15:30 | ||
diakopter | *headpillow* | 15:31 | |
timotimo | diakopter: who are you smothering? | ||
[Coke] | hey, diakopter is awake. | ||
tadzik | not anymore | ||
diakopter | wait, TimToady is awake; I should be awake | 15:32 | |
woolfy | stroopwafel! | ||
TimToady | actually, the desk eventually got soft enough that he can just use it for a pillow now | ||
diakopter | (new microsoft sculpt keyboard) | 15:33 | |
forgot the ++ | |||
TimToady | my keyboard doesn't have a ++ key... | ||
15:33
cooper left
|
|||
TimToady | well, there's the xEFxA9x9E key | 15:34 | |
[Coke] | I think I have half a key. | ||
diakopter | ⧺ | ||
TimToady | ⱡ | 15:35 | |
15:35
btyler left
|
|||
TimToady | wow, ⩴ | 15:35 | |
.u ::= | |||
yoleaux | U+003A COLON [Po] (:) | 15:36 | |
U+003D EQUALS SIGN [Sm] (=) | |||
TimToady | eh? | ||
diakopter | .u 29e7 | 15:37 | |
yoleaux | U+29E7 THERMODYNAMIC [Sm] (⧧) | ||
diakopter | .u 29fb | ||
yoleaux | U+29FB TRIPLE PLUS [Sm] (⧻) | ||
TimToady | .u 2a74 | 15:38 | |
yoleaux | U+2A74 DOUBLE COLON EQUAL [Sm] (⩴) | ||
moritz | .u xEFxA9x9E | ||
yoleaux | U+FA5E CJK COMPATIBILITY IDEOGRAPH-FA5E [Lo] (xEFxA9x9E) | ||
TimToady | .u 卄 | 15:39 | |
yoleaux | No characters found | ||
diakopter | 6.0 I think | ||
TimToady | .u 卌 | ||
yoleaux | No characters found | ||
TimToady | nah, it's in the BMP | 15:40 | |
I'm a bit surprised that 2a74 copy/pastes as 3 chars rather than 1 | |||
the ::= | |||
diakopter | maybe it's a double-wide plus 1 | 15:41 | |
nope | |||
⩴ | 15:42 | ||
TimToady | .u ⩴ | 15:44 | |
yoleaux | U+2A74 DOUBLE COLON EQUAL [Sm] (⩴) | ||
TimToady | there we go | ||
typed it in directly to gnome instead of pasting | |||
if there's a DOUBLE PLUS, why isn't there DOU | 15:45 | ||
DOUBLE MINUS? | |||
diakopter | .oO( at least my windowing system isn't named after lawn art.. ) |
||
TimToady | or a DOUBLE PLUS UNGOOD? | ||
timotimo | we will need to do a third day! | 15:46 | |
TimToady | .oO( at least my OS isn't named after a fruit ) |
||
moritz sees stroopwafels being mentioned in the backlog! | |||
TimToady | what makes a wafel stroop? | 15:47 | |
diakopter | is that a mix between strep and croop? | ||
moritz | stroop = sirup | 15:48 | |
woolfy | It is a beautiful Dutch word meaning sirup waffle | ||
It's full of calorie goodness | |||
moritz | and taste. Don't forget the taste! | ||
woolfy | ack | 15:49 | |
15:49
cooper joined
|
|||
lizmat | [Coke] liked it | 15:49 | |
moritz suspect mberends++ might be behind it | |||
TimToady | give me the stroop, but leave out the wafel, assuming it's made of wheatflour... | ||
[Coke] | I am coughing at the moment. | 15:50 | |
diakopter | strep or croop? | ||
[Coke] | lizmat++ hosting. | ||
TimToady | diakopter: stroop | ||
woolfy | TimToady: indeed, it is not health for you | 15:51 | |
s/health/healthy/ | |||
diakopter | okay, why would a waffle go well with stirrups | ||
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" | |||
TimToady | to delimit what? | ||
moritz | [Coke]: tilda between the delimiters | ||
diakopter | my fav syrup is Mrs. Butterworth's, in the iconic caricature woman bottle | ||
[Coke] | ah, ~ | 15:53 | |
it looked like a dash on the slide. | |||
moritz | '( ~ ')' <[()]>* | ||
erm | |||
'( ~ ')' <-[()]>* | |||
TimToady wonders if .*? would work there | 15:54 | ||
moritz | not in rakudo | ||
TimToady | well, it would allow a ( I guess | ||
moritz | because the inside doesn't backtrac, I think | ||
lizmat still thinks that .ast should have been called .made | 15:55 | ||
tadzik | php: echo"foo\n" | ||
damn :( | |||
moritz | nr: say so '(abc)' ~~ /'(' ~ ')' .*?/ | ||
camelia | niecza v24-95-ga6d4c5f: OUTPUT«Unhandled exception: Unable to parse anonymous regexCouldn'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… | ||
..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… | |||
TimToady | maybe we should rename 'make' to 'as' | ||
moritz | nr: say so '(abc)'' ~~ /'(' ~ ')' .*?/ | ||
camelia | rakudo 67c6fd: OUTPUT«===SORRY!=== Error while compiling /tmp/elSTRqx0msTwo terms in a rowat /tmp/elSTRqx0ms:1------> say so '(abc)'⏏' ~~ /'(' ~ ')' .*?/ expecting any of: postfix infix stopper infix or meta-infix … | ||
..niecza v24-95-ga6d4c5f: OUTPUT«===SORRY!===Two terms in a row at /tmp/v3OevacJCB line 1:------> say so '(abc)'⏏' ~~ /'(' ~ ')' .*?/Parse failed» | |||
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 | ||
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 | ||
tadzik | odd | ||
timotimo | diakopter: i see no reason for it to be serialised | ||
if it does get serialised: WTH | 15:59 | ||
tadzik | krunen: gist.github.com/tadzik/6563134 | ||
krunen | I just did php -r from the command line, not in a file | ||
tadzik | yay for consistency | 16:00 | |
krunen | :/ | ||
timotimo | the only thing consistency does is reduce the possibility of DWIM | 16:01 | |
tadzik | (I pushed a less wrong rakudobrew to github, btw) | 16:02 | |
16:02
FROGGS left
|
|||
diakopter | I think a serialization dumper would be wildly informative | 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. | ||
jnthn++ | |||
16:02
ajr joined,
woolfy left
|
|||
lizmat | jnthn++ | 16:02 | |
16:03
ajr is now known as Guest73252,
Guest73252 is now known as ajr_
16:05
[Sno] left,
lizmat left
16:06
Bzek left
16:14
krokite left
16:20
cooper left
|
|||
pmurias | diakopter: serialization dumper - you mean something that will turn the serialization format nqp uses into something humanly readable? | 16:21 | |
tadzik | it's human readable, for some value of human... ;) | 16:22 | |
16:22
sqirrel joined
16:26
moritz_ joined,
moritz_ left
|
|||
jnthn | yay I survived! | 16:27 | |
pmurias | tadzik: well you can read it, just not understand it ;) | ||
jnthn | I think the best bet is probably to deserialize it and then go through all the objects in it | 16:28 | |
You can get the number of objects | |||
And get them out by index. | 16:29 | ||
pmurias | jnthn: you are reviving Cardinal? | 16:34 | |
jnthn | pmurias: Only if somebody takes my Rubyish and makes it less -ish :P | 16:35 | |
dinner & | 16:36 | ||
16:36
rindolf left
16:37
bruges_ joined,
bruges left
16:45
raiph left
16:53
btyler joined
16:54
rindolf joined
|
|||
dalek | kudo-js: b78980b | (Pawel Murias)++ | / (4 files): Use one kind of serialization contexts for both serialization and deserialization. |
16:56 | |
kudo-js: 9f33a7d | (Pawel Murias)++ | runtime (4 files): When deserializing objects mark the serialization context they came from. |
|||
16:59
krokite joined,
krokite left,
krokite joined
|
|||
dalek | kudo-js: a78078e | (Pawel Murias)++ | runtime/serialization_writer.js: Serialize the type check cache correctly. |
17:04 | |
kudo-js: c70bbd8 | (Pawel Murias)++ | runtime/ (2 files): Serialize P6num correctly |
17:08 | ||
17:08
rindolf left
|
|||
dalek | kudo-js: f184c52 | (Pawel Murias)++ | runtime/reprs.js: Serialize P6str correctly |
17:09 | |
17:09
rindolf joined
17:43
SamuraiJack__ joined
17:45
BenGoldberg joined
|
|||
BenGoldberg | Good afternoon | 17:45 | |
17:46
SamuraiJack_ left
17:47
sqirrel left,
krokite left
17:57
sqirrel joined,
sisar joined
|
|||
timotimo | hi | 18:04 | |
been | 18:06 | ||
er | |||
ben, i think for is not going to stay lazy by spec, but map does what you want | 18:07 | ||
18:07
sisar left
|
|||
lue | hello world! o/ | 18:17 | |
timotimo | hey lue | 18:32 | |
18:33
amkrankruleuen joined,
amkrankruleuen left,
amkrankruleuen joined
18:38
rindolf left
18:58
lichtkind joined
|
|||
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? | 18:59 | |
timotimo | should do, yes | 19:02 | |
said jnthn | |||
19:08
denis_boyun left
19:14
EvanTeitelman joined
19:24
SamuraiJack__ left
19:27
denisboyun joined
19:38
cooper joined
19:46
FROGGS joined
19:47
sqirrel left
19:50
poor_soul joined
|
|||
poor_soul | hi, #perl6! are you all at the workshop? | 19:52 | |
19:52
FROGGS left
|
|||
moritz | not all of us :( | 19:53 | |
poor_soul | i was testing moarvm and got a failing test during 'make test', is someone interested? | 19:54 | |
19:54
denisboyun left
|
|||
moritz | maybe in #moarvm | 19:55 | |
poor_soul | will they be there? | ||
19:56
cooper left
|
|||
moritz has no idea | 19:56 | ||
but #moarvm is also logged | |||
19:56
kaare_ joined
|
|||
[Coke] signs on from the "bar". | 19:59 | ||
ah. it's easy to catch on logs when so many people are here in person. | 20:00 | ||
moritz puts some more logs into the fire | 20:02 | ||
flussence misread those 2 lines as "catch on fire when..." | 20:04 | ||
20:06
cooper joined
|
|||
sorear wanders by | 20:06 | ||
20:07
cognominal joined
|
|||
dalek | rl6-roast-data: 91523f0 | coke++ | p (2 files): today (automated commit) |
20:08 | |
20:09
zakharyas joined
|
|||
tadzik | sorear! \o/ | 20:21 | |
dalek | ast: f728c56 | coke++ | S02-names-vars/variables-and-packages.t: pugs fudge |
||
20:22
poor_soul left
20:24
cooper left
20:28
krokite joined
20:31
lizmat joined
20:32
cognominal left
20:35
zakharyas left
|
|||
timotimo | gaaah this doesn't make any sense to me :( | 20:43 | |
colomon | sorear! \o/ | 20:45 | |
timotimo | github.com/perl6/nqp/blob/master/s....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 github.com/perl6/nqp/blob/master/s...r.nqp#L986 are applicable? third: why am i getting "No registered operation handler for 'attrhintfor'", even though i put ... | 20:48 | |
... QAST::Operations.add_core_pirop_mapping('attrhintfor', 'repr_hint_for', 'IPPs', :inlinable(1)); into QAST/Operations.nqp | |||
sorear | your code not being loaded when you expect it to? | 20:49 | |
timotimo | er | ||
oh | |||
OH | |||
20:49
sqirrel joined
|
|||
timotimo | of course | 20:49 | |
i added the operation, but *of course* it's not in the stage0 | 20:50 | ||
*thank you*! | |||
sorear | ch not being used, I'm 99% sure that's a bug | ||
20:54
sqirrel left
20:56
ajr_ left
|
|||
tadzik | pmurias: README in rakudo-js says "See F for licensing details". Did you mean "a license file" or something? | 20:57 | |
20:58
kaare_ left
|
|||
lizmat | lobby closing down :-( | 21:02 | |
slep& | |||
21:02
lizmat left
21:11
BenGoldberg left
|
|||
dalek | nda: 26b59c3 | tadzik++ | rebootstrap.pl: Fix rebootstrap |
21:14 | |
21:14
cognominal joined
|
|||
dalek | nda: 2ef0abc | tadzik++ | rebootstrap.pl: Fix rebootstrap better |
21:15 | |
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 | ||
tadzik | I declare github.com/tadzik/rakudobrew useful and usable for early adopters | 21:19 | |
it can build rakudo for both VMs in any version, switch between any versions of any backends, install panda on any backend | |||
seems to be pretty useful | 21:20 | ||
diakopter | ingy: ^ | ||
tadzik | working on it, I also noticed that while one can run perl6 outside of rakudo-jvm directory, it is not so for nqp | ||
(nqp on jvm, that is) | |||
pmurias | tadzik: see F<LICENCE> for details | 21:23 | |
21:25
cognominal left
|
|||
tadzik | ah :) | 21:25 | |
21:25
cognominal joined
|
|||
colomon | perl6 runs outside of rakudo-jvm directory now?! \o/ | 21:27 | |
dalek | kudo-js: d3f53c5 | (Pawel Murias)++ | README.markdown: Remove use of F<> from README.markdown (tadzik++). |
21:28 | |
kudo-js: 48bf145 | (Pawel Murias)++ | runtime (6 files): Pass nqp/t/serialization/01-basic.t. Various serialization fixes. Add some missing ops. Handle P6{int,num,str} reprs better. |
|||
tadzik | colomon: it's all easy with rakudobrew \o/ | 21:29 | |
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 | ||
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:34
iSlug left
|
|||
diakopter | pmurias: I've always thought the first 2 columns should be a number of depth | 21:35 | |
tadzik | IO.copy() different between parrot and jvm: gist.github.com/tadzik/6565882 | 21:39 | |
trivial to fix, I think, but it's long past sleeptime to me anyway | 21:40 | ||
will do that tomorrow unless someone gets to it first | |||
zzz | |||
21:40
FROGGS joined
|
|||
ingy | yaml? confusing?! | 21:45 | |
21:50
spider-mario left
|
|||
pmurias | ingy: not enough curly brackets ;) | 21:53 | |
ingy: by confusing I mean that I don't see the exact structure of my data | 21:56 | ||
s/see/easily see/ | 21:57 | ||
ingy | pmurias: etoomuchperl :) | 22:01 | |
22:01
cognominal left
|
|||
ingy | I like that coffeescript and livescript make yaml look syntax-heavy | 22:02 | |
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:18 | |
ingy | pmurias: makes sense | 22:21 | |
although I've never seen any program access data like that :) | 22:22 | ||
22:27
FROGGS[mobile] left
|
|||
Mouq_ | r: 1 | 22:50 | |
camelia | rakudo 67c6fd: ( no output ) | ||
Mouq_ | r: 2.say | 22:59 | |
camelia | rakudo 67c6fd: OUTPUT«2» | ||
23:00
Mouq_ is now known as Mouq
23:06
benabik left,
benabik joined
23:10
Rotwang left
23:19
cooper joined
|
|||
Mouq | p6eval: | 23:26 | |
p6eval: 1 | |||
diakopter | p6eval: help | ||
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:27
jeff_s1 left
23:30
pmurias left
23:32
BenGoldberg joined
23:34
dmol left
|
|||
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> | ||
ingy | diakopter: do you see privmsgs on irc? | 23:47 | |
diakopter | yeah | 23:49 | |
ingy | diakopter: hrm, do you see msgs I sent? | 23:53 | |
23:53
BitPuffin left
|