»ö« 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
agentzh joined
00:01
jraglin joined
00:03
dj_goku joined,
inokenty joined
00:05
sena_kun left,
agentzh left
00:06
BenGoldberg joined
00:08
dj_goku left
00:12
Cabanossi left
00:14
Cabanossi joined
00:28
cpage_ left
00:31
astj joined
00:35
agentzh joined,
astj left
00:38
rba_ joined
00:40
wamba joined
00:42
hartenfels left
00:46
vytas joined
00:52
cpage_ joined
00:53
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:56
hartenfels joined
|
|||
samcv | oh gawd | 00:58 | |
i did 'skip "needs rework", Inf' and it just | 00:59 | ||
keeps going | |||
forever | |||
01:07
cdg left
01:15
agentzh left
|
|||
TEttinger | infinitely, perhaps? | 01:15 | |
samcv | yep | 01:21 | |
what do people think of this? github.com/rakudo/rakudo/compare/n...v:skip-Inf | |||
so we can either make it throw or make it act as skip-rest does | |||
link is where it just asks as skip-rest and dies in case you have no plan | 01:22 | ||
01:25
perlpilot left
01:26
Cabanossi left
01:28
cpage_ left,
Cabanossi joined
01:29
cpage_ joined
01:30
kurahaupo__ left
|
|||
brokenchicken | samcv: "make it throw" sounds good. An Int type contraint on the skipped number should do the trick. | 01:35 | |
samcv | so you think just make an Int constraint? | 01:36 | |
01:36
nemsys left,
perlawhi1l joined
|
|||
brokenchicken | m: use Test; &skip.candidates».signature.say | 01:37 | |
camelia | rakudo-moar d06d7c: OUTPUT«(() ($reason, $count = 1))» | ||
samcv | hmm i split some of my code into a module, and now i'm getting an error Missing or wrong version of dependency (depends on another module in the same folder as it) | ||
not sure why I am seeing this error, tried clearing precomp | |||
brokenchicken | I saw that error when I ran perl6 instead of ./perl6 | ||
samcv | .===SORRY!=== | ||
Missing or wrong version of dependency '/home/samantha/git/MoarVM/grant/lib/EncodeBase40.pm6 (EncodeBase40)' (from '/home/samantha/git/MoarVM/grant/lib/GenUniNameList.pm6 (GenUniNameList)') | |||
brokenchicken shrugs | 01:38 | ||
samcv | brokenchicken, i may have to wait til March for grant btw. i may be able to make it work | ||
idk. that's a while away though. | |||
hopefully they can figure something out | |||
brokenchicken | How come? | ||
samcv | We are determining the best course of action. As the next step, we | 01:39 | |
will publish the status of each fund so we can decide the best option | |||
for you. | |||
so they're gonna keep me posted. hopefully won't have to wait until March | |||
brokenchicken | Hopefully. | ||
samcv | ^ | ||
perlawhi1l | hi all | 01:42 | |
01:48
agentzh joined
01:50
pyrimidi_ left,
pyrimidine joined
01:51
dj_goku joined,
dj_goku left,
dj_goku joined
01:56
dj_goku left
01:57
Cabanossi left
01:59
Cabanossi joined
02:06
labster left
02:08
cdg joined
02:10
labster joined
02:14
cdg left,
labster left
02:16
wamba left
02:21
pyrimidine left
02:22
pyrimidine joined,
rmusial left
02:27
pyrimidine left
02:34
kyan joined
02:39
agentzh left
02:41
cdg joined
02:48
cale2 joined
02:57
Cabanossi left
02:59
Cabanossi joined,
Actualeyes left
03:00
agentzh joined
03:03
cdg left,
cdg joined
|
|||
cale2 | moritz | 03:08 | |
03:13
cdg_ joined
03:16
cdg left
03:19
dj_goku joined,
dj_goku left,
dj_goku joined
03:33
curt__ left,
pyrimidine joined
|
|||
jdv79 | m: say "\c[woman gesturing OK]" | 03:35 | |
03:35
cdg joined
|
|||
camelia | rakudo-moar ae9d51: OUTPUT«🙆♀️» | 03:35 | |
03:35
cdg left
|
|||
jdv79 | shouldn't that just be the first char? | 03:35 | |
well, glyph. eh, nm. | 03:36 | ||
03:36
cale2 left
03:38
cdg_ left
|
|||
hartenfels | jdv79: I think that's a shortcoming of your thingy that displays it not being able to put it together. For me that shows as FACE WITH OK GESTURE, ZERO-WIDTH JOINER, FEMALE SYMBOL. | 03:40 | |
Rather than a combined emoji. | |||
03:44
noganex_ joined
|
|||
jdv79 | huh | 03:45 | |
in a related issue, why is JSON::Tiny and ::Pretty encoding that "char" as \u1f646? | 03:46 | ||
i think that''s a bug. json only specs 4 hex chars after that | |||
and there is no reason to auto encode it that way either | 03:47 | ||
afaik | |||
03:47
noganex left
03:48
xinming_ is now known as xinming
03:52
jraglin left
|
|||
jdv79 | its breaking my 5/6 interop cause json::xs is parsing that into "\x{1f64}6" :( | 03:52 | |
oh, ::Tiny and friends are actually just chopping or something. lovely | 03:56 | ||
gah. encodings are fun. | 04:02 | ||
ah. ::Tiny is ok. ::Pretty is failing harder. | 04:08 | ||
04:09
Actualeyes joined
04:11
Cabanossi left
04:14
Cabanossi joined
04:26
Cabanossi left
04:27
Cabanossi joined
04:36
labster joined
04:41
curt__ joined
05:01
parv joined
05:11
Cabanossi left
05:12
Cabanossi joined
05:14
parv left
05:15
parv joined
05:30
BenGoldberg left
05:35
pyrimidine left
05:44
khw left,
bwisti left
05:55
Cabanossi left,
skids joined
05:57
bwisti joined,
Cabanossi joined
06:09
bwisti left
06:22
skids left
06:24
m0ltar joined
06:26
Cabanossi left
06:27
Cabanossi joined
06:34
hartenfels1 joined
06:36
hartenfels left,
hartenfels1 is now known as hartenfels
06:41
AlexDaniel joined
06:49
Hotkeys joined
06:52
RabidGravy joined
06:56
kyan left,
bjz joined
06:59
bjz left
07:04
pyrimidine joined
07:05
aborazmeh left
07:09
pyrimidine left
07:11
domidumont joined
07:13
perlawhirl left
07:14
jjido joined,
perlawhi1l left
07:17
domidumont left
07:18
domidumont joined
07:19
jjido left
07:21
bjz joined
07:22
xpika joined
|
|||
xpika | is there a way to pre-emptivly invoke the perl6 type checker ? | 07:23 | |
07:23
RabidGravy left
07:35
AlexDaniel left
07:41
rba_ left
|
|||
samcv | jdv79, yeah json only specs 4 digits after it | 07:43 | |
m: "\c[woman gesturing ok]".uninames.perl.say | 07:44 | ||
camelia | rakudo-moar ae9d51: OUTPUT«("FACE WITH OK GESTURE", "ZERO WIDTH JOINER", "FEMALE SIGN", "VARIATION SELECTOR-16").Seq» | ||
samcv | it's a sequence | ||
I added some documentation about the Unicode sequence functionality I added recently to Perl 6 here: docs.perl6.org/language/unicode | 07:45 | ||
07:45
holyghost left
|
|||
samcv | has links to all of them if you want to see | 07:46 | |
parv | in "rakudo-moar ae9d51" is "ae9d51" the git commit or something else? | ||
samcv | yeah it's git commit | ||
parv | thanks. | ||
samcv | the Name Alias and the Emoji sequences/ZWJ sequences were in the latest Jan release of rakudo | 07:47 | |
i need to make it more clear, BELL isn't a name alias that's the actual name of the symbol | |||
07:51
pyrimidine joined
07:53
agentzh left
|
|||
parv | samcv, is an emoji symbol (in Perl 6) some kind of (font independent) graphic/icon? | 07:53 | |
samcv | well. it follows Unicode grapheme rules | 07:54 | |
m: "\c[woman gesturing ok]".chars.say | |||
07:54
wamba joined
|
|||
camelia | rakudo-moar ae9d51: OUTPUT«1» | 07:54 | |
samcv | so it's one grapheme/character | ||
because unicode says it should not be split up | |||
m: "\r\n".chars.say | |||
camelia | rakudo-moar ae9d51: OUTPUT«1» | ||
samcv | this is a common one as well. but there's lots of things that are like that | ||
like letters with diacritics are actually multiple codepoints, but in perl6 it seperates them as graphemes so they stay together | 07:55 | ||
m: say "\c[woman, ZWJ, boy]".chars | 07:56 | ||
camelia | rakudo-moar ae9d51: OUTPUT«1» | ||
samcv | like i don't think ^ is actually a real emoji, but it follows the unicode grapheme rules and counts as 1 | ||
obviously in case ones get added. ZWJ = Zero width joiner | 07:57 | ||
07:57
mr-foobar left
07:58
ufobat joined
07:59
mr-foobar joined
|
|||
samcv | m: say "\c[PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRACKET]".uniname | 07:59 | |
camelia | rakudo-moar ae9d51: OUTPUT«PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET» | ||
07:59
pyrimidine left
|
|||
samcv | parv, fun fact, this name was misspelled so it is one of the NameAlias corrections, but since names never change | 07:59 | |
its official name is still BRAKCET | |||
parv | ha, ha | 08:01 | |
jast | that's going to trip someone up sooner or later. I'm sure it will be an amusing experience, from a safe distance ;) | 08:03 | |
08:03
abraxxa joined
|
|||
samcv | which the misspelled name :P | 08:03 | |
heh | |||
08:05
krakan_ left
|
|||
parv | \c[person playing water polo] seems like a "factory in blue with red lamp"; \c[person playing handball: medium-light skin tone] looks like a "child free falling" (as they appear in Firefox 50, Windows 10) | 08:10 | |
... in www.unicode.org/Public/emoji/4.0/em...uences.txt | 08:11 | ||
08:11
Cabanossi left
|
|||
samcv | ha | 08:12 | |
m: say "\c[United States]" | |||
camelia | rakudo-moar ae9d51: OUTPUT«🇺🇸» | ||
samcv | easy access to flags | ||
"factory in blue with red lamp" sounds like the name of some piece of art somebody might make | |||
08:13
Cabanossi joined
08:14
xpika left
08:22
domidumont left,
domidumont joined,
domidumont left
08:23
domidumont joined
|
|||
Geth | oc: bd5ef73553 | (Samantha McVey)++ | doc/Language/unicode.pod6 Add more examples of Named Aliases and some extra info |
08:24 | |
08:31
Actualeyes left
|
|||
parv is seriously missing appropriate fonts to see perl 6 unicode output in its glory in Firefox+FreeBSD. also, need to update rakudo | 08:33 | ||
samcv | can you install noto-fonts-emoji? | 08:35 | |
actually install every noto font. since it covers almost all of unicode | |||
also symbolla has a huge number of symbols, freebsd likely has that easily installable? | |||
parv | let me see ... | 08:38 | |
08:39
jirkan joined,
jraglin joined
08:41
jirkan left,
darutoko joined
08:44
zakharyas joined
08:48
rba_ joined
|
|||
parv | ... installed (both); still need some tweaking; will try that later. thanks samcv. | 08:52 | |
samcv | nice :) | ||
08:55
pyrimidine joined
08:59
wamba left
09:02
pyrimidine left
09:06
cyphase left
09:07
parv left
09:08
cyphase joined
09:10
Cabanossi left,
trnh joined,
trnh left,
trnh joined
09:13
Cabanossi joined
09:14
g4 joined,
travis-ci joined
|
|||
travis-ci | Doc build errored. Samantha McVey 'Add more examples of Named Aliases and some extra info' | 09:14 | |
travis-ci.org/perl6/doc/builds/195794703 github.com/perl6/doc/compare/223e3...5ef73553df | |||
09:14
travis-ci left
09:21
hartenfels left
09:28
pyrimidine joined
09:30
xinming left
09:31
robertle left
09:33
xinming joined,
pyrimidine left
09:40
wamba joined
|
|||
El_Che | It's silly, but I am happy that I'll have my camelia laptop sticker soon (@fosdem) :) | 09:41 | |
09:41
holyghost joined
|
|||
El_Che | reserved some place for it | 09:41 | |
09:42
Ven joined
09:46
TEttinger left
|
|||
samcv | nice | 09:51 | |
i want a sticker :( | |||
where can I get one | |||
wow travis is cutting us off now | 09:52 | ||
The job exceeded the maximum time limit for jobs, and has been terminated. | |||
not our fault they're being super slow | |||
jast | it's everyone else's fault! | ||
arnsholt | samcv: lizmat and Wendy generally have a stack they're handing out at conferences | 09:54 | |
samcv | pls mail me one! | 09:55 | |
DrForr | I'm going to need to move mine to a new laptop... I have the patch, though :) | ||
10:08
holyghost left
10:11
bjz left,
bjz_ joined
10:28
pyrimidine joined
10:33
pyrimidine left
|
|||
DrForr | (that'll be more of a pain to move to the new laptop, when I buy it. I might replace it at FOSDEM, I've got a spare day.) | 10:43 | |
10:45
rindolf joined
10:46
Ven left
10:53
pyrimidine joined
|
|||
El_Che | samcv: yeah, I'll get one from Wendy @ Fosdem | 10:54 | |
10:55
labster left
|
|||
samcv | thanks :) | 10:55 | |
10:56
rindolf left,
rindolf joined
10:59
agentzh joined,
pyrimidine left
11:05
agentzh left
11:10
sjn joined,
iH2O joined
11:19
wictory[m] joined
11:20
iH2O left
11:27
andrzejku left
11:28
andrzejku joined,
tadzik joined,
M-Illandan joined,
dp[m] joined,
Matthew[m] joined,
ilmari[m] joined
11:29
Matias[m] joined,
xui_nya[m] joined,
mulk[m] joined,
CIAvash[m] joined,
mniip left
11:30
z8 joined
11:33
gregf_ joined
11:34
gregf_ left
11:35
gregf_ joined
11:37
zz joined,
zz is now known as Guest7983,
cpage_ left
11:38
z8 left
11:43
pyrimidine joined
11:48
pyrimidine left
11:58
mniip_ joined
12:00
z8 joined
12:02
z8 left
12:04
xinming left
12:05
Guest7983 left,
xinming joined
12:08
mniip_ is now known as mniip
12:09
AlexDaniel joined
|
|||
AlexDaniel | u: skin tone | 12:10 | |
unicodable6 | AlexDaniel, Found nothing! | ||
AlexDaniel | u: emoji fitz | ||
unicodable6 | AlexDaniel, U+1F3FB EMOJI MODIFIER FITZPATRICK TYPE-1-2 [Sk] (🏻) | ||
AlexDaniel, U+1F3FC EMOJI MODIFIER FITZPATRICK TYPE-3 [Sk] (🏼) | |||
AlexDaniel, gist.github.com/443abb3c46c3a5fc08...c6ce577474 | |||
AlexDaniel | MasterDuke: should I use nqp ops to speed this thing up by ≈20% or so? ↑ | 12:11 | |
12:15
sena_kun joined
12:16
pyrimidine joined
12:20
pyrimidine left
12:27
Cabanossi left,
Cabanossi joined
12:29
wamba left
12:35
Ven joined
12:47
tragr joined
12:48
cpage_ joined
|
|||
tragr | BAD NEWS, rumors say that Trump plans to set unicode illegal for all governamental agency. This affect all software which "allows typesetting, printing or visualizing character outside the ASCII standard range", including the ones which fit in an 8bits encoding. All those softwares are deemed anti-american | 12:49 | |
jast | since when are rumours news? | 12:50 | |
brokenchicken | I wish Trump would issue an executivie order that forbida mentioning anything about Trump to anyone eho isn't in Murica | 12:53 | |
DrForr | Anyway, this weekend I'm going to see about adding .find() and proper walking to Perl6::Parser so it'll filter out docs or whatnot. | 12:56 | |
sena_kun | DrForr, it's really cool. I'm looking at Perl6::Parser for some time(but kinda too lazy to read docs really serious), am I right that with this module it will be possible to parse a tree, walk over it with some modifications along the way and dump the tree as a string similar to parsed? | 12:58 | |
*seriously | 12:59 | ||
DrForr | You can aleady parse and dump. I need to add .next(), .previous(), .parent(), .children() axes and then I'm either going to add a proper .splice() or override the array slicing operations somehow. | 13:01 | |
sena_kun | Oh, amazing. DrForr++ | 13:03 | |
DrForr | That way when the parser returns $root, you can call $root.children() to get the doc children &c, and $node.splice(...) will insert while maintaining links. It might even skip infrastructure nodes or build them as needed. | 13:07 | |
13:09
abraxxa left,
abraxxa joined
13:20
wamba joined
|
|||
tragr | brokenchicken: in full French presidential campain? You're gonna kidding | 13:26 | |
brokenchicken | tragr: what you said just now made zero sense. | 13:27 | |
tragr | brokenchicken: because you think that there is still a game to be played in US, me don't | 13:31 | |
brokenchicken | tragr: but you think game French is play kidding presidential? | 13:33 | |
DrForr | Come to think of it, .next-token and .previous-token would let iterators work pretty simply. | 13:34 | |
while $node.not-end { $node = $node.next-token; } | 13:35 | ||
tragr | brokenchicken: wow I feel strong the power of dyslexia in me now | ||
brokenchicken | tragr: do the folks at Institut Pasteur know you're abusing their network to troll people on the Internet? | 13:36 | |
13:37
cale2 joined
|
|||
brokenchicken | tragr: maybe I should text Christian and see what he thinks of this... | 13:37 | |
tragr | brokenchicken: Wow you know the director in person? Does he have time to listen to people which don't contribute anything to the institute? | 13:39 | |
DrForr | Or just let .next-token return an EOF object... | ||
brokenchicken | tragr: he's a human like any other with friends outside the insitute. Now, get back to work. | ||
tragr | I think that trolling is part of my work, need to keep in touch with different realities from my main topic | 13:41 | |
13:41
pyrimidine joined
|
|||
tragr | Bye | 13:41 | |
DrForr reads up on the Iterator type instead. | 13:42 | ||
13:44
pyrimidi_ joined,
wamba left,
pyrimidine left
13:50
pyrimidi_ left
13:51
bjz_ left
13:57
abraxxa left
13:59
ChoHag left
14:01
ChoHag joined
14:17
perlpilot joined
14:28
Ven left
14:30
pyrimidine joined
14:33
Ven joined
|
|||
brokenchicken | nqp: gist.github.com/zoffixznet/055d00d...f33403d6fb | 14:34 | |
camelia | nqp-moarvm: OUTPUT«Perl 7 syntax error at line 2, near "fuc greet\n" at gen/moar/stage2/NQPHLL.nqp:765 (/home/camelia/rakudo-m-inst-1/share/nqp/lib/NQPHLL.moarvm:panic) from <unknown>:1 (<ephemeral file>:TOP) from gen/moar/stage2/QRegex.nqp:2102 (/home/camelia/rakudo-m…» | ||
brokenchicken | Any idea why that's failing to parse? | ||
14:35
pyrimidine left
|
|||
brokenchicken | These are the relevant rules: gist.github.com/zoffixznet/055d00d...p6-L18-L26 and the text to parse is "fuc greet\n 💬 'hi'\nton" | 14:35 | |
And here's the .^trace-on() for that grammar: gist.github.com/zoffixznet/7862c94...08806447d4 | 14:40 | ||
14:40
tokomer joined
|
|||
brokenchicken | Seems the part that's missing from the match is the closing 'ton' in rule fucbody | 14:42 | |
14:44
rba_ left
|
|||
perlpilot | brokenchicken: my guess after a brief look is: fucbody is a rule which means :sigspace is on and eating your whitespace so that \n won't match. | 14:44 | |
14:45
rba_ joined
|
|||
brokenchicken | perlpilot: I redefined <ws> to token ws { <!ww> \h* || \h+ } | 14:45 | |
perlpilot | doh! didn't even see that. | ||
14:45
rba_ left
14:46
rba_ joined
14:47
pyrimidine joined
|
|||
brokenchicken | And I'm following the github.com/edumentab/rakudo-and-nq...yish-3.nqp example but don't see any real difference between that version (that does compile) and mine | 14:50 | |
14:50
tokomer left
|
|||
brokenchicken | other than renaming 'def' and 'end' to 'fuc' and 'ton' | 14:51 | |
14:54
Actualeyes joined
14:57
Cabanossi left
14:58
Cabanossi joined
15:00
pyrimidine left
15:01
tragr left,
pyrimidine joined
15:03
agentzh joined
|
|||
brokenchicken | *phew* made it parse. The cause was (a) lack of newline after "ton"; and (b) lack of <!keyword> in token term:sym<ident> before <ident> | 15:03 | |
Programming is hard. | |||
brokenchicken goes shopping | |||
15:04
Possum joined
15:05
pyrimidine left
15:07
agentzh left
15:08
cdg joined
15:09
Ven left
|
|||
mspo | "programming is hard, let's go scripting!" | 15:11 | |
15:11
kurahaupo__ joined
15:13
cog_ joined,
trnh left
15:15
cognominal left,
kalkin- left,
kalkin- joined
15:16
skids joined,
Ven joined
|
|||
AlexDaniel | mspo: that's ok. Much better than the common “programming is hard, let's draw diagrams” | 15:22 | |
15:24
Cabanossi left
|
|||
mspo | perl.com is down | 15:24 | |
but it's a blog by TimToady | |||
www.perl.com/pub/2007/12/06/soto-11.html | |||
DrForr | perldoc.perl.com needed some TLC. | ||
Not sure why www.perl.com was affected as well, but I'm not infrastructure. | 15:25 | ||
mspo | not like that time cpan was down for like a week a year or so ago? | ||
15:26
Cabanossi joined
15:29
pecastro left
15:30
kurahaupo__ left
15:34
cale2 left
15:35
cibs left
15:36
domidumont left,
cibs joined
15:39
cdg_ joined
15:41
cdg left,
pyrimidine joined
15:45
wamba joined,
pyrimidine left,
AlexDaniel left,
pyrimidine joined
15:49
diegok joined
15:51
kurahaupo__ joined,
trnh joined
|
|||
brokenchicken | *phew* this took longer than I expected but I finally made functions work in Perl 7 :) | 15:56 | |
This prints "Hi": fuc meow 💬 'Hi'tonmeow | |||
The syntax should really sell it to Ruby programmers ;) | 15:57 | ||
15:58
domidumont joined
|
|||
brokenchicken | Hm, I think I'll go with `sub`/`bus` delimiters instead. | 16:02 | |
16:08
Ven left
16:11
g4 left
|
|||
gregf_ | Perl 7? | 16:14 | |
perlpilot | sub/bus would appeal to the shell programmers | 16:15 | |
brokenchicken | I went with fun/ion | ||
To encourage more fun in programming ;) | |||
gregf_: yeah man. It's the latest and greatest Perl of them all. With largest version number and bestest logo: github.com/perl7/perl7 | |||
perlpilot | Programming languages need the ability to have more whimsy like Perl ;-) | 16:16 | |
gregf_ | Heh | ||
perlpilot | brokenchicken: so ... what happened to the "ct" anyway? | 16:17 | |
brokenchicken | perlpilot: what ct? | ||
perlpilot | fun ct ion | ||
it just got elided because func/tion was too many letter? | 16:18 | ||
er, letters | |||
brokenchicken | perlpilot: Ah, well, Perl 7 wants to preserve its heritage of using just three letters to start a function, but at the same time we want to attract Javascript programmers and we don't want to confuse them with 'subs' hence the change to calling them functions | ||
Exactly. Too many letters. In the no-time-for-nonsense futuristic programming of Perl 7 we don't need to type 4 letters where 3 will suffice | 16:19 | ||
perlpilot | Surely then, there should be single unicode letter synonyms for fuc/ion | 16:20 | |
(why type 3 letters when 1 will do?) | |||
perigrin | brokenchicken: obviously what you need to do is core metacpan.org/pod/lambda | ||
brokenchicken | Our marketing research shows programmers don't want any silly symbols in their programs and so Perl 7 will stick to using just the symbols written on the keyboard. The only exception is the print function that in Perl 7 is 💬 because we still want to show people how cool and trendy we are. | 16:22 | |
perlpilot | heh | 16:23 | |
[Coke] | I would recommend include your musings here in a design doc in the repo. | 16:25 | |
16:26
perlawhirl joined,
perlawhi1l joined,
bwisti joined
|
|||
brokenchicken | heh | 16:27 | |
[Coke] | *ding | ||
16:30
pecastro joined
16:38
zakharyas left
16:43
travis-ci joined
|
|||
travis-ci | Doc build errored. Antonio Quinonez 'Merge branch 'operators'' | 16:43 | |
travis-ci.org/antquinonez/doc/builds/195911920 github.com/antquinonez/doc/compare...cc0670735c | |||
16:43
travis-ci left
|
|||
brokenchicken | Check it out. We've reached a new milestone: | 16:49 | |
m: '/tmp/foo/d.pm6'.IO.spurt: 'use v6.d.PREVIEW; say &await.file' | |||
camelia | ( no output ) | ||
brokenchicken | m: '/tmp/foo/c.pm6'.IO.spurt: 'use v6.c; say &await.file' | ||
camelia | ( no output ) | ||
brokenchicken | m: use lib </tmp/foo>; use c; use d; | ||
camelia | rakudo-moar dd1cb5: OUTPUT«SETTING::src/core/asyncops.pmSETTING::src/core.d/await.pm» | ||
brokenchicken | Two Perl 6 versions in the same program :D | 16:50 | |
16:55
captain-adequate joined
16:57
aindilis joined
17:00
haxmeister joined
|
|||
haxmeister | hello.. any perl6 gurus using atom editor on linux? | 17:00 | |
brokenchicken | yup | ||
I do. And I'm a proper Perl 6 Guru. | |||
(I got a certificate) | 17:01 | ||
haxmeister | did you have any difficulty with permissions? | ||
brokenchicken | Nope | ||
haxmeister | well poo | ||
atom channel is unresponsive for days now | |||
brokenchicken | What sort of permissions? | ||
haxmeister | it won't let me save a file.. even a new one.. saying I don't have permission | 17:02 | |
brokenchicken | As I recall, I just downloaded a .deb from atom.io/ and sudo dpkg -i it | ||
Where are you trying to save it to? | |||
You could try running it from the terminal to see if it spews out any debug info into it. | 17:03 | ||
haxmeister | actually it just worked | ||
odd | |||
brokenchicken | \o/ | ||
haxmeister | lol | ||
\o/ indeed | 17:04 | ||
I like atom.. I like perl6.. I like the perl6 highlighting in atom :-D | |||
brokenchicken | Cool. You're using language-perl6 package, right? | ||
haxmeister | I have that.. and also the perl6fe package | 17:05 | |
brokenchicken | perl6fe is outdated version of language-perl6 | ||
haxmeister | ah ok.. I'll remove it then | 17:06 | |
17:06
pecastro left
|
|||
haxmeister | lot of docs that aren't clearly dated.. just trying to get a working environment to start heavy perl6 study | 17:06 | |
brokenchicken | :) | ||
17:07
pecastro joined
|
|||
haxmeister | oh I see.. won't let me save in certain places | 17:08 | |
I can save in ~ | 17:09 | ||
but not in the subfolder ~/Dropbox/perl6 | |||
17:15
khw joined
|
|||
[Coke] | brokenchicken: is there a way to tell atom to not show .git foldersd? | 17:15 | |
17:15
trnh left
|
|||
brokenchicken | [Coke]: no idea. | 17:15 | |
17:26
wamba left
|
|||
[Coke] | brokenchicken: I assume atom.io/packages/language-perl6fe is the wrong package to be using? | 17:32 | |
TimToady | re yesterday's discussion, note that you can do occasional interpolation into q:to// using \qq[$x] | 17:35 | |
17:36
setty1 joined
|
|||
TimToady | but we should also think about an option that turns q's conservative backslash policy into qq's more liberal backslash policy (that is, remove backslashes on everything, not just backslash and closing delim) | 17:37 | |
though perhaps conservative/liberal are fighting words these days... | 17:38 | ||
brokenchicken | [Coke]: that's the outdated MadcapJake's one. language-perl6 superseeds it | 17:40 | |
m: my $x = 42; q:to/\qq[$x]<foo>/.say | 17:42 | ||
camelia | rakudo-moar dd1cb5: OUTPUT«Premature heredoc consumption in block <unit> at <tmp> line 1» | ||
brokenchicken | m: my $x = 42; q/\qq[$x]<foo>/.say | ||
camelia | rakudo-moar dd1cb5: OUTPUT«42<foo>» | ||
brokenchicken | neat \o/ | ||
17:42
Cabanossi left,
perlawhi1l left
17:43
Cabanossi joined
|
|||
TimToady | or maybe Q:s should somehow know to slurp a subsequent backslash to turn off subscripting, but that seems wrongish somehow I can't put my finger on without more coffee | 17:45 | |
brokenchicken | m: my $x = 42; qq/\q[$x]<foo>/.say | 17:49 | |
camelia | rakudo-moar dd1cb5: OUTPUT«$x<foo>» | ||
brokenchicken | cool | ||
17:49
travis-ci joined
|
|||
travis-ci | Doc build errored. Antonio Quinonez 'Merge branch 'operators'' | 17:49 | |
travis-ci.org/antquinonez/doc/builds/195911920 github.com/antquinonez/doc/compare...cc0670735c | |||
17:49
travis-ci left
|
|||
TimToady | m: my $x = 42; qq/\q:s[$x]<foo>/.say | 17:58 | |
camelia | rakudo-moar 012c54: OUTPUT«42<foo>» | ||
TimToady | m: my $x = 42; qq/\qs[$x]<foo>/.say | ||
camelia | rakudo-moar 012c54: OUTPUT«42<foo>» | ||
TimToady | I guess \qs is the same length as \qq, huh | 17:59 | |
17:59
pyrimidine left
18:00
pyrimidine joined
18:06
pecastro left
18:07
pecastro joined
18:09
wamba joined
18:15
agentzh joined
18:16
pecastro left
|
|||
mspo | brokenchicken: there is a sumbol for function | 18:16 | |
18:17
pecastro joined
|
|||
mspo | the f | 18:17 | |
ƒ | |||
brokenchicken | u: ƒ | 18:18 | |
unicodable6 | brokenchicken, U+0192 LATIN SMALL LETTER F WITH HOOK [Ll] (ƒ) | ||
18:18
rba_ left
18:20
agentzh left
|
|||
TimToady thinks p7 should be pronounced "interperl" | 18:20 | ||
18:21
robertle joined
|
|||
moritz | plan 7 from outer space | 18:21 | |
TimToady | that's what the name of it is called, not how it's pronounced :) | 18:22 | |
TimToady remembers one of the reasons his younger son is named "Lewis" | 18:23 | ||
18:24
wamba left,
kigai joined
18:26
pecastro left
18:27
sena_kun left
18:37
ggoebel left
18:43
pecastro joined
18:50
ggoebel joined
18:53
agentzh joined
|
|||
brokenchicken | Is it possible to *extend* instead of redefine a token? I want to add a hyphen to <ident> token that comes from HLL::Grammar | 18:54 | |
18:54
darutoko left
|
|||
brokenchicken | hm, maybe that makes no sense /me sees how that's done in P6 | 18:55 | |
18:56
pecastro left
18:57
pecastro joined
|
|||
Geth | oc: 6f7f862196 | (Samantha McVey)++ | htmlify.p6 Make sure Proc::Async is the default so Travis CI doesn't time out Was accidentally set to the wrong default after some changes were made. |
19:01 | |
19:04
RabidGravy joined
19:05
cdg_ left
|
|||
brokenchicken | Hm. The internals course says "A QAST::Block should only ever appear once inside a QAST tree." but in the same slides there's one QAST::Block for main program's scope and another one within it for a function's block. | 19:06 | |
I guess it means a particular block should be repeated and use QAST::BVal if you wanna refer to an already existing block... | 19:07 | ||
*should not | |||
mst | that sounds like it means "Any given instance of QAST::Block should ..." | 19:08 | |
brokenchicken | Makes sense. | 19:09 | |
19:10
rba_ joined
|
|||
haxmeister | perl6 reduction operators... so beautifully lispy | 19:11 | |
[Coke] does the "update, run tests, fix things, push....fails - oh, update, start over...' dance. | 19:13 | ||
19:14
ggoebel left
|
|||
Geth | oc: 91e734664d | (Will "Coke" Coleda)++ | doc/Language/unicode.pod6 fix typos, remove trailing whitespace, use nbsp |
19:16 | |
oc: 94a5e89a5a | (Will "Coke" Coleda)++ | xt/code.pws learn new words |
|||
19:18
zakharyas joined
|
|||
mspo | perl6 should probably be called lastperl | 19:20 | |
19:21
jjido joined
|
|||
brokenchicken | lastlang | 19:23 | |
19:23
dogbert17 joined
|
|||
brokenchicken | Since it's the last language everyone will ever learn | 19:23 | |
mspo: I've used ƒ in Perl 7 instead of & to refer to functions as things :) | 19:24 | ||
mspo | when they finally throw up their hands? :) | ||
brokenchicken: good job | |||
there's a symbol for everything! | |||
19:25
cibs left
|
|||
mspo | brokenchicken: I thought the goal was to write an APL and then a J (and maybe even a K) | 19:25 | |
displaying utf8 characters is the one thing the toughbar could be good for | |||
El_Che | brokenchicken: What triggered the <sarcasm> mode? | ||
19:26
domidumont left
|
|||
mspo | although a supplemental ipad keypad seems like a nicer solution | 19:26 | |
brokenchicken | El_Che: hm? | ||
El_Che | brokenchicken: the perl7 thing | ||
brokenchicken | El_Che: a keen eye may notice the perl7 thing correlates highly with stuff done in Rakudo internals course :P | ||
19:26
ggoebel joined
19:27
cibs joined,
agentzh_ joined,
agentzh left
|
|||
brokenchicken | El_Che: but I'll also leave avaiable as curve-ball to any future "logo sucks" type of arguments vis-a-vis Perl 6 :) | 19:33 | |
El_Che | brokenchicken: reactive troll :) | 19:35 | |
19:35
jjido left
|
|||
brokenchicken | :) | 19:36 | |
19:39
pecastro left
|
|||
mspo | rakudo internals? | 19:45 | |
brokenchicken | github.com/edumentab/rakudo-and-nq...als-course | ||
19:50
lukaramu joined
|
|||
mspo | that's a super specific set of stuff :) | 19:50 | |
19:51
pecastro joined
19:55
jjido joined
19:56
Cabanossi left
19:58
Cabanossi joined
20:00
zakharyas left
20:05
raschipi joined
20:09
raschipi left
|
|||
agentzh_ | does Perl 6's Proc/run has timeout protection settings? | 20:15 | |
*have | |||
mspo | Proc::Async uses promises to do that, I think? | 20:17 | |
20:18
Tonik joined
20:19
perlawhirl left
|
|||
gfldex | agentzh_: not build in | 20:19 | |
agentzh_ | need threads for that? | 20:20 | |
20:20
ttkp6 joined
|
|||
gfldex | yes | 20:21 | |
perlpilot | ks0608.hatenablog.com/entry/2016/05/17/001826 | ||
20:21
kigai left
|
|||
mspo | nice | 20:22 | |
perlpilot | (personally, I'd probably just do the Promise.in($timeout) stuff myself since it's so simple; no need for a nice wrapper really. | ||
) | |||
agentzh_ | thanks for the pointer. | 20:23 | |
is Promise implemented as an OS thread? | 20:24 | ||
20:25
perlawhirl joined
20:26
labster joined
20:29
pyrimidine left,
pyrimidine joined
|
|||
b2gills | agentzh_: It mostly just tells the scheduler to handle `.in` github.com/rakudo/rakudo/blob/nom/...#L223-L228 | 20:30 | |
20:30
espadrine_ joined
20:33
girafe joined
20:34
pyrimidine left
|
|||
Geth | oc: 5145151b6d | (Wenzel P. P. Peppmeyer)++ | doc/Type/Promise.pod6 better example for Promise.in |
20:36 | |
gfldex | agentzh_++ | ||
agentzh_ | b2gills: thanks | 20:38 | |
gfldex: oh wow. | |||
20:38
travis-ci joined
|
|||
travis-ci | Doc build passed. Samantha McVey 'Make sure Proc::Async is the default so Travis CI doesn't time out | 20:38 | |
travis-ci.org/perl6/doc/builds/195971318 github.com/perl6/doc/compare/bd5ef...7f8621963e | |||
20:38
travis-ci left
20:49
jjido left
20:51
ugjka is now known as UgJkA
20:55
cdg joined
20:57
travis-ci joined
|
|||
travis-ci | Doc build passed. Will "Coke" Coleda 'learn new words' | 20:57 | |
travis-ci.org/perl6/doc/builds/195975836 github.com/perl6/doc/compare/6f7f8...a5e89a5ae7 | |||
20:57
travis-ci left
20:58
haxmeister left
21:09
pmurias joined
21:19
pyrimidine joined
21:22
TEttinger joined
21:23
kurahaupo__ left,
kurahaupo__ joined
21:40
avuserow left
21:41
avuserow joined
21:43
Tonik left
21:49
domidumont joined
21:52
skids left
21:53
kurahaupo__ left
21:58
cpage_ left
21:59
domidumont left,
perlawhirl left
22:05
ggoebel left
22:08
pyrimidi_ joined,
pyrimidine left
22:10
Cabanossi left
22:11
rindolf left
22:13
Cabanossi joined
|
|||
MasterDuke | u: emoji fitz | 22:14 | |
unicodable6 | MasterDuke, U+1F3FC EMOJI MODIFIER FITZPATRICK TYPE-3 [Sk] (🏼) | ||
MasterDuke, U+1F3FB EMOJI MODIFIER FITZPATRICK TYPE-1-2 [Sk] (🏻) | |||
MasterDuke, gist.github.com/403b4b6d64bec02c5e...210b13d9fe | |||
MasterDuke | .tell AlexDaniel it's not completely terrible as is. how much nqp:: is required to get that 20%? | 22:15 | |
yoleaux | MasterDuke: I'll pass your message to AlexDaniel. | ||
kybr | C« fixed-width POD text » # what's this sort of thing mean? C? | 22:18 | |
22:18
Ven joined
|
|||
brokenchicken | kybr: in HTML it'd be <code></code> | 22:20 | |
<code>fixed-width POD text</code> | |||
kybr: where did you get that from? | 22:21 | ||
22:26
ggoebel joined
22:32
Ven left
22:33
Ven joined
|
|||
RabidGravy | boom! | 22:35 | |
22:37
cpage_ joined
22:39
RabidGravy left
22:40
Ven left
22:41
Cabanossi left
22:43
Cabanossi joined
22:46
AlexDaniel joined,
bjz joined
|
|||
AlexDaniel | . | 22:47 | |
yoleaux | 22:15Z <MasterDuke> AlexDaniel: it's not completely terrible as is. how much nqp:: is required to get that 20%? | ||
AlexDaniel | MasterDuke: for example, this line github.com/perl6/whateverable/blob...le.p6#L103 turns into this: for @words -> str $word { $sieve .= grep({nqp::isge_i(nqp::index(nqp::getuniname($_), $word, 0), 0)}) }; | 22:49 | |
22:52
cale2 joined
22:58
agentzh_ left
|
|||
MasterDuke | that's not bad | 22:59 | |
kybr | brokenchicken: docs.perl6.org/language/unicode_entry C« fixed-width POD text » i still don't get it.. is C something i can look up and read about? | 23:03 | |
cale2 | Do you think Dependent types and Contracts/Guards are similar? | ||
I guess the difference is that dependent types are built in as a required system. Whereas contracts are optional | 23:04 | ||
But functionally they provide the same thing | |||
The example I see with Idris is `reverseInvolution : (xs : List a) -> reverse (reverse xs) = r` | 23:07 | ||
geekosaur | kybr, design.perl6.org/S26.html#Example_specifiers | 23:08 | |
this is not part of perl 6 code, but perl 6 documentation (POD6) | |||
cale2 | But the same in P6 is `subset ReverseInvolution of Str where { $_.reverse == $_ }` | ||
kybr | geekosaur: ooooh. i get it now. much thanks! | 23:13 | |
Geth | oc: 98c115eaad | (Zoffix Znet)++ | doc/Language/unicode_entry.pod6 Use better example To avoid confusion[^1] for those unfamiliar with POD [1] irclog.perlgeek.de/perl6/2017-01-27#i_14001058 |
23:14 | |
geekosaur | heh | ||
23:15
pmurias left
|
|||
brokenchicken | heh? :) | 23:16 | |
geekosaur | just the way you jumped on it as soon as I clarified :) | ||
brokenchicken | Nah, I jumped on it before, I was just struggling to get the code example to compile correctly :) | 23:17 | |
23:20
ufobat left
23:22
lep-delete left
23:23
agentzh joined
23:29
lep-delete joined
23:31
itcharlie1 joined
23:40
cpage_ left
23:42
AlexDaniel left
23:46
cpage_ joined
23:47
cpage_ left
23:49
pecastro left,
jraglin left
|
|||
brokenchicken | In `sub foo:sym<meow> {}` what is the `:sym<>` bit called? "The :sym<> _____ is reserved" what fits in the blank? | 23:52 | |
23:53
jraglin joined
23:55
cale2 left,
BenGoldberg joined,
pecastro joined
23:56
Cabanossi left,
raiph joined
23:57
rindolf joined,
ggoebel left
23:58
Cabanossi joined
23:59
cdg left
|