»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:01 dju__ joined 00:04 dju_ left 00:07 icwiener left, ab5tract left 00:08 nymacro joined 00:16 Rotwang left, vmspb left 00:17 molaf_ joined 00:18 coldhead left 00:20 bacek_at_work left, molaf left 00:24 c1sung_ left, c1sung joined 00:29 benabik joined 00:32 benabik left 00:34 perimosocordiae left 00:39 aesop left 00:44 aesop joined 00:48 TheIronMarx joined
TheIronMarx Is "Mar" a reserved word? 00:48
00:48 envi joined 00:50 aesop left 00:56 TheIronMarx left 01:00 AphelionZ joined
AphelionZ Hello, I'm trying to do some screen scraping with perl6 - mainly reading html from a URL and parsing out image tags. However, I'd like to eventually work in authentication. What's the best module / method for this? 01:02
01:05 aesop joined, donri left 01:12 aesop left 01:22 aesop joined 01:36 jferrero left, edenc left, edenc joined
sorear AphelionZ: I doubt there is one yet 01:37
AphelionZ sorear: Hmm, what about calling command line tools like cURL? 01:41
Util AphelionZ: Reading modules.perl6.org/ , I see several flavors of web server, but only one web client so far: perl6-lwp-simple . Also, nothing yet to parser HTML. 01:43
Either write the modules yourself (and please add them to our Modules listing!), sponsor someone to develop for you (very do-able!), wait patiently, or use the excellent Perl 5 modules (LWP, HTML::TokeParser or HTML::TreeBuilder).
AphelionZ: you can build any command-line and run it from within Perl6. `curl` works fine; I am doing it myself. 01:44
AphelionZ ok, great. All of these sound like good options. Thank you!
Util Glad to help!
01:45 woosley joined 02:01 noganex_ joined, noganex left 02:02 demond joined 02:03 demond left 02:26 stifynsemons left 02:27 gbacon joined
diakopter perlesque: my double $b; eval '$b = Syste' ~ 'm::Double.Parse("55' ~ '9165")'; say($b) 02:27
p6eval perlesque: OUTPUT«unhandled node type: <invalid>␤Statement_list 1␤ <invalid> <unexpected: [@372,1109:1112='eval',<117>,43:31], resync=sub say(object $z) {Console.WriteLine($z)};
..self.posies = List[object…
diakopter oh eah
yeah
dalek rixel: b7bca70 | diakopter++ | / (6 files):
more regex work; re-fix eval
02:28
diakopter perlesque: my double $b; eval '$b = Syste' ~ 'm::Double.Parse("55' ~ '9165")'; say($b)
p6eval perlesque: OUTPUT«␤Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.␤ at System.Collections.Generic.Dictionary`2[System.String,sprixel.FrameGen].get_Item (System.String key) [0x00000] in <filename unknown>:0 ␤ at
..sprixel.Env.SetE…
diakopter ergh 02:29
oh, it can't find the "setting"
dalek rixel: f37db63 | diakopter++ | sprixel/ (2 files):
help out p6eval a bit more
02:30
diakopter :/ 02:32
02:32 stifynsemons joined 02:34 chiehwen left 02:36 TiMBuS left 02:41 TiMBuS joined, whiteknight left 02:49 AphelionZ left
diakopter S05 is out-of-sync with STD wrt :ignoremark (S05) vs. :ignoreaccent (STD) ... which is right and which is the fossil...? 02:56
phenny: ask TimToady S05 is out-of-sync with STD wrt :ignoremark (S05) vs. :ignoreaccent (STD) ... which is right and which is the fossil...?
phenny diakopter: I'll pass that on when TimToady is around.
03:04 rdesfo left 03:06 agentzh joined 03:19 donri joined 03:29 cibs left 03:30 cibs joined 03:40 mtk left 03:44 ggoebel joined 03:46 mtk joined 03:54 stifynsemons left
sorear diakopter: STD is the fossil 04:04
04:06 envi_ joined 04:07 envi__ joined 04:09 envi left 04:10 donri left, stifynsemons joined 04:11 envi_ left 04:18 satyavvd joined, coldhead joined 04:25 Su-Shee left 04:28 Su-Shee joined 04:31 kchevy joined
kchevy any one wanna bb$ 04:31
bbm
04:31 kchevy left 04:32 gbacon left 04:34 leprevost left 04:35 leprevost joined
lue is there a reason why regex blankline {^^ \h* $$ \n} never matches a blank line? 04:35
04:37 stifynsemons left, coldhead is now known as bot-t 04:38 bot-t is now known as Guest82181
lue Hm. I see the problem isn't with the regex itself... 04:39
figured it out. Apparently a problem with what order I put the regexes in. 04:42
04:45 Guest82181 is now known as coldhead
dalek d: bacd722 | diakopter++ | STD.pm6:
fix STD fossil: ignoreaccent/sameaccent/a/aa -> ignoremark/samemark/m/mm sorear++
04:48
04:50 Kingston44 joined 04:54 am0c left 05:06 Kingston44 left, am0c joined 05:07 stifynsemons joined 05:14 cibs left 05:19 cibs joined 05:21 cibs left, cibs joined 05:35 masonkramer left 05:41 plobsing left 05:48 satyavvd left, satyavvd joined 05:49 AphelionZ joined
AphelionZ I'm using proto to install perl6-lwp-simple and I'm getting this error: Unable to open filehandle from path 'projects.state' 05:51
has anybody else seen that?
05:55 kaare_ joined 06:14 flatwhatson left 06:15 sftp left 06:16 cjk101010 joined 06:17 kanishka joined 06:26 flatwhatson joined 06:27 flatwhatson_ left 06:28 mberends left 06:31 masak joined
masak morning, zebras! 06:31
just wanted to pop in and say $hi before the work week begins ;) 06:32
AphelionZ: you should probably be using neutro nowadays. 06:35
AphelionZ: proto is in a severe state of disrepair at this point.
AphelionZ It was just suggested that I try neutro and now I get this error on osx: ethod 'postcircumfix:<{ }>' not found for invocant of class 'Failure' 06:36
masak ok, that's at least easier to deal with.
does it give you a file and line number with that?
AphelionZ yeah, Code.pir:39 06:37
masak huh.
TiMBuS errr maybe a few more steps back down the backtrace?
masak AphelionZ: please put up a nopaste of the whole sequence of events on gist.github.com for tadzik. 06:38
AphelionZ Ok, np: gist.github.com/836735 06:39
masak goes to work 06:41
06:41 masak left
TiMBuS that seems pretty bad.. that there error 06:43
07:03 stifynsemons left 07:09 wtw joined
moritz_ good morning 07:18
sorear hi moritz_
moritz_ diakopter: (backlog) :ignoremark is correct, anything with "accent" in its name is a fossile (not all marks are accents, so it was renamed) 07:19
sorear looks like I'm not going to get a whole lot done on niecza this week 07:20
jdhore I've gotta say, I miss a lot of the C-like stuff in P6. 07:21
sorear "the C-like stuff"?
jdhore C-style for loops, do {} while instead of repeat {} while, C-style ternary operator and all the bitwise operator changes. 07:23
That's part of why I love Perl and i'm sad that its going.
I mean i'm relatively sure that someone will add that all back as syntactic sugar with a module, but until that happens... :( 07:24
moritz_ you still got C-style for loops in p6, they are just spelled 'loop' (but otherwise same syntax)
jdhore but no parens 07:25
though close enough, i suppose
moritz_ rakudo: loop (my $x = 1; $x < 5; $x++) { say $x } 07:26
p6eval rakudo 9ed54c: OUTPUT«1␤2␤3␤4␤»
moritz_ parens!
jdhore oh, cool, in the wiki article it looked like no parens, though.... 07:27
dalek kudo: 880a0a7 | moritz++ | src/Perl6/Grammar.pm:
better error message for ?:
kudo: 050ce79 | moritz++ | src/Perl6/Grammar.pm:
parse ff, ff^ etc. infix operators
jdhore rakudo: loop my $x = 1; $x < 4; $x++ { say $x }
p6eval rakudo 9ed54c: OUTPUT«===SORRY!===␤Missing block at line 22, near "my $x = 1;"␤»
moritz_ jdhore: don't trust that wiki too much :( 07:28
jdhore Yeah, i think i'll register an account on the wiki and document that
ah
sorear jdhore: C-style for loops, test-at-end loops, ternary operator, bitwise operators are all still available in Perl 6
jdhore sorear, I know they are, just the way of doing them has changed and i haven't seen what the reasoning for the change is. 07:29
07:29 am0c left
sorear jdhore: have you read the apocalypses yet? 07:29
jdhore sorear, I just read the operators synopsis 07:30
but the apocalypses don't seem to mention what i was referring to, except in saying: "By removing the C-like syntax stuff, we can drop the operator precedence table from 24 items to 18 items." 07:33
sorear jdhore: the synopses say what changed, the apocalypes say why
A03 explains why ?: was changed 07:36
but I guess the bitop split came after A03 was finalized
Where did the synopses live prior to 20081126? 07:38
dalek tpfwiki: JD++ | www.perlfoundation.org/perl6/index....lta_tablet
07:39 AphelionZ left
jdhore ah, that explanation was quite nice 07:40
with an explanation, it makes perfect sense
moritz_ sorear: in a dev.perl.org SVN repo
jdhore OK, changed my nick on the wiki to my actual nick...I didn't think it'd report wiki changes here :D
sorear moritz_: does the history for that still exist? 07:41
sorear -> sleep
moritz_ sorear: svn.perl.org/viewvc/perl6/doc/trunk/design/
07:42 TiMBuS left, TiMBuS joined 07:48 flatwhatson_ joined 07:58 justatheory left 08:01 shi joined 08:02 cosimo left
jdhore Is there a list somewhere of what help is needed? 08:05
08:10 f00li5h left 08:11 xabbu42 left 08:13 f00li5h joined 08:16 Sarten-X left 08:20 daxim joined
jnthn morning o/ 08:28
08:28 Sarten-X joined 08:31 dip joined, am0c joined 08:32 dip is now known as Guest62719, Guest62719 left 08:39 Sarten-X left
tadzik hello zebras 08:43
jnthn: you mean Rakudo help? 08:45
jnthn tadzik: ...huh? 08:47
tadzik ouch, tab fail 08:48
jdhore: I mean you :)
pardon jnthn
jdhore tadzik, Rakudo help, general P6 help,
Parrot help, i'm looking to help wherever i can
tadzik jdhore: yesterday's bugfixing party was quite effective, if you ask me 08:49
jdhore Well i was just curious if documentation help was needed or help testing on different platforms was needed or what. 08:50
tadzik the general workflow is: 1) click on the random bug 2) if it seems fixed alredy, poke somebody on #perl6 3) if it's not, and it has no spectest, write a spectest for it and mark it todo 4) go to step one 08:51
jdhore: do you have Ruby experience?
jdhore A tiny bit, why? 08:52
tadzik Cardinal development has quite moved forward recently, and there's lots of LHF around 08:53
github.com/parrot/cardinal/tree/
I got to fixing tests yesterday morning, and not only it was quite easy, it also gave a good results :)
08:55 Sarten-X joined, noganex_ is now known as noganex
tadzik the easiest way of fixing tests is realizing 0 in Ruby is true, and every "if [CardinalInteger] ..." is broken :) 08:56
anyway, you may want to join #cardinal on irc.perl.org
08:58 JimmyZ joined
tadzik or go on with closing Rakudo tickets, there are gazillions of them and my experience shows that they are often closable for they just started to work 08:58
dalek nch-scripts: fb1820a | bacek++ | dice.pl:
Use .roll instead of deprecated version of .pick(:replace)
09:00
09:03 dakkar joined
tadzik bacek: well, that might not have been the best move 09:10
bacek: see github.com/perl6/bench-scripts/pull/1 09:11
09:13 f00li5h left 09:21 tzhs joined 09:24 _twitch joined, dev_ joined, f00li5h joined
bacek tadzik, oops... 09:27
dalek nch-scripts: e2f7fec | bacek++ | dice.pl:
Revert "Use .roll instead of deprecated version of .pick(:replace)"

This reverts commit fb1820acc8fc79687528a3c9e697601245e72433.
tadzik bacek: TBH, I think actually commiting that is the best idea. Then we can think of a way to make it run under older Rakudos 09:33
*If* anyone is gonna run this on old Rakudos anyway
bacek tadzik, let's wait until next R* release. When is it btw?
jdhore bacek, March 17 09:34
bacek jdhore, less than a month. I can wait :) 09:35
09:35 agentzh left
tadzik is it? I think they are not monthly anymore 09:35
jdhore oh, the next * release...I'm not sure 09:36
It's less than 2 months, i know that, but i don't know when
tadzik The next planned release of Rakudo Star will be
in April 2011.
github.com/rakudo/star/blob/master...ce/2011.01
bacek: ^ 09:37
bacek tadzik, hmmm...
jnthn It's possible we do one sooner thanks to GenGC.
tadzik aren't we waiting for 6model now?
Tene github.com/mileszs/ack.vim is pretty awesome, btw 09:38
jdhore My Rakudo release is now in my Google Calendar.....With every time reminder set my phone would let me.... :D 09:39
Tene list matches from ack in a quickfix window in vim
jnthn tadzik: Maybe, but OTOH holding back a 30%+ performance improvement from folks who use only the * releases feels...less than awesome. 09:40
tadzik hmm
09:41 tzhs left
Tene jnthn: what's your estimated timetable for the nom branch, btw? 09:42
09:43 tzhs joined
jdhore what is the nom branch again? Porting Rakudo to nqp from nqp-rx?? 09:43
09:44 agentzh joined
Tene jdhore: from nqp-rx to nqp on 6model 09:44
jdhore ah 09:45
09:46 flatwhatson_ left
Tene phenny: tell masak to check out github.com/mileszs/ack.vim 09:52
phenny Tene: I'll pass that on when masak is around.
Tene phenny: thanks
09:56 domidumont joined 09:58 dev_ left, gimix joined 10:00 dev__ joined 10:01 dev__ left 10:02 _dev0_ joined, _dev0_ left, Rotwang joined 10:03 _dev0_ joined 10:06 countley left 10:07 Trashlord left 10:08 leprevost left, countley joined 10:12 awoodland joined 10:13 JimmyZ left 10:25 kanishka left 10:28 lamstyle left
jnthn Tene: Need to fix up a few other issues before I can really dig into it, but hope to have them dealt with in the next week or two. Hope to have it mergable by April. 10:29
10:33 lamstyle joined
TiMBuS IO::Socket::INET::open refuses to connect to anything. strange. 10:35
Can't connect closed socket in 'IO::Socket::INET::open' at line 5882:CORE.setting 10:36
hmmm that error isnt printed by rakudos code. must be a parrot issue 10:37
10:38 coldhead left
jnthn TiMBuS: On OSX? 10:38
TiMBuS ubuntu
jnthn ah
I heard someone else had some socket issues recently...but thought they turned out to be OSX issues.
*OSX-specific
10:39 lamstyle left 10:42 lamstyle joined
TiMBuS errrr so in parrots code it spits that error of the socket is closed.. 10:44
isnt 'connect' how you open it
bacek TiMBuS, it's .connect 10:47
TiMBuS well yes 10:48
bacek TiMBuS, .connect(SockAddr $addr) 10:49
10:49 woosley left 10:50 woosley joined
TiMBuS yeah but the issue is the socket isnt 'open' which apparently means that the socket filehandle == PIO_INVALID_HANDLE 10:50
according to all this source code im reading 10:51
none of which is helping =/
oh ok because in Parrot_io_socket_initialize_handle, it actually does: PARROT_SOCKET(socket)->os_handle = (PIOHANDLE)PIO_INVALID_HANDLE; 10:52
what. 10:53
tadzik :D
11:04 drbean left 11:28 agentzh left, Sarten-X left 11:36 Sarten-X joined 11:40 Sarten-X left 11:45 satyavvd left 11:48 Sarten-X joined 11:49 sftp joined 12:03 stifynsemons joined 12:08 drbean joined 12:13 Vlavv left 12:16 donri joined 12:17 masonkramer joined 12:26 Vlavv joined 12:27 masonkramer left 12:40 awoodland left 12:55 donri left 12:56 V15170R joined 12:57 woosley1 joined 12:58 Mowah joined 12:59 Trashlord joined 13:00 am0c left 13:02 countley left 13:04 countley joined 13:08 condor_ joined
condor_ a 13:11
13:13 condor_ is now known as asmc 13:15 stifynsemons left, bluescreen joined
asmc test 13:22
13:26 tzhs left
flussence ok 1 - 13:29
13:34 plobsing joined 13:35 tzhs joined 13:39 _dev0_ left 13:43 gbacon joined 13:46 condor_ joined 13:49 kaare_ left 13:57 donri joined
condor_ exit 13:58
donri enter 13:59
14:00 condor__ joined 14:05 condor__ left 14:06 condor__ joined 14:11 condor__ left, condor__ joined 14:15 awoodland joined 14:18 Axius joined, condor__ left, kaare_ joined 14:22 risou joined 14:31 tzhs left 14:37 Kovensky left 14:38 Trashlord left 14:39 Koven joined 14:41 Koven is now known as Kovensky 14:53 MayDaniel joined 14:55 PacoLinux joined
colomon quiet here this morning. 14:56
14:57 xinming left 14:58 xinming joined
jnthn drops a pin 14:58
14:59 risou left, risou joined 15:06 arlinius left 15:09 kanishka joined
colomon wonders if he heard something 15:09
15:10 lamstyle left 15:12 am0c joined 15:13 Sarten-X left 15:16 lamstyle joined, cjk101010 left 15:19 lamstyle left 15:20 countley left 15:21 Sarten-X joined, woosley left 15:25 _twitch left 15:28 wtw left 15:31 lamstyle joined, Sarten-X left 15:35 noganex_ joined 15:38 noganex left 15:42 TiMBuS left 15:45 fhelmberger left, TiMBuS joined, fhelmberger joined 15:48 noganex_ left 15:52 noganex joined 15:54 JimmyZ joined 15:55 Axius left 15:56 masonkramer joined 16:02 Sarten-X joined 16:03 thepler joined 16:04 V15170R left 16:05 shi left 16:11 Sarten-X left
sorear good * #perl6 16:13
16:16 Patterner left
JimmyZ morning, sorear :) 16:16
16:17 Psyche^ joined, Psyche^ is now known as Patterner 16:22 MayDaniel left 16:24 AphelionZ joined 16:25 woosley1 left 16:28 kanishka1 joined, kanishka1 left, kanishka left 16:32 JimmyZ left
moritz_ \o 16:33
jnthn o/ 16:38
16:39 kanishka joined
donri Anyone interested in a Perl 6 only reddit board? 16:42
16:42 Sarten-X joined
donri The Perl one has too much Perl 5 "noise" for me 16:42
16:46 coldhead joined 16:47 justatheory joined 16:50 awwaiid joined, kjeldahl joined
donri I made one anyway, if anyone wish to help admin it tell me www.reddit.com/r/perl6/ 16:51
16:51 Sarten-X left 16:54 risou left 16:56 hanekomu joined 16:57 risou joined 17:00 risou left, risou_ joined 17:02 Sarten-X joined
moritz_ donri: so far we've published most Perl 6 stuff to r/programming/, because we want to reach those that aren't keen on Perl 6 yet (but hopefully will be soon) 17:02
donri good point, though cross-posts are ok 17:05
17:09 mberends joined 17:12 Sarten-X left 17:16 gbacon left, _twitch joined 17:17 am0c left
moritz_ I'll happily admin it, but I don't know yet how often I'll actually look at it 17:19
(reddit nickname perlgeek)
17:22 Sarten-X joined 17:31 _twitch left 17:32 Sarten-X left 17:33 awoodland left 17:35 _twitch joined, masonkramer left 17:36 masonkramer joined 17:42 mtk left, envi__ left 17:49 jtbraun left 17:50 mtk joined 17:52 jtbraun joined 17:53 Sarten-X joined 17:54 jtbraun left, rindolf joined
rindolf paws at the channel. 17:54
Hi all.
17:55 varna left
sorear hello, rindolf 17:55
rindolf sorear: what's up?
17:56 MayDaniel joined 17:58 cdarroch joined, cdarroch left, cdarroch joined 18:02 Sarten-X left 18:06 wrac joined 18:07 nymacro left 18:09 jtbraun joined 18:11 _twitch left 18:12 MayDaniel_ joined 18:13 AphelionZ left 18:15 _twitch joined
wrac hello, "using perl 6" mentions pattern matching in decomposing nested structures by multis; however multi fun([$x, $x]) doesn't work "as expected"; i was looking in S-06 but failed. did i miss something? interestingly, the spec defines forms with arguments as constant values! 18:15
18:15 MayDaniel left
PerlJam wrac: you expected that multi to only execute when given, as the only argument, an array with 2 elements where the values of those 2 elements are exactly the same? 18:17
rindolf PerlJam: hi, what's up?
Wow! #perl6 is growing nicely - 231 nicks.
PerlJam hey rindolf. nothing much. Killing time while I get some lunch before a code review. 18:18
wrac yes, fun(1, 1)
but not fun(1, 2)
rindolf PerlJam: ah.
PerlJam wrac: you mean fun [1,1] or fun([1,1]) I t hink
wrac sorry, fun([1,1]). you are right. 18:19
PerlJam wrac: Well, I think the problem stems from mentioning $x twice. You should be able however to do something like this: multi fun([$x,$y] where { $x === $y }) { ... } 18:20
Choose your own equality there :) 18:21
I'm not sure if you meant "equal in value" or "identically the same"
maybe $x =:= $y is what you wanteD?
18:22 MayDaniel_ left, MayDaniel_ joined 18:23 Sarten-X joined 18:24 masak joined
masak hola, zebras! 18:24
phenny masak: 09:52Z <Tene> tell masak to check out github.com/mileszs/ack.vim
jnthn lolitsmasak!
masak \o/
masak , famished, makes nom 18:25
18:27 Trashlord joined
wrac i am newbe in p6 syntax, but probably here is the issue: fun([$x, $x]) would not specify exactly what "equality type" is expected, so such a construct is not present in the spec :( syntax with "where" clause is to much verbose. 18:30
dukeleto jnthn: thanks for your recent email to parrot-dev about mop/role stuff :) 18:32
18:32 Layla_91 joined, Sarten-X left
sorear FWIW, Miranda supported $x, $x pattern matching, but it was dropped from Haskell because making it DWIM in a majority of cases proved impossible 18:33
PerlJam wrac: the where clause is verbose for a reason. It lets you be explicit. 18:34
18:39 Chillance joined
jnthn Добрый вечер, Layla_91 o/ 18:39
sorear rindolf: The sky? I never know how to answer that question. 18:40
jnthn sorear: I had some thoughts on subset stuff but it's...not very coherent. Yet. :)
Layla_91 jnthn: prevet.. I have cold.. home all day :''(
jnthn sorear: I'll try and figure something useful out in the next day or so. The way the type cache stuff is at the moment isn't...quite right.
Layla_91: Aww. :( 18:41
Layla_91: Чай. With lemon. :)
rindolf sorear: never mind, bye for now.
Enough talk for me.
Layla_91 jnthn: Already had few.. also I learned some perl6 during the day.. read some of your slides too :) 18:42
18:42 rindolf left
wrac trying this fun([$x, $x]) i meant erlang, but in "complexity" perl6 is closer to haskell, so the choice is probably justified. erlang is rather pragmatic. 18:42
masak wrac: what is it that you're trying to do? 18:43
jnthn Layla_91: Not heard people using my slides as a cold remedy before. :)
PerlJam wrac: does erlang do "value matching" with that?
jnthn Layla_91: Hope they made some sense. :)
18:43 Sarten-X joined
jnthn Layla_91: It's nearly conference season again. I have to make some new talks. :O 18:43
18:44 daxim left
Layla_91 jnthn: they made a lot of sense.. I like the fact that they were short but informative.. 18:44
jnthn That's what I try for :) 18:45
Layla_91 jnthn: I don't like long books.. or those with no cartoons =]
jnthn Layla_91: I actually did one talk with some silly stick-man cartoons recently, though it wasn't about Perl. :)
PerlJam Layla_91: Does that mean we should start writing the "Cartoon Guide to Perl 6" ;-) 18:46
masak "Zebra's Guide to Perl 6" :)
PerlJam masak++
masak with cartoon zebras!
Layla_91 jnthn: I thrown an idea few days ago about creating something like Why's (Poignant) Guide to Ruby.. 18:47
masak actually it was Layla_91++/tadzik++'s idea.
jnthn Watched over by Henry the Hyper Op, and Perry the Pointy Block \o/
Layla_91: I think some people are tempted to catch it ;)
Layla_91 jnthn: yes masak said he is a great artist and will provide the cartoons :P
jnthn masak++ 18:48
;)
masak hey! :P
18:49 molaf_ left
Layla_91 it really makes a lot of difference when you read something that have some humor.. like the lisp book published by oreilly.. I loved lisp after checking it =) 18:49
18:50 hanekomu left, _dev0_ joined
jnthn Layla_91: Whenever I hear "lisp" and "humor" I can't help but remember xkcd.com/297/ :) 18:50
tadzik hey hey :) 18:51
Layla_91 jnthn: XD
jnthn o/ tadzik
Layla_91 tadzik: heey! :D
jnthn: Perl6 have Camelia.. which is a good start :) 18:52
jnthn camelia++
18:53 Sarten-X left
Layla_91 jnthn: and I think I have fever++ 18:53
jnthn Layla_91: I think the only thing that's ++ about a fever is $layla.temperature
:/
Layla_91 yes.. we need a loop to decrease it or I will die with a bad exit message :( 18:54
jnthn ...please don't. :'(
I'd kinda miss you a bit. :P
18:54 gbacon joined
Layla_91 jnthn: aww :P 18:55
jnthn: I think there is anothe comic I saw long time ago about lisp and perl on xkcd.. moment..
jnthn Ah, the one about the dude who thought the universe was written in lisp, but then God is all like "lol no, we hacked it up in Perl"? :) 18:56
Layla_91 jnthn: yes yes :D
jnthn :D
Layla_91 Lemons and tea are not working.. I must visit a doctor.. see you all soon :) 18:57
jnthn Layla_91: Take care! Get well soon! *hug* 18:58
tadzik hugme: hug Layla_91
hugme hugs Layla_91
tadzik hugs too
18:59 Layla_91 left
wrac PerlJam: sorry for delay... the identity. 19:02
19:03 Sarten-X joined, MayDaniel_ left 19:04 jtbraun left 19:07 risou_ left 19:12 bluescreen left 19:13 Sarten-X left 19:24 shi joined 19:27 bluescreen joined 19:29 jtbraun joined 19:31 hanekomu joined 19:34 Sarten-X joined 19:41 molaf joined 19:43 Sarten-X left 19:46 bluescreen left 19:53 Sarten-X joined, kanishka left 19:54 Tedd1 left, Tedd1 joined 19:57 fhelmberger left
wrac PerlJam: correction: erl's =:= is called "exactly equals to" and pretty much behaves as "value matching" (1 is not exactly the same as 1.0, but for two distinct lists =:= yields true if both lists "look exactly the same"). 19:58
jnthn In Perl 6 it's more object reference equality. 20:02
20:03 condor_ left, Sarten-X left 20:06 jtbraun1 joined 20:07 asmc left 20:14 Sarten-X joined 20:15 _twitch left 20:23 Sarten-X left 20:24 vmspb joined, mberends left 20:25 MayDaniel joined 20:32 icwiener joined 20:34 Sarten-X joined
moritz_ in Perl 6 structure equivalence is called infix eqv 20:36
and =:= tests if tow containers are really the same
20:43 Sarten-X left
jnthn rakudo: say [1,[2,3]] eqv [1,[2,3]]; say [1,[2,3]] =:= [1,[2,3]] 20:44
p6eval rakudo 050ce7: OUTPUT«Bool::True␤0␤»
jnthn 0?
masak submits rakudobug 20:45
20:46 jaldhar left, wrac left 20:47 jaldhar joined 20:49 molaf left
moritz_ =:= is broken anyway in rakudo 20:49
masak oh? 20:50
tadzik stop it masak! We haven't fixed the old bugs yet!
moritz_ rakudo: my $x := my $y; say $x =:= $y
p6eval rakudo 050ce7: OUTPUT«0␤»
jnthn :/
moritz_ rakudo: my $x; sub f($y) { say $x =:= $y }; f($x)
p6eval rakudo 050ce7: OUTPUT«0␤»
masak tadzik: if that had been a concern of mine... :P 20:51
let's just say I'd be very concerned right now.
jnthn That second one surprises me a tad less, though I suspect it's still wrong.
moritz_ or put another way, I don't know any case where =:= actually returns true
jnthn The first is because binding in Rakudo is a bit icky.
I suspect we should just compile scalar bindings like we do in NQP. 20:52
20:53 jaldhar left 20:56 jaldhar joined 21:03 cognominal left 21:04 Sarten-X joined 21:14 Sarten-X left 21:17 MayDaniel left
tadzik what holds command-line arguments in nqp? 21:19
21:24 s1n left, Sarten-X joined 21:34 Sarten-X left 21:40 s1n joined
moritz_ I don't even know if that's available 21:42
at least I never managed to actually grok the code path of command line arguments in HLL::Compiler
21:44 y3llow_ joined
moritz_ nqp: class A { method foo { say 3 } }; A."foo"() 21:45
21:45 Sarten-X joined
p6eval nqp: OUTPUT«Routine declaration requires a signature at line 1, near "{ say 3 } "␤current instr.: 'parrot;HLL;Grammar;panic' pc 17541 (gen/hllgrammar-grammar.pir:4828)␤» 21:45
21:45 pothos_ joined
moritz_ nqp: class A { method foo() { say 3 } }; A."foo"() 21:45
p6eval nqp: OUTPUT«Unable to parse blockoid, couldn't find final '}' at line 1␤current instr.: 'parrot;Regex;Cursor;FAILGOAL' pc 3435 (src/Regex/Cursor.pir:233)␤»
moritz_ nqp: class A { method foo() { say 3 } };
p6eval nqp: OUTPUT«Unable to parse blockoid, couldn't find final '}' at line 1␤current instr.: 'parrot;Regex;Cursor;FAILGOAL' pc 3435 (src/Regex/Cursor.pir:233)␤»
moritz_ nqp: class A { method foo() { say(3) } }; A."foo"
p6eval nqp: OUTPUT«Quoted method name requires parenthesized arguments at line 1, near ""␤current instr.: 'parrot;HLL;Grammar;panic' pc 17541 (gen/hllgrammar-grammar.pir:4828)␤»
moritz_ nqp: class A { method foo() { say(3) } }; A."foo"()
p6eval nqp: OUTPUT«3␤»
21:45 tewk joined 21:47 pothos left, pothos_ is now known as pothos, y3llow left, y3llow_ is now known as y3llow
tewk Where do I look to find a spec for non-blocking io 21:47
moritz_ nqp: for [1, 2, 3] { say($_); last }
p6eval nqp: OUTPUT«1␤»
moritz_ tewk: there's none yet :( 21:48
tewk What about blocking file io?
21:49 vmspb left
moritz_ S32/IO 21:49
perlcabal.org/syn/S32/IO.html but don't believe everything that's written there 21:50
it's a mixture of practical stuff, overengineered stuff and underengineered stuff
masak and wishful thinking.
21:51 kaare_ left 21:53 s1n left 21:54 Sarten-X left, molaf joined 21:55 shi left
masak 'night, #perl6 21:59
21:59 masak left 22:00 s1n joined 22:03 starcoder left
dalek p: 9a7d4a9 | moritz++ | src/HLL/Compiler.pm:
move some code in HLL::Compiler.compile from PIR to NQP
22:07
p: 05b3461 | moritz++ | src/HLL/Compiler.pm:
rewrite method compile in NQP. A bit shorter now :-)
p: e659566 | moritz++ | src/stage0/ (4 files):
update bootstrap
22:07 jtbraun left 22:08 jtbraun1 left 22:09 starcoder joined 22:10 jtbraun joined
lue hello! o/ 22:11
22:12 cschimm1 left 22:13 cschimm1 joined, Kovensky left
moritz_ \o 22:14
22:15 Sarten-X joined, s1n left, awoodland joined 22:16 s1n joined 22:17 jtbraun left
tadzik o/ 22:17
22:21 cschimm1 left 22:22 dakkar left
lue Can anyone tell me why this grammar will parse only one pod6 block, and stops? gist.github.com/837820 22:24
22:24 Sarten-X left 22:31 cschimm1 joined, kjeldahl left
jnthn lue: I don't see it immediately. 22:31
lue: Only guess is it could be some curious interaction with $$ \n and then wanting a ^^ but I'd expect that to work. 22:32
tadzik oh, jnthn. Are you aware of any way to access command-line arguments from nqp?
jnthn tadzik: 'fraid not. 22:33
22:33 plobsing left
jnthn tadzik: Guess it'd be nice if they were in @*ARGS 22:33
22:34 Kovensky joined 22:35 plobsing joined
tadzik nqp: @*ARGS 22:37
p6eval nqp: OUTPUT«Contextual @*ARGS not found␤current instr.: '_block11' pc 0 (EVAL_1:26684416)␤»
tadzik hmm
jnthn Yeah, NYI
22:39 Koven joined, Kovensky left
tadzik jnthn: wklej.org/id/480224/ -- does anything look wrong to you here? 22:40
Null PMC access in find_method('new_class') is what I get
jnthn new_class? 22:41
tadzik yeah
jnthn I'm guessing this is using something that used P6metaclass?
What is Deprecations.pbc written with?
nqp-rx?
tadzik here's the module: wklej.org/id/480227/
yeah, nqprx
jnthn oh
Then I suspect you need before load_bytecode of the Deprecations PBC to
load_bytecode 'P6object.pbc' 22:42
I think that's what it's called, anyways. :)
22:43 hanekomu left, cosimo joined, lue left 22:44 lue joined, woosley joined
tadzik yeah, now it fails due to 'parrot;YAML;Tiny;read_string', so my part is over (: 22:45
22:45 Sarten-X joined
tadzik bacek: you around? 22:48
oh, wrong channel
22:48 wolverian left 22:54 wolverian joined, Sarten-X left 22:59 jtbraun joined
lue afk 23:04
23:09 whiteknight joined 23:15 Sarten-X joined 23:17 woosley left 23:25 Sarten-X left 23:27 Mowah left, Mowah joined 23:28 MayDaniel joined 23:37 aesop left 23:39 Mowah left
donri Perl 6 code looks better with Perl 5 coloring in Vim :( 23:40
Tene donri: better than the perl 6 coloring? 23:41
donri Yea
Tene Huh. That hasn't been my experience.
donri Maybe it's my colorscheme
wolverian I think the perl 6 colouring had some weird choices, 23:43
sorear perl 6 coloring in vim gets to be unusably laggy at around 2000 lines on my 2003 PC
Tene donri: I'm using the zenburn colorscheme, and before that was desert
sorear so I've learned to deal with perl 5 coloring 23:44
donri Yea. It gets more syntax right, but uses weird colors for some things
sorear I guess because p5 is easier to lex
Tene sorear: I've seen that too, although not unusably so.
sorear Tene: every. single. time. I add or delete a character, 500ms to recolorize the file :/
23:45 aesop joined
donri also I wish it would trigger perl6 ft for "use v6" 23:46
tadzik sorear: same here (lagging) 23:47
23:47 alester left
sorear I guess not many people routinely edit 2000+ line Perl 6 files 23:48
flussence it becomes pretty unusable a lot sooner than that on my netbook 23:52
the template toolkit tt2html.vim is just as slow for me though. wonder if they have anything in common... 23:55
(apart from the slow scripting engine :) 23:56