»ö« | 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 wolfe.freenode.net on 30 October 2009. |
|||
00:00
payload joined
00:03
lest_away is now known as lestrrat
|
|||
Juerd | Wolfman2000: Er, everyone can read ~juerd/apache - I don't see what the problem is. | 00:06 | |
Wolfman2000: And don't worry about those sudo reports. It's a standard feature and I usually don't read them anyway. | 00:07 | ||
00:08
mubot left
00:09
mubot joined
|
|||
carlin | mubot: unlink moritz_ | 00:10 | |
mubot | Sorry, I don't understand that command | ||
carlin | Oh yes you do | ||
00:12
mubot left
|
|||
jnthn | .oO( pantomime bot ) |
00:12 | |
00:12
mubot joined
|
|||
carlin | mubot: unlink moritz_ | 00:12 | |
mubot | moritz_ is no longer an alias of moritz | ||
jnthn | \o/ | 00:13 | |
carlin | mubot: karma moritz_ | ||
mubot | moritz_ has a karma of 5 | ||
carlin | mubot: karma moritz | ||
mubot | moritz has a karma of 2 | ||
carlin | mubot: link moritz moritz_ | ||
mubot | moritz is an alias of moritz_ and can not be set as a master nick | ||
00:14
Lorn joined
|
|||
carlin | What a mess | 00:14 | |
mubot: unlink moritz | 00:15 | ||
mubot | moritz is no longer an alias of moritz_ | ||
carlin | mubot: karma moritz | ||
mubot | moritz has a karma of 2 | ||
carlin | mubot: karma moritz_ | ||
mubot | moritz_ has a karma of 5 | ||
carlin | mubot: link moritz moritz_ | ||
mubot | moritz_ is now an alias for moritz (moritz will gain any karma given to moritz_) | ||
carlin | mubot: karma moritz_ | ||
mubot | moritz has a karma of 7 | ||
carlin | That's better | ||
diakopter | mubot: link moritz moritz_++ | 00:17 | |
mubot | moritz_++ is now an alias for moritz (moritz will gain any karma given to moritz_++) | ||
diakopter | karma moritz | ||
mubot: karma moritz | |||
mubot | moritz has a karma of 7 | ||
diakopter | moritz++ | ||
mubot: karma moritz | |||
mubot | moritz has a karma of 8 | ||
00:18
gfx joined
|
|||
diakopter | moritz++++ | 00:18 | |
mubot: karma moritz | |||
mubot | moritz has a karma of 9 | ||
jnthn | mubot: karma jnthn | ||
mubot | jnthn has a karma of 1 | ||
diakopter | heh | ||
jnthn | aww | ||
diakopter | jnthn+=532642 | ||
jnthn | :D | ||
mubot: karma jnthn | |||
mubot | jnthn has a karma of 1 | ||
jnthn | mubot: karma jnthn++ | ||
mubot | jnthn++ is of an unknown quantity | ||
jnthn | aww | ||
diakopter | mubot: karma jnthn | ||
mubot | jnthn has a karma of 1 | ||
jnthn | Yeah | 00:19 | |
Was a nice try though :-) | |||
diakopter | ++jnthn | ||
mubot: karma jnthn | |||
mubot | jnthn has a karma of 2 | ||
diakopter | ooo | ||
jnthn | oh! prefix karma! | ||
diakopter | that's what she said! | ||
I mean.. | |||
jnthn | lol | ||
carlin | (Jonathan Worthington)++ | 00:20 | |
mubot: karma Jonathan Worthington | |||
mubot | Jonathan Worthington has a karma of 1 | ||
diakopter | mubot: karma (jnthn) | ||
mubot | (jnthn) is of an unknown quantity | ||
diakopter | (jnthn)++ | ||
mubot: karma jnthn | |||
mubot | jnthn has a karma of 3 | ||
jnthn | ((jnthn))++ | ||
diakopter | ((jnthn))++ | ||
hey | |||
jnthn | mubot: karma (jnthn) | 00:21 | |
diakopter | mubot: karma jnthn | ||
mubot | jnthn has a karma of 3 | ||
(jnthn) is of an unknown quantity | |||
diakopter | (jnthn))++ | ||
mubot: karma jnthn | |||
jnthn | irregular language fail :-) | ||
mubot | jnthn has a karma of 3 | ||
diakopter | ((jnthn)++ | ||
mubot: karma jnthn | |||
mubot | jnthn has a karma of 4 | ||
diakopter | ((jnthn)++) | ||
mubot: karma jnthn | |||
mubot | jnthn has a karma of 5 | ||
diakopter | jnthn+++ | 00:22 | |
mubot: karma jnthn | |||
mubot | jnthn has a karma of 6 | ||
diakopter | heh | ||
jnthn is glad to be the test case | |||
diakopter | /topic Bring Your Own Bot. Free input parser fuzzing. | ||
carlin | jnthn: Do you want me to test purge now? | 00:23 | |
;-) | |||
jnthn | carlin: Yes, but it's somebody else's turn now. | ||
carlin | mubot: karma C | ||
jnthn | I shouldn't be getting this much attention. | ||
mubot | C has a karma of 2 | ||
carlin | mubot: purge C | ||
mubot | C's karma has been reset | ||
carlin | mubot: karma C | ||
mubot | C is of an unknown quantity | ||
jnthn | C-- | ||
carlin | I need to change the 0 karma error | 00:24 | |
mubot: karma C | |||
mubot | C has a karma of -1 | ||
diakopter | ()-- | ||
mubot: karma () | |||
mubot | () is of an unknown quantity | ||
jnthn | mubot: karma | ||
mubot | has a karma of -1 | ||
jnthn | lol | ||
diakopter | mubot: karma ( ) | ||
mubot | ( ) is of an unknown quantity | ||
diakopter | mubot: karma ' ' | ||
mubot | ' ' is of an unknown quantity | ||
diakopter | ( )++ | ||
jnthn | ( )++ | ||
diakopter | mubot: karma ' ' | ||
mubot | ' ' is of an unknown quantity | ||
diakopter | mubot: karma ( ) | 00:25 | |
mubot | ( ) is of an unknown quantity | ||
jnthn | mubot: karma | ||
diakopter | mubot: karma | ||
mubot | has a karma of 1 | ||
diakopter | mubot: karma | ||
mubot | has a karma of 1 | ||
carlin | mubot: karma | ||
mubot | walking barefoot through a construction site: 1 | moritz: 9 | mj41: 1 | masak: 5 | jnthn): 3 | jnthn: 6 | carlin: 7 | Wolfman2000: 1 | Tene: 1 | KyleHa: 9 | Jonathan Worthington: 1 | | ||
00:25
REPLeffect_ left
|
|||
diakopter | diakopter--++ | 00:25 | |
mubot: karma diakopter | |||
mubot | diakopter is of an unknown quantity | ||
diakopter | diakopter-- | ||
mubot: karma diakopter | |||
mubot | diakopter has a karma of -1 | ||
diakopter | --diakopter++ | 00:26 | |
mubot: karma diakopter | |||
mubot | diakopter has a karma of 0 | ||
diakopter | ++diakopter-- | ||
mubot: karma diakopter | |||
mubot | diakopter has a karma of 1 | ||
diakopter | increment beats decrement | ||
jnthn | Heh, I like. | ||
It always tries to see the good side. :-) | |||
Optimist bot. | |||
diakopter | mubot: karma (hi)(hihi) | 00:28 | |
mubot | (hi)(hihi) is of an unknown quantity | ||
diakopter | (hi)(hihi)++ | ||
mubot: karma (hi)(hihi) | |||
mubot | (hi)(hihi) is of an unknown quantity | ||
diakopter | different patterns | ||
carlin | mubot: karma hihi | 00:29 | |
mubot | hihi is of an unknown quantity | ||
diakopter | well, maybe | ||
mubot: karma (hihi) | |||
mubot | (hihi) is of an unknown quantity | ||
diakopter | mubot: karma hi)(hihi) | ||
mubot | hi)(hihi) is of an unknown quantity | ||
diakopter | mubot: karma )(hihi) | ||
00:29
ihrd joined
|
|||
mubot | )(hihi) is of an unknown quantity | 00:29 | |
diakopter | mubot: karma hihi) | ||
mubot | hihi) is of an unknown quantity | ||
diakopter | weird | ||
jnthn | I think we may have fuzzed enough by now. :-) | ||
diakopter | mubot: karma ) | 00:30 | |
mubot | ) is of an unknown quantity | ||
diakopter | ok | ||
carlin | mubot: karma hi)(hihi | ||
jnthn distracts diakopter with std | |||
mubot | hi)(hihi has a karma of 1 | ||
diakopter | ohhh | ||
carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ carlin++ | |||
carlin | .oO( Being able to see the karma.log file helps ) |
||
diakopter | mubot: karma carlin | ||
mubot | carlin has a karma of 8 | ||
carlin | Yeah... | 00:31 | |
I wonder how I could make that work | |||
diakopter | carlin++ \n carlin++ | ||
mubot: karma carlin | |||
mubot | carlin has a karma of 9 | ||
diakopter | :) | ||
mubot: karma $ENV{PATH} | |||
mubot | $ENV{PATH} is of an unknown quantity | ||
diakopter | :) | 00:32 | |
diakopter is finally distracted by std | |||
00:33
orafu left,
orafu joined
|
|||
diakopter | rakudo: &.say | 00:35 | |
p6eval | rakudo 5e05b8: OUTPUT«Lexical 'self' not foundin Main (file src/gen_setting.pm, line 324)» | ||
diakopter | rakudo: (*.say)(88) | 00:36 | |
p6eval | rakudo 5e05b8: OUTPUT«88» | ||
diakopter | why would ( ) create a block there | ||
jnthn | It doesn't. | 00:42 | |
* does | |||
diakopter | yeah but I'd expect the block to be { (*.say)(88) } | ||
jnthn | ? | 00:43 | |
No | |||
*.say becomes { .say } | |||
{ .say }(88) invokes it. | |||
diakopter | but those are parens | ||
00:44
nihiliad joined
|
|||
diakopter | rakudo: { (say *) }(89) | 00:44 | |
p6eval | rakudo 5e05b8: OUTPUT«!whatever_closure» | ||
diakopter | urgh, gurgle, snort | ||
jnthn | ...not quite sure what that did... | 00:45 | |
diakopter | see!??!??!??!!!!!! :) | ||
jnthn | Either way, while I could maybe argue that *.foo(...) would make a closure like { $_.foo(...) } | ||
I have a harder time seeing that (*.foo)(...) would be the same thing. | |||
I'd find it quite surprising if they were. | 00:46 | ||
diakopter | rakudo: {$a = *()($a)}(my $a = sub { $a($a) })($a) | 00:48 | |
p6eval | rakudo 5e05b8: OUTPUT«Method 'postcircumfix:( )' not found for invocant of class 'Perl6Sub'in Main (file src/gen_setting.pm, line 324)» | ||
diakopter | uhm | 00:49 | |
diakopter cries a little | |||
00:58
SmokeMachine joined
00:59
fax left
01:01
SmokeMachine left
|
|||
zaslon | loljnthnhazblogged! jnthn++ 'Relaying the metamodel foundations': use.perl.org/~JonathanWorthington/j...4?from=rss | 01:01 | |
01:11
gfx left
|
|||
carlin | :wq | 01:36 | |
hugme hugs carlin, good vi(m) user! | |||
carlin | Heh | ||
carlin was looking at hugme's source | |||
01:37
SmokeMachine joined,
Whiteknight left,
nihiliad left
01:42
nihiliad joined
01:44
pdcawley left
01:46
markmont joined
01:47
pdcawley joined
|
|||
sjohnson | <--- vim ninja | 01:58 | |
02:02
stephenlb left
02:16
estrai left,
eternaleye joined
02:20
NorwayGeek left
02:35
cdarroch left
02:39
pnate left
02:40
pnate joined,
gfx joined
02:47
markmont left
|
|||
dukeleto | who wants a commit bit to the parrot mirror on github ? so that y'all can create topic branches and such | 02:54 | |
this is an un-official automagically updated personal mirror. no CLA required :) | 02:55 | ||
03:00
payload1 joined,
payload left
03:03
xp_prg left
03:10
JimmyZ joined
03:12
agentzh joined
03:14
gfx left
03:19
frederico left,
frederico joined
03:27
silug left,
frew left,
r0bby_ left,
alester left,
miyagawa left,
revdiablo left,
awwaiid left,
Guest41472 left,
leedo left,
rafl left,
akl left,
allbery_b left,
tylerni7 left
03:28
astrojp left,
mdxi left,
frederico left,
pnate left,
ihrd left,
mubot left,
Wolfman2000 left,
Patterner left,
synth left,
szabgab left,
pointme left,
wolverian left,
cotto left,
Grrrr left,
KatrinaTheLamia left,
renormalist left,
baest left,
christine left,
Bucciarati left,
stepnem left,
literal left,
Trey left,
cognominal left,
eiro_ left,
krunen left,
Woody2143 left,
BinGOs left,
ssm left,
daemon left,
JimmyZ left,
nihiliad left,
orafu left,
Maddingue left,
omega_ left,
hercynium left,
PerlJam left,
bloonix left,
PacoLinux left,
athomason left,
xinming left,
cosimo left,
lambdabot left,
parduncia left,
constant left,
eternaleye left,
SmokeMachine left,
phenny left,
dalek left,
sri__ left,
eMaX left,
justatheory left,
colomon left,
Woodi left,
reid04 left,
dj_goku left,
slavik1 left,
araujo left,
simcop2387 left,
charsbar_ left,
b0nk left,
cls_bsd left,
crazed left,
elmex left,
[particle] left,
gbacon left,
japhb left,
felipe left,
presh_ left,
Gothmog_ left,
PZt left,
tarbo2 left,
hsb left,
jrockway left,
tomaw_ left,
tak11 left,
mj41 left,
frettled left,
mathw left,
xenoterracide left,
hicx174 left,
hcchien left,
viklund left,
avuserow left,
lestrrat left,
huf left,
IRSeekBot left,
sbp left,
nsh left,
rhr left,
pjcj left,
ilbot2 left,
Khisanth left,
he_ left,
sunnavy left
03:29
moritz_ joined,
frederico joined,
pnate joined,
ihrd joined,
mubot joined,
tak11 joined,
mdxi joined,
Wolfman2000 joined,
astrojp joined,
mj41 joined,
cognominal joined,
Patterner joined,
frettled joined,
synth joined,
eiro_ joined,
mathw joined,
krunen joined,
frew joined,
szabgab joined,
pointme joined,
lestrrat joined,
miyagawa joined,
Woody2143 joined,
xenoterracide joined,
r0bby_ joined,
akl joined,
hicx174 joined,
hcchien joined,
wolverian joined,
viklund joined,
cotto joined,
alester joined,
Grrrr joined,
PZt joined,
KatrinaTheLamia joined,
renormalist joined,
baest joined,
revdiablo joined,
avuserow joined,
allbery_b joined,
awwaiid joined,
BinGOs joined,
felipe joined,
christine joined,
Bucciarati joined,
presh_ joined,
Guest41472 joined,
irc.freenode.net sets mode: +ov moritz_ pointme,
silug joined,
stepnem joined,
leedo joined,
literal joined,
tylerni7 joined,
rafl joined,
huf joined,
Trey joined,
IRSeekBot joined,
jantore joined,
obra_ joined,
Juerd joined,
yath joined,
diakopter joined,
TimToady joined,
irc.freenode.net sets mode: +vooo IRSeekBot Juerd diakopter TimToady,
Trinity94 joined,
tkr joined,
Helios- joined,
jjore joined,
Caelum joined,
Infinoid joined,
mtve joined,
nothingmuch joined,
pmichaud joined,
hatseflats joined,
p6eval joined,
nsh joined,
sbp joined,
rhr joined,
pjcj joined,
tarbo2 joined,
ilbot2 joined,
Khisanth joined,
hsb joined,
Gothmog_ joined,
jrockway joined,
sunnavy joined,
he_ joined,
irc.freenode.net sets mode: +ovv pmichaud p6eval ilbot2
03:30
tomaw_ joined,
sjohnson joined,
JimmyZ joined,
eternaleye joined,
nihiliad joined,
SmokeMachine joined,
orafu joined,
phenny joined,
Maddingue joined,
omega_ joined,
hercynium joined,
PerlJam joined,
dalek joined,
sri__ joined,
eMaX joined,
bloonix joined,
justatheory joined,
PacoLinux joined,
colomon joined,
parduncia joined,
Woodi joined,
reid04 joined,
ssm joined,
dj_goku joined,
daemon joined,
athomason joined,
slavik1 joined,
araujo joined,
xinming joined,
simcop2387 joined,
crazed joined,
charsbar_ joined,
cosimo joined,
b0nk joined,
constant joined,
cls_bsd joined,
elmex joined,
japhb joined,
lambdabot joined,
[particle] joined,
gbacon joined,
shachaf joined,
pugs_svn joined,
spinclad joined,
hugme joined,
irc.freenode.net sets mode: +ovvv sjohnson lambdabot pugs_svn hugme
03:35
lisppaste3 left,
ihrd left
|
|||
carlin | SF++ # lastofthecarelessmen.blogspot.com/2...eview.html | 03:39 | |
03:43
lisppaste3 joined
03:46
envi^office joined
03:49
envi^home joined
03:51
justatheory left
03:56
JimmyZ__ joined
04:14
mubot left,
mubot joined
|
|||
carlin | mubot: help | 04:15 | |
mubot | usage: mubot: [karma [name] | purge <name> | link <nick> <alternative>] | <name>++ | <name>-- | ||
carlin | mubot: karma SF | 04:16 | |
mubot | SF has a karma of 1 | ||
carlin | SF++ # excellent github.com/carlins/mubot/commit/36d...b75b883350 | 04:17 | |
04:17
JimmyZ left
|
|||
pugs_svn | r28990 | kyle++ | [t/spec] Tests for RT 70229: Failure stringifies wrong, etc. | 04:20 | |
04:35
meppl left
04:36
meppl joined
|
|||
dukeleto | pmichaud: latest nqp-rx does not compile for me | 04:37 | |
04:38
gfx joined
04:39
nbrown joined
|
|||
dukeleto | pmichaud: nopaste.snit.ch/18571 | 04:39 | |
pugs_svn | r28991 | kyle++ | [t/spec] I worry that Nil might (wrongly) return one empty string and pass anyway | ||
spinclad | rakudo: say (my $a = { $^a($a) + * })($a); | 04:54 | |
p6eval | rakudo 5e05b8: OUTPUT«maximum recursion depth exceededin Main (file <unknown>, line <unknown>)» | ||
04:56
justatheory joined
04:59
zaslon left
05:00
justatheory left
|
|||
diakopter | spinclad: :) | 05:02 | |
05:11
zaslon joined
|
|||
Wolfman2000 | sorry for semi afk. Been kept busy tonight. | 05:13 | |
I'll be more focused tomorrow hopefully | |||
05:15
jaldhar joined
05:24
xp_prg joined
05:31
mubot left
05:32
Bzek joined
05:33
mubot joined
|
|||
carlin | zaslon: add carlin theintersect.org/category/perl6/feed/ | 05:42 | |
zaslon | I am now following carlin's blog | ||
lolcarlinhazblogged! carlin++ 'Domo arigato, Mr. Roboto': theintersect.org/2009/domo-arigato-mr-roboto/ | 05:54 | ||
06:00
charsbar_ left
06:01
charsbar joined
06:07
nihiliad left,
eternaleye left,
eternaleye joined
06:24
gfx left
06:26
NorwayGeek joined
06:42
agentzh left
06:52
NorwayGeek left
06:55
tak11 left,
Su-Shee joined
|
|||
Su-Shee | good morning. | 06:55 | |
06:57
synth left
|
|||
diakopter | Su-Shee: hi | 06:58 | |
07:02
envi^home left
07:03
zaslon left,
pointme left,
mubot left
07:17
zaslon joined,
pointme joined
07:18
mubot joined
07:24
mubot left,
mubot joined,
pointme left,
pointme joined
|
|||
moritz_ | good morning | 07:38 | |
diakopter | moritz_: ahoy | ||
07:46
eMaX left,
payload joined,
pdcawley left,
payload1 left
07:55
JimmyZ__ left
08:04
envi^office left
08:06
ejs left
08:07
_eMaX_ joined
|
|||
diakopter | moritz_: I was introduced to the table tennis table at $job's office today (yay) | 08:10 | |
moritz_ | nice! | ||
08:10
elmex_ joined,
lestrrat is now known as lest_away
08:12
payload left
08:16
nbrown left,
reid04 left
08:17
_eMaX_ left
08:18
_eMaX_ joined
|
|||
moritz_ | dukeleto: maybe you need a 'make clean' in nqp-rx? | 08:19 | |
japhb | moritz_, I believe he resolved it, but only said so on #parrot. | 08:20 | |
08:20
elmex left
|
|||
moritz_ | good. Thanks japhb | 08:21 | |
08:25
iblechbot joined
08:29
payload joined
08:33
rfordinal joined
08:34
_eMaX_ left,
mariuz joined,
_eMaX_ joined
08:42
elmex_ is now known as elmex
08:53
JimmyZ joined
08:58
IllvilJa left,
[particle] left
09:00
[particle] joined
09:06
payload left
09:07
payload joined
09:16
_eMaX_1 joined,
_eMaX_ left
09:18
hanekomu joined
09:26
JimmyZ__ joined
09:29
payload left
09:32
Helios- left
09:33
drbean joined,
jaffa8 joined,
eternaleye left,
Helios- joined
09:34
JimmyZ__ left
09:35
JimmyZ left
09:37
agentzh joined
09:38
payload joined
09:40
rgrau joined
10:01
SmokeMachine left,
payload left
10:22
IllvilJa joined
10:25
agentzh left
10:36
iblechbot left
10:40
xp_prg left
10:44
kst left
10:46
kst joined
11:03
astrojp left
11:06
ab5tract joined
11:14
jiing_ joined
11:15
jiing left
11:25
nbrown joined
11:31
pnate2 joined
11:32
dakkar joined
11:38
krunen left,
krunen joined
11:41
lest_away is now known as lestrrat
11:45
pnate left,
payload joined
11:49
zamolxes joined
11:53
Su-Shee_ joined
11:54
ab5tract left
12:02
envi^home joined
12:08
Su-Shee left
12:12
iblechbot joined
12:13
Su-Shee_ is now known as Su-Shee,
SmokeMachine joined
12:32
ruoso joined
|
|||
lisppaste3 | moritz_ pasted "With which letter do most nicks in here begin?" at paste.lisp.org/display/89825 | 12:32 | |
ruoso back from one week of conferences, including a YAPC | 12:33 | ||
12:34
moritz_ sets mode: +vv phenny pointme
|
|||
moritz_ | revdiablo: which YAPC? and how was it? | 12:34 | |
12:45
explorer joined
12:48
bloonix left
|
|||
ruoso | moritz_, YAPC::Brasil and it was great... it was the first YAPC not hosted by other conference | 12:49 | |
12:50
bloonix joined
12:53
KyleHa joined
12:57
takadonet joined
|
|||
takadonet | morning all | 12:57 | |
colomon | morning! | 13:04 | |
takadonet | how are you colomon? | 13:12 | |
colomon | okay. how about you? | ||
colomon is also eager to see ng work well enough to become master... | 13:13 | ||
takadonet | doing well. Rewriting some perl/bash script that someone else wrote over a decade ago | 13:14 | |
moritz_ | the ng branch is still going to take a while, I fear | 13:15 | |
takadonet | NO!!!!! | 13:16 | |
hehe | |||
colomon | moritz_: by "a while", you mean a week or two, right? ;) | ||
takadonet | Hopefully I get time to write some perl 6 scripts for work.... | ||
moritz_ | colomon: we'll see | 13:18 | |
I mean it's a lot of work, to redo 70% or so of the compiler | |||
even if you have the old code to copy from, and the experience of having it done once before | 13:19 | ||
takadonet | I have confidence in jnthn and pmichaud | 13:20 | |
colomon | they were on fire over the weekend. | ||
moritz_ | I have confidence in them too; it'll just depend on their available tuits | 13:21 | |
13:33
KyleHa left
13:36
meppl left
13:42
payload left
13:48
kolibrie joined
|
|||
Woodi | tuits ? | 13:53 | |
13:53
willie__ joined
|
|||
moritz_ | time units | 13:53 | |
Woodi | ah, thanx | ||
13:54
willie__ left
|
|||
moritz_ | (idiomatic) Virtual tokens for an amount of time or attention that a particular issue would need to resolve. | 13:54 | |
says wiktionary | |||
Woodi yesterday found term man-centuries... | 13:56 | ||
moritz_ | 0.1k man years? ;-) | 13:57 | |
Woodi | yeah :) | ||
topic wasn't p6 or was... do not remember :) | |||
jnthn | oh hi | 13:58 | |
jnthn has power again | |||
Woodi | but i'm concern about 70% work in refactoring... there will be need of refactoring to remove nqp too ? | 13:59 | |
go go go jnthn++ :) | |||
jnthn | Where on earth did the 70% come from? :-) | 14:00 | |
14:01
kidd` joined
|
|||
moritz_ | that was my guess of how much of rakudo you're refactoring | 14:01 | |
Woodi | it was for better statistics in time when you will finish :) | 14:02 | |
Wolfman2000 | *yawn* morning | ||
Woodi | afternoon :) | ||
Wolfman2000 | sorry I was too distracted last night to do much Perl6 stuff | ||
moritz_ | no need to apologize | 14:03 | |
jnthn: do you think 70% is the wrong ballpark? maybe a bit much... | |||
jnthn | Perhaps. The last couple of days haven't really been representitive of possible progress either. | ||
PerlJam | good morning | 14:04 | |
jnthn | As I blogged yesterday, I hit a point where I needed to do some conceptual work, rather than just write code. :-) | ||
14:04
explorer left
|
|||
jnthn | I'm hopeful that we'll be able to pick up the pace again on it soon. :-) | 14:05 | |
PerlJam | Even if it is 70% refactoring work, it takes place over the course of days or weeks to get a much cleaner, more maintainable system rather than months or years it took to build the "it works, but we're not sure how in some places" system :) | ||
(IMHO) | |||
moritz_ | I'm not complaining about the refactor, not at all | 14:06 | |
mathw | jnthn: Of course you have to stop sometimes and do some conceptual work. And from the sound of your blog post, you're going to get more out of this than first thought, so it's really quite astonishing. | ||
PerlJam | moritz_: sure. Perhaps I'm just trying to keep things in perspective (out loud) for myself if no one else :) | 14:07 | |
mathw | I'm still in awe of these tools that have been built for making compilers with | ||
PerlJam | mathw: yeah, jnthn++, pmichaud++ | ||
mathw: particularly pmichaud++ :) | |||
jnthn | mathw: The lazy lists we'll get out of this is another big win. | 14:08 | |
While I grant that we don't run many of the tests yet, having laziness and foundations for custom metaclasses in at this point - even if we can't test those - is a huge thing. :-) | 14:09 | ||
frettled | I think it's strange that there is a ?from=rss on these use.perl.org blogs, but I see nowhere in there to subscribe via RSS or Atom. | ||
Woodi | PerlJam: "we're not sure how" is sugestion for p5 ? :) no other examples come atm... | ||
frettled | jnthn: nice entry yesterday | 14:10 | |
moritz_ | frettled: if you use a non-ancient browser you'll see the red feed symbol in the address bar when you visit a use.perl.org blog | 14:11 | |
PerlJam: actually somebody thinks the refactor is a bad idea: www.reddit.com/r/perl/comments/a0ly...dong_work/ | 14:12 | ||
frettled | moritz_: Thanks for the hint, _now_ I see a _blue_ feed symbol there | ||
PerlJam | moritz_: there are always naysayers. I ignore them when I think they're wrong. :) | 14:13 | |
moritz_ | (s/red/orange/ btw, but I don't think the color is really canonical) | ||
frettled | moritz_: I'm used to it being orange, so I didn't notice it at all. I'm also used to the webpage itself having a separate link :) | ||
14:15
synth joined
|
|||
jnthn | that guy is a fail | 14:18 | |
If he even bothred doing some research, he could have read *why* the refactor. | 14:19 | ||
14:19
NorwayGeek joined
|
|||
moritz_ | why research when you can troll? | 14:19 | |
frettled | heh | 14:20 | |
But trolling is so much fun! ;) | |||
moritz_ | that's the problem. | 14:21 | |
frettled | Anyway, I think I _know_ that you guys don't embark on time consuming programming exercises in Perl 6 just because you've got a minor itch to scractch; I think you do it when there's something that itches horribly (i.e.: that really needs fixing). | ||
So ignore that doofus, whoever he is. | 14:22 | ||
jnthn | Heh, the refactor is fun in some ways, but it's also a serious amount of work too. | 14:23 | |
The kind that I wouldn't do just because I felt like it. :-) | 14:24 | ||
PerlJam | jnthn: you know you're just making up problems to solve with rakudo because you like insane amounts of work ;) | ||
be honest ;) | |||
jnthn | :-P | 14:25 | |
frettled | what does that operator do? | ||
PerlJam | frettled: heh! | ||
time for a new language -- emotical | 14:26 | ||
composed entirely of emoticons | |||
jnthn | rakudo: multi postfix:<:-P>($x) { say "$x neeehhh!!" }; "does this" :-P | ||
p6eval | rakudo 5e05b8: OUTPUT«does this neeehhh!!» | ||
takadonet | .... | 14:28 | |
jnthn | Well I guess that answer is, "the :-P operator does whatever you define it to do" :-) | 14:29 | |
frettled | rakudo: multi postfix<:D>($x) { say "$x joy joy!" }; "happy happy" :D | 14:30 | |
p6eval | rakudo 5e05b8: OUTPUT«Malformed routine definition at line 2, near "postfix<:D"in Main (file <unknown>, line <unknown>)» | ||
frettled | whoopsie, missed a colon. | ||
rakudo: multi postfix:<:D>($x) { say "$x joy joy!" }; "happy happy" :D | |||
p6eval | rakudo 5e05b8: OUTPUT«happy happy joy joy!» | ||
jnthn | Smile 6. | 14:31 | |
You could actually make an assertion system with this. | |||
0 <= $percentage <= 100 :-) | 14:32 | ||
$x > $limit :-( | |||
...but it wasn't my idea. :-) | |||
14:32
payload joined
14:33
masak joined
|
|||
masak | good afternoon, #perl6 | 14:33 | |
PerlJam | jnthn: have you seen ruby's rspec or cucumber ? Check out the code examples at rspec.info | 14:34 | |
Wolfman2000 | Good grief, have to get used to all of the different time zones we have. | ||
PerlJam | Wolfman2000: welcome to the internet :) | ||
jnthn | Worse, some of us work in a different time zone than we live in. ;-) | 14:35 | |
PerlJam: But...they lack smilies ;-) | 14:36 | ||
frettled | This is why my own servers «work» in UTC. | ||
masak | rakudo: ({nextsame})() | ||
p6eval | rakudo 5e05b8: OUTPUT«Null PMC access in clone()in Main (file <unknown>, line <unknown>)» | ||
masak | did that one ever get reported? | ||
jnthn | Well, I've seen it plenty of times before... | 14:37 | |
Though that doesn't mean there's a ticket. | |||
masak | diakopter triggered it yesterday. | ||
jnthn | Yeah, but that wasn't the first time I've seen it. | ||
masak | then he allegedly played dumb when moritz_ told him to submit it :) | ||
no wonder I get all the tickets around here! :) | 14:38 | ||
masak submits | |||
masak likes pmichaud++'s long 'priorities' email to parrot-dev | 14:49 | ||
mathw does too | 15:11 | ||
pmichaud++ | |||
masak | ah, reddit. I love the topmost comment, and how it expresses several different kinds of cluelessness very succinctly. www.reddit.com/r/perl/comments/a0ly...dong_work/ | ||
there's some form of general "I want a pony, now" mentality on the Intertubes. | 15:12 | ||
15:12
payload left
|
|||
masak | people like to whine and complain a lot, but they don't contribute, or learn about the actual state of things. | 15:12 | |
jnthn | ...raku*dong*? :) | ||
jnthn declines to draw the logo for that project | 15:13 | ||
masak | and then there's people like jnthn... :P | ||
15:13
payload joined
|
|||
jnthn | OK, Slovak class time. | 15:13 | |
Back later, probably. | |||
masak | have the appropriate amount of Slovak! | 15:14 | |
jnthn | Budem! :-) | ||
mathw | masak: Clearly not an experienced programmer | 15:16 | |
frettled | masak: that almost sounded obscene ;) | ||
masak | frettled: what, and jnthn's raku-dong wasn't? :) | 15:19 | |
PerlJam | It wasn't jnthn's, that's what the URL had in it :) | 15:21 | |
15:21
ab5tract joined
|
|||
mathw | actually it just made no sense | 15:22 | |
masak | PerlJam: "obscenity is in the eye of the beholder" :) | ||
mathw | Slovak is not something you can have an amount of | ||
masak | mathw: sure you can! I have very little Slovak daily (most of it from jnthn), jnthn has a higher amount of daily Slovak... | 15:23 | |
mathw | no, you 'know' languages | ||
maybe you 'understand' or 'speak' them | |||
but you don't 'have' them | |||
although people will probably understand you if you say that anyway :) | |||
masak | maybe I need to have more English. :P | 15:24 | |
mathw | lol | ||
PerlJam | mathw: you are mistaken. I have Perl. I have Perl 6 too. :) | ||
mathw | well I seem to recall using 'haben' for language capability in German | ||
so I'm guessing you do something similar in Swedish? | |||
masak | mathw: no, that's not what was involved here. | ||
mathw: I just built on the template 'have the appropriate amount of fun'. | |||
frettled | mathw: You can «have» a Slovak, a Swede, an Englishman, etc. | ||
masak | mathw: and I didn't care much for the resulting meaning. | 15:25 | |
PerlJam notes that the spanish speakers around here "have" language too. | |||
mathw | frettled: yes, I'm aware of that | ||
15:25
reid02 joined
|
|||
masak | mathw: though for me, to 'have Slovak' would probably mean to have a Slovak class. | 15:25 | |
mathw: and that is (as you point out) not subject to gradation. | |||
15:29
_particle_ joined
|
|||
[particle] | are you saying slovaks have no class? | 15:30 | |
15:31
_particle_ left,
s1n joined
15:32
Psyche^ joined
|
|||
masak | [particle]: quoting Babbage, "I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." | 15:37 | |
15:44
Patterner left,
Psyche^ is now known as Patterner
|
|||
dukeleto | moritz_: i fixed my nqp-rx issue, but thanks | 15:50 | |
masak | spinclad: thanks for the heads-up about the brackets mismatch. the text was there, but it was transparent. | 15:51 | |
dukeleto | moritz_, masak, jnthn : y'all have commit access to the parrot mirror on github now : github.com/leto/parrot , to easy the creation of review branches, etc | ||
15:51
Wolfman2000 left
|
|||
dukeleto | s/easy/ease/g | 15:51 | |
dukeleto can't type so good before coffee | 15:52 | ||
PerlJam | dukeleto: is parrot finally switching to git? Or is it just the same old thing where many devs are using git? | 15:55 | |
15:57
justatheory joined
15:58
nihiliad joined
16:00
gfldex joined
|
|||
dukeleto | PerlJam: most parrot core devs want git, but we cannot move to git before 2.0 | 16:01 | |
PerlJam | 2.0 comes out in Jan 2010, right? | 16:02 | |
dukeleto | PerlJam: many devs use git to make git branches of parrot and then just submit a patch later on | ||
PerlJam: yes | |||
PerlJam: post 2.0, i am going to be lobbying hard for a git conversion | |||
PerlJam | dukeleto++ :) | 16:03 | |
dukeleto | PerlJam: but a git conversion has not yet been set in stone or given a definite version number | ||
16:03
kidd` left
|
|||
dukeleto | PerlJam: I estimate that it will happen between 2.0 and 3.0 :) | 16:03 | |
PerlJam: hopefully closer to 2.0 ;) | |||
16:11
payload left
16:24
payload joined
|
|||
pugs_svn | r28992 | particle++ | [perl6.org] say 'chat live' to make link action more clear | 16:31 | |
16:39
brunov joined
16:43
fax joined
16:46
envi^home left
|
|||
pugs_svn | r28993 | particle++ | [perl6.org] use non-breaking spaces when referencing perl versions | 16:48 | |
moritz_ | didn't we do that already | 16:50 | |
[particle] | apparently not, or it needs to be done more than once | ||
moritz_ | [particle]: they were just entered as non-breaking spaces, not as their HTML entity | ||
[particle] | ah. that's not easy to see :) | 16:51 | |
moritz_ | a question of your editor ;-) | ||
[particle] | i wonder if i can make vim shade non-breaking spaces differently | ||
moritz_ | Ctrl+k NS ENTER | 16:52 | |
/ Ctrl+k NS ENTER | |||
16:52
szabgab left
|
|||
[particle] | set listchars=nbsp:¬ | 16:53 | |
i'd rather have it differently colored, though, rather than displaying a different character | 16:54 | ||
moritz_ | that's what the search does, if you set hlsearch | ||
[particle] | yes, but i want it permanent | 16:55 | |
moritz_ | hi link nonprintable Error | 16:57 | |
au Syntax * syn match nonprintable / / display | |||
16:59
rfordinal3643 joined
|
|||
SmokeMachine | rakudo: my @a=1, 1 ... {$^a + $^b}; @a[2].say | 17:00 | |
p6eval | rakudo 5e05b8: TIMED_OUT | ||
moritz_ | SmokeMachine: it's not yet lazy | ||
rakudo: my @a=1, 1 ... {$^a + $^b}, 100; @a[2].say | |||
p6eval | rakudo 5e05b8: OUTPUT«2» | ||
SmokeMachine | moritz_, hum... sorry... | ||
moritz_ | SmokeMachine: no problem | ||
SmokeMachine | moritz_, thank's | 17:01 | |
moritz_ | rakudo: my @a=1, 1 ... {$^a + $^b}, 100; say ~@a[0..4] | ||
p6eval | rakudo 5e05b8: OUTPUT«1 1 2 3 5» | ||
17:01
yves joined
|
|||
moritz_ | rakudo: my @a=1, 1 ... *+*, 100; say ~@a[0..4] | 17:01 | |
p6eval | rakudo 5e05b8: OUTPUT«1 1 2 4 8» | ||
17:01
hanekomu left
|
|||
moritz_ | that just doubles, hm | 17:01 | |
jnthn | I should actually learn what the series operator does some day... | 17:02 | |
moritz_ | jnthn: it just invokes the closure with the last $closure.count items | ||
jnthn: there are magic versions too, though | 17:03 | ||
rakudo: say 'a' ... 'g' | |||
p6eval | rakudo 5e05b8: OUTPUT«abcdefg» | ||
jnthn | rakudo: say 'a' .. 'g' | 17:04 | |
p6eval | rakudo 5e05b8: OUTPUT«abcdefg» | ||
jnthn | Is that still spec? | ||
moritz_ | yes | ||
just :by is gone | 17:05 | ||
17:11
brunov left
17:13
desertm4x joined,
beggars joined,
szabgab joined
|
|||
jnthn | Ah, OK. | 17:13 | |
17:13
ab5tract left
17:18
rfordinal left
17:30
brunov joined
17:34
sjohnson left
17:38
envi^home joined,
envi^home left
17:48
cdarroch joined,
alester left
17:55
stephenlb joined
17:58
ejs joined
17:59
desertm4x_ joined
18:00
desertm4x left,
am0c joined
18:03
xp_prg joined
|
|||
TimToady | I rather suspect that the (Num @array) problem is going to become our #1 FAQ if we don't do something about it. | 18:05 | |
Juerd | What kind of doing something are you thinking of? | 18:06 | |
jnthn | TimToady: What Num @array problem? | 18:07 | |
Or were the parens significant? | |||
TimToady | it's a sig | ||
but it doesn't match 1,2,3 | |||
or even [1,2,3] | 18:08 | ||
jnthn | Right. | ||
Well, the real issue is that there's no good way that I know of to write a litral typed list or array. | |||
*literal | |||
Or is there? | |||
TimToady | can't use Num[] since that means generics | 18:09 | |
jnthn | Right. | ||
And Array[Num](1,2,3) is a tad, well, hefty. | 18:10 | ||
TimToady | (Array of Num)(1,2,3) is clunky too | ||
jnthn | Yes | ||
[1, 2, 3] of Num | |||
[1, 2, 3] :of(Num) # adverb to the circumfix... | 18:11 | ||
If that ever could work. I still don't like it so much. | |||
Juerd would prefer a syntax where the type is in front of the array | |||
TimToady | adverbs are usually a desgin smell | ||
not to mention a design smell | |||
jnthn | Juerd: Yeah, that was actually my main dislike. | ||
18:11
Wolfman2000 joined
|
|||
moritz_ | why do we have them, then? | 18:12 | |
as a design smell trap? | |||
18:12
SmokeMachine left
|
|||
TimToady | Nummy 1,2,3 :) | 18:12 | |
Wolfman2000 | ...I've chosen a bad wireless location I think. | ||
TimToady | moritz_: yes, they're design smell trap because they are a feature intended to patch up a bad design, which you need sometimes :) | 18:13 | |
Juerd | Nameless assignment? | ||
Num @ = ...; | |||
moritz_ | that looks so perl5ish ;-) | 18:14 | |
Juerd | moritz_: I love Perl 5 | ||
TimToady | Juerd: can't parse Num without a my or some such in front | ||
moritz_ | me to. To a certain extend ;-) | ||
Wolfman2000 | ...and just as I was about to be able to try out some more data structure stuff for Perl6, I've been emailed to help with another situation. Gah. | 18:15 | |
TimToady | std: Num @ = ...; | ||
p6eval | std 28993: OUTPUT«===SORRY!===Confused at /tmp/Iuzipc5eHZ line 1:------> Num ⏏@ = ...; expecting any of: bracketed infix infix stopper standard stopper statement modifier loop terminatorFAILED 00:01 107m» | ||
Wolfman2000 | At least this new situation will involve payment. Sorry guys, but money kind of helps. *semi afk* | ||
frettled | Okay, this is a challenge. | 18:19 | |
It's a challenge of the kind: "Oh, look, here I am in the corner, and there's wet paint all around. Hmm." | 18:20 | ||
so the solution is obviously to either 1) let the paint dry, or 2) walk onto the wet paint, paint the corner, and paint over your tracks as you proceed towards the door. | |||
HTH, HAND. :) | |||
TimToady | 3) swing from the chandalier | 18:21 | |
Juerd | frettled: You're assuming there's a door :) | ||
frettled | do we have a chandelier? | ||
Juerd: not having one would be a surprise, kind of, but I'm sure we have at least an exit(). | 18:22 | ||
TimToady | 4) dig up a few floorboards and escape to the basement | ||
18:22
alester joined
|
|||
TimToady | 5) quantum tunnel through the wall | 18:22 | |
18:23
mariuz left
|
|||
TimToady | 6) rewire the microwave so it'll work with the door open, and then aim it at the paint | 18:23 | |
7) hot air balloon | |||
moritz_ | 8) make a video of it, upload it to youtube, make a fortune of it, and hire some real painters to it properly for you next time | 18:24 | |
frettled | But we're not Python developers, where will we find the hot air? | ||
moritz_: that was an extra good one :) | 18:25 | ||
Though I'm not sure what this message would say: "Perl 7 - we hired professionals this time" | |||
Juerd | of Num: 1, 2, 3 | 18:26 | |
# Num.of(1, 2, 3) | |||
moritz_ | frettled: just don#t overstrech the analogy ;-) | ||
18:26
sjohnson joined
|
|||
moritz_ | s/#/'/ | 18:27 | |
frettled | moritz_: what, are you worried that the bungee cord that we tied to the chandelier will a) bring down the chandelier, or b) tear off? | ||
Juerd | Hm, but how does it know it's supposed to be an array, not a hash... | ||
of Num: [ 1, 2, 3 ] | |||
frettled | Nøm [ 1, 2, 3 ] | 18:28 | |
Juerd | nomnom | ||
jnthn | std: [ Num: 1, 2, 3 ] | ||
p6eval | std 28993: OUTPUT«===SORRY!===Illegal redeclaration of 'Num' at /tmp/0ptRqUQcPu line 1:------> [ Num: ⏏1, 2, 3 ]FAILED 00:01 106m» | ||
jnthn | ...I redeclared? | 18:29 | |
TimToady | label | ||
jnthn | oh | ||
frettled | And how do we specify multidimensionals with different types, or, or, or? :D | ||
jnthn | ...label inside a circumfix?! | ||
TimToady | all circumfixes are statements inside | ||
jnthn | Do not need. | ||
heh | |||
goto inside_of_a_circumfix_duh | 18:30 | ||
frettled | inside are statements all circumfixes? | ||
TimToady | std: [ $_ * 2 if .odd for 1..100 ] # that's how list comprehensions work | 18:31 | |
p6eval | std 28993: OUTPUT«ok 00:01 108m» | ||
TimToady | and why we don't need special syntax for them, unlike, say, Python | 18:32 | |
Juerd | Nice one | ||
jnthn | TimToady: To be clear, it was the labels inside circumfixes I was saying "do not need" to, not parsing a statement in there. But I figure then we fail on consistency, which isn't so good. | 18:33 | |
TimToady | is also why we relaxed the "only one statement modifier" rule | ||
Juerd never quite liked that rule | |||
TimToady | why wouldn't you need a label there? | ||
jnthn | Well, maybe you would. | 18:34 | |
TimToady | std: [ LINE: for lines() { next LINE unless /foo/; $_ } ] | ||
p6eval | std 28993: OUTPUT«ok 00:02 110m» | ||
jnthn | yeah. :-/ | ||
18:34
Bzek left
|
|||
jnthn | OK, that won't work then. | 18:34 | |
TimToady | it seems to me that we want two things | 18:35 | |
1) an easier way to coerce those things explicitly | |||
2) an easier way to say DWIM, darnit! | |||
Juerd | If you invent 2, you get 1 for free, right? :) | 18:36 | |
TimToady | not necessarily | ||
not if 2) doesn't DWYRM | |||
but we already did a little of 2 with <1 2 3> | 18:37 | ||
frettled | mm | ||
jnthn | I guess we don't want to go down the "if they're all literals and of the same type, just make a typed list/array"? | ||
Juerd | is(DWIM, DWIRM); # luser sanity check | ||
18:37
Wolfman2000 left
|
|||
TimToady | that would probably be a little too dwimmy | 18:37 | |
18:38
zamolxes left,
Wolfman2000 joined
|
|||
Wolfman2000 | okay, I think I'm at a better connection spot | 18:38 | |
TimToady | but it's certainly one extreme in design, and might work out better than expected if, say Array of Int ends up matching Array of Num in the sig | 18:39 | |
18:39
Juerd left
|
|||
Wolfman2000 | rakudo: say 3 > NULL; | 18:39 | |
p6eval | rakudo 5e05b8: OUTPUT«Could not find non-existent sub NULLin Main (file src/gen_setting.pm, line 324)» | ||
Wolfman2000 | ...right, undef | 18:40 | |
TimToady | that is, over-narrowing the type to Int @ might just end up dispatching back to (Num @array) anyway | ||
Wolfman2000 | rakudo: say 3 > undef; | ||
p6eval | rakudo 5e05b8: OUTPUT«Use of uninitialized value1» | ||
Wolfman2000 | ...gah, is my memory really off? | ||
TimToady | what are you trying to do? | ||
Wolfman2000 | TimToady: Just want to see if any integer is greater than null or undef or whatever the perl empty value was that I can't seem to remember. | 18:41 | |
doesn't help that I now can't connect back to my Feather Box | |||
I'm getting timed out errors | |||
moritz_ | Wolfman2000: well, it did say 1 at the end | ||
so it 3 > undef is true | |||
it just also warned | 18:42 | ||
frettled | TimToady: Is that a way of saying that we solve that problem when we try to do something with the array, rather than when we initialize it? | ||
Wolfman2000 | moritz_: ...didn't see that. Saw the use of uninitialized value aprt. | ||
moritz_ | frettled: it's mostly about lists, not arrays | 18:43 | |
18:43
SmokeMachine joined
|
|||
moritz_ | and they are usually not declared | 18:43 | |
Wolfman2000 | ...I'm not having good ping results, am I? | ||
18:43
meppl joined
|
|||
moritz_ | they are either literals, or results from other operations | 18:43 | |
frettled | moritz_: if you have results from operations, then the operations could provide internal hints. But for literals, you don't really get good hints. | 18:44 | |
moritz_ | frettled: isn't it more the other way round? literals we can inspect at compile time... | 18:45 | |
frettled: but a map() usually has no clue what kind of list it returns | 18:46 | ||
frettled | moritz_: well, not all operations can know, but some can. For literals, you don't know whether it's Int or Num, as exemplified. | ||
moritz_ | you don't? | 18:47 | |
3 <-- Int | |||
frettled | Okay, how do you know whether <1 2 3> is a list of Int or Num? | ||
moritz_ | 3.4 <-- Rat | ||
sure, Int | |||
and since Int ~~ Num that's no problem | |||
frettled | But if I want to coerce it to be Int or Num, then what? | ||
moritz_ | why would you want to coerce it into a List[Num] if a List[Int] will do just fine? | 18:48 | |
frettled | Because I might want to use it for something other than Int at a later time without getting an error? | 18:49 | |
moritz_ | lists are immutable | ||
you can't stuff anything into them anyway | |||
frettled | moritz_: well, in that case, we _were_ talking about arrays, not lists :) | 18:50 | |
moritz_: sorry for being easily confused today, I'm still having a fever. | |||
moritz_ | frettled: arrays need to be declared anyway, so you can just declare them appropriately | 18:51 | |
my Num @a; | |||
frettled | moritz_: See what jnthn wrote about there not being a way to write a literal typed list or array. | 18:52 | |
TimToady | moritz_: [...] is an undeclared array | ||
moritz_ | TimToady: point taken | ||
TimToady | looking at currently illegal syntax... | 18:53 | |
moritz_ | there's not much left :( | ||
frettled | one changelog entry away from being legal? | ||
TimToady | std: @[Num] 1,2,3 | ||
p6eval | std 28993: OUTPUT«===SORRY!===Anonymous variable requires declarator at /tmp/R0xFwCrwUb line 1:------> @⏏[Num] 1,2,3 expecting twigilFAILED 00:01 105m» | ||
TimToady | std: @* | ||
p6eval | std 28993: OUTPUT«===SORRY!===Anonymous variable requires declarator at /tmp/8pJwMl4LMU line 1:------> @⏏* expecting twigilFAILED 00:01 103m» | ||
18:53
hatseflats left
|
|||
TimToady | std: @*(1,2,3) | 18:53 | |
p6eval | std 28993: OUTPUT«===SORRY!===Anonymous variable requires declarator at /tmp/9J4JqeSF7b line 1:------> @⏏*(1,2,3) expecting twigilFAILED 00:01 103m» | ||
18:53
PerlJam left,
pugs_svn left,
dalek left,
hugme left
|
|||
diakopter | there went feather | 18:54 | |
Wolfman2000 | diakopter: So I wasn't the only one with feather connecting problems? | ||
TimToady | maybe I killed it with the @* :) | ||
Wolfman2000 | ...I'll hope it's restored in roughly 5 minutes: I have to change wireless locations. The college library sucks right now. | 18:55 | |
18:55
pmichaud left,
Wolfman2000 left
|
|||
frettled | Wolfman2000: what about a wired connection? :D | 18:55 | |
diakopter | p6eval is on another vps of mine | ||
TimToady | yes, I know, I was just thinking it killed it in absentia | ||
diakopter | hah | 18:56 | |
TimToady | I was intentionally applying post hoc reasoning :) | ||
18:56
jhorwitz joined
|
|||
diakopter | I knew I had concluded that was the only good kind, for a reason. | 18:57 | |
the only good kind of reasoning, I mean | |||
TimToady | the only propter kind of reasoning, anyway | ||
diakopter | where's crythias when we need him | 18:59 | |
18:59
am0c left
|
|||
frettled | better than post doc reasoning | 18:59 | |
(phdcomics) | |||
TimToady | we should do something while jnthn and pmichaud are offline :) | ||
moritz_ | @[Num] is the least bad so far, IMHO | ||
lambdabot | Unknown command, try @list | ||
moritz_ | lambdabot: and you shut up | 19:00 | |
diakopter | oh yeah, I wanted to announce that I converted sprixel over to be a PAST interpreter | ||
nqp hosting, here we come | |||
moritz_ | oh wow | ||
diakopter | Q:PIR support will be tricky ;) | 19:01 | |
moritz_ greps for Q:PIR in nqp-rx | |||
diakopter thought there was some | |||
moritz_ | not all that much, actually | ||
diakopter acks | 19:02 | ||
19:02
Wolfman2000 joined
|
|||
moritz_ | many of them are things like | 19:02 | |
our @BLOCK := Q:PIR { %r = new ['ResizablePMCArray'] }; | |||
diakopter | set-property or whatever | ||
Wolfman2000 | To any Perlers (anyone have a better name?) that go to college: student unions > libraries | ||
diakopter: feather still down for you? | |||
diakopter | yeah | ||
Wolfman2000 | then at least it's not just me | 19:03 | |
19:03
[particle] left
|
|||
moritz_ | get_hll_global, find_lex, set_hll_global | 19:03 | |
Wolfman2000 | I was trying to plan the right way to implement a linked list. | ||
I need to get better with Perl 6 classes in general before I can feel I can contribtue decently to Web.pm | |||
frettled | I'm trying to think of something that @[Num] could be confused with. | 19:04 | |
diakopter | and I improved the interpreter-engine-in-js another 100-fold by caching cloner closures for each ast node on initialization | ||
moritz_ | diakopter: there seem to be about 10 Q:PIR in nqp-rx that you'd need to substitute... don't know how much PIR runtime there is though | ||
TimToady | Wolfman2000: I think your subs > libs would qualify as reasoning from specific to general :) | ||
diakopter | so it gets around 30m ops/second on my machine | ||
which isn't atrocious | 19:05 | ||
Wolfman2000 | TimToady: I don't think I understand exactly what you mean. | ||
TimToady | subs > libs in your experience | ||
that doesn't mean it will work for everyone... | |||
Wolfman2000 | subs...as in subroutines. | 19:06 | |
and libs as in libraries | |||
TimToady | subs == student union buildings | ||
diakopter | Wolfman2000: store each link in the linked list in a closure! that'll optimize for efficiency. I'm kidding. | ||
Wolfman2000 | diakopter: I'll have no problem with people modifying my code...within reason. | ||
I'll code it the way I know how, and then you guys can help me with making it more perl like | |||
frettled | TimToady: I always think of expensive sandwiches ;) | 19:07 | |
Wolfman2000 | ...actually, since Perl 6 isn't even out of beta, what IS considered perl like? | ||
19:07
[particle] joined
|
|||
TimToady | What is the sound of six Perls not clapping? | 19:08 | |
Wolfman2000 | undef | ||
Wolfman2000 doesn't know | |||
TimToady | there are many kinds of undef in Perl 6 :) | 19:09 | |
Wolfman2000 | ...shows how behind I am then. | ||
Not just a plain undef anymore...can you elaborate on how defined undef can be? | |||
TimToady | see S02:991 | 19:10 | |
19:10
ejs left
|
|||
Wolfman2000 | Synopsis 2...never figured out what the other numbers meant | 19:10 | |
come on perlcabal, load... | |||
moritz_ | Wolfman2000: it's a line number | ||
Wolfman2000: if you look at irclog.perlgeek.de/perl6/today that S02:991 is turned into a link | 19:11 | ||
TimToady | which reads perlcabal.org/syn/S02.html#line_991 | ||
moritz_ | Wolfman2000: which points directly to the line of the spec that TimToady is talking about | ||
Wolfman2000 | ...wow. live logging | ||
Also, the page wouldn't load | |||
19:11
Guest41472 left
|
|||
Wolfman2000 | timed out | 19:12 | |
moritz_ | that's hosted on feather | ||
gotcha | |||
19:12
mberends joined
|
|||
Wolfman2000 | okay, who is tarring and feathering the bird? | 19:12 | |
TimToady | I thought we were supposed to tar and feature it... | ||
Wolfman2000 | If you do that, the bird can't fly. | 19:13 | |
Then again, perhaps I'm mixing up my analogies now. | |||
hercynium | rakudo: { say .clap if undef } for 'perl' x 6 | ||
p6eval | rakudo 5e05b8: ( no output ) | ||
hercynium | (that took me far too long to get working in priv) | ||
(and probably still doesn't do what I think it does) | 19:14 | ||
TimToady | interesting, feather seems to have even dropped from DNS | 19:15 | |
19:15
[1]jaffa8 joined
|
|||
Wolfman2000 | ...dropped? Meaning...we no longer have it? | 19:16 | |
TimToady | seems a bit late for asteroids in the NL | ||
if anyone still has feather's old IP address, try logging onto that... | |||
moritz_ | 193.200.132.135 | ||
for feather1 | |||
nope | |||
not reachable | 19:17 | ||
Wolfman2000 | Can't seem to SSH into it myself | ||
TimToady | maybe it's just a dike | ||
moritz_ | 8 compukos.demarc.nik-ams.nl.as8312.net (195.210.57.163) 10.832 ms 11.075 ms 11.046 ms is the last hop | ||
TimToady | amsterdam, I guess | 19:18 | |
so probably not a dike :) | |||
I wonder if feather is in the same building as its dns server... | 19:19 | ||
Wolfman2000 | ...are you saying the feather server may be flooded TimToady? | ||
moritz_ | TimToady: wouldn't surprise me | ||
TimToady | no, I'm saying probably not that, now... :) | ||
more likely localized power failure | 19:20 | ||
so if a flood, probably only someone's basement | |||
Su-Shee | I get this IP for feather.nl: 194.165.34.128 | ||
Wolfman2000 | connection refused for SSHing purposes | 19:21 | |
TimToady | well, probably hasn't got a lot to do with perl6.nl | ||
Wolfman2000 | ...should we perhaps mirror some of the synopses somewhere? | 19:22 | |
moritz_ has a local git mirror of the docs/ dir | 19:23 | ||
Wolfman2000 | moritz_: I meant a web accessible mirror | ||
moritz_ | Wolfman2000: perl6.cz/wiki/Synopses/en | ||
frettled | My traceroute to feather.nl completes nicely. | ||
moritz_ | frettled: but we're interested in feather.perl6.nl | ||
frettled | ah, duh :) | 19:24 | |
Wolfman2000 | I don't think line numbers work too well with the wiki page moritz_ | ||
moritz_ | Wolfman2000: right | ||
frettled | The nameservers for perl6.nl are in the same RIPE IP range, at least, which is not BCP. | 19:25 | |
(and hasn't been for at least 15 years) | 19:26 | ||
moritz_ | BCP? | ||
frettled | none of them respond. | ||
moritz_: best current practice | |||
TimToady | or maybe the creditors pulled the plug, literally... | 19:27 | |
frettled | ooh, even worse, the nameservers for the nameservers are the nameservers themselves. | ||
foot shot. | |||
Wolfman2000 | ah, more undefined types...here we go | ||
undef, fail, Nil, Object, Whatever, and Failure | |||
TimToady | Num, Int, Str etc. as well | 19:28 | |
rakudo: say Num.defined | |||
p6eval | rakudo 5e05b8: OUTPUT«0» | ||
moritz_ | rakudo++ | ||
diakopter | TimToady: I think feather hosted DNS for perl6.nl at some point as well... | ||
frettled | Dordrecht. When I visited with Abigail this fall, we went to Dordrecht after photographing windmills. | ||
Wolfman2000 | rakudo: say -9999999999 > -Inf; | 19:29 | |
p6eval | rakudo 5e05b8: OUTPUT«1» | ||
diakopter | did you tilt the camera slightly? | ||
Wolfman2000 | just checking | ||
frettled | diakopter: probably | ||
diakopter | oh good | ||
TimToady | yeah, the bottom half of a windmill isn't terribly interesting | 19:30 | |
Wolfman2000 | ...a polymorphic type? When did I miss this? | ||
TimToady | CS 201? | ||
Wolfman2000 | rakudo: my Int|Num $test = 1; $test += 0.5; say $test; | 19:31 | |
p6eval | rakudo 5e05b8: OUTPUT«Malformed declaration at line 2, near "Int|Num $t"in Main (file <unknown>, line <unknown>)» | ||
Wolfman2000 | :( | ||
TimToady | that syntax is unlikely to work in the long run | ||
Wolfman2000 | are there plans for alternate syntax? | 19:32 | |
TimToady | both | and & already mean something else in signatures | ||
not yet | |||
19:32
jaffa8 left,
[1]jaffa8 is now known as jaffa8
|
|||
Wolfman2000 | ∪ This is the union shape. What can be an equivalent to this... | 19:33 | |
TimToady | we're not in a hurry to add unions as storage types | ||
frettled | TimToady: oh, the bottom half of the windmill is more exciting, that's where all the cool stuff is. | ||
TimToady | but that's inside where you can't see it from the outside | 19:34 | |
Wolfman2000: and you can already add unioned constraints by defining a subset type | 19:35 | ||
you just can't have a variable whose type is a subset type | |||
frettled | The outside has the brake, the sail adjustment, the gates, the water paddle access, the door, the windows, the pier, ... | ||
TimToady | just a variable whose type is constrained to match the subset type | ||
Wolfman2000 | ...then what kind of type is a good name for both Int and Num? | 19:36 | |
19:36
juerd joined
|
|||
frettled | Num! | 19:36 | |
moritz_ | Real | ||
Numeric | |||
juerd | In case you're wondering why feather's unreachable: our fiber uplink is dead :( | ||
TimToady | Wolfman2000: the trouble is that you're meaning more than one thing by "type" | ||
Wolfman2000 | Got any Phoenix Downs? | ||
diakopter | get out the polisher | ||
moritz_ | juerd: good to know, thanks | 19:37 | |
frettled | juerd: yep, I can see that it took your DNS and hosting provider out, you could mention to them that having at least one NS in a different physical location is a Good Thing™ | ||
juerd: tough luck, though :( | 19:38 | ||
Wolfman2000 | ...in all seriousness, is there a way to revive the uplink? | ||
juerd | frettled: I am my DNS and hosting provider. | ||
TimToady | on one level, there is no such thing as something which is both Int and Num | ||
frettled | juerd: aha. Well, tell yourself, then. :D | ||
TimToady | on another level, an Int is a kind of Num | ||
juerd | frettled: An off-site DNS server is going to be set up in the next two months. | ||
It used to be entirely useless as the DNS only pointed to hosts behind the same connection. | 19:39 | ||
frettled | And now I see the connection between your nae and that of the tech-c - heh, slow me. | ||
juerd | Wolfman2000: A switch is broken. The connection can be revived by fixing or replacing the switch. Our fiber supplier's engineers are working on it. | ||
TimToady | biab & | 19:40 | |
19:40
kidd` joined
|
|||
Wolfman2000 | *nods to all conversations...plenty to take in* | 19:40 | |
frettled | Wolfman2000: hee-hee :) | ||
juerd: don't you just love this kind of situation? | |||
juerd | frettled: No, I'm furious. | 19:41 | |
19:41
Su-Shee left
|
|||
juerd | Especially since it is the third time in a few months. | 19:41 | |
frettled | juerd: yow | ||
juerd: that's way too often | |||
juerd | It's no use being furious outside office hours though. | ||
(20:41 here) | |||
frettled | juerd: we've been bitten similarly at my workplace, but we have four redundant fiber links, so it hasn't hurt _much_ | 19:42 | |
juerd | We can't possibly afford that. | ||
zaslon | lolmoritzhazblogged! moritz++ 'Perl 6: Lost in Wonderland': perlgeek.de/blog-en/perl-6/lost-in-...rland.html | ||
juerd | This single link costs us over 2000 EUR/month. | ||
frettled | Look on the bright side; it's cheaper than a 56 kbps Atlantic link was in 1995. ;) | 19:44 | |
Does your SLA give you some kind of compensation? | 19:45 | ||
diakopter | moritz_: typo - Plant Perl | ||
moritz_ | he ;-) | ||
juerd | frettled: Yes, but that's but a fraction of the actual loss, which is mostly one of reputation. | 19:46 | |
moritz_ | that's a problem with English - far too many typos produce valid words again | ||
which my spell checker can't catch, obviously | |||
Wolfman2000 | If anyone is able to teach me ひらがな properly so I don't have to worry about english, by all means let me know. | ||
Wolfman2000 is more a math person than an english person | 19:47 | ||
frettled | Wolfman2000: I'm quite sure you can have interesting typos in ひらがな as well. | ||
Wolfman2000 | bah | ||
mdxi | and if you always write in hiragana, you read like a 5 year-old :) | ||
Wolfman2000 | mdxi: I know very little hiragana and katakana. The only kanji I really know is from playing DDR | 19:48 | |
mdxi | ("read" as in "sound like", not "read" as in "have the reading comprehension of") | ||
frettled | juerd: mm. It took a while before my company could expand from having two lines to three to four. Also, digging ditches in Oslo is expensive, around EUR 1200/m. | ||
juerd | It's a bit cheaper here, but we're on an island. Crossing water is not that cheap. | 19:49 | |
19:49
SmokeMachine left
|
|||
arnsholt | Wolfman2000: Well, learning languages is to a certain extent more a math thing than an English thing =) | 19:50 | |
Wolfman2000 | ...laptop is on low power. great. well, my time is almost up for this time of day anyway. | ||
arnsholt: I find that hard to believe. | |||
arnsholt | Well, I might be a bit of a weirdo. But I find the systems of language (syntax, morphology and so on) to quite amenable to a somewhat "mathematical" approach | 19:51 | |
Wolfman2000 | ...I think we're all slightly weirdoes technically. | 19:53 | |
I mean, we are trying to work on a new language | |||
19:53
jan_ joined
|
|||
arnsholt | Heh | 19:53 | |
pnate2 | language learning is logical | 19:54 | |
language acquisition is unconscious and intuitive | |||
frettled | juerd: I hope that you get your link back quickly! | 19:55 | |
pnate2 | so says krashen anyway | ||
arnsholt | pnate2: Very well put | ||
pnate2 | i think there's a place for both | ||
but it depends on what you are trying to do with it | |||
arnsholt | Absolutely, you definitely need both. But I feel that the common perception of language places too much emphasis on the intuitive bit | 19:56 | |
So I try to remedy that situation whenever I can =) | |||
Wolfman2000 | alright, I'm out for now. I should be back before 8 PM EST | ||
19:56
Wolfman2000 left
|
|||
frettled | arnsholt: by being counter-intuitive? | 19:57 | |
pnate2 | i have actually experienced the opposite | 19:59 | |
arnsholt | frettled: I suppose it might be a bit counter-intuitive. But that doesn't mean it's false =) | ||
pnate2 | but that's probably because i've spent too much time in university | ||
with students whose goals are very practical | |||
diakopter | moritz_: 'In that cases' -> 'In those cases' or 'In that case' | ||
pnate2 | the application of the logic is beyond them | 20:00 | |
diakopter | moritz_: 'often takes time find' -> 'often takes time to find' | ||
frettled | What's seemingly intuitive often isn't. | ||
arnsholt | pnate2: Who is this Krashen person, BTW? Sounds like someone I should learn about | ||
pnate2 | american second language instruction guy | ||
en.wikipedia.org/wiki/Stephen_Krashen | |||
very pragmatic | 20:01 | ||
moritz_ | diakopter: thanks, fixed | ||
pnate2 | basically he says that competence in a second language can only be acquired, not learned, and language use is too complex for the conscious mind to handle | 20:02 | |
which i think is a little defeatist but probably true at the present time | |||
i think a lot of people don't like perl 5 because it's hard to learn | 20:03 | ||
but i've acquired it just fine | |||
and if you read some of larry wall's stuff he talks about that too | |||
arnsholt | pnate2: That looks very interesting. Thanks | ||
But it'll have to wait 'till I manage to finish Women, Fire and Dangerous Things, which I just started | |||
pnate2 | haha i was just in a discussion the other day where that was mentioned | 20:04 | |
haven't read it myself | |||
arnsholt | I've only read the first 30 pages or so yet. But it looks promising | ||
20:05
dalek joined
|
|||
diakopter | dalek: wb | 20:05 | |
dalek: you so speedy | 20:06 | ||
arnsholt | pnate2: From your summary of what he says, it sounds like I agree. Some parts of language have to be learned, but you also need those unconscious leaps of imagination to grasp some other things | ||
It's an interesting perspective on Perl 5 as well | 20:07 | ||
pnate2 | the argument basically centers on the fact that no one understands how human language works | ||
20:07
juerd left
|
|||
pnate2 | and so the point of language acquisition (e.g., teaching someone spanish) is not to understand how spanish works but to learn to speak and understand spanish | 20:07 | |
of course learning how spanish works is also a worthy goal | 20:08 | ||
20:08
pmichaud joined
|
|||
pnate2 | but it's not one anyone should be pretending to teach | 20:08 | |
20:08
hatsefla1s joined,
Juerd joined,
jnthn joined
|
|||
arnsholt | Yeah. Unfortunately some parts of language acquisition (I hate spelling that word) are really, really hard to do without immersion in the language's culture | 20:09 | |
pnate2 | computers are way better than people for that reason | ||
you can always take it apart | |||
20:09
pugs_svn joined
|
|||
frettled | I think that the mechanisms for learning are fascinating. | 20:09 | |
20:10
Infinoid_ joined,
Infinoid left
|
|||
pnate2 | yeah, i'm not sure anyone really has a very good grasp on what goes on in the human mind at the moment | 20:10 | |
arnsholt | Yeah. But then again the sheer complexity of human systems does make them such a tempting intellectual target =) | ||
frettled | Nevermind specifics like language, maths, topology, and whatnot - learning learning, that's what's really cool :) | ||
pnate2 | certainly analogies to computers are not very well done | ||
frettled | especially given how poorly people understand computers | ||
pnate2 | hahaha | ||
frettled | One of the erroneous paradigms I think has been particularly frustrating and entertaining is one that has changed with time: | 20:11 | |
- Computers can only do one thing at a time, just like the human brain. (I.e.: computer as an analogy to the brain) | 20:12 | ||
that one transformed into: | |||
- The human brain can only do one thing at a time, just like computers. | |||
20:13
juerd_ joined
|
|||
diakopter | I recommend imagining several impossible things before breakfast. | 20:13 | |
frettled | So when a snotty kid (e.g. me) points out that the computer _does_ do several things at a time, and that apparently my brain does, too, the person with the analogy recurses into an infinite loop of circular logic. | ||
arnsholt | Kim Stanley Robinson makes a good point in one of his Mars books. In the age of steam, the mind was compared to a steam machine. In the age of computers we compare it to a computer. Always the most complicated machine we possess =) | ||
frettled | yup | 20:14 | |
Or, as a friend of mine would say, «bah, humans!» | 20:17 | ||
20:18
PerlJam joined
20:21
jhorwitz left
20:22
juerd_ left
20:30
hatsefla1s is now known as hatseflats
20:41
ruoso left
|
|||
TimToady | the mind is like the Internet... | 20:47 | |
jnthn | Full of spam and lolcats? | 20:49 | |
frettled | The mind is like TimToady. | ||
20:50
brunov left
|
|||
TimToady | I knew that... | 20:50 | |
20:53
[1]jaffa8 joined
20:58
stephenlb left
20:59
jaffa8 left,
[1]jaffa8 is now known as jaffa8
21:00
payload left
|
|||
colomon | TimToady: If you've got a sec, I've been thinking about uniq again. | 21:01 | |
TimToady | and if I don't, you haven't? :) | 21:03 | |
colomon | :) | 21:04 | |
The current O(N^2) non-hash implementation we have takes an optional parameter which is an equalitry test. | 21:06 | ||
Seems like something like that would be nice for the hypothetical much-improved hash version. | |||
moritz_ | is uniq() even specced? | ||
colomon | Maybe takes a hashing function, or something like that? | ||
moritz_: It wasn't last time I checked. | 21:07 | ||
I'm trying to slowly but surely make the spec happen. :) | |||
21:07
zaphar_ps joined
|
|||
moritz_ | an unary transformation function much like sort() takes would be kinda useful | 21:07 | |
colomon is pretty sure "equalitry" isn't actually a word... | 21:08 | ||
21:08
desertm4x_ left
|
|||
colomon | moritz_: going to have to check the specs on that... | 21:11 | |
moritz_ | rakudo: say <5 3 4 1 2>.sort: -* | ||
p6eval | rakudo 5e05b8: OUTPUT«54321» | 21:12 | |
TimToady | I'd say there's probably a generic Set role that may be instantiated with various notions of identity | 21:13 | |
colomon | woah. it does an automatic Schwartzian transform. | ||
21:13
stephenlb joined
|
|||
colomon | TimToady: would you then use Set internally in uniq instead of a hash? | 21:14 | |
TimToady | probably a KeySet, since it's mutable, and not really a single set | ||
colomon | (and there's not actually a Set role for that yet, right?) | ||
TimToady | we just have hashes so far, which is what a KeySet is if you scratch it | 21:15 | |
but we don't have object hashes yet | 21:16 | ||
which would default to === rather than eqv semantics | |||
colomon | TimToady: right, we discussed the object hashes thing WRT uniq the other day. | 21:17 | |
Huh. We don't have implementations for most of these container types yet, do we? | 21:18 | ||
(In rakudo, I mean.) | 21:19 | ||
TimToady | nope, not yet | ||
colomon | Seems like an interesting opportunity for someone with time on his hands. (Not really me at the moment.) | ||
TimToady | it does bring up the interesting question of how to declare such an array with a user-supplied identity function, when that is not known till run time | 21:20 | |
maybe it's just a mixin | |||
moritz_ | TimToady: speaking of which... is eqv supposed to dispatch to a method? | 21:21 | |
TimToady | no, it's a function | 21:22 | |
whose full name is infix:<eqv> | 21:23 | ||
moritz_ | I was just wondering, because some classes might want to override that | 21:24 | |
and the visibility of an overridden eqv operator is limited | |||
sjohnson | rakudo: my $str = "Goose"; $str ~~ /(g|G)(oo)se/; print "_$1_$2_"; | 21:25 | |
p6eval | rakudo 5e05b8: OUTPUT«Use of uninitialized value_oo__» | ||
moritz_ | so it can easily happen that an object is passed to a routine which uses eqv, but doesn't see the overridden op | ||
sjohnson: they are spelled $0 and $1 in Perl 6 | |||
sjohnson | moritz_: thanks... i keep forgetting :[ | ||
rakudo: my $str = "Goose"; $str ~~ /(g|G)(oo)se/; print "_$0_$1_"; | 21:26 | ||
p6eval | rakudo 5e05b8: OUTPUT«_G_oo_» | ||
colomon | moritz_: Yeah, I'm still suspecting a lot of code is going to want to use "lift" by default. | ||
moritz_ | lift is ugly | ||
sjohnson | rakudo: my $str = "Goose"; if ($str ~~ /[g|G](oo)se/; print "_$1_"; | ||
p6eval | rakudo 5e05b8: OUTPUT«Confused at line 2, near "($str ~~ /"in Main (file <unknown>, line <unknown>)» | ||
moritz_ | because if just one routine in the call chain forgets it, everything from there on is lost | 21:27 | |
in other words NOT WANT | |||
21:27
jaldhar left
|
|||
colomon | rakudo: my $str = "Goose"; if ($str ~~ /[g|G](oo)se/; say $0; say $1; | 21:27 | |
21:27
jaldhar joined
|
|||
p6eval | rakudo 5e05b8: OUTPUT«Confused at line 2, near "($str ~~ /"in Main (file <unknown>, line <unknown>)» | 21:27 | |
colomon | moritz_: I'm very much with you on that... | 21:28 | |
moritz_ | sjohnson: imbalanced ( | ||
sjohnson | TimToady: will the [g|G] act as (g|G) in p5, except that it won't write to a $[number] variable? | ||
colomon | rakudo: my $str = "Goose"; if $str ~~ /[g|G](oo)se/ { say $0; say $1; } | ||
p6eval | rakudo 5e05b8: OUTPUT«ooUse of uninitialized value» | ||
sjohnson | maybe i miss understood one of your suggestions | ||
moritz_ | it's the same as (?:g|G) in Perl 5 | ||
so "yes" | |||
sjohnson | moritz_: at what point, does the [] not stuff the match inside into a $0.. $1.. etc | 21:30 | |
moritz_ | [] is non-capturiing and grouping. | ||
sjohnson | oh i c | ||
rakudo: my $str = "Goose"; if $str ~~ /[g|G](oo)se/ { say $0; } | |||
p6eval | rakudo 5e05b8: OUTPUT«oo» | 21:31 | |
moritz_ | as you described it, if I understood you correctly | ||
sjohnson | it was just colomons $1 that did not get stored which produced the perfect error | ||
but i mistook it as not doing what i hoped it would do | |||
sjohnson dances | |||
thanks colomon and moritz_ | |||
colomon | you're welcome. | 21:32 | |
moritz_: I would definitely love to see operators treated as first-class citizens next to class methods (ie no need for lift). But my impression last time I brought this up was that it was a hopeless cause? | 21:33 | ||
moritz_ | colomon: they are first-class, but in a different first class than methods ;-) | 21:34 | |
joining those two separate first classes was considered bad | |||
colomon 's dad would start quoting Animal Farm at this point. | |||
moritz_ | no need ;-) | ||
in some ways we "fix" this by having ops re-dispatch to methods | 21:35 | ||
TimToady | I don't see a general solution, but in this specific case, we're talking about operators for which both arguments must be the same type | ||
moritz_ | prefix:<~> to .Str, infix:<~~> to ACCEPTS etc. | ||
colomon | Is prefix:<~> just a dispatch to .Str? I thought there was a difference there (like prefix:<+> and .Num). | 21:36 | |
TimToady | so single dispatch might make more sense, if we can guarantee that people don't start writing eqv methods that allow differing types, in which case we're reallhy back to needing multisubs | ||
moritz_ | we could have sub infix:<eqv>($a, $b) { $a.WHAT === $b.WHAT ?? $a.eqv($b) !! False } | 21:37 | |
or so | |||
but I still don't see a general solution | 21:38 | ||
TimToady | well, other than the usual solution of making all multisubs global, which has its own problems | 21:39 | |
colomon | I guess I still don't understand the problem with having operators dispatch like methods? | ||
moritz_ | colomon: if you'd want to define an infix:<+>(undef, YourType) you'd have to monkey-patch Object | 21:40 | |
if it were dispached as method on the first argument | |||
TimToady | anyway, the single dispatch eqv semantics would be more like $a.WHAT.eqv($a,$b) | ||
spinclad | std: sub foo(Num @array) { say @array.perl }; foo(my Num @ = (1, 2, 3)) | 21:41 | |
p6eval | std 28993: OUTPUT«ok 00:02 119m» | ||
spinclad | rakudo: sub foo(Num @array) { say @array.perl }; foo(my Num @ = (1, 2, 3)) | ||
p6eval | rakudo 5e05b8: OUTPUT«Malformed declaration at line 2, near "Num @ = (1"in Main (file <unknown>, line <unknown>)» | ||
spinclad | rakudo: sub foo(Num $item) { say $item.perl }; foo(my Num $ = (1, 2, 3)) | 21:42 | |
TimToady | arguably, std should not have accepted that | ||
p6eval | rakudo 5e05b8: OUTPUT«Malformed declaration at line 2, near "Num $ = (1"in Main (file <unknown>, line <unknown>)» | ||
spinclad | rakudo: sub foo(Num $item) { say $item.perl }; foo(my Num $x = (1, 2, 3)) | ||
p6eval | rakudo 5e05b8: OUTPUT«Assignment type check failed; expected Num, but got Arrayin Main (file <unknown>, line <unknown>)» | ||
spinclad | rakudo: sub foo(Num $item) { say $item.perl }; foo(my Num $x = 1) | ||
p6eval | rakudo 5e05b8: OUTPUT«1» | ||
spinclad | rakudo: sub foo(Num @array) { say @array.perl }; foo(my Num @s = (1, 2, 3)) | ||
TimToady | std: foo(@foo = 1,2,3) | 21:43 | |
p6eval | rakudo 5e05b8: TIMED_OUT | ||
std 28993: OUTPUT«Potential difficulties: Variable @foo is not predeclared at /tmp/ycMO3bkoyV line 1:------> foo(@foo⏏ = 1,2,3)Undeclared routine: foo used at line 1ok 00:02 107m» | |||
TimToady | std: sub foo() {...}; my @foo; foo(@foo X @foo) | 21:44 | |
p6eval | std 28993: OUTPUT«===SORRY!===Unable to parse argument list; couldn't find final ')' at /tmp/Y4yKJcwSGP line 1:------> sub foo() {...}; my @foo; foo(@foo X⏏ @foo) expecting an infix operator with precedence tighter than list infixFAILED 00:02 113m» | ||
sjohnson | Q: in p6, is there any real difference, if you code things like, 1) join(/ /, @stuff) 2) join / /, @stuff, 3) join (/ /, @stuff); | ||
TimToady | std: sub foo() {...}; my @foo; foo(@foo = @foo) | ||
p6eval | std 28993: OUTPUT«ok 00:01 110m» | ||
TimToady | arguably that shouldn't allow list assignment there | 21:45 | |
3 is wrong | |||
sjohnson | TimToady: is it because of the space after "join"? | 21:46 | |
TimToady | well, that plus the parens | ||
which makes a single argument to the join listop | 21:47 | ||
sjohnson | is this any different than p5? my vim perl5 syntax checker makes different colors for these, and i am not sure which one is the best | ||
i suppose join / / => @stuff; might be the best? | 21:48 | ||
TimToady | it's very different from P5, where the space didn't matter, only the parens | ||
sjohnson: that won't work either | |||
spinclad | rakudo: sub foo(Num $item) { say $item.perl }; foo(my Num $x = '1') | ||
p6eval | rakudo 5e05b8: OUTPUT«Assignment type check failed; expected Num, but got Strin Main (file <unknown>, line <unknown>)» | ||
TimToady | => is not a synonym for , in p6 | ||
spinclad | my Num $x = '1' | ||
rakudo: my Num $x = '1' | 21:49 | ||
p6eval | rakudo 5e05b8: OUTPUT«Assignment type check failed; expected Num, but got Strin Main (file <unknown>, line <unknown>)» | ||
moritz_ | sjohnson: why would you want to join by a regex | ||
? | |||
TimToady | that too | ||
spinclad | well, there goes my idea: doesn't coerce | ||
sjohnson | moritz_: sorry, i'm used to splitting by regex's | ||
and my brain just thought of join instead of split :( | |||
sjohnson stabs brain | 21:50 | ||
spinclad gently takes icepick away | |||
hugme: hug sjohnson | 21:51 | ||
ENOFEATHER | |||
moritz_ hugs sjohnson | |||
sjohnson | :) | ||
TimToady hugs *, but * does not reciprocate | |||
21:51
hugme joined
|
|||
moritz_ | akshually feather is back, but hugme is too stupid to autorejoin | 21:52 | |
sjohnson | i think perl is so good because it is the closest (or only) language i have ever found that can be considered "right brain programming" | ||
TimToady | My right brain is not always in my right mind... | 21:53 | |
masak | moritz_++ # perlgeek.de/blog-en/perl-6/lost-in-...rland.html | ||
moritz_ | and diakopter++ for fixing three typos/grammeros in the that blog entry ;-) | 21:54 | |
21:55
brunov joined
|
|||
TimToady | sjohnson: and if you think you want split / /, you probably want .words | 21:55 | |
diakopter | moritz_: grammaros even! | ||
ba-dum-ching | 21:56 | ||
sjohnson | TimToady: words == /\s+/ ? | ||
TimToady | if they're even, ?^ will cancel them out | ||
.words = .comb(/\S+/) | 21:57 | ||
sjohnson | diakopter: members.shaw.ca/smujohnson/snd/garlaff.mp3 | ||
21:57
fax left
|
|||
sjohnson | TimToady: ty | 21:57 | |
maybe i could write a p6 function help bot | |||
!help comb | |||
21:58
fax joined
|
|||
sjohnson googles | 21:58 | ||
21:59
hugme left,
hugme joined
|
|||
moritz_ | hugme now has autorejoin | 21:59 | |
21:59
TimToady sets mode: +vvv dalek hugme iblechbot,
TimToady sets mode: +vvvv ilbot2 ilogger2 IRSeekBot lambdabot,
TimToady sets mode: +vvvv lisppaste3 mubot p6eval phenny,
TimToady sets mode: +vvv pointme pugs_svn zaslon
|
|||
sjohnson | hugme: hug everyone | 21:59 | |
hugme hugs everyone | |||
diakopter | hugme: hug herself | 22:00 | |
hugme hugs herself | |||
22:01
cotto_work left
|
|||
TimToady | hugme: hug everyone who deserves it | 22:01 | |
hugme hugs everyone who deserves it | |||
22:01
cotto_work joined
|
|||
diakopter | hugme: hug himself | 22:02 | |
hugme hugs himself and blushes | |||
diakopter | oo | ||
TimToady feels a geezer nap coming on | 22:03 | ||
diakopter | hugme: hug ourselves | ||
hugme hugs ourselves | |||
TimToady | zzz & | ||
sjohnson | naps are great | ||
22:08
Whiteknight joined
22:21
FullMetalHarlot joined,
tak11 joined
22:22
mberends left
22:23
KatrinaTheLamia left,
FullMetalHarlot is now known as KatrinaTheLamia
22:26
dukelet0 joined
|
|||
dukelet0 | howdy! just a heads up: the machine that updates the parrot github mirror died and I am currently attempting to get stuff set back up. so it might not get updated until later today | 22:26 | |
22:26
kidd` left
22:30
kidd` joined
|
|||
sjohnson | hi | 22:31 | |
22:42
dakkar left
22:44
synth left
22:49
synth joined
22:57
iblechbot left
|
|||
zaslon | lolmasakhazblogged! masak++ 'November 5 2009 -- hanging in there': use.perl.org/~masak/journal/39847?from=rss | 22:58 | |
masak backlogs | 23:00 | ||
I agree that the Num @array thing is a bit of a wtf. | |||
23:03
kidd` left
|
|||
jnthn waves at masak | 23:04 | ||
masak | jnthn: oh hai there! | ||
jnthn is getting more bits back in place in Rakudo * :-) | 23:06 | ||
erm | 23:07 | ||
in ng | |||
gah | |||
:-) | |||
EBRANENOTWORKING | |||
masak: Did you figure out the hotel thingy in Riga yet? | |||
23:08
frederico left
|
|||
jnthn | masak: I was just looking | 23:09 | |
They haz an offer. | |||
But I can't quite figure out their math. :-) | 23:10 | ||
masak | jnthn: no, not yet. but I'm ready when you are. | ||
jnthn | Erm, because I seem to be able to select a 3 night special deal. Even though...Ineed 4 nights. :-/ | ||
masak | thu, fri, sat, sun. | 23:11 | |
jnthn | Anyway, I'm looking at the website and it says like "Konventa hotel offers special price for attendees of Baltic Perl Workshop: 50 € per night (single or double room)" | ||
masak | that's us. | ||
jnthn | However even putting the slight wtf special offer thingy aside, when I just go into the system to book anyway, it's like 50 EUR a night for a single room... | 23:12 | |
masak | :) | ||
so the special price is not so special after all? | |||
jnthn | Appears not. | 23:13 | |
Site is www.konventa.lv/ and all in English btw | |||
I'm still a tad perplexed by the 3 night offer for a 4 night stay. ;-) | |||
diakopter | does Andrew Shitov visit #perl6 ..? anyone know? | 23:14 | |
jnthn | Not afaik - you looking for him? | ||
I have an email addy if you're missing that. | |||
masak | diakopter: I can't remember if I've ever seen him here. so he's not a regular, anyway. | 23:15 | |
23:15
nihiliad left
|
|||
masak | jnthn: I haven't found the BPW wording yet. but is it conceivable that the 3-night special offer does not concern us BPW goers? | 23:16 | |
jnthn | Oh, I think that's some offer the hotel has on. | ||
I don't think it's anything to do with BPW. | |||
I just think they may haz a bug in their site. ;-) | |||
masak | so you're booking now? | 23:17 | |
jnthn | Might do, since I've got it in mind. | ||
masak | I might as well too. | ||
jnthn | Otherwise I'll only forget and procrastinate it until a few days before or something. | ||
masak | nod. | 23:18 | |
jnthn | oh heh | ||
if we book a suite there's not only free wifi, but the room as the internet in it. | |||
masak | \o/ | ||
jnthn | The whole intertubes! \o/ | ||
masak | I've always wanted that room! | ||
cotto_work | your hotels are way better than the ones in the states. I never get a room with the Internet in it. | 23:19 | |
masak | jnthn: a bit into the booking process, I get an option of four nights for 111 EUR. | 23:20 | |
apparently, that's the "Special Autumn Offer". | |||
jnthn | masak: Well, that's the fial. | ||
Yes, but read the details of the offer. ;_) | 23:21 | ||
masak | by my math, that's a lot better than 50 EUR a night. | ||
"Book 3 night stay in our cosy hotel, but pay only for 2 and choose a tempting meal from Month’s Special Menu!" | |||
jnthn | Yes but | ||
masak | oh wtf. | ||
diakopter | someone said andrew shitov was demoing a new Perl 6 compiler | ||
jnthn | Thu 19/11 to Mon 23/11, 4 nights | ||
diakopter: oh, I've seen that | |||
diakopter | what is it | ||
masak | jnthn: I'm thinking I should call them up and sort this out. | ||
or email them. | 23:22 | ||
diakopter | someone speaks euros? | ||
jnthn | masak: Yeah | ||
masak | [email@hidden.address] | ||
masak emails them | |||
jnthn | masak: OK, cool - let me know the outcome. :-) | ||
masak++ | |||
masak | diakopter: oui, ich speak Euros, porquoi sie ask? | 23:23 | |
jnthn | diakopter: It's basically a proof that if you implement a tiny subset of Perl 6, you can make it 10,000 times faster than Rakudo. :-) | ||
diakopter: Basically by writing a Perl 6 to C++ translator. | |||
diakopter | oh | 23:24 | |
jnthn | I mean, it's not surprising you're fast if you translate my $x = $y + $z to having x, y and z be C++-level variables and the code is the C++ + operator. :-) | 23:25 | |
I rather guess that once lexical scopes, multi-dispatch and overloading land in it, it won't be 10,000 times faster. | |||
:-) | |||
IMO, I think it's more a toy than a serious Perl 6 implementation effort. | 23:26 | ||
diakopter | wait, so, it requires g++ too? | 23:27 | |
er something | |||
jnthn | I guess so. | 23:28 | |
Oh, I guess eval gets fun too. ;-) | |||
I guess you can compile a dyanmic library and then dlopen it... | 23:29 | ||
Anyway, IMO, interesting in that it maybe gives an idea of the bounds to which Perl 6 *could* be optimized. | |||
diakopter | well | 23:30 | |
jnthn | But not interesting in terms of something that could grow to really support Perl 6. | ||
colomon | I wouldn't scoff too much, if a full-featured Perl 6 to C++ translator existed, I'd probably use it for something things. | ||
diakopter | what was the microbenchmark exactly | ||
colomon | (but I expect it would be a nightmare to write, of course.) | ||
jnthn | colomon: I'm not scoffing, I'm just pointing out that this approach probably is going to run into issues fairly fast. | 23:31 | |
diakopter: I forget exactly, there was a couple I think. Mostly loops and integer operations though. | |||
masak | jnthn: there, email sent. you got a blind carbon copy. | 23:34 | |
jnthn | masak: Thanks very much! | ||
masak | that was a gun mail to write. :) | ||
looking forward to the reply (which I will forward). | |||
jnthn | Probably better English than if I'd written in too. :-) | 23:35 | |
masak | oh, I don't know about that. | ||
jnthn | "oh hai i can haz rezervashun?" | ||
:-) | |||
masak: Mail looks fine. | 23:36 | ||
masak | as a Swede, I suffer from the wide-spread delusion that I know English. | ||
jnthn | :-) | ||
Strange that. | |||
masak | jnthn: good. | ||
now, time for sleep. | |||
jnthn | I can't imagine why anybody would think you know English. ;-) | ||
masak waves | |||
jnthn | night o/ | ||
arnsholt | masak: The fact that you realize that Scandinavians don't have a god-given gift at English means that you're ahead of the game | ||
Way ahead =) | |||
masak | arnsholt: :) | 23:37 | |
23:37
masak left,
SmokeMachine joined,
brunov left
23:42
tak11 left
23:43
tak11 joined,
xabbu42 joined
23:45
jaffa8 left
|