»ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: , or /msg p6eval perl6: ... | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by moderator on 20 October 2009.
00:01 seanstickle left 00:02 synth joined, synth left 00:04 synth joined
dalek kudo: f16c9e2 | pmichaud++ | docs/spectest-progress.csv:
spectest-progress.csv update: 451 files, 32696 (85.2% of 38389) pass, 15 fail

S02-lexical-conventions/unicode.rakudo aborted 5 test(s) S12-introspection/methods.t aborted 10 test(s)
00:04
00:04 synth left 00:05 synth joined 00:06 meppl joined
jnthn S12-introspection/methods.t # unexpected... :-/ 00:08
00:10 pnate joined, [synth] joined, [synth] left 00:15 [synth] joined 00:20 lestrrat is now known as lest_away 00:26 synth left 00:27 nihiliad left 00:33 orafu joined, orafu left, orafu joined
jnthn pokes zaslon 00:34
00:35 [synth] left
pmichaud s1n/others: note that I'll be late to p6m tonight 00:39
afk
japhb jnthn, is it expected that blizkost no longer builds against current Parrot (at least, Plumage can't build it)? 00:41
jnthn japhb: Yes, I think the PCC changes probably hit it quite hard. 00:44
japhb jnthn, ah, OK. I wanted to make sure I hadn't broken something in Plumage it needed.
jnthn No, almost certainly not.
OK, sleep for me...night o/ 00:49
00:52 lest_away is now known as lestrrat
Woodi jnthn: ... 00:55
1Gb memory looks not so much for Rakudo build now... 00:56
820 Mb used for settings...
Wolfman2000 ...and among the new pieces of stress to my convoluted puzzle...I apparently now have two full time job opportunities while I'm trying to get through college...and neither job seems to allow the flexibility of staying with college.
I'm starting to wonder whether you guys are good luck for me or not. 00:57
Woodi Wolfman2000: easy, collage is important and Perl6 ALPHA :) 00:58
Wolfman2000 Woodi: I don't get how ALPHA fits into "important"
Woodi whatewer you do Perl6 will wait :) 00:59
probably :)
"first things first"..
Wolfman2000 Woodi: Hmm...true. Still, I want to at least get a dedicated Perl 6 pastebin up. 01:03
I'm actually almost ready to test that part...slowly.
Woodi you write it entirelly in Perl 6 ? 01:04
Wolfman2000 Woodi: nope. This is in Perl 5. masak is working on a Perl 6 version. Eventually we'll combine forces or something. 01:05
I still don't know enough about Web.pm to even attempt. 01:06
Woodi Rakudo master at least builds :) 01:07
Wolfman2000 Woodi: Would you at least know how much the master branch has been updated within the past...week? 01:09
01:10 maluco left
Woodi Wolfman2000: probably no updates in last few weeks :) but required Parrot version changed today 01:11
and debian upgraded libicu sho i needed to rebuild 01:12
k, gn #perl6 01:16
01:24 justatheory joined 01:25 synth joined 01:30 meteorjay left 01:39 [synth] joined
colomon Wolfman2000: do you want to know how much the master branch has updated recently? 01:44
Wolfman2000 colomon: I'm curious. 01:45
01:45 oZ] left
colomon One sec... 01:45
lisppaste3 colomon pasted "rakudo git log for november" at paste.lisp.org/display/90149 01:46
colomon Most of the changes are quite minor, but there's been about one a day in November. 01:47
emma 08:56 < Wolfman2000> masak: ...that means we're going to be competing then 01:49
08:57 <@masak> Wolfman2000: competition in here is usually quite mutually beneficial.
Wolfman2000 colomon: understood 01:50
emma ^ Is this the start of a code-off?
Wolfman2000 emma: no clue.
emma "we'll settle this with regular expressions"
01:51 synth left
diakopter my PAST interpreter in JavaScript proceedeth. it passes the first 10 nqp-rx test files 01:51
whee.
and 16-ternary.t and 36-callable.t 01:55
02:01 seanstickle joined 02:04 eternaleye joined, eternaleye left 02:05 Exodist joined 02:06 eternaleye joined 02:09 oZ] joined 02:11 wknight8111 left 02:13 nihiliad joined 02:19 elmex left 02:25 PZt joined, PZt left, PZt joined 02:31 seanstickle left 02:33 am0c left 02:34 hercynium left 02:48 oZ] joined, oZ] left, oZ] joined
diakopter reads golang.org 03:04
03:13 astrojp joined 03:22 snarkyboojum joined, frew joined 03:24 astrojp left 03:26 pattm joined
pattm ned:~$ Database last updated on 10-Nov-2009 21:33:02 EST. Domain servers in listed order: www.greatestate.com www.westonmass.net www.myefact.com www.efactusa.com 205.178.190.14 bash: Database: command no t found 03:26
whoops 03:27
sorry, accidental cutpaste :(
stupid putty buttons
03:29 yjh left 03:35 crazed_ joined 03:36 crazed left 03:37 crazed_ is now known as crazed 03:43 elmex joined 03:45 seanstickle joined 03:51 jaldhar joined 03:52 ihrd joined, ihrd left, ihrd joined, ihrd left 03:54 kst left 03:55 kst joined 03:58 fax left 04:00 envi^office joined 04:02 hercynium joined 04:08 meppel joined 04:09 kst joined, kst left, meppl left, kst joined
Wolfman2000 Back from 2nd dinner. 1st dinner sucked. eternaleye: first attempt at pasting went...unsuccessful. Trying to understand what went wrong. 04:13
eternaleye Wolfman2000: Okay. Have you got the API the commandline client will use figured out? If so, maybe I can start with getting an actual CLI client coded up. 04:14
Wolfman2000 eternaleye: Didn't get that far yet. Sorry.
I need to make sure the thing pastes and can be viewed first.
eternaleye Wolfman2000: Not a problem; I'm in no rush :D
Wolfman2000 What I can tell you: whatever your client does, it has to be able to send POST data.
Also, while I'm here: is there a permanent way to force MySQL into a sort of strict mode? 04:16
eternaleye Wolfman2000: Global sql_mode is probably what you want: dev.mysql.com/doc/refman/5.0/en/ser...-mode.html - session is for that connection; global is for _all_ connections 04:22
(I googled 'mysql persistent strict')
(I can haz the googlemancy powerz)
Also, POST is easy enough with either curl or wget 04:23
I'm thinking to use curl or wget, wrapped in perl for the first client, then transition to pure-perl so that it works on Windows 04:24
Wolfman2000 eternaleye: what I'm also debating...do we allow anonymous pastings with the CLI?
eternaleye I'm thinking to use curl or wget, wrapped in perl for the first client, then transition to pure-perl so that it works on Windows
Wolfman2000 eternaleye: what I'm also debating...do we allow anonymous pastings with the CLI?
eternaleye Wolfman2000: Yes. 04:25
Wolfman2000 right: check credentials before parsing the files.
eternaleye Wolfman2000: Although I'd recommend setting up Apache to deny unreasonable numbers of connections from individual IPs
Wolfman2000: Yes.
Wolfman2000 right: check credentials before parsing the files.
eternaleye Wolfman2000: Although I'd recommend setting up Apache to deny unreasonable numbers of connections from individual IPs
Wolfman2000 eternaleye: Don't know how to do that yet, not worried at this point 04:26
eternaleye where 'unreasonable' is > 20..30
04:26 kst joined
Wolfman2000 eternaleye: Don't know how to do that yet, not worried at this point 04:26
eternaleye where 'unreasonable' is > 20..30
04:26 kst left, kst joined
eternaleye Wolfman2000: dominia.org/djao/limitipconn.html 04:27
There are other modules that do the samwe thing.
04:27 oZ] left
eternaleye It's a popular wheel to reinvent ;D 04:27
Wolfman2000: dominia.org/djao/limitipconn.html
There are other modules that do the samwe thing.
04:27 oZ] left
eternaleye It's a popular wheel to reinvent ;D 04:27
Wolfman2000 eternaleye: sorry, on slight brain burnout. will read that later. 04:28
eternaleye Wolfman2000: Mainly pasted it so it's there for you to come back to in the backlog
Wolfman2000 eternaleye: that means I'd have to remember to check the backlog
eternaleye: sorry, on slight brain burnout. will read that later.
eternaleye Wolfman2000: Mainly pasted it so it's there for you to come back to in the backlog
Wolfman2000 eternaleye: that means I'd have to remember to check the backlog
eternaleye Wolfman2000: irclog.perlgeek.de has a nice search function 04:29
Wolfman2000 let's see if I can at least set the global modes without causing problems. 04:30
04:31 nihiliad left
Wolfman2000 ...figures 04:33
04:51 gfx joined 04:53 jweisgram_ joined 04:55 jweisgram_ left, hercynium left 04:56 xinming joined, valnour left, xinming joined
pmichaud hugme: tweet rakudoperl The Rakudo-ng branch -- enode 7|mst 8|chanserv 9|frew] 05:01
hugme hugs pmichaud; tweet delivered
pmichaud grrrrr
better. 05:02
hugme: tweet rakudoperl The Rakudo-ng branch -- use.perl.org/~pmichaud/journal/39874
hugme hugs pmichaud; tweet delivered
pmichaud better.
time for sleep 05:03
bbl
05:10 jweisgram left 05:14 xinming_ left 05:29 cottoo joined, cotto left, justatheory left 05:30 metal joined
metal !help 05:32
05:35 stephenlb left
Wolfman2000 metal: what's the problem? 05:36
05:36 Exodist left
Wolfman2000 metal: what's the problem? 05:36
05:37 am0c joined 05:38 orafu left 05:39 orafu joined
metal no 05:43
05:44 frew left 05:45 frew joined 05:51 metal left
Wolfman2000 Juerd: If you are there, I will require DateTime::Format::MySQL installed please. 05:54
...wait, use the bots
phenny: tell Juerd to please install DateTime::Format::MySQL on feather.
phenny Wolfman2000: I'll pass that on when Juerd is around.
05:54 seanstickle left 05:56 frew left 05:57 frew joined 06:03 gfx left 06:04 nbrown_ left 06:05 nbrown joined 06:06 justatheory joined 06:10 justatheory left 06:16 quietfanatic_ joined
quietfanatic_ Oh, whoops, still logged on in the kitchen. 06:17
I gues I'll use that to backlog huh
diakopter I thought it was in the dining room, with the lead pipe. 06:18
by Miss Scarlet. 06:19
06:22 PZt left
Wolfman2000 phenny: tell Juerd I may want postgresql at this rate. Mysql + Catalyst + DBIC = Trainwreck at this stage. 06:30
phenny Wolfman2000: I'll pass that on when Juerd is around.
Wolfman2000 ...pastebins are NOT supposed to be this compliated, are they?
06:31 frew left 06:38 quietfanatic left 06:39 quietfanatic_ is now known as quietfanatic 06:40 PZt joined 07:06 NorwayGeek left 07:10 JimmyZ joined 07:12 payload joined, Su-Shee joined 07:14 zaphar_ps joined, lisppaste3 left, _eMaX_ left, zaphar_ps left, IllvilJa left, Bucciarati left, dukelet0 left, mdxi left, silug left, pmichaud left, zaphar_ps joined 07:15 pmichaud joined, dukelet0 joined, mdxi joined
mathw Morning 07:23
07:51 pointme left
zaslon loljnthnhazblogged! jnthn++ 'Starting to get over the hump': use.perl.org/~JonathanWorthington/j...3?from=rss 07:54
lolpmichaudhazblogged! pmichaud++ 'The Rakudo-ng branch': use.perl.org/~pmichaud/journal/39874?from=rss 07:57
07:59 iblechbot joined 08:06 lisppaste3 joined, _eMaX_ joined, IllvilJa joined, Bucciarati joined, silug joined 08:10 barney joined
moritz_ good morning 08:11
08:12 yahooooo left 08:15 payload left
moritz_ Wolfman2000, Juerd: I installed DateTime::Format::MySQL on feather 08:15
08:15 [synth] left 08:18 payload joined, nbrown left
Woodi morning 08:22
moritz_: should Plumage be default installer for all Parrot based languages or just for things wroted in Parrot language ? 08:24
mathw morning 08:25
moritz_ Woodi: I don't know 08:27
#parrot is probably the better place to ask
good morning mathw 08:28
mathw hi moritz_
08:32 mariuz joined 08:39 rgrau` joined 08:41 NorwayGeek joined, NorwayGeek left 08:42 NorwayGeek joined 08:45 NorwayGeek left 08:47 NorwayGeek joined 08:55 PZt left 09:02 JimmyZ left 09:04 PZt joined 09:09 pdcawley joined, pdcawley left, pdcawley joined 09:10 yahooooo joined
pugs_svn r29050 | lwall++ | [STD] refactor most P6 rules out to STD::P6 subgrammar 09:10
09:10 yahooooo joined, envi^office left 09:11 reid05 left 09:12 reid05 joined 09:30 bryan[c1] joined
bryan[c1] can someone recommend a good article or something to enhance my knowledge of regular expressions? 09:31
Su-Shee bryan[c1]: "mastering regular expressions" or something perl 6 specific? 09:33
09:34 bryan[c1] left 09:37 jaldhar joined, jaldhar left, jaldhar joined 09:39 lestrrat is now known as lest_away 09:41 mberends joined
Woodi mberends: ping 09:46
jnthn morning, folks 09:48
Woodi o/
moritz_ o morning
frettled Good morning! 09:49
jnthn Woodi: Yes, that memory usage seems rather...high. :-/ 09:50
mberends Woodi: pong
Woodi mberends: just trying to install http-daemon with not--gen-parrot rakudo... 09:51
and had problems with Configure.pm
mberends Woodi: right, there was something in the backlog about the directory layout being neither parrot-in-rakudo or rakudo-in-parrot 09:52
Woodi looks things change...
i would like what is "normal"...
moritz_ "normal" is installed. 09:53
Woodi so /opt/perl/bin/perl6 is right one if parrot there too ?
moritz_ IMHO yes
mberends at short notice there is no remedy except to restructure your Rakudo installation... next week I shall have some time to fix the thing properly. 09:54
Woodi rakudo_dir will be in that case /opt/perl/bin... but rakudo Test.pm is moved deeply into parrot-dev install
mberends afk& # teaching Perl 5 on Padre in London :) 09:55
Juerd Good morning
phenny Juerd: 05:54Z <Wolfman2000> tell Juerd to please install DateTime::Format::MySQL on feather.
Juerd: 06:30Z <Wolfman2000> tell Juerd I may want postgresql at this rate. Mysql + Catalyst + DBIC = Trainwreck at this stage.
Woodi gl :)
moritz_ installed that module already 09:56
moritz_ would also like to know what kind of trainwreck that is 10:01
10:02 TiMBuS joined
jnthn pmichaud++ # good post 10:03
10:08 payload left 10:12 kst left 10:13 kst joined
p6eval rakudo f16c9e: /home/p6eval//p2/lib/parrot/1.7.0-devel/Test.pm␤ 10:19
rakudo f16c9e: /home/p6eval//p2/lib/parrot/1.7.0-develTest.pm␤
Woodi rakudo: my $tpm = %*VM<config><libdir> ~ %*VM<config><versiondir> ~ "/Test.pm"; say "$tpm"; if $tpm ~~ :f { say "ok" };
p6eval rakudo f16c9e: /home/p6eval//p2/lib/parrot/1.7.0-devel/Test.pm␤
Woodi any idea how to automatically get rakudo test.pm install path ? 10:20
10:21 zaslon left 10:22 pointme joined, zaslon joined, mubot joined
moritz_ my best bet would be 'use Test;' and then inspect %*INC 10:22
Woodi err :) 10:23
moritz_ err, what's wrong? 10:24
Woodi if it can be use(d) it why Makefile tries to install it ? :) 10:25
jnthn
.oO( didn't err used to be a Perl 6 operator? )
moritz_ Woodi: which Makefile?
Woodi json one :) 10:26
http-daemon particulary
moritz_ json is quite a different beast than http-daemon 10:27
Woodi prove need test.pir maybe ?
moritz_ anyway, the likely answer is "because it's out of date"
Woodi i'm aware of it... just wondering is agrement new path/names conventions... 10:29
for %*INC.kv -> $k, $v { say "$k: $v"; } 10:32
rakudo: for %*INC.kv -> $k, $v { say "$k: $v"; }
p6eval rakudo f16c9e: Temporal: 1␤Hash: 1␤Rat: 1␤Junction: 1␤Block: 1␤Pair: 1␤Bool: 1␤NYI: 1␤Num: 1␤Signature: 1␤traits: 1␤IO: 1␤Complex: 1␤List: 1␤Array: 1␤Parameter: 1␤Whatever: 1␤Any: 1␤Int: 1␤Mapping: 1␤Range: 1␤Match: 1␤IO/Socket/INET: 1␤IO/Socket: 1␤Attribute: 1␤Object: 1␤Str: 1␤Code: 1␤Buf: 1␤Safe:
../hom…
Woodi $keys are @ ?
is p6 Data::Dumper available ? 10:36
10:37 pnu left
Woodi moritz_: what you say works perfectly - use and then inspect :) 10:39
rgrau` rakudo: my $b = 4,5,6; my $a=1,2,3,$b; say $a.perl
p6eval rakudo f16c9e: [1, 2, 3, [4, 5, 6]]␤
Woodi rgrau`: .WHAT works too 10:41
coffe & 10:42
10:43 NorwayGeek left, TiMBuS left
rgrau` rakudo: my $b = 4,5,6; my $a=1,2,3,$b; say $a.WHAT , "(.WHAT asks for the Class AFAIK)" 10:55
p6eval rakudo f16c9e: Array()(.WHAT asks for the Class AFAIK)␤
10:55 elmex left
Woodi right 10:57
10:58 pnu joined
Woodi .perl can be used as serialisation or like json for js ? 10:58
10:59 envi^home joined
jnthn Woodi: Yes, that's the right kinda idea. 11:00
.perl is like Data::Dumper built in. 11:01
11:01 elmex joined
Woodi so i can say .perl | perl -e STDIO ? 11:01
mathw jnthn: I was going to ask you today about helping with the ng branch. Unfortunately my internet connection's insanely unstable at the moment. 11:02
11:02 payload joined
mathw jnthn: so if I ask things and then go quiet, that's why 11:02
11:03 pnu joined, kst left, pnu left, pnu joined, kst joined
jnthn mathw: OK. :-) 11:04
mathw But there is a very simple question which probably has a very nasty answer: is there anything I can pick up?
jnthn Flu? 11:05
;-)
mathw umm
jnthn mathw: Oh, you didn't want a nasty answer... :-)
mathw something that will still allow me to sing in the gig I'm in tonight might be preferable
jnthn However, we've still got some missing bits that will cause ouch. 11:06
mathw: We're actually at the point where we're starting to bring back the setting. :-)
mathw ahah
jnthn mathw: That is, we actually can write operator decls in there now.
And classes and other bits.
mathw woo
I can do that
jnthn *nod*
mathw as it's in Perl 6 :)
jnthn However, we've still got some missing bits that will cause ouch.
mathw no doubt 11:07
jnthn I think "for" loops are still kinda missing.
I fear given/when is too.
mathw umm
okay
those are quite important
jnthn ;-)
given/when should be easy enough to put back.
Mostly because I doubt in terms of the PAST they make they would need to change at all from master.
mathw no doubt
jnthn I think "for" loops are still kinda missing.
I fear given/when is too.
mathw umm
okay
those are quite important
jnthn ;-)
given/when should be easy enough to put back.
Mostly because I doubt in terms of the PAST they make they would need to change at all from master.
The for loops are a bit more interesting, because laziness plays in here. 11:08
And the relation between for and map.
mathw hmm
I think I shan't look at for loops
jnthn pmichaud++ has those bits in his head much more than I, so I'm inclined to leave him to put that back.
If you want to put something core back though, given/when should be fairly approachable.
mathw mmm
jnthn The for loops are a bit more interesting, because laziness plays in here.
And the relation between for and map.
mathw hmm
I think I shan't look at for loops
jnthn pmichaud++ has those bits in his head much more than I, so I'm inclined to leave him to put that back.
If you want to put something core back though, given/when should be fairly approachable.
mathw mmm
jnthn mathw: You can almost copy-paste the grammar decls from STD for given/when/default to get the parsing. 11:10
mathw I shall take a look
jnthn Note statement_control:given needs to become statement_control:sym<given>.
(We don't have that bit of sugar.)
mathw: You can almost copy-paste the grammar decls from STD for given/when/default to get the parsing.
11:10 IllvilJa left
mathw I shall take a look 11:10
jnthn Note statement_control:given needs to become statement_control:sym<given>.
(We don't have that bit of sugar.)
mathw adds rules 11:12
Woodi running http-daemon gives: the int() sub and .int method have been replaced by the .Int method.. 11:13
it's from rakudo internal ?
running http-daemon gives: the int() sub and .int method have been replaced by the .Int method..
it's from rakudo internal ?
mathw jnthn: so you think the action methods for given/when/default are going to be much the same? 11:14
11:16 pnate2 joined
jnthn mathw: I'd think so, yeah. 11:16
11:16 pnate2 joined
jnthn mathw: I'd think so, yeah. 11:16
11:17 cotto_work left
Woodi Int works; what can i do with: invoke() not implemented in class 'Integer' ? 11:19
moritz_ where does this error come from?
Woodi http-daemon: make run
Int works; what can i do with: invoke() not implemented in class 'Integer' ?
moritz_ where does this error come from?
Woodi http-daemon: make run
i replaced int(..) to Int and it helps. but cannot find any invoke 11:20
moritz_ you need (...).Int instead
Woodi i replaced int(..) to Int and it helps. but cannot find any invoke
moritz_ you need (...).Int instead
Woodi kind conversion ? 11:21
mathw hmm
Woodi kind conversion ?
11:21 kst left
mathw hmm 11:21
rakudo's just segfaulting 11:22
stashed my changes, it's still segfaulting
11:22 kst joined
mathw booooo 11:22
moritz_ rm -rf parrot_install; make realclean; build again
mathw that's what I just did
and it works
yay
now to test
rakudo's just segfaulting
stashed my changes, it's still segfaulting
11:22 kst joined
mathw booooo 11:22
moritz_ rm -rf parrot_install; make realclean; build again
mathw that's what I just did
and it works
yay
now to test
woohoo 11:23
it's broken
that's good, I'd have been most astonished if it wasn't
woohoo
it's broken
that's good, I'd have been most astonished if it wasn't
jnthn mathw: Note that you can't just copy-paste the actions without changing the method names. 11:24
11:24 NorwayGeek joined
jnthn If you didn't already do that. 11:24
mathw yes, I figured that bit out
I've got
jnthn mathw: Note that you can't just copy-paste the actions without changing the method names.
11:24 NorwayGeek joined
jnthn If you didn't already do that. 11:24
mathw yes, I figured that bit out
I've got
Method 'blocktype' not found for invocant of class 'PAST;Op' 11:25
current instr.: 'perl6;Perl6;Actions;statement_control:sym<when>' pc 88129 (src/gen/perl6-actions.pir:825)
Woodi moritz_: s/Int\\((.+)\\)/($1).Int/ resolved :)
moritz_ mathw: is that the ng branch?
mathw moritz_: yes
Method 'blocktype' not found for invocant of class 'PAST;Op'
current instr.: 'perl6;Perl6;Actions;statement_control:sym<when>' pc 88129 (src/gen/perl6-actions.pir:825)
Woodi moritz_: s/Int\((.+)\)/($1).Int/ resolved :)
moritz_ mathw: is that the ng branch?
mathw moritz_: yes
jnthn mathw: Can you nopaste your diff so I can glance at it? 11:26
mathw sure 11:27
I'm finding the error stack highly confusing
sure
I'm finding the error stack highly confusing
gist.github.com/231876 11:28
no doubt something needs migrating to new-way that I don't know about
gist.github.com/231876
no doubt something needs migrating to new-way that I don't know about
11:29 pnate left
moritz_ mathw: uhm, where is the EXPR rule whose capture you're accessing in there? 11:30
mathw moritz_: I'm not sure, actually. It's mentioned several times in the grammar, but doesn't seem to be defined in there 11:31
jnthn mathw: OK, does given work?
mathw jnthn: I'll check
jnthn Let's do one at a time. :-)
mathw moritz_: I'm not sure, actually. It's mentioned several times in the grammar, but doesn't seem to be defined in there
jnthn mathw: OK, does given work?
mathw jnthn: I'll check
jnthn Let's do one at a time. :-)
mathw heh no 11:32
non-existent sub declare_implicit_function_vars
is there an alternative to that?
heh no
non-existent sub declare_implicit_function_vars
is there an alternative to that?
11:32 mj41_ left
jnthn mathw: As a first effort, try just ripping that line out. 11:33
I think we're handling it automatically now as part of .finishpad or so.
mathw oooh
that would be fancy
jnthn mathw: As a first effort, try just ripping that line out.
I think we're handling it automatically now as part of .finishpad or so.
mathw oooh
that would be fancy
okay, something of an improvement 11:34
it runs
okay, something of an improvement
it runs
jnthn \\o/ 11:35
mathw I'm not sure it's right though
jnthn But does $_ get set? :-)
mathw given 1 { say $_; }
produces
Object()
jnthn Ah.
mathw this seems wrong
jnthn I think that's a no.
\o/
mathw I'm not sure it's right though
jnthn But does $_ get set? :-)
mathw given 1 { say $_; }
produces
Object()
jnthn Ah.
mathw this seems wrong
jnthn I think that's a no.
mathw: I think maybe look at the output of --target=pir 11:37
11:37 moritz_ sets mode: +o mathw
jnthn mathw: I think maybe look at the output of --target=pir 11:37
mathw: And see what the signature code for the inner block looks like 11:38
There'll be a set_signature_elem line, which if you paste here I can explain.
mathw set_signature_elem does not appear in the PIR
jnthn mathw: And see what the signature code for the inner block looks like
There'll be a set_signature_elem line, which if you paste here I can explain.
mathw set_signature_elem does not appear in the PIR
jnthn Oh? 11:40
That's...odd.
Oh?
That's...odd.
11:41 pnate joined
Woodi PERL6LIB keeps *.pm ? where *.pir should go ? 11:42
11:43 kst left 11:44 kst joined
moritz_ I think rakudo searches for .pm and .pir files in the same directories 11:44
11:44 kst joined
moritz_ I think rakudo searches for .pm and .pir files in the same directories 11:44
mathw jnthn: want to see the PIR? 11:48
(had a net glitch again, am on hold with tech support)
jnthn: gist.github.com/231884
jnthn: want to see the PIR?
(had a net glitch again, am on hold with tech support)
jnthn: gist.github.com/231884
jnthn mathw: thanks, looking 11:49
mathw as far as I can see, it looks up $_ from the outer scope, but there's nothing to do anything given-y with it 11:50
but then, I'm not sure there's anything to cause that in the action method 11:53
mathw doesn't understand the swapping <EXPR> and <xblock> thing
but then, I'm not sure there's anything to cause that in the action method
mathw doesn't understand the swapping <EXPR> and <xblock> thing
moritz_ doesn't understand wher <EXPR> comes from 11:54
11:54 pnate2 left
moritz_ doesn't understand wher <EXPR> comes from 11:54
ah, from xblock 11:57
11:57 IllvilJa joined
moritz_ ah, from xblock 11:57
11:57 IllvilJa joined
moritz_ but why is it $<EXPR> and not $<xblock><EXPR>? 11:58
Woodi must be automagic :) 12:00
mathw moritz_: no I think you're correct
Woodi must be automagic :)
mathw moritz_: no I think you're correct
however, that's only mentioned in when, so it's not the problem with given :) 12:01
bah, tech support are useless as always
are you using a router
yes
however, that's only mentioned in when, so it's not the problem with given :)
bah, tech support are useless as always
are you using a router
yes
plug the modem directly into your computer, it's probably the router's fault 12:02
mathw scowls
plug the modem directly into your computer, it's probably the router's fault
mathw scowls
12:07 kst joined, kst left, kst joined
jnthn mathw: Sorry, got dragged in to sort out some flash/perl interaction bug. 12:21
mathw jnthn: no problem 12:22
As far as I'v egot is convincing myself that there's no mechanism in the PIR which can possibly allow $_ to be set properly inside the given, by which I assume I'm missing something in the action method which would do that 12:23
jnthn mathw: looking at the PIR, I agree. 12:24
The block is not getting a signature / optional $_.
mathw: looking at the PIR, I agree.
The block is not getting a signature / optional $_.
moritz_ rakudo: given 5 -> $x { say $x } 12:25
p6eval rakudo f16c9e: 5␤
moritz_ rakudo: given 5 -> $x { say $x; say $_ }
p6eval rakudo f16c9e: 5␤Use of uninitialized value␤␤
moritz_ rakudo: given 5 -> $x { say $x }
p6eval rakudo f16c9e: 5␤
moritz_ rakudo: given 5 -> $x { say $x; say $_ }
p6eval rakudo f16c9e: 5␤Use of uninitialized value␤␤
mathw std: giv{ 12:26
p6eval std 29050: [31m===[0mSORRY![31m===[0m␤Unable to parse subscript; couldn't find final '}' at /tmp/m8DUR2ZoAd line 1 (EOF):␤------> [32mgiv{[33m⏏[31m<EOL>[0m␤Undeclared routine:␤ giv used at line 1␤FAILED 00:01 101m␤
mathw argh
damned cat
std: given 5 -> $x { say $x; }
jnthn :-)
p6eval std 29050: ok 00:01 104m␤
12:26 payload left
mathw std: giv{ 12:26
p6eval std 29050: ===SORRY!===␤Unable to parse subscript; couldn't find final '}' at /tmp/m8DUR2ZoAd line 1 (EOF):␤------> giv{⏏<EOL>␤Undeclared routine:␤ giv used at line 1␤FAILED 00:01 101m␤
mathw argh
damned cat
std: given 5 -> $x { say $x; }
jnthn :-)
p6eval std 29050: ok 00:01 104m␤
mathw interestingly 12:27
my local rakudo-ng-with-given can't parse that
but I used the rules from STD
interestingly
my local rakudo-ng-with-given can't parse that
but I used the rules from STD
jnthn That's...odd. 12:30
mathw yes
especially since I can't see why STD can handle it either
jnthn That's...odd.
mathw yes
especially since I can't see why STD can handle it either
12:31 payload joined
moritz_ does rakudo's xblock rule do the same as STD's? 12:31
12:31 kst left, payload joined, kst joined
moritz_ does rakudo's xblock rule do the same as STD's? 12:31
jnthn Yeah, that's what I'm pondering. It may do the wrong thing. 12:32
Also, fixing that may fix the other issues.
mathw rakudo says
token xblock($*IMPLICIT = 0) { <EXPR> <.ws> <pblock($*IMPLICIT)>
jnthn Yeah, that's what I'm pondering. It may do the wrong thing.
Also, fixing that may fix the other issues.
mathw rakudo says
token xblock($*IMPLICIT = 0) { <EXPR> <.ws> <pblock($*IMPLICIT)>
}
} 12:33
STD's is messier
moritz_ that looks rightish
mathw token xblock {
:my $*GOAL ::= '{';
:my $*BORG = {};
<EXPR>
{ $*BORG.<culprit> //= $<EXPR>.cursor(self.pos) }
<.ws>
<pblock>
STD's is messier
moritz_ that looks rightish
mathw token xblock {
:my $*GOAL ::= '{';
:my $*BORG = {};
<EXPR>
{ $*BORG.<culprit> //= $<EXPR>.cursor(self.pos) }
<.ws>
<pblock>
}
the difference is the <pblock> rule 12:34
STD's looks for signature
the difference is the <pblock> rule
STD's looks for signature
moritz_ right, I just found that too 12:35
mathw rakudo's calls <.newpad> and then goes to <blockoid>
moritz_ rakudo-ng's pblock is really just block
mathw yes
that did strike me as odd
moritz_ right, I just found that too
mathw rakudo's calls <.newpad> and then goes to <blockoid>
moritz_ rakudo-ng's pblock is really just block
mathw yes
that did strike me as odd
jnthn Oh. 12:36
That...might just be the source of the problem.
mathw :)
jnthn Oh.
That...might just be the source of the problem.
mathw :)
moritz_ somehow I thought of pblock as "pointy block", not "parameterized block" 12:37
mathw either way it's still not the same as a normal block 12:38
12:38 payload left
mathw either way it's still not the same as a normal block 12:38
jnthn Aye 12:40
mathw experiments
jnthn Aye
mathw experiments
jnthn OK, I think I'm done sorting out the "fun" 12:41
*sigh* I can't help but feel that a browser that allows you hit "back" and return to a page that did a POST to without prompting you to reload, is buggy.
Or at least breaking protocol.
OK, I think I'm done sorting out the "fun"
*sigh* I can't help but feel that a browser that allows you hit "back" and return to a page that did a POST to without prompting you to reload, is buggy.
Or at least breaking protocol.
moritz_ what kind of browsers do that? 12:42
jnthn Firefox was.
Well, does
IE doesn't.
moritz_ well, it does ask me
what kind of browsers do that?
jnthn Firefox was.
Well, does
IE doesn't.
moritz_ well, it does ask me
huf it usually asks you if you want to do it 12:43
might be a bug, firefox has a few of those i hear ;)
jnthn It was showing a cached copy of the page.
Why on earth it thought it was OK to cache a page resulting from a POST, I've no idea.
Ah well, issue worked around.
huf it usually asks you if you want to do it
might be a bug, firefox has a few of those i hear ;)
jnthn It was showing a cached copy of the page.
Why on earth it thought it was OK to cache a page resulting from a POST, I've no idea.
Ah well, issue worked around.
mathw ah yes it does sometimes from the cache when it realy shouldn't 12:44
jnthn Yeah.
mathw ah yes it does sometimes from the cache when it realy shouldn't
jnthn Yeah.
It feels wrong-ish to me. 12:45
mathw fails to comprehend how to fix pblock
jnthn mathw: Looking.
It feels wrong-ish to me.
mathw fails to comprehend how to fix pblock
jnthn mathw: Looking.
mathw: eh, I think our pointy blocks just ain't very pointy at all. :-) 12:48
12:53 whooosh joined, kst left, whooosh joined 12:54 kst joined
jnthn mathw: I sorta need to feed myself a bit before I collapse. :-) 12:54
mathw: I'll have a crack at fixing pblock shorly.
*shortly
12:54 kst joined
jnthn mathw: I sorta need to feed myself a bit before I collapse. :-) 12:54
mathw: I'll have a crack at fixing pblock shorly.
*shortly
12:55 masak joined
masak good too-late-to-even-pretend-it's-morning, #perl6. 12:56
moritz_ rakudo: say "good {time}, masak" 12:57
p6eval rakudo f16c9e: good 1257943750.76453, masak␤
moritz_ rakudo: say "good {time}, masak"
p6eval rakudo f16c9e: good 1257943750.76453, masak␤
masak :) 12:58
Juerd rakudo: say date 12:59
;)
12:59 lisppaste3 joined
Juerd rakudo: say date 12:59
;)
12:59 lisppaste3 left, lisppaste3 joined
moritz_ wonders why rakudo on p6eval's server is so abysimal slow 13:00
p6eval rakudo f16c9e: ( no output )
moritz_ wonders why rakudo on p6eval's server is so abysimal slow
p6eval rakudo f16c9e: ( no output )
13:02 rgrau` left 13:04 NorwayGeek left 13:06 pmurias joined
Woodi should Configure.pm used for build be in project lib/ ? 13:08
masak aye. 13:11
as soon as mberends shows up next time, I'm going to ask him what he thinks about Configure.pm under the new installed-modules regime.
aye.
as soon as mberends shows up next time, I'm going to ask him what he thinks about Configure.pm under the new installed-modules regime.
pugs_svn r29051 | pmurias++ | [mildew-js] load Failure.pm, t/fail.t passes 13:14
Woodi masak: building modules should be possible from cmd too.
pmichaud hello
masak Woodi: yes.
pugs_svn r29051 | pmurias++ | [mildew-js] load Failure.pm, t/fail.t passes
Woodi masak: building modules should be possible from cmd too.
pmichaud hello
masak Woodi: yes.
Woodi and just cleaned http-daemon. now looking into web and have de ja vu or something... 13:15
masak Woodi: I've always been a proponent of proto making things possible, but not making projects dependent on it.
pmichaud: \\o
13:15 SmokeMachine joined
Woodi and just cleaned http-daemon. now looking into web and have de ja vu or something... 13:15
masak Woodi: I've always been a proponent of proto making things possible, but not making projects dependent on it.
pmichaud: \o
13:15 SmokeMachine joined
Woodi hi :) 13:16
pmichaud people are having issues with xblock/pblock...?
mathw pmichaud: yes
pblock appears to be the same as block
jnthn pmichaud: Our pblock isn't...pointy :-)
moritz_ pblock in ng doesn't match a pointy block
Woodi hi :)
13:16 jnthn sets mode: +o pmichaud
pmichaud people are having issues with xblock/pblock...? 13:16
mathw pmichaud: yes
pblock appears to be the same as block
jnthn pmichaud: Our pblock isn't...pointy :-)
moritz_ pblock in ng doesn't match a pointy block
pmichaud right, I didn't add that in yet. 13:17
jnthn pmichaud: So we've been discovering. :-)
pmichaud but see the definition of pblock in nqp-rx for an example of what it should look like
masak people interested in new languages might want to check out the new Go language: developers.slashdot.org/story/09/11...g-Language
mathw pmichaud: I'll take a look
pmichaud right, I didn't add that in yet.
jnthn pmichaud: So we've been discovering. :-)
pmichaud but see the definition of pblock in nqp-rx for an example of what it should look like
masak people interested in new languages might want to check out the new Go language: developers.slashdot.org/story/09/11...g-Language
mathw pmichaud: I'll take a look
jnthn masak: Spent half an hour this morning glancing over that. :-) 13:18
moritz_ Go is an interesting mixture of really good and really bad ideas, IMHO
Woodi masak: perl-sqlit3 works ?
masak Woodi: to my knowledge, yes.
Su-Shee moritz_: "but it's from google!1!"
moritz_ the bad idea is that they don't have exceptions
masak moritz_: oh, that's too bad. :/
moritz_ and checking the return value of each function is so web 1.0
jnthn masak: Spent half an hour this morning glancing over that. :-)
moritz_ Go is an interesting mixture of really good and really bad ideas, IMHO
Woodi masak: perl-sqlit3 works ?
masak Woodi: to my knowledge, yes.
Su-Shee moritz_: "but it's from google!1!"
moritz_ the bad idea is that they don't have exceptions
masak moritz_: oh, that's too bad. :/
moritz_ and checking the return value of each function is so web 1.0
Woodi masak: it's just wrapper from parrot ? 13:19
mathw pmichaud: that looks far more comprehensible than the pblock in STD
moritz_ (actually it's pre-web 1.0)
masak Woodi: aye. but don't say "just". :)
pmichaud mathw: yes, I would suggest going with it to begin with
Woodi masak: it's just wrapper from parrot ?
mathw pmichaud: that looks far more comprehensible than the pblock in STD
moritz_ (actually it's pre-web 1.0)
masak Woodi: aye. but don't say "just". :)
pmichaud mathw: yes, I would suggest going with it to begin with
STD's pblock is a bit more complex because it's doing some advanced error handling. I totally agree with the error handling, but at this point it's more important to get correct functionality in pblock, I think; and I'm also hoping to find a slightly cleaner way to handle the errors. 13:20
Woodi masak: ok :) maybe there is wrapper for ncurses ?
moritz_ golang.org/doc/go_lang_faq.html#exceptions
pmichaud "Everything works in Go. No exception!"
masak Woodi: I've seen ncurses in Parrot, so at least it's possible.
pmichaud: :)
moritz_ basically they say "it didn't fit in our design, so we left it out"
pmichaud STD's pblock is a bit more complex because it's doing some advanced error handling. I totally agree with the error handling, but at this point it's more important to get correct functionality in pblock, I think; and I'm also hoping to find a slightly cleaner way to handle the errors.
Woodi masak: ok :) maybe there is wrapper for ncurses ?
moritz_ golang.org/doc/go_lang_faq.html#exceptions
pmichaud "Everything works in Go. No exception!"
masak Woodi: I've seen ncurses in Parrot, so at least it's possible.
pmichaud: :)
moritz_ basically they say "it didn't fit in our design, so we left it out"
pmichaud designs are much easier when you don't have to handle the exceptional cases. :) 13:21
mathw I've read a bit about Go this morning, as my dodgy internet has let me do so
I'm not convinced
jnthn I'm not fond of the declaration syntax for functions.
moritz_ their concurrency ideas sound interesting
pmichaud designs are much easier when you don't have to handle the exceptional cases. :)
mathw I've read a bit about Go this morning, as my dodgy internet has let me do so
I'm not convinced
jnthn I'm not fond of the declaration syntax for functions.
moritz_ their concurrency ideas sound interesting
jnthn De-values the name of the thing a bit. 13:22
moritz_ I'm curious if it works out well in practice
jnthn moritz_: Yes, that was what I found most interesting from it.
De-values the name of the thing a bit.
moritz_ I'm curious if it works out well in practice
13:22 whooosh left
jnthn moritz_: Yes, that was what I found most interesting from it. 13:22
mathw pmichaud: I'm curious - pblock's action method in both NQP-rx and Rakudo-ng just does make $<blockoid>.ast. Shouldn't it be doing something with any pointiness it might have found? 13:23
pmichaud mathw: method signature will have already taken care of it
mathw ooh
cunning
okay
of course, my given statement is still missing something
pmichaud at least, that's the case in nqp-rx
mathw pmichaud: I'm curious - pblock's action method in both NQP-rx and Rakudo-ng just does make $<blockoid>.ast. Shouldn't it be doing something with any pointiness it might have found?
pmichaud mathw: method signature will have already taken care of it
mathw ooh
cunning
okay
of course, my given statement is still missing something
pmichaud at least, that's the case in nqp-rx
mathw wonders if it's really actually using the new grammar 13:24
pmichaud I'm not sure what will be needed to fully handle the signature in Rakudo
mathw wonders if it's really actually using the new grammar
pmichaud I'm not sure what will be needed to fully handle the signature in Rakudo
might need a $*IN_DECL setting in pblock 13:25
oh, looks like not.
might need a $*IN_DECL setting in pblock
oh, looks like not.
pblock's action method has to be a bit special, though, as it's the thing that has to handle $_ as an implicit parameter. 13:28
jnthn pmichaud: Ah, that belongs in pblock's action? OK...I was wondering where it was meant to go.
mathw still something wrong with the parsing of it here :(
every time it sees -> it gets confuesd
pmichaud pblock's action method has to be a bit special, though, as it's the thing that has to handle $_ as an implicit parameter.
jnthn pmichaud: Ah, that belongs in pblock's action? OK...I was wondering where it was meant to go.
mathw still something wrong with the parsing of it here :(
every time it sees -> it gets confuesd
pmichaud mathw: we have to tell infix:sym<-> and prefix:sym<-> not to match there 13:29
mathw oh
pmichaud when we have full ltm with fate we won't have to do that, but at the moment we do
mathw okay
pmichaud (see nqp for examples of that also)
mathw: we have to tell infix:sym<-> and prefix:sym<-> not to match there
mathw oh
pmichaud when we have full ltm with fate we won't have to do that, but at the moment we do
mathw okay
pmichaud (see nqp for examples of that also)
13:30 am0c left
pmichaud actually, that probably shouldn't be an issue here -- EXPR should be able to deal with it already, but possibly doesn't 13:31
mathw NQP doesn't have anything for infix:<-> on that
pmichaud well, try it just for prefix:sym<->
really it shouldn't happen at all, though
mathw ideally no
pmichaud but I think EXPR may have a bug in it
actually, that probably shouldn't be an issue here -- EXPR should be able to deal with it already, but possibly doesn't
mathw NQP doesn't have anything for infix:<-> on that
pmichaud well, try it just for prefix:sym<->
really it shouldn't happen at all, though
mathw ideally no
pmichaud but I think EXPR may have a bug in it
moritz_ std: sub x -> $x { } 13:32
mathw where is EXPR defined?
p6eval std 29051: [31m===[0mSORRY![31m===[0m␤Malformed block at /tmp/yM6jiysi55 line 1:␤------> [32msub x [33m⏏[31m-> $x { }[0m␤ expecting any of:␤ block␤ routine_def␤ terminator␤ trait␤FAILED 00:01 101m␤
pmichaud (I meant nqp-rx's EXPR, not STD's)
13:32 NorwayGeek joined
mathw hmm that didn't seem to help 13:32
pmichaud mathw: okay, I'll take a closer look in just a minute
EXPR is in src/cheats/hll-grammar.pir
moritz_ std: sub x -> $x { }
mathw where is EXPR defined?
p6eval std 29051: ===SORRY!===␤Malformed block at /tmp/yM6jiysi55 line 1:␤------> sub x ⏏-> $x { }␤ expecting any of:␤ block␤ routine_def␤ terminator␤ trait␤FAILED 00:01 101m␤
pmichaud (I meant nqp-rx's EXPR, not STD's)
13:32 NorwayGeek joined
mathw hmm that didn't seem to help 13:32
pmichaud mathw: okay, I'll take a closer look in just a minute
EXPR is in src/cheats/hll-grammar.pir
(in nqp-rx) 13:33
mathw I feel dreadful, I try to help out and I end up just finding more things for you and jnthn to fix
pmichaud oh, don't feel dreadful about that
I at least know that we still have a lot to fix :)
and I'm very glad you're trying to help out and learning in the process
masak mathw++ # dreadfully help1
s/1/ful!/
mathw What will be really learning is when I see what the fixes for this lot are
pmichaud (in nqp-rx)
mathw I feel dreadful, I try to help out and I end up just finding more things for you and jnthn to fix
pmichaud oh, don't feel dreadful about that
I at least know that we still have a lot to fix :)
and I'm very glad you're trying to help out and learning in the process
masak mathw++ # dreadfully help1
s/1/ful!/
mathw What will be really learning is when I see what the fixes for this lot are
moritz_ std: sub x (-> $x ) { } 13:34
pmichaud it also (pardon the pun) points out what people find most interesting/useful/important at any (argh!) given time :)
p6eval std 29051: [31m===[0mSORRY![31m===[0m␤Malformed parameter at /tmp/K7BWGQHEnW line 1:␤------> [32msub x ([33m⏏[31m-> $x ) { }[0m␤ expecting any of:␤ name␤ parameter␤ signature␤ whitespace␤FAILED 00:01 106m␤
mathw pmichaud: jnthn mentioned that he thought adding given/when/default might be something suitable for me to look at, it wasn't so much that I found it out myself
moritz_ std: sub x (-> $x ) { }
pmichaud it also (pardon the pun) points out what people find most interesting/useful/important at any (argh!) given time :)
p6eval std 29051: ===SORRY!===␤Malformed parameter at /tmp/K7BWGQHEnW line 1:␤------> sub x (⏏-> $x ) { }␤ expecting any of:␤ name␤ parameter␤ signature␤ whitespace␤FAILED 00:01 106m␤
mathw pmichaud: jnthn mentioned that he thought adding given/when/default might be something suitable for me to look at, it wasn't so much that I found it out myself
pmichaud he probably didn't realize that pointies weren't done yet 13:35
mathw no I don't think he did
jnthn pmichaud: I thought they were, yes.
pmichaud or implicit $_, whichis needed for the non-pointy block :)
jnthn pmichaud: I remember some discussion we had about implicit $_ in ng a while back.
mathw it'll parse given 1 { say $_; }
but it just says 'Object()' at the moment
moritz_ can't read, and confused with -> with -->
13:35 iblechbot left
pmichaud he probably didn't realize that pointies weren't done yet 13:35
mathw no I don't think he did
jnthn pmichaud: I thought they were, yes.
pmichaud or implicit $_, whichis needed for the non-pointy block :)
jnthn pmichaud: I remember some discussion we had about implicit $_ in ng a while back.
mathw it'll parse given 1 { say $_; }
but it just says 'Object()' at the moment
moritz_ can't read, and confused with -> with -->
jnthn pmichaud: And I'd kinda assumed that you'd done it at that point. :-) 13:36
pmichaud jnthn: no, I still hadn't figured out the parameter handling in ng yet
jnthn Ah.
mathw so I need to wait for someone clever to do pblock
and then I can continue
jnthn pmichaud: And I'd kinda assumed that you'd done it at that point. :-)
pmichaud jnthn: no, I still hadn't figured out the parameter handling in ng yet
jnthn Ah.
mathw so I need to wait for someone clever to do pblock
and then I can continue
pmichaud I'll do pblock immediately after I write my informal hague grant report to the grants managers 13:37
(I'm trying to close out my grant this month)
jnthn pmichaud++ # ok, I'll leave that one for you. :-)
mathw :)
pmichaud++
pmichaud I'll do pblock immediately after I write my informal hague grant report to the grants managers
(I'm trying to close out my grant this month)
jnthn pmichaud++ # ok, I'll leave that one for you. :-)
mathw :)
pmichaud++
pmichaud jnthn: I may need a bit of help on the $_ param 13:38
but let me get the rest in place first
jnthn pmichaud: Oh, that bit is probably not quite so bad.
pmichaud jnthn: I may need a bit of help on the $_ param
but let me get the rest in place first
jnthn pmichaud: Oh, that bit is probably not quite so bad.
13:40 kst joined, kst left, kst joined
pmichaud jnthn: probably not -- I had a little difficulty following when I looked at it last week (but I was also extremely tired at the time) 13:41
13:49 pnate2 joined
moritz_ didn't get any new emails for the last few hours, not even spam or mailing list mails, and wonders if his mail server is broken 13:50
pmichaud sends moritz' mail address to a spam bot to help him test his mail server. 13:51
moritz_ pmichaud: no problem if you receive the delivery failures :-) 13:52
13:58 kst joined, kst left, kst joined 14:03 pnate left
mberends shows up, ears burning 14:04
jnthn takes a fire extinguisher to mberends ears
pmichaud throws water onto mberends ears.
mberends shows up, ears burning
jnthn takes a fire extinguisher to mberends ears
pmichaud throws water onto mberends ears.
mberends wipes the excess moisture off with two towels 14:05
moritz_ joins the towel party
pmichaud Wasn't that a Tolkein novel... "The Two Towels"?
mberends wipes the excess moisture off with two towels
moritz_ joins the towel party
pmichaud Wasn't that a Tolkein novel... "The Two Towels"?
pmichaud thinks he misplaced a consonant. 14:06
mberends pmichaud: a toweletta
masak mberends: hiya, Hot Ears.
mberends masak: you'e the one who set fire to my ears!
pmichaud thinks he misplaced a consonant.
mberends pmichaud: a toweletta
masak mberends: hiya, Hot Ears.
mberends masak: you'e the one who set fire to my ears!
masak mberends: I did? sorry about that... :/ 14:07
mberends forgiveness > permission
masak was it something I blogged? :)
jnthn
.oO( must never lend masak my blowtorch again )
mberends s/blogged/backlogged/
masak mberends: I did? sorry about that... :/
mberends forgiveness > permission
masak was it something I blogged? :)
jnthn
.oO( must never lend masak my blowtorch again )
mberends s/blogged/backlogged/
about Configure.pm, you threatened to bash my ears about that 14:08
PerlJam good morning
masak mberends: I'm pretty sure I didn't say it like that. :)
mberends: just wanted to discuss it, peacefully.
mberends must be my paranoia playing up again ;)
about Configure.pm, you threatened to bash my ears about that
PerlJam good morning
masak mberends: I'm pretty sure I didn't say it like that. :)
mberends: just wanted to discuss it, peacefully.
mberends must be my paranoia playing up again ;)
mberends gets peaceful 14:09
masak just because your ears aren't burning doesn't mean they're not out to bash 'em...
mberends yeah
mberends gets peaceful
masak just because your ears aren't burning doesn't mean they're not out to bash 'em...
mberends yeah
masak: will you have time to plan installed-modules and Configure.pm this evening? 14:10
masak yes.
mberends masak: will you have time to plan installed-modules and Configure.pm this evening?
masak yes.
14:11 payload joined
moritz_ speaking of this evening... do we want a #perl6book meeting tonight? 14:11
masak does
moritz_ would you mind doing it a bit later than usual, 19:00 UTC?
14:11 payload joined
moritz_ speaking of this evening... do we want a #perl6book meeting tonight? 14:11
masak does
moritz_ would you mind doing it a bit later than usual, 19:00 UTC?
(this question also goes to pmichaud, jnthn, PerlJam) 14:12
masak a bit later is fine by me.
mberends masak: good, any time after 18:00 UTC, gotta &work() now &
PerlJam 1900UTC is fine by me.
masak mberends: have the appropriate amound of fun! see you tonight!
jnthn books that time into his schedule
PerlJam jnthn: do you have punitis?
moritz_ sighs
(this question also goes to pmichaud, jnthn, PerlJam)
masak a bit later is fine by me.
mberends masak: good, any time after 18:00 UTC, gotta &work() now &
PerlJam 1900UTC is fine by me.
masak mberends: have the appropriate amound of fun! see you tonight!
jnthn books that time into his schedule
PerlJam jnthn: do you have punitis?
moritz_ sighs
our punbot :-) 14:13
14:13 whooosh joined, moritz_ sets mode: +v jnthn
moritz_ our punbot :-) 14:13
14:13 whooosh joined
jnthn I'd like to voice my concern about this mode change... 14:14
;-)
I'd like to voice my concern about this mode change...
;-)
obra_ 'morning 14:15
moritz_ hi obra_, what's up?
jnthn hi obra_
masak obra_: \\o
PerlJam jnthn: I'm not sure if you're corny or campy today, but it's some c-word.
obra_ masak: me, barely
PerlJam crazy perhaps?
obra_ 'morning
moritz_ hi obra_, what's up?
jnthn hi obra_
masak obra_: \o
PerlJam jnthn: I'm not sure if you're corny or campy today, but it's some c-word.
obra_ masak: me, barely
PerlJam crazy perhaps?
masak obra_: that was for moritz_, I presume. :) 14:16
moritz_ m<tab> :-)
masak obra_: welcome to the club of people who mis-tab on me and moritz_ :)
jnthn PerlJam: Putting var traits in tends to leave one that way. :-)
PerlJam :-)
moritz_ but mathw and masak are even worse, the mis-tab with two leading characters
masak oh, true.
obra_: that was for moritz_, I presume. :)
moritz_ m<tab> :-)
masak obra_: welcome to the club of people who mis-tab on me and moritz_ :)
jnthn PerlJam: Putting var traits in tends to leave one that way. :-)
PerlJam :-)
moritz_ but mathw and masak are even worse, the mis-tab with two leading characters
masak oh, true.
obra_ masak: sorry about that :) 14:17
moritz_ one of you should .flip :-)
masak that's why I tend to throw a cat at mathw when I intend to say something. :)
14:17 jaffa4 joined
masak obra_: it's ok. :) 14:17
obra_ masak: sorry about that :)
moritz_ one of you should .flip :-)
masak that's why I tend to throw a cat at mathw when I intend to say something. :)
14:17 jaffa4 joined
masak obra_: it's ok. :) 14:17
pmichaud later is much better than me 14:18
much better for me
(sorry, too many conversations again)
moritz_ 1900 UTC it is then
pmichaud later is much better than me
much better for me
(sorry, too many conversations again)
moritz_ 1900 UTC it is then
14:18 reid05 left
moritz_
.oO( pmichaud is a conversative :-)
14:19
14:19 kidd` joined
moritz_ I just wanted to make a pun on conservative 14:19
masak moritz_: isn't 19:00 UTC the usual time?
moritz_ wow, that word actually exists
.oO( pmichaud is a conversative :-)
14:19 kidd` joined
moritz_ wow, that word actually exists 14:19
14:19 reid05 joined
moritz_ I just wanted to make a pun on conservative 14:19
masak moritz_: isn't 19:00 UTC the usual time?
masak confused 14:20
moritz_ didn't we have 18:30 UTC usually?
pmichaud 18:30 is parrotsketch
moritz_ or was that #ps?
masak yes.
pmichaud 19:00 is book
masak still fine by me, though.
just not later than usual. :P
masak confused
moritz_ didn't we have 18:30 UTC usually?
pmichaud 18:30 is parrotsketch
moritz_ or was that #ps?
masak yes.
pmichaud 19:00 is book
masak still fine by me, though.
just not later than usual. :P
pmichaud personally, I think there's just far too much Perl 6 activity taking place for a dead language. 14:21
moritz_ any starting time between 19H and 20H UTC is fine by me, then
pmichaud personally, I think there's just far too much Perl 6 activity taking place for a dead language.
moritz_ any starting time between 19H and 20H UTC is fine by me, then
masak pmichaud: well, a minimum of activity is needed, so we can change the name of the language everywhere. 14:23
pmichaud I've already done my bit: "Rakudo" :-)
masak pmichaud: well, a minimum of activity is needed, so we can change the name of the language everywhere.
pmichaud I've already done my bit: "Rakudo" :-)
masak also, don't worry, because it's all *academic* activity, which doesn't count. 14:24
PerlJam masak++
pmichaud Besides, I think we should give Perl 5 a name. "Classic Perl", perhaps. :-)
14:24 mj41 joined
pmichaud "Perl: The Original Series" 14:24
masak also, don't worry, because it's all *academic* activity, which doesn't count.
PerlJam masak++
pmichaud Besides, I think we should give Perl 5 a name. "Classic Perl", perhaps. :-)
14:24 mj41 joined
pmichaud "Perl: The Original Series" 14:24
masak Vanilla Perl. oh wait. 14:25
pmichaud We have a winner!
PerlJam as long as we don't accidentally create the "New Perl" meme
jaffa4 Perl Reloaded.
masak "Perl 6: a New Deal"
pmichaud Perl Overloaded.
jaffa4 Revenge of The Perl.
pmichaud "I for one, welcome our new Perl overloads."
masak Vanilla Perl. oh wait.
pmichaud We have a winner!
PerlJam as long as we don't accidentally create the "New Perl" meme
jaffa4 Perl Reloaded.
masak "Perl 6: a New Deal"
pmichaud Perl Overloaded.
jaffa4 Revenge of The Perl.
pmichaud "I for one, welcome our new Perl overloads."
masak I, for one, welcome these new Perl 6 Overloads. 14:26
moritz_ Vanilla Perl and Stracciatella Perl!
masak dang, pmichaud is faster :)
jaffa4 Perl Squared.
PerlJam Perl to the Perl
masak I, for one, welcome these new Perl 6 Overloads.
moritz_ Vanilla Perl and Stracciatella Perl!
masak dang, pmichaud is faster :)
jaffa4 Perl Squared.
PerlJam Perl to the Perl
Perl is dead. Long live Perl! (oh wait, we've already been there) 14:27
moritz_ I thought it wasn't dead after all :-)
jaffa4 Perl on a new horse.
pmichaud The Legend of the Black Perl. (Oh, wait)
masak Perl: Imerial Edition.
PerlJam Perl is dead. Long live Perl! (oh wait, we've already been there)
moritz_ I thought it wasn't dead after all :-)
jaffa4 Perl on a new horse.
pmichaud The Legend of the Black Perl. (Oh, wait)
masak Perl: Imerial Edition.
jaffa4 Perl Strikes back.
Perl Strikes back. 14:28
masak Perl: Second Coming.
jaffa4 Perl Renasaince.
masak Perl: Second Coming.
jaffa4 Perl Renasaince.
14:29 kst left 14:30 kst joined
Woodi fells something will happen soon... 14:30
PerlJam something is always happening.
14:30 kst joined
Woodi fells something will happen soon... 14:30
PerlJam something is always happening.
Woodi brainstormes usually have some/side effects :) 14:31
jnthn shows up with a patch for var traits, after an adventure involving making POST::Compiler recurse infinitely. Oops. 14:32
PerlJam looks at ng's Grammar.pm and Actions.pm for a few minutes 14:34
14:35 pdcawley_ joined
colomon Is there a guide for mere mortals to build ng somewhere? 14:41
pmichaud At the moment, no.
It will become much simpler once nqp-rx is in Parrot.
colomon Is there a guide for mere mortals to build ng somewhere?
pmichaud At the moment, no.
It will become much simpler once nqp-rx is in Parrot.
Perhaps I should do that before working on pblock 14:42
so that more people can be building ng
moritz_ colomon: build parrot, install it. Build nqp-rx, install it (into the same location)
colomon: then configure ng, and build
masak not necessarily the same location. just configure nqp-rx to find parrot.
pmichaud Perhaps I should do that before working on pblock
so that more people can be building ng
moritz_ colomon: build parrot, install it. Build nqp-rx, install it (into the same location)
colomon: then configure ng, and build
masak not necessarily the same location. just configure nqp-rx to find parrot.
(with --parrot-config to Makefile.PL) 14:43
PerlJam colomon: perl Configure.pl --parrot-config=/path/to/parrot_config # very useful
moritz_ well, rakudo and nqp-rx should use the same parrot ;-)
PerlJam colomon: you use that same line for both nqp-rx and ng :)
masak (with --parrot-config to Makefile.PL)
PerlJam colomon: perl Configure.pl --parrot-config=/path/to/parrot_config # very useful
moritz_ well, rakudo and nqp-rx should use the same parrot ;-)
PerlJam colomon: you use that same line for both nqp-rx and ng :)
jnthn pmichaud: ping 14:44
colomon danke, everyone. will try it now.
masak right, Configure.pl of course, not Makefile.PL
masak is behind the times :)
jnthn pmichaud: ping
colomon danke, everyone. will try it now.
masak right, Configure.pl of course, not Makefile.PL
masak is behind the times :)
pmichaud jnthn: pong 14:45
jnthn pmichaud: I've got code-gen for variable traits working
pmichaud \\o/
jnthn my $x of Int # now dispatches to the right place
Anyway, my Int $x should really do the same thing.
pmichaud jnthn: pong
jnthn pmichaud: I've got code-gen for variable traits working
pmichaud \o/
jnthn my $x of Int # now dispatches to the right place
Anyway, my Int $x should really do the same thing.
My first thought was "well fine, just build us an AST that we can tweak" 14:46
But now I'm looking at it and thinking "gah, we parse a multi_declarator, and thus a declarator, after this"
PerlJam colomon: make sure your parrot revision is the same as in rakudo/build/PARROT_REVISION if you're not using the --gen-parrot option to Configure.pl
jnthn And wondering if we really want to be capturing <typename>+ into some contextuval
*contextual
My first thought was "well fine, just build us an AST that we can tweak"
But now I'm looking at it and thinking "gah, we parse a multi_declarator, and thus a declarator, after this"
PerlJam colomon: make sure your parrot revision is the same as in rakudo/build/PARROT_REVISION if you're not using the --gen-parrot option to Configure.pl
jnthn And wondering if we really want to be capturing <typename>+ into some contextuval
*contextual
colomon PerlJam: I'm too lazy to do anything other than --gen-parrot. :) 14:47
jnthn So the nested decls can use them.
pmichaud does STD.pm do that?
jnthn pmichaud: No, it doesn't.
masak jnthn: contextuval = contextual + nothingmuch :)
pmichaud (in general I'm not happy with the multi_declarator/declarator sequence of rules in STD.pm)
PerlJam masak: heh, I was thinking the same thing :)
jnthn pmichaud: Wait, does STD do which bit?
14:47 kst joined
pmichaud does STD provide a contextual for traits 14:47
colomon PerlJam: I'm too lazy to do anything other than --gen-parrot. :)
jnthn So the nested decls can use them.
pmichaud does STD.pm do that?
jnthn pmichaud: No, it doesn't.
masak jnthn: contextuval = contextual + nothingmuch :)
pmichaud (in general I'm not happy with the multi_declarator/declarator sequence of rules in STD.pm)
14:47 kst left
PerlJam masak: heh, I was thinking the same thing :) 14:47
jnthn pmichaud: Wait, does STD do which bit?
14:47 kst joined
pmichaud does STD provide a contextual for traits 14:47
er, <typename>+ 14:48
jnthn pmichaud: No
pmichaud: I can do it either way I guess.
I'm just looking at the code I'm about to write and thinking "oh gee, this is going to look horrible by the time we're done"
PerlJam colomon: I don't know that nqp-rx and ng keep build/PARROT_REVISION in sync. You'll want to use the parrot revision that Rakudo expects though, I think
pmichaud er, <typename>+
jnthn pmichaud: No
pmichaud: I can do it either way I guess.
I'm just looking at the code I'm about to write and thinking "oh gee, this is going to look horrible by the time we're done"
PerlJam colomon: I don't know that nqp-rx and ng keep build/PARROT_REVISION in sync. You'll want to use the parrot revision that Rakudo expects though, I think
pmichaud rakudo's PARROT_REVISION is generally more up to date 14:49
jnthn Because the type name there could be any of...
* Variable declarator
* Bunch of variables declared through a variable declarator
masak wohoo! suddenly 'make test' on the ng branch looks much better!
Woodi colomon: you can use ready Makefile for build parrot and rakudo, perl.lunski.pl/perl6/spi/
jnthn * Routine or some kind, but we don't actually pass that back up the tree anyway, we emit code to install it somewhere
*of
pmichaud rakudo's PARROT_REVISION is generally more up to date
jnthn Because the type name there could be any of...
* Variable declarator
* Bunch of variables declared through a variable declarator
masak wohoo! suddenly 'make test' on the ng branch looks much better!
Woodi colomon: you can use ready Makefile for build parrot and rakudo, perl.lunski.pl/perl6/spi/
jnthn * Routine or some kind, but we don't actually pass that back up the tree anyway, we emit code to install it somewhere
*of
pmichaud: It just gets massively neater if the individual actions have the typename available. 14:50
Well, the match node and thus ast of...
Woodi do rakudo soon need to build nqp-ng ?
pmichaud jnthn: yeah, I know what you mean. That whole section of declarators feels like it wants a refactor somehow.
jnthn: anyway, go with whatever seems cleanest or best to you
jnthn pmichaud: It just gets massively neater if the individual actions have the typename available.
Well, the match node and thus ast of...
Woodi do rakudo soon need to build nqp-ng ?
pmichaud jnthn: yeah, I know what you mean. That whole section of declarators feels like it wants a refactor somehow.
jnthn: anyway, go with whatever seems cleanest or best to you
jnthn I mena, for now in scoped I can look for PAST::Var, but I know that in a day or two, I'm just going to he tearing my hair out over this. :-) 14:51
std: my Int $x of Str;
I mena, for now in scoped I can look for PAST::Var, but I know that in a day or two, I'm just going to he tearing my hair out over this. :-)
std: my Int $x of Str;
p6eval std 29051: ok 00:01 103m␤ 14:52
jnthn heh
Well, guess semantic check.
pmichaud maybe that's really the same as "my $x of Int of Str"
jnthn pmichaud: Yeah, it would be.
oh
wait
jnthn ponders how that associates
p6eval std 29051: ok 00:01 103m␤
jnthn heh
Well, guess semantic check.
pmichaud maybe that's really the same as "my $x of Int of Str"
jnthn pmichaud: Yeah, it would be.
oh
wait
jnthn ponders how that associates
PerlJam std: my $x of Int of Str 14:53
p6eval std 29051: ok 00:01 101m␤
jnthn Is that of Str going as a trait mod on $x?
e.g. if I wrote my $x of List of Book
PerlJam std: my $x of Int of Str of Int of Str
std: my $x of Int of Str
p6eval std 29051: ok 00:01 101m␤
jnthn Is that of Str going as a trait mod on $x?
14:53 whooosh left
jnthn e.g. if I wrote my $x of List of Book 14:53
PerlJam std: my $x of Int of Str of Int of Str
p6eval std 29051: ok 00:01 101m␤
jnthn Then that's parametric like List[Book], iirc. 14:54
pmichaud jnthn: correct
jnthn So no, it's not quite the same. :-)
pmichaud so I'd take my Int $x of Str to be parametric like Int[Str]
which doesn't make sense for Int
but
jnthn Oh?
Hmm. And ouch.
pmichaud my List $x of Str would be List[Str]
jnthn Then that's parametric like List[Book], iirc.
pmichaud jnthn: correct
jnthn So no, it's not quite the same. :-)
pmichaud so I'd take my Int $x of Str to be parametric like Int[Str]
which doesn't make sense for Int
but
jnthn Oh?
Hmm. And ouch.
pmichaud my List $x of Str would be List[Str]
that would be my expectation at least, based on present knowledge. 14:55
jnthn groans
Yeah, I guess that can be made to work. :-)
pmichaud I'm not sure that's actually correct.
jnthn Me either.
It sure isn't what current Rakudo does.
pmichaud that would be my expectation at least, based on present knowledge.
jnthn groans
Yeah, I guess that can be made to work. :-)
pmichaud I'm not sure that's actually correct.
jnthn Me either.
It sure isn't what current Rakudo does.
I suspect current Rakudo silently discards one of the types. 14:56
pmichaud in that sense, the <typename>+ should really end up being the equivalent-ish of an "of Type" trait
jnthn Which is of course wrong too.
Well, we compile it (even in master) to a trait dispatch, yes.
The question is just about its relationship with any other "of Type" trait.
pmichaud whatever currently handles the trait dispatch in (variable_declarator?) should probably have some way of seeing "oh, there was also a typename trait, add that as well)
jnthn I suspect current Rakudo silently discards one of the types.
pmichaud in that sense, the <typename>+ should really end up being the equivalent-ish of an "of Type" trait
jnthn Which is of course wrong too.
Well, we compile it (even in master) to a trait dispatch, yes.
The question is just about its relationship with any other "of Type" trait.
pmichaud whatever currently handles the trait dispatch in (variable_declarator?) should probably have some way of seeing "oh, there was also a typename trait, add that as well)
jnthn Well, I was just going to push a call to trait_mod:<of> onto the traits list for the variable. 14:57
pmichaud wfm
jnthn Yes, but it won't quite work, because we need to "merge" the two.
pmichaud thus my comment
jnthn Well, I was just going to push a call to trait_mod:<of> onto the traits list for the variable.
pmichaud wfm
14:57 pdcawley left, pdcawley_ is now known as pdcawley
jnthn Yes, but it won't quite work, because we need to "merge" the two. 14:57
pmichaud thus my comment
whatever does the "normal" "of XYZ" handling should probably be made smart enough to also see the traits supplied by <typename>+ 14:58
jnthn *nod*
pmichaud whatever does the "normal" "of XYZ" handling should probably be made smart enough to also see the traits supplied by <typename>+
jnthn *nod*
Sure, I can do that. It's just a bit magical. :-) 14:59
pmichaud i.e., basically treat my Int $x as syntactic sugar for my $x of Int
jnthn Sure, I have been - I just hadn't been handling the merging up until now.
pmichaud okay
PerlJam where does the implementation type go?
jnthn Sure, I can do that. It's just a bit magical. :-)
pmichaud i.e., basically treat my Int $x as syntactic sugar for my $x of Int
jnthn Sure, I have been - I just hadn't been handling the merging up until now.
pmichaud okay
PerlJam where does the implementation type go?
pmichaud that's an "is" trait 15:00
my $x is Scalar of Int of ....
I'm not sure we handle that yet. Basically the implementation type is implied by the sigil if not explicitly given.
that's an "is" trait
my $x is Scalar of Int of ....
I'm not sure we handle that yet. Basically the implementation type is implied by the sigil if not explicitly given.
jnthn No, we've never handled that yet. 15:01
pmichaud shouldn't be too difficult when we get to it :)
jnthn No, we've never handled that yet.
pmichaud shouldn't be too difficult when we get to it :)
moritz_ 1) spec it properly 2) test it 3) implement it 4) ... 5) profit! 15:02
of course they are partially parallelizable :-) 15:03
masak I still don't grok what a Scalar is.
15:03 KyleHa joined
pmichaud It's a container 15:03
just like Array and Hash are containers
masak kind of a one-element array?
pmichaud yeah
masak ok.
pmichaud it's basically the least restrictive form of container
moritz_ of course they are partially parallelizable :-)
masak I still don't grok what a Scalar is.
15:03 KyleHa joined
pmichaud It's a container 15:03
15:03 kst left
pmichaud just like Array and Hash are containers 15:03
masak kind of a one-element array?
pmichaud yeah
masak ok.
pmichaud it's basically the least restrictive form of container
15:03 kst joined
Wolfman2000 masak: The way my luck has been with Catalyst, DBIC, and Mysql last night...I think a part of me wants Web.pm to be closer to done so that I can actually have a pastebin on Perl 6 written in Perl 6 15:06
PerlJam where is it specced that "of Foo of Bar" is the same as "Foo[Bar]" ?
masak Wolfman2000: that's what I'm aiming for.
Wolfman2000: maybe I'll spend some time on it today.
Wolfman2000 masak: The way my luck has been with Catalyst, DBIC, and Mysql last night...I think a part of me wants Web.pm to be closer to done so that I can actually have a pastebin on Perl 6 written in Perl 6
PerlJam where is it specced that "of Foo of Bar" is the same as "Foo[Bar]" ?
masak Wolfman2000: that's what I'm aiming for.
Wolfman2000: maybe I'll spend some time on it today.
jnthn PerlJam: Probably S14. 15:07
Wolfman2000 masak: I would...rather not explain the hurdles I failed to get over. But I need to anyway for context.
masak yes, please.
Wolfman2000 masak: However you plan on handling database joins...make them consistent, and make them WORK.
PerlJam jnthn: ah, thanks.
jnthn PerlJam: Probably S14.
Wolfman2000 masak: I would...rather not explain the hurdles I failed to get over. But I need to anyway for context.
masak yes, please.
Wolfman2000 masak: However you plan on handling database joins...make them consistent, and make them WORK.
PerlJam jnthn: ah, thanks.
jnthn =head2 Relationship Between of And Types 15:08
masak Wolfman2000: what prompted the need for joins in a pastebin?
PerlJam yeah, reading now :)
Wolfman2000 masak: the pastebin I'm designing allows for registering, tags, annotations/grouping.
Each key part requires a separate table.
masak Wolfman2000: oh, cool!
jnthn =head2 Relationship Between of And Types
masak Wolfman2000: what prompted the need for joins in a pastebin?
PerlJam yeah, reading now :)
Wolfman2000 masak: the pastebin I'm designing allows for registering, tags, annotations/grouping.
Each key part requires a separate table.
masak Wolfman2000: oh, cool!
I didn't plan to be that ambitious on the first go. 15:09
Wolfman2000 masak: Only reason I'm trying to be this ambitious...well, www.pumpproedits.com <-- I made that. Granted, that's in Python/Pylons, but we're talking similar complexity.
masak I didn't plan to be that ambitious on the first go.
Wolfman2000 masak: Only reason I'm trying to be this ambitious...well, www.pumpproedits.com <-- I made that. Granted, that's in Python/Pylons, but we're talking similar complexity.
Actually, should be less complex, but...well, that website was in Pylons and Postgresql, while I'm trying Catalyst and I'm stuck with Mysql. 15:10
colomon Two of the "make test" tests failed on my ng build, is that expected at the moment?
jnthn colomon: yes
Wolfman2000 Actually, should be less complex, but...well, that website was in Pylons and Postgresql, while I'm trying Catalyst and I'm stuck with Mysql.
colomon Two of the "make test" tests failed on my ng build, is that expected at the moment?
jnthn colomon: yes
PerlJam only 2? ;) 15:11
moritz_ test, not spectest
PerlJam still.
colomon PerlJam: make spectest is failing gloriously at the moment. :)
PerlJam only 2? ;)
moritz_ test, not spectest
PerlJam still.
colomon PerlJam: make spectest is failing gloriously at the moment. :)
moritz_ it should pass about 90 tests (not files, single tests) 15:12
jnthn Glorious fail!
masak Wolfman2000: I think I'm drifting over to the TDD/release-early camp more and more. that's why I'm surprised your adding everything at the outset. YMMV. use.perl.org/~masak/journal/39483
moritz_ it should pass about 90 tests (not files, single tests)
jnthn Glorious fail!
masak Wolfman2000: I think I'm drifting over to the TDD/release-early camp more and more. that's why I'm surprised your adding everything at the outset. YMMV. use.perl.org/~masak/journal/39483
KyleHa Does it run the spectests? 15:13
moritz_ yes
KyleHa Far out. That's progress!
Wolfman2000 masak: ...The Cult of Dome? Sorry, I can't say I'm understanding it.
pmichaud fsvo "run" :)
KyleHa Does it run the spectests?
moritz_ yes
KyleHa Far out. That's progress!
Wolfman2000 masak: ...The Cult of Dome? Sorry, I can't say I'm understanding it.
pmichaud fsvo "run" :)
masak Wolfman2000: not 'dome', 'done'. :) 15:14
moritz_ for "run" as in "fail" :-)
jnthn We can run the spectests in the sense that I can run a marathon.
It'll be quite some work before a successful running. :-)
masak Wolfman2000: not 'dome', 'done'. :)
moritz_ for "run" as in "fail" :-)
jnthn We can run the spectests in the sense that I can run a marathon.
It'll be quite some work before a successful running. :-)
Wolfman2000 masak: ah. I'll give it another read later: right now taking care of another assignment, non perl related I'm afraid. 15:15
KyleHa Well, I didn't think it PASSED the spectests, but I'm impressed that it's up to running them. 15:17
lisppaste3 moritz_ pasted "passing spectests in ng branch" at paste.lisp.org/display/90175 15:18
KyleHa Seven whole files!
jnthn Wow.
lisppaste3 moritz_ pasted "passing spectests in ng branch" at paste.lisp.org/display/90175
KyleHa Seven whole files!
jnthn Wow.
moritz_ this reminds me of the good old days when I used to run 'make spectest' (which is now spectest_all or so) to see if any new tests would pass 15:19
and submit patches to spectest.data
(what is now spectest was called spectest_regression or so)
KyleHa Sounds like fun.
moritz_ this reminds me of the good old days when I used to run 'make spectest' (which is now spectest_all or so) to see if any new tests would pass
and submit patches to spectest.data
(what is now spectest was called spectest_regression or so)
KyleHa Sounds like fun.
15:20 Psyche^ joined
moritz_ now tools/update_passing_tests_data.pl does the same, with much less noise and more information 15:20
15:20 Psyche^ joined
moritz_ now tools/update_passing_tests_data.pl does the same, with much less noise and more information 15:20
15:20 kst left 15:21 kst joined 15:25 pmurias left 15:29 zamolxes joined, fax joined
moritz_ masak: that could the kind of style question you're interested in: www.perlmonks.org/?node_id=806515 15:30
15:30 jaldhar left, payload left
moritz_ masak: that could the kind of style question you're interested in: www.perlmonks.org/?node_id=806515 15:30
15:31 jaldhar joined
masak moritz_: it is indeed. thanks. 15:31
15:31 jaldhar joined
masak moritz_: it is indeed. thanks. 15:31
japhb Woodi: Plumage will be the default installer for anything on parrot (language, library, whatever). Of course languages are welcome to port their own "native" installers, but they need not do so. 15:32
15:34 Patterner left, Psyche^ is now known as Patterner 15:35 jaldhar joined, jaldhar left, jaldhar joined
KyleHa I'm running that tools/update_passing_test_data.pl now. I'm surprised by how much it says works (in 'master'). Has this not been done in a while, or does it not work the way it used to, or am I not reading the results right? 15:36
jnthn pmichaud: OK, the only thing I think is left in the typed variables (not attributes) thing now is filling out the trait_mod. 15:38
moritz_ KyleHa: it seems to have problems with files marked with #icu
pmichaud jnthn++
KyleHa Intensive Care Unit?
jnthn pmichaud: Any requests for "what next"?
moritz_ KyleHa: and reports them even though they are in t/spectest.data already
KyleHa: unicode library
pmichaud I think I'll do pblock, then work on nqp-in-parrot
jnthn pmichaud: OK, the only thing I think is left in the typed variables (not attributes) thing now is filling out the trait_mod.
moritz_ KyleHa: it seems to have problems with files marked with #icu
pmichaud jnthn++
KyleHa Intensive Care Unit?
jnthn pmichaud: Any requests for "what next"?
moritz_ KyleHa: and reports them even though they are in t/spectest.data already
KyleHa: unicode library
pmichaud I think I'll do pblock, then work on nqp-in-parrot
15:38 kst left
KyleHa Oh, I see. 15:39
pmichaud jnthn: no requests that I can think of at the moment
jnthn 'k
pmichaud I haven't even tried running "make spectest" yet to see the fireworks :)
15:39 kst joined
jnthn pmichaud: Expect glorious fail. 15:39
KyleHa Oh, I see.
pmichaud jnthn: no requests that I can think of at the moment
jnthn 'k
pmichaud I haven't even tried running "make spectest" yet to see the fireworks :)
15:39 kst joined, pmurias joined
jnthn pmichaud: Expect glorious fail. 15:39
15:39 jaldhar left
moritz_ KyleHa: also some test files run all tests, and pass some of them, but there's no point putting them in t/spectest.data because they simply don't implement that feature yet 15:40
for example there's an LTM test
masak moritz_: I put in a reply: www.perlmonks.org/?node_id=806515
moritz_ which rakudo runs, and it passes some sanity tests in there
KyleHa: also some test files run all tests, and pass some of them, but there's no point putting them in t/spectest.data because they simply don't implement that feature yet
for example there's an LTM test
masak moritz_: I put in a reply: www.perlmonks.org/?node_id=806515
moritz_ which rakudo runs, and it passes some sanity tests in there
KyleHa: but if you find some low-hanging fruits for fudging and inclusion, feel free :-) 15:41
15:42 nihiliad joined
pmurias masak: does a lot of people actually want to keep the parenthesis in if's? 15:43
masak pmurias: maybe not a lot. but a vocal minority.
pmurias i find it similiar to wanting to unpack @_ manually
masak: does a lot of people actually want to keep the parenthesis in if's?
masak pmurias: maybe not a lot. but a vocal minority.
pmurias i find it similiar to wanting to unpack @_ manually
KyleHa If minorities weren't vocal, you'd never hear from them. 15:44
masak pmurias: believe it or not, there are proponents for the mutating sigils in Perl 5 as well. :)
KyleHa If minorities weren't vocal, you'd never hear from them.
masak pmurias: believe it or not, there are proponents for the mutating sigils in Perl 5 as well. :)
pmurias mutating sigils actually have some sense 15:45
masak they do.
pmurias extra parens in ifs are just extra cruft
moritz_ they are needed for Perl 5's context model
masak moritz_: that sounds like material for a blog post.
pmurias mutating sigils actually have some sense
masak they do.
pmurias extra parens in ifs are just extra cruft
moritz_ they are needed for Perl 5's context model
masak moritz_: that sounds like material for a blog post.
moritz_: along with how Perl 6 does without them. 15:46
pmurias you could add extra parens everywhere (but you might just switch to lisp)
moritz_ (the mutating sigils, not the parens)
masak: nice idea, yes
masak moritz_: along with how Perl 6 does without them.
pmurias you could add extra parens everywhere (but you might just switch to lisp)
moritz_ (the mutating sigils, not the parens)
masak: nice idea, yes
15:47 justatheory joined
masak moritz_: it's all yours. :) 15:47
15:47 justatheory joined
masak moritz_: it's all yours. :) 15:47
KyleHa Is t/spec/S32-trig/trig.t obsoleted by all the other trig tests? 15:52
moritz_ we should ask colomon 15:53
we should ask colomon
15:54 kidd` left
pmurias perl6: say (do {if 0 {}}).perl 15:56
p6eval elf 29051, pugs: undef␤
..rakudo f16c9e: 0␤
pmurias is rakudo right here?
moritz_ no
IMHO it should really be Nil
pmurias perl6: say (do {if 0 {}}).perl
p6eval elf 29051, pugs: undef␤
..rakudo f16c9e: 0␤
pmurias is rakudo right here?
moritz_ no
IMHO it should really be Nil
pmurias Nil? 15:57
dalek kudo: a02a26e | (Kyle Hasselbacher)++ | tools/update_passing_test_data.pl:
tools/update_passing_test_data.pl: ignore spectest.data comments better
moritz_ the thing that's an empty list in list context, and undef in scalar context
pmurias Nil?
dalek kudo: a02a26e | (Kyle Hasselbacher)++ | tools/update_passing_test_data.pl:
tools/update_passing_test_data.pl: ignore spectest.data comments better
moritz_ the thing that's an empty list in list context, and undef in scalar context
15:58 kst joined, kst left, meppel left, kst joined, payload joined
KyleHa What's bitwise negation in Perl 6 (that is, prefix ~ in Perl 5)? 16:02
16:02 kst left
moritz_ rakudo: say +! 4 16:03
p6eval rakudo f16c9e: 0␤
16:03 kst joined
moritz_ rakudo: say +^ 4 16:03
p6eval rakudo f16c9e: -5␤
moritz_ that's it
rakudo: say ~^ 4
p6eval rakudo f16c9e: 0 1 2 3␤
Woodi masak: ping
moritz_ erm
masak Woodi: pong
16:03 hudnix left
moritz_ rakudo: say +! 4 16:03
p6eval rakudo f16c9e: 0␤
16:03 kst joined
moritz_ rakudo: say +^ 4 16:03
p6eval rakudo f16c9e: -5␤
moritz_ that's it
rakudo: say ~^ 4
p6eval rakudo f16c9e: 0 1 2 3␤
Woodi masak: ping
moritz_ erm
masak Woodi: pong
KyleHa Hmmm. In Perl 5, I get 'say ~0' as a huge number, but in Perl 6, 'say +^ 0' is -1. 16:04
Woodi masak: Squerel isn't part of Web ?
16:04 jaldhar joined
PerlJam rakudo: say ~^4 16:04
p6eval rakudo f16c9e: 0 1 2 3␤
PerlJam heh, that's a rakudo bug
KyleHa Hmmm. In Perl 5, I get 'say ~0' as a huge number, but in Perl 6, 'say +^ 0' is -1.
Woodi masak: Squerel isn't part of Web ?
16:04 jaldhar joined
PerlJam rakudo: say ~^4 16:04
p6eval rakudo f16c9e: 0 1 2 3␤
PerlJam heh, that's a rakudo bug
(maybe) 16:05
rakudo: say ~^~4
p6eval rakudo f16c9e: 0 1 2 3␤
PerlJam no, definitely
(maybe)
rakudo: say ~^~4
p6eval rakudo f16c9e: 0 1 2 3␤
PerlJam no, definitely
masak Woodi: it is, currently. 16:06
Woodi: though the relation 'part of Web.pm' is a bit problematic, and has never been wholly nailed down.
Woodi: I consider Web.pm as a sort of incubator for projects that will be needed for web-related modules.
Woodi: it is, currently.
Woodi: though the relation 'part of Web.pm' is a bit problematic, and has never been wholly nailed down.
Woodi: I consider Web.pm as a sort of incubator for projects that will be needed for web-related modules.
Woodi masak: k 16:07
16:08 kst joined, kst left, kst joined
pmichaud pointy blocks should now "work" in ng, for various values of "work" 16:12
we still don't handled implicit $_ yet
*handle
pointy blocks should now "work" in ng, for various values of "work"
16:12 kst left
pmichaud we still don't handled implicit $_ yet 16:12
*handle
16:13 kst joined
pmichaud afk, lunch 16:13
16:13 kst joined
pmichaud afk, lunch 16:13
16:16 alester joined
alester Where's my backup admins at? twitter.com/clonezone/status/5622151808 16:17
16:17 kst joined
alester Where's my backup admins at? twitter.com/clonezone/status/5622151808 16:17
16:17 kst left, kst joined
PerlJam wasn't aware that there were any backup admins for rakudo.org 16:18
KyleHa We have backups? 16:19
Woodi masak: may I move Test.pm and Configure.pm from web/lib into somewhere else ? web/tools or web/plib ?
moritz_ I think I've mentioned that a few times here on the channel
masak Woodi: oh dear, is there a Test.pm still in there? :/
KyleHa We have backups?
Woodi masak: may I move Test.pm and Configure.pm from web/lib into somewhere else ? web/tools or web/plib ?
moritz_ I think I've mentioned that a few times here on the channel
masak Woodi: oh dear, is there a Test.pm still in there? :/
Woodi: what is it you're doing, by the way? packaging something? 16:20
Woodi making moduless are possible to build...
masak Woodi: what is it you're doing, by the way? packaging something?
Woodi making moduless are possible to build...
and make way to put make install into modules... 16:21
16:21 kst joined, payload left
Woodi and make way to put make install into modules... 16:21
16:21 kst left, mariuz left, kst joined
moritz_ that's what the installed-module branch in proto aims at 16:22
Woodi it is root of all evil...
moritz_ that's what the installed-module branch in proto aims at
Woodi it is root of all evil...
16:23 mariuz joined
Woodi it makes installation code not required... 16:23
so no way to install
16:23 mariuz joined
Woodi it makes installation code not required... 16:23
so no way to install
assume you have /usr/lib/perl6 for modules... 16:24
moritz_ the branch I'm talking about doesn't
Woodi none of modules is possible to install... ENOTSEEYET
assume you have /usr/lib/perl6 for modules...
moritz_ the branch I'm talking about doesn't
Woodi none of modules is possible to install... ENOTSEEYET
moritz_: branch cannot do magic if module do not designate what .pm files belong to module... 16:25
moritz_ Woodi: right, but that can be declarative 16:26
Woodi not at the moment...
moritz_ Woodi: right, but that can be declarative
Woodi not at the moment...
i think module/lib should be only for important modules, not build tools... 16:27
maybe plib for private module libraries ? 16:28
moritz_ some Perl 5 modules use 'inc' for build tools, iirc 16:29
Woodi works for me 16:30
[particle] inc/Module/Install.pm
moritz_ that's what I meant, [particle]++
Woodi and blib is ?
works for me
[particle] inc/Module/Install.pm
moritz_ that's what I meant, [particle]++
Woodi and blib is ?
PerlJam Woodi: staging area for installation "build lib" or somesuch 16:31
Woodi so install copies from blib ?
[particle] it's the install tree
PerlJam Woodi: staging area for installation "build lib" or somesuch
Woodi so install copies from blib ?
[particle] it's the install tree
files are copied to blib (the install tree), and testing is performed from there 16:32
masak I don't know why, but every time I think of questions related to 'what proto should do', a great weakness comes upon me.
[particle] that way, you're testing things as they will be installed, not as they are in source
Woodi good for packaging too (tgz, etc)
[particle] files are copied to blib (the install tree), and testing is performed from there
masak I don't know why, but every time I think of questions related to 'what proto should do', a great weakness comes upon me.
[particle] that way, you're testing things as they will be installed, not as they are in source
Woodi good for packaging too (tgz, etc)
masak: proto_project_dir can be good for versioning 16:33
masak Woodi: versioning? please, please do not make proto handle versions. make something that works instead. 16:34
Woodi masak: except it should be downloading directory imo...
masak cf. pigs, lipstick, etc.
16:34 cotto_work joined
[particle] mmm, pork. 16:34
Woodi masak: why ? :)
masak Woodi: because we deserve something that works.
Woodi: versioning? please, please do not make proto handle versions. make something that works instead.
Woodi masak: except it should be downloading directory imo...
masak cf. pigs, lipstick, etc.
16:34 cotto_work joined
[particle] mmm, pork. 16:34
Woodi masak: why ? :)
masak Woodi: because we deserve something that works.
moritz_ masak: I've written the blog post now... will be published in a week :-) 16:35
masak and proto isn't it.
moritz_: :)
moritz_ so that I can stay in the ironman competition a bit longer :-)
Woodi masak: 1. name is superb; 2. proto works - ppls use it atm
moritz_ masak: I've written the blog post now... will be published in a week :-)
masak and proto isn't it.
moritz_: :)
moritz_ so that I can stay in the ironman competition a bit longer :-)
Woodi masak: 1. name is superb; 2. proto works - ppls use it atm
moritz_ fsvo "works"? 16:36
Woodi masak: and i just removed perl6 installing things from proto and started (after month) working to me too
masak Woodi: I know. see use.perl.org/~masak/journal/38876
moritz_ fsvo "works"?
Woodi masak: and i just removed perl6 installing things from proto and started (after month) working to me too
masak Woodi: I know. see use.perl.org/~masak/journal/38876
Woodi masak: but then i had stuck with modules "design"... 16:37
PerlJam masak: proto may be a victim of its own success relative to Woodi :)
masak PerlJam: frothing at the mouth and mumblings of 'Austria' are early symptoms.
Woodi masak: but then i had stuck with modules "design"...
PerlJam masak: proto may be a victim of its own success relative to Woodi :)
masak PerlJam: frothing at the mouth and mumblings of 'Austria' are early symptoms.
pugs_svn r29052 | kyle++ | [t/spec] fudge S04-phasers/in-eval
r29052 | kyle++ | [t/spec] fudge S04-phasers/in-eval 16:38
Woodi the most successful Perl 6 installer of the decade is true as 100% :)
masak I rest my case.
PerlJam he
Woodi the most successful Perl 6 installer of the decade is true as 100% :)
masak I rest my case.
PerlJam he
heh even 16:39
Wolfman2000 moritz_: thanks for installing DateTime::Format::MySQL. I'll mess with it once I actually get the initial query I'm trying to do to work. 16:41
Woodi masak: so i will move config.pm and test.pm from lib to inc and add inc to perl6lib, k ? 16:42
masak Woodi: I have no idea whether that is 'k' or not. :/
Woodi o(k) ?
masak I don't feel I have an overview of the problem landscape.
alester No, we don't have backup admins, but last time there was something b0rken on rakudo.org, there was much hue and cry over the need for them.
Woodi masak: so i will move config.pm and test.pm from lib to inc and add inc to perl6lib, k ?
masak Woodi: I have no idea whether that is 'k' or not. :/
Woodi o(k) ?
masak I don't feel I have an overview of the problem landscape.
alester No, we don't have backup admins, but last time there was something b0rken on rakudo.org, there was much hue and cry over the need for them.
16:43 NorwayGeek_ joined
Woodi backups ? was looking on github in perl projects and rakudo was: moust forked thing :) 16:43
16:43 NorwayGeek_ joined
Woodi backups ? was looking on github in perl projects and rakudo was: moust forked thing :) 16:43
moritz_ alester: it's an old problem, and the cries have long since faded 16:44
(the RSS feed thing)
alester I figured.
PerlJam alester: Well ... make me an admin and i'll fix broken things if I can when I can.
moritz_ alester: it's an old problem, and the cries have long since faded
(the RSS feed thing)
alester I figured.
16:44 jaldhar left
PerlJam alester: Well ... make me an admin and i'll fix broken things if I can when I can. 16:44
pugs_svn r29053 | pmurias++ | [mildew-js] empty blocks have a value (TODO make it Nil) 16:45
r29054 | pmurias++ | [mildew-js] added t/dollar_bang.t to TESTS-js
masak someone complained about rakudo.org's feed today on Twitter: twitter.com/clonezone/status/5622151808
PerlJam deja vu
pugs_svn r29053 | pmurias++ | [mildew-js] empty blocks have a value (TODO make it Nil)
r29054 | pmurias++ | [mildew-js] added t/dollar_bang.t to TESTS-js
masak someone complained about rakudo.org's feed today on Twitter: twitter.com/clonezone/status/5622151808
PerlJam deja vu
16:46 mariuz left
Woodi re-mildew Perl6 compiler need a lot of Perl5 Moose to install... 16:47
pmurias Woodi: you mean re-mildew needs Moose, yes
Woodi re-mildew Perl6 compiler need a lot of Perl5 Moose to install...
pmurias Woodi: you mean re-mildew needs Moose, yes
Woodi a lot, a lot of keypressing in -e CPAN :) 16:48
16:48 jaldhar joined
pmurias Woodi: i think it's possible to make CPAN install stuff without asking 16:48
Woodi a lot, a lot of keypressing in -e CPAN :)
16:48 jaldhar joined
pmurias Woodi: i think it's possible to make CPAN install stuff without asking 16:48
Woodi hmm, to late... 16:49
what module Mouse do ? :)
pmurias Woodi: by the way, installing {mildew-js,re-mildew} is a bit rough so if have problems ask
Woodi: Moose without meta stuff
Woodi oki
hmm, to late...
what module Mouse do ? :)
pmurias Woodi: by the way, installing {mildew-js,re-mildew} is a bit rough so if have problems ask
Woodi: Moose without meta stuff
Woodi oki
PerlJam Woodi: Mouse is a tiny Moose 16:50
Woodi but re-mildew emits plain old C ?
KyleHa Is there a way for me to determine from Rakudo whether my CPU is 32 bit or 64 bit?
moritz_ KyleHa: probably over %*VM<config>
KyleHa More to the point, I want to know when an int will overflow.
PerlJam Woodi: Mouse is a tiny Moose
Woodi but re-mildew emits plain old C ?
KyleHa Is there a way for me to determine from Rakudo whether my CPU is 32 bit or 64 bit?
moritz_ KyleHa: probably over %*VM<config>
KyleHa More to the point, I want to know when an int will overflow.
jaffa4 what is *? 16:51
PerlJam jaffa4: contextual
moritz_ an asterisk
pmurias re-mildew it emits C but it needs SMOP for the runtime to work
PerlJam jaffa4: assuming you're referring to %*VM<config>
Woodi to link ?
jaffa4 contextual? yes,.
pmurias Woodi: yes
jaffa4 How does that differ from local or global declaration?
what is *?
PerlJam jaffa4: contextual
moritz_ an asterisk
pmurias re-mildew it emits C but it needs SMOP for the runtime to work
PerlJam jaffa4: assuming you're referring to %*VM<config>
Woodi to link ?
jaffa4 contextual? yes,.
pmurias Woodi: yes
jaffa4 How does that differ from local or global declaration?
moritz_ it's lexotic :-) 16:52
Woodi pmurias: let modules install and make all works then i see what happens :)
PerlJam moritz_: heh, you were reading my mind (I was trying hard not to say that :)
moritz_ it's lexotic :-)
Woodi pmurias: let modules install and make all works then i see what happens :)
PerlJam moritz_: heh, you were reading my mind (I was trying hard not to say that :)
16:53 oZ] joined
KyleHa Would it be bad for spectests to use some Perl 5? 16:53
16:53 oZ] joined
KyleHa Would it be bad for spectests to use some Perl 5? 16:53
moritz_ it should be avoided whenever possible 16:54
pmurias Woodi: re-mildew doesn't support much features yet, i'm working on mildew-js now (which is a javascript backend for re-mildew) and features re-mildew after it passes the re-mildew tests
KyleHa Yeah, that was my thought too.
pmurias KyleHa: how do you want o use Perl 5?
KyleHa pmurias: I want to get its value of '~0'. 8-)
moritz_ it should be avoided whenever possible
pmurias Woodi: re-mildew doesn't support much features yet, i'm working on mildew-js now (which is a javascript backend for re-mildew) and features re-mildew after it passes the re-mildew tests
KyleHa Yeah, that was my thought too.
pmurias KyleHa: how do you want o use Perl 5?
16:54 NorwayGeek left
KyleHa pmurias: I want to get its value of '~0'. 8-) 16:54
pmurias the only place where using Perl 5 is acceptable is in perl5 interop tests 16:55
KyleHa I see S03-operators/overflow.t works for me, but that may be because it's aimed at 32 bit procs, and I have a 64 bit proc.
Woodi pmurias: but it is one language more in chain p6->js->c...
pmurias the only place where using Perl 5 is acceptable is in perl5 interop tests
KyleHa I see S03-operators/overflow.t works for me, but that may be because it's aimed at 32 bit procs, and I have a 64 bit proc.
Woodi pmurias: but it is one language more in chain p6->js->c...
masak & 16:56
pmurias Woodi: yes, but js can run in browsers 16:57
Woodi pmurias: how many MB m-js is now ? :) 16:58
16:58 oZ] joined
Woodi pmurias: how many MB m-js is now ? :) 16:58
16:58 oZ] left, oZ] joined
pmurias Woodi: you mean how big is the source code? 16:59
jaffa4 How does that differ from local or global declaration?
Woodi pmurias: no, compiler compiled to js
pmurias Woodi: you mean how big is the source code?
jaffa4 How does that differ from local or global declaration?
Woodi pmurias: no, compiler compiled to js
pmurias it's not yet bootstraped 17:00
Woodi i do not expect something comparable to css, but.... realy no idea what to think...
pmurias it's not yet bootstraped
Woodi i do not expect something comparable to css, but.... realy no idea what to think...
pmurias css = ? 17:01
Woodi pmurias: but what should be expected ? mean: for what can be used, if big then not for plain www users...
moritz_ jaffa4: read r29049 of the pugs repo, it explains that in great detail
pmurias css = ?
Woodi pmurias: but what should be expected ? mean: for what can be used, if big then not for plain www users...
moritz_ jaffa4: read r29049 of the pugs repo, it explains that in great detail
Woodi p6 compiler should weight more then cascade style sheets... 17:02
or for server side usage ?
p6 compiler should weight more then cascade style sheets...
or for server side usage ?
pmurias you would compile p6 to js on the server and if you don't use eval the user doesn't have to download the compiler 17:03
just compiled code + runtime 17:04
Woodi super. but it implies i have no idea how big picture looks like :)
pmurias just compiled code + runtime
Woodi super. but it implies i have no idea how big picture looks like :)
TimToady pmurias: regarding if 0 {} returning Nil, see S04:197 and S04:266 17:05
pmurias you compile p6 code with mildew-js to js and the the user downloads the js
TimToady pmurias: regarding if 0 {} returning Nil, see S04:197 and S04:266
pmurias you compile p6 code with mildew-js to js and the the user downloads the js
TimToady this was an explicit change from P5 so that we could write list comprehensions without special syntax 17:06
pmichaud back from lunch
dalek kudo: 50e495b | (Kyle Hasselbacher)++ | t/spectest.data:
[spectest.data] add a couple runnable files
Woodi pmurias: ah, that explains everything :)
TimToady this was an explicit change from P5 so that we could write list comprehensions without special syntax
pmichaud back from lunch
dalek kudo: 50e495b | (Kyle Hasselbacher)++ | t/spectest.data:
[spectest.data] add a couple runnable files
Woodi pmurias: ah, that explains everything :)
jnthn pmichaud: w/b. I'm finally gearing up to put parametric roles back. 17:07
pmurias TimToady: thanks
jaffa4 I see
pmurias the actuall problematic case was if 1 {}
jnthn pmichaud: w/b. I'm finally gearing up to put parametric roles back.
pmurias TimToady: thanks
jaffa4 I see
pmurias the actuall problematic case was if 1 {}
TimToady: does if 1 {} return 1 or Nil? 17:08
TimToady KyleHa: the difference on bitwise complement between p5 and p6 results from the fact that p6's Int is reallly BigInt, so if we do unsigned complement we end up with Inf 17:09
KyleHa Aha.
TimToady so signed complement seems more useful
pmurias: it returns Nil too
17:09 cdarroch joined
TimToady KyleHa: the difference on bitwise complement between p5 and p6 results from the fact that p6's Int is reallly BigInt, so if we do unsigned complement we end up with Inf 17:09
KyleHa Aha.
TimToady so signed complement seems more useful
pmurias: it returns Nil too
17:09 cdarroch joined 17:10 masak left
pugs_svn r29055 | pmurias++ | [S04] clarify the return value of {} 17:13
pmurias TimToady: forgive me if i'm wrong ;)
pugs_svn r29055 | pmurias++ | [S04] clarify the return value of {}
pmurias TimToady: forgive me if i'm wrong ;)
Wolfman2000 phenny: tell Juerd Sorry to make another request, but mysql is causing too many problems for me. Any chance of installing postgresql, or will I have to adapt to using SQLite instead? 17:14
phenny Wolfman2000: I'll pass that on when Juerd is around.
TimToady pmurias: well, I'll just have forgive you for the editing collision :)
Wolfman2000 phenny: tell Juerd Sorry to make another request, but mysql is causing too many problems for me. Any chance of installing postgresql, or will I have to adapt to using SQLite instead?
phenny Wolfman2000: I'll pass that on when Juerd is around.
TimToady pmurias: well, I'll just have forgive you for the editing collision :)
colomon KyleHa: trig.t is officially obsolete. I think I told rakudo not to run it? 17:15
KyleHa Yes, it doesn't run, but it's still in the pugs repo. Can it go away completely, or is there something in there we need? 17:16
colomon As far as I know it can go away completely, I was just paranoid about making it so. 17:17
I suppose it will still be hiding in svn history anyway... 17:18
pugs_svn r29056 | lwall++ | [S04] clarify Nil semantics of empty blocks and missing branches, pmurias++
KyleHa Yes.
Thanks, colomon++
colomon Want me to get rid of it?
I suppose it will still be hiding in svn history anyway...
pugs_svn r29056 | lwall++ | [S04] clarify Nil semantics of empty blocks and missing branches, pmurias++
KyleHa Yes.
Thanks, colomon++
colomon Want me to get rid of it?
KyleHa If you don't, I will. 17:19
colomon I'll take it.
KyleHa If you don't, I will.
colomon I'll take it.
pugs_svn r29057 | colomon++ | [t/spec] Delete dead trig.t tests. 17:20
17:20 _jaldhar joined
pugs_svn r29057 | colomon++ | [t/spec] Delete dead trig.t tests. 17:20
17:20 _jaldhar joined
colomon KyleHa++ # for appropriate prodding 17:22
17:22 jaldhar left
TimToady moritz_: context vars aren't precisely lexotic, but they are dynlexic. 17:24
lexotic is specifically about preferring the lexical search over the dynamic search
moritz_: context vars aren't precisely lexotic, but they are dynlexic.
lexotic is specifically about preferring the lexical search over the dynamic search
and context vars are purely dynamic search, albeit into lexpads 17:25
colomon is wondering what percentage of the sentences of #perl6 would have been meaningless gibberish just the week before...
moritz_ colomon: aren't the still? ;-)
TimToady and context vars are purely dynamic search, albeit into lexpads
colomon is wondering what percentage of the sentences of #perl6 would have been meaningless gibberish just the week before...
moritz_ colomon: aren't the still? ;-)
TimToady: got it, thanks 17:26
s/the/they/
17:26 explorer joined
moritz_ TimToady: got it, thanks 17:26
s/the/they/
17:26 explorer joined
cognominal TimToady is clearly a lexomane 17:27
moritz_ not a dynlexomane? ;-)
pugs_svn r29058 | kyle++ | [t/spec] refudge S10-packages/basic. One more pass since parrot rev bump
cognominal TimToady is clearly a lexomane
moritz_ not a dynlexomane? ;-)
pugs_svn r29058 | kyle++ | [t/spec] refudge S10-packages/basic. One more pass since parrot rev bump
cognominal ...and a syno maniac too, probably what perl is sinful chinese to many 17:29
TimToady 哈哈 17:33
I guess a laugh/yawn is something that "fits in your mouth" 17:34
and makes a "ha" sound 17:37
cognominal anyway, with OO in Perl 6, TimToady is a role model 17:41
TimToady you're pretty classy yourself 17:42
jnthn You both have your good attributes. :-)
pmichaud wonders if he is a Failure, albeit a very interesting one. :-)
[particle] if you both introspect, i think you'll find you're not objective enough
TimToady you're pretty classy yourself
jnthn You both have your good attributes. :-)
pmichaud wonders if he is a Failure, albeit a very interesting one. :-)
[particle] if you both introspect, i think you'll find you're not objective enough
TimToady is picturing Introspector Clouseau 17:44
"Cato, what have you done to my brain?"
TimToady is picturing Introspector Clouseau
"Cato, what have you done to my brain?"
mb 17:45
17:46 mberends left, TimToady sets mode: +vv dalek hugme, TimToady sets mode: +vvvv ilbot2 ilogger2 IRSeekBot lambdabot, TimToady sets mode: +vvvv lisppaste3 mubot p6eval phenny, TimToady sets mode: +vvv pointme pugs_svn zaslon
[particle] v++ 17:49
KyleHa smolder.plusthree.com not feeling well today? 17:51
jnthn finally finds and catches the irritating buzzy insect that's been distracting him on and off all afternoon
TimToady debugging, eh?
KyleHa smolder.plusthree.com not feeling well today?
jnthn finally finds and catches the irritating buzzy insect that's been distracting him on and off all afternoon
TimToady debugging, eh?
jnthn *groan* 17:52
PerlJam jnthn: come on! That was *much* better than some of your earlier puns. :)
jnthn *groan*
PerlJam jnthn: come on! That was *much* better than some of your earlier puns. :)
jnthn It was an admiring groan. :-) 17:53
TimToady
.oO(it wasn't that good...)
17:56
17:57 payload joined
TimToady y'know, the bug metaphor isn't very good. with a meatspace bug, it's more efficient to just let it bite you and fly away again. 17:58
unlike with a computer bug, that keeps biting over and over
17:58 NorwayGeek_ is now known as NorwayGeek
TimToady y'know, the bug metaphor isn't very good. with a meatspace bug, it's more efficient to just let it bite you and fly away again. 17:58
unlike with a computer bug, that keeps biting over and over
well, assuming you don't get malaria, which isn't very efficient either, except in the way that it is... 17:59
moritz_ oh, I've been bitten by some meatspace bugs multiple times 18:00
TimToady well, fleas are special
moritz_ oh, I've been bitten by some meatspace bugs multiple times
TimToady well, fleas are special
Woodi TimToady: any ideas about filesystem layout for versioned modules ? or it should be db or git or ... ? 18:06
TimToady: any ideas about filesystem layout for versioned modules ? or it should be db or git or ... ?
18:09 stephenlb joined 18:11 explorer left
pugs_svn r29059 | kyle++ | [t/spec] move a test that passed only because previous test autovivified 18:20
r29059 | kyle++ | [t/spec] move a test that passed only because previous test autovivified
18:22 payload left
pmichaud decides he really ought to write an article about how modules aren't likely to be tied to a filesystem. Except he doesn't want to touch that tarbaby. 18:23
jnthn -> store, bbs 18:24
pmichaud ugh, requiring default values to be in their own blocks is making $_ a pain 18:28
Wolfman2000 brb/afk 18:31
18:32 Wolfman2000 left
pmichaud jnthn: ping (when you get back) 18:35
18:42 fax left
dalek ok: 30057bc | masak++ | src/basics.pod:
[basics] more minor fixes
18:43
ok: a6cee3d | masak++ | :
Merge branch 'master' of github.com:perl6/book

  \tsrc/basics.pod
ok: 30057bc | masak++ | src/basics.pod:
[basics] more minor fixes
ok: a6cee3d | masak++ | :
Merge branch 'master' of github.com:perl6/book

src/basics.pod
18:44 justatheory left 18:45 mberends joined
jnthn pmichaud: pong, I'm back 18:52
pmichaud I'm a little concerned about handling $_ as a default parameter
jnthn pmichaud: pong, I'm back
pmichaud I'm a little concerned about handling $_ as a default parameter
jnthn (just unpacking shopping, but go ahead) 18:53
pmichaud a bare pblock is generally equivalent to <-> $_ is ref = OUTER::<$_> { ... }
jnthn (just unpacking shopping, but go ahead)
pmichaud a bare pblock is generally equivalent to <-> $_ is ref = OUTER::<$_> { ... }
(perhaps not 'is ref', not relevant to this discussion) 18:54
but since default parameters are now always required to be Parrot subs, we're likely to end up with a *lot* of Parrot subs that do nothing but look up two outer scopes for $_
(perhaps not 'is ref', not relevant to this discussion)
but since default parameters are now always required to be Parrot subs, we're likely to end up with a *lot* of Parrot subs that do nothing but look up two outer scopes for $_
jnthn pmichaud: Right. It did run through my mind earlier that this may be an issue for us. 18:55
If nothing against an extra flag we set on the signature, that the binder recognizes and handles specially.
"default from outer" or something.
pmichaud: Right. It did run through my mind earlier that this may be an issue for us.
If nothing against an extra flag we set on the signature, that the binder recognizes and handles specially.
"default from outer" or something.
pmichaud since this is extremely common, I think I'd prefer that. 18:56
jnthn Yeah.
Same.
pmichaud let me test and check in what I have now
the code that generates the default $_ is at line 128
you can switch it to whatever you decide for the binder
since this is extremely common, I think I'd prefer that.
jnthn Yeah.
Same.
pmichaud let me test and check in what I have now
the code that generates the default $_ is at line 128
you can switch it to whatever you decide for the binder
test succeeded. 18:57
jnthn pmichaud: You just create a Parameter object, followed by a Signature?
pmichaud signature, followed by parameter, but yeah.
jnthn oh, yes
OK, cool
pmichaud it's pretty obvious how it works when you see it
jnthn I can probably have this together Real Quick.
pmichaud test succeeded.
jnthn pmichaud: You just create a Parameter object, followed by a Signature?
pmichaud signature, followed by parameter, but yeah.
jnthn oh, yes
OK, cool
pmichaud it's pretty obvious how it works when you see it
jnthn I can probably have this together Real Quick.
pmichaud I suspect you can :-) 18:58
just a "bind from outer" flag that binds the variable to its equivalent outer would be excellent
jnthn Right.
pmichaud er, default from outer
whatever
jnthn I'll just put it as a generic flag.
If there's anything else that needs it, it'll be there. :-)
pmichaud I suspect you can :-)
just a "bind from outer" flag that binds the variable to its equivalent outer would be excellent
jnthn Right.
pmichaud er, default from outer
whatever
jnthn I'll just put it as a generic flag.
If there's anything else that needs it, it'll be there. :-)
(And if not, it's all guts.) 18:59
18:59 seanstickle joined
pmichaud pushed. 18:59
jnthn (that is, not exposed leakily)
oh, maybe apart from introspection...
18:59 seanstickle left
jnthn can solve that if we need to. 18:59
(And if not, it's all guts.)
18:59 seanstickle joined
pmichaud pushed. 18:59
jnthn (that is, not exposed leakily)
oh, maybe apart from introspection...
18:59 seanstickle left
jnthn can solve that if we need to. 18:59
dalek ok: 25e3c18 | masak++ | src/classes-and-objects.pod:
[OO] added three questions

to have exercises), or they could perhaps be incorporated in the text itself. I plan to write full answers to these three questions as well. 25e3c18 | masak++ | src/classes-and-objects.pod:
  [OO] added three questions
These questions could eventually be incorporated as exercises (if we decide to have exercises), or they could perhaps be incorporated in the text itself. I plan to write full answers to these three questions as well.
19:00
pmichaud hugme tweet rakudoperl rakudo-ng now has pointy blocks again 19:02
hugme hugs pmichaud; tweet delivered
pmichaud hugme tweet rakudoperl rakudo-ng now has pointy blocks again
hugme hugs pmichaud; tweet delivered
jnthn oh no!!! 19:03
when I went to the store, I forgot to buy beer. :-/
[particle] hugme: hug jonathan
hugme hugs jonathan
jnthn :-)
Eh, it's open for another 2 hours...
pmichaud watches as rakudo development grinds to a complete stop.
jnthn oh no!!!
when I went to the store, I forgot to buy beer. :-/
19:03 cdarroch left
[particle] hugme: hug jonathan 19:03
hugme hugs jonathan
jnthn :-)
Eh, it's open for another 2 hours...
pmichaud watches as rakudo development grinds to a complete stop.
Q: "Why did Rakudo fail?" A: "Insufficient beer." 19:04
[particle] EBEERRUN
pmichaud Q: "Why did Rakudo fail?" A: "Insufficient beer."
[particle] EBEERRUN
KyleHa has a new respect for the pugs/VICTUALS file. 19:05
pmichaud I'm not sure which concerns me more -- the fact that jonathan is running short of beer, or the fact that he went to the store AND FORGOT TO BUY BEER.
KyleHa has a new respect for the pugs/VICTUALS file.
pmichaud I'm not sure which concerns me more -- the fact that jonathan is running short of beer, or the fact that he went to the store AND FORGOT TO BUY BEER.
:) 19:06
KyleHa I have a dream that someday, I too might consume something worthy of inclusion in VICTUALS.
pmichaud :)
KyleHa I have a dream that someday, I too might consume something worthy of inclusion in VICTUALS.
19:07 SmokeMachine left 19:08 ssm left, daemon left, _jaldhar left, oZ] left, reid05 left, pointme left, barney left, zaphar_ps left, xinming left, jan_ left, szabgab left, colomon left, [particle] left, PacoLinux left, Infinoid left, carlin left, araujo left, arthur-_ left, athomason left, cosimo left, yath left, Maddingue left, japhb left, hicx174 left, Juerd left, jnthn left, lambdabot left, omega_ left, parduncia left, constant left, cognominal left, sri__ left, spinclad left, jiing_ left, pugs_svn left, krunen left, Woodi left, frew__ left, dukeleto left, hatseflats left, cls_bsd left, phenny left 19:13 Wolfman2000 joined, payload joined
dalek ok: 5a61748 | masak++ | src/classes-and-objects.pod:
[OO] added answer to the first question
19:18
ok: 5a61748 | masak++ | src/classes-and-objects.pod:
[OO] added answer to the first question
Wolfman2000 ...okay, I think I'm doing a little better. These past few days have been slightly stressful. 19:22
19:22 SmokeMachine joined
Wolfman2000 ...okay, I think I'm doing a little better. These past few days have been slightly stressful. 19:22
19:22 SmokeMachine joined, masak joined
Wolfman2000 masak: I am starting to not like Catalyst. or MySQL. 19:25
masak Wolfman2000: sorry to hear that.
Wolfman2000 mysql--; postgresql++; sqlite++;
masak: I am starting to not like Catalyst. or MySQL.
masak Wolfman2000: sorry to hear that.
Wolfman2000 mysql--; postgresql++; sqlite++;
@karma mysql 19:26
...the bot's not here? BAH
@karma mysql
...the bot's not here? BAH
moritz_ zaslon: karma mysql 19:27
zaslon Sorry, I don't understand that command
KyleHa Pg > MySQL
moritz_ mubot: karma mysql
mubot mysql has a karma of -1
moritz_ mubot: karma postgresql
mubot postgresql has a karma of 1
Wolfman2000 ...hold on a second...one of my scripts is acting up.
19:27 cdarroch joined
moritz_ zaslon: karma mysql 19:27
zaslon Sorry, I don't understand that command
KyleHa Pg > MySQL
moritz_ mubot: karma mysql
mubot mysql has a karma of -1
moritz_ mubot: karma postgresql
mubot postgresql has a karma of 1
Wolfman2000 ...hold on a second...one of my scripts is acting up.
19:27 cdarroch joined
Wolfman2000 moritz_++: thanks. 19:28
masak: What are your thoughts of sqlite anyway? 19:34
19:34 NorwayGeek_ joined
Wolfman2000 masak: What are your thoughts of sqlite anyway? 19:34
19:34 NorwayGeek_ joined
masak Wolfman2000: that it's what currently works with Web.pm :) 19:35
Wolfman2000 If nothing else, SQLite does seem like a good fallback. But...is it a good primary? 19:36
PerlJam fallback? 19:37
Wolfman2000 ...great: I've angered a fan.
PerlJam not at all
Su-Shee I like sqlite very much. small, fast, convenient. great project.
PerlJam fallback?
Wolfman2000 ...great: I've angered a fan.
PerlJam not at all
Su-Shee I like sqlite very much. small, fast, convenient. great project.
moritz_ Wolfman2000: sqlite is very good, unless you have lots of concurrent accesses 19:38
PerlJam sqlite is great if you need a self-contained RDBMS with a small set of tables with a small amount of data in them. :)
(where you get to pick what "small" means here)
Su-Shee PerlJam: though small is relative relative ;)
Wolfman2000 PerlJam: ...you just answered my question.
moritz_ Wolfman2000: sqlite is very good, unless you have lots of concurrent accesses
PerlJam sqlite is great if you need a self-contained RDBMS with a small set of tables with a small amount of data in them. :)
(where you get to pick what "small" means here)
Su-Shee PerlJam: though small is relative relative ;)
Wolfman2000 PerlJam: ...you just answered my question.
Su-Shee no, he didn't really. 19:39
Wolfman2000 I'm debating chucking the mysql database that I have planned for the Perl 6 Pastebin I'm making and using sqlite instead. It will probably work better with DBIC and Catalyst.
Su-Shee for the average joe web developer and website and minor shops, sqlite would be a great choice.
Wolfman2000 masak: If I run into further trouble, I'll probably find a way to email you the schema I made.
Su-Shee no, he didn't really.
Wolfman2000 I'm debating chucking the mysql database that I have planned for the Perl 6 Pastebin I'm making and using sqlite instead. It will probably work better with DBIC and Catalyst.
Su-Shee for the average joe web developer and website and minor shops, sqlite would be a great choice.
Wolfman2000 masak: If I run into further trouble, I'll probably find a way to email you the schema I made.
Su-Shee: You can't read my mind. 19:40
masak Wolfman2000: oki.
Wolfman2000 Su-Shee: You can't read my mind.
masak Wolfman2000: oki.
Su-Shee Wolfman2000: ah well whatever. use what you want. none of my business anyway. 19:41
19:41 cognominal joined
Su-Shee Wolfman2000: ah well whatever. use what you want. none of my business anyway. 19:41
19:41 cognominal joined
Wolfman2000 Su-Shee: I'm thinking of sqlite. I'm not expecting postgresql to be installed on feather...that, and I probably will need to learn how to work with sqlite at some point anyway. 19:42
19:43 PZt left 19:44 NorwayGeek left, eternaleye left 19:47 spinclad joined, cls_bsd joined, constant joined, sri__ joined, phenny joined, jiing_ joined, hatseflats joined, pugs_svn joined, krunen joined, dukeleto joined, Woodi joined, parduncia joined, frew__ joined, irc.freenode.net sets mode: +vv phenny pugs_svn, envi^home left 19:48 japhb joined, _jaldhar joined, oZ] joined, reid05 joined, pointme joined, barney joined, zaphar_ps joined, xinming joined, jan_ joined, szabgab joined, colomon joined, [particle] joined, PacoLinux joined, Infinoid joined, carlin joined, araujo joined, arthur-_ joined, yath joined, hicx174 joined, Juerd joined, Maddingue joined, omega_ joined, ssm joined, daemon joined, athomason joined, cosimo joined, lambdabot joined, irc.freenode.net sets mode: +ovov japhb pointme Juerd lambdabot, jnthn joined
TimToady wow 19:50
Wolfman2000 TimToady: surprised at the split? 19:52
TimToady just surprised it recovered so well :)
Wolfman2000 TimToady: surprised at the split?
TimToady just surprised it recovered so well :)
dalek ok: 5992bee | masak++ | src/classes-and-objects.pod:
[OO] added answer to the second question
19:53
ok: 5992bee | masak++ | src/classes-and-objects.pod:
[OO] added answer to the second question
19:54 rapacity_ joined, buu_ joined, Tene_ joined, broquaint joined
Juerd Yeah, it recovered very well. Uh-huh. 19:54
phenny Juerd: 17:14Z <Wolfman2000> tell Juerd Sorry to make another request, but mysql is causing too many problems for me. Any chance of installing postgresql, or will I have to adapt to using SQLite instead?
Wolfman2000 Juerd: ignore that request
Juerd Okay 19:55
I'm glad you say that because I have no experience with Pg from a sysadmin perspective.
Wolfman2000 I'm going to try to use sqlite for my Perl 6 Pastebin instead
Juerd Why would pastes even need a database?
Wolfman2000 Catalyst + DBIC + MySQL = *KABOOM*
Juerd: registration, tags, expiring pastes, etc
Juerd It's write-once, then readonly, and typically single id'ed/indexed.
Registration? 19:56
As in user accounts?
Wolfman2000 Yes. It's optional though.
This way, no one else can use wolfman2000 for me
Juerd Hm. Sounds a bit over-designed to be honest :) 19:57
Wolfman2000 Juerd: www.pumpproedits.com <-- I'm capable of it. That was designed using Python, Pylons, and PostgreSQL. Use of peeing three times not intended. Use of the lame joke fully intended. 19:58
TimToady phone 20:00
Su-Shee I like a little syntax highlighting and the possibility to edit the paste, that's it. 20:03
Wolfman2000 Su-Shee: syntax highlighting is planned. editing the paste? Well, it would work best if I implemented user accounts for that. Otherwise, I plan on having a limited form of annotations/paste grouping.
Su-Shee why would I need an account to edit _pastebin-ed_ code?! 20:05
Wolfman2000 Su-Shee: Because I don't like the idea of anonymous people editing other people's pastes.
PerlJam Wolfman2000: who said anything about editting?
Su-Shee I pastebin a problem and juerd - instead of endlessly elaborating - adds a few lines of code - problem solved. 20:06
Wolfman2000 Su-Shee: wait for Google Wave.
PerlJam oh, Su-Shee did
Hmm
Su-Shee I already have google wave.
Wolfman2000 Su-Shee: Well I don't.
Su-Shee and several pastebins support editing.
masak mberends: do you remember your novemer-wiki.org password? 20:07
Wolfman2000 Su-Shee: name one that allows you to edit anyone else's paste
oZ] There's a lot of pooping on ideas here.
mberends masak: yes, shall I broadcast it to the googlesphere? 20:08
PerlJam Wolfman2000: so ... why have accounts at all anyway? Each edit creates a new post.
masak mberends: no; could you try logging in?
oZ] Wolfman2000: You could allow those maintaining the same session to be able to edit the pastes they made without authenticating.
Su-Shee: Why wouldn't you just create a new paste with the updates? 20:09
diakopter oZ]: yeah; several problems apparently there: 1) #perl6 attracts the constipated; 2) #perl6 has a laxative effect; and 3) everyone's ideas in #perl look like toilets. :/
figuratively, of course, for all 3.
Wolfman2000 ...how simple do you guys want a syntax highlighting Perl 6 pastebin? 20:10
This is meant for all of you, after all.
diakopter thought there was one that used the spectests to seed it... 20:11
oZ] diakopter: lol
Su-Shee ah well..
20:11 Su-Shee left
mberends masak: www.november-wiki.org login failed :( 20:11
masak mberends: yes, that's what I'm experiencing too. 20:12
diakopter oZ]: oops. I meant #perl6 in 3), of course... :/
freudian slip.
masak mberends: lichtkind++ discovered that one. and I can't find anything wrong! it's like, the ultimate debugging problem.
mberends: do you have a feather account yet?
mberends masak: yes, but fairly inactive
KyleHa A pastebin should be very simple, like paste.lisp.org. The hardest thing on it should be the capcha.
Wolfman2000 KyleHa: should I include a captcha? 20:13
oZ] But a pastebin used by many users should be able to scale up to protect.
moritz_ not until you need it
oZ] IRC should be simple, but we have Nickservs.
mberends nom &
diakopter likes perl6.pastebin.com
KyleHa If I have to log into it, I won't use it (I can already do that on github).
oZ] moritz: which is why accounts shouldn't be required.
Wolfman2000 KyleHa: You don't have to log into it
Accounts are optional. 20:14
oZ] but available.
Wolfman2000 oZ]: That's my goal.
Accounts are available, but not required.
You can post as anonymous, and you can also claim any name that is not password protected.
KyleHa Wolfman2000: You don't need captcha right off the bat, but it might be good to plan for it.
oZ] Integrating reCaptcha is pretty easypeasy.
Wolfman2000 KyleHa, oZ]: I'll worry about captcha later. 20:15
Right now, I just want...well, a working database. mysql-- sucks.
oZ] Agreed.
Wolfman2000 I'll throw my support to postgresql++ and sqlite++ at this time. 20:16
db2-- seems to cost money, and mssql-- is Microsoft.
oZ] Depending on use, I'll get behind that.
I'll even Oracle++ compared to mysql--.
Wolfman2000 ...then it's official. Time to recreate my tables...using sqlite 20:17
And hope I don't blow it.
PerlJam oZ]: oracle is fat enough already ;)
jnthn fwiw, mssql++ ain't so bad, in my experience.
I'd choose it over mysql.
erm, mysql-- I meant
;-)
oZ] mssql isn't terrible, but the fact that I have to run it on a Windows server combined with the ridiculous DBD play I have to do leaves it behind. :) 20:18
Wolfman2000 ...if I was allowed to set the topic, I would make it say "UTF-8 is our friend! mysql-- is our enemy!"
masak hugme: hug Wolfman2000 20:19
hugme hugs Wolfman2000
Wolfman2000 hugme++; masak++;
...hugme is a female bot, right?
jnthn oZ]: Aye. I've never chosen to use it in a project, I've just inherited a couple that did, and that already had other choices tying them to Windows anyway.
masak Wolfman2000: it has bot gender.
Wolfman2000 ...
jnthn neuter? :-)
Wolfman2000 ...at least it's not male. 20:20
masak no, that's a fourth one. :)
moritz_ it has the appropriate gender, whatever that might be for you
masak make, female, neuter and bot.
s/k/l/
sheesh, don't they teach you anything in grammar class these days? :P
Wolfman2000 masak: reminder needed. Does sqlite enforce NOT NULL? 20:21
masak Wolfman2000: you seem to assume that I know anything about sqlite... :) 20:22
Wolfman2000 masak: well, you're using it
masak I just wrote a simple wrapper for it.
PerlJam Wolfman2000: I use it too, but I still lookup stuff on the web about it.
Wolfman2000 PerlJam: fair enough 20:26
Juerd Editing a paste? That's weird. 20:27
Wolfman2000 Juerd++: Thank you. 20:28
Juerd It's no longer a paste service then. It's just text file hosting.
PerlJam A wiki! :)
masak it could be as simple as 'this paste has been copied and the modified version is at <link>' 20:29
moritz_ that's quite usual
s/usual/common/
20:32 jsut|work joined, ShaneC joined 20:40 donaldh joined, diakopter joined 20:42 PZt joined 20:49 zamolxes joined
quietfanatic Currently 21:02
Currently Gamebase has a rather large memory leak, to the tune of 14m per second
21:03 fax joined
masak ouch. 21:03
jnthn epic leak. :-|
.oO( at least Rakudo does *something* fast... )
oZ] lol. 21:04
quietfanatic jnthn: :)
21:04 fax joined
quietfanatic It's possible my SDL wrapper is being a little sloppy with UnManagedStructs but not that sloppy. 21:04
jnthn quietfanatic: Well, perl6 -e "while 1 { }" leaks too. :-| 21:05
jnthn ponders
quietfanatic Bout the same speed 21:06
jnthn Yeah
That's good news and bad news.
(e.g. it means there's a small-ish test case that can provoke the leak.)
It's doing it in ng too. 21:08
21:10 Anon8398 joined
jnthn quietfanatic: Whoa. If you want to see something leaking really really fast... 21:14
.sub 'main'
lab:
'foo'()
goto lab
.end 21:15
.sub 'foo'
.end
quietfanatic Oh really?
jnthn That leaks at about tens of megs a second for me.
quietfanatic I only did a loop in one sub
jnthn No Perl 6 runtime, just a Parrot loop.
Juerd Memory is practically free nowadays, so don't bother :D
jnthn So basically, every single sub invocation in Parrot, it seems, leaks.
That. Sucks. 21:16
21:16 jan_ joined
quietfanatic Yes, it's like 60m per second for me 21:16
jnthn I get about 50m or so here.
21:17 lithos joined
jnthn ...not that it's a "who can leak fastest" competition. :-) 21:17
quietfanatic What is a sub call doing allocating memory, anyway? Unless it's for the stack or something 21:18
lithos hello, perl6 community! o/
jnthn lithos: hi! :-)
quietfanatic hello, lithos
jnthn quietfanatic: It'd allocate a call frame, but those are meant to be garbage collectable. 21:19
masak oh hai, lithos!
lithos I've been following perl6 development for quite a long time. I'd like to help, too
moritz_ cool
masak \\o/ 21:20
moritz_ what would you like to do?
write tests? documentation? a book? compiler?
masak applications?
moritz_ make cool websites? write Perl 6 libraries or applications?
jaffa4 a book
masak submit triage RT tickets?
jaffa4 Will you publish it?
quietfanatic Play with a game engine?
jaffa4 what game engine? 21:21
quietfanatic Gamebase
lithos the thing is, I'd like to do something that does not involve copyright issues
quietfanatic github.com/quietfanatic/gamebase
moritz_ jaffa4: no, we just write it to delete it afterwards
masak hugme: hug moritz_
hugme hugs moritz_
masak jaffa4: it's being published around April, when Rakudo Star lands. 21:22
quietfanatic (though this memory leak makes it unable to run more than 15 seconds or so right now). :|
jnthn quietfanatic: Is this a new problem?
masak quietfanatic: depends how much RAM you have. :P
quietfanatic I don't know
lithos so I thought about helping with testing and debugging
jnthn quietfanatic: That is, you're not really seen it before?
OK.
masak lithos: sounds excellent!
quietfanatic jnthn: I don't know, I haven't been checking recently
jnthn quietfanatic: OK. 21:23
Guess we could always file Parrot bug.
quietfanatic jnthn: I do know that it's in the last month or so
21:23 goneri joined
masak lithos: have you seen the spectests yet? 21:23
lithos yes
masak good. do you feel up to writing some?
jnthn quietfanatic: Yeah. Probably worth reporting, if it hasn't already been.
quietfanatic: I can, or you can...I don't mind. :-) 21:24
quietfanatic jnthn: where do I report parrot bugs?
jnthn quietfanatic: trac.parrot.org I believe.
quietfanatic: gist.github.com/232313 # for easier copy-paste to teh ticket
quietfanatic jnthn: okay
diakopter quietfanatic: 'course, there's no link to add a bug ticket 21:25
lithos yes, I think. depends on the area of testing
jnthn Oh, I think you ahve to makean account and log in. :-|
lithos masak: do spectests need any kind of copyright assignment? (i ask because my employment contract is nasty in this regard) 21:26
quietfanatic diakopter: if you log in there is
masak lithos: good question. 21:27
no, I don't think so.
making Rakudo commits does, but not committing to the Pugs repo.
Juerd lithos: Well, it would hurt the project immensely if your employer would start to claim copyright on your work. 21:28
masak jnthn: is there any way, from within Rakudo, to force a Str to be coded in utf-8?
[particle] i'm guessing if tpf is officially blessing the spec and the spectests as the definition of Perl 6, they'll want copyright
quietfanatic jnthn: Parrot version would be trunk if I --gen-parrot'ed it, right? 21:29
moritz_ lithos: no copyright assignment necessary, but the test suite is Artistic License 2
[particle] and will release with Artistic 2
masak [particle]: I wonder if that's possible.
Juerd lithos: See www.perlmonks.org/?node=Professiona...for%20Hire
[particle] i wonder, too
moritz_ lithos: so you need to be allowed to publish things under AL2
Juerd It depends on your contract whether this does or doesn't affect you.
jnthn masak: Good question.
21:29 xenoterracide left
jnthn masak: I thought those things were Buf-ish concenrs? 21:30
*concerns?
21:30 tylerni7 joined
masak jnthn: I think I have a situation where I have non-utf8-Strs coming in and making a Parrot-based library confused. 21:30
lithos takes a look
jnthn quietfanatic: We're not quite on trunk, but close.
quietfanatic: See build/PARROT_REVISION
masak jnthn: you mean HEAD, not trunk. 21:31
quietfanatic jnthn: okay
jnthn masak: I didn't say trunk was a version. :-P
masak: but yes, I did. :-)
masak: Hmm...that's an...interesting...situation. :-|
masak: Which Parrot library?
And what makes you think that's the problem?
masak jnthn: hold on, I'll paste a URL to the logs where I already describe the symptoms. 21:32
jnthn k
masak jnthn: irclog.perlgeek.de/november-wiki/20...#i_1717654
so, &digest is a wrapper to a Parrot lib. 21:33
jnthn masak: And you're getting the wrong data from...? 21:35
Sorry
I meant where is it you're reading the stuff that gets bad results from digest from?
masak jnthn: I only get wrong results when pulling in data from $*IN, via November.pm.
jnthn If you "say" the data, does it look OK? 21:36
(that is, the thing you feed to digest)?
lithos Juerd, that article describes my situation well. does this mean i cannot contribute anything without making the project vulnerable? :( 21:37
masak jnthn: yes.
it looks identical.
same length, too.
haven't tried printing the number of bytes, though. will do that now. 21:38
jnthn masak: (horrible though) does a .split('').join('') give back a string that works out any better? :-/
21:39 xenoterracide joined
masak jnthn: so far, I've only tried concatenating it with the empty string. will try your variant too. hold on. 21:39
moritz_ what does .PARROT tell you about the string?
jnthn Oh, that's a good point too.
masak that also shows no differences.
jnthn masak: Was that to me or moritz++? 21:40
masak to moritz_.
.bytes also shows no differences. :/
phenny masak: 'also shows no differences. :/'
masak phenny: oh, don't you start, too.
moritz_ wtf?
jnthn .wtf 21:41
.wtf huh :/
masak Fifth Law of Bots: There are no good bots.
moritz_ hugme: hug masak
hugme hugs masak and blushes
jnthn .thingy does nothing :/
masak hugme++
jnthn .bytes triggers it?
phenny jnthn: 'triggers it?'
jnthn .chars too mabye?
21:41 japhb joined
jnthn ...erm. :-/ 21:41
moritz_ .bytes möp 21:42
phenny moritz_: 'm\\xc3\\xb6p'
jnthn Wow. 21:43
masak jnthn: your scary suggestion... worked.
jnthn: now I have something to blog about today. :)
moritz_ .bytes bold
phenny moritz_: '\\x02bold\\x02'
masak jnthn++
jnthn masak: OK...that's...odd 21:44
masak: curious. did you try "" ~ $str and $str ~ "" ?
e.g. both of them?
masak jnthn: no, only the former.
jnthn ok
masak I wish I had a small test case for this. 21:45
jnthn would hope that wouldn't make a difference, but... :-|
masak: Yeah. :-S
masak right now, all I have is November.
jnthn It seems like something that's going to cause pain elsewhere.
masak jnthn++ jnthn++ jnthn++ # couple more karma for fixing this
jnthn masak: Huh, I didn't fix anything. :-P 21:46
masak I mean the temporary fix.
jnthn Ah
masak now people can log in again.
jnthn :-)
\\o/
jnthn gradually pieces parametric roles back together.
moritz_ let me introduce you to a German-English mixed word: "Würgaround" - it's like a work-around, but "würgen" means to choke or to suffocate 21:48
masak moritz_: very nice.
I will treasure this word.
jnthn Nice! :-) 21:49
cotto_work needs to hang out in #perl6 more often
masak everyone needs to hang out in #perl6 more often :) 21:50
diakopter wants a 17 Mingabit hard disk 21:54
or the new 2 Lumabit one 21:58
jnthn nqp: say(2*8192)
p6eval nqp: 16384␤
jnthn worrevaminga 21:59
</geordie_slang>
22:01 lmc joined 22:09 Whiteknight joined
masak jnthn: here's a smaller example of where it goes wrong. gist.github.com/232360 22:16
jnthn: only requires CGI.pm and Digest.pm from the November repo. 22:17
22:17 synth joined
jnthn pmichaud: The wonderful "default from outer" flag is implemented, pushed and activated for implicit $_. :-) 22:18
pmichaud jnthn++ \\o/
jnthn pmichaud: It was easy, once I remembered to do it. :-)
pmichaud I feel much better about that -- thanks.
jnthn np
pmichaud having a bunch of "grab $_ from outer" subs kinda bugged me. 22:19
jnthn Yeah.
Woulda been slow too.
pmichaud okay, so we now have even better pointy subs. If someone wants to implement "given", it should be really simple now. :-)
jnthn looks around for mathw 22:20
pmichaud hint: get $<xblock>.ast
jnthn Well, I guess I could always jfdi too. :-)
pmichaud swap the 0 and 1 elements
22:20 Chillance joined
pmichaud change the pasttype to 'call' 22:20
profit.
jnthn leaves someone else to have a chance 22:21
I'll do it tomorrow if nobody claims it first. :-)
I think my latest refactor of roles sucks less than all my previous ones.
moritz_ reminds people get t/00-parrot/10-regex.t passing
or formulated differently, I want those freakin' awesome regexes in my Perl 6 ;-)
jnthn looks at Mr Regex Guy :-) 22:22
pmichaud looks around for Mr Regex Guy and doesn't see him.
masak here I am! :)
jnthn hands masak a mirror
gah
s/masak/pmichaud/
...that was a great tab complete fail...
moritz_ wow, we have a new regex overlord! 22:23
masak jnthn: classic Freudian slip. :)
pmichaud suuuuure, blame the tab key.
I, for one, welcome our new regex overlords.
diakopter read that as 'overloads'
moritz_ pmichaud: I'm sure jnthn wanted to type 'pm<tab>', and accidentally missed the 'p' ;-)
Juerd 22:48 <@moritz_> let me introduce you to a German-English mixed word: "Würgaround" - it's like a work-around, but "würgen" means to choke or to suffocate
Or you could say wurgaround, which would be the Dutch-English mixed word, and easier to type
moritz_ Juerd: now that's cheating ;-) 22:24
Juerd Full legacy character encoding compatibility!
jnthn Juerd: Yes, but does it involve choking?
masak is with Juerd on this one
Juerd jnthn: Yes, same meaning
jnthn is sold
masak Dutch++
jnthn Dutch++ indeed.
Juerd Slightly different pronunciation. As a matter of fact, it sounds a little more like you're being strangled.
gggggggggggggggg :)
diakopter ++Afrikaans 22:25
erm
moritz_ doesn't most dutch sounds a bit strangled? *SCNR*
jnthn Juerd: Well, good job I only have to type it.
Juerd: A couple of half-Dutch girls spent immense amounts of time trying to get me able to make that ggggggggggg noise. And failed. :-)
22:25 justatheory joined
Juerd Awh :) 22:26
moritz_ doesn't want to know all the details
diakopter jnthn: hmm. did they still make you pay them?
jnthn ...
22:26 jaffa8 joined
jnthn ...it was actually a completely innocent linguistic exercise. 22:26
:-P
Juerd diakopter: rotflol 22:27
I can only wonder how that mind of yours works :)
Juerd did awful html/css work. 22:28
And now I have to test it in MSIE, but I'm scared.
jnthn You did it awful, so it'll probably work fine. ;-) 22:29
Juerd It's awful because the design requires awful techniques
I had to script some HTML generating thing to build one part of the layout 22:30
jnthn <table>? ;-)
Eww.
Juerd Almost
juerd.nl/floater is an example of what that script does.
jnthn Yeah, I find that whole area quite horrible.
.oO( do I really want to click that link? )
Juerd Sure. I'm not convinced you want to see the source though 22:31
jnthn It was the use of "floater" :-)
oh win, the script is called that too. :-D
Juerd Does that mean something else, besides something that floats?
jnthn Erm, well, yes. :-) 22:32
Juerd Uh oh
moritz_ oh, that's *really* scary
jnthn Full marks on the script though. :-) 22:33
Juerd jnthn: ...what does it mean? :)
jnthn Juerd: I'm trying to think of a nice way to say this, but failing.
Juerd (Uh oh)**2
jnthn Juerd: It's when somebody has a poop, and then doesn't flush. They're said to have "left a floater". :-) 22:34
Juerd Hahaha
Right.
That's still something that floats though :)
jnthn I'm not sure how, erm, Yorkshire-specific this is. :-)
Juerd Does this happen a lot in Yorkshire? 22:35
I think I've never seen it happen...
Oh, may be because of Dutch toilets - duh.
masak Juerd: no flush? :) 22:36
*scnr*
zaslon lolmasakhazblogged! masak++ 'November 11 2009 -- nobody said it was going to be easy': use.perl.org/~masak/journal/39884?from=rss
masak well, no-one did.
Juerd masak: They flush alright
masak Juerd: industry-strength flush?
Juerd Poop falls onto a, well, let's call it a shelf. 22:37
You can actually examine (and smell) it before you flush.
jnthn Juerd: I wouldn't say a lot, but enough to have engrained that meaning in my head forevermore...
...what have I started...
masak Juerd: ah, so floaters are hardly possible. 22:38
Juerd masak: Well, you could easily get them but it requires, er, a good aim.
masak now comes the interesting Sapir-Whorf question: did the construction of the toilets affect language, or the other way around? :)
Juerd Hah 22:39
jnthn lol :-)
masak see? you can turn even scatology into linguistics!
Juerd scatology? Is that a word?
masak 'fraid so.
jnthn is intimated by masak's enormous vocabularly 22:40
gah
intimidated
Juerd It resembles schijt (which is Dutch for shit)
jnthn *sigh*
masak jnthn: 'intimated' is a word, too :)
jnthn masak: Yes, and it *so* wasn't the one I wanted.
masak :) 22:41
jnthn Juerd: Yay! My first Dutch swear word.
Soon my Dutch vocab will be on a par with my Swedish. ;)
Juerd jnthn: It contains the Dutch hard g though, so you can't pronounce it :D
jnthn Oh crap.
Juerd Some dialects pronounce the ch as k 22:42
Then schijt becomes like skite.
japhb NQP users: When I need to bind an empty array to a hash element in NQP, I've come up with two ways: 1. '%foo<bar> = my @empty;' which unfortunately is prone to error if you try it twice in the same scope and forget to use a different name for @empty, or 2) '%foo<bar> = {my @empty}();' which fixes the naming problem, but is even uglier than #1. Any better ideas?
jnthn That sounds a tad easier. :-)
masak jnthn: don't worry, I'll teach you the Dutch 'g' in Latvia.
japhb: a sub? 22:43
jnthn japhb: sub make_me_an_empty() { my @empty; @empty }
masak is faster o/
jnthn is exampler o/
japhb masak, jnthn: That's what I *used* to have, and what I was trying to get rid of. ;-)
pmichaud japhb: what would you like it to be?
masak japhb: don't get rid of it! it's great! 22:44
japhb pmichaud, []
pmichaud japhb: how abut %foo<bar> := () ?
or that
japhb either!
pmichaud I can make those happen.
jnthn my @a = pir::split('') # ;-)
er, := of course :-)
pmichaud nqp: say(());
p6eval nqp: Confused at line 1, near "say(());"␤current instr.: 'parrot;HLL;Grammar;panic' pc 448 (src/cheats/hll-grammar.pir:197)␤
japhb pmichaud, the problem is that %foo<bar> := (1,2); works, as does := (1,) ... but not := ();
pmichaud okay. Will fix when I get back tonight.
jnthn pmichaud: I'd find it quite useful too. 22:45
pmichaud hmmm, I wonder
nqp: say(<>);
p6eval nqp: ␤
pmichaud nqp: say(<>.elems);
p6eval nqp: Method 'elems' not found for invocant of class 'String'␤current instr.: '_block11' pc 0 (EVAL_1:6)␤
jnthn aww
pmichaud nqp: say(pir::elements(<>));
p6eval nqp: 0␤
pmichaud ftw
japhb So := (<>) then?
pmichaud nqp: my %h; %h<a> := <>; say(pir::elements(%h<a>)); 22:46
p6eval nqp: 0␤
pmichaud <> works for now :-)
but yes, () should work also
jnthn rakudo: say <>.WHAT
p6eval rakudo 50e495: List()␤
pmichaud rakudo ftw
jnthn nqp: say(<>.WHAT)
p6eval nqp: Method 'WHAT' not found for invocant of class 'String'␤current instr.: '_block11' pc 0 (EVAL_1:6)␤
pmichaud ...string?
jnthn The String there confuses me. 22:47
pmichaud hmmm. fail.
japhb pmichaud, yeah, that's suboptimal
jnthn pmichaud: It said it above for .elems too
pmichaud right, it should be ResizablePMCArray
jnthn pmichaud: Right.
pmichaud elements on a string returns the number of characters in Parrot
jnthn Oh.
Fail.
pmichaud Fail.
pmichaud hangs his head.
jnthn hugme: hug pmichaud
hugme hugs pmichaud
pmichaud I'll see about fixing it tonight.
japhb I'm constantly falling over ("foo",) is a list, but ("foo") is a string, which will happily be treated as a container if you try to iterate it! 22:48
pmichaud I'll get () to work
diakopter nqp: say(< 11>[2])
p6eval nqp: 1␤
pmichaud I take little responsibility for Parrot's builtin PMC semantics.
japhb pmichaud, Oh, not blaming you. Just saying it's *really* easy to trip over that one.
pmichaud I'm still trying to figure out exactly how I want @(...) and %(...) to work in the general case 22:49
anyway, the answer should be (). and maybe {} can create an empty hash. 22:50
diakopter nqp: say(<<<<h>>>>[0])
p6eval nqp: h␤
diakopter fires up the fuzzer
jnthn pmichaud: We could get rid of loads of Q:PIR in Actions.pm with that.
pmichaud jnthn: then we shall do it.
japhb pmichaud, masak: FWIW, instead of make_me_an_empty(), I actually have as_array(), which was just a PIR function to slurp up the args and return the slurped array. 22:51
jnthn \\o/
pmichaud okay, gotta take kid to soccer practice. bbiah or so
jnthn kk
japhb pmichaud, thanks
pmichaud japhb: fwiw, my evening tonight is likely to be nqp stuff, including placing nqp into parrot repo. 22:52
(gone)
japhb YAY!
pmichaud++ # For when he gets back. :-)
Juerd diakopter: What's a fuzzer? 22:56
It sounds a bit like phaser.
But... fuzzier.
jnthn Ooh. Anonymous roles should work in ng too. :-) 22:57
Juerd Oh. Turns out this is one of those things that you should search for with normal Google instead of Google Images :)
Juerd kills time reading what people say about Dutch toilets. It's hilarious :) 22:58
diakopter Juerd: short for fuzz-tester 22:59
can use a parser's or compiler's input grammar to generate bad (or good!) inputs... 23:00
moritz_ or uses an existing valid input and mutates it randomly 23:01
jnthn or you can just give it to diakopter
The Human Fuzzer
:-)
23:02 mubot joined, scion joined
diakopter hugme: hug it more 23:02
hugme hugs it
23:03 payload joined
quietfanatic huh 23:07
masak jnthn: gist.github.com/232360 -- voila
masak submits rakudobug 23:08
jnthn masak: ewww 23:09
masak++ # very nicely golfed
masak my pleasure.
quietfanatic Now I'm getting a "invoke() not implemented in class 'ResizablePMCArray'" the second time I use the overloaded trait_mod:<is> but not the first...
moritz_ rakudo: say 'user_name=carl'.split("=")[1].PARROT 23:10
p6eval rakudo 50e495: String␤
moritz_ rakudo: say 'carl'.PARROT
p6eval rakudo 50e495: Str␤
moritz_ there you go.
masak moritz_: d'oh!
moritz_: I didn't get that in my method. 23:11
could the String have been wrapped in a Str or something?
masak adds moritz_'s discovery to the ticket
moritz_ rakudo: say 'user_name=carl'.split("=")[1].trans(['c'] => ['C'])
p6eval rakudo 50e495: too few positional arguments: 2 passed, 3 (or more) expected␤in Main (file <unknown>, line <unknown>)␤
moritz_ rakudo: say 'carl'.trans(['c'] => ['C'])
p6eval rakudo 50e495: Carl␤
moritz_ masak: t/spec/integration/real-strings.t is full of similar tests 23:12
.trans happens to be a good method to test that because it's present both in parrot and rakudo, but uses a different call syntax
masak nod.
moritz_ and we already have a test case of $str.split(Regex)
masak I should have thought of the .trans test for my strings. 23:13
so... all evening, I've been chasing a known bug. :/ 23:14
moritz_ this particular instance was not known.
masak no?
masak gets hopeful again
moritz_ I don't understand that 23:17
masak ah. time to sleep, I believe. 23:18
moritz_ Any.split(Any), which is the case that Str.split(Str) handles, just uses .substr to under extract the pieces
rakudo: say 'carl'.substr(0, 2).PARROT
p6eval rakudo 50e495: String␤
moritz_ oh.
masak :)
moritz_ so that's to blame. 23:19
masak it's a wonder any programs using strings work at all!
moritz_ aye
masak 'night
moritz_ that's probably we extract so often with regexes
good night
jnthn night masak
23:19 masak left
Wolfman2000 ...if I'm lucky, I'll finally be able to relax a little. SQLite work later tonight for the pastebin. 23:20
moritz_ epic 23:23
diakopter rakudo: say (~('carl'.substr(0, 2))).PARROT
p6eval rakudo 50e495: Str␤
diakopter rakudo: say (~('carl'.substr(0, 2)))
p6eval rakudo 50e495: ca␤
diakopter hee hee
moritz_ I just tried to change substr to return a PMC instead of string register
diakopter a fix 23:24
moritz_ Null PMC access in set_string_native()
whiel compiling
while compiling the setting
I don't even want to know what happens if I move it to the setting 23:26
jnthn moritz_: You may need to instantiate the pMC first 23:28
moritz_: nopaste the diff?
moritz_ $P0 = $S1
return($P0)
instead of
return($S1)
would $P0 = box $S1
help?
jnthn no 23:29
$P0 = new ['Str'] 23:30
$P0 = $s1
*S1
.return ($P0)
Try that.
moritz_ will do
23:35 oZ] left 23:37 xomas joined
mberends reads the latest masakblog, presses F5 on www.november-wiki.org/in, and gets "You got in!" WOOT! 23:40
moritz_ closes the bug that prevented november from working without that ugly workaround 23:42
23:42 explorer joined
moritz_ RT #70415 23:42
my spectest didn't finish yet, but I'm rather confident that it won't turn up any new nastinesses
jnthn moritz_: Excellent. :-) 23:45
mathw evening 23:54
mberends evening mathw, 5 minutes before UTC-morning :) 23:55
mathw yes 23:56
however I just got in
so it's still evening for me
jnthn hi mathw :-)
mathw I just validated all the money I ever spent on singing lessons 23:57
moritz_ mathw: do tell ;-)
mathw sang at a charity gig with the band from work
it went down really well 23:58
loads of people came
and bought raffle tickets
think the raffle raised about £750
there was lots of dancing and singing along
and applause, which we performers do like to hear :)
moritz_ cool
mberends mathw++ # IRC applause
mathw So I'm buzzing
my singing teacher even came along 23:59
jnthn mathw++ # cool! :-)
mathw and seemed to have a lovely time
she was dancing and singing along and getting rather drunk