Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-01-07

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 cdg joined #perl6
00:05 cdg joined #perl6
00:06 lizmat Zoffix: yuk, is that the only way to do this?  Feels like we need at least an issue for that ?
00:06 cdg joined #perl6
00:10 entonian joined #perl6
00:12 squashable6 🍕 jnthn++ wrote a comment on commit 50c6fd13f6fb: https://github.com/perl6/doc/commit/50c6fd13f6fb864be32f42b585c16e3d166d2edb#commitcomment-26692712
00:12 squashable6 🍕🍕🍕  First contribution by jnthn++! ♥
00:14 squashable6 🍕 jnthn++ wrote a comment on commit 50c6fd13f6fb: https://github.com/perl6/doc/commit/50c6fd13f6fb864be32f42b585c16e3d166d2edb#commitcomment-26692722
00:16 flatwhite joined #perl6
00:16 SmokeMachine joined #perl6
00:16 parisba joined #perl6
00:17 * lizmat suddenly realizes she forgot to mention the Squashathon in the P6W  :-(
00:17 Geth ¦ doc: b6302802cc | (Zoffix Znet)++ | doc/Language/modules.pod6
00:17 Geth ¦ doc: Revert "Document EXPORT behaviour with precompilation"
00:17 Geth ¦ doc:
00:17 Geth ¦ doc: This reverts commit 50c6fd13f6fb864be32f42b585c16e3d166d2edb.
00:17 Geth ¦ doc: Per https://github.com/perl6/doc/commit/50c6fd13f6fb864be32f42b585c16e3d166d2edb#r26692712
00:17 synopsebot Link: https://doc.perl6.org/language/modules
00:17 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b6302802cc
00:17 tobs joined #perl6
00:17 jkva_ joined #perl6
00:18 squashable6 🍕 zoffixznet++ wrote a comment on commit 50c6fd13f6fb: https://github.com/perl6/doc/commit/50c6fd13f6fb864be32f42b585c16e3d166d2edb#commitcomment-26692760
00:18 rgrau joined #perl6
00:18 Phlogistique joined #perl6
00:43 Zoffix joined #perl6
00:43 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 rakudo-moar 6a6470f9d: OUTPUT: «Could not find symbol '&Bar'␤  in block <unit> at <tmp> line 1␤␤»
00:43 Zoffix How to export class symbols with sub EXPORT?
00:44 Zoffix 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 rakudo-moar 6a6470f9d: OUTPUT: «(Bar)␤»
00:44 Zoffix Seems to work if you don't have any :: in the name... I gotta have ::s
00:44 Zoffix sub EXPORT is an excercise in frustration.
00:48 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 Bar::Ber
00:48 camelia rakudo-moar 6a6470f9d: OUTPUT: «Could not find symbol '&Ber'␤  in block <unit> at <tmp> line 1␤␤»
00:48 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
00:48 camelia rakudo-moar 6a6470f9d: OUTPUT: «(Ber)␤»
00:48 Zoffix It exports it as "Ber" -_- wtf
00:54 Success joined #perl6
00:56 Success when will there be another nonjvm perl 6
00:56 Zoffix Success: you mean other than MoarVM?
00:57 Success thanks zoffix
00:58 GregDonald joined #perl6
01:01 erdic joined #perl6
01:04 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 rakudo-moar 6a6470f9d: OUTPUT: «(Bar)␤»
01:04 Zoffix I guess I'll just use that
01:04 Zoffix left #perl6
01:05 Success where are the rakudo moar binaries
01:16 nativecallable6 joined #perl6
01:16 releasable6 joined #perl6
01:16 statisfiable6 joined #perl6
01:17 unicodable6 joined #perl6
01:17 quotable6 joined #perl6
01:30 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
01:31 Geth ¦ ecosystem: 34cdb9ef7e | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
01:31 Geth ¦ ecosystem: Add Config::JSON to eco
01:31 Geth ¦ ecosystem:
01:31 Geth ¦ ecosystem: "Flat, JSON-backed read-write configuration":
01:31 Geth ¦ ecosystem: https://github.com/zoffixznet/perl6-Config-JSON
01:31 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/34cdb9ef7e
01:31 timotimo https://perl6.org/downloads/ - does this page help?
01:31 timotimo i wonder if we should link to the debian/ubuntu/fedora/... packages from that site
01:32 Success https://rakudo.perl6.org/downloads/star/ doesn't include rakudo-star-2017.07-moar or rakudo-star-2017.07-parrot
01:32 Success also (NO JIT)
01:33 timotimo ah, yes, rakudo star isn't a binary release on linux
01:33 timotimo and parrot hasn't been supported by rakudo for a while now
01:34 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
01:34 timotimo huggable: rpm
01:34 huggable timotimo, CentOS, Debian, Fedora and Ubuntu Rakudo packages: https://github.com/nxadm/rakudo-pkg/releases
01:37 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
01:37 Geth ¦ ecosystem: Add SQL::Lexer (#382)
01:37 Geth ¦ ecosystem:
01:37 Geth ¦ ecosystem: Grammar for basic SQL tokens
01:37 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/c84e5f8d5a
01:37 timotimo ah, ok, then you just need the .tar.gz
01:38 buggable New CPAN upload: Magento-0.0.1.tar.gz by SACOMO https://cpan.metacpan.org/authors/id/S/SA/SACOMO/Perl6/Magento-0.0.1.tar.gz
01:38 Success meh i cloned the git repos. moarvm is finishing up
01:40 Zoffix joined #perl6
01:41 Zoffix Success: MoarVM is the default and preferred VM for Perl 6. 2017.10 and .07 .msi *are* available on https://rakudo.perl6.org/downloads/star/ They just don't have "moar" in their names.
01:42 cdg joined #perl6
01:42 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
01:42 Zoffix Success: FWIW there are mostly-copy-pasteable build instructions here: https://github.com/zoffixznet/r#windows
01:42 timotimo sorry, i didn't realize
01:44 Success it can install to paths with spaces, right?
01:44 Success timotimo, oh i do, but it'd be nice to just have the binary in the meantime :p
01:44 Zoffix Success: good question :) ... I vaguely recall a bug with spaces, but it might have been fixed
01:45 Zoffix huggable: glot.io
01:45 huggable Zoffix, Run Perl 6 in your browser: https://tio.run/nexus/perl6 or https://glot.io
01:45 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 #perl6
01:47 Success oo that site is cool ty
01:48 Success Decoder.c  took forever (moarvm) yikes
01:49 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 Zoffix I've just finished with the module... Something tells me I'm not winning any extra time savings here :)
01:49 Success i love rsync  tbh
01:49 Success haha it'll be worth the overhead :)
01:49 Zoffix Success: weird. MoarVM compiles on my Win10 box in under a minute
01:49 Success also are you on gentoo?
01:50 Zoffix Bodhi Linux
01:50 Success what flags and setup on your win10
01:50 Zoffix huggable: rakudo win
01:50 huggable Zoffix, perl Configure.pl --gen-moar --gen-nqp --backends=moar & gmake & gmake test & gmake install
01:50 Zoffix I just use that
01:50 Zoffix in rakudo (and it builds moarvm)
01:50 Success ah
01:51 Success perl Configure.pl --os win32 --shell win32 --toolchain msvc --compiler cl & nmake
01:51 Success i don't think it's utilizing my intel compiler either :'(
01:52 timotimo huh, i didn't know any of those flags were accepted by Configure.pl
01:52 timotimo and that is why they keep me away from the build system :)
01:53 Zoffix :)
01:55 Zoffix left #perl6
01:56 xcm joined #perl6
02:03 cdg joined #perl6
02:13 samcv m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var>>.join
02:13 camelia rakudo-moar 6a6470f9d: OUTPUT: «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␤␤»
02:13 samcv this error is very much LTA
02:14 samcv m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var.join
02:14 camelia rakudo-moar 6a6470f9d: OUTPUT: «Buf:0x<d5 1d 9f 13 3f 63 a3 4f e8 62>␤213291591963991637923298␤»
02:15 samcv this is okay, but ».join shows that $!reified error which is fairly useless
02:15 giraffe joined #perl6
02:19 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 rakudo-moar 6a6470f9d: OUTPUT: «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)␤»
02:19 samcv this shows the same for each one.
02:20 samcv m: my $var = Buf.new(254.rand.Int xx 10); say $var; say $var».Str; say $var».Int; say $var».join;
02:20 camelia rakudo-moar 6a6470f9d: OUTPUT: «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 #perl6
02:24 Success sory i'm screwing around with intel compiler
02:25 Zoffix joined #perl6
02:25 Zoffix samcv: this needs to be .List not .list: https://github.com/rakudo/rakudo/blob/master/src/core/metaops.pm#L660
02:26 Zoffix I'll fix it in $n minutes, after I make some changes to my script, unless someone beats me to it
02:27 Zoffix oh wait.
02:28 Zoffix m: dd ().Seq.list
02:28 camelia rakudo-moar 6a6470f9d: OUTPUT: «()␤»
02:28 Zoffix never mind :}
02:30 Zoffix Ahh, Buf.list gives a Seq
02:31 Zoffix This boils down to R##1344 which is blocked by R#1355
02:31 synopsebot R#1355 [open]: https://github.com/rakudo/rakudo/issues/1355 +@a/+a slurpies produce inconsistent results
03:05 ilbot3 joined #perl6
03:05 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
03:07 flatwhite joined #perl6
03:47 Zoffix \o/ ZScript's `z vm` command now syncs local changes to remote IP: https://gist.github.com/zoffixznet/2941096749d8b5f819ab3eb0a03ab713
03:48 kyan joined #perl6
03:48 Zoffix Now need to teach it to automatically power on a Google VM and stresstest :)
03:50 Zoffix 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 #perl6
03:52 geekosaur heh
03:52 * geekosaur was mostly wondering whether to alert z/vm coworkers :p
03:57 squashable6 joined #perl6
03:57 bloatable6 joined #perl6
04:01 AlexDaniel squashable6: status
04:01 squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈7 hours. See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day
04:01 squashable6 AlexDaniel, Log and stats: https://gist.github.com/220ac7af2f324a04f62dfcb5d4d6d821
04:04 kyan What's the difference between a Match resulting from calling parse() on a grammar, and a inline Pair like this? https://github.com/masak/xml-writer/blob/master/svg-example#L5
04:04 kyan I'm trying to use XML::Writer to print out the parse tree for a string.
04:05 kyan 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:06 geekosaur a Match is a very different thing. but using .gist doesn't show you the actual Match
04:06 geekosaur ("say" calls .gist for you)
04:06 geekosaur try explicitly using .perl on it to see what it really looks like
04:07 kyan Oh, that looks *very* different, yeah.
04:11 kyan What is the right way to go about getting my parse tree out into XML?
04:11 cdg joined #perl6
04:12 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
04:12 kyan I'm starting with a Match object.
04:13 kyan (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:16 kyan If I run "say $parsed.tree;", it prints out a tree that looks like the XML I'd like to get out.
04:16 kyan e.g. https://gist.github.com/ethus3h/7ce684c7d1311c09473d75d849e589ba
04:19 geekosaur yes, and that's a bunch of nested Match objects instead of an actual XML tree
04:20 geekosaur 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:31 xcm joined #perl6
04:31 tyr0ne4F6V2Q joined #perl6
04:32 araraloren_ joined #perl6
04:48 Cabanossi joined #perl6
04:50 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 #perl6
04:52 shmibs left #perl6
05:01 xcm joined #perl6
05:23 aindilis joined #perl6
05:38 aindilis joined #perl6
06:34 cdg joined #perl6
06:50 ChoHag joined #perl6
07:12 Kaiepi joined #perl6
07:33 zhmylove joined #perl6
07:49 darutoko joined #perl6
07:58 lizmat joined #perl6
08:00 cdg joined #perl6
08:13 xcm joined #perl6
08:17 Zoffix joined #perl6
08:18 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: https://github.com/github/linguist/pull/3977
08:21 rindolf joined #perl6
08:25 TEttinger what about 6lang :P
08:26 moritz there is no 6lang
08:28 buggable New CPAN upload: PDF-Class-0.0.4.tar.gz by WARRINGD https://cpan.metacpan.org/authors/id/W/WA/WARRINGD/Perl6/PDF-Class-0.0.4.tar.gz
08:29 Zoffix Yeah, it was quite unpopular as a proposal.
08:29 * Zoffix still got 6lang.party domain tho :P
08:30 moritz domains are dozen a kilo-dime, or something
08:35 llfourn joined #perl6
08:43 domidumont joined #perl6
08:46 wamba joined #perl6
08:49 domidumont joined #perl6
09:03 xcm joined #perl6
09:14 geospeck joined #perl6
09:17 Actualeyes joined #perl6
09:19 Zoffix m: use QAST:from<NQP>; QAST::Op.new: :op<call>, :name<&die>, QAST::SVal.new: :value<meows>
09:19 camelia rakudo-moar 880dbfaa1: ( no output )
09:19 Zoffix Is there a way to "eval" a QAST tree in HLL to see what it does?
09:20 Zoffix 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:26 xcm left #perl6
09:28 moritz Zoffix: I'm not aware of how it works; you'd have to check how rakudo itself does it
09:28 moritz but you might need a reference to Perl6::World too
09:31 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 rakudo-moar 880dbfaa1: OUTPUT: «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␤␤»
09:31 Zoffix moritz++ thanks
09:42 wamba joined #perl6
09:42 dct joined #perl6
10:22 setty1 joined #perl6
10:23 andrzejku joined #perl6
10:31 labster1 joined #perl6
10:33 pmurias joined #perl6
10:35 espadrine joined #perl6
11:53 Zoffix left #perl6
12:02 reportable6 joined #perl6
12:08 lizmat joined #perl6
12:12 cdg joined #perl6
12:13 AlexDaniel squashable6: status
12:13 squashable6 AlexDaniel, Next SQUASHathon in 25 days and ≈21 hours (2018-02-03 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day
12:14 AlexDaniel squashable6: status 2018-02-02
12:14 squashable6 AlexDaniel, Invalid date format
12:14 AlexDaniel is it?
12:14 AlexDaniel squashable6: status 2018-01-02
12:14 squashable6 AlexDaniel, Invalid date format
12:14 AlexDaniel squashable6: log 2018-01-02
12:14 squashable6 AlexDaniel, Invalid date format
12:16 AlexDaniel squashable6: log 2017-12-02
12:16 squashable6 AlexDaniel, Log and stats: https://gist.github.com/b75e8280ee1984e3ce01072d70965f17
12:17 AlexDaniel squashable6: log 2017-12-06
12:17 squashable6 AlexDaniel, Invalid date format
12:18 AlexDaniel squashable6: log 2018-01-06
12:18 squashable6 AlexDaniel, Log and stats: https://gist.github.com/5e9e3c83cd360c1dd8a63da6da59265a
12:18 AlexDaniel I need to wake up…
12:20 markong joined #perl6
13:03 mscha joined #perl6
13:03 mscha m: my @a = <a b c d>; @a[1..2] = <p q>; say @a; # this is fine
13:03 camelia rakudo-moar 880dbfaa1: OUTPUT: «[a p q d]␤»
13:03 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?
13:03 camelia rakudo-moar 880dbfaa1: OUTPUT: «Cannot modify an immutable Str (f)␤  in block <unit> at <tmp> line 1␤␤»
13:04 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 rakudo-moar 880dbfaa1: OUTPUT: «[[a b c d] [e w x h] [i y z l] [m n o p]]␤»
13:29 rindolf joined #perl6
13:30 lizmat mscha: yup,. <> creates Lists, [] creates mutable arrays
13:51 espadrine joined #perl6
14:00 konsolebox joined #perl6
14:17 ilogger2 joined #perl6
14:27 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 timotimo gparted sees the partitions i'm looking for, though
14:28 DrForr linkbait://theperlfisher.blogspot.ro/2018/01/tree-surgery.html
14:31 timotimo ah, partprobe helped. you just gotta give it the devices, too
14:36 eliasr joined #perl6
14:37 committable6 joined #perl6
14:39 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 hahainternet depends on how you've set things up
14:39 timotimo i have not heard of that
14:39 hahainternet i use it for storing vm disks inside a single lv
14:39 hahainternet without having to bother with anything special
14:39 hahainternet but yeah, it works with anything that has partition tables and can use mapper
14:40 timotimo what limitation does partprobe have that this can solve?
14:40 hahainternet partprobe just rescans the scsi bus
14:40 hahainternet kpartx gives access to embedded partitions
14:40 hahainternet well, i guess partprobe rescans all storage buses or whatever, i don't know the specifics
14:40 timotimo ah, so with kpartx i wouldn't have had to pass the dev paths
14:41 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 hahainternet but if you ever have a filesystem in a block device, and want to access a partition
14:41 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
14:41 hahainternet use lvm thin partitioning
14:41 timotimo likely because it spread individual files out over multiple disks
14:41 hahainternet yes if you set up a zpool
14:41 timotimo yeah
14:42 hahainternet lvm is just effectively jbod, with thin provisioning now
14:42 hahainternet zfs is millions of dollars of research, but is owned by a predatory company, so i avoid it :(
14:42 timotimo at least zfsonlinux isn't owned by those terrible people
14:43 hahainternet it is, Oracle sued in the US to claim ownership of the organisation of an API
14:43 hahainternet and won
14:43 hahainternet so i would not think open source code makes any real difference
14:43 hahainternet Google only got away through fair use
14:44 hahainternet 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 ...
14:45 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 hahainternet ttyl
14:45 timotimo have fun!
14:46 timotimo 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:47 moritz wow, sounds like a fun start
14:48 timotimo this whole ordeal has been Fun
14:49 timotimo 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?
14:49 hahainternet use dd instead of rsync
14:49 hahainternet for a start, dd recovers better with conv=noerror / ddrescue
14:50 timotimo can't. the source device is a few terabytes bigger than the target device
14:50 timotimo and many of the files are actually big
14:50 hahainternet move the big sequentially stored files
14:50 hahainternet resize the source filesystem
14:50 hahainternet dd it
14:50 hahainternet i mean this is just for performance
14:50 timotimo i don't think i'm allowed to do that
14:50 hahainternet but once you get to 6 figure numbers of small files
14:50 timotimo the source disks ain't mine
14:50 hahainternet dding becomes significantly faster
14:50 hahainternet ah, damn that is a huge pain
14:50 timotimo AFK
15:00 rindolf joined #perl6
15:03 Geth ¦ doc: 4b285812ee | (Jan-Olof Hendig)++ | doc/Programs/01-debugging.pod6
15:03 Geth ¦ doc: Some minor indentation and formatting cleanups
15:03 Geth ¦ doc: review: https://github.com/perl6/doc/commit/4b285812ee
15:04 AlexDaniel joined #perl6
15:15 faraco joined #perl6
15:15 faraco p6: say 1..3;
15:15 camelia rakudo-moar 880dbfaa1: OUTPUT: «1..3␤»
15:20 pilne joined #perl6
15:26 dct joined #perl6
15:56 cdg joined #perl6
16:04 Kaiepi joined #perl6
16:08 wamba joined #perl6
16:35 brrt joined #perl6
16:37 damnlie joined #perl6
16:45 dct joined #perl6
17:02 profan joined #perl6
17:15 brrt joined #perl6
17:19 dct joined #perl6
17:23 coverable6 joined #perl6
17:23 benchable6 joined #perl6
17:27 zakharyas joined #perl6
17:39 bisectable6 joined #perl6
17:51 khw joined #perl6
18:06 Kaiepi joined #perl6
18:08 hobbs joined #perl6
18:08 hobbs joined #perl6
18:17 zakharyas joined #perl6
18:17 AlexDaniel joined #perl6
18:22 zakharyas joined #perl6
18:26 Ven`` joined #perl6
18:34 kerframil joined #perl6
18:48 ggoebel joined #perl6
18:48 Ven`` joined #perl6
19:04 Ven`` joined #perl6
19:18 Ven`` joined #perl6
19:28 Kaiepi joined #perl6
19:39 greppable6 joined #perl6
19:39 andrzejku joined #perl6
20:11 vichib joined #perl6
20:11 klapperl joined #perl6
20:15 comborico1611 joined #perl6
20:30 ilmari_ joined #perl6
20:32 hobbified joined #perl6
20:33 sftp_ joined #perl6
20:35 ilmari joined #perl6
20:36 Ven`` joined #perl6
20:37 benchable6 joined #perl6
20:41 rgrau joined #perl6
20:43 comborico1611 Some books came in!
20:59 evalable6 joined #perl6
21:02 salva joined #perl6
21:03 timeless joined #perl6
21:07 PotatoGim joined #perl6
21:07 mithaldu_ joined #perl6
21:07 skaji joined #perl6
21:07 jnap_ joined #perl6
21:07 tbrowder joined #perl6
21:07 cgfbee joined #perl6
21:08 PotatoGim joined #perl6
21:10 [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:11 timotimo https://github.com/Leont/yamlish/pull/12 [Coke], can you try this?
21:11 timotimo yamlish definitely has some yaml features it doesn't support
21:11 timotimo AFK
21:12 cgfbee joined #perl6
21:24 * [Coke] tries to find the branch that's from, since the PR isn't clean atm.
21:31 [Coke] I think I installed it, but it behaves the same as the previous version, so maybe not
21:36 timotimo i'd say just put the checkout in a -I
21:38 as_ joined #perl6
21:38 [Coke] does it improve the parse or the error diagnostic?
21:39 timotimo only the error diagnostic
21:39 |oLa| joined #perl6
21:41 lizmat hmmm... getting an execution error when trying to upload a distribution to CPAN with "mi6 upload"  :-(
21:41 lizmat 500 Internal Server Error, https://pause.perl.org/pause/authenquery
21:42 timotimo oh, that's not happy
21:42 lizmat indeed... but I've verified that my .pause file has the correct credentials
21:42 lizmat I think I'll check with Andreas to see what's going on
21:43 lizmat it's not the password, wrong password gives a 401
21:43 timotimo does authenquery do everything, not just signing in?
21:44 timotimo maybe something's wrong about the file to be uploaded
21:44 lizmat yeah, apparently
21:44 timotimo can you make mi6 output what the server has to say to go along with the 500 status code?
21:46 lizmat no debug output in CPAN-Uploader-Tiny
21:46 lizmat let's see if I can upload the tarball manualy
21:47 lizmat manual upload worked
21:48 lizmat ok, it did arrive
21:57 konsolebox joined #perl6
21:57 lizmat so when will an upload to CPAN of a Perl 6 module be noticed here ?
21:57 lizmat or is one of the bots missing ?
21:58 buggable New CPAN upload: Sub-Name-0.0.1.tar.gz by ELIZABETH https://cpan.metacpan.org/authors/id/E/EL/ELIZABETH/Perl6/Sub-Name-0.0.1.tar.gz
21:58 lizmat aaahhh... there it is!
21:59 lizmat whee!
22:00 comborico1611 joined #perl6
22:03 comborico1611 huggable rakudobug
22:06 timotimo which is the most huggable rakudobug?
22:06 timotimo huggable: rakudobug
22:06 huggable timotimo, Report bugs on https://github.com/rakudo/rakudo/issues/new    If you don't have access to GitHub, you can email your report to rakudobug@perl.org . See also: https://github.com/rakudo/rakudo/wiki/rt-introduction
22:08 kerframil joined #perl6
22:08 lizmat AlexDaniel: why doesn't buggable generate a link like: http://modules.perl6.org/dist/Sub::Name:cpan:ELIZABETH ?
22:08 comborico1611 Thanks, timotimo. What is the command?
22:09 * lizmat calls it a day
22:09 timotimo what command do you mean?
22:10 comborico1611 ahh.  I see it now.
22:10 comborico1611 Text is too small on my end.
22:10 comborico1611 "huggable: rakudobug"
22:11 comborico1611 (Now just to remember how to make font bigger . . . )
22:12 timotimo my terminal accepts ctrl-alt-+
22:13 comborico1611 I tried that.  Using Xchat here.
22:13 comborico1611 Thanks, though!
22:13 timotimo try holding shift or maybe ctrl while using the mousewheel
22:15 comborico1611 Heh, Yup, tried that, too.
22:16 timotimo in that case, it's probably only possible to change the font including size in the preferences dialog
22:16 timotimo *shrug*
22:16 comborico1611 Foudn it
22:16 comborico1611 You guessed it.
22:17 comborico1611 Any preferences for font style and size?
22:17 comborico1611 That you'd liek to recommend?
22:17 timotimo i think it's a matter of personal taste & preference
22:19 comborico1611 fontAwesome it is.
22:19 comborico1611 lol
22:25 comborico1611 Alright, I'm off to supper!  Thanks for the help!
23:05 tusooa joined #perl6
23:10 ckraniak joined #perl6
23:15 epony joined #perl6
23:16 El_Che I asked to rename the perl devroom at FOSDEM from "Perl Programming Language devroom" to "Perl Programming Languages devroom"
23:16 El_Che let's see how it turns out
23:17 epony joined #perl6
23:18 samcv joined #perl6
23:23 tusooa joined #perl6
23:32 tusooa joined #perl6
23:33 stmuk_ joined #perl6
23:35 tusooa joined #perl6
23:45 ckraniak 2 questions
23:45 ckraniak In Nativecall, how does one pass a CStruct by value?
23:46 ckraniak And how does one pass an array of CStructs (array containing values, not refs/pointers)?
23:47 timotimo for the latter, please see the NativeHelpers modules in the ecosystem
23:47 timotimo buggable: eco NativeHelper
23:47 buggable timotimo, Found 3 results: NativeHelpers::CBuffer, NativeHelpers::Blob, NativeHelpers::Array. See https://modules.perl6.org/s/NativeHelper
23:47 timotimo i think one of those does what you want
23:47 timotimo 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.
23:48 ckraniak Let me take a look at that module
23:49 cdg joined #perl6
23:49 ckraniak I tried unioning this struct with a uint32 (correct sizeof) and making an array of those
23:50 timotimo in that case you're in luck; you can just nativecast(YourStruct, @buffer[$index]) i think
23:51 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
23:51 ckraniak Yes I used HAS
23:51 ckraniak I think the issue is with the pass by value hack I was trying
23:52 ckraniak Specifically I don't think it packs the same way in a function signature as it does a struct
23:53 ckraniak It doesn't say it segfaults, but it seems to crash on that line
23:54 timotimo if you have valgrind installed, you can try running your code with perl6-valgrind-m
23:55 ckraniak Isnt valgrind is Unix only?
23:56 timotimo yeah, didn't know you're on windows
23:57 ckraniak Yes, this is WriteConsoleOutput I'm trying to hook
23:58 ckraniak Lemme check Nativehelpers out

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo