»ö« 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.
notviki Are there docs for core TAP.pm? 00:01
trying to silence it and not print anything to STDOUT
00:03 shayan_ joined
notviki the programmer had time to make dozens of roles and classes for no good reason, but didn't bother with the docs -_- 00:04
00:06 shayan_ left
notviki Fuck this 00:10
(╯°□°)╯︵ ┻━┻
notviki leaves to play video games instead
00:10 dj_goku joined, dj_goku left, dj_goku joined 00:12 girafe left 00:16 dj_goku left 00:17 pmurias left 00:22 BenGoldberg joined 00:23 lukaramu left
AlexDaniel ┬─┬ノ(º_ºノ) 00:26
keep calm :)
notviki How to make core TAP::Harness stfu? I don't want it producing any output 00:28
I see .output param that takes a handle, but giving it a fake handle still doesn't prevent output
and it's goddam spaghetty farm with all these roles and classes for a simple job.
ugexe you probably have to pass something like `class output { method print(|) { } }` 00:29
notviki still prints 00:30
This is what I got to run it: gist.github.com/zoffixznet/3470b49...4b638d9262
00:35 cdg left
notviki 41 roles and classes... God I hope that's not what normal code is supposed to look like :S 00:36
00:40 mcmillhj joined
AlexDaniel m: ["a".."z"].classify(* eq <a e i o u>.any).say 00:40
camelia rakudo-moar 4038c6: OUTPUT«{False => [a b b b b b c c c c c d d d d d e e e e f f f f f g g g g g h h h h h i i i i j j j j j k k k k k l l l l l m m m m m n n n n n o o o o p p p p p q q q q q r r r r r s s s s s t t t t t u u u u v v v v v w w w w w x x x x x y y y y y z z z z z],…»
AlexDaniel :| 00:41
jeek |:
AlexDaniel m: ["a".."z"].classify(so * eq <a e i o u>.any).say 00:43
camelia rakudo-moar 4038c6: OUTPUT«{False => [b c d f g h j k l m n p q r s t v w x y z], True => [a e i o u]}␤»
00:45 mcmillhj left
notviki Well, I succeeded... by wrapping $*OUT.print and then unwrapping it after harness is done... 00:45
00:46 newbie1 left 00:49 cibs left 00:51 cibs joined, mcmillhj joined
notviki ....and that doesn't work when you `use Test` 00:52
00:55 BenGoldberg left, mcmillhj left 00:56 TheDir joined
dalek rl6-most-wanted: 8c6fba8 | (Tom Browder)++ | most-wanted/modules.md:
add Postscript
00:57
01:04 skids joined 01:07 mcmillhj joined 01:12 mcmillhj left 01:13 SmokeMachine left, clkao left, peteretep left, xfix left, chee left, SCHAAP137 left, ssm left, sergot left, huf left, DrForr left, PerlJam left, garu left, risou___ left, zacts left 01:14 ilogger2_ joined 01:15 plicease joined, mephinet joined 01:16 john51 joined, Guest1165 joined, chee joined, nightfrog joined, ssm joined, Guest1165 left, BuildTheRobots left 01:17 xfix joined 01:18 aborazmeh joined, aborazmeh left, aborazmeh joined 01:19 tony-o joined 01:20 peteretep joined 01:24 pnu_ joined, parisba joined, isacloud joined 01:25 jnap_ joined, chansen_ joined, ggherdov joined, ggherdov left, zostay joined 01:26 mrsolo joined, ggherdov joined 01:27 PotatoGim joined 01:32 aborazmeh left, kipd joined 01:33 timeless joined 01:37 clkao joined
notviki my final workaround: gist.github.com/zoffixznet/d664494...795a36b1b0 01:38
Hopefully Leont replies to my tweek with surprise docs.
*tweet
01:43 aborazmeh joined, aborazmeh left, aborazmeh joined, BuildTheRobots joined 01:44 aborazmeh left, SmokeMachine joined
dalek osystem: a74d748 | (brad clawsie)++ | META.list:
add Net::IP::Parse to ecosystem. See github.com/bradclawsie/Net-IP-Parse
01:45
osystem: 251cc4b | (Zoffix Znet)++ | META.list:
Merge pull request #280 from bradclawsie/master

add Net::IP::Parse to ecosystem. See github.com/bradclawsie/Net::IP::Parse
notviki .tell ugexe TAP::Harness fixed in github.com/rakudo/rakudo/commit/b120ac401a0795f Unless it's already done, can you tak on :auth<perl> on use TAP to ensure if someone installs TAP::Harness from ecosystem, it doesn't get loaded instead (or whatever method there is to assure that) 01:51
ROBOT!
yoleaux notviki: I'll pass your message to ugexe.
01:54 aborazmeh joined, aborazmeh left, aborazmeh joined 01:58 dj_goku joined, aborazmeh left 02:03 dj_goku left, perigrin joined 02:04 Bucciarati joined 02:08 bpmedley joined 02:09 felher joined
AlexDaniel mch: my @array[2;2;2]; for @array.pairs { say .perl } 02:13
committable6 AlexDaniel, ¦«2015.12,HEAD»: ((0, 0, 0)) => Any␤((0, 0, 1)) => Any␤((0, 1, 0)) => Any␤((0, 1, 1)) => Any␤((1, 0, 0)) => Any␤((1, 0, 1)) => Any␤((1, 1, 0)) => Any␤((1, 1, 1)) => Any
AlexDaniel :O
bisect: old=HEAD~300 my @array[2;2;2]; for @array.pairs { say .perl }
bisectable6 AlexDaniel, Bisecting by output (old=HEAD~300 new=b120ac4) because on both starting points the exit code is 0
AlexDaniel, bisect log: gist.github.com/c0892ad4083a2a78c7...779af56b6a
AlexDaniel, (2016-12-29) github.com/rakudo/rakudo/commit/dc...691b2a876c
AlexDaniel notviki: so… yea… Mu or Any? I have no idea. 02:14
m: say (Mu, Any).pick
camelia rakudo-moar b120ac: OUTPUT«(Mu)␤»
AlexDaniel m: say (Mu, Any).pick
camelia rakudo-moar b120ac: OUTPUT«(Mu)␤»
AlexDaniel m: say (Mu, Any).pick
camelia rakudo-moar b120ac: OUTPUT«(Any)␤»
AlexDaniel mch: my @array[2;2;2]; for @array.kv { say .perl } 02:15
committable6 AlexDaniel, ¦«2015.12»: (0, 0, 0)␤Any␤(0, 0, 1)␤Any␤(0, 1, 0)␤Any␤(0, 1, 1)␤Any␤(1, 0, 0)␤Any␤(1, 0, 1)␤Any␤(1, 1, 0)␤Any␤(1, 1, 1)␤Any␤¦«HEAD»: (0, 0, 0)␤Mu␤(0, 0, 1)␤Mu␤(0, 1, 0)␤Mu␤(0, 1, 1)␤Mu␤(1, 0, 0)␤Mu␤(1, 0, 1)␤Mu␤(1, 1, 0)␤Mu␤(1, 1, 1)␤Mu
AlexDaniel but here it's Mu!!
/o\ NOoooooooooooooooooooo
m: class Str {}; say "hi" 02:19
camelia rakudo-moar b120ac: OUTPUT«===SORRY!===␤This type cannot box a native string: P6opaque, Str␤»
02:25 mcmillhj joined 02:29 mcmillhj left 02:36 Actualeyes joined
timotimo bool array_key_exists ( mixed $key , array $array ) 02:45
it's quite logical that it'd be ordered array ... key ... key ... array 02:46
02:47 ilbot3 joined 02:57 mcmillhj joined 03:00 aborazmeh joined, aborazmeh left, aborazmeh joined 03:04 BenGoldberg joined 03:13 aborazmeh left
dalek whateverable: 95a0567 | (Aleks-Daniel Jakimenko-Aleksejev)++ | / (3 files): 03:17
whateverable: Add a bunch of shortcuts for bots
whateverable:
whateverable: Most people probably won't need these. This is for those who
whateverable: constantly work with these bots.
AlexDaniel dalek :P
03:18 dalek joined, ChanServ sets mode: +v dalek
AlexDaniel oops 03:19
03:19 xtreak joined
AlexDaniel just said in the commit message that the user is “he”… I'll go prepare a guillotine for myself 03:20
03:21 aborazmeh joined, aborazmeh left, aborazmeh joined 03:22 mcmillhj left 03:23 bwisti joined 03:32 dj_goku joined, aborazmeh left 03:35 aborazmeh joined, aborazmeh left, aborazmeh joined 03:48 aborazmeh left 03:51 aborazmeh joined, aborazmeh left, aborazmeh joined 03:59 mawkish_ joined
samcv AlexDaniel, zero'd graphs? 04:01
AlexDaniel, do you really want to go all the way to 0x10FFFF 04:03
the last real one is E01EF
then there's a bunch of private use planes 04:04
m: Uni.new(0x100000).uniname.say
camelia rakudo-moar b120ac: OUTPUT«No such method 'uniname' for invocant of type 'Uni'␤ in block <unit> at <tmp> line 1␤␤»
AlexDaniel m: say 0x10FFFF - 0xE01EF
camelia rakudo-moar b120ac: OUTPUT«196112␤»
samcv m: Uni.new(0x100000).Str.uniname.say
camelia rakudo-moar b120ac: OUTPUT«<Plane 16 Private Use>␤»
AlexDaniel m: say 0x10FFFF
camelia rakudo-moar b120ac: OUTPUT«1114111␤»
AlexDaniel m: say (0x10FFFF - 0xE01EF)/0x10FFFF
camelia rakudo-moar b120ac: OUTPUT«0.17602555␤»
AlexDaniel “speed up unicodable by 17.6%”? :) 04:05
samcv what by only going to E01EF :P
also you could skip some extra ranges as well
AlexDaniel samcv: I think the right way to do it is to go through the whole range once and only save stuff that makes sense
e.g. no private ranges, no deprecated stuff 04:06
samcv oh like generate one range object thingy. so you check all the codepoints and just when doing search and lookup only go throuhg ones that are normally
AlexDaniel samcv: perhaps if /somebody/ gave me a list of unicode properties I should look for to filter out stuff… :)
samcv i know nothing of such things! 04:07
AlexDaniel statisfiable6: help
statisfiable6 AlexDaniel, Available stats: core (CORE.setting size), install (size of the whole installation), …
samcv give me a few mins to think of some things
AlexDaniel statisfiable6: core0
statisfiable6 AlexDaniel, OK! Working on it…
AlexDaniel ↑ “zeroed” graphs
where Y starts at 0
04:08 shayan_ joined
AlexDaniel statisfiable6: install0 04:08
statisfiable6 AlexDaniel, OK! Working on it…
AlexDaniel :O
samcv AlexDaniel, ok you want to filter out 'Co' general category (this is private use) and 'Cn' which is not assigned 04:09
AlexDaniel what about deprecated stuff?
samcv Cs which is surrogates for utf-16
like?
i don't think there's a depreciated unicode property idk
AlexDaniel stuff that turns into other stuff after normalization 04:10
samcv i can check though
oh.
ok things that are NFC_QC = No
but. uhm 04:11
some things after normalization become multiple glyphs... so pleoase don't do that
would miss some things
ok looks like there is a depreciated property will check on if we support this so far
AlexDaniel oh dear… 04:12
samcv u: angstrom 04:13
unicodable6 samcv, U+212B ANGSTROM SIGN [Lu] (Å)
04:13 statisfiable6 joined
AlexDaniel statisfiable6: core 04:13
statisfiable6 AlexDaniel, OK! Working on it…
samcv m: "Å".ords.say
camelia rakudo-moar b120ac: OUTPUT«(197)␤»
samcv ok that one doesn't decompose into multiple but
there is 197 which is A with ring 04:14
but i'm sure there are some
AlexDaniel aaaaaaaaaahhh right, statisfiable generates stuff on the fly 04:15
04:15 mawkish_ left
samcv m: Uni.new(0x0149).Str.say 04:15
camelia rakudo-moar b120ac: OUTPUT«ʼn␤»
AlexDaniel so if you don't call it often enough then it will take some time…
samcv heh
04:15 mawkish_ joined
samcv m: Uni.new(0x0149).Str.ords.».base(16) 04:15
camelia ( no output )
samcv m: Uni.new(0x0149).Str.ords.».base(16).say
AlexDaniel you guys commit too much stuff!
camelia rakudo-moar b120ac: OUTPUT«(149)␤»
samcv hmm ok that's depreciated but doesn't decompose to anything it looks like 04:16
it's LATIN SMALL LETTER N PRECEDED BY APOSTROPHE
AlexDaniel u: U+0149
unicodable6 AlexDaniel, U+0149 LATIN SMALL LETTER N PRECEDED BY APOSTROPHE [Ll] (ʼn)
samcv m: "ʼn".uniprop('Depreciated').say
camelia rakudo-moar b120ac: OUTPUT«0␤»
samcv hmm
AlexDaniel m: "ʼn".uniprop('Deprecated').say 04:17
camelia rakudo-moar b120ac: OUTPUT«True␤»
samcv did i mispell
yeah haha
AlexDaniel so should unicodable ignore these characters?
samcv but there's only like not very many depreciated
like 20
AlexDaniel u: { .uniprop('Deprecated') }
samcv err actually exactly 15
AlexDaniel well let's see
unicodable6 AlexDaniel, U+0F77 TIBETAN VOWEL SIGN VOCALIC RR [Mn] (◌ཷ) 04:18
AlexDaniel, U+0149 LATIN SMALL LETTER N PRECEDED BY APOSTROPHE [Ll] (ʼn)
AlexDaniel, U+0673 ARABIC LETTER ALEF WITH WAVY HAMZA BELOW [Lo] (ٳ)
AlexDaniel, gist.github.com/663230e538735c72c3...ca73bcc61f
samcv AlexDaniel, can you make unicodable6 say the number found on the gist line please?
"Found 15 gist etc "
04:18 Resol joined
samcv m: '􏿽xE2􏿽x8C􏿽xA9'.uniprop('Bidi_Mirroring_Glyph').say 04:19
camelia rakudo-moar b120ac: OUTPUT«〉␤»
samcv that is a depreciated angle bracket. dunno what replaced it
AlexDaniel I'll do it right now but here is the ticket: github.com/perl6/whateverable/issues/88
samcv u: angle bracket
unicodable6 samcv, U+2329 LEFT-POINTING ANGLE BRACKET [Ps] (〈)
samcv, U+232A RIGHT-POINTING ANGLE BRACKET [Pe] (〉)
samcv, U+276C MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT [Ps] (❬)
samcv, gist.github.com/7977b4f2b47ae4a7c5...879677c20b
TEttinger hehe you keep saying depreciated
it's funny because it makes more sense 04:20
samcv does it.
that's how i say it at least
depree-see-ated, not dep-rik-ated 04:21
TEttinger I've never heard deprecated outside of the context of code or "self-deprecating humor", despite it being the term used here, but you hear about financial depreciation all the time, where depreciation is loss of value
samcv ah
04:21 aborazmeh left
samcv depreciate means diminish in value over a period of time. 04:21
TEttinger yep
samcv depricate: . 04:22
express disapproval of.
so i guess they are sorta interchangeable for this use
well they are similar at least
things can be depricated and or depreciated
TEttinger "hyperinflation caused the rapid depreciation of the Weimar Repblic's currency"
*Republic's
AlexDaniel samcv: ah, that requires more than a 1-minute hack. Gisted stuff is created automatically and it won't be extremely easy to add a number there
but I'll get to it
samcv i guess deprecated is 'they still work but you are asked not to use it' and depreciated 'its functionality is not as good as it used to' 04:23
or something
but i guess deprication is more commonly used
An example in hardware design is omission of pull-up resistors on unused inputs to a logic gate. This practice may have been acceptable in the past, but becomes deprecated because faster clock speeds are likely to induce more transient noise on input lines, causing hardware glitches or malfunctions. 04:24
^ sounds like depreciation and deprecation at the same time
TEttinger samcv: a similar case is the word "mischievous"; most people pronounce it with an extra syllable, i.e. "miss chee vee us", despite there being no viable "vee" syllable in spelling. the word is properly like "mischief", plus "ous", with the f changed to v 04:25
samcv yeah
TEttinger especially since there's a legitimate word that means almost the exact same thing, it's hard to distinguish 04:26
samcv i'm sure deprecation and depreciate come from the same root work
TEttinger (spell check is not going to suggest one over the other)
samcv yeah
TEttinger I mean, it could be worse. it could be French, with something like 5+ words all pronounced identically but spelled differently 04:27
samcv heh
AlexDaniel statisfiable6: core 04:29
statisfiable6 AlexDaniel, OK! Working on it…
samcv ok time to PR moar changes to fixlike 700 emoji tests :)
still need to nail down how we will implement uniname with that. i think atm 1 name = 1 codepoint
though i guess that codepoint could decompose or something. idk maybe we can make synthetics that decompose to that 04:30
or that might make things confusing idk jnthn should know more on how best to do that part
fixes another 2 grapheme break tests from unicode 9. so we're down to only 7 failing out of the thousand or so 04:31
those last 7 will need to save state across characters to implement
and should at least be done before unicode 10
ideally but i should probably have that done by then
statisfiable6, why so slow? 04:32
statisfiable6 samcv, Huh? Available stats: core (CORE.setting size), install (size of the whole installation), …
04:32 mawkish_ left 04:33 mawkish_ joined
TEttinger a ha, french word for green, vert, has homophones: ver, verre, verres, vers, verts, vair, vaire 04:34
04:34 wamba joined
TEttinger nice work on unicode support, samcv! 04:35
samcv thanks :)
There is no system but Unicode, and UTF-8 is one of its encodings. 04:36
all hail the church of unicode
also www.unicode.org/notes/tn39/ 04:37
TEttinger The sun is not doing Unicode is doing
samcv — So is the Arabic U+FDE3 ﷣ ORNATE LEFT PARENTHESIS a bracket, too?
No.
— Why not?
Because I said so.
— How about quotation marks? They come in pairs and enclose stuff inside, separating it from all the stuff outside. Some of them, like that French thingie ‹ even look like brackets.
No, they aren't "brackets", either.
heh
i'm sure there's a good reason they are not brackets. or something 04:38
there usually is
[Coke] .u { .uniname ~~ /SUPER/ }
yoleaux U+0020 SPACE [Zs] ( )
U+002E FULL STOP [Po] (.)
U+002F SOLIDUS [Po] (/)
samcv what
super? 04:39
04:39 mawkish_ left
samcv also wait why did yoleaux say that 04:39
04:39 mawkish_ joined
[Coke] u: { .uniname ~~ /SUPER/ } 04:39
unicodable6 [Coke], U+00B9 SUPERSCRIPT ONE [No] (¹)
[Coke], U+00B2 SUPERSCRIPT TWO [No] (²)
[Coke], U+00B3 SUPERSCRIPT THREE [No] (³)
[Coke], gist.github.com/f5962398b2a0cfef0e...d42fbf7fc4
04:43 mawkish_ left
AlexDaniel hehe, undocumented feature 04:43
committable6: balls say 42
04:43 mawkish_ joined
committable6 AlexDaniel, gist.github.com/243d202865e9819e0b...40b694b9e1 04:44
timotimo just saw a short overview video about Telemetry, and moar should get something like that. we'd call it ... 04:45
Telemehtry
or maybe Telemehtrie
on that note
timotimo disappears to bed
[Coke] samcv: yoleaux was just doing it char by char.
samcv ah 04:46
AlexDaniel .u SUPER
samcv still creepy
yoleaux U+00B2 SUPERSCRIPT TWO [No] (²)
U+00B3 SUPERSCRIPT THREE [No] (³)
U+00B9 SUPERSCRIPT ONE [No] (¹)
samcv having yoleaux do it and not unicodable6
AlexDaniel unicodable6 will only answer .u if yoleaux is not on the channel :P 04:47
samcv ah
ok
it still is weird even though I know they're bot's
let me at least suspend my disbelief that they are infact different bots :D 04:48
04:48 mawkish_ left 04:49 mawkish_ joined
samcv u: { .uniprop('Emoji_Presentation')} 04:49
i think we have this one
unicodable6 samcv, U+231A WATCH [So] (⌚) 04:50
samcv, U+231B HOURGLASS [So] (⌛)
samcv, U+23E9 BLACK RIGHT-POINTING DOUBLE TRIANGLE [So] (⏩)
samcv, gist.github.com/210863e9281ba71977...49938f088e
samcv ok good
IIRC these are things that can be viewed as "Emoji" vs text based. for example there's emoji presentation variation selectiors and a text one if you want it to display as text and not as a fancy emoji
something like that 04:51
04:53 mawkish_ left
[Coke] u: { .uniname ~~ /CIRCLED/ } 04:53
unicodable6 [Coke], U+2295 CIRCLED PLUS [Sm] (⊕)
[Coke], U+2296 CIRCLED MINUS [Sm] (⊖)
[Coke], U+2297 CIRCLED TIMES [Sm] (⊗)
[Coke], gist.github.com/9252f08ba640f0d9fb...c1c6d38bce
04:53 mawkish_ joined 04:56 committable6 joined, ChanServ sets mode: +v committable6
perlpilo1 u: brakcet 04:56
unicodable6 perlpilo1, U+FE18 PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET [Pe] (︘)
AlexDaniel :O 04:57
WHAT
04:57 mawkish_ left
AlexDaniel is it a word? 04:57
04:57 mawkish_ joined
perlpilot_ A typo that is still part of the unicode standard 04:58
AlexDaniel :o
04:58 aindilis joined
perlpilot_ It makes me smile for some reason 04:58
AlexDaniel anyway, I wanted to show something
committable6: balls say 42 04:59
committable6 AlexDaniel, ¦«balls»: Cannot find this revision (did you mean “all”?)
AlexDaniel committable6: 2015.12: say 42
committable6 AlexDaniel, ¦«2015.12:»: Cannot find this revision (did you mean “2015.12”?)
AlexDaniel committable6: 2018.05: say 42
committable6 AlexDaniel, ¦«2018.05:»: Cannot find this revision (did you mean “2016.05”?)
AlexDaniel committable6: колед say 42
committable6 AlexDaniel, ¦«колед»: Cannot find this revision (did you mean “0.475”?)
AlexDaniel what?
ignore that bit…
committable6: 120ac40 say 42 05:00
committable6 AlexDaniel, ¦«120ac40»: Cannot find this revision (did you mean “b120ac4”?)
AlexDaniel committable6: say 42
committable6 AlexDaniel, Seems like you forgot to specify a revision (will use “v6.c” unstead of “say”)
AlexDaniel, ¦«2015.12,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07.1,2016.08.1,2016.09,2016.10,2016.11,2016.12,HEAD»: 42
AlexDaniel :)
samcv u: ¦
unicodable6 samcv, U+00A6 BROKEN BAR [So] (¦)
samcv what is the point of the broken bar
also where is the code for this 05:01
m: my $var = '1'; say $va
camelia rakudo-moar b120ac: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Variable '$va' is not declared␤at <tmp>:1␤------> 3my $var = '1'; say 7⏏5$va␤»
samcv err. it probably said it lower down if i meant $var
would like to use unicmp_s with that
if we even do any non literal checking? 05:02
either way i want to look :P
MasterDuke samcv: github.com/rakudo/rakudo/blob/nom/...ld.nqp#L58 05:03
AlexDaniel MasterDuke: cool, right? If only I knew where this 0.475 is coming from :D
MasterDuke AlexDaniel: yeah, and that's certainly weird 05:04
samcv: there are a bunch of suggest_* methods in World that use that levenshtein implementation 05:05
samcv ok so it doesn't seem unicmp would really help since it doesn't compare them really just removes one letter or adds 05:07
05:07 statisfiable6 left
[Coke] ooh. can we get something like "\c[BORKEN BAR] 05:07
" -> did you mean "\c[BROKEN BAR]" ?
samcv would be neat 05:08
05:08 statisfiable6 joined
AlexDaniel statisfiable6: core 05:08
statisfiable6 AlexDaniel, OK! Working on it…
AlexDaniel, gist.github.com/8ff4e5335e6fb02416...a00f7c5ad2 05:10
AlexDaniel statisfiable6: install
statisfiable6 AlexDaniel, OK! Working on it…
AlexDaniel \o/
05:10 BenGoldberg left
statisfiable6 AlexDaniel, gist.github.com/e415da895ded0d6c28...167f28a7ef 05:11
AlexDaniel commit: 0.475 say 42 05:13
committable6 AlexDaniel, ¦«0.475»: Cannot find this revision (did you mean “0.334”?)
AlexDaniel commit: 0.334 say 42
committable6 AlexDaniel, ¦«0.334»: Cannot find this revision (did you mean “0.479”?)
AlexDaniel xD
05:13 BenGoldberg joined
AlexDaniel committable, stop playing games with me! 05:13
committable6 AlexDaniel, ¦«stop»: Cannot find this revision (did you mean “Oslo”?)
AlexDaniel committable, Oslo say 42
committable6 AlexDaniel, ¦«Oslo»: No build for this commit
AlexDaniel that's how robot uprising will look like 05:14
05:16 aries_liuxueyang joined 05:18 Ben_Goldberg joined, BenGoldberg left, Ben_Goldberg is now known as BenGoldberg
samcv haha AlexDaniel 05:21
wtf
what is it using ty try and guess?
AlexDaniel list of all tags, list of all commits since 2015.12 and some extra options like “all”, “v6.c” and “HEAD” 05:22
should I limit it to useful tags only? 05:23
samcv ah like only the ones it has commits for? 05:24
AlexDaniel yea
samcv well at least for suggesting things sure
commit: foobar say 'hi'
committable6 samcv, ¦«foobar»: Cannot find this revision (did you mean “Sonoma”?)
AlexDaniel I'm not so sure, I find it hilarious
samcv sure why not sonoma
it is great :)
commit: Sonoma say 'hi'
committable6 samcv, ¦«Sonoma»: No build for this commit
samcv did you change something? 05:25
AlexDaniel no
samcv idk i have part messages hiden
AlexDaniel hmmm?
samcv commit: 6.Ⓒ say 'hi'
committable6 samcv, ¦«6.Ⓒ»: Cannot find this revision (did you mean “0.4”?)
samcv sure why not 0.4
AlexDaniel xDDD 05:26
but that's a bug I'm trying to fix right now
samcv ah
AlexDaniel commit: 6.Ⓒ say 'hi'
committable6 AlexDaniel, ¦«6.Ⓒ»: Cannot find this revision (did you mean “0.6”?)
AlexDaniel commit: 6.Ⓒ say 'hi'
committable6 AlexDaniel, ¦«6.Ⓒ»: Cannot find this revision (did you mean “0.4”?)
AlexDaniel commit: 6.Ⓒ say 'hi'
committable6 AlexDaniel, ¦«6.Ⓒ»: Cannot find this revision (did you mean “0.5”?)
samcv hahaha
commit: commit say 'hi'
committable6 samcv, ¦«commit»: Cannot find this revision (did you mean “Sonoma”?)
05:26 wamba left 05:27 Resol left
samcv got my compose file into linguist for github which is kinda cool. not sure they would accept it because it's not really a language 05:27
it's a config file
05:35 nightfrog left 05:37 xtreak left 05:38 xtreak joined 05:42 shayan_ left 05:44 shayan_ joined 05:51 Tonik joined 05:52 Cabanossi joined, cibs joined 05:54 committable6 left, committable6 joined, ChanServ sets mode: +v committable6
AlexDaniel commit: 6.Ⓒ say 'hi' 05:54
committable6 AlexDaniel, ¦«6.Ⓒ»: Cannot find this revision (did you mean “v6.c”?)
AlexDaniel commit: foobar say 'hi'
committable6 AlexDaniel, ¦«foobar»: Cannot find this revision (did you mean “Sonoma”?) 05:55
AlexDaniel samcv: still Sonoma, but at least no more bugs :)
samcv yay
commit: c.6 say 'hi'
committable6 samcv, ¦«c.6»: Cannot find this revision (did you mean “0c6”?)
samcv why yes i meant 0c6
is that even a thing
AlexDaniel hmmmmm, kind of…
commit: oc6 say 'hi' 05:56
committable6 AlexDaniel, ¦«oc6»: Cannot find this revision (did you mean “0c6”?)
AlexDaniel commit: 0c6 say 'hi'
committable6 AlexDaniel, ¦«0c6»: Cannot find this revision (did you mean “0c6”?)
AlexDaniel *facepalm*
05:56 committable6 left 05:58 committable6 joined, ChanServ sets mode: +v committable6
AlexDaniel commit: c.6 say 'hi' 05:58
committable6 AlexDaniel, ¦«c.6»: Cannot find this revision (did you mean “v6.c”?)
AlexDaniel :)
commit: c6 say 'hi' 05:59
committable6 AlexDaniel, ¦«c6»: Cannot find this revision (did you mean “ZA”?)
AlexDaniel … what is ZA
oh, alright, that's one of the tags!
samcv hm 06:00
commit: 5 say 'hi' 06:01
committable6 samcv, ¦«5»: Cannot find this revision (did you mean “ZA”?)
samcv wut
totally
not even a number
06:10 revere joined
AlexDaniel samcv: it's just the shortest thing it could find, so arguably that's a good suggestion :) 06:12
06:15 bwisti left
samcv heh 06:18
commit: 6 say 'hi'
committable6 samcv, ¦«6»: Cannot find this revision (did you mean “ZA”?)
AlexDaniel commit: 666 say 'hi'
committable6 AlexDaniel, ¦«666»: Cannot find this revision (did you mean “v6.c”?)
AlexDaniel ;)
“Show of hands: Who is reasonably sure, without testing it or looking it up, which of the following four expressions it corresponds” 06:19
oh, I love these games! 06:20
samcv where did that text come from
AlexDaniel rt.perl.org/Ticket/Display.html?id=130520 06:21
06:21 cibs left 06:23 cibs joined
samcv so it does flat.map? 06:23
AlexDaniel no 06:24
samcv it is nodal 06:25
AlexDaniel .map(…).flat I guess
samcv SourceBaby, .flatmap
AlexDaniel s: \(), 'flatmap'
SourceBaby AlexDaniel, Something's wrong: ␤ERR: Type check failed in binding to &code; expected Callable but got Method+{<anon|73774800>} (Method+{<anon|7377480...)␤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42␤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33␤ in block <unit> at -e l 06:26
samcv what
AlexDaniel s: \(), 'flatmap', \({;})
SourceBaby AlexDaniel, Ehhh... I'm too scared to run that code.
samcv ok it does map….flat
scared? or too lazy? 06:27
MasterDuke github.com/rakudo/rakudo/blob/nom/...ds.pm#L799
samcv yeah looking at it now
AlexDaniel MasterDuke: didn't you go to bed?
c: all say ((1, 2), <a b>).flatmap(&uc).join(‘|’); 06:28
committable6 AlexDaniel, gist.github.com/bd32d9ec07890eabdb...715bdacd2a
AlexDaniel c: all say ((1, 2), <a b>).flatmap(&uc).join('|'); 06:29
MasterDuke i meant to, but perl 6 is fun. and, likewise?
committable6 AlexDaniel, gist.github.com/20a53e8dc1a961c1a0...caaa74f978
AlexDaniel I thought that I'll just check my email before leaving…
and there was this ticket…
MasterDuke well i'm definitely slowing down now, later all... 06:31
AlexDaniel ah shit. I'll have to receive a parcel in 5 minutes 06:32
by the way
commit: pre-glr,HEAD say ((1, 2), <a b>).flatmap(&uc).join('|'); 06:33
committable6 AlexDaniel, ¦«pre-glr»: 1|2|A|B␤¦«HEAD»: 1 2|A B
AlexDaniel :|
commit: pre-glr,HEAD say ((1, 2), <a b>).map(&uc).join('|');
committable6 AlexDaniel, ¦«pre-glr,HEAD»: 1 2|A B
AlexDaniel WHAT'S THE POINT THEN
samcv also why do our docs have to have terrible page names
AlexDaniel it looks like a pre-glr wart
samcv …/$COLON$COLON$THINGY
that's totally un-needed
AlexDaniel giggles
samcv docs.perl6.org/type/IO$COLON$COLONPath 06:36
heh
docs.perl6.org/type/IO::Path#index-entry-%3Arw going here works tho
$c->req->url->path( $c->req->url->path =~ s/::/\$COLON\$COLON/gr ) 06:37
samcv :(
AlexDaniel samcv: first of all, the whole thing right now is statically generated 06:40
samcv yeah
but what part of it does that
at least htmlify.p6 doesn't seem to 06:41
but i see it in the .pl file that i think acts as a server or some-such
AlexDaniel samcv: so the idea is that we have to escape some of them anyway… 06:44
for example, what should we do with leading dots?
as in docs.perl6.org/routine/$FULL_STOP$FULL_STOP%5E 06:45
06:46 bjz joined
samcv heh urban dictionary is blocked here "This site was categorized in: Humor, Research/Reference, Adult Themes" 06:47
funny
06:47 shayan_ left 06:49 Wanderer68 joined 06:51 RabidGravy joined 06:55 brrt joined 07:02 labster joined, cpage_ joined 07:03 nightfrog joined 07:04 bjz left
samcv github.com/showcases/programming-l...es?s=stars github's has languages which have less stars than rakudo :( 07:10
Sad!
we have like 800 stars and gosu-lang has only 169
07:10 shayan_ joined
brrt and swift has a billion stars, and it sucks, so whats your point :-P 07:11
samcv also can somebody with admin powers github.com/rakudo/rakudo Rakudo Perl — Perl 6 on MoarVM and the JVM rakudo.org/
use an M-dash here instead of two hyphen-minus's
brrt (i know, i know, swift probably doesn't suck, it did make me frown a bit when it was first introduced, but it's a very reasonable, dare i say corporate compromise between design constraints) 07:12
TIL: Cisco maintains ChezScheme 07:13
samcv u: horizontal bar 07:14
unicodable6 samcv, U+2015 HORIZONTAL BAR [Pd] (―)
samcv, U+21EC UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR [So] (⇬)
samcv, U+22F3 ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE [Sm] (⋳)
samcv, gist.github.com/a9cb56e1deafb15772...831ecf56ab
samcv that or horizontal bar, which is used for like quotations and things
Perl 6 is the best! ― samcv
07:14 xtreak left 07:16 bjz joined 07:17 xtreak joined
RabidGravy there's a ready supply of Apple fanatics who will readily "like" something made by Apple however shit it might seem to the rest of humanity 07:18
samcv it has a cool name tho 07:19
chee TEttinger: what did you call me 07:21
BenGoldberg rakudo has one more star now than it did a minute ago ;)
Say, is there anyone here who hasn't *-ed rakudo? 07:22
RabidGravy probably 07:23
TEttinger oh, heh. chee, i was spelling out the mispronounciation of mischievous
RabidGravy apparently I hadn't :)
samcv heh
moritz \o 07:24
samcv waves
07:28 BenGoldberg left 07:34 darutoko joined 07:35 aries_liuxueyang left 07:37 cpage_ left 07:39 cpage_ joined
moritz particles 07:39
07:40 xtreak left 07:42 xtreak joined 07:48 cpage_ left 07:49 Actualeyes left, cpage_ joined 07:51 nightfrog left 07:52 Actualeyes joined 07:55 brrt left 08:05 cpage_ left 08:08 astj joined 08:12 darutoko left 08:14 committable6 left, statisfiable6 left 08:16 bjz left, bhm joined 08:20 Actualeyes left 08:21 Wanderer68 left, TEttinger joined 08:22 brrt joined, Actualeyes joined 08:24 shayan_ left, Cabanossi left 08:27 kybr joined, zb joined 08:28 bpmedley left, dustinm` joined 08:29 cpage_ joined, stux|RC-only joined 08:31 revere left, [particle] left, cibs left 08:33 atta joined 08:34 BuildTheRobots left, ggherdov left, timeless left 08:35 mrsolo left, PotatoGim left, bjz joined 08:37 mawkish__ joined, mawkish_ left, cibs joined, matt_ joined, MasterDuke joined, [particle] joined, tbrowder joined, ilmari joined, Gothmog_ joined, ccakes joined, setty1 joined, olinkl joined, xiaomiao joined, avalenn joined, mst joined, romrador joined, camelia joined, nine joined, nebuchadnezzar joined, MilkmanDan joined, Alikzus joined, drrho joined, erdic joined, obra joined, forkbomb joined, webstrand joined, jantore joined, rightfold joined, vike joined, kmwallio joined, b2gills joined, bitmap joined, captain-adequate joined, stmuk joined, Woodi joined, ShoaibJahejo joined, adhoc joined, UgJkA joined, Charlie joined, saki_ joined, kshannon_ joined, Praise joined, ambs joined, profan joined, pochi joined, mspo joined, eyck joined, japhb joined, spider-mario joined, moon.freenode.net sets mode: +v camelia, ponbiki joined, jkva joined, go|dfish joined, kent\n joined, zoosha_ joined, eater joined, freeze joined, Unavowed joined, El_Che joined, diego_k joined, SHODAN joined, Possum joined, sunnavy joined, Hotkeys joined, ilbelkyr joined, Spot__ joined, yeltzooo joined, mniip joined, gfldex joined, salparadise joined, charsbar______ joined, alnewkirk joined, raydiak joined, mtj_ joined, dontbe^2 joined, cosimo_ joined, dudz joined, adrusi joined, dylanwh joined, mithaldu_ joined, TeamBlast joined, BinGOs joined, mindos joined, amalia__ joined, inokenty joined, cxreg joined, notbenh_ joined, eythian joined, musca joined, jonadab joined, Kaffe joined, broquaint joined, roguelazer joined, moritz joined, rjbs joined, jnthn joined, Util joined, luis joined, kst joined, JimmyZ joined, jervo joined 08:38 ingy joined
gfldex .tell samcv the URL rewriting happens at the top of lib/Pod/Htmlify.pm6 and is done that way because of NTFS. 08:38
yoleaux gfldex: I'll pass your message to samcv.
samcv hm
yoleaux 08:37Z <gfldex> samcv: the URL rewriting happens at the top of lib/Pod/Htmlify.pm6 and is done that way because of NTFS.
08:38 avuserow joined
samcv then can't you just use html entities 08:39
08:39 revere joined, vytas joined, Cabanossi joined
samcv or at least have the links, link for : instead of $COLON? 08:40
like on the docs' pages
since obviously you can use the verbatim ones in the address bar
08:40 Spot__ left
samcv or maybe only do that for building on windows or something 08:40
08:41 nowan joined 08:42 peteretep left, timeless joined 08:43 tomaw joined 08:44 sivoais joined 08:45 mrsolo joined 08:47 w4and0er96 joined, PotatoGim joined 08:49 ggherdov joined 08:51 peteretep joined
gfldex samcv: check on OS is an option. Not sure what happens when you try to save a file with a colon locally or if there are problems with printing. 08:56
i will give it a try
08:56 zakharyas joined
samcv printing? 08:56
08:56 ggherdov left
samcv like to the console? 08:56
gfldex printing like on dead trees (and yes, there may be bugs) 08:57
08:58 ggherdov joined
gfldex what does $*KERNEL say on windows? 08:58
08:59 Spot__ joined
samcv you can just check $*DISTRO.is-win or something i think 08:59
yeah that's it 09:00
not sure what it says on windows though
m: warn
camelia rakudo-moar b120ac: OUTPUT«Warning: something's wrong␤ in block <unit> at <tmp> line 1␤»
samcv can that be changed to: Warning: something’s wrong
with a proper apostrophe 09:01
u: apostrophe 09:02
lame unicodable
09:05 xtreak left
dalek href="https://perl6.org:">perl6.org: 3f9216e | (Naoum Hankache)++ | includes/menu-nav:
doc.perl6.org -> docs.perl6.org

  doc.perl6.org/language/faq redirects to docs.perl6.org/language/faq
Update the link.
09:06
href="https://perl6.org:">perl6.org: f7bf002 | (Juan Julián Merelo Guervós)++ | includes/menu-nav:
Merge pull request #69 from hankache/patch-1

  doc.perl6.org -> docs.perl6.org
Thanks for the correction.
09:12 xtreak joined
moritz uhm, since when is docs.perl6.org the official URL? 09:14
didn't it used to be doc.perl6.org?
09:15 BuildTheRobots joined 09:18 leego left, leego joined
moritz now we have a weird mixture of doc. and docs. links 09:20
I'd like to change the canonical URL back to doc.perl6.org, as it was before 2016-06
and unify the links back to doc.perl6.org
any objections?
dalek c: 1ba5cc3 | gfldex++ | / (2 files):
make filename/link rewrite depending on OS
09:23
09:23 bhm left
gfldex moritz: we refere to them as The Docs. So the url makes sense. 09:23
09:23 bhm joined 09:24 aindilis left
moritz gfldex: the problem is that before 2016.06, the canoncial URL was doc. and not docs., and links change very slowly on the Internets 09:24
and I hate useless plurals
gfldex both links work 09:25
moritz then there's no problem if I change it back?
gfldex There is more on that site then the documentation for Perl 6, so the plural is correct. 09:26
and it's likely to get more 09:27
moritz uhm, what else is there?
gfldex docs.perl6.org/programs.html
moritz so that's not Perl 6 documentation?
gfldex do we have to start that discussion again? 09:28
moritz I've never had that discussion before
gfldex there is no need to change it beside your feelings. Please don't change it.
moritz but when I started doc.perl6.org, I did discuss the naming, and doc. was the result
ah well, I give up 09:29
09:29 moritz left
gfldex The discussion I refere to is that Perl 6 the language is not the same as the Perl 6 Compiler. 09:29
my last commit may break links to operators. We have to revert it if it does. 09:30
09:34 travis-ci joined
travis-ci Doc build errored. Wenzel P. P. Peppmeyer 'make filename/link rewrite depending on OS' 09:34
travis-ci.org/perl6/doc/builds/189451697 github.com/perl6/doc/compare/e1cb0...a5cc3a2b1e
09:34 travis-ci left
dalek c: 930e578 | gfldex++ | / (2 files):
Revert "make filename/link rewrite depending on OS"

This reverts commit 1ba5cc3a2b1e5665c289860986a46004dacba727.
09:53
gfldex samcv: I'm sorry, Dave. I'm afraid I can't do that. 09:54
samcv i don't like doc.perl6.org, docs sounds better to me 10:00
lizmat samcv: they both work ?
samcv yeah they do 10:01
lizmat ah, that was the point
lizmat should backlog more before saying anything
samcv gfldex, did youe check the build log? 10:02
Install [FAIL] for Pod::To::BigPage:ver('0.2.1'):auth('Wenzel P. P. Peppmeyer'): hm
gfldex there is a heisenbug in IO::Socket::SSL
lizmat
.oO( find it! :-)
10:05
10:06 cpage_ left
El_Che hellos 10:06
so, are people booking their train tickets for fosdem yet? :) 10:07
dalek c: 088b404 | samcv++ | .travis.yml:
Use travis_retry for installing the modules

  irclog.perlgeek.de/perl6/2017-01-06#i_13868005
10:08
samcv also gfldex this heisenbug isn't related to not being able to have systems that support it not have to use $COLON and such? 10:09
also idc what the format on disk is
gfldex samcv: it's not related
samcv the default links should just be the actual characters
gfldex there are rules in .htaccess already. If you think it's important, feel free to add more. 10:11
10:13 rindolf joined, xtreak left 10:21 AlexDaniel joined 10:22 hobbs joined 10:31 tokomer joined 10:34 labster left 10:35 travis-ci joined
travis-ci Doc build passed. Wenzel P. P. Peppmeyer 'Revert "make filename/link rewrite depending on OS" 10:35
travis-ci.org/perl6/doc/builds/189457921 github.com/perl6/doc/compare/1ba5c...0e57841e4d
10:35 travis-ci left 10:41 cpage_ joined 10:45 xtreak joined, xtreak left 10:48 xtreak joined 10:49 xtreak left, travis-ci joined
travis-ci Doc build passed. Samantha McVey 'Use travis_retry for installing the modules 10:49
travis-ci.org/perl6/doc/builds/189461676 github.com/perl6/doc/compare/930e5...8b404ae642
10:49 travis-ci left 10:50 Ven joined 10:56 astj left, astj joined 10:58 wamba joined 11:01 astj left
dalek osystem: f67f736 | gfldex++ | META.list:
Pod::To::BigPage was transfered to Team Perl 6
11:09
11:10 rafasch joined 11:11 tokomer left 11:14 TEttinger left 11:23 pmurias joined 11:35 rafasch left 11:38 rafaelsch joined 11:46 inokenty left 11:50 inokenty joined 11:52 jrernst joined 11:59 gregf_ joined, jrernst left
rafaelsch I was thinking about what to include in * 12:02
SmokeMachine Is the ast method on Mach changed to the made method?
rafaelsch We should provide what GlibC provides, at least. 12:03
jnthn SmokeMachine: No, they are equivalent 12:04
12:04 jraglin joined
jnthn SmokeMachine: `.ast` has been there from the start; `.made` was added to go better with the `make` sub 12:05
12:05 curt_ joined
SmokeMachine jnthn: any difference? 12:05
jnthn: thanks!
jnthn They're both accessor methods to the very same attribute :)
There was some discussion of whether to toss .ast, but it reads so very nicely when writing compiler-y things. 12:07
SmokeMachine jnthn: thanks! 12:17
12:21 mscha joined
mscha m: class Foo { has $.foo; has $bar; }; my $f = Foo.new(:foo(1), :bar(2)); say $f; # Why no error? 12:21
camelia rakudo-moar 3c52aa: OUTPUT«Foo.new(foo => 1)␤»
curt_ $bar is a perfectly fine class (not instance) variable 12:22
probably should still warn in some way 12:23
ilmari m: class Foo { has $.foo; has $bar; method bar { $bar} }; my $f = Foo.new(:foo(1), :bar(2)); say $f; say $f.bar 12:25
camelia rakudo-moar 3c52aa: OUTPUT«Foo.new(foo => 1)␤(Any)␤»
ilmari m: class Foo { has $.foo; }; my $f = Foo.new(:foo(1), :wibble(2)); 12:26
camelia ( no output )
curt_ extra named variables that aren't used are ignored by the default new() (in case a subclass/superclass wants them) 12:27
ilmari that's what I thought
12:31 kalkin- joined
kalkin- Is there some way to call a method on object destruction? 12:31
or at least something like python with Foo: bar, which executes some close function after I'm done working with an object 12:32
12:34 lukaramu joined
arnsholt You can use the LEAVE phaser to execute code on scope exit 12:38
kalkin- I don't think it's what I need (or may be I'm misunderstanding the docs). I just want to call a function when the GC removes the object 12:40
rafaelsch kalkin-: a Methoc called DESTROY is called when the object is garbage collected, but it's not guaranteed. 12:41
kalkin- m: class F { method DESTROY { "asd".say } }; my $f = F.new; my $f = Nil; 12:42
camelia rakudo-moar 3c52aa: OUTPUT«Potential difficulties:␤ Redeclaration of symbol '$f'␤ at <tmp>:1␤ ------> 3OY { "asd".say } }; my $f = F.new; my $f7⏏5 = Nil;␤»
kalkin- m: class F { method DESTROY { "asd".say } }; my $f = F.new; $f = Nil;
camelia ( no output )
kalkin- hmm how do I test it? or I dont? 12:43
(just pray and hope?)
jnthn m: m: class F { method DESTROY { "asd".say } }; for ^10000 { my $f = F.new; }
camelia rakudo-moar 3c52aa: OUTPUT«asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd␤asd…»
jnthn Well, if you want to test what it does you can call it :)
SmokeMachine Any idea to how could I serialize a block? 12:44
kalkin- jnthn: thanks!
jnthn It's called after the object is GC'd, which isn't too easy to reason about
Because of the GC being generational
rafaelsch kalkin: like I said, it's not guaranteed. When exiting, P6 usually doesn't bother, for example. 12:45
kalkin-: like I said, it's not guaranteed. When exiting, P6 usually doesn't bother, for example.
jnthn Also if it's never collected by program exit then we just leave cleanup to the OS.
kalkin- rafaelsch: ohh I want to execute it on exit
jnthn Because it's far faster.
If you need timeliness of to be sure, better to do an explicit call
I'd like something like the Python with or C# using at some point also, fwiw.
lunch & 12:46
rafaelsch kalkin-: If you want to execute something on exit, use an END block
kalkin- rafaelsch: this is what i needed. I'm not maried to calling the function on object destruction, END works perfectly for my current usecase 12:47
thanks guys!
rafaelsch np
kalkin- but TIL that perl6 doesn't have something like Closeable role. Given that Perl6 "stole" a lot from other "modern" programming languages, I kind of expected it 12:48
s/Closable/Autocloseable/ 12:49
12:50 astj joined 12:54 astj left
rafaelsch kalkin-: It was tought about and rejected. 12:55
kalkin- rafaelsch: do you remember why?
rafaelsch irclog.perlgeek.de/perl6/2015-07-22#i_10938226 12:56
kalkin- I mean yes, you can probably do it with phasers, but it's perl there is more than …
rafaelsch kalkin-: It's faster this way. It's all about trade offs. 12:57
Like jnthn said, if you want to make sure, be explicit. 12:58
You can't assume the GC will even run, at all. So a method called on method destruction isn't guaranteed to be run. Like above, when you asigned Nil to a variable holding an object, it didn't bother the GC. 13:00
kalkin- rafaelsch: my use case is solved. I just tried to understand the reasoning, behind it. your link was a nice source for info
rafaelsch The GC has a mind of it's own. 13:01
kalkin- rafaelsch: I think the python way can be implemented currently in perl6 13:02
you have a role Closable which provides a proto close. you have a method with which receives a Closable object and a block. It executes the block and calls close after that 13:03
of course you would have to take care of some minor details like exception handling & co, but this should work out 13:04
rafaelsch Why not just call close directly?
kalkin- aehm, dunno? may be i coded to much python?
:)
the pattern kind of stuck in my head
rafaelsch Just say what you mean, keep a list of objects somewhere and tell them to go away when you don't need them anymore. 13:05
arnsholt The problem is deeper than just that you can't be guaranteed that the finalizer will be run 13:11
Nor can you have any guarantees about the *order* in which the finalizers are run
So child objects of your objects may have their finalizers run *before* you 13:12
jnthn That's not to mention the question of resurrection semantics :)
(We have the usual "you only live twice" semantics)
fwiw I think it'd be reasonable to have a construct that calls .close for you on scope exit. 13:13
arnsholt (Incidentally, this is one of the reasons Python can't really change out their GC algorithm: they guarantee things about finalizers that more or less force some kind of refcounting to be done)
jnthn It's still explicit, but saves you the boilerplate.
Granted, LEAVE $foo.close; isn't a lot of boilerplate
(LEAVE means it's called even if you leave the block through an exception)
kalkin- @LEAVE ahh, nice 13:15
thanks
Hmm, how does php solve this? AFAIK in php5 there was a __destruct method called 13:17
hmm from the docs it looks like it's just called on exit 13:18
13:18 FROGGS joined
kalkin- not when an object ist destructed 13:18
rafaelsch Exactly the opposite of what would be useful, ahahahaha. 13:19
kalkin- the only upside of php 5 is that it's still faster than python/ruby and the syntax feels like a generic c like language 13:23
rafaelsch I'm glad the vomit emoji is comming, very useful to talk about PHP 13:24
kalkin- ^^
Hmm then we could call Inline::PHPInline::VOMIT_EMOJI :) 13:25
rafaelsch Inline::🤮 13:27
13:28 mawkish__ left 13:29 wamba left
notviki What's up with the PHP hate in #perl6 all of a sudden? 13:29
I thought we had #elistists for that.
rafaelsch It's not hate. It works. It's just ugly, that's all. 13:30
13:30 holli joined
kalkin- If you know how to get round the rough edges, PHP is a working horse and a joy to develop. There is no stupid restarting of the whole framework just because you changed few lines, yes RoR I'm looking at you 13:31
also it's FAST! 13:32
rafaelsch Well, it is Turing complete. 13:33
13:33 lucasb joined 13:34 bjz_ joined 13:35 Gasher joined, bjz left
kalkin- excel macros and c++ templating system too. 13:39
13:43 rurban joined 13:44 rurban left
rafaelsch kalkin-: Have a look at this: docs.perl6.org/type/Signature#Type_Captures 13:45
And what do you mena by "Excel Macros"?
mean*
lucasb
.oO( what do you mean by "what do you mena"? )
13:47
kalkin- rafaelsch: www.felienne.com/archives/2974 <= Excel Turing Machine
beeing Turing complete isn't a good or bad criteria for anything. It's just a fact 13:48
rafaelsch I know being Turing complete isn't a criteria, that's the joke. 13:52
"what do you mena" -> "do what you mean": If you want to keep track of objects and finalize them, just say that in the program. 13:53
kalkin- rafaelsch: I got it. Throwing in excel macros and c++ templating system wasn't serious either.
:) 13:54
13:54 effbiai joined, effbiai left, effbiai joined
rafaelsch Well, P6 has something better than C++ templating. C++ templates are a big, fat mess. I gave you the link above. 13:55
kalkin- rafaelsch: I've seen it, it's nice
rafaelsch Read the whole page, it's essential reading. 13:56
13:57 lucasb left
kalkin- rafaelsch: k, thanks 14:06
rafaelsch You're welcome. 14:07
dalek rl6-most-wanted: 8725857 | (Tom Browder)++ | most-wanted/modules.md:
add notes

add notes about desired scope
14:11
14:12 mawkish__ joined 14:19 mcmillhj joined, moritz joined 14:22 mscha left, imcsk8 joined 14:24 mcmillhj left, nightfrog joined 14:31 bwisti joined 14:37 skids joined 14:38 bjz_ left 14:39 bjz joined 14:50 buggable joined, ChanServ sets mode: +v buggable, huggable joined, ChanServ sets mode: +v huggable 15:00 CIAvash joined 15:04 wamba joined 15:06 bjz_ joined
kalkin- :w 15:06
ups
15:07 bjz left 15:10 holli left 15:13 famrani joined 15:16 john51 left, john51_ joined 15:20 dalek left, dalek joined, ChanServ sets mode: +v dalek 15:23 famrani left
[Coke] m: say "\c[LATIN SMALL LETTER TURNED N]" 15:37
camelia rakudo-moar dd5759: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Unrecognized character name LATIN SMALL LETTER TURNED N␤at <tmp>:1␤------> 3say "\c[LATIN SMALL LETTER TURNED N7⏏5]"␤»
dalek c: ad95f91 | (Naoum Hankache)++ | doc/Language/variables.pod6:
fix typo

switched of -> switched off
15:40
synopsebot6 Link: doc.perl6.org/language/variables
dalek c: dfbca44 | RabidGravy++ | doc/Language/variables.pod6:
Merge pull request #1123 from hankache/patch-2

fix typo
synopsebot6 Link: doc.perl6.org/language/variables
15:41 brrt left 15:43 mawkish__ left, mawkish__ joined
[Coke] m: my %hash = ('a'=>{'a','b','c','d'}); say %hash<a>.WHAT # can someone hash me here? 15:51
camelia rakudo-moar dd5759: OUTPUT«(Block)␤»
15:52 raschip joined
notviki m: my %hash = ('a'=>%('a','b','c','d')); say %hash<a>.WHAT 15:52
camelia rakudo-moar dd5759: OUTPUT«(Hash)␤»
[Coke] ... I swear I tried that. *sigh*. Danke. :)
jnthn m: my %hash = ('a'=> hash 'a','b','c','d'); say %hash<a>.WHAT # also :) 15:53
camelia rakudo-moar dd5759: OUTPUT«(Hash)␤»
15:53 gregf_ left, mawkish__ left, mawkish__ joined 15:54 MasterDuke_ joined, rafaelsch left 15:55 MasterDuke left, MasterDuke_ is now known as MasterDuke
raschip m: my %hash = ('a'=>@('a','b','c','d')); say %hash<a>.WHAT 15:55
camelia rakudo-moar dd5759: OUTPUT«(List)␤»
raschip What if I want array instead of list in this context. 15:56
?
perlpilot m: my %hash = ('a'=>{'a','b','c','d'}); say %hash<a>.WHAT
camelia rakudo-moar dd5759: OUTPUT«(Block)␤»
15:56 infrabyte joined
perlpilot oops 15:57
m: my %hash = 'a'=> ['a','b','c','d']; say %hash<a>.WHAT
camelia rakudo-moar dd5759: OUTPUT«(Array)␤»
perlpilot raschip: ^^
raschip Right, the Array constructor is the same as P5.
m: my %hash = ('a'=>\('a','b','c','d')); say %hash<a>.WHAT 15:58
camelia rakudo-moar dd5759: OUTPUT«(Capture)␤»
perlpilot though it is a little weird that @() looks like an Array, but is Listy
15:59 bjz_ left
raschip It's better to keep the default, IMHO. But you're right, I can see that one could make an argument to make [] the list cronstructor and @() the array constructor. 15:59
[Coke] m: m: my %hash = ('a'=>{'a','b','c',"{"}); say %hash<a>.WHAT;
camelia rakudo-moar dd5759: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Unable to parse expression in double quotes; couldn't find final '"' ␤at <tmp>:1␤------> 3=>{'a','b','c',"{"}); say %hash<a>.WHAT;7⏏5<EOL>␤ expecting any of:␤ method arguments␤»
15:59 infrabyte left
perlpilot Is the only way to make Coke's first version work (with {}) by using => inside? 15:59
[Coke] (I had a "{" in there somewhere, things got confused.) 16:00
perlpilot m: my %hash = 'a'=> {'a' => 'b', 'c' => 'd' }; say %hash<a>.WHAT;
camelia rakudo-moar dd5759: OUTPUT«(Hash)␤»
notviki That's cause '{' in double qutoes are for blocks 16:01
m: "{"
camelia rakudo-moar dd5759: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Unable to parse expression in double quotes; couldn't find final '"' ␤at <tmp>:1␤------> 3"{"7⏏5<EOL>␤ expecting any of:␤ double quotes␤ term␤»
16:01 mawkish__ left
notviki m: say q♥{♥ 16:01
camelia rakudo-moar dd5759: OUTPUT«{␤»
16:01 mawkish__ joined
perlpilot m: my @x = <a b c d>; my %hash = 'a'=> { @x } ; say %hash<a>.WHAT; 16:02
camelia rakudo-moar dd5759: OUTPUT«(Block)␤»
raschip m: my %hash = (q♥a♥=>{q♥a♥,q♥b♥,q♥c♥,q♥{♥}); say %hash<a>.WHAT;
camelia rakudo-moar dd5759: OUTPUT«(Block)␤»
perlpilot I can see how that one would be surprising
notviki $_ has the same effect. Using { } for hash construction is a Bad Idea™
16:03 lukaramu left
raschip m: my %hash = (q♥a♥=><q♥a♥,q♥b♥,q♥c♥,q♥{♥>); say %hash<a>.WHAT; 16:03
camelia rakudo-moar dd5759: OUTPUT«(Str)␤»
16:03 lukaramu joined
perlpilot notviki: it's only a bad idea if you also don't have => inside. {} with => works as expected AFAIK 16:04
raschip m: my %hash = (q♥a♥=>{q♥a♥,q♥b♥,q♥c♥,q♥{♥=>$_}); say %hash<a>.WHAT; 16:05
camelia rakudo-moar dd5759: OUTPUT«(Block)␤»
raschip m: my %hash = (q♥a♥=>{q♥a♥=>q♥b♥,q♥{♥=>$_}); say %hash<a>.WHAT;
camelia rakudo-moar dd5759: OUTPUT«(Block)␤»
perlpilot ok. maybe not
anyway, I think there are some surprises there for a P5 person. 16:06
raschip m: my %hash = (q/a/=>{q[a]=>q[b],q♥{♥=>$_}); say %hash<a>;
camelia rakudo-moar dd5759: OUTPUT«-> ;; $_? is raw { #`(Block|72491736) ... }␤»
notviki m: dd { a => 42 }.WHAT 16:08
camelia rakudo-moar dd5759: OUTPUT«Hash␤»
notviki m: my $z; dd { a => $z }.WHAT
camelia rakudo-moar dd5759: OUTPUT«Hash␤»
notviki m: dd { a => $_ }.WHAT
camelia rakudo-moar dd5759: OUTPUT«Block␤»
raschip m: dd < a => $_ >.WHAT 16:09
camelia rakudo-moar dd5759: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3dd < a =>7⏏5 $_ >.WHAT␤ expecting any of:␤ infix␤ infix stopper␤ postfix␤ statement end␤ statement modifier…»
16:09 mawkish__ left
raschip m: dd %( a => $_ ).WHAT 16:09
camelia rakudo-moar dd5759: OUTPUT«Hash␤»
16:09 mawkish__ joined
[Coke] crap, I forgot my utf-8 ain't working in tmux. 16:10
pmurias masak: Type Systems as Macros , www.ccs.neu.edu/home/stchang/pubs/c...pl2017.pdf - I haven't full read it yet but seems interesting 16:15
[Coke] github.com/coke/p6-unicode-mangler 16:16
16:17 newbie1 joined 16:19 kyan joined
notviki don't you mean.... ɹǝʃƃuɐɯ-ǝpoɔıuu-9p/ǝʞoɔ/ɯoɔ˙quɥʇıƃ//:spʇʇɥ 16:24
𝐡𝐭𝐭𝐩𝐬://𝐠𝐢𝐭𝐡𝐮𝐛.𝐜𝐨𝐦/𝐜𝐨𝐤𝐞/𝐩𝟔-𝐮𝐧𝐢𝐜𝐨𝐝𝐞-𝐦𝐚𝐧𝐠𝐥𝐞𝐫 16:25
16:26 melezhik joined
notviki ⒣⒯⒯⒫⒮://⒢⒤⒯⒣⒰⒝.⒞⒪⒨/⒞⒪⒦⒠/⒫⑹-⒰⒩⒤⒞⒪⒟⒠-⒨⒜⒩⒢⒧⒠⒭ 16:26
𝕙𝕥𝕥𝕡𝕤://𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/𝕔𝕠𝕜𝕖/𝕡𝟞-𝕦𝕟𝕚𝕔𝕠𝕕𝕖-𝕞𝕒𝕟𝕘𝕝𝕖𝕣
cool
16:28 hankache joined
raschip Does it generate Zalgo? 16:28
geekosaur my current font butchered the second one, it looks vaguely like a ransom note >.>
raschip The one in bold? 16:29
geekosaur yeh
the letters all have different x-heights
notviki raschip: h̹t̘t̮p߱s􏿽xCD􏿽x84:᷄/͆/߳gͯi􏿽xCC􏿽xA8t͝h̳u̽b͝.̭c􏿽xCD􏿽x84o̲m߰/̙cͪo҇k͔e᷅/ͥp̲6̜-͐u͎n̰i͑c̲o̤d߭e߰-̡m߭a͍nͪg߯l͛e̶r̋ 16:30
Why is it called zalgo?
m: "l͛".uninames.say
camelia rakudo-moar dd5759: OUTPUT«(LATIN SMALL LETTER L COMBINING ZIGZAG ABOVE)␤»
raschip knowyourmeme.com/memes/zalgo 16:31
notviki uuuuh "Warning: This page contains material that may be considered not safe for work."
notviki quickly closes it
raschip It has "pussy" written on it, as far as I can tell. 16:32
"David Higgins[21] revealed that the text is an abuse of a Unicode feature" ABUSE?
The corporate filter I'm behind doesn't block it. 16:33
The origin is from here: stackoverflow.com/questions/1732348...gs#1732454 16:34
This one is SFW.
notviki that's the origin? Why is that zalgo?
raschip "a mere glimpse of the world of reg​ex parsers for HTML will ins​tantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent slithy regex-infection wil​l devour your HT​ML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fi​ght he com̡e̶s, ̕h̵i​s un̨ho͞ly radian􏿽xCD􏿽x81ce􏿽xCD􏿽x81 destro҉ying all enli􏿽xCC􏿽x8D􏿽xCD􏿽x84􏿽xCC􏿽x82􏿽xCD􏿽x84ghtenment, HTML tags 16:35
-->ZA􏿽xCD􏿽xA0􏿽xCC􏿽xA1􏿽xCD􏿽x8A􏿽xCD􏿽x9DLGΌ<-- ISͮ̂҉̯͈͕̹̘̱ TO􏿽xCD􏿽x85􏿽xCD􏿽x87􏿽xCC􏿽xB9􏿽xCC􏿽xBA􏿽xC6􏿽x9D̴ȳ̳ TH̘E􏿽xCD􏿽x84􏿽xCC􏿽x89􏿽xCD􏿽x96 ͠P̯͍̭O̚​N̐Y̡ H􏿽xCD􏿽xA8􏿽xCD􏿽x8A􏿽xCC􏿽xBD􏿽xCC􏿽x85􏿽xCC􏿽xBE􏿽xCC􏿽x8E􏿽xCC􏿽xA1􏿽xCC􏿽xB8􏿽xCC􏿽xAA􏿽xCC􏿽xAFE􏿽xCC􏿽xBE􏿽xCD􏿽x9B􏿽xCD􏿽xAA􏿽xCD􏿽x84􏿽xCC􏿽x80􏿽xCC􏿽x81􏿽xCC􏿽xA7􏿽xCD􏿽x98􏿽xCC􏿽xAC􏿽xCC􏿽xA9 􏿽xCD􏿽xA7􏿽xCC􏿽xBE􏿽xCD􏿽xAC􏿽xCC􏿽xA7􏿽xCC􏿽xB6􏿽xCC􏿽xA8􏿽xCC􏿽xB1􏿽xCC􏿽xB9􏿽xCC􏿽xAD􏿽xCC􏿽xAFC􏿽xCD􏿽xAD􏿽xCC􏿽x8F􏿽xCD􏿽xA5􏿽xCD􏿽xAE􏿽xCD􏿽x9F􏿽xCC􏿽xB7􏿽xCC􏿽x99􏿽xCC􏿽xB2􏿽xCC􏿽x9D􏿽xCD􏿽x96Oͮ͏̮̪̝͍M􏿽xCD􏿽x8A􏿽xCC􏿽x92􏿽xCC􏿽x9A􏿽xCD􏿽xAA􏿽xCD􏿽xA9􏿽xCD􏿽xAC􏿽xCC􏿽x9A􏿽xCD􏿽x9C􏿽xCC􏿽xB2􏿽xCC􏿽x96E􏿽xCC􏿽x91􏿽xCD􏿽xA9􏿽xCD􏿽x8C􏿽xCD􏿽x9D􏿽xCC􏿽xB4􏿽xCC􏿽x9F􏿽xCC􏿽x9F􏿽xCD􏿽x99􏿽xCC􏿽x9ES􏿽xCD􏿽xAF􏿽xCC􏿽xBF􏿽xCC􏿽x94􏿽xCC􏿽xA8􏿽xCD􏿽x80􏿽xCC􏿽xA5􏿽xCD􏿽x85􏿽xCC􏿽xAB􏿽xCD􏿽x8E􏿽xCC􏿽xAD
melezhik hi notviki: my yesterday question about alias to module function ... how can i make alias exportable as well?
notviki assumes it's some sort of weeabu thing
melezhik: is export 16:36
melezhik constant &foo = %baz is export ?
notviki yeah
melezhik s/%/&/ 16:37
ok will try
thx
notviki melezhik: it might be constant &foo is export = &baz
melezhik ok, good
will try then
brb
16:41 mawkish__ left
geekosaur refernce to That Stackoverflow 16:41
16:41 mawkish__ joined
geekosaur (stackoverflow.com/questions/1732348...ained-tags
) 16:42
16:45 cdg joined 16:47 nicq20 joined
nicq20 Hello o/ 16:47
yoleaux 5 Jan 2017 19:50Z <CIAvash> nicq20: 1+2 ==> (* / 5)()
raschip notviki: only if you consider web development a "weaboo thing" 16:48
notviki raschip: web development doesn't have zalgos, even if a random person decided to pretend of being zelgoified while ranting about HTML and regexes 16:50
raschip It's a web develpers meme
You may think it's a niche meme, but that doesn't matter. 16:51
notviki raschip: I didn't realize we had web in 1920s 16:52
16:53 nightfrog is now known as culb
kalkin- is it possible to reload a specific module on runtime? 16:53
notviki kalkin-: the short answer is no.
raschip Whe the 20's?
Why*
16:54 Ven left
kalkin- notviki: thanks 16:54
notviki kalkin-: and long answer is with the new loading branch it may be possible to do some sort of hotloading hack. I recall mst was pondering it.... 16:55
Hm, well I tried this right now, but it didn't load a new version: sub reload { "use Foo; &foo".EVAL }; my &foo = reload; foo; sleep 10; &foo = reload; foo 16:59
And then I tried this too sub reload ($v) { "use Foo:ver<$v>; &foo".EVAL }; my &foo = reload 1; foo; sleep 10; &foo = reload 2; foo
but it also didn't load a new version :/
Unsure how the lexical module loading is meant to work then...
[Coke] m: say "0x1d54f".uniname 17:04
camelia rakudo-moar dd5759: OUTPUT«DIGIT ZERO␤»
[Coke] urk. dammit, cut and paste...
notviki hm, even with this setup and different versions in the META files, it doesn't seem to do the trick: gist.github.com/zoffixznet/b380cf1...4a18fae7ac 17:05
[Coke] notviki: added a few of the ones you sampled above. 17:06
notviki $ perl6 -Iv1 -Iv2 -e '{ use Foo:ver<1>; foo }; { use Foo:ver<2>; foo }'
one
I don't get how lexical module loading is meant to work then
17:06 iH2O joined
raschip kalkin-: did you have any idea of what you did? 17:07
kalkin- raschip: sorry?
17:07 iH2O left
notviki $ perl6 -Iv1 -Iv2 -e '{ use Foo:ver<1>; Foo::foo }; { use Foo:ver<2>; Foo::foo }' 17:07
raschip Do you see how notviki is right now?
notviki one
What? 17:08
raschip You're rambling.
notviki Oh, sorry to interrumpt your silence
raschip No, it's not a problem at all. 17:09
notviki Good.
raschip Me myself do the same thing in this same channel. Only when I do it, it's usealess. 17:10
17:10 shayan_ joined
kalkin- Well as long as notviki is having fun ☺ 17:11
17:12 shayan_ left
notviki Heh, seems like it's precomp that's messing it up. If after I run it I reverse the loading order in the source, it keeps the old order until I toss the precomp files. 17:13
Guess nine will shine the light on this after vacation
17:17 mawkish__ left, geekosaur joined, mawkish__ joined 17:18 jebes joined 17:19 zacts joined
jebes So i'm trying to right a simple REST API with perl6, any recommendations? I'm having some problem's getting SCGI (github.com/supernovus/SCGI) to work... 17:20
notviki I had some luck running a rudimentary app with HTTP::Server::Tiny 17:21
buggable: eco HTTP::Server::Tiny
buggable notviki, HTTP::Server::Tiny 'a simple HTTP server for Perl6': github.com/tokuhirom/p6-HTTP-Server-Tiny
jebes notviki: thanks!
notviki I see folks recommending Bailador too, but IIRC it still can't do multiple requests at the same time, so a single request blocks everyone else. 17:22
jebes Bailador looked like too much for this. I'm just writing a super simple Disqus clone
17:24 hankache left
tadzik Bailafor, too much? :o 17:31
jebes Perl6 is too much ;)
notviki hehe
jebes So, is => literally just a pair? 17:32
notviki more or less, some forms of it will be passed to routines as a named arg, while others will pass as a positional pair 17:33
m: sub wat (*@pos, *%named) { dd [ @pos, %named ] }; wat foo => 42; wat "foo" => 42"; wat 42 => 42; 17:34
camelia rakudo-moar dd5759: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3amed ] }; wat foo => 42; wat "foo" => 427⏏5"; wat 42 => 42;␤ expecting any of:␤ infix␤ infix stopper␤ postfix␤ statem…»
notviki m: sub wat (*@pos, *%named) { dd [ @pos, %named ] }; wat foo => 42; wat "foo" => 42; wat 42 => 42;
camelia rakudo-moar dd5759: OUTPUT«[[], {:foo(42)}]␤[[:foo(42)], {}]␤[[42 => 42], {}]␤»
notviki m: dd WHAT 42 => 42
camelia rakudo-moar dd5759: OUTPUT«Pair␤»
jebes I do not have a font with u+2424 apparantly 17:35
notviki m: "\x[2424]".uniname.say
camelia rakudo-moar dd5759: OUTPUT«SYMBOL FOR NEWLINE␤»
notviki heh
m: dd WHAT [ :42foo, :foo{;}, :foo{:42a}, :foo<bar ber>, :foo(42) ]; # Also this syntax; all of these get passed as named params 17:38
camelia rakudo-moar dd5759: OUTPUT«Array␤»
notviki -_-
m: dd [ :42foo, :foo{;}, :foo{:42a}, :foo<bar ber>, :foo(42) ]; # Also this syntax; all of these get passed as named params
camelia rakudo-moar dd5759: OUTPUT«[:foo(42), :foo(-> ;; $_? is raw { #`(Block|50946320) ... }), :foo({:a(42)}), :foo(("bar", "ber")), :foo(42)]␤»
notviki m: .WHAT.say for :42foo, :foo{;}, :foo{:42a}, :foo<bar ber>, :foo(42); # Also this syntax; all of these get passed as named params 17:39
camelia rakudo-moar dd5759: OUTPUT«(Pair)␤(Pair)␤(Pair)␤(Pair)␤(Pair)␤»
notviki \o/
17:39 zakharyas left 17:40 Tonik left
notviki m: [ .WHAT, .value.WHAT ].say for :42foo, :foo{;}, :foo{:42a}, :foo<bar ber>, :foo(42); 17:40
camelia rakudo-moar dd5759: OUTPUT«[(Pair) (Int)]␤[(Pair) (Block)]␤[(Pair) (Hash)]␤[(Pair) (List)]␤[(Pair) (Int)]␤»
17:41 mawkish__ left, mawkish__ joined
notviki m: [ .key.WHAT, .value.WHAT ].say given class Foo {}.new => class Bar {}.new 17:42
camelia rakudo-moar dd5759: OUTPUT«[(Foo) (Bar)]␤»
notviki neat
jebes That just blew my mind
The only other languages I know that are that flexible are FORTH's and Lisps.
notviki That's what we do ;) 17:43
jebes Now the real question is: Can I write code terser than J or APL? 17:44
notviki Well, you could write your own slang and change the syntax entirely, so I guess the answer is yes
17:45 domidumont joined
jebes Might be a fun project 17:46
17:47 domidumont left 17:48 shayan_ joined, domidumont joined 17:51 mawkish__ left, mawkish__ joined
notviki You can also use our patented compactifier technology to write zero-3space code 17:52
m: sub prefix:<⁣⁣⁣> is looser(&[,]) { say |@_ }; sub infix:<⁣⁣> {$^a*$^b}; sub infix:<⁣>{$^a+$^b}; ⁣⁣⁣ 3⁣⁣3; ⁣⁣⁣ 3⁣3
camelia rakudo-moar dd5759: OUTPUT«9␤6␤»
notviki tada
17:54 wamba left, melezhik left
notviki m: sub prefix:<⁣⁣⁣> is looser(&[,]) { say |@_ }; sub infix:<⁣⁣> {$^a*$^b}; sub infix:<⁣>{$^a+$^b};⁣⁣⁣ 3⁣⁣3;⁣⁣⁣ 3⁣3;⁣⁣⁣ 3⁣3⁣42;⁣⁣⁣ 'woot, loving these operators, bruh!' 17:54
camelia rakudo-moar dd5759: OUTPUT«9␤6␤48␤woot, loving these operators, bruh!␤»
notviki ehehe
jebes I don't know if this is a good or bad thing 17:55
notviki :)
nicq20 notviki: Wait what is happening? Some Unicode stuff?
17:56 mawkish__ left
gfldex shortest token matcher 17:56
notviki nicq20: it's patented compactifier technology!
nicq20 ._.
jebes this language makes me afraid 17:57
notviki m: sub prefix:<⁣⁣⁣> is looser(&[,]) { say |@_ }; sub infix:<⁣⁣> {$^a*$^b}; sub infix:<⁣>{$^a+$^b};⁣⁣⁣ 3⁣⁣3⁣3⁣3⁣⁣3⁣3⁣3⁣⁣3⁣3⁣3⁣3
camelia rakudo-moar dd5759: OUTPUT«162␤»
notviki hehe
nicq20 nope still lost.
17:57 astj joined
AlexDaniel so where are the bots… 17:58
notviki nicq20: perl6.party/post/Anguish--Invisible...Data-Theft
jebes i know what's happening here, I just don't want to beleive its happening
17:58 shayan_ left
notviki AlexDaniel: no idea. I went and tried to restart them but they didn't come on 17:58
gfldex notviki created a longest token (that stands in for an infix) that fits inbetween "".
AlexDaniel notviki: yea, they just cannot connect
nicq20 notviki: Oh! The zero space unicode stuff.
notviki nicq20: patented compactifier trechnology!!! 17:59
:)
[Coke] u: { .uniname ~~ / 'DOUBLE-STRUCK'/ }
AlexDaniel notviki: do you know why they were disconnected?
notviki nope
AlexDaniel notviki: I bet one of your accounts was here, no?
17:59 nicq20 left
notviki AlexDaniel: my accounts? 17:59
Oh, you mean look in backlog 18:00
AlexDaniel I mean, one of your clients… there's ZoffixW, Zoffix…
yea
notviki AlexDaniel: they pinged out at pi o'clock and I don't see anyone talking at that time 18:01
at 3:14AM
AlexDaniel weird
notviki Note that Freenode is doing maintenance stuff
and reconnecting stuff
18:02 astj left
AlexDaniel “◀▬▬ _ Attempting to connect to server” and that's it :| 18:02
notviki In the morning I logged in to the box with the bots and only bisectable was showing up in ps ax | grep moar; so I ran the ./start but they didn't come online
What server are they attempting to connect to?
18:02 thayne joined
AlexDaniel notviki: yea, I killed them because they were pointlessly trying to reconnect 18:02
notviki: how would I know?
notviki Right now? 18:03
I meant I logged in like 5 hours ago
AlexDaniel no, somewhere in the morning
notviki Ah
AlexDaniel I'm always thinking like at what point will freenode decide that having so many clients connect at the same time is a bad idea… :) 18:04
I'm already past the amount of allowed simultaneous logins (which is 5)
[Coke] IRC--
notviki Well, I had similar symptom on hack once, and like in a day the bots just reconnected. 18:05
AlexDaniel notviki: yea! I had this too
but it resolved in like an hour or two
notviki I see they're connecting to irc.freenode.net ... No idea if it'll help but the maintenance thing said to connect to chat.freenode.net maybe try that?
AlexDaniel ok
nope 18:06
notviki :(
[Coke] notviki: added I think all the sample unicode transforms you showed.
geekosaur fwiw I lost connection to irc.freenode.net about an hour ago and only got reconnected via irc.eu.freenode.net
AlexDaniel let's try that
notviki [Coke]: FWIW, I was using this website: qaz.wtf/u/convert.cgi?text=This+is+...+group+tag 18:07
AlexDaniel nope…
geekosaur (irc.freenode.net being a CNAME for chat.freenode.net)
notviki well, I was gonna say try telnetting... but I see you ain't got a telnet installed 18:08
geekosaur ...aaaand I am seeing reports from elsewhere of ipv6 connection issues to various places. ipv6 routing issue?
notviki Ask on 18:09
18:09 committable6 joined, bisectable6 joined, unicodable6 joined, evalable6 joined, benchable6 joined, statisfiable6 joined
notviki Ask on #freenode why your bot horde is blocked? :D 18:09
yey \o/
AlexDaniel connected directly to kornbluth.freenode.net
notviki \o/
AlexDaniel can be taken from this list I guess: irc.netsplit.de/servers/?net=freenode 18:10
e: say ‘ping’
evalable6 AlexDaniel, rakudo-moar dd5759b: OUTPUT«ping»
18:12 mawkish__ joined 18:15 shayan_ joined
AlexDaniel u: { .uniname ~~ / 'DOUBLE-STRUCK'/ } 18:18
unicodable6 AlexDaniel, U+2102 DOUBLE-STRUCK CAPITAL C [Lu] (ℂ)
AlexDaniel, U+210D DOUBLE-STRUCK CAPITAL H [Lu] (ℍ)
AlexDaniel, gist.github.com/96b800e4e0fd69103d...1b25d26d9b
AlexDaniel u: DOUBLE-STRUCK 18:19
unicodable6 AlexDaniel, U+210D DOUBLE-STRUCK CAPITAL H [Lu] (ℍ)
AlexDaniel, U+2102 DOUBLE-STRUCK CAPITAL C [Lu] (ℂ)
AlexDaniel, gist.github.com/d2234d4fa37851d5ae...2f837c3fcf
18:23 cdg left 18:24 cdg joined
raschip m: say 'ping' 18:24
camelia rakudo-moar dd5759: OUTPUT«ping␤»
raschip u: <⁣⁣⁣> 18:25
unicodable6 raschip, U+003C LESS-THAN SIGN [Sm] (<)
raschip, U+2063 INVISIBLE SEPARATOR [Cf] (⁣)
raschip, gist.github.com/4b01022e65aea52ac5...36687ff4a3
18:25 labster joined
[Coke] notviki: that is a huge list. :) I added a random, also, for grins. 18:26
raschip nicq20, look ⬆
18:26 TimToady joined
raschip substitute every token in Perl6 with a different amount of those and get yourself even shorter programs! 18:27
18:32 rindolf left, cdg_ joined 18:34 cdg left 18:35 CIAvash left 18:39 mawkish__ left
AlexDaniel notviki: this website is LTA. For example, for përl it gives 𝕡ë𝕣𝕝 when it could have done 𝕡𝕖̈𝕣𝕝 18:43
notviki submit a bug report :P~
AlexDaniel I don't see any repo
notviki heh 18:44
18:44 bstamour` joined
[Coke] AlexDaniel: then report it github.com/coke/p6-unicode-mangler.../mangle.p6 if that doesn't DTRT. 18:44
or submit a patch, that is even awesomer. :)
AlexDaniel [Coke]: if your “try” fails, try doing the same thing with .NFD[0].uniname 18:46
[Coke]: and then slap the rest of NFD on top
[Coke] ? 18:47
AlexDaniel m: say ‘ë’.NFD[0].uniname 18:48
camelia rakudo-moar dd5759: OUTPUT«LATIN SMALL LETTER E␤»
AlexDaniel m: say ‘ë’.NFD[1].uniname
camelia rakudo-moar dd5759: OUTPUT«COMBINING DIAERESIS␤»
[Coke] and then, ideally, put the combinators back on it, yes? 18:49
AlexDaniel yes 18:50
I have created a ticket because you asked: github.com/coke/p6-unicode-mangler/issues/1 18:51
[Coke] you're quick. Danke!
notviki m: my $in = "përl"; say $in.samemark("z"); say $in.samemark("z").samemark($in) 18:52
camelia rakudo-moar dd5759: OUTPUT«perl␤përl␤»
AlexDaniel oooh, samemark!
notviki m: "𝕡𝕖̈𝕣𝕝".samemark("z").say 18:53
camelia rakudo-moar dd5759: OUTPUT«𝕡𝕖𝕣𝕝␤»
notviki weird
AlexDaniel m: say ‘𝕖’.samemark(‘ë’)
camelia rakudo-moar dd5759: OUTPUT«𝕖̈␤»
AlexDaniel yes!
notviki In my local terminal it looks completely botched up
like "􏿽􏿽􏿽􏿽􏿽􏿽􏿽􏿽̈􏿽􏿽􏿽􏿽􏿽􏿽􏿽􏿽"
m: my $in = "përl"; say "𝕡𝕖𝕣𝕝".samemark: $in 18:54
camelia rakudo-moar dd5759: OUTPUT«𝕡𝕖̈𝕣𝕝␤»
notviki \o/
AlexDaniel completely forgot about samemark. That's even easier 18:55
[Coke] github.com/coke/p6-unicode-mangler/issues/1 - done 18:59
18:59 Tonik joined 19:00 vike left
notviki hehe 19:00
timotimo none of those display for me %)
19:01 jraglin left, jraglin joined, vike joined 19:02 shayan_ left
[Coke] timotimo: need a new font? 19:06
Can you see them on the README on github?
raschip I think it has to do with not being able to show if there's no precomposed grapheme.
timotimo i want a new font - one that won't make me sick 19:08
one that won't make me break my eyes
or make my glasses feel feet, feet thick
RabidGravy boom shakalak!! 19:09
mspo I'm using inconsolata 18pt
gets smaller every year 19:10
19:10 Zoffix_ joined
RabidGravy I'm thinking of going back to using a vt220 so I don't have to worry about these issues 19:11
19:11 Zoffix_ is now known as Geth 19:12 Geth is now known as notviki
raschip What happens when you feed it UTF-8? 19:12
RabidGravy I would imagine it would get very confused and become unreadable requiring a hard reset (or a tputs sgr0 if one could still enter data) 19:13
raschip Is it hardwaired 7 bits? 19:14
hard-wired*
[Coke] I have a chat system I and a few hundred other people use that is stuck in ASCII. Maybe it's worth rewriting in Perl 6. :| 19:15
RabidGravy yes
raschip Is it possible to use the same software that chomps the most significant bit to send to a VT-220 to do it for your TTY or PTY?
RabidGravy the whole dumb terminal thing was over by the time unicode was even thought of 19:16
raschip This way you'll get ASCII just the same.
b2gills timotimo: Do you want a new duck too? One that doesn't stick his bill in your mail? One that won't smell too fowl? ( "I want a new duck" from Weird Al ) 19:18
timotimo b2gills: you don't have to tell me about that
i've had a weird al cd in my car for a few weeks now that has that track on it 19:19
b2gills timotimo: I added the source so that people other than you would know where it came from ( I assumed you would know )
timotimo OK
19:20 cdg_ left
raschip timotimo: Is this one good www.dafont.com/pt/dec-terminal-modern.font ? 19:20
19:21 matt_ left 19:22 ccakes left, nebuchadnezzar left, ccakes joined
timotimo 2217 glyphs? hah 19:23
RabidGravy I threw my last green screen terminal in a skip about ten years ago, it had been gathering dust in my mother's house for about ten years prior to that 19:24
raschip There are refurbishers that still sell them.
RabidGravy there are companies that still use them, it's really good for high volume data entry 19:25
mspo I replaced hundreds of them at a VA hospital in the mid 90's
with crap windows boxes running hyperterm or something 19:26
we also rewired the entire hospital with fiber which was really impressive for the time
replacing thick copper + vampire plugs
AlexDaniel timotimo: the only font that works for me is Terminus 19:27
[Coke] I really like "Source Code Pro"
timotimo i apparently have monaco here
stmuk inconsolata or fixed
AlexDaniel it's not a vector font, but at least you can get it really small without making it turn into some smudgy shit 19:28
19:28 gcole joined
RabidGravy haha, the vampire taps 19:28
mspo small fonts are bad news
19:29 rindolf joined
AlexDaniel that being said, you'll have to use something else as a fallback for all the unicode stuff 19:29
mspo computers are bad for your eyes
RabidGravy I've seen a whole mainframe cluster taken down by one of those
AlexDaniel mspo: and keyboards are bad for my hands 19:30
timotimo it's true
i'm literally destroying my body just to hang out with you
AlexDaniel
.oO( and chairs are bad for your ass )
19:31
notviki And breathing is bad too 19:32
Life kills. 19:33
raschip Breathing makes peolpe rust.
notviki rocks out to www.youtube.com/watch?v=SpAoJ1ifeEA 19:34
19:37 andrzejku joined
mspo AlexDaniel: true 19:45
19:45 nowan left
mspo AlexDaniel: emacs is worse than vi 19:45
my chair is good for me (aeron)
I sit in it when my back hurts from other activities 19:46
AlexDaniel mspo: depends on your keyboard and keyboard layout
mspo AlexDaniel: there is no way chording/meta is less stress on your wrists than single letter input
AlexDaniel as I said, depends on your keyboard and keyboard layout 19:47
mspo unless you are chording with opposite hands
:)
AlexDaniel proper layout makes both vim and emacs default keybindings obsolete, mostly
mspo "proper"?
I don't do any custom keys in vi 19:48
I suppose hitting escape is hurting m
AlexDaniel so you reach for Esc all the time?
19:48 nowan joined
AlexDaniel ok 19:48
mspo AlexDaniel: I don't know if the caps-lock-for-esc is healthier
AlexDaniel it is
skids Just don;t work so much :-) 19:49
mspo I can hit esc with very little wrist movement
I'm hardly healthy though since I work on my laptop
raschip You use only steanographers?
mspo I've been considering one of those stands and a bigger keyboard
AlexDaniel mspo: as an example, I have arrows/home/end/pgup/pgdown/backspace/delete and a couple of other keys right under my fingers on 3rd/4th levels (you have to hold altgr) to use them
mspo: that being said, my altgr is on the spacebar 19:50
mspo AlexDaniel: that sounds confusing
AlexDaniel so you can press it with a thumb of the other hand
and I'm using a Japanese keyboard because I wanted some extra thumb keys on my laptop 19:52
so if you think about it, vim looks very funny to me because of the hjkl thingy. Not only I already have arrows on the home row that work in all apps, but I'm also using Dvorak… which… yea… you get it I think 19:54
Possum Japanese keyboards also have extra keys on the right
AlexDaniel Possum: yes. I'm thinking about shifting my right half of the layout one key to the right so that I'll get an extra row in the middle
extra column*** sorry
Possum interesting idea 19:55
skids decides not to rage about laptop arrow keys. deep breaths.
AlexDaniel and emacs chording does not look so bad because Ctrl and Alt are thumb keys for me
mspo AlexDaniel: I see
that's very different!
AlexDaniel however, I tend not to use ctrl/alt in emacs, and instead set most common actions on keychords 19:56
(like when you press “gc” at the same time)
mspo vim accepts quick keypresses as chords too, which is a little odd
ZZ and friends
notviki You called? 19:57
AlexDaniel skids: I was really pissed off by this too at the time, but now I don't use them at all so I don't really care :)
skids On the bright side, I can probably do more things with my pinky than I used to from all the excercise. 19:58
AlexDaniel 🍲 19:59
notviki u: 🍲 20:00
unicodable6 notviki, U+1F372 POT OF FOOD [So] (🍲)
notviki Pot for food? I thought you were meant to smoke it!
20:01 shayan_ joined 20:02 raschip left
RabidGravy they're weird in Unicode land 20:04
20:04 girafe joined
pmurias AlexDaniel: re caps lock vs escape isn't it a tradeoff between having to move the hand more and using a worse finger? 20:05
mspo both are pinkey for me 20:06
20:10 Gasher left, DarthGandalf joined
notviki [Coke]++ # perl6advent.wordpress.com/2016/12/01/ 20:12
I'll actually make use of that for Geth this weekend :)
m: say $*THREAD.id; start { $*THREAD.id.say }; sleep .5 20:13
camelia rakudo-moar dd5759: OUTPUT«1␤3␤»
AlexDaniel pmurias: it depends on how you press it. For example, I've been kind of stretching my hand to reach it, so for me moving ESC to any other place was a win anyway 20:14
notviki FWIW in my tests for my Future of Programming talk, start was parallel, not just asynchronous
AlexDaniel pmurias: that being said, I have Hyper on my caps lock
… and compose on my Tab…
notviki How do you type a tab? :) 20:15
perlpilot pshaw! Who needs tabs?
AlexDaniel AltGr+y (or AltGr+t on qwerty)
perlpilot It's not like he's writing Makefiles or anything
notviki How do you indent code? 20:16
perlpilot "one space at a time" ;)
AlexDaniel I don't, it is done automatically when I press Enter
notviki :o
RabidGravy You see I only have one usable little finger, I had to relearn how to use vi in 1998 as a result 20:17
notviki What happened to the other finger?
AlexDaniel but if you think that AltGr+t is hard to press then perhaps you're not considering that AltGr is pressed with a *thumb* of the other hand… ;) 20:18
RabidGravy I severed the tendon on a broken glass and it hasn't been right since
notviki cool
AlexDaniel ouch
RabidGravy so I have two little fingers but one of them is mostly cosmetic 20:19
20:19 shayan_ left
notviki Oh, I thought AlexDaniel had one usable little finger 20:19
20:19 domidumont left, shayan_ joined
notviki RabidGravy: I use mostly the thumb and index finger of my right hand too :) 20:19
perlpilot RabidGravy: I've got a knife and have butchered animals before ... I'm sure I can fix your finger. (How programmers sound sometimes ;-) 20:20
AlexDaniel nope, my layout implies at least functioning thumbs… but the thing is, I believe that keyboard layouts are mostly personal
notviki
.oO( have you tried rebooting it? 0
jeek There comes a time in every young person's life when they have to choose their keyboard layout.
notviki Yeah, the G keys are personal :P
jeek ultimatehackingkeyboard.com/
RabidGravy perlpilot, at the time they offered me to remove it or fix in place, I figured it was handing for holding a pint of beer ;-) 20:21
AlexDaniel jeek: this is garbage, throw it away :)
20:21 nebuchadnezzar joined
notviki wouldn't be able to type on that thing 20:21
jeek I threw it on the GROUND!!
It splits into two halves.
notviki THIS is the ultimate hacking keyboard: i.ytimg.com/vi/BjSobq-7xxU/maxresdefault.jpg
RabidGravy oh I hate them 20:22
AlexDaniel jeek: the concept is nice, but the fact that the keys are staggered makes the whole project shit
notviki Assign all the ops into G keys and you're good to roll :P
jeek I think a unicorn threw up on your keyboard, notviki.
I had a G19 for a while, it was nice. 20:23
RabidGravy notviki, now what I'd like is one with all those lightey up bits but the robustitude of an IBM 5251 keyboard so I can type really fast and hard
notviki RabidGravy: *shrug* it feels pretty robusted... aircraft grade aluminum 20:24
20:24 shayan_ left
notviki mechanical 20:24
RabidGravy yeah, mechnical keys are the best, none of this chiclet rubbish
notviki looks at pictures of IBM 5251 keyboard
Man, it looks like you can use it to chop wood 20:25
RabidGravy yeah, it's the same keyboard as they used in the typewriters
20:25 DarthGandalf left, Some-body_ joined, shayan_ joined
AlexDaniel I've only seen one keyboard that is mostly done right (ergonomically), but it is still not perfect. Here: www.ergodox.io/img/ErgoDox-original-min.png 20:26
20:26 Some-body_ is now known as DarthGandalf
RabidGravy and I loved the "tactile feedback" which was basically a solenoid that whacked the key bed on a key depression 20:26
AlexDaniel no staggered keys, columns in the middle, thumb keys
20:28 lostinfog joined
perlpilot What we need is to get away from keyboards as an input device 20:28
jeek UHK has mechanical keys, available with six different cherryMX
AlexDaniel perlpilot: yeah except that we don't really have any better alternative 20:29
20:30 zakharyas joined 20:31 thayne left
RabidGravy I tried one of those things which were like six button chord things ages ago and I just couldn't get the hang of it 20:31
but maybe now I could
20:32 jebes left
RabidGravy the problem is I learned to type over thirty years ago so it's difficult to deprogram myself 20:32
notviki ehehe www.xkcd.com/1782/
Does anyone still use Perl 6 Slack thing? 20:33
RabidGravy I only use slack at work
notviki Perl 6 slack?
RabidGravy no, commercial private slack 20:34
notviki ah
RabidGravy I don't get slack really, it's just IRC with a web interface and cutesy rendering of UTF-8 'emoticons' 20:35
but commercial
notviki The couple of times that I used it it was sluggish as hell and kept spamming my email about me being mentioned. 20:36
perlpilot RabidGravy: and built-in logging and easy way to share/view images, videos, code, etc. 20:37
AlexDaniel by the way, the other reason to create your own keyboard layout is so that you can type commonly used unicode chars freely 20:38
huggable: unicode
huggable AlexDaniel, nothing found
AlexDaniel huggable: uni
huggable AlexDaniel, «»×÷−∘≅πτ𝑒∞…‘’‚“”„「」⁺⁻¯⁰¹²³⁴⁵⁶⁷⁸⁹∘∅∈∉∋∌⊆⊈⊂⊄⊇⊉⊃⊅≼≽∪∩∖⊖⊍⊎
AlexDaniel ↑ this
perlpilot notviki: I have the Perl 6 slack open at work right now, but there's been virtually no activity in a while. 20:39
AlexDaniel and this → “↑” :D
RabidGravy "commonly used"
tadzik maybe we should bridge this channel to slack channel via matrix
20:39 ChoHag joined
tadzik I know they bridge some IRC channels with gitter this way 20:39
RabidGravy or sacrifice some goats
AlexDaniel we can make it a tradition here. 20:40
geekosaur uninterested in slack, or anything web based, for chat
AlexDaniel I mean, discussing Slack every year
profan tadzik: #racket uses a bridge to slack as well, so people use both, could be of interest
RabidGravy I've got nothing against goats personally, apart from their weird eyes, but it seems like the thing to do on this kind of occassion
perlpilot looks like #classroom has some bot activity 20:41
AlexDaniel RabidGravy: what about this photoworkshopadventures.com/blog/wp...150501.jpg ? 20:43
RabidGravy tree goats. I don't blame them to be honest, that ground looks hot, and they only have weird partially cloven hooves 20:44
but that's actually how goats started upsetting me in the first place, I was on a pass in the Picos de Europa and a whole bunch of them jumped up on the rocks above me and stared at me 20:46
pmurias AlexDaniel: are the missing keys on that two part keyboard intentional? 20:52
AlexDaniel pmurias: given the amount of thumb keys, I think yes 20:53
pmurias: but another reason could be that they wanted to reduce the cost a little bit 20:54
pmurias: but I'm not sure which ones are “missing” :P 20:56
pmurias: for example, some people use the bottom row as arrows
20:58 Gasher joined 21:05 shayan_ left 21:06 Gasher left, Tonik left 21:07 lukaramu left 21:09 lukaramu joined
dalek c/revert-1123-patch-2: 87610a8 | (Tom Browder)++ | doc/Language/variables.pod6:
Revert "fix typo"
21:15
21:20 Gasher joined 21:22 TEttinger joined
AlexDaniel errr, our docs on ff operator are wrong 21:25
what exactly should it “return”? 21:27
m: $_ = 42; say 42 ff 50
camelia rakudo-moar dd5759: OUTPUT«1␤»
AlexDaniel what's one?
m: $_ = 42; say 43 ff 50
camelia rakudo-moar dd5759: OUTPUT«Nil␤»
AlexDaniel and what's Nil?
:)
c: all $_ = 42; say 43 ff 50
committable6 AlexDaniel, gist.github.com/8569b8fdcbe754f3d5...093f01aa8b 21:28
AlexDaniel c: all $_ = 42; say 42 ff 50
committable6 AlexDaniel, gist.github.com/4bb7762effbd64d1b7...f7ab3873ec
21:31 mniip left 21:32 bstamour` left
AlexDaniel by the way, what's the reason for substr.eq existance? 21:34
substr-eq*
21:36 unicodable6 left 21:37 unicodable6 joined, shayan_ joined 21:41 unicodable6 left 21:42 unicodable6 joined 21:44 shayan_ left 21:46 mniip joined 21:52 shayan_ joined 21:59 astj joined, travis-ci joined
travis-ci Doc build passed. Tom Browder 'Revert "fix typo"' 21:59
travis-ci.org/perl6/doc/builds/189637775 github.com/perl6/doc/commit/87610a8a4a59
21:59 travis-ci left
skids AlexDaniel: Likely efficiency... it maps pretty directly to an nqp op (and probably to a VM op) 22:01
AlexDaniel MasterDuke: ↑ 22:02
22:02 trnh joined
skids mumbles something about "given a sufficiently smart compiler" 22:03
AlexDaniel skids: then perhaps it should take an extra $from param?
22:03 astj left
AlexDaniel ‘aaZZbb’.substr-eq(‘xxZZyy’, 2, 2) # True 22:03
MasterDuke yeah, it pretty much just calls nqp::eqat directly 22:04
AlexDaniel ah… or maybe not then…
22:05 shayan_ left, andrzejku left, evalable6 left, evalable6 joined 22:06 skids left 22:08 bjz joined 22:09 matt_ joined, matt_ is now known as Guest81811
AlexDaniel m: say 𑛂𖭒 22:09
camelia rakudo-moar 964b28: OUTPUT«22␤»
AlexDaniel xD
22:10 Guest81811 is now known as matt_, evalable6 left, evalable6 joined
notviki .u: 𑛂𖭒 22:10
u: 𑛂𖭒
unicodable6 notviki, U+116C2 TAKRI DIGIT TWO [Nd] (𑛂)
notviki, U+16B52 PAHAWH HMONG DIGIT TWO [Nd] (𖭒)
notviki heh
AlexDaniel notviki: it looks like “33” 22:12
22:14 trnh left
notviki AlexDaniel: ah... to me it looks like blank space :) 22:19
masak to me, the number 2 used in Arabic countries (٢) looks almost like a 1 22:20
but I could read those numerals well enough to parse out whole numbers while I was in Saudi Arabia a few years back
notviki Did GitHub remove Artistic License 2 from their list of automatic-license-file-in-the-repo list :/ 22:26
gfldex yes 22:27
notviki Why?
gfldex madness
SmokeMachine its good to be in home again! (we got tired of going to the beach...) 22:28
notviki SmokeMachine: DEFINITE 22:31
Well, this is kinda annoying.
SmokeMachine notviki: thanks! I did forget!!!
notviki "more redundant choices adds cognitive overhead for someone learning about and choosing an open source license.
Umm... and you couldn't add "more choices" button or load more options when user types the license name? 22:32
22:33 jebes joined
gfldex is there a githup api for creating repos? 22:34
notviki Yes
huggable: license :is: wget raw.githubusercontent.com/rakudo/r...om/LICENSE
huggable notviki, Added license as wget raw.githubusercontent.com/rakudo/r...om/LICENSE
kalkin- How can i create a trait_mod which combines two other trait_mods? 22:35
notviki Or at least was a year ago... Maybe they removed it for cognitive overhead reasons :}
kalkin-: call them from within it, I guess? They're just subs
gfldex: developer.github.com/v3/repos/#create 22:36
gfldex kalkin-: there is a way to call traits, let me find the blog post
SmokeMachine m: multi trait_mod:<is>(Routine:D $r, :$bla!) {trait_mod:<is>($r, :export)}; sub ble is bla {} # ? 22:38
camelia ( no output )
kalkin- I've got it
i figured that i can call traits with trait_mod<is>($suib, :trait-one('asd')) 22:39
SmokeMachine: yes
gfldex kalkin-: no blog post, it's actually in the docs: docs.perl6.org/type/Sub#index-entr...larator%29 22:40
SmokeMachine notviki: I think it worked! thanks! 22:46
notviki sweet
SmokeMachine notviki: someday ago I think you where trying to get all builtin type... was something like that? 22:47
some days
notviki I got them
SmokeMachine could you show me how? in my Test::Fuzz I have a file with the name of every builtin type to use... i think it would be better to have some code to do that... 22:49
22:49 bjz left
[Coke] yawns 22:50
notviki: (github webhooks) WOOT 22:51
kalkin- gfldex; thanks i missed it there 22:52
[Coke] (keyboards) our own jesse has keyboard.io/ which is kind of awesome and almost ready.
jebes I have an ergodox infinity and a planck 22:53
prefer the planck tbh
22:53 mr_ron joined
SmokeMachine notviki: ^^ 22:53
22:56 jebes left
notviki SmokeMachine: this is pretty much it: github.com/zoffixznet/perl6-map/bl...p6#L18-L20 22:57
obra I believe we now have all the infrastructure to do a Perl 6 mode for direct unicode input, evne, [Coke]
notviki SmokeMachine: remove the .grep and you'll have them all (IIRC it'll also include NQPRoutine or something... which doesn't have perlish methoids on it)
SmokeMachine notviki: thanks! 22:58
mr_ron m: module M {our token five { <[5]> }}; say so "5" ~~ /<M::five>/ # anyone know how to make this work?
camelia rakudo-moar 5592db: OUTPUT«No such method '!cursor_init' for invocant of type 'M'␤ in block <unit> at <tmp> line 1␤␤»
notviki SmokeMachine: oh wait, you need the !.DEFINITE thing to get just the classes :)
mr_ron: make it a proper grammar :) 22:59
SmokeMachine notviki: thanks!
23:01 raschip joined 23:03 trnh joined, trnh left, trnh joined 23:07 bjz joined
[Coke] obra: if you need a perl6 tester, let me know. :) 23:08
obra noted :)
win 20
SmokeMachine m: set CORE::.keys.grep(* ne "IterationEnd").map({CORE::{$_}}).grep({!.DEFINITE}) # :( 23:10
camelia rakudo-moar 5592db: OUTPUT«Invocant requires an instance of type Iterable, but a type object was passed. Did you forget a .new?␤ in block <unit> at <tmp> line 1␤␤»
23:10 cdg joined
SmokeMachine m: set CORE::.keys.grep(none("IterationEnd", "Iterable")).map({CORE::{$_}}).grep({!.DEFINITE}) # :( 23:12
camelia rakudo-moar 5592db: OUTPUT«Invocant requires an instance of type Iterable, but a type object was passed. Did you forget a .new?␤ in block <unit> at <tmp> line 1␤␤»
23:13 trnh left
notviki heh 23:14
s: &set
SourceBaby notviki, Sauce is at github.com/rakudo/rakudo/blob/964b...rs.pm#L374
notviki m: set Iterable
camelia ( no output )
notviki m: say set Iterable 23:15
camelia rakudo-moar 5592db: OUTPUT«set((Iterable))␤»
notviki weird
SmokeMachine m: CORE::.keys.grep({!.DEFINITE})>>.say
camelia ( no output )
SmokeMachine m: say CORE::.keys.grep({!.DEFINITE})
camelia rakudo-moar 5592db: OUTPUT«()␤»
notviki m: say set Iterable, List, Array
camelia rakudo-moar 5592db: OUTPUT«set((Iterable), (Array), (List))␤»
notviki m: say set Iterable, List, Array, Pair, Set 23:16
camelia rakudo-moar 5592db: OUTPUT«set((List), (Iterable), (Array), (Set), (Pair))␤»
notviki shrugs
SmokeMachine m: say CORE::.keys.map({CORE::{$_}}).grep({!.DEFINITE}) 23:17
camelia rakudo-moar 5592db: OUTPUT«((WhateverCode) (Slip) (Pair) (utf8) (CurrentThreadScheduler) (PromiseStatus) (StringyEnumeration) (Distribution) (Backtrace) (NFKC) (Duration) Nil (Any) (WrapDispatcher) (IO) (FileChangeEvent) (UInt64) (Order) (RatStr) (uint64) (Numeric) (Cursor) (Proxy) …»
23:18 newbie1 left
notviki m: my $s = SetHash.new; $s{Slip}++; 23:18
camelia rakudo-moar 5592db: OUTPUT«Invocant requires an instance of type List, but a type object was passed. Did you forget a .new?␤ in block <unit> at <tmp> line 1␤␤»
SmokeMachine hum...
notviki m: set CORE::.keys.grep(none("IterationEnd", "Slip")).map({CORE::{$_}}).grep({!.DEFINITE})
camelia rakudo-moar 5592db: OUTPUT«Invocant requires an instance of type Iterable, but a type object was passed. Did you forget a .new?␤ in block <unit> at <tmp> line 1␤␤»
notviki heh
23:19 cinap_lenrek joined
notviki oh and the next one it's choking on is HyperSeq 23:19
notviki is testing with perl6 -e 'm: my $s = SetHash.new; for CORE::.keys.grep(none("IterationEnd", "Iterable", "Slip")).map({CORE::{$_}}) {say "Doing {.^name}"; $s{$_}++}'
cinap_lenrek i dont know what perl6 is, but i really like your butterfly logo alot :) 23:20
SmokeMachine notviki: now Im doing the same...
moritz cinap_lenrek: then it served its purpose! :-)
notviki Seems a whole lot of them actually. Perhaps a set isn't the best choice as a container :)
cinap_lenrek: thanks!
cinap_lenrek: Perl 6 is a programming language
cinap_lenrek i know its a pl, but i havnt written any programs in it 23:21
raschip notviki: did you find a way to convince P6 to list every sub and method?
SmokeMachine m: my $s = SetHash.new; for CORE::.keys.grep(none("IterationEnd", "Iterable", "Slip")).map({CORE::{$_}}) {say "Doing {.^name}"; $s{$_}++; CATCH {default { .say }}}
camelia rakudo-moar 5592db: OUTPUT«Doing Signal␤Doing WhateverCode␤Doing Sub␤Doing Pair␤Doing Signal␤Doing Sub␤Doing Sub␤Doing utf8␤Doing Sub+{<anon|71898608>}+{Precedence}␤Doing CurrentThreadScheduler␤Doing PromiseStatus␤Doing StringyEnumeration␤Doing Distribution…»
notviki raschip: yes
raschip: something like this: github.com/zoffixznet/perl6-map/bl.../mapper.p6
23:21 RabidGravy left
notviki What's the name of the encoding that'll let me use ASCII? 23:22
raschip Is everything there P6? Or do you need to deal with Rakudo internals?
SmokeMachine notviki: :(
notviki oh, apparently we do have ASCII sweet 23:23
raschip: this regex filters out most of iternals subs github.com/zoffixznet/perl6-map/bl...pper.p6#L5
raschip I know, I mean it the other way around. Is everything you used in the program in roast or did you need something different? 23:24
SmokeMachine notviki: I think Ill stay with the file with the types names for a while... 23:25
notviki :) 23:27
23:31 trnh joined 23:34 zakharyas left 23:40 cyphase joined
b2gills cinap_lenrek: for a quick overview see learnxinyminutes.com/docs/perl6/ for more goto perl6.org and look around 23:42
cinap_lenrek don't think perl6 is for me :) 23:45
notviki :)
cinap_lenrek it appears to be very sophisticated and ritch in features 23:46
and there will probably be tons of libraries for it
notviki It is. But you don't need to know all of them to write useful programs.
raschip cinap_lenrek: It was developed with thirteen year old girls as the target audience. 23:47
cinap_lenrek i write mostly programs in c
and i hate libraries
notviki hehe
cinap_lenrek i still think the operating system is the library
MasterDuke cinap_lenrek: then you could work on the virtual machine that runs perl6, github.com/MoarVM/MoarVM 23:48
cinap_lenrek what i found interesting was the lexer stuff
23:51 rpburkholder joined
cinap_lenrek i'm not looking for work tho :) 23:52
23:53 girafe left
cinap_lenrek just wanted to say your logo is nice 23:53
raschip We call lexers "ratcheting regular expressions"
23:54 bisectable6 left, benchable6 left, evalable6 left, committable6 left, unicodable6 left, statisfiable6 left
notviki weeeeee 23:54
raschip Bye bots.
notviki robocide
AlexDaniel cinap_lenrek: interestingly, there are some people who really like the logo and some who hate it with passion
cinap_lenrek i think its great
AlexDaniel yea-yea. Wait until I add two more bots… :)
notviki :o
cinap_lenrek i really hate these sophisticated "designed" logos with gradients and shit 23:55
the perl6 logo looks like some programmer has drawn in mspaint
this logo says FUCK YOU to marketing 23:56
23:56 wamba joined
notviki This logo is proving to be a cultural hack. The smug elitist type of folk seems to stay away :) 23:57
raschip hugme: hug cinap_lenrek
notviki huggable: hug raschip 23:58
huggable hugs raschip
23:58 bisectable6 joined, unicodable6 joined, evalable6 joined, committable6 joined, benchable6 joined, statisfiable6 joined
AlexDaniel \o/ 23:58
bisectable6: …
bisectable6 AlexDaniel, Bisecting by output (old=2015.12 new=5592db8) because on both starting points the exit code is 1
AlexDaniel, bisect log: gist.github.com/b50b431f5da92bc64f...4713cf1827
AlexDaniel, There are 10 candidates for the first “new” revision. See log for more details
AlexDaniel notviki: I fixed this ↑
among other things
notviki doesn't get what the fix is
I commented on that ticket about a potential fix BTW, if anyone wants the LHF 23:59
AlexDaniel notviki: previously it just said “bisect run failure”
raschip huggable: hug cinap_lenrek
huggable hugs cinap_lenrek
notviki Oh it did
committable6: +"a"
AlexDaniel bha…
notviki mc: +"a"
committable6 notviki, gist.github.com/a9830dd24af2471041...3fe0f114fa