»ö« 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:00 BenGoldberg left 00:04 troys_ is now known as troys 00:05 Cabanossi left 00:07 Cabanossi joined 00:23 lookatme joined
lookatme morning 00:23
eveo looking
lookatme (。・ˍ・。) 00:24
eveo .tell zengargoyle your module issue is now fixed
yoleaux eveo: I'll pass your message to zengargoyle.
eveo huggable: donate 00:25
huggable eveo, We invite you to make a donation to The Perl Foundation to sponsor Perl 6 development: donate.perlfoundation.org/
eveo ;)
00:25 eveo left 00:26 kyan joined 00:31 raschipi joined 00:41 sammers left 00:44 mcmillhj joined 00:48 mcmillhj left 00:49 sacomo joined 00:51 raschipi left 00:52 geekosaur left 00:53 geekosaur joined 00:57 araujo left 01:02 Actualeyes joined 01:04 Cabanossi left 01:07 Cabanossi joined 01:18 aborazmeh joined, aborazmeh left, aborazmeh joined 01:29 mcmillhj joined 01:33 mcmillhj left 01:45 ilbot3 left 01:48 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:49 mcmillhj joined 01:53 mcmillhj left 01:55 colomon joined 02:04 troys is now known as troys_ 02:05 Cabanossi left 02:07 Cabanossi joined 02:12 mcmillhj joined 02:17 mcmillhj left 02:30 troys_ is now known as troys 02:33 noganex joined 02:35 Cabanossi left, AlexDaniel left 02:36 pilne left, noganex_ left 02:37 Cabanossi joined 02:39 colomon left
llfourn I can't travel to the US and do my TPC talk on my Perl 6 project :'( 😢 02:43
The DHS has denied my ESTA application because I went backpacking in Iran for two weeks in 2013 02:44
sad sad times.
03:01 kurahaupo joined 03:02 kurahaupo_ left
lookatme :\ 03:02
03:08 kurahaupo left, kurahaupo joined 03:09 kurahaupo_ joined, kurahaupo_ left, kurahaupo_ joined 03:10 kurahaupo left 03:11 kurahaupo joined, kurahaupo left, kurahaupo_ left 03:15 cyphase left 03:35 cyphase joined 03:38 cyphase left 03:39 cyphase joined 03:41 BenGoldberg joined 03:49 Cabanossi left 03:51 Cabanossi joined 04:02 raiph left 04:21 cyphase left 04:26 keylet_ left, cyphase joined 04:27 keylet left 04:29 cyphase left 04:30 cyphase joined 04:33 kurahaupo joined 04:35 BenGoldberg left 04:42 aborazmeh left 04:44 curan joined 04:49 Cabanossi left 04:51 Cabanossi joined 04:58 wamba joined 05:00 troys left 05:33 Cabanossi left 05:36 Cabanossi joined 05:41 xtreak joined 05:43 ChoHag left 05:44 ChoHag joined 05:52 AndroUser2 joined 05:59 domidumont joined
samcv :( 06:03
06:04 domidumont left 06:05 domidumont joined
llfourn applies to talk to TPC-EU instead 06:10
samcv not sure if i'm going to go to TPC-EU and give a talk. never given a talk before though :P 06:11
a little nervous
llfourn samcv: I think today is the last day of proposals 06:15
samcv is it? 06:16
who do i talk to
llfourn act.perlconference.org/tpc-2017-amsterdam/
description: act.perlconference.org/tpc-2017-ams...apers.html 06:17
do it! :)
06:17 xtreak left 06:18 xtreak joined
samcv :) i should heh 06:18
thing is what to talk about. and make it interesting and useful for programmings. cause i could ramble for a long time about random unicode things that people may not care about :P 06:19
06:19 xtreak left 06:20 xtreak joined, domidumont left
llfourn samcv: I think I low level MoarVM strings thing would be cool 06:21
how to match the fast while keeping the encoding-less representation 06:22
or however it works (I don't even know that's why I'm interested :P)
how to do matches fast* 06:23
samcv like regex? 06:24
llfourn yeah like how are strings represented in MoarVM and what are the challenges of doing matching/searching etc 06:25
samcv yeah would be cool to talk about the improvements i did to regex with unicode. ignorecase and ignorecase+ignoremark as well :)
llfourn yeah!
samcv i keep thinking i'm not doing that much. then occasionally remember that i've done very important things :| 06:26
feels like i've done less until i actually write it all down and read it lol
llfourn would be good to hear about them seeing as we don't see them as high level language constructs 06:27
samcv yeah
06:27 vendethiel left
samcv cool. yeah i'm not sure exactly what is interesting to people :P i know it was interesting to me at least heh. 06:27
llfourn samcv: as a user of perl6 I wonder about immutablility of strings as well 06:31
samcv they are immutable on the MoarVM level 06:32
llfourn so if I do "foo".substr(1) does that create a new string "oo" in memory or just give me a view of the original string
samcv when you change a my Str $stringy = 'hi'; $stringy = 'foo'; you're just setting a different string to be stored in the scalar
it creates a new string 06:33
llfourn ah ok
samcv almost certain at least… don't remember something super fancy like having strings inside other strings :P
06:33 Cabanossi left
samcv let me check :P 06:34
llfourn I would have guessed that it creates a new one but since they're immutable I thought there could be some optimization that just gives you a high level view of a section of the same bit of memory
are strings even stored in contiguous memory? 06:35
samcv there are things called strands, basically strings get based up of multiple substrings, chained together
lookatme Will there has something like Copy-on-Write ? 06:36
06:36 Cabanossi joined
samcv one thing for optimization that is planned idk when. but to be able to search throug hstrings without folding the strands but right now it folds them before it does regex on it 06:36
llfourn mm these types of things would be really interesting to me in a talk 06:37
(not that I speak for everything)
everyone*
samcv at actually
subst doesn't make a new string
it makes a strand
llfourn do you mena substr? 06:38
samcv yep
llfourn ah k cool
samcv so it's a view of the other string
llfourn ahh awesome
samcv also uh there's optimizations when you do repititions too 06:39
llfourn because I use it in my grammar while parsing to make a .substr of the .orig often and if it were copying memory it would be terrible but it seems ok
samcv if you try and substr a repitition it collapses the strands coping them
*copying
yeah i'm sure hah
idk did i do a blog about my change to case insensitive regex. i think i did 06:40
well. actually non-case insensitive too. i changed that to use memmem which has string search algorithms and sped it up a lot
case insensitive doesn't have that since it's can't just search for one section of memory (needle) inside another (haystack) 06:41
llfourn I was wondering about that -- if we use musl libc instead of glibc could that be bad?
samcv oh yeah i did one about case insensitive optimizations i did cry.nu/perl6/indexing-unicode-things/
llfourn for performance in those cases
samcv well. hm 06:42
windows and mac we use freebsd's memmem
llfourn (I am right now building minimal rakudo on alpine linux)
samcv theirs looks like freebsd's memmem
github.com/esmil/musl/blob/master/...g/memmem.c 06:43
and looks like it's compatible with glibc's way of sourcing it
with _GNU_SOURCE
with glibc you have to define _GNU_SOURCE to be able to use memmem because it's not standard. though. i don't like that flag because freebsd libc also has memmem too..
06:44 AndroUser2 left
samcv glibc is kind of pretends they're the only libc that exists 06:44
at times
Xliff samcv++ 06:45
Too true.
And I find this interesting, as well.
samcv gonna compare musl's memmem.c to the freebd one we include
gonna add this to my bulletpoints i'm making for talk :P
are you going to be at the EU conf?
llfourn samcv++ nice. Thanks.
06:55 domidumont joined
nebuchadnezzar \o/ I found the blog posts about distribution I was looking for: ugexe.com/perl6-distribution-though...proposals/ and ugexe.com/how-zef-perl6-package-manager-works/ 07:20
07:26 parv joined 07:30 nadim_ joined, ufobat joined 07:33 BrassLantern joined 07:34 Cabanossi left 07:36 Cabanossi joined
samcv llfourn, can you try installing this github.com/samcv/perl6-Font-QueryInfo before i publish it to ecosystem in a few minutes 07:36
want to make sure it passes all tests on another system
llfourn samcv: rgr 07:37
07:37 BrassLantern left
llfourn I found out recently that there's no support for color emojis on Linux distros :( 07:38
samcv it works for me in QupZilla 07:39
07:39 sivoais left
llfourn ah is that the mozilla thing? 07:39
samcv nope
07:39 dakkar joined
samcv it's my preferred browser now. light weight but has all the features i need 07:40
llfourn ah it's a browser -- yeah I mean like in my terminal
lookatme `PERL6LIB=lib prove --exec=perl6 t/` : PASS on fedora 25
llfourn like gnome terminal or whatever
samcv even has greasemonkey. it uses qtwebengine for rendering
07:40 sivoais joined
samcv but is a ton less heavy than chromium since the codebase is way smaller 07:40
all videos play. even supports netflix
llfourn samcv: all tests pass and installed fine
samcv i just discovered it recently
cool :)
has adblock too
llfourn samcv: that sounds pretty handy
samcv yeah. install it and give it a whirl. in the settings there's extensions you can enable. 07:41
it's the only non-standard browser which has all the features i need and is light weight. looks great
adblock. greasemonkey scripts for a few sites i have. uhm. even has a tree tab manager you can enable. 07:42
llfourn samcv: it has its own JS engine?
samcv it uses chromium's backend. but only certain parts. like the js engine and such 07:43
llfourn cool
samcv i'm super impressed with it. was 5x better than i had hoped :)
you installing it?
what distro do you have 07:44
llfourn I will install it on my linux-mint laptop :)
right now on my imac
07:51 fatguy joined 07:54 AndroUser2 joined 08:02 jonas2 joined 08:04 wamba left, Cabanossi left 08:06 Cabanossi joined 08:12 AndroUser2 left, AndroUser2 joined 08:21 nattefrost joined 08:22 ufobat left 08:24 rindolf joined 08:25 nadim_ left, cognominal left, nadim_ joined
parv llfourn, samcv: when you installed qupzilla, was it still built with dbus? 08:29
llfourn parv: I've yet to install it :) 08:30
parv freebsd package is compiled by default with dbus. I currently have no qt[45] which qz will pull in.
llfourn: oh! sorry to bother you then.
08:31 titsuki left 08:34 robertle_ joined
samcv parv, yeah it requires qt5 because it uses qtwebengine as a backend. you don't have qt5? 08:42
parv samcv: i have no qt of any vintage yet. (FreeBSD has the packages & ports for bith qt4 & qt5) 08:43
s/both/bith/
nope, nope. that's not how that works! (BAKA!) 08:44
08:45 geekosaur left 08:46 geekosaur joined 08:51 ChoHag left 08:52 kurahaupo_ joined 08:53 lowbro joined, lowbro left, lowbro joined 08:54 zacts left 08:55 kurahaupo left 09:00 fatguy left 09:02 wamba joined 09:05 nadim_ left 09:11 zacts joined, ufobat joined 09:12 Cabanossi left, Cabanossi joined 09:13 ufobat left 09:15 xtreak left, xtreak joined 09:18 nadim_ joined 09:19 xtreak left, bugbug joined, xtreak joined 09:20 zakharyas joined 09:33 AndroUser2 left, lookatme left 09:35 |oLa| joined 09:39 parv left, ChoHag joined
Geth ecosystem: samcv++ created pull request #347:
Add Font::QueryInfo
09:42
09:44 wamba left 09:46 nadim_ left, xtreak left 09:47 nadim_ joined 10:06 xtreak joined
zengargoyle zomg! blog.plover.com/math/telugu.html 10:07
yoleaux 00:24Z <eveo> zengargoyle: your module issue is now fixed
zengargoyle Base-4 fractions in Telugu 10:08
.tell eveo yay, thanks much. 10:09
yoleaux zengargoyle: I'll pass your message to eveo.
Geth ecosystem: a17052d375 | (Samantha McVey)++ | META.list
Add Font::QueryInfo
10:13
ecosystem: 11f66d6d1a | Altai-man++ (committed using GitHub Web editor) | META.list
Merge pull request #347 from samcv/Font-QueryInfo

Add Font::QueryInfo
llfourn samcv: is it possible to use that to tell if the font supports color emojis? 10:15
or to tell which emojis it supports
m: say "\c[SQUID]" # for example
camelia 🦑 10:16
10:17 wamba joined
samcv llfourn, idk 10:25
llfourn samcv: kay :) 10:26
samcv llfourn, do you have Noto Color Emoji instaled? 10:27
10:27 wamba left
llfourn samcv: I'm using OS X for now 10:27
samcv ah 10:28
does OS X have fc-scan
llfourn yup
10:29 zakharyas left
llfourn I suppose the best way is just to check the platform and guess 10:30
given that linux doesn't support color emojis in any terminals yet
10:32 TEttinger left
llfourn ah no someone seems to have got Noto Color emoji working on arch: github.com/googlei18n/noto-emoji/issues/36 10:36
samcv u: butterfly
unicodable6 samcv, U+1F98B BUTTERFLY [So] (🦋)
samcv works for me in qupzilla
i'm not on arch. but I have Noto Color Emoji installed 10:37
doesn't work in my irc program but works there
llfourn yeah I'm interested in terminal emulators only pretty much
samcv ah 10:40
zengargoyle wonders if there's an atom based terminal yet. :) 10:44
10:45 notbenh left
llfourn zengargoyle: does atom support emoji? 10:45
(color emoji builtin is what I mean)
zengargoyle i thought atom was basically a web browser that's been turned into a node application wrapper. seems likely that it would support anything any other web browser does. 10:46
10:47 notbenh joined
llfourn I think it's based on electron which is node but I dunno if it has chrome components in it 10:47
zengargoyle hasn't tried anything atom based. just idly pondering.
yeah probably meant electron, atom is just the editor right? 10:49
llfourn electron is some way of building graphical things in node I think
zengargoyle i think the graphics part is that it's basically just a browser engine (chromium or webkit or something) doing the rendering. and full blown node instead of just a js interpreter. 10:51
10:52 cyphase left
rightfold m: my $걸 = 1 10:52
camelia ( no output )
llfourn zengargoyle: sounds probable
rightfold m: my $يتي = 1
camelia ( no output )
zengargoyle if they can make an editor, somebody might eventually write a terminal. (my thinking)
rightfold m: my $i-am-dutch = „Hallo, wereld!” 10:53
camelia ( no output )
llfourn zengargoyle: hyper.is/ # this? 10:54
rightfold m: my $i-am-french = «Bonjour, le monde !»
camelia ( no output )
rightfold m: my $i-am-french = «Bonjour, le monde !»; $i-am-french.perl.say 10:55
camelia $("Bonjour,", "le", "monde", "!")
rightfold >:(
llfourn zengargoyle: I'll check if it does emojis on linux. Thanks for imagining it into existence.
10:57 cyphase joined 11:00 zakharyas joined
zengargoyle bah, b/w emoji (at least from cut-n-paste from browser). 11:00
llfourn :( 11:01
maybe there's a way of changing it's font?
zengargoyle maybe a plugin or something, yeah, or config.
llfourn zengargoyle: hyper.is/
check it out 11:02
"fontFamily"
11:03 wamba joined 11:08 gregf_ joined 11:18 aborazmeh joined, aborazmeh left, aborazmeh joined 11:23 xtreak left 11:25 aborazmeh left 11:30 aborazmeh joined, aborazmeh left, aborazmeh joined 11:31 pmurias joined
pmurias zengargoyle: electron is the node.js+displaying-stuff-on-chrome that atom uses 11:32
pmurias needs to try using rakudo.js with electron
11:34 Ven joined
Ven o/ 11:35
yoleaux 18 Mar 2017 14:31Z <IOninja> Ven: the contributors tool uses "ven" for, I assume, you. Probably needs more fields for you in the CREDITS file, unless you wanted to go as ven?
11:35 Ven is now known as Guest35387
Guest35387 well, the bigger issue is that I had 3s after login to get this message... 11:35
11:35 Guest35387 is now known as Ven``
pmurias \o 11:35
Ven`` .tell IOninja that's "weird", I assumed it'd use vendethiel, my github nickname? 11:36
yoleaux Ven``: I'll pass your message to IOninja.
Ven`` pmurias: amazing work on the JS backend :D.
11:36 dakkar left
Ven`` I recently realized you worked on some common lisp backend ~5 years ago? 11:36
I think it was on niecza 11:37
pmurias yes, it was a project for uni for our common lisp class ;) 11:38
Ven`` you had a common lisp class? sounds cool. seems like it didn't survive afterwards? 11:39
.oO( clearly we should bring method combinations to Perl 6 )
pmurias Ven``: the class sucked pretty badly from what I remember, students where presenting stuff about common lisp and there where presentations like "here are all the maths functions" 11:41
11:41 Cabanossi left
Ven`` pmurias: Ah. That's too bad, I think it could really be interesting... 11:41
trying to get my school to add a lisp class sounds like a challenge. 11:42
11:44 Cabanossi joined
pmurias Ven``: the common lisp backend as far as I remember was pretty fast for some things, but the whole common lisp ecosystem/libraries didn't seem that interesting for Perl 6 to integrate with 11:48
11:49 dakkar joined
Ven`` oh, no, I understand what you mean. a lot of it is cffi... it's just a "woo lisp" stupid feeling :-) 11:49
pmurias hopefully we will be able to mix closurescript with perl 6 soon 11:54
11:55 zakharyas left
zengargoyle i think modules.perl6.org/todo/zengargoyle is going a bit wonky. i made sure to put tags in META and add a MANIFEST file over the past few days. my modules dissapear from the todo page, then re-appear with the "dist has no MANIFEST" warning. they most certainly do have a MANIFEST. the 'view build log' doesn't give any clue. it's just like on one run they pass clean and the next they get a 11:55
warning.
Ven`` pmurias: I'm really interested in getting to use the nice cljs libs (react-like stuff and others) in p6 11:59
Xliff m: '$_.map({ $_.meta<provides>.keys.say }) if $_ ~~ Seq for $*REPO.repo-chain.grep(CompUnit::Repository::Installable)>>.installed
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in single quotes; couldn't find final "'"
at <tmp>:1
------> 3it::Repository::Installable)>>.installed7⏏5<EOL>
expecting any of:
single quotes
Xliff m: $_.map({ $_.meta<provides>.keys.say }) if $_ ~~ Seq for $*REPO.repo-chain.grep(CompUnit::Repository::Installable)>>.installed 12:00
camelia (Inline::Perl5)
(Pod::To::Text NativeCall::Types experimental newline NativeCall::Compiler::GNU NativeCall::Compiler::MSVC NativeCall CompUnit::Repository::Staging Test)
Xliff YES!
Ven`` I mean, I guess you can somewhat interface P6 with clojure itself via the jvm (... and common lisp via ABCL), but I know a lot of people waiting for p6 in the browser
Xliff Will Qupzilla install for Debian? 12:05
Answer: YES! 12:07
"OpenGL Warning: glXCreatePbuffer not implemented by Chromium" -- SOB! 12:08
I will have to dual boot to the Debian side instead of using the VM
eater m: $*OUT.encoding: Nil; 12:18
camelia ( no output )
eater bisect: $*OUT.encoding: Nil;
12:18 lowbro left 12:20 colomon joined, bisectable6 left
eater :( 12:21
did I break it
lizmat naughty naughty :-)
samcv is there a way to create non string value keys with the %( ) 12:22
:%( ) and %:( ) don't work. i want :{ } except with %( ) syntax
jnthn samcv: No
samcv should there be?
jnthn Why not use :{ ... }
% is a conextalizer, not a hash literal 12:23
It's primary purpose is for turning something else into a hash, not as a way of writing one
samcv i know. well %( ) is better than { } since it won't accidently create a block. so i was wondering if there was something like %( ) but would allow non string keys
timotimo Hash[Any,Any].new(...) maybe? 12:24
jnthn Does :{...} ever fall back to creating a block?
timotimo i don't think it can, though
m: say :{ $_ }
camelia -> ;; $_? is raw { #`(Block|48337688) ... }
timotimo well, i'm wrong :) 12:25
samcv yep
llfourn learns that :{ ... } is a thing
lizmat m: dd :{} 12:26
camelia :{}
lizmat hmmm
samcv %( ) is the safest way to make a hash imo
Ven`` pmurias: github.com/perl6/nqp/compare/cabe4...921d11R225 12:27
lizmat fwiw, I'm not sure :{} is such a good thing to have. It overloads : with YAT
samcv i would be inclined to agree 12:28
m: " { 'abc' => '123' } ".EVAL.say
12:28 paule32 left
camelia Resource temporarily unavailable 12:28
samcv evalable6, " { 'abc' => '123' } ".EVAL.say 12:29
[Coke] 265 open doc issues
samcv m: " { 'abc' => '123' } ".EVAL.say # OUTPUT Undeclared routine:
abc used
camelia 5===SORRY!5=== Error while compiling /home/camelia/EVAL_0
Undeclared routine:
abc used at line 1. Did you mean 'abs'?
samcv heh
m: " %( 'abc' => '123' ) ".EVAL.say 12:30
camelia {abc => 123}
samcv this works fine
%( ) is obviously superior :)
12:30 lowbro joined 12:31 lowbro left, lowbro joined
samcv oh. my bad. interpolation 12:31
but also it's still better :P
i need to go to bed...
12:32 evalable6 left, paule32 joined
samcv also { } is slower than %( ) 12:33
Geth doc: e36f5aae61 | (Jan-Olof Hendig)++ | xt/code.pws
Added missing words

Fixes #1375
samcv by a tiny bit
15% slower using EVAL
[Coke] dogbert17++
samcv night everyone! bed & 12:34
Xliff Ah. Upgrading debian can be such fun. 12:35
12:37 xtreak joined
timotimo nuke it from orbit, build it fresh 12:41
12:46 xtreak left
perlawhirl m: my $a=DateTime.now;my $b=DateTime.new('2012-02-29T12:34:56Z');my $c=DateTime.new('2012-02-29T12:34:56.789Z');($a,$b,$c).map(*.second.^name).say 12:47
camelia (Num Int Rat)
12:47 xtreak joined
perlawhirl I know there's *.whole-second.... but that seems wrong 12:47
tyil Xliff: just switch to gentoo 12:50
12:52 araraloren joined
araraloren evening 12:52
12:53 xtreak left
Xliff timotimo: Why do you h8 me? ;p 12:54
til: You too! :P
s/til/tyil/
And that... means bedtime for me
tyil gentoo is less pain than debian :>
Xliff Hrm.
Mebbe.
But I think my problems stems more from VirtualBox than debian.
tyil oh
Xliff yah
tyil use qemu
;) 12:55
Xliff :P
12:55 mcmillhj joined
Xliff <whine>But I have mostly tamed this Debian....</whine> 12:55
timotimo memories of revdep rebuild
Xliff I don't know if VMs will port. I highly doubt it.
12:55 xtreak joined
tyil stay positive 12:55
Xliff However, I may try it. 12:56
tyil thats important when doing sysadmin
Xliff I know. I know.
But this is my home box. I get to be frustrated.
tyil use funtoo then, its less prone to breaking and will give you a debian kernel
precompiled
i.e.: a kernel that works for most things by default
Xliff I'm finding it hard to take a distro called "funtoo" seriously.
tyil :p
Xliff *giggle*
timotimo fork it and build "untoo" 12:57
Xliff LOL
tyil Funtoo is a spin-off from Gentoo by Gentoo's creator
Xliff Does Funtoo speak apt?
12:57 colomon left 12:58 |oLa|1 joined
tyil cant find apt in the repos 12:58
there's yum and pacman, but apparently apt was too shit :'3
Xliff :P
Oh ghod. Another source based package manager.
I've had enough of that with FreeBSD
tyil freebsd has a binary one too tho
sabayon is gentoo with binary packages 12:59
Xliff Yeees. I know. ;p
tyil but it also comes with systemd
mst if you don't like source code, I recommend windows 10
Xliff If I really wanted to squeak every last drop out of the bare metal. I'd do it.
tyil mst: watch your language pls
this is a friendly channel
Xliff mst: :P~~~~~~~~~
tyil++
mst tyil: please learn to spell please, this is a language channel
13:00 AndroUser2 joined
tyil should make a perl bot to keep track of nick++ scores :p 13:00
mst: a friendly language channel then?
13:00 |oLa| left, xtreak left
Xliff A meaningless but fun exercise. 13:00
mst generally, yes, right up until you failed to get the joke :D
huh
tyil :(
make easier jokes pls
Xliff tyil: Pay no attention to mst. He's a grump.
tyil so am I most of the time 13:01
:>
mst apparently all the karma handling infrastructure is only on #perl
Xliff heh
tyil but perl 6 has made my life better
now I'm happy and got a gf, all thanks to perl 6
11/10 would recommend to my friends
Xliff And I am !sleep, so I'm probably no better.
tyil Xliff: gn m8
Xliff nn
13:02 AndroUser2 left, AndroUser2 joined
mst I'm sure zoffix will write seven bots to do it one weekend 13:02
tyil hot 13:03
is there a decent perl 6 syntax plugin for vim?
[Coke] tyil - there IS a syntax plugin. I haven't used it lately. 13:04
tyil sweet
can I get a link?
[Coke] tyil: github.com/vim-perl/vim-perl 13:05
tyil atom is fun and all but its terribly slow
and I only have 16gb ram
[Coke] oops, it was split: github.com/vim-perl/vim-perl6
tyil ah
that explains, i already had vim-perl
araraloren have you tried vscode 13:06
eater should 'hex' be an acceptable encoding? in Str.encode and Blob.decode? 🤔
tyil isnt that just atom reskinned by microshit?
eater vscode is pretty ok 13:07
tyil pls no cursing
13:07 zakharyas joined
[Coke] is confused by tyil telling himself not to curse. 13:07
tyil Ive tried many editors, but vim always comes out on top 13:08
araraloren :) yeah, that why I love emacs
s/that/that's/
llfourn eater: hex isn't a character encoding - you'd have to encode as utf8 and then print out the hex 13:09
(as far as my understand of these things go)
13:09 cdg joined
eater yeah true 13:10
so we need an Blob.encode and Str.decode
for hex and base64
this isn't gonna be confusing at all
tyil araraloren: emacs isnt too bad tbh 13:13
Ven`` tyil: nah it's not reskinned, it's their own
tyil especially with evil
Ven`` most people I know prefer vscode to atom because of typing speed. I enjoy spacemacs a lot
tyil Ven``: due to microsofts history with products in general, I highly doubt it'll be able to compete with vim 13:14
I remember them making their own shell
llfourn m: "foo".encode("utf8").map(*.fmt("%02x")).join.say 13:15
camelia 666f6f
Ven`` tyil: what you consider makes a good editor is different from what a lot of people do :-) 13:18
13:21 cdg left
Geth doc: 876afdcd50 | (Jan-Olof Hendig)++ | xt/code.pws
Add another word

Closes #1381
13:23
13:23 travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Added missing words 13:23
travis-ci.org/perl6/doc/builds/243244886 github.com/perl6/doc/compare/9dbb4...6f5aae615f
13:23 travis-ci left
eater llfourn: what about the other way around? 13:27
llfourn eater: regex :P 13:28
actually.. 13:29
m: "666f6f".comb.rotor(2).map(*.Int.chr).say
camelia ( )
llfourn m: "666f6f".comb.rotor(2).map(*.join.Int.chr).say
camelia Cannot convert string to number: trailing characters after number in '036⏏5f' (indicated by ⏏)
in whatevercode at <tmp> line 1
in block <unit> at <tmp> line 1
llfourn m: "666f6f".comb.rotor(2).map({ "0x" ~ .join.Int.chr}).say 13:30
camelia Cannot convert string to number: trailing characters after number in '036⏏5f' (indicated by ⏏)
in block <unit> at <tmp> line 1
llfourn m: "666f6f".comb.rotor(2).map({ "0x" ~ .join).Int.chr}).say
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> 03666f6f".comb.rotor(2).map({ "0x" ~ .join7⏏5).Int.chr}).say
expecting any of:
statement end
statement modifier
statement modi…
llfourn m: "666f6f".comb.rotor(2).map({ ("0x" ~ .join).Int.chr}).say
camelia (f o o)
llfourn :)
eater that string concat hurts 13:31
llfourn maybe there's any easier way?
13:31 AndroUser2 left, AndroUser2 joined
moritz what are you trying to do? 13:31
13:31 |oLa|1 left
moritz oh 13:32
llfourn moritz: turn the string "66" into f
moritz :16($_)
llfourn m: say :16(66)
camelia This call only converts base-16 strings to numbers; value 66 is of type Int, so cannot be converted!
in block <unit> at <tmp> line 1
moritz m: say :16('66').chr
camelia f
llfourn moritz++
eater m: say "666f6f".comb.rotor(2).map({ :16(.join) })>>.chr
camelia (f o o)
eater oh
moritz: was faster 13:33
13:33 curan left, mcmillhj left, mcmillhj joined, colomon joined 13:35 Cabanossi left 13:36 Cabanossi joined
moritz m: say "666f6f".comb(2).map({ :16($_).chr}) 13:36
camelia (f o o)
eater well 13:37
time to go home
13:37 dibz` joined
eater moritz++ 13:37
13:40 |oLa| joined, araraloren left 13:42 dibz` left 13:46 espadrine joined, |oLa| left 13:48 |oLa| joined 13:54 |oLa| left 14:02 colomon left 14:03 |oLa| joined 14:09 zakharyas left, |oLa| left 14:13 pmurias left, travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Add another word 14:13
travis-ci.org/perl6/doc/builds/243261326 github.com/perl6/doc/compare/e36f5...6afdcd50aa
14:13 travis-ci left 14:15 CharellKing joined 14:21 |oLa| joined 14:25 espadrine left 14:28 espadrine joined 14:33 sufrostico left 14:35 sufrostico joined, grondilu joined 14:38 espadrine left 14:40 sufrostico left 14:43 maettu left 14:45 Ven`` left 14:49 jaush joined 14:52 ctilmes joined, bwisti left 14:57 sufrostico joined, bwisti joined 14:58 aborazmeh left 15:04 curan joined 15:07 alimon joined 15:09 |oLa|1 joined 15:11 Sabotender joined, |oLa| left, zakharyas joined 15:12 kurahaupo_ left, kurahaupo joined 15:13 AndroUser2 left, AndroUser2 joined 15:15 AlexDaniel joined 15:16 evalable6 joined, ChanServ sets mode: +v evalable6
atta Hi. How can I interpolate a variable inside a regex, in character class brackets? if "b" ~~ m/ <[abc]> / { say "matches" } this works, but my $var = "abc"; if "b" ~~ m/ <[$var]> / { say "matches" } won't work. 15:17
m: if "b" ~~ m/ <[abc]> / { say "matches" }
camelia matches
15:17 greppable6 left
atta m: my $var = "abc"; if "b" ~~ m/ <[$var]> / { say "matches" } 15:17
camelia ( no output )
15:17 bisectable6 joined, ChanServ sets mode: +v bisectable6, greppable6 joined, ChanServ sets mode: +v greppable6
jnthn atta: There's no way to do exactly that, though if $var was tweaked to be "<[abc]>" then you could <$var> 15:19
15:21 khw joined 15:22 lowbro left 15:24 AndroUser2 left 15:30 AlexDaniel left 15:32 nadim_ left
atta jnthn: Thanks! Maybe I'm complicating things. What I've got is: I have two strings, $var1 = 'abc' and $var2 = 'aqueyrfgc', and I should check if each char in $var2 matches what would be /[$var1]/. I did for $var2.comb(1) -> $char { if $char ~~ m/<[$var1]>/ { say 'matches' } but to no avail 15:35
I just want to check if one string is "inside" another one 15:36
15:40 dakkar left
atta Solved. Just inverted the regex. Easy. $var1 ~~ m/ $char /. 15:40
15:40 titsuki joined 15:48 gdonald left, Cabanossi left 15:50 gdonald joined 15:51 Cabanossi joined
rightfold Can I use grammars on lists of tokens or only on strings? 15:51
15:51 araujo joined, araujo left, araujo joined 15:55 CharellKing left 16:00 drrho left, nadim_ joined 16:06 |oLa|1 left 16:07 robertle_ left 16:09 domidumont left 16:14 sufrostico left, gdonald left 16:29 zakharyas left, alimon left 16:30 alimon joined 16:34 uberbaud joined 16:35 tardisx left 16:36 wamba left 16:43 ChoHag left 16:49 nadim_ left 16:50 uberbaud left, aindilis left 16:51 setty1 joined, aindilis joined 16:53 domidumont joined 17:01 cdg joined 17:02 pilne joined 17:03 cdg_ joined
[Coke] I think just strings, but @list.join isn't horrible. 17:05
(on moarvm)
(er, it has the potential to not be horrible, I haven't actually looked at the string source because I value my sanity) 17:06
17:07 cdg left
grondilu Has anyone ever tried to compile MoarVM to webassembly? I can't as I don't have enough RAM. 17:14
17:16 |oLa| joined
grondilu bought some more, waiting for Amazon delivery 17:16
tadzik how much was not enough? What are you using to build it? 17:22
grondilu I'm using a linux guest on Virtual Box. I could not allocate more than 5.5Go 17:25
weirdly enough, the compilation crashed before the swap was consumed.
Notice that I'm not even talking about compiling MoarVM yet, just the emscripten toolkit. 17:26
17:29 espadrine joined 17:34 |oLa| left 17:35 |oLa| joined 17:36 wamba joined 17:41 |oLa| left 17:42 |oLa| joined 17:47 ChoHag joined 17:50 nadim_ joined, tipdbmp joined
tipdbmp m: my Array[uint64] $a .= new; $a.push(1); 17:51
camelia Type check failed in assignment to ; expected uint64 but got Int (1)
in block <unit> at <tmp> line 1
tipdbmp How do you use typed arrays?
jnthn You need to use array[uint64] since uint64 is a native type 17:53
tipdbmp I see.
jnthn If you declare it `my uint64 @a` it'll automatically pick the correct one for you :)
tipdbmp Thanks. 17:54
17:55 |oLa| left 17:57 |oLa| joined
tipdbmp Is it possible to get to the type of an array, i.e: array-sub-type(array[uint64]) => uint64, array-sub-type(Array[Int]) => Int? 18:00
18:05 |oLa| left
tipdbmp I suppose I can stringify the array type and extract the sub type, but how can I turn the sub-type string into a type? 18:06
m: my $ty_name = array[uint64].^name; my $a = index($ty_name, '[') + 1; say substr($ty_name, $a, rindex($ty_name, ']') - $a);
camelia uint64
tipdbmp With EVAL, I suppose... 18:09
jnthn .of 18:11
dinner &
tipdbmp Oh, good =).
18:12 |oLa| joined, Actualeyes left
Geth doc: 5af4ebd377 | (Jan-Olof Hendig)++ | doc/Language/typesystem.pod6
Updated 'is nodal' doc. [Coke]++, eveo++
18:13
18:13 Actualeyes joined, ChoHag left 18:15 ChoHag joined 18:18 bwisti left 18:36 nadim_ left 18:44 nadim_ joined, mcmillhj left 18:52 jonas2 left 18:53 |oLa| left, ChoHag left 18:57 curan left 19:03 travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Updated 'is nodal' doc. [Coke]++, eveo++' 19:04
travis-ci.org/perl6/doc/builds/243370555 github.com/perl6/doc/compare/876af...f4ebd377f9
19:04 travis-ci left, stmuk joined 19:06 stmuk_ left
moritz m: say 'abcdef' ~~ m:x(3)/./ 19:13
camelia (「a」 「b」 「c」)
moritz m: say 'af' ~~ m:x(3)/./
camelia ()
moritz m: say 'abcdef' ~~ m:x(3):ex/..?/
camelia (「ab」 「a」 「bc」)
Geth doc: b8cf104d57 | (Jan-Olof Hendig)++ | doc/Language/subscripts.pod6
Mention the 'is default' trait

Closes #934
19:16
19:23 |oLa| joined 19:29 AlexDaniel joined 19:30 domidumont left 19:33 sufrostico joined 19:38 tipdbmp left 19:53 stmuk_ joined 19:54 stmuk left
zengargoyle .tell tadzik i think there's a bug in the modules todo handling. it seems to have 'lost' the fact that i added MANIFEST to my dists (maybe didn't update the cache?) and tells me i have no MANIFEST. 19:55
yoleaux zengargoyle: I'll pass your message to tadzik.
zengargoyle .tell tadzik the 'not having any tags' and one 'no version' warning went away... 19:57
yoleaux zengargoyle: I'll pass your message to tadzik.
19:59 uberbaud joined 20:03 eyck left, colomon joined 20:09 travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Mention the 'is default' trait 20:09
travis-ci.org/perl6/doc/builds/243391652 github.com/perl6/doc/compare/5af4e...cf104d57b7
20:09 travis-ci left 20:16 eyck joined 20:18 [particle] left, |oLa| left, [particle] joined, raiph joined 20:21 mr-fooba_ left 20:22 mr-foobar joined 20:26 uberbaud left
[Coke] Ugh, Bailador now requires a config file if you want to run on a different port. 20:29
20:35 |oLa| joined 20:44 TEttinger joined
tadzik fak 20:47
yoleaux 19:55Z <zengargoyle> tadzik: i think there's a bug in the modules todo handling. it seems to have 'lost' the fact that i added MANIFEST to my dists (maybe didn't update the cache?) and tells me i have no MANIFEST.
19:57Z <zengargoyle> tadzik: the 'not having any tags' and one 'no version' warning went away...
tadzik uh-oh
will take a look tomorrw, thanks
20:48 Cabanossi left 20:51 Cabanossi joined 20:53 mr-foobar left 20:55 mcmillhj joined 21:01 colomon left 21:02 konsolebox joined, mr-foobar joined 21:05 mcmillhj left
samcv odd there's a proposal on the Unicode mailing list to ban Google from designing emoji. what 21:11
and make them revert back to the old android designs. i don't think they understand how unicode works...
timotimo i love the blob faces google built for android 21:16
Geth Swapped META.info → META6.json in 23 dists in github.com/perl6/ecosystem/commit/f36c9bf71e 21:17
21:22 mr-foobar left 21:23 mr-foobar joined 21:24 zacts left
TEttinger they should ban me from designing emoji. it would be about the same effect 21:29
21:30 cognominal joined 21:45 |oLa| left 21:50 zacts joined 21:52 mr-foobar left 21:53 setty1 left 21:55 colomon joined 21:56 mr-foobar joined 21:59 eveo joined
eveo samcv: I think I saw @FakeUnicode tweet about that... about Google basically stealing old and ugly versions of OSX emoji 22:01
llfourn: eater: no regex needed to convert a string with numerals in some base to a numeric. You already saw the :16($_) notation and if the base is dynamic too, there's Str.parse-base method 22:02
m: say "Perl6".parse-base: 36
camelia 42679338
22:03 Cabanossi left
eveo Ven, well, maybe it was some other "ven"? I dunno, just saw it in the generated contributors list. 22:04
zengargoyle thinks eveo and samcv would enjoy blog.plover.com/math/telugu.html (Base-4 fractions in Telugu) because... Unicode.
samcv also i'm accepting suggestions on things on unicode to talk about for the EU perl conf. if anybody wants to speak up so i can add things to my talk 22:05
eveo m: say ౸ + ౹ - ౺ / ౻ - ౼ * ౽ + ౾
camelia 1.333333
eveo It works. That's where my care about it ends pretty much...
samcv: will it include the meme about Perl 6 core devs highfiving each other? :P 22:06
22:06 Cabanossi joined
eveo New blog post: "Perl 6 Release Quality Assurance: Full Ecosystem Toaster": perl6.party/post/Perl-6-Release-Qu...em-Toaster 22:06
samcv oh 22:09
samcv adds that to the list
eveo hah
zengargoyle m: say ౭౹౾౺౾౸ 22:13
camelia 5===SORRY!5=== Error while compiling <tmp>
Bogus postfix
at <tmp>:1
------> 3say ౭7⏏5౹౾౺౾౸
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier…
eveo m: '౭౹౾౺౾౸ '.uniprops.say 22:14
camelia (Nd No No No No No Zs)
22:14 robertle left
eveo Only the first one can be chained 22:14
zengargoyle we chain ²²²
:P 22:15
zengargoyle just poking fun and enjoying MJD post.
zengargoyle because MJD posts are almost always interesting.
eveo zengargoyle: no, we don't. You can't chain those when writing a numeric literal. 22:16
zengargoyle plus it's Unicde 9 and i doubt we have many Telugu users.
eveo \o 22:18
22:18 eveo left
zengargoyle ౦౼౽౾ and ౸౹౺౻ are postfix operators. 22:19
digit + base-4 fraction 22:21
zengargoyle wonders what other weirdness is out there.
22:21 mr-foobar left
zengargoyle should stop poking eveo ... 22:21
22:23 mr-foobar joined
zengargoyle it has come to my attention that eveo is probably Zoffix.... mea culpa. 22:25
22:29 alimon left 22:34 Cabanossi left 22:36 Cabanossi joined 22:37 wamba left 22:38 ctilmes left
MasterDuke is anybody going to YAPC::NA 2017? i didn't manage to get $work to pay for it, but they might let me count the time as work time. or if not maybe i'll just come down for a dinner if anything like that is going on 22:49
22:53 mr-foobar left 22:57 mr-foobar joined
japhb zengargoyle: Relatively speaking, there are few nicks in the history of this channel that are *not* Zoffix. 23:05
23:10 nadim_ left
ugexe dont listen to him, thats zoffixs other username 23:10
sacomo hi #perl6 23:11
23:11 araujo left
Geth Swapped META.info → META6.json in 1 dists in github.com/perl6/ecosystem/commit/738765d9dd 23:14
23:15 nattefrost left 23:26 araujo joined 23:36 cyphase left
tyil is there an up to date apt repo for ubuntu (16.04) with perl 6 packages? 23:37
23:37 rindolf left
MasterDuke repo no, but packages are available 23:39
huggable: debs
huggable MasterDuke, nothing found
MasterDuke huggable: deb
huggable MasterDuke, CentOS, Debian, Fedora and Ubuntu Rakudo packages: github.com/nxadm/rakudo-pkg/releases
tyil clicks
MasterDuke: thanks 23:40
23:41 cyphase joined
MasterDuke np 23:41
23:47 ChoHag joined 23:48 Cabanossi left 23:51 Cabanossi joined 23:54 kurahaupo_ joined 23:56 kurahaupo left