»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:01
mcmillhj left
00:12
mcmillhj joined
00:15
cdg left
00:17
mcmillhj left
00:22
konsolebox left
00:24
uberbaud left
00:26
mcmillhj joined
00:28
konsolebox joined
00:30
mcmillhj left
00:38
Kaiepi joined
00:42
pierre__ joined
00:44
mcmillhj joined
00:48
mcmillhj left
00:59
MasterDuke left
01:01
MasterDuke joined
|
|||
SmokeMachine | does this make any sense to someone? when I compile the rakudo, the perl6 bin works, but only on the first time... after that it doesn't work anymore... | 01:04 | |
www.irccloud.com/pastebin/nCaAmU7e/ | |||
I mean with this code... | 01:05 | ||
I did change the usage-name | |||
im trying to remove my changes and try again... | 01:06 | ||
yes... it works... | 01:07 | ||
01:08
konsolebox left
01:09
stmuk joined,
pierre__ left
01:10
pierre__ joined,
konsolebox joined
01:11
stmuk_ left,
Rawriful left
01:15
pierre__ left,
mcmillhj joined
01:20
mcmillhj left
01:21
aborazmeh joined,
aborazmeh left,
aborazmeh joined
01:30
aborazmeh left
01:31
markong left,
mcmillhj joined
01:33
shinobi-cl joined
01:36
mcmillhj left,
cdg joined
01:41
cdg left
01:43
mcmillhj joined
01:47
mcmillhj left
|
|||
SmokeMachine | i can't get it | 01:49 | |
01:51
mcmillhj joined
01:54
wamba left
01:55
konsolebox left
01:56
konsolebox joined
02:04
colomon_ joined
02:06
colomon left,
colomon_ is now known as colomon
02:12
pierre__ joined
02:16
mcmillhj left,
pierre__ left
|
|||
Xliff | SmokeMachine: What can't you get? | 02:17 | |
02:19
mcmillhj joined
|
|||
SmokeMachine | Xliff: the problem I was getting... but it seems its something with my environment... I cloned rakudo with the zscript, made the same change and that worked... | 02:19 | |
02:27
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
ZzZombo | Hm... apparently it's easy enough to do what I want... | 02:27 | |
m: use nqp;class A {has $.a='asd'};say nqp::getattr(nqp::decont(my $a=A.new),A,'$!a')=1;say $a | |||
camelia | 1 A.new(a => 1) |
||
ZzZombo | m: use nqp;class A {has Str:D $.a where *.trim.chars='asd'};say nqp::getattr(nqp::decont(my $a=A.new),A,'$!a')='';say $a | 02:28 | |
camelia | Type check failed in assignment to $!a; expected <anon> but got Str ("") in block <unit> at <tmp> line 1 |
||
ZzZombo | m: use nqp;class A {has Str:D $.a where *.trim.chars='asd'};say nqp::getattr(nqp::decont(my $a=A.new),A,'$!a')='qwe';say $a | 02:29 | |
camelia | qwe A.new(a => "qwe") |
||
ZzZombo | Good thing I didn't start on writing any workarounds before I go this brilliant idea. | ||
got* | |||
02:30
mcmillhj left
02:31
Zoffix joined
|
|||
Zoffix | ZzZombo: note that nqp is not meant for end-users. There's absolutely no support for it and its behaviour can change without warning. | 02:32 | |
02:32
aborazmeh left
|
|||
Xliff | has Str:D $.a where *.trim.chars='asd | 02:32 | |
I keep having problems reading this ^^ | 02:33 | ||
02:33
mcmillhj joined
|
|||
Xliff | I would expect that would be a subtype only allowing strings ending in 'asd'. | 02:33 | |
But that's not what appears to be the case. | |||
Zoffix | Xliff: `='asd'` portion is the default value | ||
Juerd | Why is undefine not available as a method? | 02:34 | |
ZzZombo | Yea, but do I have a choice? | ||
Zoffix ^ | 02:35 | ||
Xliff | ZzZombo: What are you really trying to accomplish? | ||
Zoffix | ZzZombo: don't know. What were you trying to do? | ||
Xliff | m: class A {has Str:D $.a = 'a'}; say A.new.a | ||
camelia | a | ||
Xliff | m: class A {has Str:D $.a = 'asd'}; say A.new.a | ||
camelia | asd | ||
Xliff | Why the need for nqp? | ||
ZzZombo | I need to generate a setter to an attribute (well, all of them), and this gets in the way: | 02:36 | |
[23:31:16] <ZzZombo> Why does this work? | |||
[23:31:17] <ZzZombo> m: class C {has Str:D $.a='1'};my $a=C.new;$a.^attributes[0].set_value($a,False);say $a | |||
Xliff | Ooh. | ||
Check the Proxy object. | |||
Allows you to create setter methods. | |||
And getter methods too. | 02:37 | ||
Zoffix | ZzZombo: I don't see the connection between your nqp code and the tweaking of attriute values via MOP | ||
m: class A {has Str:D $.a is rw = 'a'}; say A.new.a = False | |||
camelia | Type check failed in assignment to $!a; expected Str:D but got Bool (Bool::False) in block <unit> at <tmp> line 1 |
||
SmokeMachine | m: class A {has Str:D $.a where *.trim.chars is rw ='asd'}; my A $a .= new; $a.a ='qwe';say $a | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3lass A {has Str:D $.a where *.trim.chars7⏏5 is rw ='asd'}; my A $a .= new; $a.a ='q expecting any of: constraint infix … |
||
Zoffix | `is rw` goes before post constraints | 02:38 | |
Juerd: IMO the better question is why we have &undefine | |||
Awful name for what it actually does | 02:39 | ||
Xliff | Yeah, well "is rw" is a shortcut, Proxy lets you establish custom coding when setting the attribute. | ||
Zoffix | eco: Proxee | ||
buggable | Zoffix, Proxee 'A more usable Proxy with bells': github.com/zoffixznet/perl6-Proxee | ||
Xliff | Hooo | ||
ZzZombo | Zoffix, what do you mean? How can my method change the attribute's value other than 1) MOP, 2) NQP? If I do it via 1, it doesn't respect any constraints. | ||
SmokeMachine | m: class A {has Str:D $.a is rw where *.trim.chars ='asd'}; my A $a .= new; $a.a ='qwe';say $a | ||
camelia | A.new(a => "qwe") | ||
02:39
mcmillhj left
|
|||
Juerd | Zoffix: Agreed! | 02:40 | |
Zoffix: In the 2 use cases I came up with thus far, I use "is default", and I find myself wanting to write $foo.reset | |||
Zoffix | ZzZombo: are you trying to change private attributes on the object that doesn't trust your tweaking code? | ||
Juerd | $foo = Nil to get $foo back to its default value feels utterly wrong, and so does the term "undefine", given that my default value is definitely defined. | 02:41 | |
ZzZombo | heh, it's a class I'm composing. | ||
So even if it doesn't trust me, what can it really do? | |||
Xliff | Zoffix++ # Proxee | 02:42 | |
Juerd | Zoffix: In fact, I wanted to use this in some Perl 6 demo code before an audience, but now I'll just leave it out. It's too confusing and would need a lot of explaining. | ||
ZzZombo | I don't care about proxies, given they can't solve anything in this case. | 02:43 | |
Juerd | Also, undefine doesn't seem to be documented, even! | ||
(Does this mean we can get rid of it? :P) | |||
Zoffix | It's part of 6.c language | 02:44 | |
Xliff | ZzZombo: I'm still not clear on what "this case" really is! :p | ||
Juerd | Zoffix: Are you sure? I'm struggling to find references to its specification | ||
Xliff | ZzZombo: Do you have a pastebin or gist so I can see things in context? | ||
Juerd | I only learned about undefine by trying undef | ||
Zoffix | 2018.01.121 zoffix@VirtualBox~/R/rakudo/t/spec (master)$ G 'undefine' | wc -l | ||
407 | |||
Some are false positives, but tons of undefine usage | 02:45 | ||
02:45
ilbot3 left
|
|||
ZzZombo | I'm composing a class, as in, I have created a custom metaclass out of ClassHOW, and I need custom setters for its attributes to do what derived classes supposed to do. | 02:45 | |
Juerd clones roast | 02:46 | ||
Zoffix | m: class C {has Str:D $.a ="1" };my $a = C.new; $a.^attributes.head.container = 42; | ||
camelia | Type check failed in assignment to $!a; expected Str:D but got Int (42) in block <unit> at <tmp> line 1 |
||
Zoffix | ZzZombo: looks like ^ that could give you a way to test whether a value can go in, before using .^set_value | ||
Not ideal, but IMO better than nqp | |||
Juerd | 1;0 juerd@cxien:~/tmp/roast master$ ack undefine | wc -l | 02:47 | |
246 | |||
1;0 juerd@cxien:~/tmp/roast master$ ack 'undefine(?!d)' | wc -l | |||
80 | |||
Heh. | |||
ZzZombo | And if it doesn't throw, will it have any effect? | ||
Zoffix | s: do { class C {has Str:D $.a ="1" };my $a = C.new; $a.^attributes.head }, 'container', \() | ||
SourceBaby | Zoffix, Sauce is at github.com/rakudo/rakudo/blob/300f...te.pm#L144 | ||
Zoffix | No idea. | 02:48 | |
Not familiar with that part of codebase | |||
m: class C {has Str:D $.a ="1" };my $a = C.new; $a.^attributes.head.container.clone = 42; | |||
camelia | Cannot modify an immutable Str:D ((Str:D)) in block <unit> at <tmp> line 1 |
||
Zoffix | -_- | ||
m: class C {has Str:D $.a ="1" };my $a = C.new; $a.^attributes.head.container ~~ 42; | 02:49 | ||
camelia | ( no output ) | ||
Zoffix | m: class C {has Str:D $.a ="1" };my $a = C.new; say $a.^attributes.head.container ~~ 42; | ||
camelia | False | ||
Zoffix | m: class C {has Str:D $.a ="1" };my $a = C.new; say $a.^attributes.head.container ~~ "x"; | ||
camelia | False | ||
Zoffix | *shrug* | ||
Zoffix & | |||
02:49
Zoffix left
|
|||
ZzZombo | It changes the return value of subsequent class to `container`, whether this is/may be undesired I want to know. | 02:52 | |
SmokeMachine | m: class C {has Str:D $.a ="1" };my $a = C.new; say “x” ~~ $a.^attributes.head.container # Zoffix | ||
camelia | True | ||
SmokeMachine | 00:51 <SmokeMachine> m: class C {has Str:D $.a ="1" };my $a = C.new; say 42 ~~ $a.^attributes.head.container | 02:53 | |
m: class C {has Str:D $.a ="1" };my $a = C.new; say 42 ~~ $a.^attributes.head.container | |||
camelia | False | ||
02:55
stmuk_ joined
02:57
ilbot3 joined,
ChanServ sets mode: +v ilbot3,
stmuk left
|
|||
ZzZombo | O_o | 02:58 | |
m: my $a=Proxy.new(STORE=>sub (|c) {say c},FETCH=>sub (|c) {say c}) | |||
m: my $a=Proxy.new(STORE=>sub{},FETCH=>sub{}) | |||
camelia | (timeout) | ||
Too many positionals passed; expected 0 arguments but got 1 in sub at <tmp> line 1 in block <unit> at <tmp> line 1 |
|||
ZzZombo | Why the heck? | 02:59 | |
SmokeMachine | m: class C {has Str:D $.a ="1" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “!$name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, “x”; say $a | 03:02 | |
camelia | C.new(a => "x") | ||
ZzZombo | m: class C {has Str:D $.a where *.chars>2="asd" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “$!name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, “x”; say $a | 03:03 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Variable $!name used where no 'self' is available at <tmp>:1 ------> 3tributes.first(*.name.ends-with: “$!name7⏏5”); $attr.set_value($obj, $val) if $val |
||
ZzZombo | m: class C {has Str:D $.a where *.chars>2="asd" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “\$!name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, “x”; say $a | 03:04 | |
camelia | No such method 'container' for invocant of type 'Any' in sub change-value at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
03:05
ufobat___ joined
|
|||
ZzZombo | m: class C {has Str:D $.a where *.chars>2="asd" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes[0]; $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, “x”; say $a | 03:05 | |
camelia | C.new(a => "asd") | ||
03:05
cdg joined
|
|||
SmokeMachine | m: my $a:=Proxy.new(STORE=>method (|c) {say c},FETCH=>method {42}); $a = 13; say $a | 03:05 | |
camelia | \(13) 42 |
||
ZzZombo | m: class C {has Str:D $.a where *.chars>2="asd" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “!$name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, “xxx”; say $a | 03:06 | |
camelia | C.new(a => "xxx") | ||
ZzZombo | m: class C {has Str:D $.a where *.chars>2="asd" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “!$name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, “xx”; say $a | ||
camelia | C.new(a => "asd") | ||
SmokeMachine | 01:02 <SmokeMachine> m: class C {has Str:D $.a ="1" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “!$name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, 42; say $a | 03:07 | |
ZzZombo | Seems like a better way to do it, thanks. | ||
SmokeMachine | m: class C {has Str:D $.a ="1" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “!$name”); $attr.set_value($obj, $val) if $val ~~ $attr.container}; change-value $a, “a”, 42; say $a | ||
camelia | C.new(a => "1") | ||
03:08
ufobat_ left
03:10
cdg left
|
|||
ZzZombo | This shouldn't be like that: | 03:11 | |
m: my $a=Proxy.new(STORE=>sub (|c) {say c},FETCH=>sub (|c) {42}) | |||
camelia | ( no output ) | ||
ZzZombo | m: my $a=Proxy.new(STORE=>sub (|c) {say c},FETCH=>sub (|c) {say |c}) | ||
camelia | (timeout) | ||
SmokeMachine | m: class C {has Str:D $.a ="1" }; my $a = C.new; sub change-value($obj, $name, $val) {my $attr = $a.^attributes.first(*.name.ends-with: “!$name”); $attr.set_value($obj, $val) if $attr.container = $val}; change-value $a, “a”, 42; say $a | 03:12 | |
camelia | Type check failed in assignment to $!a; expected Str:D but got Int (42) in sub change-value at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
SmokeMachine | ZzZombo: maybe this one is better☝️ | ||
03:13
konsolebox left
|
|||
SmokeMachine | m: my $a=Proxy.new(STORE=> method (|c) {say c},FETCH=> method (|c) {say |c}) | 03:13 | |
camelia | |||
03:14
AlexDaniel left,
konsolebox joined
|
|||
SmokeMachine | 01:13 <SmokeMachine> m: my $a:=Proxy.new(STORE=> method (|c) {say c},FETCH=> method (|c) {say |c}); $a = 42; say $a | 03:14 | |
m: my $a:=Proxy.new(STORE=> method (|c) {say c},FETCH=> method (|c) {say |c}); $a = 42; say $a | 03:15 | ||
camelia | \(42) True |
||
SmokeMachine | m: my $a:=Proxy.new(STORE=> method (|c) {say c},FETCH=> method (|c) {say c}); $a = 42; say $a | ||
camelia | \(42) \() \() \() \() \() \() \() \() \() \() \() \() \() True |
||
SmokeMachine | I don’t know why the fetch was called so many times... | 03:16 | |
m: my $a:=Proxy.new(STORE=> method (|c) {say c},FETCH=> method (\a: |c) {say c}); $a = 42; say $a | 03:17 | ||
camelia | \(42) \() \() \() \() \() \() \() \() \() \() \() \() \() True |
||
SmokeMachine | m: my $a:=Proxy.new(STORE=> method (\a: |c) {say c},FETCH=> method (\a: |c) {say c}); $a = 42; say $a | ||
camelia | \(42) \() \() \() \() \() \() \() \() \() \() \() \() \() True |
||
SmokeMachine | m: my $a:=Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; say $a | 03:18 | |
camelia | \(42) \() \() \() \() \() \() \() \() \() \() \() \() \() True |
||
03:25
konsolebox left
03:27
konsolebox joined,
pierre__ joined
03:35
bloatable6 left,
bloatable6 joined,
ChanServ sets mode: +v bloatable6
03:57
eliasr left
04:03
mcmillhj joined
04:08
mcmillhj left
04:11
khw left,
mcmillhj joined
04:13
Cabanossi left
04:14
Cabanossi joined
04:16
mcmillhj left
04:19
shinobi-cl left
04:23
konsolebox left
04:25
konsolebox joined
04:31
pierre__ left
04:33
mcmillhj joined
04:37
mcmillhj left
04:39
Kaiepi left
04:40
mcmillhj joined
04:42
stmuk joined
04:45
stmuk_ left,
mcmillhj left
04:49
konsolebox left
04:50
dj_goku joined,
konsolebox joined
04:51
someuser joined
04:58
konsolebox left,
skids left
04:59
konsolebox joined
05:04
aborazmeh joined,
aborazmeh left,
aborazmeh joined
05:06
khisanth_ left,
konsolebox left
05:08
konsolebox joined
05:10
mcmillhj joined
05:13
konsolebox left,
cdg joined
05:14
konsolebox joined,
mcmillhj left
05:17
mcmillhj joined
05:18
cdg left
05:19
khisanth_ joined
05:21
jstevens left
05:25
mcmillhj left
05:38
konsolebox left
05:39
konsolebox joined
05:41
mcmillhj joined
05:45
someuser left
05:46
mcmillhj left
05:49
konsolebox left
05:50
konsolebox joined
05:55
aborazmeh left
05:57
shinobi-cl joined
06:00
konsolebox left
06:01
konsolebox joined
06:08
konsolebox left
06:10
konsolebox joined
06:15
konsolebox left
06:16
konsolebox joined
06:21
konsolebox left,
konsolebox joined
06:35
Kaiepi joined
06:37
konsolebox left
06:39
konsolebox joined
06:44
konsolebox left
06:46
konsolebox joined
06:49
troys left
06:57
konsolebox left
07:03
konsolebox joined
07:04
Lynx_ left
07:12
konsolebox left
07:15
konsolebox joined
07:16
Lynx_ joined
07:17
mcmillhj joined
07:22
pierre__ joined,
mcmillhj left
07:23
shinobi-cl left
07:33
shinobi-cl joined
|
|||
perlawhirl | bisectable6: say [0 ^... 10] | 07:38 | |
bisectable6 | perlawhirl, On both starting points (old=2015.12 new=311ef07) the exit code is 1 and the output is identical as well | ||
perlawhirl, Output on both points: «04===SORRY!04=== Error while compiling /tmp/NF5wNgS5hJUnsupported use of . to concatenate strings; in Perl 6 please use ~at /tmp/NF5wNgS5hJ:1------> 03say [0 ^...08⏏04 10]» | |||
Xliff | SmokeMachine: You're in an endless loop. In FETCH you call say which then needs to FETCH, which calls say again, which needs to FETCH.... | 07:50 | |
07:51
eroux left
|
|||
Xliff | m: my $a := Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; | 07:53 | |
camelia | \(42) | ||
Xliff | ^^ No extra calls to fetch. | ||
m: my $a := Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; $a; | |||
camelia | WARNINGS for <tmp>: \(42) Useless use of $a in sink context (line 1) |
||
Xliff | Hrm. | 07:54 | |
If something is doine, then it's not a "Useless" use, is it? | |||
s/doine/done/ | |||
geekosaur | just mentioning $a like that is not considered "something is done" | 07:55 | |
Xliff | m: $a = -> { say "Something"; }; $a; | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Variable '$a' is not declared at <tmp>:1 ------> 3<BOL>7⏏5$a = -> { say "Something"; }; $a; |
||
Xliff | m: my $a = -> { say "Something"; }; $a; | 07:56 | |
camelia | WARNINGS for <tmp>: Useless use of $a in sink context (line 1) |
||
Xliff | So it's a syntax thing. | ||
m: my $a = -> { say "Something"; }; $a(); | |||
camelia | Something | ||
Xliff | geekosaur: In a meta language like Perl6, I'd almost consider that LTA, because something is being done, even if the lexer can't see it. | 07:57 | |
But that's a harder thing to catch. | |||
Because this causes problems: | 07:58 | ||
m: my $a := Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; say $a; | |||
camelia | \(42) \() \() \() \() \() \() \() \() \() \() \() \() \() True |
||
Xliff | ^^ | ||
m: my $a := Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; $a.say; | 07:59 | ||
camelia | \(42) \() \() \() True |
||
Xliff | Odd that there are less repetitions in that codepath. | ||
But not surprising. | |||
m: my $a := Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; (my $b = $a).say; | 08:00 | ||
camelia | \(42) \() True |
||
Xliff | m: my $a := Proxy.new(STORE=> method (\a is raw: |c) {say c},FETCH=> method (\a is raw: |c) {say c}); $a = 42; (my $b = $a); | 08:01 | |
camelia | \(42) \() |
||
Xliff | geekosaur: ^^ That is the output I'd expect from the sink version. | ||
But that works around the lexical issues. | |||
geekosaur | Xliff, if retrieving a value has a side effect other than jsut retrieving the value, Id imagine more than just a sink warning is due. Optimizers are free to assume you didn;t launch missiles in the process.... | 08:02 | |
Xliff | Hehehe. | ||
geekosaur | not that Proxy is currently optimized, but I think that is intended at some point | ||
Xliff | No one expects a FISH in the middle of the night. | ||
(That's a webcomic joke for anyone familiar with Otter's work) | 08:03 | ||
08:03
konsolebox left
|
|||
ZzZombo | Why oh why | 08:03 | |
m: role R[] {};class C is R[] {}; | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot resolve caller trait_mod:<is>(C, R, Array); none of these signatures match: (Mu:U $child, Mu:U $parent) (Mu:U $child, :$DEPRECATED!) (Mu:U $type, :$rw!) (Mu:U $type, :$nat… |
||
ZzZombo | m: role R[] {};class C does R[] {}; | ||
camelia | ( no output ) | ||
Xliff | ZzZombo: Classes DO roles. | 08:04 | |
That took me a long time to figure out. | |||
m: role R[] {}; role RB[] is R {}; class A does RB; | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Too late for unit-scoped class definition; Please use the block form. at <tmp>:1 ------> 3 {}; role RB[] is R {}; class A does RB;7⏏5<EOL> |
||
Xliff | m: role R[] {}; role RB[] is R {}; class A does RB {}; | 08:05 | |
camelia | ( no output ) | ||
geekosaur | one could argue that it should pun the role into a class there, but one could counter-argue that the magic is getting a bit too thick at that point | ||
ZzZombo | Yes, I expected auto punning here. | ||
Xliff | geekosaur++ # Too much magic is not a good thing. | ||
geekosaur | specificaly I'd be wary of something assuming that you could subsequently treat it as a role, when you punned it into a class and it's no longer role-like | 08:06 | |
too many chances for confusion | |||
Xliff | However I've never heard of "pun" being used in a Perl context. When (and how) did that enter the lexicon? | ||
"pin" I could understand.... | 08:07 | ||
TEttinger | I've also heard pun as a verb in other languages | 08:08 | |
08:09
konsolebox joined
|
|||
geekosaur | docs.perl6.org/language/objects#Au...le_Punning | 08:10 | |
08:12
pmurias joined
|
|||
geekosaur | I had thought it went back to the speculations, but I didn't notice it there in a quick look | 08:12 | |
ZzZombo | p6: class A {};constant B=class :: is A[] {}; | 08:13 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot resolve caller trait_mod:<is>(<anon|69121440>, A, Array); none of these signatures match: (Mu:U $child, Mu:U $parent) (Mu:U $child, :$DEPRECATED!) (Mu:U $type, :$rw!) (Mu:… |
||
ZzZombo | e: class A {};constant B=class :: is A[] {}; | ||
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/DL04gpvPQ2 Cannot … |
||
ZzZombo, Full output: gist.github.com/4c6504dba51720ac2c...4a3fd35caa | |||
geekosaur | oh, it's in S12 instead of S14. figures | 08:14 | |
design.perl6.org/S12.html#Autovivifying_objects | |||
(plus a reference to it earlier in the same file. it's about as organized as I am >.> ) | 08:15 | ||
Xliff | LOL | ||
geekosaur++ # Docs reference. | 08:16 | ||
But why punning? | 08:17 | ||
geekosaur | (in another window I'm editing a text file that I kinda stream-of-consciousness-ed together. It's got all sorts of weird forward and backward references, that I'm trying to clean up) | ||
Xliff | I mean, a role as an autovivifying class reminds someone of wordplay that tickes the funny bone? >.> | 08:18 | |
geekosaur | of wordplay, period. doesn't have to be funny, necessarily | ||
teatime | geekosaur: just get Tarantino on-board with it, and make a feature out of it. | ||
Xliff | geekosaur: As in ... haha my role is now a temporary class. Got-ya! | 08:19 | |
And puns must be punny! It's a rule. | |||
geekosaur | (for example, the Bible is full of wordplay --- intended to make it easier to remember, not to be jokes.) | ||
Xliff | But those aren't called puns, are they? | ||
geekosaur | sometimes | 08:20 | |
Xliff | Geez. Someone just had to go and become punitancal. :P | ||
geekosaur | there's a common usage, and a technical one | ||
Xliff | Please don't force me to keep punning. | ||
geekosaur | (linguistics, to be specific) | ||
Xliff | I will pun out. | ||
geekosaur | (but I'll leave the obvious rejoinder there to someone else...) | 08:21 | |
Xliff | And it will get messy before the pun ends. | ||
geekosaur: Hoo! I see your punning trap. | |||
And I will not .... oh... w8. :P | |||
geekosaur | anyway, in a computer language context, a pun is a bit more controlled than C-style automatic casting | 08:22 | |
but its still using something in an "unexpected" way | 08:23 | ||
Xliff | So is referring to a NULL punter. | ||
teatime groans audibly. | |||
Xliff | I said it was going to get messy. | 08:24 | |
You thought I was puntending? | |||
geekosaur punts... | |||
08:25
darutoko joined
08:26
rindolf joined
|
|||
Xliff | I still think that "pin" would be a better term in this case. | 08:27 | |
Because "pinning" a role into a class via .new makes more sense, and is less likely to be interpreted as something punintended. | |||
Xliff flees. | |||
08:28
Lynx_ left
08:29
mcmillhj joined
|
|||
Geth | doc: 7cd9320474 | (JJ Merelo)++ | 3 files Eliminates file that has been moved to the Rakudo wiki And works with links to it pointing them to a reasonable place. Refs #949 |
08:29 | |
doc: ac8bfd9611 | (JJ Merelo)++ | doc/Programs/01-debugging.pod6 Revising referring files And checking that everything is OK after searching for the file in the repo, so this closes #494 |
|||
08:29
Ven`` joined
|
|||
doc: 0c678b4b23 | (JJ Merelo)++ | doc/Programs/02-reading-docs.pod6 Minor changes Basically to make a commit that closes #949 since I typed the wrong issue number before. |
08:32 | ||
geekosaur | to me, "pin" implies that from that point on, it'd always be a class. But the role is still there and usable as such; the punned class is a one-off. | 08:33 | |
08:33
mcmillhj left
|
|||
Xliff | So pins are commitment and puns are just a one night stand? | 08:35 | |
I can almost see that... | |||
geekosaur | it's the old joke about ham and eggs | ||
08:35
mcmillhj joined
|
|||
geekosaur | the chicken/pun was involved; the pig/pin was committed | 08:36 | |
08:36
Lynx_ joined
|
|||
Xliff | Now I can groan. | 08:36 | |
teatime | gentlemen, it's far too early for this. | ||
Xliff | teatime: Or waaaay too late? | 08:37 | |
teatime | indeed, you know me well. | ||
Xliff | :D | ||
Of course, it is the same for me, you know. | |||
teatime | Of course. | ||
08:38
Ven`` left
|
|||
Xliff | This is what happens when you slip into insomniac territory and cannot leave. | 08:38 | |
teatime | I spent about 20 hours trying to meditate on the nature of Supply's | ||
08:38
Ven`` joined
|
|||
Xliff | Ahh... | 08:38 | |
teatime | can't shake this nagging feeling that there's a level of grok'ing these concurrency concepts that I am brushing up against but not finding the right materials to point me toward the light | 08:39 | |
Xliff | teatime: A Supply to react, is but another Promise to be kept.... | ||
(someone please stop me...) | |||
teatime | haha | ||
Xliff | Actually... | 08:40 | |
"A Supply that react, is but another Promise to be kept...." # More accurate. | |||
08:40
mcmillhj left
|
|||
Xliff | s/react/reacts/ | 08:40 | |
teatime | Lua is an odd bird of a language, to me. | ||
Xliff | And on that note.... it's time to sleep. | ||
teatime | I wouldn't have expected to like it, given its common uses etc., and I def. wouldn't have expected the code people share in it to be as readable and enjoyable as it often is. | 08:41 | |
I can't really explain why, but it's feels like a kind of anti-javascript. | |||
it could easily have the same kind of *ugh* ecosystem as nodejs, it seems to me | 08:42 | ||
yet does not. | |||
(many of those 20 hours were spent reading Lua-centric docs and examples of concurrency stuff.) | |||
08:42
mcmillhj joined
|
|||
Xliff | teatime++: You are a better man than I. | 08:42 | |
teatime | alas, it didn't help much if at all. | 08:43 | |
Xliff | I tried Lua while not in the proper mindset to get it. Have not gone back, yet. | ||
I don't understand why it is the go-to gaming script language. | |||
teatime | I suppose only because it is small and light and extremely easy to embed | ||
i.e. that was a design goal | |||
Xliff | Easy to embed, perhaps? | ||
LOL! Jinx! | |||
Those are good reasons, though. | 08:44 | ||
Xliff & | |||
teatime | it's got some superficial weirdness, but the syntax is not very complex | ||
if you find the practical need, I think you should revisit it w/o fear | |||
08:47
mcmillhj left
08:50
mcmillhj joined
|
|||
Geth | doc: b3f8233fa8 | (JJ Merelo)++ | doc/Language/pod.pod6 Including a definition for `defn` In fact, its only use in this documentation is commented out, and a real use was in the file that was removed in #949. Anyway, it's used throughout the documentation and I think it's fine to include just this little definition. Refs #1763. |
08:52 | |
synopsebot | Link: doc.perl6.org/language/pod | ||
08:54
wamba joined
08:57
markong joined,
travis-ci joined
|
|||
travis-ci | Doc build passed. JJ Merelo 'Revising referring files | 08:57 | |
travis-ci.org/perl6/doc/builds/339785535 github.com/perl6/doc/compare/02ed6...8bfd961141 | |||
08:57
travis-ci left
08:58
mcmillhj left
09:01
travis-ci joined
|
|||
travis-ci | Doc build passed. JJ Merelo 'Minor changes | 09:01 | |
travis-ci.org/perl6/doc/builds/339786050 github.com/perl6/doc/compare/ac8bf...678b4b2341 | |||
09:01
travis-ci left
09:06
someuser joined
09:09
leont left
09:13
cdg joined
|
|||
Geth | doc: 58ade6326b | (JJ Merelo)++ | 2 files defn included in POD6 documentation I see now why it wasn't included, since it's not actually rendered using definition lists. That's maybe a NYI feature somewhere upstream, might fix it too. Anyway, closes #1763. |
09:17 | |
09:18
cdg left
09:21
setty1 joined
09:22
travis-ci joined
|
|||
travis-ci | Doc build passed. JJ Merelo 'Including a definition for `defn` | 09:22 | |
travis-ci.org/perl6/doc/builds/339788766 github.com/perl6/doc/compare/0c678...f8233fa8b1 | |||
09:22
travis-ci left
09:24
pierre__ left
09:36
TEttinger left
09:44
pmurias left
09:46
pmurias joined
|
|||
ZzZombo | s: trait_mod:<is>, (Mu:U $child, Mu:U $parent) | 09:48 | |
SourceBaby | ZzZombo, Something's wrong: ERR: ===SORRY!=== Error while compiling -eTwo terms in a rowat -e:6------> put sourcery( trait_mod:<is>, (Mu:U<HERE> $child, Mu:U $parent) )[1]; expecting any of: infix infix stopper statement end statement modifier statement modifier loop | ||
ZzZombo | s: trait_mod:<is>, \(Mu:U $child, Mu:U $parent) | 09:50 | |
SourceBaby | ZzZombo, Something's wrong: ERR: ===SORRY!=== Error while compiling -eTwo terms in a rowat -e:6------> put sourcery( trait_mod:<is>, \(Mu:U<HERE> $child, Mu:U $parent) )[1]; expecting any of: infix infix stopper statement end statement modifier statement modifier loop | ||
ZzZombo | s: &trait_mod:<is>, \(Mu:U $child, Mu:U $parent) | 09:51 | |
SourceBaby | ZzZombo, Something's wrong: ERR: ===SORRY!=== Error while compiling -eTwo terms in a rowat -e:6------> put sourcery( &trait_mod:<is>, \(Mu:U<HERE> $child, Mu:U $parent) )[1]; expecting any of: infix infix stopper statement end statement modifier statement modifier loop | ||
ZzZombo | m: &trait_mod:<is>.cando(\(Mu:U $child, Mu:U $parent)) | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3&trait_mod:<is>.cando(\(Mu:U7⏏5 $child, Mu:U $parent)) expecting any of: infix infix stopper statement end … |
||
ZzZombo | m: &trait_mod<is>.cando(:(Mu:U $child, Mu:U $parent)) | 09:52 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: trait_mod used at line 1 |
||
09:52
llfourn left
|
|||
ZzZombo | m: &trait_mod:<is>.cando(:(Mu:U $child, Mu:U $parent)) | 09:52 | |
camelia | Type check failed in binding to parameter '$c'; expected Capture but got Signature (:(Mu:U $child, Mu:U $...) in block <unit> at <tmp> line 1 |
||
ZzZombo | m: &trait_mod:<is>.cando(|\(Mu:U $child, Mu:U $parent)) | 09:53 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3&trait_mod:<is>.cando(|\(Mu:U7⏏5 $child, Mu:U $parent)) expecting any of: infix infix stopper statement end … |
||
ZzZombo | m: my \c=\(Mu:U $child, Mu:U $parent);&trait_mod:<is>.cando(|c) | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3my \c=\(Mu:U7⏏5 $child, Mu:U $parent);&trait_mod:<is>.c expecting any of: infix infix stopper statement end … |
||
ZzZombo | wtf | ||
09:54
setty1 left
09:55
setty1 joined
09:56
llfourn joined
|
|||
ZzZombo | m: &trait_mod:<is>.cando(\(Mu:U,Mu:U)) | 09:57 | |
camelia | ( no output ) | ||
ZzZombo | s: trait_mod:<is>, \(Mu:U,Mu:U) | 09:58 | |
SourceBaby | ZzZombo, Something's wrong: ERR: ===SORRY!=== Error while compiling -eCalling trait_mod:<is>() will never work with any of these multi signatures: (Mu:U $child, Mu:U $parent)  (Mu:U $child, :$DEPRECATED!)  (Mu:U $type, :$rw!)  (Mu:U $type, :$nativesize!)  (Mu:U $type, :$ctype!)  (Mu:U $type, :$unsigned!)  (Mu:U $type, :$hidden!)  (Mu:U $type, Mu :$array_type!)  (Mu:U $type, *%fail)  | ||
ZzZombo | s: &trait_mod:<is>, \(Mu:U,Mu:U) | ||
SourceBaby | ZzZombo, Sauce is at github.com/rakudo/rakudo/blob/311e...its.pm#L14 | ||
10:02
stmuk_ joined
10:04
stmuk left
10:08
domidumont joined
10:09
jeromelanteri left
10:12
domidumont left
10:13
domidumont joined
10:23
domidumont left
10:24
pierre__ joined
10:29
pierre__ left
10:32
trnh joined
10:38
stmuk joined
10:39
zeddy_k joined,
stmuk_ left
|
|||
Geth | doc: 0213908498 | (JJ Merelo)++ | doc/Type/Str.pod6 Test changing to routine To see if anything breaks. Refs #683 |
10:41 | |
synopsebot | Link: doc.perl6.org/type/Str | ||
10:47
trnh is now known as dct_
10:51
shinobi-cl left
10:52
ufobat___ left
11:00
mcmillhj joined
11:04
mcmillhj left
11:11
mcmillhj joined
11:15
mcmillhj left
|
|||
ZzZombo | When MOP `new_type` is called? | 11:23 | |
11:25
mcmillhj joined
|
|||
pmurias | m: say &OUR::access_lexical_a().perl;{my $a = 42; our sub access_lexical_a() {$a}} | 11:25 | |
camelia | Any | ||
pmurias | do we have a use for that behavior ^^ | ||
ZzZombo | What behavior exactly? | 11:26 | |
11:26
zeddy_k left
11:27
zeddy_k joined
11:29
Ven`` left
|
|||
Geth | doc: ddd6b24a65 | (JJ Merelo)++ | doc/Type/Str.pod6 Changes `sub` to `routine` Actually, methods and subroutines are usually listed under "methods", however 'routine' and not 'sub' is normally used there. This is not peculiar to this file, there are `sub`s elsewhere in the documentation; however, they will need their very own issue, because this closes #683 |
11:29 | |
synopsebot | Link: doc.perl6.org/type/Str | ||
11:30
mcmillhj left
11:32
mcmillhj joined
11:39
mcmillhj left
|
|||
pmurias | ZzZombo: being able to access variables that don't exist yet | 11:43 | |
11:43
konsolebox left
11:46
konsolebox joined
11:49
eliasr joined
11:54
Rawriful joined
|
|||
ZzZombo | That's wrong perception. | 11:58 | |
12:00
konsolebox left
12:01
konsolebox joined
12:05
dct_ left
12:06
pierre__ joined
|
|||
Geth | doc: a90adc268c | (JJ Merelo)++ | doc/Language/about.pod6 Changed real infix to imaginary one This kind of solves #1394, creating in its turn a broken link, but at least it should show the actual documentation for the Z infix. Closes #1394 if everything goes well. |
12:07 | |
synopsebot | Link: doc.perl6.org/language/about | ||
12:11
mcmillhj joined
12:16
dct_ joined,
mcmillhj left
12:18
pierre__ left
12:19
mcmillhj joined
12:24
mcmillhj left,
mcmillhj joined
|
|||
DrForr_ notes jjmerelo++ is on fire today. | 12:28 | ||
12:29
noganex left
12:30
mcmillhj left
|
|||
El_Che | hi DrForr_ | 12:31 | |
I like the new _ thing :) | |||
DrForr_ | o/ | ||
12:31
DrForr_ is now known as DrForr
|
|||
ZzZombo | Can I make Perl accept `const` as constant declarator? | 12:32 | |
DrForr | On occasion I get the mental image of a piece of stray toilet paper. | ||
yoleaux | 31 Jan 2018 23:55Z <comborico1611> DrForr: Have you heard of this book: Coders at Work: Reflections on the Craft of Programming ? | ||
12:32
mcmillhj joined
|
|||
El_Che | DrForr: lol | 12:32 | |
12:33
someuser left,
konsolebox left
|
|||
El_Che | DrForr: I see it more as a unicode problem: DrForrö or something :) | 12:33 | |
DrForr | .tell comborico1611 I have a copy, but it's in storage, I believe. | 12:34 | |
yoleaux | DrForr: I'll pass your message to comborico1611. | ||
12:35
konsolebox joined
12:37
mcmillhj left
|
|||
DrForr gives up on X11. | 12:37 | ||
El_Che | wayland? | 12:38 | |
DrForr | No, I'm using a VM and running full-screen X11 eats up too much RAM. | ||
teatime breathes a sigh of relief. | 12:39 | ||
El_Che | did you installed the tools/addons? | ||
I run a win7 VM on linux and without the guest edition and enabling 2d/3d support + 256mb memory is sluggish | 12:40 | ||
aka, it runs the graphical stuff on the gpu | |||
12:40
mcmillhj joined
|
|||
El_Che | in the past, before I formatted my work machine and instelled linux, I had a company win 7 with a ubuntu VM. Same, needed the additions + max video memoru for 3D settings and it was fine | 12:41 | |
DrForr | I had guest additions installed, had to in order to get the seamless bit to run. | 12:42 | |
El_Che | I formatted the thing because with a desktop vm you can use around half of your ram, and I was spending all my time in the vm anywaus | ||
DrForr: did you change the 2d/3D setting and adapted video memory? | |||
once you also enable 3D Virtualbox lets you go up to 256MB (from 128) | |||
DrForr | Hrm, I'll have to look. | 12:43 | |
El_Che | vmware allows you to even give more video ram to the VM | ||
I had a license, but I got fed up stuggeling with every OS update and went back to virtualbox | |||
DrForr | Good grief. | ||
That... could be an issue. | 12:44 | ||
El_Che | (the times I patched their vmware tools, I lost count) | ||
(it a perl script :) ) | |||
DrForr | I know, I also know one of the people that wrote them :) | ||
El_Che | :) | ||
12:44
mcmillhj left
|
|||
DrForr gooses RAM up from (eep) 16Mb to 128 and enables 3D... | 12:45 | ||
El_Che | then go to 256 | 12:46 | |
DrForr | 128 was max. It's an early Win10... I gave up a bit of RAM for the touchscreen, though that didn't last nearly as long as I'd hoped. | ||
12:47
pierre__ joined
|
|||
DrForr | Switching desktops feels smoother. | 12:53 | |
12:55
dct_ left
12:56
konsolebox left,
konsolebox joined
12:57
pierre__ left
13:06
someuser joined
|
|||
caa51h | Hi. I'm learning perl6. | 13:11 | |
13:11
quotable6 left,
quotable6 joined
|
|||
DrForr | Well, you came to the right place :) | 13:12 | |
caa51h | Can I use the hyper operator with lambda expression? | ||
DrForr: cool thank you | |||
El_Che | ahaha, you're not loosing time | 13:13 | |
DrForr | m: my @x=1,2,4; say[{$^a*$^b}] @x; | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Use of non-subscript brackets after "say" where postfix is expected; please use whitespace before any arguments at <tmp>:1 ------> 3my @x=1,2,4; say7⏏5[{$^a*$^b}] @x; expecting any of:… |
||
SmokeMachine | m: sub MAIN($*v) {} | ||
camelia | Usage: <tmp> <v> |
||
SmokeMachine | :) | ||
13:13
pierre__ joined
|
|||
DrForr | That was me just playing with an idea; I'd think there should be a way. | 13:15 | |
SmokeMachine | m: say class :: {has $!a; method bla($!a) {}}.^find_method(“bla”).signature.params.[1].usage-name | ||
camelia | a | ||
SmokeMachine | :) | ||
caa51h | oh I get it. | ||
m: say <0 1 2 3 4>>>.&(-> $x { $x %% 2 }) | |||
camelia | (True False True False True) | ||
jnthn | m: say (1, 2, 3) >>[&(-> $a, $b { "$a x $b" })]<< (4, 5, 6) | 13:16 | |
camelia | (1 x 4 2 x 5 3 x 6) | ||
yoleaux | 04:26Z <Zoffix> jnthn: Any tips for what could be causing `if 42 -> *@a { say @a.perl }` to never set `@a`? It works fine with `with 42 -> *@a { say @a.perl }` and the QAST of the two are basically identical (the `if` one is inside a Want, but other than that and the `if`vs`with` ops, the same) | ||
jnthn | Like that for infix | ||
.tell Zoffix Perhaps an issue of the compiler (I think down in the QAST -> MAST stage) using .arity to make the decision, and that is 0 on such a block | 13:17 | ||
yoleaux | jnthn: I'll pass your message to Zoffix. | ||
El_Che | are there any perl5/6 projects participating in the GSoC? | 13:24 | |
DrForr | I think TPF gave up on submitting to GSoC a few years ago.. | 13:25 | |
sjn | why? | 13:26 | |
DrForr | Getting denied 3 or 4 years in a row, I imagine. | 13:28 | |
El_Che | DrForr: perl6 is newish :) | ||
wasn't out 3y ago :) | |||
I thought about it because e.g. JJ is in academia | 13:34 | ||
Geth | perl6.org: 1f63e45b32 | (Steve Mynott)++ | source/downloads/index.html recommend updating zef shipped in Rakudo Star 2018.01 |
||
stmuk | is ZzZombo zoffix I lose track? | 13:36 | |
El_Che | no | 13:37 | |
DrForr | I think you'd have to talk to TPF people directly. My memory is that last time there weren't enough GSoC students interested in Perl to cross the submission threshol. | ||
caa51h | m: say (1, 2, 3) >>[[[&(-> $a, $b { "$a x $b" })]]]>> 'a' | ||
camelia | (1 x a 2 x a 3 x a) | ||
caa51h | Why can I have any number of [ and ]? | ||
stmuk | can anyone but zoffix drive p6lert? | 13:40 | |
I wanted a message about updating zef similar to the one I just added to the website | |||
DrForr | I would *hope* that TPF would be willing to submit GSoC projects for either Perl; I would suspect it comes down to nobody submtting.. | 13:41 | |
Er, "nobody presenting projects..." | |||
El_Che | a new language with an old name will not create hype, so I get the TPF people | 13:43 | |
ZzZombo | m: class A {method ^parameterize(\SELF, |c){SELF.new(|c)}};class B is A[:a(1)] {} | 13:45 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot resolve caller trait_mod:<is>(B, A, Array); none of these signatures match: (Mu:U $child, Mu:U $parent) (Mu:U $child, :$DEPRECATED!) (Mu:U $type, :$rw!) (Mu:U $type, :$nat… |
||
DrForr | But Python2 -> Python3 is massive hype?... | ||
ZzZombo | What the horse? | ||
MasterDuke | m: my @a = [[[1]]]; dd @a | ||
camelia | Array @a = [1] | ||
MasterDuke | m: my @a = [[[1,],],]; dd @a | 13:46 | |
camelia | Array @a = [[[1],],] | ||
13:46
lucs left
|
|||
MasterDuke | caa51h: without the `,`, single things get collapsed | 13:46 | |
(i feel that's a terrible explanation, but am not thinking quickly this morning) | 13:47 | ||
El_Che | DrForr: that the other famous foot shooting incident in FOSS :) | 13:48 | |
caa51h | MasterDuke: cool. why make this design decision? | ||
El_Che | DrForr: python has been picked up in a lot universities to learn programming, hence the situation is different in this case | ||
caa51h | oh, so there are some deep meaning. # a terrible explanation | 13:49 | |
teatime announces (expecting little interest/relevence to y'all, but just in case I'm wrong) his intention to volunteer w/ the Debian Rakudo packaging team. | |||
El_Che | teatime++ | ||
DrForr | Mmhmm. And it may be something to do with Google doing a lot of work with Python, and now Go... | 13:50 | |
caa51h | so maybe someday I will understand the true meaning of [[[1]]] by reading more docs | ||
El_Che | I got a mail to maintain rakudo in fedora, but I declined to lack of time :( | ||
MasterDuke | caa51h: pretty sure i've known why in the past, but it's not coming to me | ||
DrForr | teatime++ | ||
MasterDuke | caa51h: i recommend asking jnthn, Zoffix, lizmat, timotimo, TimToady | 13:51 | |
13:51
someuser left
|
|||
MasterDuke | or does anyone else around have an answer? | 13:51 | |
caa51h | MasterDuke: thank you. you're very kind. | 13:52 | |
13:52
pierre__ left
13:53
Zoffix joined
|
|||
MasterDuke | it's related to docs.perl6.org/type/Signature#inde..._Slurpy%29 and the subsequently linked docs.perl6.org/language/functions#...onventions | 13:54 | |
Zoffix | stmuk: ATM I'm the only one with keys to p6lert, but if you got a stable IRC host mask, I can add you to list of admins | ||
stmuk | Zoffix: I'd rather not have the responsibility :) | 13:55 | |
Zoffix | stmuk: OK, well give me the message and I send it | ||
stmuk | "Users of Rakudo Star 2018 are recommended to update zef via "zef install zef". Newer versions of zef include a work around for an apparent Rakudo bug which shows itself in zef being unable to update mirrors sometimes." | 13:57 | |
caa51h | > All candidates are currently installedNo reason to proceed. Use --force-install to continue anyway | 13:58 | |
14:00
pierre__ joined
|
|||
Zoffix | Yeah, I get the same. Even with `zef update; zef --/cached install zef` | 14:01 | |
stmuk | I didn't get that message with a fresh Rakudo Star 2018.01 install | ||
Zoffix | zef info zef shows I got `0.2.0`, but I see there's 0.2.2 in repo github.com/ugexe/zef/blob/master/META6.json#L4 | ||
stmuk | Also see github.com/ugexe/zef/issues/229 | 14:02 | |
maybe "rm -rf ~/.zef ~/.perl6 && zef install --force-install zef" would be more defensive | 14:03 | ||
Zoffix | `zef --force install zef` (without any rm's) did the trick for me. | 14:04 | |
stmuk | you could add that flag .. although zef itself will warn if its needed | ||
Zoffix | p6lert: add severity:low Users of Rakudo Star 2018 are recommended to update zef via "zef --force install zef". Newer versions of zef include a work around for an apparent Rakudo bug which shows itself in zef being unable to update mirrors sometimes. | ||
p6lert | Zoffix, Added alert ID 3: alerts.perl6.org/alert/3 | ||
Zoffix | p6lert: update 3 severity:low Users of Rakudo Star 2018.01 are recommended to update zef via "zef --force install zef". Newer versions of zef include a work around for an apparent Rakudo bug which shows itself in zef being unable to update mirrors sometimes. | 14:05 | |
p6lert | Zoffix, Updated alert ID 3: alerts.perl6.org/alert/3 | ||
stmuk | thanks | ||
Zoffix | (changed `2018` to `2018.01`) | ||
It'll take ~10m for it to get live on alerts home page and to get tweeted (the delay is so we could edit the alert before it gets tweeted if we need to) | |||
stmuk | you missed a dash from the zef flag | ||
Zoffix | stmuk: which dash? I see two `--force` | 14:06 | |
stmuk | oh --force works | ||
Zoffix | Ah, `--force` is a general force option, `--force-install` is an install-only force option. And above it's not dash missing, it's `--force` flag + `install` command | 14:07 | |
stmuk | I wish zef had full docs (inline pod6?) rather than me having to go to the github page each time | ||
does github render pod6 yet? I forget | 14:08 | ||
Zoffix | No | ||
Still open as D#167 | 14:09 | ||
synopsebot | D#167 [open]: github.com/perl6/doc/issues/167 [build][external] GitHub Pod Parsing | ||
Zoffix | "You're certainly more than welcome to perform a PR with tests, and update the .travis.yml file so that our CI test suite verifies that Perl6 documentation is being generated." | ||
14:09
wamba left
|
|||
Zoffix | But I don't think GitHub realized that to parse POD6, they'd need to have a fully-functional Perl 6 compiler installed and that parsing pod can execute arbitrary code | 14:09 | |
14:10
noganex joined
|
|||
Zoffix | or that it's quite expensive to parse POD6 with current compiler (compared to say Perl 5's pod, which looks like it's generated on the fly when you visit a page and gets updated as soon as you make changes to source) | 14:11 | |
k, alert got shipped twitter.com/p6lert | 14:16 | ||
Zoffix & | |||
14:16
Zoffix left
|
|||
caa51h | Is szabgab here? Part 1, 1.5, 2 and 6 are dead. # szabgab.com/perl6.html#screencast | 14:19 | |
14:19
pierre__ left
|
|||
stmuk | caa51h: I think he has a cron starting things as a workaround .. maybe wait a bit | 14:19 | |
caa51h | stmuk: ok | 14:20 | |
14:21
pierre__ joined
|
|||
MasterDuke | anybody here know anything about OpenSSL::SSL::SSL_read() ? | 14:25 | |
14:39
Ven`` joined,
pierre__ left
14:40
pierre__ joined
|
|||
El_Che | stmuk: how did the flatpack experiment go, btw? Was it accepted upstread as a base layer for other fatpacked soft? | 14:42 | |
stmuk: I see that snap is a lot less desktop oriented (and Ubuntu is pushing it aggressively the last few months) | 14:45 | ||
caa51h | it's cool to have a subset of an existing type. perl6++ | 14:52 | |
14:53
AlexDaniel joined
|
|||
tbrowder | AlexDaniel: is there anything wrong with my nqp PR #401? | 14:59 | |
AlexDaniel | NQP#401 | ||
synopsebot | NQP#401 [open]: github.com/perl6/nqp/pull/401 improve pod panic msg | ||
AlexDaniel | tbrowder: I don't think so | 15:01 | |
I just woke up to a pagefull of notifications :) JJ++ | 15:02 | ||
15:05
konsolebox left
|
|||
AlexDaniel | tbrowder: how do I reproduce it? | 15:05 | |
15:05
rightfold left
|
|||
tbrowder | hm, i think i have a test that goes with it....hold on, it’s been so long | 15:06 | |
AlexDaniel | m: #=foo=cut | 15:07 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Preceding context expects a term, but found infix = instead. Did you make a mistake in Pod syntax? at <tmp>:2 ------> 3=cut7⏏5<EOL> |
||
15:07
konsolebox joined
|
|||
AlexDaniel | that's not it… | 15:07 | |
ZzZombo | m: class A {method ^parameterize(\SELF, |c){SELF.new(|c)}};class B is A[:a(1)] {} | 15:11 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot resolve caller trait_mod:<is>(B, A, Array); none of these signatures match: (Mu:U $child, Mu:U $parent) (Mu:U $child, :$DEPRECATED!) (Mu:U $type, :$rw!) (Mu:U $type, :$nat… |
||
ZzZombo | Why? | ||
15:12
itaylor57 left
|
|||
ZzZombo | m: class A {method ^parameterize(\SELF, |c){SELF.new(|c)}};class B is A [:a(1)] {} | 15:12 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Unable to parse class definition at <tmp>:1 ------> 3e(\SELF, |c){SELF.new(|c)}};class B is A7⏏5 [:a(1)] {} |
||
15:15
shinobi-cl joined
|
|||
AlexDaniel | s: &emit | 15:19 | |
SourceBaby | AlexDaniel, Sauce is at github.com/rakudo/rakudo/blob/f559...ol.pm#L159 | ||
tbrowder | m: =pod \n=cut | 15:21 | |
camelia | ( no output ) | ||
15:23
skids joined
|
|||
tbrowder | AlexDaniel: now i remember, i had a test that used perl 5 since i needed to write a file and eval it with shell but Zoffix shot it down. i haven’t been able to use the asynch replacement for nqp::shell successfully, thus no test yet exists for the panic. | 15:24 | |
15:25
lizmat left
|
|||
tbrowder | i also got hung up trying to write a file but that’s no longer a show-stopper. forget about the pr for now. thanks. | 15:26 | |
AlexDaniel | :) | 15:27 | |
SmokeMachine | m: say ^10 .unique: * %% 2 | 15:34 | |
camelia | Cannot resolve caller unique(Range: WhateverCode); none of these signatures match: ($: *%_) ($: :&as!, :&with!, *%_) ($: :&as!, *%_) ($: :&with!, *%_) in block <unit> at <tmp> line 1 |
||
SmokeMachine | m: say <1 2 3 4 5 6 7 8 9>.unique: * %% 2 | ||
camelia | Cannot resolve caller unique(List: WhateverCode); none of these signatures match: ($: *%_) ($: :&as!, :&with!, *%_) ($: :&as!, *%_) ($: :&with!, *%_) in block <unit> at <tmp> line 1 |
||
SmokeMachine | m: say ^10 .unique: :as{ * %% 2 } | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Malformed double closure; WhateverCode is already a closure without curlies, so either remove the curlies or use valid parameter syntax instead of * at <tmp>:1 ------> 3say ^10 .unique: :as{ * %% 2… |
||
SmokeMachine | m: say ^10 .unique: :as{$_ %% 2} | 15:35 | |
camelia | (0 1) | ||
MasterDuke | m: say ^10 .unique: :as(* %% 2) | 15:36 | |
camelia | (0 1) | ||
SmokeMachine | is it always true that unique will get the first values that &as answer the same value? | ||
m: say ^10 .reverse.unique: :as{$_ %% 2} | 15:37 | ||
camelia | (9 8) | ||
15:37
itaylor57 joined
15:47
itaylor57 left
15:57
pierre__ left
15:58
itaylor57 joined
16:06
Ven`` left,
Ven`` joined
16:07
Ven`` left
16:13
konsolebox left,
konsolebox joined
16:18
Ven`` joined
16:19
wamba joined
16:29
khw joined
16:37
lalitmee joined
16:38
benjikun joined
|
|||
benjikun | Anyone have any idea how to fix this? gist.github.com/anonymous/dfe93372...f4a198a990 | 16:38 | |
"Too many open files" | 16:39 | ||
I thought doing *.IO would close the file after retrieving the data, does it not? | 16:41 | ||
16:43
Zoffix joined
|
|||
Zoffix | benjikun: it does. Are you running many versions of &scan at the same time perhaps? | 16:44 | |
benjikun | I'm using this to run the sub every 1200 seconds: `Supply.interval(1200).tap: { scan(); } | ||
Zoffix | benjikun: what's your compiler's version? perl6 -vv | 16:46 | |
I mean perl6 -v | |||
benjikun | `This is Rakudo version 2017.12 built on MoarVM version 2017.12 implementing Perl 6.c.` | ||
Zoffix | oh lol | 16:47 | |
I see now :) | |||
benjikun | Is that version too old? | ||
Zoffix | benjikun: it does close the files, but only if you consume the entire .lines Seq | ||
Which you never do, so it sits and waits for you to eat all the lines | |||
benjikun | Oh, interesting | 16:48 | |
Should I just `my $lines = "posts/$i.html".IO.lines;`, or is there a more efficient way of doing things | |||
16:50
mcmillhj joined
|
|||
AlexDaniel | I guess you'll have to .open and .close it explicitly? | 16:51 | |
but also, that's a rakudo bug I'd say… | |||
Zoffix | benjikun: that won't consume the Seq either. with "posts/$i.html".IO.lines { @titles[$latest - $i] = .head; .sink } | 16:52 | |
benjikun: or with "posts/$i.html".IO.open { @titles[$latest - $i] = .get; .close } | 16:53 | ||
AlexDaniel: it isn't | |||
or "posts/$i.html".IO.lines andthen @titles[$latest - $i] = .head andthen .sink | 16:54 | ||
oh wait | |||
AlexDaniel | Zoffix: why not? It leaves the file open when I won't be able to read from it anymore. | ||
16:55
R0b0t1 left
|
|||
Zoffix | benjikun: there's limit arg to lines. Just change .lines[0] to .lines: 1 | 16:55 | |
benjikun | What do you mean by "limit arg to lines" | 16:56 | |
Zoffix | AlexDaniel: because it doesn't know what you've done with that Seq. | ||
16:56
mcmillhj left
|
|||
AlexDaniel | Zoffix: sure, but then it will be garbage collected at some point, no? | 16:56 | |
Zoffix | AlexDaniel: yes, and then it'll be closed. | ||
16:56
mcmillhj joined
|
|||
Zoffix | benjikun: the .lines method takes an argument. Second paragraph here: docs.perl6.org/routine/lines#(IO::...tine_lines | 16:56 | |
benjikun: change `@titles[$latest - $i] = "posts/$i.html".IO.lines[0]; ` to `@titles[$latest - $i] = "posts/$i.html".IO.lines: 1; | 16:57 | ||
benjikun | ah, I think I understand | ||
thanks for the help | |||
AlexDaniel | oh, so if you stick a force_gc into that thing it starts “wörking”? | ||
Zoffix | or @titles[$latest - $i] = "posts/$i.html".IO.lines(1) in more familiar spelling | ||
AlexDaniel: yeah. That's why .lines got $limit implemented. The original solution to this problem was making .lines slurp the entire file at once. I think that was around March 2017 and then in IO Grant it was reverted and $limit was added | 16:58 | ||
17:00
lalit joined
|
|||
Zoffix | This was it I think github.com/rakudo/rakudo/blob/mast...discussion | 17:00 | |
Except for `:$leave-open` stuff, which was turned down | |||
17:01
mcmillhj left
17:02
lalitmee left
|
|||
AlexDaniel | Zoffix: I see. Thanks | 17:02 | |
maybe that's some language/traps material | 17:03 | ||
17:04
benjikun left
|
|||
SmokeMachine | do you guys think this is the right usage in this case? www.irccloud.com/pastebin/2qDpbah0/ | 17:04 | |
Zoffix | *shrug* The docs for .lines do say "NOTE: the lines are read lazily, so ensure the returned Seq is either fully reified or is no longer needed when you close the handle or attempt to use any other methods that change the file position." | 17:05 | |
That's for IO::Handle.lines and for IO::Path.lines it says "NOTE: the lines are ready lazily and the handle used under the hood won't get closed until the returned Seq is fully reified, so ensure it is, or you'll be leaking open file handles. (TIP: use the $limit argument)" | 17:06 | ||
AlexDaniel | that's pretty good I guess | ||
SmokeMachine | www.irccloud.com/pastebin/2EncEfke/ | ||
Zoffix | It's also mentioned in the IO Guide: docs.perl6.org/language/io-guide#R...from_files | 17:07 | |
AlexDaniel | Zoffix++ | ||
Zoffix | SmokeMachine: does it even work? The call that sets :$*v in the proto can't ever get to the candidates that use $*v but don't take a :$v arg | 17:08 | |
m: proto z (:$*v) {*}; multi z { dd $*v }; z :42v | |||
camelia | Unexpected named argument 'v' passed in sub z at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
Zoffix | m: proto z (:$*v) {*}; multi z (|) { dd $*v }; z :42v; # need this | 17:09 | |
camelia | Int $*v = 42 | ||
Zoffix | m: proto z (:$*v) {*}; multi z (*%) { dd $*v }; z :42v; # or this | ||
camelia | Int $*v = 42 | ||
17:09
R0b0t1 joined
|
|||
Zoffix | m: proto z (:$*v) {*}; multi z (:$v) { dd $*v }; z :42v; # or this, but then messing around with dynamics is kinda pointless | 17:09 | |
camelia | Int $*v = 42 | ||
SmokeMachine | Zoffix: www.irccloud.com/pastebin/m6F0VBsR/ | ||
17:10
mcmillhj joined
|
|||
Zoffix | SmokeMachine: what I meant that in this candidate `multi MAIN($a, $b) {say $*v, $a, $b}`, $*v would always be an Any type object, because it's impossible for it to get set from the proto. If it were set in the proto, that candidate would not be able to take it | 17:10 | |
17:11
lalitmee joined
|
|||
Zoffix | Try `-v=42 foo bar` | 17:11 | |
SmokeMachine | Zoffix: www.irccloud.com/pastebin/flKm9nZK/ | 17:12 | |
Zoffix | Exactly. | ||
SmokeMachine | Zoffix: yes, but is the usage right? | ||
Zoffix | Ah | 17:13 | |
17:13
pmurias left,
pmurias joined,
lalit left
17:14
cdg joined
|
|||
Zoffix | SmokeMachine: no, it's wrong. It lists ` -e '...' [-v=<Any>] <a> <b> `. If you ignore the `'...'` bit, that's exactly the args you gave it. Yet it can't accept it | 17:14 | |
SmokeMachine: basically someone (maybe me) told you yesterday that it was a bug that stuff from proto wasn't listed in the usage... and I think it's possible it shouldn't be listed. | 17:15 | ||
17:15
mcmillhj left
|
|||
SmokeMachine | :( | 17:15 | |
Zoffix | It kinda gets complicated. `proto z (:$*v) {*}; multi z (|) { dd $*v };` means usage `[-v=<Any>]` only. `proto z (:$*v, |) {*}; multi z () { dd $*v };` means no valid canidates | 17:16 | |
Actually, no, last one can work with no args. But the `-v` from the proto never should be shown in usage, because no candidate can take it | 17:17 | ||
17:18
lalit joined
|
|||
Zoffix | So it's possible it's best to leave this complexity out and let people who want to have proto MAIN write their own $*USAGE | 17:18 | |
SmokeMachine | Zoffix: and if the usage says this, or something like that... www.irccloud.com/pastebin/tC05K7pI/ | ||
Zoffix | SmokeMachine: what does "Global parameters" mean? | 17:19 | |
They're not quite global, are they, since only one candidate can take them. And in my last example above, no candidate can take it | |||
17:19
lalitmee left
|
|||
Zoffix | SmokeMachine: also, the usage still lists `'...'` from the proto, which doesn't apply to any candidate | 17:20 | |
Personally, I'd just leave it alone and ignore the args from proto. The usecase is too small for the maintenance burden. | |||
Zoffix & | |||
17:21
Zoffix left,
aindilis left
|
|||
SmokeMachine | Zoffix: I was meaning something like: proto params | 17:21 | |
17:24
mcmillhj joined
17:25
lalit left
|
|||
SmokeMachine | any other opinion about that? | 17:28 | |
jnthn: ? | |||
17:29
konsolebox left
17:30
konsolebox joined,
mcmillhj left
17:32
lizmat joined,
mcmillhj joined
17:34
imcsk8 left
17:35
imcsk8 joined
17:37
skids left,
pecastro left
17:42
mcmillhj left
17:48
pecastro joined
17:53
travis-ci joined
|
|||
travis-ci | Doc build errored. JJ Merelo 'Testing with whateverable' | 17:53 | |
travis-ci.org/JJ/doc/builds/339903131 github.com/JJ/doc/compare/d9485954...daef5751d2 | |||
17:53
travis-ci left
17:57
mcmillhj joined,
pierre__ joined
17:58
travis-ci joined
|
|||
travis-ci | Doc build errored. JJ Merelo 'Testing with sudo' | 17:58 | |
travis-ci.org/JJ/doc/builds/339903928 github.com/JJ/doc/compare/97daef57...2d2d3f5c68 | |||
17:58
travis-ci left
18:00
dct_ joined
18:01
mcmillhj left
18:02
pierre__ left
18:07
awwaiid left
18:11
isBEKaml joined
18:12
mcmillhj joined
18:16
travis-ci joined
|
|||
travis-ci | Doc build failed. JJ Merelo 'Test with travis' | 18:16 | |
travis-ci.org/JJ/doc/builds/339908047 github.com/JJ/doc/compare/552d2d3f...69f0a1c2c4 | |||
18:16
travis-ci left
18:17
mcmillhj left
18:18
isBEKaml left
18:24
mcmillhj joined
18:29
mcmillhj left
18:32
dct_ left
18:36
mcmillhj joined
18:41
mcmillhj left
18:47
travis-ci joined
|
|||
travis-ci | Doc build failed. JJ Merelo 'Tests with SSL' | 18:47 | |
travis-ci.org/JJ/doc/builds/339914458 github.com/JJ/doc/compare/5769f0a1...8867f0adf0 | |||
18:47
travis-ci left
18:48
mcmillhj joined
18:49
travis-ci joined
|
|||
travis-ci | Doc build errored. JJ Merelo 'YAML syntax gets in the way...' | 18:49 | |
travis-ci.org/JJ/doc/builds/339915428 github.com/JJ/doc/compare/078867f0...f36978b46b | |||
18:49
travis-ci left
|
|||
AlexDaniel | weekly: 8000th commit github.com/perl6/doc | 18:51 | |
notable6 | AlexDaniel, Noted! | ||
18:53
darutoko left,
mcmillhj left
18:54
travis-ci joined
|
|||
travis-ci | Doc build errored. JJ Merelo 'Putting stuff properly' | 18:54 | |
travis-ci.org/JJ/doc/builds/339916014 github.com/JJ/doc/compare/b3f36978...9751908240 | |||
18:54
travis-ci left
18:55
notable6 left,
notable6 joined
18:56
dct_ joined
19:01
mcmillhj joined
|
|||
Geth | doc: 1b62109e13 | (Zoffix Znet)++ (committed using GitHub Web editor) | .travis.yml Tell travis to fetch libssl-dev Looks like OpenSSL is now in prereqs |
19:01 | |
19:03
Zoffix joined
|
|||
Geth | doc: b1b107f867 | (Zoffix Znet)++ | .travis.yml Revert "Tell travis to fetch libssl-dev" This reverts commit 1b62109e13fd0bb6f8cf0667d4cfac3ed6dfc32b. Never mind... Travis was reporting failures for a *fork* in our chat. |
19:04 | |
Zoffix | That's kinda lame that travis bot reports failures for forks. | 19:05 | |
AlexDaniel | hehe | ||
19:06
mcmillhj left
|
|||
geekosaur | yes, it's a known wart. with a workaround where you store the IRC information in an encrypted form based on the project, so it won't match in a fork and reporting fails | 19:16 | |
(really, how's it going to know? it trusts the .travis.yml) | 19:17 | ||
moritz | well, it could ask github through the API if a project is a fork | 19:18 | |
and don't report, unless explicitly overrideen | 19:19 | ||
*overridden | |||
19:20
mcmillhj joined
|
|||
Geth | whateverable: 319716d8f0 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files New bot: Shareable Basically, it makes every build publicly available. The bot itself simply dumps links to whateverable.6lang.org/. The code can be improved a bit but that's for later. Right now we're just testing the concept. |
19:22 | |
whateverable: c8d1db6ec8 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files ⚠ Make all bots runnable locally (this is so cool!) Previously if you wanted to run bisectable or some other bot locally you had to build tens (if not thousands) of rakudo versions to get something useful out of it. Now whenever it stumbles upon a missing build it will attempt to pull it from the main server. If you're on linux x86_64, this means that the bots you start are no worse than the ... (11 more lines) |
|||
Zoffix | :o | 19:23 | |
On a related note, JJMerelo wanted to do previous versions of rakudo as docker images: www.facebook.com/groups/perl6/perm...926523156/ | 19:24 | ||
AlexDaniel | on the same note, they also attempted to use whateverable for that: github.com/perl6/doc/issues/1765#i...-364680210 | 19:25 | |
without much success, because… ubuntu 14.04?? Seriously? | 19:26 | ||
19:26
mcmillhj left
19:27
SCHAPiE left,
dct_ left
|
|||
Geth | whateverable: 64cbc09b6a | (Aleks-Daniel Jakimenko-Aleksejev)++ | services/whateverable-all.service Start Shareable along with other bots Forgot to do that in 319716d8f006f0af474700a57319aa457724b2f1. See also: #122 |
19:27 | |
MasterDuke | i thought there was a way to get a newer ubuntu in travis? | ||
AlexDaniel | how? | 19:28 | |
El_Che | no, you can't | ||
MasterDuke | dunno, istr samcv doing it for something | ||
El_Che | however, I work around that by using docker | ||
samcv | istr? | ||
moritz | "i seem to recall" | ||
El_Che | github.com/nxadm/rakudo-pkg/blob/m...travis.yml | ||
samcv | well you can get a newer ubuntu. but i think we already had the latest ubuntu? at least maybe on some repos | 19:29 | |
19:29
shareable joined
|
|||
AlexDaniel | shareable: HEAD | 19:29 | |
shareable | AlexDaniel, whateverable.6lang.org/HEAD | ||
AlexDaniel | wrong nickname… | ||
Zoffix | samcv: FWIW one of your commits broke Windows build: github.com/rakudo/rakudo/issues/1511 I tried looking at it, but couldn't figure out if the files with `:` in their names were auto generated or not | ||
samcv | ohh | 19:30 | |
ok i can see how that could happen | |||
::) | |||
Geth | whateverable: e3df1090a4 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Shareable.p6 Oops, wrong nickname |
||
19:30
shareable left,
shareable6 joined,
ChanServ sets mode: +v shareable6
|
|||
AlexDaniel | shareable6: 2015.12^ | 19:30 | |
shareable6 | AlexDaniel, whateverable.6lang.org/2015.12^ | ||
AlexDaniel | well… that's not a proper link | 19:31 | |
19:31
SCHAPiE joined
|
|||
AlexDaniel | obviously needs a bit more work, but I'm happy with it anyway :) | 19:31 | |
MasterDuke | but it works | ||
AlexDaniel | yea, it does | ||
MasterDuke | btw, i'm trying to --profile downloading just a single build with the HTTP::UserAgent version of your leak-some-memory.p6 script. it creates a 14m profile that even the qt viewer can't open | 19:33 | |
AlexDaniel | MasterDuke: what about Cro version? | 19:34 | |
because it does leak as well | |||
but with a smaller memory footprint | |||
MasterDuke | there may be some inefficiencies in HTTP::UA or its dependencies, just guessing | ||
AlexDaniel | weekly: 500th commit in github.com/perl6/whateverable, two new bots: github.com/perl6/whateverable/wiki/Notable github.com/perl6/whateverable/wiki/Shareable | 19:35 | |
notable6 | AlexDaniel, Noted! | ||
MasterDuke | it's such a drastic difference between the Cro and HTTP::UA versions that i'm not sure it would be the same cause | ||
samcv | i am going to commit a change to fix the windows build in a few minutes | 19:36 | |
AlexDaniel | shareable6: help | 19:37 | |
shareable6 | AlexDaniel, Like this: shareable6: f583f22 # See wiki for more examples: github.com/perl6/whateverable/wiki/Shareable | ||
AlexDaniel | shareable6: f583f22 | ||
shareable6 | AlexDaniel, whateverable.6lang.org/f583f22 | ||
19:38
mcmillhj joined
19:41
aindilis joined
19:42
TEttinger joined
19:43
mcmillhj left
19:45
natrys joined
19:47
Zoffix left
|
|||
AlexDaniel | shareable6: help | 19:48 | |
shareable6 | AlexDaniel, Like this: shareable6: f583f22 # See wiki for more examples: github.com/perl6/whateverable/wiki/Shareable | ||
AlexDaniel | ↑ some help here | ||
19:48
mcmillhj joined
|
|||
AlexDaniel | but I know that perhaps this is not super useful for most people right now | 19:49 | |
19:49
zeddy_k left
|
|||
AlexDaniel | fwiw moarvm builds are also available: whateverable.6lang.org/HEAD?arch=l...ype=moarvm | 19:52 | |
though not sure why anybody would need that given that moarvm can be compiled really fast | |||
19:55
Abeer joined,
R0b0t1 left
19:56
Abeer left
19:57
mcmillhj left
20:01
mcmillhj joined
20:06
mcmillhj left
20:16
mcmillhj joined
20:20
mcmillhj left
20:24
eserte left
20:25
dct_ joined
20:28
mcmillhj joined
20:32
troys joined,
Ven`` left
20:33
mcmillhj left
20:41
natrys left
20:42
mcmillhj joined
20:47
mcmillhj left
20:49
cdg left
20:54
pmurias left
20:55
pmurias joined
20:56
natrys joined,
mcmillhj joined
21:00
shinobi-cl left
21:01
mcmillhj left
21:06
natrys left
21:24
a3f left
21:29
greppable6 left
21:30
Ven`` joined,
quotable6 left
21:33
releasable6 left
21:34
jstevens joined
21:37
bloatable6 left,
peteretep left,
skaji left,
leah2 left,
squashable6 left,
Ulti left,
reportable6 left,
wictory[m] left,
tadzik left,
AlexDaniel` left,
mempko left,
tbrowder left,
xi- left,
mrsolo left,
lumimies left,
parisba left,
committable6 left,
obra left,
g- left,
setty1 left,
vike left,
sacomo left,
Grauwolf left,
stux|RC-- left,
zacts left,
DarthGandalf left,
Altreus left,
Juerd left,
SmokeMachine left,
avalenn left,
[Coke] left,
samebchase left,
mtj_ left,
ecocode left,
ilmari left,
clkao left,
roguelazer left,
alpha6 left,
webstrand left,
esh left,
jeek left,
sivoais left,
TeamBlast left,
zostay left,
mienaikage left,
klapperl left,
nativecallable6 left,
breinbaas left,
riatre left,
cpup left,
Voldenet left,
labster left,
Praise left,
SCHAPiE left,
khw left,
rindolf left,
emeric left,
simcop2387 left,
Xliff left,
tyil left,
tobs left,
dct_ left,
cpage left,
BuildTheRobots left,
jnap_ left,
nekomune left,
ilmari[m] left,
smash left,
nightfrog left,
jsimonet left,
agwind left,
shareable6 left,
Rawriful left,
mithaldu_ left,
SourceBaby left,
p6lert left,
synopsebot left,
Geth left,
dalek left,
Matthew[m] left,
salva left,
zoosha left,
grumble left,
huggable left,
markong left,
khisanth_ left,
sergot left,
espadrine_ left,
kipd left,
telex left,
pnu__ left,
pochi left,
El_Che left,
joy left,
ponbiki left,
kent\n left,
unicodable6 left,
hoelzro left,
buggable left,
ZofBot left,
gabiruh_ left,
integral left,
leedo left,
silug left,
imcsk8 left,
wamba left
21:38
mack[m] left,
unclechu left,
phogg left,
PotatoGim left,
KotH left,
robinsmidsrod left,
andrewalker left,
jstevens left,
scott left,
coverable6 left,
f3ew left,
mingdao left,
benchable6 left,
geekosaur left,
aeruder left,
tomaw left,
MasterDuke left,
Guest14511 left,
xenotrope left,
caa51h left,
hythm left,
notbenh left,
cgfbee left,
mspo left,
TimToady left,
Mithaldu left,
musca left,
eater left,
troys left,
TEttinger left,
lizmat left,
itaylor57 left,
noganex left,
Lynx_ left,
ambs left,
teatime left,
nebuchadnezzar left,
a3r0 left,
erdic left,
rgrau left,
tinita left,
TreyHarris left,
mst left,
atta left,
saorge left,
jnthn left,
Alikzus left,
mniip left,
samcv left,
japhb left,
dustinm` left,
dogbert2_ left,
b2gills left,
MilkmanDan left,
jast left,
ribasushi left,
timotimo left,
hobbs left,
john_parr left,
sjn left,
S007 left,
stux|RC left,
dg left,
bhm left,
aindilis left,
dj_goku left,
colomon left,
gfldex left,
dogbert17 left,
[ptc] left,
camelia left,
pierrot left,
wmoxam left,
rjbs left,
protium left,
eythian left,
konsolebox left,
giraffe left,
sunnavy left,
preaction left,
Guest17694 left,
john51 left,
SHODAN left,
MC8 left,
jkramer left,
_kristian left,
moritz left,
AlexDaniel left,
Cabanossi left,
iviv left,
notbenh_ left,
jhill_ left,
domm left,
Spot__ left,
literal left,
daxim left,
japanoise left,
jjore left,
cono left,
albongo left,
ccakes left,
m0ltar left,
ilbot3 left,
s0me0n3-unkn0wn left,
DrForr left,
kaare_ left,
ccntrq left,
sftp left,
kst left,
perigrin left,
bonsaikitten left,
xxpor_ left,
Ven`` left,
pmurias left,
notable6 left,
pecastro left,
statisfiable6 left,
evalable6 left,
bisectable6 left,
nine left,
yoleaux left,
cxreg left,
broquaint left,
ab5tract_ left,
jcallen left,
jdv79 left,
[particle] left,
Possum left,
go|dfish left,
Phil21 left
21:46
committable6 joined,
reportable6 joined,
bisectable6 joined,
releasable6 joined,
bloatable6 joined,
verne.freenode.net sets mode: +vvvv reportable6 bisectable6 releasable6 bloatable6,
quotable6 joined,
coverable6 joined,
notable6 joined,
a3f joined,
Ven`` joined,
andrewalker joined,
robinsmidsrod joined,
KotH joined,
PotatoGim joined,
phogg joined,
mack[m] joined,
wamba joined,
imcsk8 joined,
pmurias joined,
troys joined,
dct_ joined,
TEttinger joined,
aindilis joined,
SCHAPiE joined,
pecastro joined,
lizmat joined,
konsolebox joined,
khw joined,
itaylor57 joined,
AlexDaniel joined,
noganex joined,
Rawriful joined,
setty1 joined,
markong joined,
Lynx_ joined,
rindolf joined,
khisanth_ joined,
dj_goku joined,
Cabanossi joined,
ilbot3 joined,
verne.freenode.net sets mode: +vvvv quotable6 coverable6 notable6 ilbot3,
colomon joined,
MasterDuke joined,
zostay joined,
sergot joined,
ambs joined,
espadrine_ joined,
peteretep joined,
xenotrope joined,
scott joined,
caa51h joined,
Guest14511 joined,
s0me0n3-unkn0wn joined,
saorge joined,
skaji joined,
giraffe joined,
iviv joined,
vike joined,
notbenh_ joined,
kipd joined,
cpage joined,
BuildTheRobots joined,
mithaldu_ joined,
SmokeMachine joined,
telex joined,
leah2 joined,
jnthn joined,
sacomo joined,
teatime joined,
SourceBaby joined,
synopsebot joined,
p6lert joined,
Geth joined,
dalek joined,
verne.freenode.net sets mode: +vvvv SourceBaby synopsebot Geth dalek,
gfldex joined,
Ulti joined,
Alikzus joined,
pnu__ joined,
jnap_ joined,
nekomune joined,
hythm joined,
mniip joined,
f3ew joined,
nebuchadnezzar joined,
MC8 joined,
wictory[m] joined,
ilmari[m] joined,
tadzik joined,
mienaikage joined,
Matthew[m] joined,
AlexDaniel` joined,
klapperl joined,
samcv joined,
mempko joined,
japhb joined,
tbrowder joined,
mingdao joined,
xi- joined,
mrsolo joined,
lumimies joined,
parisba joined,
a3r0 joined,
obra joined,
avalenn joined,
g- joined,
dustinm` joined,
dogbert17 joined,
sunnavy joined,
pochi joined,
El_Che joined,
[Coke] joined,
Grauwolf joined,
samebchase joined,
[ptc] joined,
dogbert2_ joined,
joy joined,
ponbiki joined,
smash joined,
DrForr joined,
kent\n joined,
stux|RC-- joined,
b2gills joined,
MilkmanDan joined,
zacts joined,
mtj_ joined,
preaction joined,
hoelzro joined,
emeric joined,
jast joined,
buggable joined,
ZofBot joined,
notbenh joined,
geekosaur joined,
ribasushi joined,
ecocode joined,
Guest17694 joined,
breinbaas joined,
timotimo joined,
ilmari joined,
clkao joined,
verne.freenode.net sets mode: +vv buggable ZofBot,
roguelazer joined,
john51 joined,
hobbs joined,
john_parr joined,
alpha6 joined,
nightfrog joined,
simcop2387 joined,
riatre joined,
webstrand joined,
camelia joined,
nine joined,
cpup joined,
cgfbee joined,
pierrot joined,
Juerd joined,
Altreus joined,
DarthGandalf joined,
Voldenet joined,
labster joined,
esh joined,
moritz joined,
jeek joined,
sivoais joined,
TeamBlast joined,
mspo joined,
jsimonet joined,
Praise joined,
Xliff joined,
kaare_ joined,
tyil joined,
tobs joined,
erdic joined,
ccntrq joined,
jjore joined,
cono joined,
agwind joined,
sjn joined,
TimToady joined,
cxreg joined,
sftp joined,
broquaint joined,
ab5tract_ joined,
S007 joined,
stux|RC joined,
dg joined,
gabiruh_ joined,
SHODAN joined,
verne.freenode.net sets mode: +v camelia,
kst joined,
integral joined,
wmoxam joined,
jcallen joined,
rgrau joined,
tinita joined,
jdv79 joined,
jhill_ joined,
domm joined,
salva joined,
perigrin joined,
leedo joined,
Phil21 joined,
rjbs joined,
bhm joined,
aeruder joined,
Mithaldu joined,
zoosha joined,
grumble joined,
musca joined,
huggable joined,
silug joined,
TreyHarris joined,
protium joined,
mst joined,
eater joined,
Spot__ joined,
jkramer joined,
literal joined,
[particle] joined,
daxim joined,
japanoise joined,
atta joined,
eythian joined,
tomaw joined,
Possum joined,
albongo joined,
shadowpaste joined,
bartolin joined,
spider-mario joined,
titsuki joined,
timeless joined,
profan joined,
damnlie joined,
mephinet joined,
dpk joined,
ilbelkyr joined,
verne.freenode.net sets mode: +v huggable,
Bucciarati joined,
cosimo_ joined,
Celelibi joined,
cibs joined,
Kaffe joined,
jferrero joined,
huf joined,
APic joined,
daemon joined,
Faster-Fanboi joined,
raydiak__ joined,
freeze joined,
ggherdov joined,
rodarmor joined,
chansen_ joined,
avar joined,
BooK_ joined,
kshannon joined,
afresh1 joined,
tailgate joined,
charsbar joined,
perlawhirl joined,
krunen joined,
bonsaikitten joined,
_kristian joined,
go|dfish joined,
ccakes joined,
xxpor_ joined,
m0ltar joined,
hcit joined,
Gothmog_ joined,
diegok joined,
hahainternet joined,
pm5 joined,
jantore joined,
mienaikage left,
mcmillhj joined,
pmurias left,
evalable6 joined,
unicodable6 joined,
ChanServ sets mode: +v unicodable6,
ilmari[m] left,
Matthew[m] left,
ZzZombo left,
CIAvash[m] left,
Garland_g[m] left,
perlbot left,
statisfiable6 joined,
ChanServ sets mode: +v statisfiable6,
R0b0t1 joined,
mack[m] left,
ZzZombo joined,
wictory[m] left,
tadzik left,
AlexDaniel` left
21:47
perlbot joined
21:48
squashable6 joined,
benchable6 joined
21:50
greppable6 joined,
ChanServ sets mode: +v greppable6,
nativecallable6 joined,
shareable6 joined
21:52
R0b0t1 left
21:53
R0b0t1 joined
21:58
R0b0t1 left
22:12
char_var[buffer] joined
22:14
R0b0t1 joined
22:26
Ven`` left
22:27
mcmillhj left
22:32
pmurias joined
22:35
aindilis left
22:36
aindilis joined
22:38
mcmillhj joined
22:43
mcmillhj left
22:45
Ven`` joined
22:46
leah2 left
22:57
mcmillhj joined,
leah2 joined
23:03
mcmillhj left
23:05
tadzik joined
23:17
mcmillhj joined,
setty1 left
23:18
pmurias left
23:20
rindolf left
23:21
Ven`` left,
benjikun joined
23:22
mcmillhj left
|
|||
benjikun | What other languages do you guys primarily use? | 23:22 | |
I'm suspecting perl5 & C the most | 23:23 | ||
AlexDaniel | … SystemVerilog | 23:28 | |
.oO( vague question gets a nonsensical answer ) |
|||
benjikun: OK, actually most of my programming needs are satisfied by perl6 | 23:29 | ||
so if I'm using something else then it usually means that this project was started some time ago and was using something else in the first place | |||
aaaand… yeah | 23:30 | ||
jnthn | It musta been nearly 15 years since I wrote something in Verilog. Fun to program in something where the default is "everything happens at once". :) | 23:31 | |
23:32
mcmillhj joined
23:37
mcmillhj left
|
|||
AlexDaniel | jnthn: oh no! Verilog and “program” almost in one sentence! Now someone will have to come to say that it's a hardware *description* language :) | 23:39 | |
.oO( – but testbenches? – Testbenches are irrelevant! ) |
|||
23:42
mcmillhj joined
23:43
yoleaux joined,
ChanServ sets mode: +v yoleaux
23:46
Matthew[m] joined,
mack[m] joined,
AlexDaniel` joined,
wictory[m] joined,
unclechu joined,
ilmari[m] joined,
CIAvash[m] joined,
Garland_g[m] joined,
mienaikage joined
23:47
mcmillhj left
|
|||
benjikun | AlexDaniel: How do you feel about C++17? | 23:51 | |
AlexDaniel | benjikun: my use of c++ is accidental, so I don't have any opinion on that | 23:53 | |
23:55
mcmillhj joined
|
|||
benjikun | I haven't used C/C++ in a long while, but I'm thinking about heading back and using C++17 | 23:55 | |
23:58
benjikun left
|