»ö« 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:04 cdg joined 00:05 cdg left, cdg joined
lizmat Zoffix: yuk, is that the only way to do this? Feels like we need at least an issue for that ? 00:06
00:06 cdg left, cdg joined 00:10 entonian joined
squashable6 🍕 jnthn++ wrote a comment on commit 50c6fd13f6fb: github.com/perl6/doc/commit/50c6fd...t-26692712 00:12
🍕🍕🍕 First contribution by jnthn++! ♥
00:12 cdg left
squashable6 🍕 jnthn++ wrote a comment on commit 50c6fd13f6fb: github.com/perl6/doc/commit/50c6fd...t-26692722 00:13
00:16 flatwhite joined, kerframil left, flatwhite is now known as kerframil, SmokeMachine joined, parisba joined 00:17 tobs left
lizmat suddenly realizes she forgot to mention the Squashathon in the P6W :-( 00:17
Geth doc: b6302802cc | (Zoffix Znet)++ | doc/Language/modules.pod6
Revert "Document EXPORT behaviour with precompilation"

This reverts commit 50c6fd13f6fb864be32f42b585c16e3d166d2edb. Per github.com/perl6/doc/commit/50c6fd...#r26692712
synopsebot Link: doc.perl6.org/language/modules
00:17 tobs joined, jkva_ joined
squashable6 🍕 zoffixznet++ wrote a comment on commit 50c6fd13f6fb: github.com/perl6/doc/commit/50c6fd...t-26692760 00:18
00:18 rgrau joined, Phlogistique joined 00:25 entonian left 00:43 Zoffix joined
Zoffix m: BEGIN '/tmp/dyncall'.IO.mkdir.add('DYN.pm6').spurt: 「my class Foo::Bar {}; sub EXPORT { {'Foo::Bar' => Foo::Bar } }」; use lib </tmp/dyncall>; use DYN; say Foo::Bar 00:43
camelia Could not find symbol '&Bar'
in block <unit> at <tmp> line 1
Zoffix How to export class symbols with sub EXPORT?
m: BEGIN '/tmp/dyncall'.IO.mkdir.add('DYN.pm6').spurt: 「my class Bar {}; sub EXPORT { {'Bar' => Bar } }」; use lib </tmp/dyncall>; use DYN; say Bar 00:44
camelia (Bar)
Zoffix Seems to work if you don't have any :: in the name... I gotta have ::s
sub EXPORT is an excercise in frustration.
m: BEGIN '/tmp/dyncall'.IO.mkdir.add('DYN.pm6').spurt: 「unit module DYN; my class Bar::Ber is export {}」; use lib </tmp/dyncall>; use DYN; say Bar::Ber 00:48
camelia Could not find symbol '&Ber'
in block <unit> at <tmp> line 1
Zoffix m: BEGIN '/tmp/dyncall'.IO.mkdir.add('DYN.pm6').spurt: 「unit module DYN; my class Bar::Ber is export {}」; use lib </tmp/dyncall>; use DYN; say Ber
camelia (Ber)
Zoffix It exports it as "Ber" -_- wtf
00:48 setty1 left 00:54 Success joined
Success when will there be another nonjvm perl 6 00:56
Zoffix Success: you mean other than MoarVM?
Success thanks zoffix 00:57
00:58 GregDonald joined 01:01 erdic joined
Zoffix m: BEGIN '/tmp/dyncall'.IO.mkdir.add('DYN.pm6').spurt: 「our class Foo::Bar {}; sub EXPORT { {} }」; use lib </tmp/dyncall>; use DYN; say Foo::Bar 01:04
camelia (Bar)
Zoffix I guess I'll just use that
01:04 Zoffix left
Success where are the rakudo moar binaries 01:05
01:16 statisfiable6 left, releasable6 left, nativecallable6 joined, releasable6 joined, statisfiable6 joined, unicodable6 left 01:17 unicodable6 joined, quotable6 joined 01:23 markong left
timotimo if you've installed a rakudo including the moar backend you'll have a perl6-m script, and usually the perl6 symlink points at perl6-m 01:30
Success i mean where do i download them
Geth ecosystem: 34cdb9ef7e | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
Add Config::JSON to eco

  "Flat, JSON-backed read-write configuration":
  github.com/zoffixznet/perl6-Config-JSON
01:31
timotimo perl6.org/downloads/ - does this page help?
i wonder if we should link to the debian/ubuntu/fedora/... packages from that site
Success rakudo.perl6.org/downloads/star/ doesn't include rakudo-star-2017.07-moar or rakudo-star-2017.07-parrot 01:32
also (NO JIT)
timotimo ah, yes, rakudo star isn't a binary release on linux 01:33
and parrot hasn't been supported by rakudo for a while now
Success are the windows ones everything? 01:34
timotimo no, there's also binaries for mac os, and we have packages for many distributions from one particular volunteer
huggable: rpm
huggable timotimo, CentOS, Debian, Fedora and Ubuntu Rakudo packages: github.com/nxadm/rakudo-pkg/releases
Success actually i'm on windows :p just compiling decided to compile it :p 01:37
Geth ecosystem: c84e5f8d5a | dmaestro++ (committed by Zoffix Znet) | META.list
Add SQL::Lexer (#382)

Grammar for basic SQL tokens
timotimo ah, ok, then you just need the .tar.gz
buggable New CPAN upload: Magento-0.0.1.tar.gz by SACOMO cpan.metacpan.org/authors/id/S/SA/...0.1.tar.gz 01:38
Success meh i cloned the git repos. moarvm is finishing up
01:40 Zoffix joined
Zoffix Success: MoarVM is the default and preferred VM for Perl 6. 2017.10 and .07 .msi *are* available on rakudo.perl6.org/downloads/star/ They just don't have "moar" in their names. 01:41
01:42 cdg joined
Success ohh okay thanks zoffix that'll save ALOT of time :) 01:42
timotimo oh, i thought you wanted to compile because you wanted to compile
Zoffix Success: FWIW there are mostly-copy-pasteable build instructions here: github.com/zoffixznet/r#windows
timotimo sorry, i didn't realize
Success it can install to paths with spaces, right? 01:44
timotimo, oh i do, but it'd be nice to just have the binary in the meantime :p
Zoffix Success: good question :) ... I vaguely recall a bug with spaces, but it might have been fixed
huggable: glot.io 01:45
huggable Zoffix, Run Perl 6 in your browser: tio.run/nexus/perl6 or glot.io
Zoffix ^ there are also these online evalers, if you just wanted to play with a bit of Perl 6 code without installing anything
01:46 flatwhite joined, kerframil left, flatwhite is now known as kerframil 01:47 cdg left
Success oo that site is cool ty 01:47
Decoder.c took forever (moarvm) yikes 01:48
Zoffix 5 hours ago I started writing a config module so I could patch ZScript with a command to rsync my local rakudo changes to my 24-core VM, so I could save a few dozen minutes off running stresstests. 01:49
I've just finished with the module... Something tells me I'm not winning any extra time savings here :)
Success i love rsync tbh
haha it'll be worth the overhead :)
Zoffix Success: weird. MoarVM compiles on my Win10 box in under a minute
Success also are you on gentoo?
Zoffix Bodhi Linux 01:50
Success what flags and setup on your win10
Zoffix huggable: rakudo win
huggable Zoffix, perl Configure.pl --gen-moar --gen-nqp --backends=moar & gmake & gmake test & gmake install
Zoffix I just use that
in rakudo (and it builds moarvm)
Success ah
perl Configure.pl --os win32 --shell win32 --toolchain msvc --compiler cl & nmake 01:51
i don't think it's utilizing my intel compiler either :'(
timotimo huh, i didn't know any of those flags were accepted by Configure.pl 01:52
and that is why they keep me away from the build system :)
Zoffix :) 01:53
01:54 xcm left 01:55 Zoffix left 01:56 xcm joined 02:03 cdg joined 02:07 cdg left
samcv m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var>>.join 02:13
camelia Buf:0x<d6 a0 6e 0e c0 91 7a d2 d0 83>
P6opaque: no such attribute '$!reified' on type List in a Seq when trying to get a value
in block <unit> at <tmp> line 1
samcv this error is very much LTA
m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var.join 02:14
camelia Buf:0x<d5 1d 9f 13 3f 63 a3 4f e8 62>
213291591963991637923298
samcv this is okay, but ».join shows that $!reified error which is fairly useless 02:15
02:15 giraffe joined
samcv m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var».Str; say $var».Int; #`(say $var».join; )say $var.map({.join}) 02:19
camelia Buf:0x<3a f4 4e 14 d1 43 a6 7b b0 14>
(58 244 78 20 209 67 166 123 176 20)
(58 244 78 20 209 67 166 123 176 20)
(58 244 78 20 209 67 166 123 176 20)
samcv this shows the same for each one.
m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var».Str; say $var».Int; say $var».join; 02:20
camelia Buf:0x<56 ca c7 d6 f8 63 82 63 41 9a>
P6opaque: no such attribute '$!reified' on type List in a Seq when trying to get a value
in block <unit> at <tmp> line 1

(86 202 199 214 248 99 130 99 65 154)
(86 202 199 214 248 99 130 99 65 154)
02:23 cdg joined
Success sory i'm screwing around with intel compiler 02:24
02:25 Zoffix joined
Zoffix samcv: this needs to be .List not .list: github.com/rakudo/rakudo/blob/mast...ps.pm#L660 02:25
I'll fix it in $n minutes, after I make some changes to my script, unless someone beats me to it 02:26
oh wait. 02:27
m: dd ().Seq.list 02:28
camelia ()
Zoffix never mind :}
02:29 cdg left
Zoffix Ahh, Buf.list gives a Seq 02:30
This boils down to R##1344 which is blocked by R#1355 02:31
synopsebot R#1355 [open]: github.com/rakudo/rakudo/issues/1355 +@a/+a slurpies produce inconsistent results
02:47 ilbot3 left 02:58 xcm left 02:59 xcm joined 03:01 cdg joined 03:05 ilbot3 joined, ChanServ sets mode: +v ilbot3 03:06 cdg left 03:07 flatwhite joined, kerframil left, flatwhite is now known as kerframil 03:20 geekosaur is now known as eviltwin_b, eviltwin_b is now known as geekosaur
Zoffix \o/ ZScript's `z vm` command now syncs local changes to remote IP: gist.github.com/zoffixznet/2941096...b0a03ab713 03:47
03:48 kyan joined
Zoffix Now need to teach it to automatically power on a Google VM and stresstest :) 03:48
ZofBot: the humans are not impressed! Abort the mission! 03:50
ZofBot Zoffix, Think I'm going to let you get yourself in trouble like that, to get me out of a fix? Not much
03:50 Zoffix left
geekosaur heh 03:52
geekosaur was mostly wondering whether to alert z/vm coworkers :p
03:57 squashable6 left, bloatable6 left, squashable6 joined, bloatable6 joined
AlexDaniel squashable6: status 04:01
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈7 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/220ac7af2f324a04f6...b5d4d6d821
kyan What's the difference between a Match resulting from calling parse() on a grammar, and a inline Pair like this? github.com/masak/xml-writer/blob/m...example#L5 04:04
I'm trying to use XML::Writer to print out the parse tree for a string.
If I just do XML::Writer.serialize($parsed) or XML::Writer.serialize($parsed), it says "The XML tree must have a single root node", even though the grammar match as far as I can tell does only have a single root. 04:05
geekosaur a Match is a very different thing. but using .gist doesn't show you the actual Match 04:06
("say" calls .gist for you)
try explicitly using .perl on it to see what it really looks like
kyan Oh, that looks *very* different, yeah. 04:07
What is the right way to go about getting my parse tree out into XML? 04:11
04:11 cdg joined
geekosaur that I wouldn't know offhand since I don't know what you are starting with 04:12
kyan calling .tree() on the Match still doesn't seem to be in the same format as the thing in the XML::Writer example
I'm starting with a Match object.
(well, at this point of the process. Originally I start with a string and a grammar, then I use the grammar to parse the string, and that gives the Match.) 04:13
If I run "say $parsed.tree;", it prints out a tree that looks like the XML I'd like to get out. 04:16
e.g. gist.github.com/ethus3h/7ce684c7d1...d849e589ba
04:16 cdg left 04:19 yoleaux left
geekosaur yes, and that's a bunch of nested Match objects instead of an actual XML tree 04:19
not sure offhand how you'd auto-extract that to something useful 04:20
kyan Ah... is there a better way to get XML or a normal tree out of a grammar?
04:30 xcm left 04:31 xcm joined, tyr0ne4F6V2Q joined
tyr0ne4F6V2Q 07,13▄11,08▄05,10▄13,08▄06,08▄03,05▄03,09▄04,13▄08,08▄02,09▄09,10▄06,03▄11,09▄07,07▄11,06▄03 LRH IS LIVE NOW!! TODAYS EDITION SLIMER GETS FUCKED IN VEGAS!! www.youtube.com/user/l0de/live CALL 315-505-4666 lzwjqd: xcm Khisanth bloatable6 12,03▄10,12▄11,08▄05,07▄06,12▄11,10▄07,03▄08,07▄09,10▄11,07▄10,02▄03,03▄09,07▄02,09▄07,05􏿽xE2􏿽x96 04:31
11,12▄09,12▄12,06▄03,10▄13,06▄12,04▄09,07▄05,09▄10,08▄02,11▄09,07▄09,07▄10,13▄08,05▄08,06▄07 LRH IS LIVE NOW!! TODAYS EDITION SLIMER GETS FUCKED IN VEGAS!! www.youtube.com/user/l0de/live CALL 315-505-4666 yvqppolm: S007 stmuk quotable6 06,09▄06,08▄08,11▄13,03▄12,02▄08,04▄09,08▄05,07▄11,02▄09,04▄08,09▄09,11▄08,05▄09,04▄05,12▄
04:32 araraloren_ joined, tyr0ne4F6V2Q left 04:46 Cabanossi left 04:48 Cabanossi joined
kyan I guess I'll ask over at the XML::Writer repo, maybe. Thanks for your help, have a great evening! 04:50
kyan off for the night
04:50 cdg joined, kyan left 04:55 khw left 05:00 xcm left 05:01 xcm joined 05:11 cdg left 05:23 aindilis joined 05:37 aindilis left 05:38 aindilis joined 05:44 Success left 05:49 kerframil left 05:53 pilne left 06:07 wamba left 06:30 ChoHag left 06:34 cdg joined 06:39 cdg left 06:50 ChoHag joined 06:52 espadrine left 07:12 Kaiepi joined 07:33 zhmylove joined 07:45 zhmylove left 07:49 darutoko joined 07:57 lizmat left 07:58 lizmat joined 08:00 cdg joined 08:04 cdg left 08:12 xcm left 08:13 xcm joined 08:17 Zoffix joined
Zoffix So the missing GitHub highlights mystery is finally solved. The August rename made the ``` key "perl-6" with a hyphen. And that works now and there's also a PR to add "perl6" as alias too: github.com/github/linguist/pull/3977 08:18
08:21 rindolf joined
TEttinger what about 6lang :P 08:25
moritz there is no 6lang 08:26
buggable New CPAN upload: PDF-Class-0.0.4.tar.gz by WARRINGD cpan.metacpan.org/authors/id/W/WA/...0.4.tar.gz 08:28
Zoffix Yeah, it was quite unpopular as a proposal. 08:29
Zoffix still got 6lang.party domain tho :P
moritz domains are dozen a kilo-dime, or something 08:30
08:35 llfourn joined 08:43 domidumont joined 08:46 wamba joined 08:49 domidumont left, domidumont joined 09:01 xcm left 09:03 xcm joined 09:11 Actualeyes left 09:14 geospeck joined 09:17 Actualeyes joined
Zoffix m: use QAST:from<NQP>; QAST::Op.new: :op<call>, :name<&die>, QAST::SVal.new: :value<meows> 09:19
camelia ( no output )
Zoffix Is there a way to "eval" a QAST tree in HLL to see what it does?
like above would be like running `die "meow"`; or rather a crash saying can't stringify it, but it'd be die "meow" if you write the missing part right 09:20
09:26 xcm left
moritz Zoffix: I'm not aware of how it works; you'd have to check how rakudo itself does it 09:28
but you might need a reference to Perl6::World too
Zoffix m: use QAST:from<NQP>; BEGIN $*W.compile_time_evaluate: $, QAST::Op.new: :op<call>, :name<&die>, QAST::SVal.new: :value<meows> 09:31
camelia 5===SORRY!5=== Error while compiling <tmp>
An exception occurred while evaluating a BEGIN
at <tmp>:1
Exception details:
meows
in code at <tmp> line 1
Zoffix moritz++ thanks
09:38 wamba left 09:42 wamba joined, dct joined 09:51 dct left 10:06 Actualeyes left 10:22 setty1 joined 10:23 andrzejku joined 10:31 labster1 joined, labster1 left 10:33 pmurias joined 10:35 espadrine joined 10:48 espadrine left 11:01 rindolf left 11:29 geospeck left 11:53 Zoffix left 12:02 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6 12:08 lizmat left, lizmat joined 12:12 cdg joined
AlexDaniel squashable6: status 12:13
squashable6 AlexDaniel, Next SQUASHathon in 25 days and ≈21 hours (2018-02-03 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel squashable6: status 2018-02-02 12:14
squashable6 AlexDaniel, Invalid date format
AlexDaniel is it?
squashable6: status 2018-01-02
squashable6 AlexDaniel, Invalid date format
AlexDaniel squashable6: log 2018-01-02
squashable6 AlexDaniel, Invalid date format
12:16 cdg left
AlexDaniel squashable6: log 2017-12-02 12:16
squashable6 AlexDaniel, Log and stats: gist.github.com/b75e8280ee1984e3ce...2d70965f17
AlexDaniel squashable6: log 2017-12-06 12:17
squashable6 AlexDaniel, Invalid date format
AlexDaniel squashable6: log 2018-01-06 12:18
squashable6 AlexDaniel, Log and stats: gist.github.com/5e9e3c83cd360c1dd8...a6da59265a
AlexDaniel I need to wake up…
12:20 markong joined 13:03 mscha joined
mscha m: my @a = <a b c d>; @a[1..2] = <p q>; say @a; # this is fine 13:03
camelia [a p q d]
mscha m: my @b = <a b c d>, <e f g h>, <i j k l>, <m n o p>; @b[1..2;1..2] = <w x y z>; say @b; # shouldn't this work as well?
camelia Cannot modify an immutable Str (f)
in block <unit> at <tmp> line 1
mscha m: my @b = [<a b c d>], [<e f g h>], [<i j k l>], [<m n o p>]; @b[1..2;1..2] = <w x y z>; say @b; # figured it out 13:04
camelia [[a b c d] [e w x h] [i y z l] [m n o p]]
13:22 AlexDaniel left 13:28 araraloren_ left 13:29 rindolf joined
lizmat mscha: yup,. <> creates Lists, [] creates mutable arrays 13:30
13:51 espadrine joined 14:00 konsolebox left, konsolebox joined 14:17 ilogger2 joined, ChanServ sets mode: +v ilogger2
timotimo hey, so, off-topic question: i've opened a drive with "cryptsetup luksOpen" and the block device that belongs to it shows up in /dev/mapper, but the individual partition block devices are missing and pvscan and vgchange don't find the pv's in them, unsurprisingly 14:27
gparted sees the partitions i'm looking for, though
DrForr linkbait://theperlfisher.blogspot.ro/2018/01/tree-surgery.html 14:28
timotimo ah, partprobe helped. you just gotta give it the devices, too 14:31
14:36 eliasr joined 14:37 committable6 joined, ChanServ sets mode: +v committable6
hahainternet timotimo: if you are trying to activate partitions of a mapped block device, in general you want kpartx -av and kpartx -dv 14:39
depends on how you've set things up
timotimo i have not heard of that
hahainternet i use it for storing vm disks inside a single lv
without having to bother with anything special
but yeah, it works with anything that has partition tables and can use mapper
timotimo what limitation does partprobe have that this can solve? 14:40
hahainternet partprobe just rescans the scsi bus
kpartx gives access to embedded partitions
well, i guess partprobe rescans all storage buses or whatever, i don't know the specifics
timotimo ah, so with kpartx i wouldn't have had to pass the dev paths
hahainternet i can't say i've done luks on an entire disk before, so i don't know if i can say 14:41
but if you ever have a filesystem in a block device, and want to access a partition
timotimo i'm a bit disappointed by lvm2 here. i had tried zfs before running into a problem and it was a whole lot faster
hahainternet use lvm thin partitioning
timotimo likely because it spread individual files out over multiple disks
hahainternet yes if you set up a zpool
timotimo yeah
hahainternet lvm is just effectively jbod, with thin provisioning now 14:42
zfs is millions of dollars of research, but is owned by a predatory company, so i avoid it :(
timotimo at least zfsonlinux isn't owned by those terrible people
hahainternet it is, Oracle sued in the US to claim ownership of the organisation of an API 14:43
and won
so i would not think open source code makes any real difference
Google only got away through fair use
anyhow just don't tie your company's fortunes to it is all i'm saying :p 14:44
timotimo well, i'm not using it any more anyway, so ...
hahainternet well hope kpartx helps when you come to need it, time for me to enjoy my sunday, what's left of it 14:45
ttyl
timotimo have fun!
my day started waking up far too early, checking on the computer, finding the kernel had bugged inside the nvidia driver and the rsync process had stopped; rebooted into memtest and continued to sleep. then i updated the bios and managed to make my system not boot any more until i removed all pci cards ... 14:46
moritz wow, sounds like a fun start 14:47
timotimo this whole ordeal has been Fun 14:48
in the middle of my first attempt to move all this data over (about 10 terabytes) i ran into an "unrecoverable error" reported by the sata drive (that i had just bought two days earlier) 14:49
hahainternet timotimo: spinning disks? small files?
use dd instead of rsync
for a start, dd recovers better with conv=noerror / ddrescue
timotimo can't. the source device is a few terabytes bigger than the target device 14:50
and many of the files are actually big
hahainternet move the big sequentially stored files
resize the source filesystem
dd it
i mean this is just for performance
timotimo i don't think i'm allowed to do that
hahainternet but once you get to 6 figure numbers of small files
timotimo the source disks ain't mine
hahainternet dding becomes significantly faster
ah, damn that is a huge pain
timotimo AFK
15:00 rindolf joined
Geth doc: 4b285812ee | (Jan-Olof Hendig)++ | doc/Programs/01-debugging.pod6
Some minor indentation and formatting cleanups
15:03
15:04 AlexDaniel joined 15:15 faraco joined
faraco p6: say 1..3; 15:15
camelia 1..3
15:20 pilne joined 15:26 dct joined 15:56 cdg joined 16:04 Kaiepi joined 16:08 wamba joined 16:18 dct left 16:35 brrt joined 16:37 damnlie joined 16:45 dct joined 16:54 faraco left 17:02 profan joined 17:10 brrt left 17:14 dct left 17:15 brrt joined 17:19 dct joined 17:22 AlexDaniel left 17:23 coverable6 joined, benchable6 joined 17:27 zakharyas joined 17:39 bisectable6 joined 17:42 brrt left 17:51 khw joined 17:57 dct left 18:05 Kaiepi left 18:06 Kaiepi joined 18:08 hobbs joined, hobbs left, hobbs joined 18:10 zakharyas left 18:17 zakharyas joined, AlexDaniel joined 18:21 zakharyas left 18:22 zakharyas joined 18:26 Ven`` joined 18:34 kerframil joined 18:45 Ven`` left 18:48 ggoebel joined, zakharyas left, Ven`` joined 19:01 Ven`` left 19:04 Ven`` joined 19:16 Ven`` left 19:18 Ven`` joined 19:28 Kaiepi left, Kaiepi joined 19:39 greppable6 joined, andrzejku joined 20:11 vichib joined, klapperl joined 20:15 comborico1611 joined 20:30 ilmari_ joined 20:32 Ven`` left, hobbified joined 20:33 sftp_ joined 20:35 hobbs left, sftp_ is now known as sftp, ilmari_ is now known as ilmari, ilmari left, ilmari joined 20:36 Ven`` joined 20:37 benchable6 left, benchable6 joined 20:38 greppable6 left 20:41 rgrau joined
comborico1611 Some books came in! 20:43
20:49 Ven`` left 20:59 evalable6 joined, ChanServ sets mode: +v evalable6 21:02 salva joined 21:03 timeless joined 21:07 PotatoGim joined, mithaldu_ joined, skaji joined, jnap_ joined, tbrowder joined, cgfbee joined, cgfbee left, PotatoGim left 21:08 PotatoGim joined
[Coke] bah. Trying to use YAMLish for something at work, and load-yaml complains about it but doesn't say why. yamllinter has no problem with it. 21:10
timotimo github.com/Leont/yamlish/pull/12 [Coke], can you try this? 21:11
yamlish definitely has some yaml features it doesn't support
AFK
21:12 cgfbee joined 21:19 andrzejku left
[Coke] tries to find the branch that's from, since the PR isn't clean atm. 21:24
21:25 kerframil left
[Coke] I think I installed it, but it behaves the same as the previous version, so maybe not 21:31
timotimo i'd say just put the checkout in a -I 21:36
21:37 comborico1611 left 21:38 as_ joined
[Coke] does it improve the parse or the error diagnostic? 21:38
timotimo only the error diagnostic 21:39
21:39 |oLa| joined 21:40 as_ left
lizmat hmmm... getting an execution error when trying to upload a distribution to CPAN with "mi6 upload" :-( 21:41
500 Internal Server Error, pause.perl.org/pause/authenquery
timotimo oh, that's not happy 21:42
lizmat indeed... but I've verified that my .pause file has the correct credentials
I think I'll check with Andreas to see what's going on
it's not the password, wrong password gives a 401 21:43
timotimo does authenquery do everything, not just signing in?
maybe something's wrong about the file to be uploaded 21:44
lizmat yeah, apparently
timotimo can you make mi6 output what the server has to say to go along with the 500 status code?
lizmat no debug output in CPAN-Uploader-Tiny 21:46
let's see if I can upload the tarball manualy
manual upload worked 21:47
ok, it did arrive 21:48
21:57 konsolebox joined, rindolf left
lizmat so when will an upload to CPAN of a Perl 6 module be noticed here ? 21:57
or is one of the bots missing ?
buggable New CPAN upload: Sub-Name-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz 21:58
lizmat aaahhh... there it is!
whee! 21:59
22:00 comborico1611 joined
comborico1611 huggable rakudobug 22:03
timotimo which is the most huggable rakudobug? 22:06
huggable: rakudobug
huggable timotimo, Report bugs on github.com/rakudo/rakudo/issues/new If you don't have access to GitHub, you can email your report to [email@hidden.address] . See also: github.com/rakudo/rakudo/wiki/rt-introduction
22:08 kerframil joined
lizmat AlexDaniel: why doesn't buggable generate a link like: modules.perl6.org/dist/Sub::Name:cpan:ELIZABETH ? 22:08
comborico1611 Thanks, timotimo. What is the command?
lizmat calls it a day 22:09
timotimo what command do you mean?
comborico1611 ahh. I see it now. 22:10
Text is too small on my end.
"huggable: rakudobug"
(Now just to remember how to make font bigger . . . ) 22:11
timotimo my terminal accepts ctrl-alt-+ 22:12
comborico1611 I tried that. Using Xchat here. 22:13
Thanks, though!
timotimo try holding shift or maybe ctrl while using the mousewheel
comborico1611 Heh, Yup, tried that, too. 22:15
timotimo in that case, it's probably only possible to change the font including size in the preferences dialog 22:16
*shrug*
comborico1611 Foudn it
You guessed it.
Any preferences for font style and size? 22:17
That you'd liek to recommend?
timotimo i think it's a matter of personal taste & preference
comborico1611 fontAwesome it is. 22:19
lol
Alright, I'm off to supper! Thanks for the help! 22:25
22:25 comborico1611 left 23:04 cdg left 23:05 tusooa joined 23:10 ckraniak joined 23:12 tusooa left 23:15 epony joined
El_Che I asked to rename the perl devroom at FOSDEM from "Perl Programming Language devroom" to "Perl Programming Languages devroom" 23:16
let's see how it turns out
23:16 epony left 23:17 epony joined 23:18 samcv joined 23:23 tusooa joined 23:28 tusooa left 23:32 tusooa joined 23:33 stmuk_ joined 23:35 tusooa left, tusooa joined
ckraniak 2 questions 23:45
In Nativecall, how does one pass a CStruct by value?
And how does one pass an array of CStructs (array containing values, not refs/pointers)? 23:46
timotimo for the latter, please see the NativeHelpers modules in the ecosystem 23:47
buggable: eco NativeHelper
buggable timotimo, Found 3 results: NativeHelpers::CBuffer, NativeHelpers::Blob, NativeHelpers::Array. See modules.perl6.org/s/NativeHelper
timotimo i think one of those does what you want
for the former, i'm pretty sure we can't support returning CStruct by value, but i'm not sure about passing CStruct by value.
ckraniak Let me take a look at that module 23:48
23:49 cdg joined
ckraniak I tried unioning this struct with a uint32 (correct sizeof) and making an array of those 23:49
timotimo in that case you're in luck; you can just nativecast(YourStruct, @buffer[$index]) i think 23:50
ckraniak And the passing struct by Val I declared the signature to have the struct fields and not the struct itself 23:51
timotimo unioning a uint with a struct is problematic, because "has SomeStruct $.blah" makes it a pointer rather than embedded. but perhaps you can "HAS SomeStruct $.blah" and that could work
ckraniak Yes I used HAS
I think the issue is with the pass by value hack I was trying
Specifically I don't think it packs the same way in a function signature as it does a struct 23:52
It doesn't say it segfaults, but it seems to crash on that line 23:53
23:54 cdg left
timotimo if you have valgrind installed, you can try running your code with perl6-valgrind-m 23:54
ckraniak Isnt valgrind is Unix only? 23:55
timotimo yeah, didn't know you're on windows 23:56
ckraniak Yes, this is WriteConsoleOutput I'm trying to hook 23:57
Lemme check Nativehelpers out 23:58