»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend! Set by sorear on 25 June 2013. |
|||
benabik | r-p: 1782**12+1841**12-1922**12 | 00:00 | |
camelia | ( no output ) | ||
benabik | r-p: say 1782**12+1841**12-1922**12 | 00:01 | |
camelia | rakudo-parrot 215ba6: OUTPUT«-700212234530608691501223040959» | ||
00:10
rurban_ left
00:12
denisboyun left
00:16
Mouq left
00:23
rurban_ joined
00:26
Mouq joined
|
|||
TimToady | p: &circumfix:«{"{ }".words}»(4,5).say | 00:36 | |
camelia | rakudo-parrot 215ba6: OUTPUT«===SORRY!===Null PMC access in get_bool()» | ||
TimToady | lue: note that Str|Int cannot ever work in modern Perl 6, since | has been stolen to mean something else | 00:37 | |
(in siggie kinds of things) | 00:38 | ||
00:39
denysonique_ is now known as denysonique
|
|||
TimToady | p: &circumfix:«{'{'} {'}'}}»(4,5).say | 00:39 | |
camelia | rakudo-parrot 215ba6: OUTPUT«===SORRY!===Null PMC access in get_bool()» | ||
lue | TimToady: so I'm guessing that conjectural bit is garbage now? Or does it just need new syntax? | ||
TimToady | that section is completely petrified | 00:40 | |
and the whole thing turned out to be a can of semantic worms with very little social redeeming value | 00:43 | ||
lue | Int⦀Str :) | 00:44 | |
TimToady: I can tell it's old by the fact it references "Perl 6.0.0" instead of "Perl 6" ( Not that .0.0 isn't something to talk about nowadays, but we don't think of this as "the initial version of P6" much anymore :) ) | 00:45 | ||
TimToady | r: say «{4 + 2} 4+2».perl | 00:46 | |
camelia | rakudo-jvm 882e33: OUTPUT«java.lang.OutOfMemoryError: Java heap space in (gen/jvm/CORE.setting) in (gen/jvm/ModuleLoader.nqp:349) in load_setting (gen/jvm/ModuleLoader.nqp:340) in (src/Perl6/World.nqp:304) in load_setting (src/Perl6/World.nqp:300) in (src…» | ||
..rakudo-parrot 215ba6: OUTPUT«(("6",).list, "4+2")» | |||
TimToady | r: say (6,'4+2') | 00:47 | |
lue | TimToady: shall I purge the Polymorphic type section in S02 then? | ||
camelia | rakudo-jvm 882e33: OUTPUT«java.lang.OutOfMemoryError: Java heap space in (gen/jvm/CORE.setting) in (gen/jvm/ModuleLoader.nqp:349) in load_setting (gen/jvm/ModuleLoader.nqp:340) in (src/Perl6/World.nqp:304) in load_setting (src/Perl6/World.nqp:300) in (src…» | ||
..rakudo-parrot 215ba6: OUTPUT«6 4+2» | |||
TimToady | p: say «{4 + 2} 4+2» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«64+2» | ||
TimToady | so where's the space? | 00:48 | |
p: say ((6,),'4+2') | |||
camelia | rakudo-parrot 215ba6: OUTPUT«6 4+2» | ||
lue | n: say «{4 + 2} 4+2» | ||
camelia | niecza v24-98-g473bd20: OUTPUT«6 4+2» | ||
colomon | r: say "64 + 2" | ||
camelia | rakudo-jvm 882e33: OUTPUT«java.lang.OutOfMemoryError: Java heap space in (gen/jvm/CORE.setting) in (gen/jvm/ModuleLoader.nqp:349) in load_setting (gen/jvm/ModuleLoader.nqp:340) in (src/Perl6/World.nqp:304) in load_setting (src/Perl6/World.nqp:300) in (src…» | ||
..rakudo-parrot 215ba6: OUTPUT«64 + 2» | |||
TimToady | p: say ((6,).list,'4+2') | 00:49 | |
camelia | rakudo-parrot 215ba6: OUTPUT«6 4+2» | ||
colomon | r-p: say "{4 + 2} 4+2" | 00:50 | |
camelia | rakudo-parrot 215ba6: OUTPUT«6 4+2» | ||
TimToady | p: say «{4 + 2} 4+2».perl.eval | ||
camelia | rakudo-parrot 215ba6: OUTPUT«6 4+2» | ||
colomon | n: say «{4 + 2} 4+2» | ||
TimToady | p: say «{4 + 2} 4+2» | ||
camelia | niecza v24-98-g473bd20: OUTPUT«6 4+2» | ||
rakudo-parrot 215ba6: OUTPUT«64+2» | |||
TimToady | here we have a value that doesn't round-trip through .perl.eval !!! | 00:51 | |
oh, wait, it does, just wrong :) | |||
p: say ('1','2').gist | 00:52 | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2» | ||
TimToady | p: say ('1'.list,'2').gist | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2» | ||
lue files quoteword space rakudobug | 00:53 | ||
TimToady | p: say (('1',).list,'2').gist | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2» | ||
TimToady | p: say «1 2» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2» | ||
TimToady scratches his head | |||
colomon | p: say «{1} 2» | 00:54 | |
camelia | rakudo-parrot 215ba6: OUTPUT«12» | ||
TimToady | p: say «{1} 2».perl | 00:55 | |
camelia | rakudo-parrot 215ba6: OUTPUT«(("1",).list, "2")» | ||
TimToady | p: say (("1",).list, "2") | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2» | ||
lue | p: say «1 {2} 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«123» | ||
lue | p: say «1 2 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
colomon | lue++ | ||
lue | p: say «1 see{2} 3» | 00:56 | |
camelia | rakudo-parrot 215ba6: OUTPUT«1 see23» | ||
lue | o.o | ||
p: say «1 see{2}it 3» | |||
camelia | rakudo-parrot 215ba6: OUTPUT«1 see2it 3» | ||
TimToady | p: say «1 {2} 3».perl.eval | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
TimToady | p: say «1 {2} 3».perl | ||
camelia | rakudo-parrot 215ba6: OUTPUT«("1", ("2",).list, "3")» | ||
lue | p: say «1 see{2}it 7 {8}9 10» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 see2it 789 10» | 00:57 | |
TimToady | p: say ("1", ("2",).list, "3") | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
TimToady | p: say ("1", ("2",).list, "3").gist | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
TimToady | p: say ("1", ("2",).list, "3").Str | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
TimToady | p: say ~("1", ("2",).list, "3") | 00:58 | |
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
TimToady | so, what's eating the space? | ||
p: say «1 {2} 3».WHAT | 00:59 | ||
camelia | rakudo-parrot 215ba6: OUTPUT«(Parcel)» | ||
TimToady | p: say «1 {2} 3».gist | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
lue | p: say qqw:/1 {2} 3/ | ||
camelia | rakudo-parrot 215ba6: OUTPUT«===SORRY!=== Error while compiling /tmp/co2LCoRvejColons may not be used to delimit quoting constructsat /tmp/co2LCoRvej:1------> say qqw:⏏/1 {2} 3/ expecting any of: colon pair (restricted)» | ||
lue | p: say qqw/1 {2} 3/ | 01:00 | |
camelia | rakudo-parrot 215ba6: OUTPUT«1 2 3» | ||
lue | ppphhhtt | ||
TimToady | p: say «1 '{2}' 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1{2}3» | ||
TimToady | n: say «1 '{2}' 3» | ||
camelia | niecza v24-98-g473bd20: OUTPUT«1 '2' 3» | ||
lue | p: say «1 \{ 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 { 3» | ||
lue | p: say «1 \{\} 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 {} 3» | 01:01 | |
TimToady | n: my $x = 2; say «1 '$x' 3» | ||
camelia | niecza v24-98-g473bd20: OUTPUT«1 '2' 3» | ||
01:01
woosley joined
|
|||
TimToady | p: my $x = 2; say «1 '$x' 3» | 01:02 | |
camelia | rakudo-parrot 215ba6: OUTPUT«1$x3» | ||
TimToady | p: my $x = 2; say «1 "$x" 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«123» | ||
lue | p: my $x = 2; say «1 $x 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«123» | ||
TimToady | again, spaces disappear | ||
lue | TimToady: quit making me have to revise my bug report! :P | ||
p: my $x = 2; say «1 see$x 3» | 01:03 | ||
camelia | rakudo-parrot 215ba6: OUTPUT«1 see23» | ||
lue | p: say «1 '2' 3» | 01:04 | |
camelia | rakudo-parrot 215ba6: OUTPUT«123» | ||
lue | p: say «1 '2 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«===SORRY!=== Error while compiling /tmp/dldNC_ua_lUnable to parse expression in single quotes; couldn't find final "'" at /tmp/dldNC_ua_l:1------> say «1 '2 3»⏏<EOL> expecting any of: argu…» | ||
lue | p: say «1 ''2 3» | ||
camelia | rakudo-parrot 215ba6: OUTPUT«12 3» | ||
lue | does... does '' count as interpol... /me checks S02 | ||
TimToady | it's clearly wrong from the standpoint of "should work like shell quoting" | ||
TimToady decides to go pick at a real scab instead of a metaphorical one | 01:06 | ||
lue created rakudobug finally | 01:08 | ||
lue enjoys the web-based interface | |||
I'll get rid of the "Polymorphic Types" section from S02, if no-one objects. | 01:11 | ||
TimToady | <crickets> | 01:12 | |
colomon | half the world is asleep | 01:13 | |
dalek | ecs: d8cd922 | lue++ | S02-bits.pod: [S02] Get rid of Polymorphic Types The idea was novel, but sadly it introduces a terrible set of consequences. Additionally, no-one ever implemented it, and it's never been really necessary. Also, the pipe character was already in use in other ways. That's just untenable. |
01:16 | |
TimToady predicts <crickets> from the rest of the world as well | 01:18 | ||
lue | "I never even knew about those polygonal types anyway" | 01:19 | |
colomon | that's how you solve the square versus rectangle conundrum, right? | 01:22 | |
01:23
xenoterracide joined
|
|||
lue | Any particular reason why ‹› isn't the Unicode equivalent to <> in P6? (Or has it just never been that important?) | 01:23 | |
colomon | <crickets> ;) | 01:24 | |
lue | ‹crickets› | ||
TimToady | r: say q‹crickets› | 01:25 | |
camelia | rakudo-jvm 882e33: OUTPUT«(timeout)» | 01:26 | |
..rakudo-parrot 215ba6: OUTPUT«crickets» | |||
TimToady | maybe someone should just unplug the jvm for now... | ||
we haven't gone out of our way to look for non-latin1 equivalents for latin1 operators | 01:27 | ||
lue | p: say qw‹foo bar baz› | ||
camelia | rakudo-parrot 215ba6: OUTPUT«foo bar baz» | ||
lue | TimToady: that was my suspicion (not gone out of your way). It would nicely mirror <<>>/«» is all. | ||
TimToady | note we don't even have ≠ | 01:28 | |
we were kinda forced out of latin1 in dealing with sets, since the texas versions are so klunky | 01:29 | ||
colomon | It's so easy to add your own version of operators... | ||
lue | colomon: precisely why I'm not moaning about it. It was just an idea that flashed across my mind today :) | 01:30 | |
TimToady likes ≟ | |||
or should that be ≟≟ in C-derived languages? :) | 01:31 | ||
lue | ≠? What is this, a math class? if there was a EQUALS SIGN WITH OVERLAYED EXCLAMATION MARK, maybe, but for now != works :) | ||
01:31
raiph left
|
|||
TimToady | then there's ÷ | 01:31 | |
if we switched to that, we could do like Ada and make /= the sign for ≠ | 01:32 | ||
lue | p: say "Champion of Unicode™" if 1 ⩵ 1 | ||
TimToady | I'm sure everyone would just love that... | ||
camelia | rakudo-parrot 215ba6: OUTPUT«===SORRY!=== Error while compiling /tmp/G3psVWzgxYTwo terms in a rowat /tmp/G3psVWzgxY:1------> say "Champion of Unicode™" if 1 ⏏⩵ 1 expecting any of: postfix infix stopper …» | ||
TimToady | n: say "Champion of Unicode™" if 1 ⩵ 1 | 01:33 | |
camelia | niecza v24-98-g473bd20: OUTPUT«===SORRY!===Confused at /tmp/7T9m39PJwM line 1:------> say "Champion of Unicode™" if 1 ⏏⩵ 1Parse failed» | ||
TimToady | I like that message better. | ||
TimToady doesn't know how rakudo gets the notion that there's another term there... | 01:34 | ||
lue | also, my $a ≝ 42; (really, Unicode gives us no excuse to ambiguate = anymore :P) | 01:35 | |
TimToady | that would make more sense for a constant than a variable | 01:36 | |
lue | nod | ||
01:37
raiph joined
|
|||
TimToady | np: constant @a = 1,@a; say @a[3] | 01:38 | |
nr: constant @a = 1,@a; say @a[3] | |||
camelia | rakudo-jvm 882e33: OUTPUT«(timeout)» | ||
..rakudo-parrot 215ba6: OUTPUT«===SORRY!=== Error while compiling /tmp/MkVEGNmmJWVariable '@a' is not declaredat /tmp/MkVEGNmmJW:1------> constant @a = 1,@a⏏; say @a[3] expecting any of: postfix» | |||
..niecza v24-98-g473bd20: OUTPUT«(Any)» | |||
TimToady | nobody really does ≝ there yet | ||
01:40
raiph left
01:43
arnsholt left
01:44
pochi left
|
|||
TimToady would still like to be able to define hamming numbers the way Haskell can: hamming = 1 : map (2*) hamming `union` map (3*) hamming `union` map (5*) hamming | 01:45 | ||
assuming a reasonable merge operators, should come out looking like: | 01:46 | ||
my @hamming := 1, ((@hamming X* 2) M (@hamming X* 3) M (@hamming X* 5)).squish; | |||
constant @hamming = 1, ((@hamming X* 2) M (@hamming X* 3) M (@hamming X* 5)).squish; | 01:47 | ||
that is | |||
but something is not being evaluated with sufficient abstraction for that to close the recursion | 01:48 | ||
rosettacode.org/wiki/Hamming_numbers#Haskell if anyone is interested in pursuing this | 01:51 | ||
01:52
nnunley joined
|
|||
TimToady | (probably requires => lists that can construct themselves lazily to do it right) | 01:52 | |
01:53
pochi joined
|
|||
TimToady | (either that, or a purer idea of what @a means in this context) | 01:53 | |
01:53
arnsholt joined
01:59
broquaint left,
broquaint joined
02:03
kbaker joined
02:14
Mouq left
02:19
raiph joined
03:07
xan_nick joined
03:14
raiph left
|
|||
colomon | lue: lue stands for life universe and everything? | 03:24 | |
TimToady believes that to be the case | 03:26 | ||
colomon | fjords | 03:27 | |
lue | colomon: Life U. Everything, yesiree :) | ||
colomon | lue++ | 03:29 | |
03:30
kbaker left
03:38
rurban joined
03:53
xenoterracide left
03:54
risou_awy is now known as risou
03:56
xinming joined
03:59
xinming_ left
04:01
dansamo2 joined
04:07
dansamo2 left
04:09
dansamo joined
04:14
dansamo left
04:17
c1sung joined
04:22
risou is now known as risou_awy
04:38
c1sung left
04:43
c1sung joined,
lue left
04:50
preflex_ joined,
ChanServ sets mode: +v preflex_
04:51
preflex left,
preflex_ is now known as preflex
05:02
xenoterracide joined
05:13
lue joined
|
|||
lue | TimToady: despite how broken the «1 {2} 3» stuff is, I can't help but feel like it's more in the cool trick category than the showstopper category :) Like ☃☄: not useful, but not utterly terrible. | 05:14 | |
05:17
[particle]1 joined
|
|||
TimToady | well, if it isn't fixed, someone will depend on the current semantics, and then we will break their code when we make it work right; production code is really hard to fix--see Perl 5 | 05:18 | |
05:18
xenoterracide left
|
|||
TimToady | what was it, SCO Unix, that had && and || reversed in shell scripts, and they never could fix it | 05:19 | |
"we have customers that depend on that" | |||
05:20
johnny5_ left,
[particle] left
|
|||
geekosaur | not in /bin/sh. it had a csh which was pretty much the same one that xenix always had, and which had that bug | 05:20 | |
xenix csh was doing that before sco existed, even | 05:21 | ||
trs-xenix csh in 1982 had the same bug. | |||
05:21
johnny5_ joined
|
|||
lue | .oO(You can either get cake and die.) |
05:21 | |
geekosaur | (come to think of it I think unisoft v7's csh had it too) | 05:23 | |
they both blamed it on 2.8bsd I think? | |||
05:25
[Sno] left
|
|||
TimToady | don't recall, but yeah, it was csh | 05:26 | |
TimToady only used 4.*bsd, which didn't have that issue that I can recall | 05:27 | ||
diakopter | r-j: 1 | 05:28 | |
geekosaur | I have heard that the bug was not in any released 2BSD csh, only in the one that found its way into xenix, unisoft, etc. | ||
camelia | ( no output ) | ||
diakopter | \o/ | ||
TimToady | is that just a restart or did you fix sump'n? | 05:29 | |
diakopter | sum1 needs to signal hangup to the perl that lauches the eval server every day or so | ||
*lunches | 05:30 | ||
TimToady | nom, nom... | ||
diakopter | r-j: 1 while try die | 05:32 | |
camelia | ( no output ) | 05:33 | |
lue | r-j: say "I got better" | 05:34 | |
camelia | rakudo-jvm 882e33: OUTPUT«I got better» | ||
geekosaur | who was that masked newt? | ||
diakopter | r-j: say try die | ||
camelia | rakudo-jvm 882e33: OUTPUT«Nil» | ||
diakopter | r-j: say eval die | 05:38 | |
camelia | rakudo-jvm 882e33: OUTPUT« in block at /tmp/ZBy3qbs0pP:1 in any eval at gen/jvm/stage2/NQPHLL.nqp:1086 in any evalfiles at gen/jvm/stage2/NQPHLL.nqp:1292 in any command_eval at gen/jvm/stage2/NQPHLL.nqp:1196 in any command_eval at src/Perl6/Compiler.nqp:17» | ||
diakopter | r-p: say eval die | 05:39 | |
camelia | rakudo-parrot 215ba6: OUTPUT« in block at /tmp/PHSW8R6Ns0:1 in any at /tmp/PHSW8R6Ns0:1 in any at gen/parrot/stage2/NQPHLL.nqp:1146 in any eval at gen/parrot/stage2/NQPHLL.nqp:1133 in any evalfiles at gen/parrot/stage2/NQPHLL.nqp:1339 in any command_eval a…» | ||
diakopter | what'a this "in any" | ||
geekosaur | I assumed a typeything (Any vs. Block vs. ??) | 05:40 | |
05:44
SamuraiJack joined
05:59
xan_nick left
06:14
xenoterracide joined
06:19
preflex left
06:23
preflex joined,
ChanServ sets mode: +v preflex
06:30
rurban left
06:37
slava-work left
06:42
BenGoldberg left
06:43
fridim_ left
06:53
darutoko joined
06:54
SamuraiJack left
06:56
SamuraiJack joined,
lizmat joined
06:57
locsmif joined
07:01
[Sno] joined
07:05
denisboyun joined
07:11
tobyink joined
07:16
dmol joined
07:21
Bucciarati joined
07:22
locsmif left
07:25
tobyink left
07:27
mathw left,
mathw joined
07:30
dmol left
07:32
dmol joined
|
|||
jercos | r: my Int enum Card (("Ace", 2, 3, 4, 5, 6, 7, 8, 9, "Jack", "Queen", "King") X~ " of " X~ ("Spades", "Clubs", "Diamonds", "Hearts")) | 07:45 | |
camelia | rakudo-parrot 215ba6, rakudo-jvm 882e33: OUTPUT«===SORRY!===No such method 'returns' for invocant of type 'List'» | ||
jercos | n: my Int enum Card (("Ace", 2, 3, 4, 5, 6, 7, 8, 9, "Jack", "Queen", "King") X~ " of " X~ ("Spades", "Clubs", "Diamonds", "Hearts")) | 07:46 | |
camelia | ( no output ) | ||
jercos | n: my Int enum Card (("Ace", 2, 3, 4, 5, 6, 7, 8, 9, "Jack", "Queen", "King") X~ " of " X~ ("Spades", "Clubs", "Diamonds", "Hearts"));Card.pick.say | ||
camelia | niecza v24-98-g473bd20: OUTPUT«7 of Clubs» | ||
jercos | Was this your card? :p | 07:47 | |
07:52
denisboyun left
07:59
lizmat left
08:01
lizmat joined
08:02
woolfy joined
|
|||
arnsholt | o/ | 08:04 | |
lizmat | arnsholt: /o | 08:09 | |
just backlogging before decommuting | |||
08:14
nnunley left
08:18
zakharyas joined
|
|||
dalek | ecs: 9c428a9 | (Elizabeth Mattijsen)++ | S17-concurrency.pod: /.sleep/.alarm/ I think ".sleep" is confusing, as its functionality does not match sleep(). And from this, we could spec an alarm() function, which would just create a subscribable with an .alarm and code to be executed when the alarm arrives. |
08:19 | |
08:19
woolfy left,
preflex_ joined,
ChanServ sets mode: +v preflex_
08:21
preflex left,
preflex_ is now known as preflex
08:24
lizmat left
08:26
Bucciarati left,
Bucciarati joined,
FROGGS joined
08:32
daxim joined
09:03
salv0 left
09:04
salv0 joined
09:17
cognominal left
09:18
cognominal joined
09:20
JimmyZ_ is now known as JimmyZ
09:27
fhelmberger joined
09:28
nnunley joined
09:32
nnunley left
09:46
tobyink joined
10:29
denis_boyun joined
10:41
pernatiy left
11:04
atroxaper joined
11:13
dansamo joined
11:15
xinming left
11:16
nnunley joined
11:21
nnunley left
11:26
xinming joined
11:32
pernatiy joined
11:51
salv0 left
11:57
denis_boyun left
12:05
salv0 joined
12:09
itz_ joined
12:16
rindolf joined
12:17
itz joined
12:20
itz_ left
12:21
itz left
12:22
itz joined
12:29
[particle]1 left
12:30
fhelmberger left
12:31
fhelmberger joined
12:34
bitpart joined
|
|||
dalek | ecs: fa517be | util++ | S (5 files): Fix typos in S02, S21, S99, S32/IO, and S32/Exception |
12:45 | |
12:54
benabik left
12:58
xinming left
12:59
SamuraiJack left
13:00
xinming joined
13:02
dmol left,
dmol joined
13:07
dmol left,
nine joined,
dmol joined
13:25
nnunley joined,
tobyink left
13:34
dmol left
13:43
raiph joined
13:46
ajr joined,
ajr is now known as ajr_
13:47
Timbus|Away joined,
Timbus left,
Timbus|Away is now known as Timbus
13:50
toebu joined
13:56
jnap joined
14:00
gaussblurinc joined
14:03
risou_awy is now known as risou
14:06
kaare__ joined
14:11
lowpro30 joined
14:25
denis_boyun joined,
dansamo left
14:26
bluescreen10 joined
14:29
stevan__ joined
14:32
stevan_ left,
PacoAir joined
14:39
gaussblurinc left
14:42
lowpro30_ joined
14:43
benabik joined
14:45
lowpro30 left
14:50
Tene left
14:52
djanatyn left
14:54
logie joined
14:58
denis_boyun left
|
|||
dalek | ecs: 10b9553 | larry++ | S17-concurrency.pod: $*TICK should return Instants, not DateTimes |
15:19 | |
15:23
toebu left
15:28
kaare__ left
|
|||
TimToady | S17's select examples are all syntax errors, which on the surface means they need commas, but on a deeper level probably means we need a more natural syntax for our combinators | 15:30 | |
15:32
rurban joined
|
|||
dalek | ecs: f7cb43e | larry++ | S17-concurrency.pod: Add missing commas to select args |
15:32 | |
TimToady wishes there were a shorter word that means "subscribable" | 15:36 | ||
tadzik | feed? :) You subscribe to a feed... | 15:37 | |
geekosaur | "known"? | ||
15:37
toebu joined
|
|||
TimToady | well, the role would presumably be Feeder | 15:37 | |
but that doesn't really mean something you can sign up for | |||
'does Feeding' is more grammatical | 15:38 | ||
and nobody can figure out whether 'enrol(l)ment' has one 'l' or two | 15:41 | ||
we could steal "Publisher", which is currently rather over-specific | 15:42 | ||
15:43
rurban left
15:44
xalbo left
|
|||
TimToady thinks using options on .schedule is a fine idea, given the combinatorics | 15:45 | ||
15:45
ajr_ left,
benabik left
15:46
ajr joined
|
|||
TimToady would like to sneak "cue" in there somewhere; maybe that's what "async" should become | 15:46 | ||
15:46
ajr is now known as Guest19104
|
|||
TimToady | since a cue is what one actor takes from another to start an action or utterance | 15:47 | |
.oO(Enter Hamlet) |
15:48 | ||
15:49
benabik joined
15:51
bitpart left
|
|||
TimToady | though really, 'start' is probably the clearest thing to replace 'async' with | 15:52 | |
15:59
raiph left
16:01
toebu left
16:04
toebu joined
|
|||
dalek | ecs: 2f50e05 | larry++ | S17-concurrency.pod: use 'start' for initiating asynchronicity Especially since we have a 'run' command that does something else, and 'run' most often means 'run to completion', which is not true here. |
16:05 | |
16:05
xalbo joined
|
|||
TimToady | also, we don't have a start block anymore... | 16:05 | |
sjn | hm. maybe there are more words one could use from theater terminology? :) | ||
s/async/plot/ | 16:06 | ||
"parallel storylines" | |||
sjn would love a keyword named "meanwhile" :) | |||
perigrin | INT. Thread A | 16:07 | |
EXT. Process B | |||
sjn | finishing off might be a "finale" | ||
16:09
prevost joined
|
|||
dalek | ecs: 6b3e9d8 | larry++ | S (3 files): more s/async/start/ tweaks |
16:10 | |
TimToady | s/Subscribable/StageManagement/ # oh wait, that's longer... | 16:11 | |
Stager is shorter but less clear | 16:12 | ||
though $*STAGER.cue({...}) is clearer by context | 16:13 | ||
$*CUER.cue is really short, but 'cuer' is a funny looking word | 16:15 | ||
TimToady is thinking about huffman coding in a larger sense than just the program; we probably won't type Subscribable all that many times inside the program, but we'll be writing about it all the time, so something shorter would be better for that | 16:18 | ||
benabik | .o( Why did you misspell CURE? ) | ||
16:20
tobyink joined
|
|||
sjn | TimToady: huffman is good, but I hope you also can find some love for the conveyance of understanding. ("making it easy to understand|teach|guess the right word") :) | 16:21 | |
sjn wonders if $*DIRECTOR.cue would be confusing | 16:24 | ||
16:26
[Sno] left
|
|||
jnthn | evening | 16:27 | |
I see my "let's get consensus on what to do wiht the new/old S17" was quickly ignored... | |||
But happy to see lots of effort going in. | |||
The "turn just some of the _ into -" is the only one I absolutely know I'm reverting. :) | 16:28 | ||
16:28
dmol joined
|
|||
jnthn | But it may be obviated by another refactor anyway... | 16:29 | |
TimToady | which I've already said I like :) | ||
jnthn | Yes, I saw that :) | ||
I don't feel strongly either way, but the combinatorics argument is a good one. | 16:30 | ||
16:31
xinming left
|
|||
jnthn | The rest I need to read the patches, but I'm exhausted after late night arriving (Stockholm airport decided to deliver luggage crazy slow) and early morning (teaching located a good bit out of the center, and wanted time to set stuff up, though clueless reception soon hosed that plan...) So probably will leave that for tomorrow or so. :) | 16:31 | |
16:31
zakharyas left
|
|||
jnthn | "cue" is quite a nice word | 16:32 | |
It puns nicely with queue ;) | |||
TimToady | indeed | ||
jnthn | So even if you mishear it, you still understand what it does :) | ||
16:34
denis_boyun joined,
xinming joined
|
|||
TimToady | I suppose it could be $*PLAYLIST.cue for the younger set :) | 16:35 | |
jnthn | Wait, which contextual are we renamin? :) | 16:36 | |
*renaming | |||
I actually don't think S*SCHEDULER needs huffmanizing, fwiw | |||
'cus you're not meant to interact with it directly in the common case | |||
But rather use things that use it. | |||
TimToady | no, scheduler is fine | ||
jnthn | OK | ||
TimToady | it's subscribable that is rather too heavy | 16:37 | |
jnthn | Oh | ||
Yes, I agree | |||
TimToady | and I think we'll be talking about them all the time | ||
jnthn | i didn't steal Observable from Rx 'cus I knew there was no chance of us sticking to the rest of the API :) | ||
TimToady | since people aren't that up-to-date on the paradigm | ||
16:38
xinming left
|
|||
jnthn | So I figured I'd leave that free for anybody who wants to make a module that is an API-alike :) | 16:38 | |
TimToady | well, Feeder isn't too bad from the standpoint of we might implement feeds with this | ||
jnthn | Oh, hmmm | ||
16:38
xinming joined
|
|||
TimToady | anyway, not in a rush, but just something to toss about and weigh | 16:38 | |
jnthn | This is extremely un-fully-thought-out but I had wondered just a tiny bit if we might want feeds to be a kinda monad-y construct where the type of the first thing controls everything that happens next | 16:39 | |
And that we get rid of the slurpy and actually make it method based | |||
So | |||
TimToady | sure, if ; is a monadoid, so is ==> | ||
jnthn | @foo ==> grep { ... } ==> map { ... } | ||
Is really | |||
@foo.grep({ ... }).map({ ... }) | |||
Because I *really* want it for subscribable chains too | 16:40 | ||
But the slurpy stuff makes writing the candidates hairy :( | |||
TimToady | like I said, we need better combinators | ||
syntactically speaking | |||
jnthn | Yeah | ||
I just noticed that making chains of ==> sugar for chained method calls might be a really nice thing to do | |||
16:41
BenGoldberg joined
|
|||
jnthn | Because it means "do it in the language of the thing we currently have" | 16:41 | |
And is a LOT prettier than unspace ;) | |||
16:41
fridim_ joined
|
|||
jnthn | And I think APIs where you chain method calls are common enough that people will make good use of this outside of Perl 6... :) | 16:42 | |
um | |||
I mean | |||
outside of core stuff | |||
TimToady | though if we leave out the . people will get confused, so maybe @foo ==> .grep ==> .map | ||
jnthn | Told ya I was tired :P | ||
I don't know that it's confusing | |||
TimToady | well, there .= already | ||
jnthn | Because you know the invocant is the last thing...well, "know" :) | 16:43 | |
FROGGS | hello o/ | ||
jnthn | I would live with ==> .grep I guess | ||
I think I'd just prefer it as the default... | |||
TimToady | maybe we just need to define STDIN for everything we can run :) | 16:44 | |
jnthn | ;) | ||
TimToady | shower & | ||
FROGGS .oO( TimToady ==> shower { /ö } ==> grep { -> $towel { ... } } # Ohh noes! stub towel executed! ) | 16:51 | ||
16:51
raiph joined
16:54
benabik left
|
|||
FROGGS | damn it, should have included SOAP::Lite | 16:54 | |
16:55
raiph left
16:56
kaare__ joined
16:57
prevost left
16:58
benabik joined
17:03
risou is now known as risou_awy,
risou_awy is now known as risou
17:04
atroxaper left,
lowpro30_ left
17:05
Tene joined
17:06
fhelmberger left
17:16
jeffreykegler joined
17:19
risou is now known as risou_awy,
SamuraiJack joined
17:43
[Sno] joined
|
|||
[Coke] | "followable" | 17:45 | |
trackable? | |||
recordable? | 17:46 | ||
TimToady | eventual :) | 17:47 | |
17:49
Guest19104 left
17:53
virtualsue joined
17:55
ajr joined,
ajr is now known as Guest26077,
Guest26077 is now known as ajr_
17:59
denis_boyun__ joined
|
|||
jnthn | Pushy ))) | 17:59 | |
18:00
daxim left
18:01
denis_boyun left
|
|||
TimToady | Reactionary :) | 18:01 | |
.oO(actors and reactors) |
18:02 | ||
18:02
rurban joined
|
|||
TimToady | leaders and followers | 18:03 | |
one "follows" the news as well | |||
diakopter | Befriendable | 18:04 | |
Stalkable | 18:05 | ||
18:05
jeffreykegler left
|
|||
geekosaur | Amiable; extra credit if you can get Aimable to fall out... | 18:07 | |
18:08
SamuraiJack left
18:11
darutoko left,
denis_boyun__ left
|
|||
TimToady | if your feed is coming from an antenna, you tune your receiver | 18:15 | |
diakopter | Transceivable | 18:16 | |
18:16
sftp left
|
|||
TimToady | Intranceivable! | 18:16 | |
18:18
tobyink left
|
|||
anocelot | "You keep using that word..." | 18:18 | |
18:20
ajr_ left
|
|||
TimToady | anyhoo, if we implement ==> with subscribables, I think we could safely steal 'does Feed' to represent the underlying role, then pick some appropriate verb to subscribe/follow/track | 18:21 | |
diakopter | Edible | 18:22 | |
Bitable | |||
arnsholt | anocelot: Incidentally, is an anocelot a negated ocelot? =) | ||
TimToady | .melikes | 18:23 | |
timotimo | is Tasty | ||
diakopter | Potable | ||
anocelot likes potable | |||
TimToady | .yu | ||
.yum | |||
diakopter | Potatable | ||
TimToady | isn't potable only about fluids though? | ||
anocelot | Well, if it can blend... | 18:24 | |
perigrin | I think anything you can carry is potable. | ||
TimToady | it's really about what you want to eat, not what doesn't make you sick | ||
anocelot | savory | ||
TimToady | .want | ||
anocelot | droolworthy | ||
colomon wonders if jnthn++ would be more comfortable with drink analogies. ;) | 18:25 | ||
TimToady want cookie! | |||
'does Tap' | 18:26 | ||
anocelot feeds TimToady Oreo | |||
TimToady | .draw | ||
.order | 18:27 | ||
jnthn | hahaha | ||
does Pump | |||
Like a beer pump | |||
:D | |||
"message pump" is actually what Windows calls it, iirc :) | |||
TimToady | pump definitely has 'push' connotations to | 18:28 | |
*too | |||
Pump.tap() maybe |