»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
00:00 reach_satori joined, khisanth_ joined 00:03 aborazmeh joined, aborazmeh left, aborazmeh joined 00:10 Sgeo__ joined
tejr ~/.local/src/lang$ mv perl/perl6 raku 00:14
~/.local/src/lang$ mv perl/perl5/* perl ; rmdir perl/perl5
00:19 wamba left
AlexDaniel Doc_Holliwood: ↓ 00:22
.seen Xliff
tellable6 AlexDaniel, I saw Xliff 2019-10-10T00:57:54Z in #perl6: <Xliff> No. nextsame
00:28 leont left 00:46 ZzZombo_ joined 00:49 ZzZombo_ is now known as ZzZombo 00:50 Doc_Holliwood left 01:01 reach_satori left 01:02 reach_satori joined 01:14 khisanth_ left 01:15 khisanth_ joined 01:24 AlexDani` joined
moon_child there is a .do tld 01:32
raku.do? 01:33
sjn yup 01:34
sjn likes that domain
Grinnz perlbot: .do 01:35
perlbot Grinnz: Dominican Republic, A country in the caribbean that is located on an island east of Cuba and west of Puerto Rico
01:42 aborazmeh left 01:52 cwilson1 joined 02:01 jediluke left 02:02 molaf left 02:14 molaf joined 02:15 jediluke joined
japhb .seen Doc_Holliwood 02:17
tellable6 japhb, I saw Doc_Holliwood 2019-10-13T20:21:27Z in #perl6: <Doc_Holliwood> <RaycatWhoDat> .seen Xliff
timotimo .seen japhb 02:18
tellable6 timotimo, I saw japhb 2019-10-11T17:49:41Z in #moarvm: <japhb> Picky, picky. ;-)
timotimo damn it.
japhb .tell Doc_Holliwood Happy to answer your questions, but you have to stay online if you want long answers.
tellable6 japhb, I'll pass your message to Doc_Holliwood
japhb timotimo: It doesn't consider commands to bot to be visible? 02:19
timotimo no idea
japhb Try .seen japhb again?
timotimo .seen japhb
tellable6 timotimo, I saw japhb 2019-10-14T02:19:49Z in #perl6: <japhb> Try .seen japhb again?
timotimo interesting.
japhb Looks like a bug 02:20
DMs to the bot should be invisible, but in-channel commands should count.
02:29 Elronnd joined 02:30 Elronnd is now known as moon_child 02:32 jediluke left
sacomo hi all 02:35
02:35 jediluke joined 02:43 cwilson1 left 02:47 __jrjsmrtn__ joined 03:06 wamba joined 03:24 sankamur_ joined 03:25 sankamur_ left 03:26 sankamur_ joined 03:30 sankamur_ left 03:42 mla joined 03:46 jediluke left 03:47 jediluke joined 03:49 wamba left 03:55 huyna joined
huyna can i ask if there any HTML parser module recommended for Window system, i try to install Gumbo but failed with the c native libary. 03:55
03:57 jediluke left 03:59 jediluke joined
Grinnz I'm pretty sure there's a DOM::Tiny that shouldn't need a C library 04:13
huyna thanks Grinnz it's worked :D, i try both your suggestion and this github.com/tony-o/perl6-html-parser-xml, this seem that your suggestion is better in parse time than HTML::Parser::XML 04:30
04:59 bawse joined 05:00 jmerelo joined 05:10 Maylay left 05:11 Maylay joined 05:50 molaf left 05:55 ZzZombo_ joined 05:58 ZzZombo left, ZzZombo_ is now known as ZzZombo, HannoWOB joined
HannoWOB Any idea what is else to do to make Comma IDE plugin work in IntelliJ (still get "SDK is not specified"); have checked every setting; both are up to date versions. (yes, I know more details should be given but maybe I missed some obvious part) 06:00
06:01 Doc_Holliwood joined 06:03 HannoWOB left
SmokeMachine HannoWOB: try to CMD + ; to set the SDK... 06:09
tellable6 SmokeMachine, I'll pass your message to HannoWOB
06:20 ZzZombo left 06:27 jmerelo left 06:29 domidumont joined 06:36 finanalyst joined 07:00 aborazmeh joined, aborazmeh left, aborazmeh joined 07:01 huyna left, huyna joined 07:03 ZzZombo joined
huyna tyil it worked but take so much time to parser 07:05
tyil huyna: Perl 6 grammars are quite slow in my experience, sadly 07:06
huyna yeah tyil hope we can improve it, right now the DOM::Tiny is faster, with this page en.wikipedia.org/wiki/Justin_Bieber, DOM::Tiny take 7-8s to parse while HTML::Parser::XML take 17-19s 07:07
tyil that's a decent improvement :p
huyna i will try one again with Gumbo, which use native C, i think it will more better in performance 07:09
07:13 zakharyas joined 07:14 wamba joined 07:26 kensanata joined, sena_kun joined 07:27 El_Che joined 07:29 aborazmeh left 07:32 abraxxa joined 07:36 ZzZombo left 07:37 abraxxa left 07:38 abraxxa joined 07:48 zakharyas left
huyna tyil with Gumbo it increases a lots, only 0.8 -> 1s 08:14
tyil but that didn't work on Windows, you said elsewhere, right? 08:15
huyna yeah on my Ubuntu
also when using HTTP::UserAgent on my Ubuntu, the request time must faster
5x better
08:16 ZzZombo joined
huyna on Window: 08:16
08:16 dakkar joined
tyil in my experience, GNU+Linux has been much faster than Windows in every task I throw at it 08:16
08:17 ufobat joined
huyna get time: 5.12s, parse time: 7.36s 08:17
Linux: get time -> 0.81s, parse time: 0.87s
yeah it much faster
may because the underlying native library they use 08:18
also some of Perl6 library still can run only on Linux like XML, i run test failed on Window but success on Linux 08:19
08:26 huyna left 08:30 reach_satori left 08:35 HannoWOB joined 08:36 reach_satori joined 08:38 leont joined 08:42 leont left 08:47 wamba left 08:51 jediluke left, huyna joined
Doc_Holliwood i found this on the webz: sub combinations { combinations( @^dict, $^n - 1 ) X @dict if $n > 0 } 08:56
tellable6 2019-10-14T02:18:42Z #perl6 <japhb> Doc_Holliwood Happy to answer your questions, but you have to stay online if you want long answers.
08:56 finanalyst left
Doc_Holliwood what is @dict and $n? 08:56
magic symbols 08:57
jnthn Note the ^ in the first usages; those are placeholder parameters. The signature is generated automatically from them, putting them in alphabetical order
tellable6 2019-10-12T20:01:17Z #perl6-dev <vrurg> jnthn R#3199 is awaiting on your approval for merge. With regard to the new operators: may I suggest accepting them as an experimental feature? If they cause any trouble we can always remove them before 6.e is released.
synopsebot R#3199 [open]: github.com/rakudo/rakudo/pull/3199 [WIP][roles] [WIP] Implement perl6/problem-solving#103
jnthn So { $^a cmp $^b } is -> $a, $b { $a cmp $b } 08:58
And { $^b cmp $^a } is -> $a, $b { $b cmp $a }
Doc_Holliwood i see, thanks 09:00
09:01 reach_satori left
Doc_Holliwood m: [1,2,3].map({ $^make-clear-what-this-is + 1 }).say 09:02
camelia (2 3 4)
Doc_Holliwood noice
09:08 wamba joined, jediluke joined
Doc_Holliwood i just did the sunday the 25th "challenge", and the sunday christmas is about every six years except for two gaps of 11 years (2022-2033) and (2078-2089) 09:16
does anybody know how that comes?
09:25 reach_satori joined
jnthn My first guess - perhaps wildly wrong - would be that leap years are to blame 09:30
Hm, in fact it's the only thing I can think of to blame :)
jnthn is still not very awake yet :) 09:31
09:39 breinbaas joined 09:44 antonigamiz joined
antonigamiz o/ 09:44
SmokeMachine AlexDaniel`: What means the Fallback tag on github.com/perl6/problem-solving/issues/76 ? 09:49
09:59 domidumont left 10:00 finanalyst joined 10:03 bawse left 10:12 jediluke left 10:16 Guest3346 joined 10:18 scimon joined 10:25 ChoHag joined
antonigamiz mmm I'm insalling App::Prove6 but after doing it I do not have the 'prove6' command available 10:28
ah I did not add .perl6/bin to the path 10:30
10:32 antonigamiz left 10:38 antoniogamiz joined 10:42 Guest3346 left 10:44 Guest3346 joined 10:47 jediluke joined 10:50 wamba left 11:03 Guest3346 left 11:06 jediluke left 11:18 camelia joined 11:19 ChanServ sets mode: +v camelia
tbrowder antoniogamiz: hi! 11:20
antoniogamiz tbrowder: o/ :D
11:20 sarna joined
tbrowder how is school going? 11:21
too slangy...are you enjoying the new school year? 11:24
antoniogamiz yep! Totally, I'm kind of busy all the time but fine! 11:29
Now i gotta go, lunch time :D I hope you're okay too!
11:29 antoniogamiz left, wamba joined 11:30 AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined
AlexDaniel SmokeMachine: usually there's a label and a dev assigned to each label 11:31
11:31 huyna left
AlexDaniel SmokeMachine: for example, `language` related issues go to jnthn 11:31
SmokeMachine: sometimes people create a ticket about something that doesn't have a label yet 11:32
Geth_ problem-solving/master: 84 commits pushed by (Elizabeth Mattijsen)++, (Aleks-Daniel Jakimenko-Aleksejev)++, (Jonathan Worthington)++, (Vadim Belman)++
review: github.com/perl6/problem-solving/c...669a0d2f22
11:38
11:43 __jrjsmrtn__ left
SmokeMachine AlexDaniel: is it ok to continue with this now? github.com/perl6/problem-solving/pulls 11:49
AlexDaniel SmokeMachine: yes, I'll work on that soon
11:52 __jrjsmrtn__ joined
AlexDaniel mst: so, I have both #raku and #raku-dev configured, the bots are already there and the channels are already logged 11:55
11:56 dogbert17 joined
AlexDaniel mst: you mentioned that the moves are going to be fun, so I guess I'm not comprehending the actual difficulty 11:57
mst: so, can you say something about it? Also, what would be the right way to do it, set +f with MLOCK? 11:58
12:08 sena_kun left 12:14 Guest13443 joined 12:15 domidumont joined 12:18 jmerelo joined
AlexDaniel jmerelo: rakudocs? Separate github organization? 12:22
jmerelo: you know how I “love” separate github organizations, right? 12:23
:)
tyil AlexDaniel: want me to drop Geth in #raku named channels? 12:27
AlexDaniel tyil: you should just git pull and restart it 12:28
tyil: I already did the changes required
jmerelo AlexDaniel: just as a backup site
lizmat AlexDaniel: could you check the redirect now ?
jmerelo AlexDaniel: same as we have perl6docs.github.io
tyil AlexDaniel: I don't run Geth as a standalone service, but as a Docker container in Kubernetes, though
jmerelo Also, I wanted to squat the name, just in case. 12:29
AlexDaniel lizmat: that's better, thanks!
tyil: alright… I don't know how to update that, but the git repo is still relevant, right?
tyil yes
but I will do the update :)
AlexDaniel ok :)
btw github org will take much more time I think 12:30
but maybe not, we'll see how it goes
12:34 Geth__ joined
AlexDaniel tyil: I tried redelivering and nothing happen, I think the previous instance was holding the port or something like that 12:36
tyil: or maybe I screwed up a bit in my changes 12:37
tyil from a GitHub repo?
let me check as well
AlexDaniel tyil: yeah, from rakudo/rakudo
12:42 finanalyst_ joined
tyil AlexDaniel: it looks to work for me (check #raku), so perhaps the old container was still shutting down when you tested 12:43
can you retest your case, so we can confirm it works for you?
I should also spend some time on that NickServ plugin for IRC::Client 12:44
12:47 Geth_ joined, Geth__ left
tyil ah, it also just takes a long time to shut down 12:48
wonder if I can fix that by listening to the specific signal kubernetes sends
AlexDaniel tyil: d'oh! I was redelivering the wrong event
tyil and just immediately disconnecting upon that signal
AlexDaniel it works
thank you
tyil AlexDaniel: ah, that should also help :p
glad that it works again :) 12:49
nine: are you running the other Geth?
kawaii Is there an easy way of measuring how many seconds a subroutine took to run? I'd like to log some console output i.e. "Parse completed in 1.34 seconds" 12:50
AlexDaniel tyil: maybe it's not working fully, actually, because it seems that there's still some output on #perl6-dev
tyil: it did redirect the commit message to #raku-dev though
tyil hmm
AlexDaniel but some other code path is not working as it should…
tyil so it's posting to both, now?
AlexDaniel depends on the payload I think… 12:51
but it should only post to #raku-dev really, that was my intent
tyil that's what I expected it to do from your latest commit 12:52
AlexDaniel tyil: it did, yes, but: “geth/master: 10 commits pushed by (Patrick Spek)++” 12:54
how did that happen :) 12:55
tyil `git push github master`
I think the Geth__ (2 underscores) was running the old docker image, I think 12:56
I restarted Geth when I was pushing the new Docker image, maybe I was too quick with restarting Geth there
AlexDaniel ahh
ok
tyil so that'd be my bad, sorry 12:57
13:03 wamba left
ZzZombo m: sub sub { sub() };sub 13:06
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> 3sub sub { sub() };sub7⏏5<EOL>
expecting any of:
new name to be defined
ZzZombo m: sub sub { sub() };sub()
camelia MoarVM panic: Memory allocation failed; could not allocate 131072 bytes
ZzZombo Wow.
13:10 timo1 joined, wamba joined 13:11 timo1 is now known as timotimo
jnthn Infinite recursion is a good way to use all the memory :) 13:13
Oh, maybe your surprise is that you can name a sub `sub` though :)
tadzik did you mean: subrise? ;)
13:14 lucasb joined
nine tyil: not that I'm aware of, no 13:16
13:17 cpan-p6 left
ZzZombo "your surprise is that you can name a sub `sub`": exactly. 13:18
tyil nine: ah, my bad then
it's hosted on *.niner.name, I was hoping that'd be you since your name is quite similar to it 13:19
13:19 finanalyst_ left
jnthn package EXPORTHOW { class class is Metamodel::ClassHOW { } } # :) 13:19
tadzik m: my \my = 'oh, my'; say my my # the error is quite funny
camelia ===SORRY!===
No compile-time value for my
nine tyil: well....then it is me, indeed. Even though I'm apparently unaware :)
tyil ah
I don't particularly mind, but I've had some people ask me why I'm running two of them :p 13:20
nine Ah, it's in camelia's VM. Just missed it when looking through the process list the first time 13:21
tyil no worries :> 13:22
nine Ok, I can turn it off or on anytime. Just tell me what to do
13:23 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
tyil I don't think your Geth is receiving any events, so you can turn it off completely I think 13:23
13:24 finanalyst_mobil joined 13:27 patrickb joined 13:28 finanalyst left
mst AlexDaniel: neither of those channels is remotely configured yet, the group reg isn't done, and moving users from one place to another always takes fucking ages 13:34
AlexDaniel: but other than everything being fucked up, sure, it'll be easy
AlexDaniel mst: right
13:34 gnufr33dom joined
mst note: don't worry about anything, what you've done so far is a great start 13:35
I'm just depressingly aware of everything else
AlexDaniel ok 13:36
mst: just let me know what I need to do and I'll do it
13:36 scimon left
mst AlexDaniel: giving me some permissions to the channels would help 13:36
13:39 reach_satori_ joined
AlexDaniel mst: is what I've done now fine? 13:40
mst ... no, because you've let off the Ff permissions I need to actually do things 13:41
AlexDaniel okay
mst: done
13:42 reach_satori left 13:43 finanalyst_mobil left
AlexDaniel mst: I was actually a bit surprised how chanserv works when you have Ff flags but nothing else, it refuses pretty much any command you send to it except for the one that sets the op flag for yourself 13:43
I guess it makes sense
mst it's old school unixy in a good way in that regard IMO 13:44
as opposed to most of IRC which is old school unixy in a dumpster fire way
but whatever
AlexDaniel – Show me the flags on the channel! – No, you don't have permissions. – Give me the op! – No! – Alright alright, can you set +o on me? – Sure! No preblem!! 13:45
problem* :)
mst :D
also, btw, we may need to be careful with the bots 13:46
AlexDaniel mst: like?
mst like somebody's going to reconfigure sigyn to not murder them but keep an eye out
this is what I mean about there being all sorts of details :) 13:47
13:47 satori__ joined
mst added flags for staff so they're explicitly invited to help if required 13:47
AlexDaniel mst: nice, but should it be different from what we had on #perl6? “freenode-staff +AORefiorstv” vs “*!*@freenode/staff/* +Aiortv” 13:49
mst doesn't really matter
13:49 reach_satori_ left
mst the +o flag is the only one they realistically use 13:49
13:51 HannoWOB left
mst sends email in to get the project registrations faffed with 13:53
14:01 sarna left 14:02 aborazmeh joined, aborazmeh left, aborazmeh joined, Kaiepi left, Kaiepi joined 14:13 antoniogamiz joined 14:14 aborazmeh left
AlexDaniel mst: thank you 14:14
mst in terms of making people move 14:17
I'm not convinced a forward is deal
ideal
because my experience is that people don't reconfigure their clients
AlexDaniel mst: ok, but why is that a problem? 14:20
mst forwards aren't supposed to be permanent 14:22
AlexDaniel mst: why not? We'd have to let go of #perl6 at some point? 14:23
14:30 pmurias joined
pmurias how are we going to rename all the project names that contain a 6? 14:30
like 6pad?
AlexDaniel pmurias: it's up to you, I'd say. The 6 by itself is not entirely wrong, but maybe something like rakupad will make more sense in this case 14:35
14:36 pmurias left, pmurias joined
El_Che pmurias: rpad 14:36
AlexDaniel pmurias: colabti.org/irclogger/irclogger_lo...10-14#l358
discord6 <tmtvl> I dunno about rpad, R may want that. 14:37
El_Che and racket, and every app with an R, first come, first served 14:39
kawaii I'm not going to bother renaming any of my repos or projects 14:41
14:44 wamba left
timotimo RapAd 14:46
14:58 wamba joined
jdv79 there's no real data sciency stuff for raku is there? just read ovid's about Perl. 14:58
also is it, raku/Raku like perl/Perl?
lizmat yeah, think so :-) 15:00
15:12 pmurias left 15:21 patrickb left 15:22 finanalyst joined 15:27 daxim joined 15:29 patrickb joined 15:30 antoniogamiz left
Doc_Holliwood I don't really like the proposed new extensions 15:33
.rakumod is too long.
15:34 finanalyst left
Doc_Holliwood .rap|-rad for modules, .raf for scripts and .rat for tests? 15:35
AlexDaniel Doc_Holliwood: too late 15:36
I guess 15:37
Doc_Holliwood is it?
AlexDaniel well, good luck 15:38
15:39 Xliff joined
Xliff o/ 15:39
m: use NativeCall; my uint32 \s = 0
camelia Type check failed in binding; expected uint32 but got Int (0)
in block <unit> at <tmp> line 1
Xliff m: use NativeCall; my uint32 $s = 0
camelia ( no output )
Xliff Am I forced to use containers for native types? 15:40
15:41 satori__ left 15:42 finanalyst joined
Xliff m: say 640* 480 15:42
camelia 307200
Xliff m: say 800 * 600 15:43
camelia 480000
timotimo god damn it, my weechat is utf8-b0rked again
Xliff :(
timotimo every time the machine restarts i have to do a whole song-and-dance
Xliff m: my $a; $a = $_ for ^480000; say now - INIT now
camelia 0.04801773
15:43 finanalyst left
timotimo also, i think the v6 on this machine isn't working? 15:43
15:44 finanalyst joined
discord6 <Aearnus> so, are the META6 files still going to be called META6? 15:52
AlexDaniel Aearnus: yes, for now 15:55
discord6 <Aearnus> Hmm okay 15:56
AlexDaniel nobody needs to rename any files now 15:57
16:00 Kaiepi left 16:02 Kaiepi joined 16:06 finanalyst_ joined
Doc_Holliwood I is possible to use the Perl6 grammar to parse a piece of code, change something, and write out back to code? 16:18
*it is 16:19
16:25 domidumont left, molaf joined, domidumont joined 16:29 sena_kun joined
Xliff Doc_Holliwood: Don't you mean, "Is it"? 16:31
I know you can take a grammar to parse code and output an AST.
So in that sense, you can write it back out "as code", but that code would more than likely be closer to NQP.
16:33 domidumont left
SyrupThinker Sounds like a macro, but taking in text 16:33
16:35 kensanata left 16:38 finanalyst_mobil joined 16:42 dakkar left, finanalyst left
El_Che www.reddit.com/r/perl6/comments/dg...t/f3f86fe/ <-- what is rurban talking about here? 16:48
does he have a working raku compiler on p11? 16:49
17:07 jmerelo left
moritz rurban likes to claim VMs he's working on are superior to other things, without anything to substantiate that claim. Nothing new here 17:07
He also long claimed parrot's threads were superior to all other thread implementations, despite nobody being able to implement high-level language threading on top of it 17:08
vrurg slashdot.org/submission/10554004/p...offucially – shall we make it to the top? 17:15
discord6 <RaycatWhoDat> >offucially 17:16
<RaycatWhoDat> Let's get it 17:17
vrurg Oh my... It's not editable, it seems. :(
discord6 <RaycatWhoDat> No worries, Slashdot confuses the hell out of me
17:18 zirk joined 17:19 zirk left 17:22 chloekek joined
AlexDaniel tyil: sooo what's going to happen with discord? 17:23
17:23 scotticles joined
AlexDaniel discord6: another discord room and another bridge? 17:23
tyil: oops ↑
because people are already talking on #raku and #perl6 at the same time, it's a bit annoying to track all 4 channels
17:24 leont joined
Grinnz i would say just rename the discord channel and redirect its bot 17:25
no need to worry about more back compat than is actually needed 17:26
discord6 <RaycatWhoDat> Yeah, we wait for Rogue to come back and he'll make the adjustments
<RaycatWhoDat> That being said, how poppin' is #raku currently? 17:27
<RaycatWhoDat> I'd imagine it's a bit slow still
Grinnz it currently has 59 members and about the same amount of discussion
discord6 <RaycatWhoDat> Solid. 17:28
AlexDaniel the logs are already up so you can see for yourself colabti.org/irclogger/irclogger_lo...2019-10-14 colabti.org/irclogger/irclogger_lo...2019-10-14 17:31
Xliff has posted twice to the Slashdot article.... 17:34
Ahh... my old stomping grounds.
Can someone tell me if NativeCall's C++ support is good enough to try and attempt binding with Wx Widgets? 17:35
moon_child rename happened 17:41
time to kick everyone and redirect to #raku?
AlexDaniel moon_child: just join #raku while we are figuring things out :) 17:42
moon_child AlexDaniel: did that already
AlexDaniel moon_child: 👍
moon_child :)
Xliff Oohh... 17:45
I'm gonna miss this channel.
I'm still gonna lurk.
AlexDaniel: Might want to create an echoable for this channel into #raku.... 17:46
AlexDaniel Xliff: I can just hang around here and talk to people :) 17:47
Xliff LOL.
If you are then I am, too! :)
moon_child hah
17:50 sno joined
Grinnz based on #mojo's move to freenode, my suggestion would be step 1, change the topic to tell people where to go and make people aware of it if they show up, step 2, +m the channel and have a bot yell about the new channel whenever someone joins 17:55
or s/step/phase/g 17:56
17:56 molaf left 17:57 wildtrees joined 17:58 wildtrees left, wildtrees joined 18:13 sortiz joined
moon_child Grinnz: a channel I was in a while ago set up an autoredirect, where anyone who joined the channel would get redirected to the new channel 18:15
then just kicked everyone
Grinnz yeah, you can do that too, it's a little more drastic
sortiz m: use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native(Str) { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19); 18:16
camelia Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*)
in sub calloc at <tmp> line 1
in method new at <tmp> line 1
in block <unit> at <tmp> line 1
tellable6 2016-06-25T18:51:46-04:00 #perl6-dev <awwaiid> soritz: I fixed the PR :)
2016-07-09T22:22:53-04:00 #perl6-dev <gfldex> soritz: i believe to remember being told that .DEFINITE is a implementation detail. It was removed from S12, yet there are still spectests. It's a design question I can not answer. 18:17
sortiz 6c: use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native(Str) { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19); 18:19
committable6 sortiz, gist.github.com/0f563cb1984e1b0364...131b64e3d7
Xliff use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19); 18:20
m: use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19);
camelia Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*)
in sub calloc at <tmp> line 1
in method new at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native() { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19);
camelia Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*)
in sub calloc at <tmp> line 1
in method new at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: use v6.c; use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native() { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19); 18:21
camelia Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*)
in sub calloc at <tmp> line 1
in method new at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: use v6.c; use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native('') { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19);
camelia Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*)
in sub calloc at <tmp> line 1
in method new at <tmp> line 1
in block <unit> at <tmp> line 1
sortiz nine: Your yesterday commit broke this Nativecall use.
bisect: use NativeCall; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native(Str) { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19); 18:22
bisectable6 sortiz, Bisecting by exit code (old=2015.12 new=6f086e6). Old exit code: 0
tyil AlexDaniel: I can map the discord bridge to different channels on IRC
bisectable6 sortiz, bisect log: gist.github.com/25e944a54a30a72eec...16f4676b65
sortiz, There are 4 candidates for the first “new” revision. See the log for more details
tyil that's a single configfile change iirc, on my end
18:22 pecastro joined
cpan-p6 New module released to CPAN! TAP (0.1.0) by 03LEONT 18:23
xinming_ with text "x = 123; c = 456; " How can we write a regex to match this, so we can build a hash based on it?
tyil I'd preferably keep them bridged to the most active channels, and switch them over when the channel redirect is in place
but if people have different wishes I can hear them out and possibly alter my plan
xinming_ m: "x = 123; c = 456; " ~~ / $<key>=[\d+] '=' $<value> = [\d+] /; $/.hash.perl.say; 18:24
camelia {}
xinming_ m: "x = 123; c = 456; " ~~ m:g/ $<key>=[\d+] '=' $<value> = [\d+] /; $/.hash.perl.say;
camelia {}
18:26 rindolf3 joined
rindolf3 Hi all 18:27
xinming_ m: "x = 123; c = 456; " ~~ m:g/ $<key>=<[\d+]> '=' $<value> = <[\d+]> /; $/.hash.perl.say; 18:30
camelia {}
Xliff Does anyone know of a package using NativeCall for C++?
rindolf3 to be frank, i suspect as long as TimToady does not claim his well-earned fame as the "invisible" hacker king of the open source/usenet revolution, he will continue to face bad health 18:31
AlexDaniel maybe you all should consider talking on #raku instead :)
I mean, surely we can set up forwarding or add +m or whatever…
Xliff It might help if people were already talking on raku.
rindolf3 AlexDaniel: ah, oh well
AlexDaniel Xliff: they do! :)
Xliff I'm in #raku! 18:32
....silence!....
18:32 satori__ joined
rindolf3 they turned off the lights 18:34
cpan-p6 New module released to CPAN! App::Prove6 (0.0.12) by 03LEONT 18:39
New module released to CPAN! App::Prove6 (0.0.11) by 03LEONT
leont Just released prove6 with .rakudotest support 18:40
Erm, .rakutest
Might be the first code change related to path-to-raku
rindolf3 TimToady: one thing i like about en.wikipedia.org/wiki/Taylor_Swift (whi became a hacker queen long before i notiiced) is that she is an unapologetic attention whore who will spend large amounts of money and even time to make herself mooore famous a nd wekk regarded)
leont (or at least the first to be released)
Xliff Does anyone know of a package using NativeCall for C++? 18:41
rindolf3 a nd ppl complain about me linking to pages i creaaaated.
Xliff :P :> 18:42
rindolf3 perhaps i shoyld buy some google/ddg/etc. ads...
well, night all
it iis curfew time
leont NativeCall and C++ sound like a really painful combination 18:43
Xliff Yes. I do believe they are.
rindolf3 i think there won't be ww3 but every deaath is a tragedy
19:01 wamba left 19:02 n1ge joined 19:10 wildtrees left, ufobat left 19:14 netrino joined
sortiz bisect: good=2019.7.1 use NativeCall; role C { sub calloc(size_t,size_t --> Pointer) is native(Str) { * }; method new { say calloc(1,1) } }; C.new() 19:14
bisectable6 sortiz, Cannot find revision “2019.7.1” (did you mean “2019.07.1”?)
sortiz bisect: good=2019.07.1 use NativeCall; role C { sub calloc(size_t,size_t --> Pointer) is native(Str) { * }; method new { say calloc(1,1) } }; C.new() 19:15
bisectable6 sortiz, Bisecting by exit code (old=2019.07.1 new=f3dda96). Old exit code: 0
sortiz, bisect log: gist.github.com/88a7e56a164be72cc5...e0419e7ef1
sortiz, There are 4 candidates for the first “new” revision. See the log for more details
tony-o_ m: role A[:$xyz?, :$abc?] { method xyz { $xyz//"xyz:undef"; }; method abc { $abc//"abc:undef"; }; }; class D does A[:xyz<abc>, :abc<123>] { }; say D.new.xzy 19:18
camelia No such method 'xzy' for invocant of type 'D'
in block <unit> at <tmp> line 1
lizmat PSA: I've gotten so much shit over me in the past few hours, that I'm not in a state of mind to write a Perl 6 Weekly objectively 19:21
so I won't publish one today
El_Che lizmat: really?
lizmat: are people you attacking privately?
lizmat yes, and in public 19:22
Xliff I'm so sorry, lizmat.
lizmat “I dislike the way Liz made a rename. I still find it extremely amoral” is not what I think I deserved for getting things rolling 19:23
El_Che I guess I missed it. I am sorry to hear it.
lizmat and then there's some private stuff
El_Che lizmat: I thought the person that wrote that is now proposing to host a raku conference?
bartolin is very sad hearing that, too. lizmat++ 19:24
lizmat yes, which I will most likely not attend, nor recommend to anyone
El_Che lizmat: I meant that he went totally overboard and made it personal, but then opted to start with a clean slate, accepting the rename 19:25
19:25 mj41 joined
lizmat “I dislike the way Liz made a rename. I still find it extremely amoral” I don't consider a clean slate 19:25