»ö« 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:15
snowman_ left
|
|||
seatek | Oo that's a strange error: Cannot find method 'nominalize' on object of type Perl6::Metamodel::ModuleHOW | 00:18 | |
personally, i've not tried to 'nominalize' anything! | |||
timotimo | you can check the code for other HOWs to see what nominalize usually does | 00:19 | |
timotimo is going to bed now | |||
seatek | i sure can -- this popped up using DBIish and submethod BUILDs ;) | 00:20 | |
00:29
pierre_ joined
00:51
flexibeast joined
01:06
Guest55052 is now known as ponbiki
01:08
labster joined
01:15
cyphase left
01:20
pierre_ left
01:21
cyphase joined
01:25
shin_ joined
01:38
mcmillhj joined
01:40
wbill joined
01:45
ilbot3 left,
kaare__ left
|
|||
iBakeCake | The Big Brother has left! | 01:46 | |
iBakeCake quickly jots down stuff in diary | |||
01:47
ilbot3 joined
|
|||
iBakeCake gets back to work | 01:48 | ||
01:52
cpage_ left
|
|||
AlexDaniel | iBakeCake: oh, don't you know about this trick? | 01:53 | |
01:53
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
iBakeCake | What's your trick? Null byte? I don't see anything | 01:56 | |
AlexDaniel | iBakeCake: irclog.perlgeek.de/perl6/2016-10-23#i_13449834 | ||
:P | |||
it's magic | |||
iBakeCake phones the ministry of Peace | |||
AlexDaniel | m: say ‘’.ords | 01:57 | |
mmm | |||
m: say 1.chr | 01:58 | ||
camelia | rakudo-moar 127b3b: OUTPUT«» | ||
AlexDaniel | that | ||
geekosaur glad for his script to render random control chars visible :) | |||
AlexDaniel | though perhaps any other ascii shit will work | ||
01:58
snowman_ joined
|
|||
geekosaur | (it's a gray ␁ at the end of the line for me) | 01:59 | |
AlexDaniel | geekosaur: colored ^A in emacs. Though I'd much rather see ␁ | ||
committable6: say ‘’ | |||
committable6 | AlexDaniel, ¦«say»: Cannot find this revision | ||
AlexDaniel | committable6: HEAD say ‘’ | ||
committable6 | AlexDaniel, ¦«HEAD»: ␁ | 02:00 | |
AlexDaniel | evalable6: say ‘’ | ||
benchable6 | AlexDaniel, ¦«say»:Cannot find this revision | ||
evalable6 | AlexDaniel, rakudo-moar 8d357af: OUTPUT«␁» | ||
geekosaur | oops :) | ||
AlexDaniel | since when the distance between these two nicks became different | ||
iBakeCake | .u ␁ | ||
yoleaux | U+2401 SYMBOL FOR START OF HEADING [So] (␁) | ||
geekosaur | so I have a script for hexchat that recognizes control characters that are not valid mirc controls and adds U+2400 to them, then wraps in mirc color to de-highlight them | 02:01 | |
very useful in here because it also splits on embedded newlines output from the bots | 02:02 | ||
AlexDaniel | m: say ‘’ for ^1000 | ||
camelia | rakudo-moar 127b3b: OUTPUT«…» | ||
geekosaur | true, it does have that failure mode :p | 02:03 | |
it's rare enough that I don't generally care | |||
AlexDaniel | geekosaur: it feels like I already did that a year ago | 02:04 | |
geekosaur | it actually started out as a script to remap the ANSI escapes rakudo used to spit out | ||
AlexDaniel | MasterDuke: ↑ that looked like a bug in your Sift4 module | 02:07 | |
the distance between evalable6 and benchable6 cannot be ≤ 2… are you kidding me :) | 02:08 | ||
geekosaur: I cannot find it in the logs, but I think that you were mentioning this script a year (or so) ago | 02:09 | ||
and my reaction back then was… m: say ‘’ for ^1000 ;) | |||
geekosaur | don't recall that, but who knows | 02:10 | |
but several of us have mentioned scripts of this ilk | |||
02:13
benchable6 left
02:15
benchable6 joined,
benchable6 left
02:21
pierre_ joined
02:25
pierre_ left
02:41
Jesmaybe_ joined
02:45
cibs left
02:47
cibs joined
02:49
labster left
02:50
skids joined
02:51
labster joined
02:52
pierre_ joined
02:53
noganex joined
02:54
KevinYang joined
02:55
geekosaur left,
noganex_ left
02:56
geekosaur joined
03:01
KevinYang left
03:42
pecastro_ joined
03:44
mcmillhj left
03:53
kaare__ joined
04:00
pierre_ left
04:07
pierre_ joined
04:16
pierre_ left
04:17
sufrostico joined
04:31
Cabanossi left
04:35
Cabanossi joined
04:42
cyphase left,
hankache joined
04:43
bjz left
04:44
xinming_ joined
04:47
xinming left
04:52
cyphase joined
04:53
wbill left
04:57
pecastro_ left
05:02
quester joined
05:08
bjz joined
05:09
pecastro_ joined
05:10
bjz left
05:27
snowman_ left
05:37
bjz joined
05:39
bjz left
05:40
BenGoldberg left
05:41
khw left
05:45
sufrostico left
05:55
aborazmeh left
05:56
bjz joined
06:01
AlexDaniel left
06:12
yqt joined
06:13
bjz left,
bjz joined
06:14
TEttinger left
06:20
pecastro_ left
06:27
yqt left
06:32
shin_ left
06:36
wamba joined
06:38
Dunearhp left,
Dunearhp joined
06:55
sjoshi joined
06:57
skids left
06:59
chris2 left
07:02
CIAvash joined
07:04
setty1 left
07:13
andrzejku joined
07:14
chris2 joined
07:26
pierre_ joined
|
|||
stmuk_ | pl6anet.org/drop/rakudo-star-2016.10.dmg | 07:32 | |
if anyone is able to sanity check | 07:33 | ||
psch | to what extends? | ||
like, 'make test' or..? | |||
07:33
cyphase left
|
|||
stmuk_ | maybe just trying a simple script and module install | 07:34 | |
07:34
seatek left
07:38
cyphase joined
|
|||
psch | uh, i have way too little experience with macos :S | 07:38 | |
andrzejku | hey guys | 07:39 | |
psch | i mean, do i mount the .dmg and then copy the contents somewhere or..? | ||
'cause "Drag it into the Applications folder" didn't do anything useful, afaict | 07:40 | ||
stmuk_ | drag does copy | ||
07:40
rindolf joined
|
|||
stmuk_ | that should create /Applications/Rakudo | 07:41 | |
andrzejku | when what is PAUSE? | ||
stmuk_ | and then set the PATH | ||
andrzejku | I got something like connect profile to PAUSE on meta cpan | ||
stmuk_ | andrzejku: PAUSE is perl 5 not perl 6 | 07:42 | |
07:42
flexibeast left
|
|||
andrzejku | ohh | 07:42 | |
psch | ohh, right, i dragged the wrong thing, stmuk_++ | ||
andrzejku | ohh | 07:43 | |
;D | |||
psch | well, a simple script calling &say works, but it doesn't look like R* to me, from the lack of modules | 07:44 | |
stmuk_ | which module is missing? | 07:45 | |
psch | there doesn't seem to be any modules in /Applications/Rakudo after dragging that folder from the .dmg into Applications | 07:46 | |
as in, neither any .pm nor .pm6 file | |||
and in the dmg itself there's only Rakudo, docs and README.txt | 07:47 | ||
oh | |||
but we're precompiling and not necessarily with raw source files | 07:48 | ||
stmuk_ | there are precomp versions | ||
yes | |||
psch | +deployingt | ||
-t | |||
should panda or zef be in there? | |||
stmuk_ | panda is shipped | ||
/Applications/Rakudo/share/perl6/site/bin | 07:49 | ||
07:49
nadim joined
|
|||
psch | yeah, found it | 07:50 | |
i'm running a panda install with a few dependencies right now | |||
07:54
kurahaupo joined
07:56
sjoshi left
|
|||
psch | stmuk_: looks fine from here | 07:56 | |
stmuk_ | psch: thanks for your help! | ||
oh which version of OS X was that? | 07:57 | ||
psch | uh 10.12 i think? | ||
how do i check that? | |||
ah, found that | 07:58 | ||
it is 10.12, i.e. Sierra | |||
08:06
Actualeyes joined
08:22
Jesmaybe_ left
08:24
firstdayonthejob joined,
firstdayonthejob left
08:25
CIAvash left
08:29
quester left,
RabidGravy joined
08:30
firstdayonthejob joined
08:44
labster left
08:52
Actualeyes left
09:04
wamba left
09:05
hankache left
|
|||
RabidGravy | boom! | 09:05 | |
09:17
hankache joined
09:26
canopus left
09:29
darutoko joined
09:31
canopus joined
|
|||
dalek | osystem: 174a741 | RabidGravy++ | META.list: Rename meta file for LibraryCheck |
09:32 | |
09:38
vendethiel- joined
09:39
vendethiel left
09:40
espadrine joined
09:45
hankache left
|
|||
RabidGravy | I don't suppose anyone has something like URI::Fetch down the back of the sofa? That is something that does "I don't care how but get me the content of this URI" by trying all available methods | 09:54 | |
lizmat | no, haven't got that, but maybe a slurp(URI:D) candidate would be a better interface ? and/or a .URI method turning a string into an URI object, simular to .IO ? | 10:01 | |
10:02
_slade_ left
|
|||
grondilu | Have you considered qx ? | 10:12 | |
qqx{wget $uri} or something? | |||
I mean, Perl 6 is a scripting programming language after all | |||
lizmat | lynx --dump :-) | 10:13 | |
grondilu | I suppose curl is the most standard tool for that | 10:14 | |
unit module URI::Fetch; our sub fetch(Str $uri) is export { qqx{curl -o - -q $uri} } | 10:18 | ||
psch | great, 2/3 platforms covered :) | ||
grondilu | meh | ||
anytime you use qx, you can't expect it to be portable. Yet qx has not been removed form the language, so I guess portability is not a dogma | 10:21 | ||
psch | i'm just saying 'That is something that does "I don't care how but get me the content of this URI" by trying all available methods' sounds like it wants to pay attention to portability | ||
grondilu | I disagree, it seems to me he just wants convenience. | 10:22 | |
psch | fair enough :) | 10:23 | |
grondilu | on second thought you might be right | ||
stmuk_ plays relaxing music while attempting a windows build | 10:28 | ||
10:28
hankache joined
|
|||
stmuk_ | dir | 10:28 | |
oops | |||
10:32
FROGGS joined
|
|||
FROGGS | o/ | 10:32 | |
RabidGravy | grondilu, er that wasn't quite what I had in mind, no | 10:43 | |
I want "get this file no matter what using the best thing that is installed" - so HTTP::UserAgent, LWP::Simple, curl, wget, lynx --dump etc etc | 10:44 | ||
the first one that works | |||
this is for something that only *may* need to get the file if some other requirement isn't met | 10:46 | ||
10:50
bjz left,
wamba joined,
bjz joined
10:53
pierre_ left,
pierre_ joined
|
|||
RabidGravy | what would be cool would be a pluggable like thing that can get all the modules that do some role, I think however that would require some CompUnit support | 10:59 | |
timotimo | yeah, if you don't extract these roles somewhere, you'd have to deserialize all the blobs in order to find out what's what | 11:00 | |
RabidGravy | I suppose you could have some 'implements' or so in the META6 | 11:26 | |
but it would still require the Distribution object to know about that | 11:27 | ||
11:35
Ven joined
|
|||
RabidGravy | anyway that other thing I won't call URI::Fetch as the P5 thing of the same name does something different that what I intend | 11:36 | |
11:39
flexibeast joined
11:40
pierre_ left
|
|||
RabidGravy | is anyone in a position to activate the travis-ci.org/perl6/perl6-lwp-simple - I'm not able to do it | 11:43 | |
timotimo | i clicked the button | 11:44 | |
it says i activated it, but i wouldn't trust travis when it says stuff like that | |||
11:45
Ven left
11:46
Ven joined
|
|||
geekosaur | <Grunt> Travis can't be bargained with. Travis can't be reasoned with. Travis doesn't feel pity, or remorse, or fear. And Travis absolutely will not stop, ever, until your project is dead. | 11:48 | |
11:51
Actualeyes joined
|
|||
RabidGravy | yep that seems to have worked | 11:56 | |
well it may yet fail but it started the build | 11:57 | ||
timotimo | cool | 12:00 | |
RabidGravy | it was annoying me that it was saying "unknown" on the modules page | 12:01 | |
12:03
Ven_ joined
|
|||
timotimo | right :) | 12:03 | |
thanks for your dilligence | |||
12:04
Ven left
12:10
pierre_ joined
|
|||
RabidGravy | Eek! one of my in-progress modules is segfaulting | 12:14 | |
which is, er, special as it's straight up Perl with no NC | |||
timotimo | does it have multithreading? | ||
concurrent writing accesses to arrays and hashes can still go boom (in the future they will just cause undefined data results) | 12:15 | ||
RabidGravy | nope | ||
12:15
Ven_ left,
Ven joined
|
|||
timotimo | yeah, please report :) | 12:15 | |
if possible, disable the JIT, then all of SPESH | 12:16 | ||
and SPESH_INLINE and/or SPESH_OSR in the middle | |||
RabidGravy | 0x00007ffff79113e7 in gc_mark () | ||
from //home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so | |||
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.23.1-10.fc24.x86_64 | |||
12:17
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
timotimo | ah, please re-compile your moarvm with --debug=3 in moar's Configure.pl so that we can get filenames and line numbers | 12:18 | |
(because gc_mark is a function that every single REPR implements) | |||
12:19
AlexDaniel joined
12:29
bjz left
12:32
bjz joined
12:47
Ven left,
Ven joined
12:49
pecastro_ joined
12:53
pecastro left
12:56
stigo left,
pecastro joined
|
|||
RabidGravy | there that's a bit more, er, verbose | 12:59 | |
13:01
Ven left,
Ven joined
|
|||
RabidGravy | #0 0x00007ffff7911487 in gc_mark (tc=0x6037d0, st=<optimized out>, | 13:02 | |
data=<optimized out>, worklist=0x6511d40) at src/6model/reprs/MVMCallCapture.c:55 | |||
13:02
pecastro left
|
|||
RabidGravy | I'll stick the whole thing in an RT | 13:02 | |
oh, no I won't | 13:05 | ||
where's the "new" button gone | |||
timotimo | "new"? | 13:10 | |
RabidGravy | like I'm looking at the rt now and there isn't a button to create a new ticket anymore | 13:12 | |
timotimo | ah, yes | 13:13 | |
it was disabled because rt was being spammed | |||
RabidGravy | well it's one way of reducing the number of tickets I guess ;-) | 13:14 | |
what's the e-mail address? [email@hidden.address] or something | |||
13:17
Ven_ joined,
Ven left
|
|||
timotimo | [email@hidden.address] | 13:20 | |
RabidGravy | yeah, just found it | 13:30 | |
13:30
pecastro joined
|
|||
grondilu | where is postfix:<²> defined in the core? I don't find it. | 13:41 | |
grondilu finds it in the grammar | 13:42 | ||
m: class A does Numeric {}; multi infix:<**>(A $, 2) { 7 }; say A.new² # not sure why this hangs | 13:45 | ||
camelia | rakudo-moar 127b3b: OUTPUT«Memory allocation failed; could not allocate 131072 bytes» | ||
timotimo | it probably keeps calling .Numeric over and over? | ||
grondilu | on my machines it does not do that, it just hangs | ||
timotimo | oh, i see what you mean | 13:46 | |
it seems to already asplode just parsing it ?? o_O | |||
grondilu | m: class A does Numeric {}; multi infix:<**>(A $, 2) { 7 }; | ||
camelia | ( no output ) | ||
timotimo | ah, hehe, no. my moar is just shot at the moment | ||
can you look what --target=ast and --target=optimize say about the code it tries to run? | 13:47 | ||
i.e. does it go through some method or sub that doesn't see your own multi sub thing? | |||
13:48
Ven_ left
13:50
zakharyas joined,
Ven joined
|
|||
grondilu doesn't understand ASTs | 13:50 | ||
timotimo | then please gist it for me :) | ||
grondilu | paste.debian.net/888963/ | 13:51 | |
13:52
aborazmeh left
|
|||
timotimo | look near the end | 13:53 | |
it's calling a sub postfix:<ⁿ> | |||
s: &postfix:<ⁿ>, \(Numeric) | 13:54 | ||
SourceBaby | timotimo, Something's wrong: ERR: Could not find candidate that can do \(Numeric) in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 37 in block <unit> at -e line 6 | ||
timotimo | s: &postfix:<ⁿ>, \(Any) | ||
SourceBaby | timotimo, Something's wrong: ERR: Could not find candidate that can do \(Any) in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 37 in block <unit> at -e line 6 | ||
timotimo | m: say &postfix:<ⁿ>.line | ||
camelia | rakudo-moar 127b3b: OUTPUT«9689» | ||
timotimo | it's in Numeric.pm | 13:55 | |
grondilu | yeah | 13:59 | |
it's supposed to fall back to a ** b | |||
that is to infix:<**> | |||
14:00
Actualeyes left
|
|||
grondilu | so shouldn't it use my multi? | 14:00 | |
timotimo | no | ||
it's not a fallback, it's a call | |||
multis are lexical, the postfix:<^n> sub doesn't have your ** candidate in its lexical scope | 14:01 | ||
grondilu | :/ | 14:02 | |
timotimo | a known problem with operators and such | ||
grondilu | what is it trying to do then? | 14:04 | |
m: class A does Numeric {}; say A.new² | |||
camelia | rakudo-moar 127b3b: OUTPUT«Memory allocation failed; could not allocate 60336 bytes» | ||
grondilu | well that's dumb | ||
would it help to have a stub candidate in Numeric? | 14:05 | ||
multi infix:<**>(Numeric $, Numeric $) {...} | |||
so that we'd have the equivalent of a virtual function or something? | 14:06 | ||
though frankly I thought that was what protos do. | 14:07 | ||
14:07
pecastro_ left
|
|||
timotimo | ? | 14:07 | |
no, when you define a multi candidate, the scope of the candidate is also lexical | 14:08 | ||
grondilu | kj | ||
^scrap that | |||
timotimo | when you have something that "does Numeric", things will try to call .Numeric on it | ||
.Numeric will return self in its default implementation | |||
14:08
mxco86 left,
bjz left
|
|||
timotimo | infix:<**> will call a.Numeric ** b.Numeric | 14:08 | |
grondilu | :/ | 14:09 | |
I thought it was doing that only in last resort | |||
that is when no &infix:<**> was defined. | |||
timotimo | if no better candidate is in the lexical scope where the call happens, that is what happens | 14:10 | |
at some point an idea was to have all manner of subs and functions import operators they use from the caller's lexical scope | 14:11 | ||
we don't have an implementation of that yet, though | |||
grondilu | now that I think about it, I remember stumbling upon a similar issue. | ||
timotimo | yeah | ||
grondilu | I solved it by implementing all operators with a method form. | ||
timotimo | it's stumblable | 14:12 | |
grondilu | like multi method power(A: UInt $) {...} | ||
and then multi infix:<**>(A $a, $n) { $a.power($n) } | |||
if we did that with Numeric, we could define: | 14:13 | ||
m: multi infix:<**>(Numeric $x, UInt $n) { $x.power($n) } | |||
camelia | ( no output ) | ||
grondilu | so that we could properly extend Numeric by defining a power method. | ||
today I was trying to square a vector with my Clifford module, wrote $v² and got an error, even though $v**2 works fine. Thought that was very much LTA. | 14:15 | ||
basically it seems to me that when implementing the Numeric role, it is often necessary to re-invent the wheel, which kinds of defeat the purpose of implementing a role :/ | 14:17 | ||
*kind of defeats | |||
that makes me wonder: is there a method-like way to call an infix operator? | 14:19 | ||
moritz | m: say 1.&infix:<+>(2) | ||
camelia | rakudo-moar 127b3b: OUTPUT«3» | ||
timotimo | m: say 100.&[+](5) | ||
camelia | rakudo-moar 127b3b: OUTPUT«105» | ||
grondilu | but I suppose that would not help, as it would still rely on lexical scope, method resolution or something. | 14:20 | |
s/method/rather than method/ | 14:21 | ||
timotimo | correct | ||
grondilu | maybe the Numeric role should define methods like ADD, MULTIPLY, POWER | 14:22 | |
or at least require them | |||
multi method ADD(Numeric $) {...} # something like that | 14:23 | ||
14:23
hankache left
|
|||
timotimo | i'm pretty sure Numeric is for things that can be turned into a Complex or Real | 14:23 | |
but i don't know much about the numeric tower in perl6 | |||
how it exists or doesn't exist | |||
14:24
pierre_ left,
xinming_ left
14:25
xinming joined
|
|||
grondilu | lots of things can be turned into Complex or Real, but that's not the issue. The issue is that when implementing the Numeric role, one should not have to redefine operators that depend on others (like &infix:<²>) | 14:25 | |
timotimo | makes sense, yeah | 14:26 | |
grondilu | frankly I should even not have to define &[**] as long as I define &[*] | ||
so arguably the Numeric role could require any class implementing it to define at least two methods: ADD and MULTIPLY | 14:28 | ||
14:28
firstdayonthejob left
14:32
firstdayonthejob joined
|
|||
grondilu | in github.com/grondilu/clifford/blob/...ifford.pm6 for instance, I had to define things as simple as substraction: | 14:32 | |
multi prefix:<->(MultiVector $A) returns MultiVector is export { return -1 * $A } | |||
^that was silly. I was hoping this was inherited from Numeric | 14:33 | ||
.-2s/substraction/negation/ | |||
timotimo | TimToady probably has something wise to say about the trade-offs here | 14:35 | |
14:35
CIAvash joined
14:39
snowman_ joined
14:47
Ven left,
Ven_ joined
|
|||
timotimo | running the core setting through valgrind %) | 14:51 | |
RabidGravy | nothing like it to focus the mind | ||
timotimo | i had hoped giving the fsa a redzone would lead me closer to what's wrong with my callsite descriptor caching | 14:52 | |
14:54
rindolf left
|
|||
timotimo | though tbh i'm not sure what exactly the failure mode was last time i ran this code | 14:55 | |
14:59
rindolf joined
15:07
sftp left
15:08
CIAvash left
15:10
sftp joined
15:43
Jesmaybe_ joined,
khw joined
15:48
Jesmaybe_ left
15:51
skids joined
15:52
Jesmaybe_ joined
15:58
Actualeyes joined
16:01
Ven_ left,
Ven joined
|
|||
dalek | href="https://perl6.org:">perl6.org: 33bdb49 | (Steve Mynott)++ | source/ (2 files): Rakudo Star 2016.10 |
16:05 | |
[ptc] | stmuk_++ | 16:09 | |
16:09
Jesmaybe_ left
|
|||
dalek | href="https://perl6.org:">perl6.org: b64cca0 | (Steve Mynott)++ | source/index.html: correct url |
16:14 | |
16:22
Jesmaybe_ joined
16:25
Jesmaybe_ left
16:26
Jesmaybe_ joined
16:27
inra joined
16:30
Jesmaybe_ left
|
|||
[ptc] | m: $blah = '‍'=> "<200d>"; $blah.say | 16:30 | |
camelia | rakudo-moar 127b3b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>Variable '$blah' is not declaredat <tmp>:1------> 3<BOL>7⏏5$blah = '‍'=> "<200d>"; $blah.say» | ||
[ptc] | m: my %blah = '‍'=> "<200d>"; %blah.say | 16:31 | |
camelia | rakudo-moar 127b3b: OUTPUT«{‍ => <200d>}» | ||
[ptc] | m: my %blah = '‍'=> "<200d>"; %blah{'‍'}.say | 16:32 | |
camelia | rakudo-moar 127b3b: OUTPUT«<200d>» | ||
16:43
Jesmaybe_ joined
16:45
zakharyas left
16:46
espadrine left
16:53
Jesmaybe_ left,
mcmillhj joined
17:02
Jesmaybe_ joined,
bartolin_ left
17:05
bartolin joined
17:08
seatek joined
17:09
Jesmaybe_ left
17:12
andrzejku left
|
|||
RabidGravy | star: foo | 17:18 | |
camelia | star-m 2016.04: OUTPUT«5===SORRY!5=== Error while compiling <tmp>Undeclared routine: foo used at line 1» | ||
RabidGravy | star: try require LWP::Simple; ::('LWP::Simple').getstore('rabidgravy.com/index.html', 'foo'); | 17:19 | |
camelia | star-m 2016.04: OUTPUT«Cannot invoke this object in sub scheme-port at /home/camelia/star-2016.04/share/perl6/site/sources/07EE6C07F38281215C37955BB3BC16CFA9604F8E (URI::DefaultPort) line 36 in method default-port at sources/E6932313C3FA27F20E3F940809AFC1198E0EC2E5 (URI) lin…» | 17:20 | |
RabidGravy | that's not very nice | ||
(it's not just star by the way, it's like that with the latest versions of everything) | |||
stmuk_ | the version of star on the bot is 2 versions out of date anyway! | 17:22 | |
17:24
pecastro_ joined
17:28
pecastro_ left
17:31
Ven left
17:32
Ven joined
17:34
_slade_ joined
|
|||
RabidGravy | let's see if I can fix that (or even replicate in a test) | 17:36 | |
17:49
Ven left
17:51
Ven joined
|
|||
RabidGravy | gah the internet is being flaky again | 18:00 | |
or rather github is | 18:01 | ||
18:16
Jesmaybe_ joined
18:17
eliasr joined
18:21
pecastro_ joined
18:24
inra left
18:32
maybekoo2 joined
18:44
pecastro_ left
18:51
sufrostico joined
19:01
mcmillhj left
19:02
Ven left,
Ven joined
|
|||
dalek | c/minor-spelling: aa41593 | (Brock Wilcox)++ | doc/Language/ (3 files): Make sigiled consistent; americanize travellers |
19:03 | |
19:07
Jesmaybe_ left
|
|||
lizmat | rakudo.org/2016/10/23/announce-raku...e-2016-10/ # stmuk++ | 19:12 | |
19:17
cognominal joined,
domidumont joined,
nowan left
19:18
Jesmaybe_ joined
|
|||
japhb | .seen ab5tract_ | 19:19 | |
yoleaux | I saw ab5tract_ 16 Nov 2015 18:41Z in #perl6: * ab5tract_ haz no windoze | ||
19:19
darutoko left
|
|||
dalek | c/less-seems: 2d99ea2 | (Brock Wilcox)++ | doc/ (3 files): Remove some 'seems' usage |
19:19 | |
19:22
travis-ci joined
|
|||
travis-ci | Doc build passed. Brock Wilcox 'Make sigiled consistent; americanize travellers' | 19:22 | |
travis-ci.org/perl6/doc/builds/169956233 github.com/perl6/doc/commit/aa415934a951 | |||
19:22
travis-ci left
19:25
nowan joined,
roguelazer left
19:32
roguelazer joined
19:34
Lucas_One left
19:35
Ven left
19:36
Ven joined
19:39
travis-ci joined
|
|||
travis-ci | Doc build passed. Brock Wilcox 'Remove some 'seems' usage' | 19:39 | |
travis-ci.org/perl6/doc/builds/169959038 github.com/perl6/doc/commit/2d99ea2ff6a1 | |||
19:39
travis-ci left
|
|||
dalek | c: f784357 | gfldex++ | doc/Type/Cool.pod6: doc Cool.match |
19:40 | |
19:42
djbkd left
|
|||
dalek | c: 977f8f2 | gfldex++ | doc/Type/Str.pod6: stub Str.match |
19:44 | |
19:45
TEttinger joined
19:47
skink joined
19:49
Ven left
19:52
Ven joined
19:54
bjz joined
|
|||
dalek | c/rmdir-tree: 8de94c9 | (Brock Wilcox)++ | doc/Type/IO/Path.pod6: Add recursive rmdir example per issue #852 |
20:00 | |
c/rmdir-tree: ae866ad | (Brock Wilcox)++ | doc/Type/IO/Path.pod6: Missed typeo |
20:01 | ||
20:01
_slade_ left
20:06
kaare__ left
20:10
canopus left
20:14
domidumont left
20:16
canopus joined
20:19
Ven left
20:20
travis-ci joined
|
|||
travis-ci | Doc build passed. Brock Wilcox 'Add recursive rmdir example per issue #852' | 20:20 | |
travis-ci.org/perl6/doc/builds/169966508 github.com/perl6/doc/commit/8de94c929c44 | |||
20:20
travis-ci left,
canopus left
20:21
travis-ci joined
|
|||
travis-ci | Doc build passed. Brock Wilcox 'Missed typeo' | 20:21 | |
travis-ci.org/perl6/doc/builds/169966702 github.com/perl6/doc/compare/8de94...866ad811cf | |||
20:21
travis-ci left
20:22
Ven joined
20:28
canopus joined
20:30
wamba left
20:31
canopus left
20:32
sufrostico left,
iBakeCake left
20:35
labster joined
20:37
rindolf left
20:39
canopus joined
20:40
zakharyas joined
20:47
Jesmaybe_ left
20:58
canopus left
|
|||
seatek | m: class X::Base is Exception { has $.thing; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new{ method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new | 20:59 | |
camelia | rakudo-moar b7201a: OUTPUT«Potential difficulties: Useless declaration of a has-scoped method in mainline (did you mean 'my method make_thing'?) at <tmp>:1 ------> 3yeah boo"}}; die X::Base::Me.new{ method7⏏5 make_thing(){ $.thing = "yeah boo"}}; dType X::…» | ||
21:00
cibs left
|
|||
seatek | m: class X::Base is Exception { has $.thing; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new | 21:01 | |
camelia | rakudo-moar b7201a: OUTPUT«X::Base::Me exception produced no message in block <unit> at <tmp> line 1» | ||
21:01
zakharyas left
21:02
cibs joined
|
|||
skids | m: class X::Base is Exception { has $.thing; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; say X::Base::Me.new.message | 21:02 | |
camelia | rakudo-moar b7201a: OUTPUT«Cannot modify an immutable Any in method make_thing at <tmp> line 1 in method message at <tmp> line 1 in block <unit> at <tmp> line 1» | ||
skids | is rw, or use $! | 21:03 | |
m: class X::Base is Exception { has $.thing is rw; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; say X::Base::Me.new.message | |||
camelia | rakudo-moar b7201a: OUTPUT«yeah boo» | ||
skids | m: class X::Base is Exception { has $.thing is rw; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new | ||
camelia | rakudo-moar b7201a: OUTPUT«yeah boo in block <unit> at <tmp> line 1» | ||
seatek | skids, oh my gosh, exactly right! thank you skids++ :) | 21:06 | |
skids | np | ||
21:07
canopus joined
21:08
Ven left
|
|||
RabidGravy | there, I made it github.com/jonathanstowe/URI-FetchFile - I'll actually release it tomorrow | 21:09 | |
dalek | ateverable: bf13361 | MasterDuke17++ | Whateverable.pm6: Change the maxOffset used for fuzzy matching names The smaller value gives better results when comparing the short *able names. |
21:10 | |
21:11
bjz left
21:15
canopus left
21:19
RabidGravy left,
Jesmaybe_ joined
21:22
canopus joined
21:24
Jesmaybe_ left,
Jesmaybe_ joined
21:25
Jesmaybe_ left,
Jesmaybe_ joined
21:26
Jesmaybe_ left,
Jesmaybe_ joined,
Jesmaybe_ left
21:27
Jesmaybe_ joined
21:35
cognominal left,
giftnuss_ left,
cognominal joined
21:37
bjz joined
21:40
inra joined
|
|||
seatek | m: sub thing() { return 'oh no' }; my $x = 'why?' ; say thing() ~ $x ?? $x !! 'kidding'; | 21:43 | |
camelia | rakudo-moar b7201a: OUTPUT«why?» | ||
seatek | love everything! but ternary precidence has caused me know end of grief :) | 21:44 | |
21:45
inra left
|
|||
snowman_ | Obviously this calls for a second ternary operator with a different precedence: then/else instead of ??/!! | 21:46 | |
kurahaupo | seatek: same as C: bottom precedence of the (punctuation) operators | ||
seatek | yeah i just have to get in the habit of surrounding them with () :) | 21:47 | |
m: sub thing() { return 'oh no' }; my $x = 'why?' ; say thing() ~ ($x ?? $x !! 'kidding'); | 21:48 | ||
camelia | rakudo-moar b7201a: OUTPUT«oh nowhy?» | ||
21:49
girafe joined
|
|||
skids | m: sub thing() { return 'oh no' }; my $x = 'why?' ; say thing() ~ ($x || 'kidding'); | 21:51 | |
camelia | rakudo-moar b7201a: OUTPUT«oh nowhy?» | ||
skids | m: sub thing() { return 'oh no' }; my $x; say thing() ~ ($x || 'kidding'); | ||
camelia | rakudo-moar b7201a: OUTPUT«oh nokidding» | ||
21:52
bjz left,
BenGoldberg joined
|
|||
seatek | skids, that's actually prettier ;) | 21:52 | |
skids | m: sub thing() { return 'oh no' }; my $x; say thing() ~ ($x or 'kidding'); | 21:53 | |
camelia | rakudo-moar b7201a: OUTPUT«oh nokidding» | ||
22:08
labster left
|
|||
seatek | m: say '/etc/passw'.IO.f || 'oh my gosh'; | 22:11 | |
camelia | rakudo-moar b7201a: OUTPUT«oh my gosh» | ||
seatek | m: say '/etc/passw'.IO.f or 'oh my gosh'; | ||
camelia | rakudo-moar b7201a: OUTPUT«WARNINGS for <tmp>:Useless use of constant string "oh my gosh" in sink context (line 1)Failed to find '/etc/passw' while trying to do '.f' in block <unit> at <tmp> line 1Actually thrown at: in block <unit> at <tmp> line 1» | ||
seatek | still haven't really learned all the differences in those or's yet | ||
22:12
Jesmaybe_ left
22:13
Jesmaybe_ joined,
Jesmaybe_ left,
Jesmaybe_ joined
22:14
Jesmaybe_ left,
Jesmaybe_ joined
22:15
Jesmaybe_ left,
Jesmaybe_ joined
22:16
Jesmaybe_ left,
Jesmaybe_ joined,
Jesmaybe_ left
22:17
canopus left
22:20
labster joined
22:23
canopus joined
22:25
firstdayonthejob left
22:29
canopus left
22:40
labster left
22:41
benchable6 joined
22:42
canopus joined
|
|||
dalek | c: aa41593 | (Brock Wilcox)++ | doc/Language/ (3 files): Make sigiled consistent; americanize travellers |
22:44 | |
c: a675db0 | (Brock Wilcox)++ | doc/Language/ (3 files): Merge pull request #981 from perl6/minor-spelling Make sigiled consistent; americanize travellers |
|||
c: 2d99ea2 | (Brock Wilcox)++ | doc/ (3 files): Remove some 'seems' usage |
|||
c: 0f370a6 | (Brock Wilcox)++ | doc/ (3 files): Merge pull request #982 from perl6/less-seems Remove some 'seems' usage |
|||
c: 8de94c9 | (Brock Wilcox)++ | doc/Type/IO/Path.pod6: Add recursive rmdir example per issue #852 |
|||
c: ae866ad | (Brock Wilcox)++ | doc/Type/IO/Path.pod6: Missed typeo |
|||
c: 7889b3e | (Brock Wilcox)++ | doc/Type/IO/Path.pod6: Merge pull request #983 from perl6/rmdir-tree Rmdir tree |
|||
22:45
maybekoo2 left
22:48
benchable6 left
22:54
canopus left
22:57
benchable6 joined
23:00
canopus joined
23:03
geekosaur left
23:04
nadim left
23:06
geekosaur joined
23:15
benchable6 left,
SHODAN left,
Kaffe left
23:16
Kaffe joined
23:17
girafe left,
dogbert17 left,
dogbert17 joined,
SHODAN joined
|
|||
BenGoldberg | m: say True ~~ :so | 23:22 | |
camelia | rakudo-moar 4fc17d: OUTPUT«True» | ||
BenGoldberg | m: say True ~~ :not | ||
camelia | rakudo-moar 4fc17d: OUTPUT«False» | ||
23:27
mrsolo_ left
23:28
mrsolo_ joined
23:55
mrsolo_ left,
mrsolo_ joined
23:57
mrsolo_ is now known as mrsolo,
mrsolo left,
mrsolo joined
23:58
labster joined
|