»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:03
aindilis joined
|
|||
timotimo | yowser, looking at the bytecode is like cutting an onion here | 00:06 | |
00:09
kyan joined
|
|||
timotimo | we already knew we'll have to get a lot smarter about native refs, but i wasn't aware we could get wins before we start doing optimizations across inlines, too | 00:14 | |
00:15
robertle left
00:16
ctilmes left
|
|||
timotimo | i see a piece of code - and i don't know how often it gets hit - that grabs a reference to a lexical variable, decontainerizes it (which boxes it into an Int object), then we boolify it with the "boolify a big integer" instruction, and then we check that for non-null | 00:17 | |
for some reason, we believe that lexical ref is used from 15 different places ..?! | 00:19 | ||
00:23
cdg left
00:24
cdg joined
|
|||
timotimo | seems to run 11x per row? | 00:25 | |
two different instances of getlexref_i in this piece of code, the both of them combined run 11x per row, that's it | 00:27 | ||
00:29
Cabanossi left,
cdg left
|
|||
timotimo | okay, some of those are actually passed to another function | 00:29 | |
00:31
Cabanossi joined,
nadim left
|
|||
timotimo | ah, one of these is for when you ask for :p in split, which isn't what's being used in CSV | 00:31 | |
00:35
dalek joined,
ChanServ sets mode: +v dalek,
synopsebot joined,
ChanServ sets mode: +v synopsebot
00:36
poohman left
00:37
Geth joined,
ChanServ sets mode: +v Geth,
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
00:39
astronavt joined
00:40
aindilis left
00:49
Sgeo joined
00:51
Sgeo_ left
00:53
poohman joined
00:54
Sgeo_ joined
00:56
Sgeo left
00:57
rube65 joined,
patrickz_ joined
00:59
Cabanossi left,
evalable6 left,
evalable6 joined
01:00
patrickz left
01:01
rube65 left,
Cabanossi joined
01:19
aborazmeh joined,
aborazmeh left,
aborazmeh joined
01:21
ryn1x joined
|
|||
buggable | New CPAN upload: Terminal-Spinners-0.0.5.tar.gz by RYNIX cpan.metacpan.org/authors/id/R/RY/...0.5.tar.gz | 01:23 | |
01:25
cdg joined
|
|||
ryn1x | ^ w00t! | 01:27 | |
timotimo | cool | 01:34 | |
01:35
astronavt left
01:41
ryn1x left
01:44
Cabanossi left
01:45
margeas left
01:46
Cabanossi joined,
astronavt joined
|
|||
Herby_ | timotimo: you taking part in the advent of code puzzles this year? | 01:47 | |
timotimo | i'm not | ||
Herby_ | if you get bored, the new one is available in about 3 hours: adventofcode.com/ | ||
and people posting solutions over here: www.reddit.com/r/adventofcode/ | |||
typically the first few days are easy but the difficulty ramps up | 01:48 | ||
timotimo | i'm going through a period of RSI at the moment, so i'm incredibly bored, but also not able/allowed to do much typing | ||
01:48
jeromelanteri joined
|
|||
Herby_ | bummer, hope you feel better | 01:48 | |
mspo | timotimo: I used to get ganglion cycsts from RSI | 01:50 | |
timotimo: eventually I figured out it was cuased by bad wrist positioning more than anything else | |||
timotimo: I would smash my hand against a stone surface to pop them | |||
timotimo | i do have a ganglion, already had it for a while, but it's still so small it's hard to notice if you don't know it's there, and it hasn't grown in like a year | 01:55 | |
mspo | timotimo: I never noticed mine until the pain of it passing between my hand-bones hurt too badly | 01:56 | |
not driving has helped, actually; since I no longer have the steering wheel in a bad position | |||
02:12
poohman left
02:13
Actualeyes left
02:15
ctilmes joined
|
|||
Morfent | how do i pass a pointer to a string to a native function? | 02:22 | |
geekosaur | it already passes them as pointers, because C. if you need a pointer to the pointer, you need to interpose another Pointer | 02:23 | |
02:37
kyan left
|
|||
Morfent | oh, the problem was i was passing parametres the wrong way | 02:38 | |
Pointer[Str].new($output.WHERE) should've just been Pointer[Str].new | |||
02:45
robinsmidsrod left,
robinsmidsrod joined,
ilbot3 left
|
|||
AlexDaniel | c: all constant k = k | 02:53 | |
committable6 | AlexDaniel, gist.github.com/1034b317c444a81b8b...241aaa4879 | ||
02:57
ilbot3 joined,
ChanServ sets mode: +v ilbot3
|
|||
AlexDaniel | c: all my (\a) = 1; say a | 03:01 | |
committable6 | AlexDaniel, gist.github.com/41b21096cf1c65bad1...97668029f9 | 03:02 | |
AlexDaniel | bisect: old=2015.11 my (\a) = 1; say a | ||
bisectable6 | AlexDaniel, Bisecting by output (old=2015.11 new=e5b660e) because on both starting points the exit code is 0 | ||
AlexDaniel, bisect log: gist.github.com/21747f6e3cb923eb46...43d9dec43d | |||
AlexDaniel, (2015-12-15) github.com/rakudo/rakudo/commit/d2...6ba77d1f92 | |||
03:03
aborazmeh left
03:08
ivans left
03:10
astronavt left
|
|||
AlexDaniel | so 224 MOLD tickets before… | 03:14 | |
161 ticket now | 03:15 | ||
say 224 - 161 | |||
evalable6 | 63 | ||
AlexDaniel | say 224 ÷ 2 | ||
evalable6 | 112 | ||
AlexDaniel | say 161 ÷ 2, ‘ticket to go :)’ | ||
evalable6 | 80.5ticket to go :) | ||
AlexDaniel | say 161 ÷ 2 - 112, ‘ticket to go :)’ | ||
evalable6 | -31.5ticket to go :) | ||
AlexDaniel | WELL definitely not in this state of mind!!! | 03:16 | |
say 224÷2 - 161, ‘tickets to go :)’ | |||
evalable6 | -49tickets to go :) | ||
AlexDaniel | ok I'll take it :D | ||
6c: my Int $a of Str; say "hi" | 03:17 | ||
committable6 | AlexDaniel, gist.github.com/3da7d76993df85fcd7...fe47f4930d | 03:18 | |
AlexDaniel | c: all my Int $a of Str; say "hi" | ||
committable6 | AlexDaniel, gist.github.com/f1dbf35f2b9c07cd7a...89ee1798da | ||
AlexDaniel | bisect: old=2015.10 my Int $a of Str; say "hi" | ||
bisectable6 | AlexDaniel, Bisecting by exit code (old=2015.10 new=e5b660e). Old exit code: 0 | ||
AlexDaniel, bisect log: gist.github.com/ffe0fa8af14bc1e218...c68a355ae5 | 03:19 | ||
AlexDaniel, (2015-11-18) github.com/rakudo/rakudo/commit/06...7ee518b737 | |||
AlexDaniel | c: 06729d91e^,06729d91e my Int $a of Str; say "hi" | ||
committable6 | AlexDaniel, gist.github.com/4fa568877e56551e52...885970e391 | 03:20 | |
AlexDaniel | c: all my $a = <2147483648/1>; say $a | 03:24 | |
committable6 | AlexDaniel, gist.github.com/93cdd2bf81efb94e66...9230837fc6 | 03:25 | |
AlexDaniel | bisect: old=2015.12 my $a = <2147483648/1>; say $a | ||
bisectable6 | AlexDaniel, Bisecting by exit code (old=2015.12 new=e5b660e). Old exit code: 1 | ||
AlexDaniel, bisect log: gist.github.com/3dcbf3113004dc134c...6f955688a4 | |||
AlexDaniel, (2016-02-07) github.com/rakudo/rakudo/commit/27...5e7412c95a | |||
AlexDaniel | m: my $a = <2147483648/1>; say $a | 03:28 | |
camelia | 2147483648 | ||
AlexDaniel | m: $a = <99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999/1>; say $a | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Variable '$a' is not declared at <tmp>:1 ------> 3<BOL>7⏏5$a = <9999999999999999999999999999999999 |
||
AlexDaniel | m: my $a = <99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999/1>; say $a | ||
camelia | 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | ||
AlexDaniel | m: my $a = <99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999/2>; say $a | ||
camelia | 49999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.5 | ||
AlexDaniel | 6c: gist.githubusercontent.com/masak/b...izzbuzz.p6 | 03:31 | |
committable6 | AlexDaniel, Successfully fetched the code from the provided URL. | ||
AlexDaniel, gist.github.com/cedc8ef783acc22e8f...a98f5ad7d6 | |||
AlexDaniel | 6c: constant nums = 1; my \fizzbuzz = nums\ .map({ $_ }); | ||
committable6 | AlexDaniel, gist.github.com/76f318afe9a72a77d2...ecff46a555 | ||
03:31
cdg left
03:33
kyan joined
|
|||
AlexDaniel | bisect: old=2017.09 gist.githubusercontent.com/masak/b...izzbuzz.p6 | 03:33 | |
03:33
Herby_ left
|
|||
bisectable6 | AlexDaniel, Successfully fetched the code from the provided URL. | 03:33 | |
AlexDaniel, Bisecting by output (old=2017.09 new=e5b660e) because on both starting points the exit code is 1 | |||
AlexDaniel, bisect log: gist.github.com/143789fbc47bdbc2d6...a3f4b93ac1 | 03:34 | ||
AlexDaniel, (2017-09-28) github.com/rakudo/rakudo/commit/68...600d9b24e6 | |||
AlexDaniel | c: 6824e1928^,6824e1928 gist.githubusercontent.com/masak/b...izzbuzz.p6 | ||
committable6 | AlexDaniel, Successfully fetched the code from the provided URL. | ||
AlexDaniel, gist.github.com/eef75414cdee17fb25...73a49df398 | |||
AlexDaniel | well, not really | ||
c: all constant nums = 1; my \fizzbuzz = nums\ .map({ $_ }); | 03:37 | ||
committable6 | AlexDaniel, gist.github.com/e503d4e068d7097751...b47b65a0a5 | 03:38 | |
AlexDaniel | bisect: constant nums = 1; my \fizzbuzz = nums\ .map({ $_ }); | 03:40 | |
bisectable6 | AlexDaniel, Bisecting by exit code (old=2015.12 new=e5b660e). Old exit code: 1 | ||
AlexDaniel, bisect log: gist.github.com/f6968d1e500459f26e...97d054b9ad | 03:41 | ||
AlexDaniel, (2017-10-07) github.com/rakudo/rakudo/commit/f2...21731282dc | |||
03:42
konsolebox left
|
|||
AlexDaniel | nah I'm not going to reach 112 by myself | 03:42 | |
m: =begin DATAfoo=end DATAsay $=pod<DATA> | 03:43 | ||
camelia | Type Array does not support associative indexing. in block <unit> at <tmp> line 4 |
||
03:44
konsolebox joined
|
|||
AlexDaniel | c: all class m { has $.a; method m1() { $::<!a"> = 1; } } ; my $c = m.new(); $c.m1(); | 03:47 | |
committable6 | AlexDaniel, gist.github.com/836e4459ff9c4260fa...9ca3a3f2b5 | 03:48 | |
AlexDaniel | eval: rt.perl.org/Ticket/Attachment/1352...58/test.p6 | 03:51 | |
evalable6 | AlexDaniel, It looks like a URL, but mime type is ‘application/octet-stream’ while I was expecting something with ‘text/plain’ or ‘perl’ in it. I can only understand raw links, sorry. | ||
AlexDaniel | 🖕 RT | ||
wait, what is earliest, more and wait? | 03:57 | ||
RT#125343 if anyone is interested | 03:59 | ||
synopsebot | RT#125343 [open]: rt.perl.org/Ticket/Display.html?id=125343 [WEIRD] Using an earliest { ... wait 0 { ... } } causes | ||
04:08
Herby_ joined
04:10
robinsmidsrod left
04:13
Cabanossi left
|
|||
AlexDaniel | 6c: use v6;my $supply = supply { die;}react { whenever $supply { }} | 04:13 | |
committable6 | AlexDaniel, gist.github.com/68ce947d044543596b...3a933d6c74 | ||
AlexDaniel | bisect: old=2016.10 new=2016.11 use v6;my $supply = supply { die;}react { whenever $supply { }} | 04:14 | |
bisectable6 | AlexDaniel, Bisecting by output (old=2016.10 new=2016.11) because on both starting points the exit code is 1 | ||
AlexDaniel, bisect log: gist.github.com/7db4c66b0bf3377f99...0b5b069493 | |||
AlexDaniel, (2016-10-15) github.com/rakudo/rakudo/commit/19...0a810c26e5 | |||
AlexDaniel | ah damn it has the filename in the exception | ||
04:15
Cabanossi joined
|
|||
AlexDaniel | bisect: old=2016.10 new=2016.11 use v6;my $supply = supply { die;}react { whenever $supply { }}CATCH { exit .gist.contains: ‘Original exception’ } | 04:16 | |
bisectable6 | AlexDaniel, Bisecting by exit code (old=2016.10 new=2016.11). Old exit code: 0 | ||
AlexDaniel, bisect log: gist.github.com/5b549d89bf73b4afaf...25d16e1b4a | |||
AlexDaniel, (2016-11-02) github.com/rakudo/rakudo/commit/ab...80e5efecbf | |||
04:16
wander joined
|
|||
wander | what a new day #perl6 | 04:19 | |
yoleaux | 2 Dec 2017 23:13Z <AlexDaniel> wander: good news!!! I think your RT comment went through | ||
AlexDaniel | wander: o/ | ||
Herby_ | wander: \o | ||
AlexDaniel | wander: we're at <147 MOLD tickets, can we get it to 112 (half of what we had before)? | ||
oh, actually 144 already | 04:20 | ||
wander | oh, even forget which rt :-) | ||
AlexDaniel | wander: it was some ticket that's now closed :) | 04:21 | |
wander | squashable6: status | ||
squashable6 | wander, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈7 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
wander, Log and stats: gist.github.com/58300e37b003fbf2c2...7b4be6bed8 | |||
wander | good news :) | ||
AlexDaniel | c: all say 1 !after 2 !after 3; | 04:22 | |
committable6 | AlexDaniel, gist.github.com/e4532afbab17e1f446...4fc3a66d42 | 04:23 | |
AlexDaniel | wander: not sure about that, I'll have to leave in an hour or so | ||
bisect: old=2015.11 say 1 !after 2 !after 3; | |||
bisectable6 | AlexDaniel, Bisecting by output (old=2015.11 new=e5b660e) because on both starting points the exit code is 0 | ||
AlexDaniel, bisect log: gist.github.com/312f805011d5aa22bd...56666a61ff | |||
AlexDaniel, (2015-11-23) github.com/rakudo/rakudo/commit/a0...d77f6a71ec | |||
04:23
Herby_ left
|
|||
AlexDaniel | c: a06069b1d^,a06069b1d say 1 !after 2 !after 3; | 04:23 | |
committable6 | AlexDaniel, ¦a06069b1d^: «False» ¦a06069b: «True» | 04:24 | |
04:25
ctilmes left
04:26
reportable6 left,
reportable6 joined,
ChanServ sets mode: +v reportable6
|
|||
wander | say !((!(1 after 2)) after 1) | 04:27 | |
evalable6 | True | ||
wander | if after's associativity marked 'left' | ||
AlexDaniel | c: 2017.11,HEAD my $a = (1, 2, 3); $a[42] = 21 | 04:28 | |
committable6 | AlexDaniel, ¦2017.11,HEAD(e5b660e): «Cannot modify an immutable Str (Nil) in block <unit> at /tmp/awFQWcir8L line 1 «exit code = 1»» | ||
04:29
konsolebox left
04:30
pdcawley left
04:31
kyan left
04:35
konsolebox joined
04:40
konsolebox left
|
|||
AlexDaniel | down to 137… | 04:41 | |
04:42
konsolebox joined
|
|||
wander | reportable6: list | 04:46 | |
reportable6 | wander, gist.github.com/637814509cbd7ed7b2...1ea1ca9224 | ||
wander | reportable6: 2017-12-02T00:00:00Z 2017-12-03T00:00:00Z | 04:47 | |
reportable6 | wander, OK, working on it! This may take up to 40 seconds | ||
wander, gist.github.com/dfa7f43d6ed26a53ca...4352509448 | |||
AlexDaniel | 6c: say ("a" ~~ /<alpha> & <ident> & <alnum>/).caps | 04:49 | |
committable6 | AlexDaniel, gist.github.com/8a185bf112addfc979...c785329f35 | ||
AlexDaniel | hmm | ||
bisect: say ("a" ~~ /<alpha> & <ident> & <alnum>/).caps | |||
bisectable6 | AlexDaniel, Bisecting by output (old=2015.12 new=e5b660e) because on both starting points the exit code is 0 | ||
AlexDaniel, bisect log: gist.github.com/e966c87e9c18ba395d...ccd4b2d2ba | |||
AlexDaniel, (2017-02-22) github.com/rakudo/rakudo/commit/1c...24e4d0d5d3 | |||
AlexDaniel | c: 1cafc67b1aa^,1cafc67b1aa say ("a" ~~ /<alpha> & <ident> & <alnum>/).caps | 04:50 | |
committable6 | AlexDaniel, ¦1cafc67b1aa^: «(ident => 「a」 alnum => 「a」 alpha => 「a」)» ¦1cafc67: «(ident => 「a」 alpha => 「a」 alnum => 「a」)» | ||
AlexDaniel | wander: well, the closest snapshot is actually 2017-12-01T07:33:00Z | 04:51 | |
04:51
reportable6 left,
reportable6 joined
|
|||
AlexDaniel | reportable6: 2017-12-01T07:33:00Z 2017-12-03T00:00:00Z | 04:52 | |
reportable6 | AlexDaniel, OK, working on it! This may take up to 40 seconds | ||
AlexDaniel, gist.github.com/8a38cdf3fbd564bdd0...b53b965942 | |||
AlexDaniel | ↑ that looks better :) | 04:53 | |
wander | yes, i know that. i wanted only to see the diff just now | 04:54 | |
:) | 04:55 | ||
AlexDaniel | :) | ||
04:56
Herby_ joined
|
|||
Herby_ | Advent of Code: Day 3 kicks off in about 3 minutes for those interested: adventofcode.com/ | 04:56 | |
AlexDaniel | wander: nah, I won't make it. Going to bed now | 05:01 | |
AlexDaniel hoping to get some good 90 minutes of sleep :) | |||
wander | rt#125061 | 05:10 | |
synopsebot | RT#125061 [new]: rt.perl.org/Ticket/Display.html?id=125061 Roast rakudo skip/todo test:./S04-declarations/will.t line:33 reason: 'declared variable not visible in block yet' | ||
wander | github.com/perl6/roast/blob/03686d....t#L29-L36 | ||
regardless the NYI init, i wonder whether `will init` is supposed to see $x | 05:11 | ||
my $x will begin { $same1 ~= "a"; say $x } | 05:12 | ||
05:14
araraloren joined
05:19
someuser joined
05:27
dmaestro left
05:29
llfourn_ left
05:36
khw left
05:37
konsolebox left
05:38
konsolebox joined
|
|||
araraloren | The second day: ideone.com/jpJpG3 | 05:43 | |
:) | |||
05:53
Xliff_ left
|
|||
Herby_ | araraloren: ++ | 05:56 | |
squashable6 | 🍕 W4anD0eR96++ opened issue “Another butting issue on Str and Enum”: github.com/rakudo/rakudo/issues/1296 | 06:16 | |
06:17
darutoko joined
06:28
Cabanossi left
06:30
Cabanossi joined
|
|||
wander | m: use MONKEY-SEE-NO-EVAL; EVAL('class A { has $.a}'); say A.new(a=>4); | 06:32 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared name: A used at line 1 |
||
wander | ^^ This is what rt#122289 says, IMO | ||
synopsebot | RT#122289 [open]: rt.perl.org/Ticket/Display.html?id=122289 [WEIRD] unexpected behaviour during EVAL() | ||
06:32
konsolebox left
|
|||
wander | however, if you put these stmts line by line, it works | 06:32 | |
in REPL | |||
not work if you write down a script | 06:33 | ||
06:34
konsolebox joined
|
|||
wander | interesting, i've sent 4 e-mails to rt system on 4 different tickets. an hour late none of them arrived. | 06:40 | |
s/late/later/ | |||
wander errands & | 06:41 | ||
geekosaur | rt does that in my experience | 06:42 | |
it batches stuff | |||
so for example with all the activity in the squashathon I go 1-2 hours with an empty mailbox and then 20 messages at once | |||
well, not rt-the-program but whatever mail setup rt.perl.org is using/connected to | 06:43 | ||
reminds me of sendmail >4 with some bad addresses in the outbound mix and bad tuning, actually. sorts by recipient, then gets stuck for an hour on the MX hosts it can't connect to | 06:44 | ||
squashable6 | 🍕 AlexDaniel++ edited issue “Another butting issue on Str and Enum”: github.com/rakudo/rakudo/issues/1296 | 06:45 | |
06:58
konsolebox left
06:59
konsolebox joined
07:10
konsolebox left
07:11
AlexDaniel left
07:12
konsolebox joined
07:26
konsolebox left
07:27
parv joined,
konsolebox joined
07:35
konsolebox left
|
|||
araraloren | gist.github.com/araraloren/9e08847...20d3d8c9ba | 07:39 | |
Can someone tell me what's the debug message mean ? It's about zef | |||
Why it test failed | 07:40 | ||
07:41
konsolebox joined
07:46
rindolf joined
|
|||
araraloren | .tell ugexe I setup a new linux(fedora 25), after install rakudo-pkg. It failed when I run `install-zef-as-user.p6` ^^ | 07:47 | |
yoleaux | araraloren: I'll pass your message to ugexe. | ||
araraloren | .tell ugexe sorry, fedora 26 | ||
yoleaux | araraloren: I'll pass your message to ugexe. | ||
geekosaur | I'm thinking you're missing some external programs, notably 'prove' which should come from perl 5. But you;re on Fedora so you likely are suffering from the RH/Fedora 'we only install a half-assed perl' issue | 07:52 | |
you want to install the perl-core package to get a proper base perl 5 environment like every other OS / distro provides | 07:54 | ||
this may also be the issue with TAP::Harness, especially if it's looking for the p5 one | 07:55 | ||
07:55
cdg joined
07:56
wamba joined
08:00
cdg left
08:04
eliasr joined
08:10
Actualeyes joined
08:16
AlexDaniel joined
08:20
AlexDaniel left
08:21
AlexDaniel joined
08:25
pdcawley joined
08:34
konsolebox left
08:35
wander left
08:36
konsolebox joined
08:38
sena_kun joined
08:44
konsolebox left
08:46
konsolebox joined
08:54
nadim joined,
parv left
08:55
pdcawley left
08:58
natrys joined
09:02
parv joined
09:03
robertle joined
09:11
domidumont joined
09:13
cdg joined
|
|||
AlexDaniel | squashable6: status | 09:14 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈2 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/d692f2f0ff6314da25...1b589e8347 | |||
09:15
cdg_ joined
|
|||
squashable6 | 🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day | 09:16 | |
natrys | if I have a list of numbers, what's a concise way to get the first index of a certain number? | ||
09:18
cdg left,
cdg joined
09:19
domidumont left,
cdg_ left
|
|||
araraloren | geekosaur, yeah, maybe. But it just said that `SKIP`ed, not report error | 09:19 | |
09:19
domidumont joined
09:23
cdg left
09:42
ivans joined
09:46
pdcawley joined
|
|||
AlexDaniel | m: say <60 80 31 50 20>.first(*.is-prime, :k) | 09:49 | |
camelia | 2 | ||
AlexDaniel | natrys: ↑ | ||
mch: Block but True | 09:51 | ||
committable6 | AlexDaniel, ¦2015.12: «Cannot look up attributes in a type object in block <unit> at /tmp/AJ1lVK6gGf line 1 «exit code = 1»» ¦HEAD(e31a414): «» | ||
AlexDaniel | mch: my $b = Block but True; say $b.WHICH | ||
committable6 | AlexDaniel, ¦2015.12: «Cannot look up attributes in a type object in block <unit> at /tmp/Qe1RNQTi2t line 1 «exit code = 1»» ¦HEAD(e31a414): «Block+{<anon|94398302702384>}|U94398282163112» | ||
natrys | AlexDaniel: thanks! somehow missed first in the doc | 09:54 | |
10:09
konsolebox left
|
|||
AlexDaniel | eval: gist.githubusercontent.com/TimToad...tfile1.txt | 10:09 | |
evalable6 | AlexDaniel, Successfully fetched the code from the provided URL. | ||
(exit code 1) Too many positionals passed; expected 1 argument but got 4 in method new at /tmp/kT9pWaHpbw line 46 in block <unit> at /tmp/kT9pWaHpbw line 59 |
|||
AlexDaniel | c: all gist.githubusercontent.com/TimToad...tfile1.txt | 10:10 | |
committable6 | AlexDaniel, Successfully fetched the code from the provided URL. | ||
AlexDaniel, gist.github.com/297882f4f84bb8362a...523439c436 | |||
10:11
konsolebox joined
|
|||
AlexDaniel | 10 tickets left!! | 10:11 | |
squashable6: next | 10:12 | ||
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/dd2ed84cee5445ddbb...74746ef56b | |||
10:12
pdcawley left
10:13
TEttinger left
10:16
natrys left
|
|||
AlexDaniel | 117!!! | 10:21 | |
5 to go!! | |||
teatime | when, if ever, should you use “use v6;” ? | 10:26 | |
AlexDaniel | teatime: if you're worried that some confused mind will run it with perl5 | 10:27 | |
teatime | (I'm pretty satisfied naming files “….pl6” and “….pm6”, if that matters. That's fine, right?) | ||
AlexDaniel | yea, p6 is possibly more common but pl6 is fine too | ||
teatime | ah, hadn't seen that one yet actually. | 10:28 | |
10:28
Cabanossi left
|
|||
teatime | thanks. | 10:28 | |
lizmat | AlexDaniel: have to go afk now, so no more Squashathon contributions from my end :-( | ||
AlexDaniel | lizmat: that's cool. I think we'll reach 112 | ||
teatime | .p6 and .pm6, or .p6 for both? | ||
AlexDaniel | lizmat: which is half of what we had! | 10:29 | |
lizmat: something to mention in p6weekly maybe *hint-hint* | |||
10:29
parv left
|
|||
teatime | “.p6” is definitely sexier, somehow. (lol) | 10:29 | |
AlexDaniel | teatime: github.com/perl6/doc/issues/778 | ||
teatime | in the same way that X and K are cooler letters of the alphabet. | ||
10:30
Cabanossi joined
|
|||
AlexDaniel | teatime: I think ö is cooler :) | 10:30 | |
actually, we already reached 112 MOLD tickets | 10:31 | ||
\o/ | |||
teatime | ok, so (.p6 + .pm6) seems to be the winner. thanks, AlexDaniel++ | 10:32 | |
AlexDaniel | teatime: well, that's the idea. But if you have more than a hundred of modules then you can change it \o/ | 10:33 | |
teatime | heh you should re-add LHF, if y'all settled that / if it wouldn't annoy coke | ||
AlexDaniel | ( well, at least you can “vote” a bit :) ) | ||
teatime | haha | 10:34 | |
moritz | data from perl6-all-modules: .p6 346 vs .pl 198 vs .pl6 310 | ||
pm6 2861 vs pm 1488 | |||
teatime | on windows, I think I'd have the installer: associate both .p6 and .pl6 with perl6, {dunno if there'd be any reason to also associate .pm6?), and then if perl6 scripts ending in .pl are expected to work, that would actually be handled/wrapped by perl5 (or some perl-dispatching script, if you can't get buy-in from perl5 upstream) | 10:36 | |
and then in docs, it's up to you whether to just suggest .p6 or say there's a choice between the two. | 10:37 | ||
AlexDaniel | teatime: github.com/perl6/doc/issues/778#is...-348754983 :) | ||
teatime | but mainly, should def. assoc. both .p6 and .pl6. on unix, it matters much less / not at all. | ||
10:38
evi joined
|
|||
teatime makes a quick mention of that in the bug. | 10:38 | ||
10:38
lizmat left
|
|||
squashable6 | 🍕 AlexDaniel++ edited wiki page “MOLD Removal SQUASHathon”: github.com/rakudo/rakudo/wiki/MOLD...QUASHathon | 10:42 | |
AlexDaniel | squashable6: status | 10:43 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/ac4ff0923303b08223...6e42985ccf | |||
AlexDaniel | reportable6: 2017-12-01T07:33:00Z 2017-12-03T06:00:00Z | 10:44 | |
reportable6 | AlexDaniel, OK, working on it! This may take up to 40 seconds | ||
10:44
reportable6 left,
reportable6 joined
|
|||
teatime | AlexDaniel: I guess it's an EBIKEALREADYSHEDDED | 10:44 | |
AlexDaniel | reportable6: 2017-12-01T07:33:00Z 2017-12-03T06:00:00Z | ||
reportable6 | AlexDaniel, OK, working on it! This may take up to 40 seconds | ||
AlexDaniel | a bikeshed for e-bikes? That's something new | 10:45 | |
teatime | threw my 0.02¢ in tho | ||
reportable6 | AlexDaniel, gist.github.com/866ce0876f2404f0d8...6210b0e122 | ||
10:45
reportable6 left,
reportable6 joined,
ChanServ sets mode: +v reportable6
10:48
konsolebox left
10:50
parv joined
10:55
konsolebox joined
10:59
parv left
|
|||
AlexDaniel | there's not much to do here now: fail.rakudo.party/t/MOLD | 11:02 | |
maybe some of the autogenerated tickets are already resolved, but I did check them automagically with a script about two months ago | 11:03 | ||
(and at the time closed some of them) | |||
not really willing to do it again, maybe remind me next December… :) | |||
11:06
MasterDuke joined
11:09
Ven`` joined
11:18
wamba left
11:20
wamba joined
|
|||
AlexDaniel | squashable6: status | 11:24 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event is in 35 minutes. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/b745dc910a2226badb...dffdef5518 | |||
11:29
Ven`` left
11:30
itaipu joined
11:35
AlexDaniel left
11:44
konsolebox left
|
|||
MasterDuke | i was travelling all day yesterday, but i did just confirm that one RT still has the same behavior | 11:45 | |
11:46
konsolebox joined
11:52
evi left
12:04
pdcawley joined
12:06
raiph left
12:13
Cabanossi left
12:15
wander joined,
Cabanossi joined
|
|||
wander | AlexDaniel: 103 MOLD now | 12:15 | |
[12:19] <AlexDaniel> wander: we're at <147 MOLD tickets, can we get it to 112 (half of what we had before)? | 12:16 | ||
12:17
ctilmes joined
12:20
margeas joined
|
|||
AlexDaniel` | MasterDuke++ every bit counts :) | 12:22 | |
wander: \o/ | 12:23 | ||
12:39
pdcawley left
12:44
pdcawley joined
12:52
pdcawley left
12:58
kitsunenokenja joined
13:22
AlexDaniel joined
|
|||
AlexDaniel | reportable6: 2017-12-01T07:33:00Z 2017-12-03T12:00:00Z | 13:23 | |
reportable6 | AlexDaniel, OK, working on it! This may take up to 40 seconds | ||
AlexDaniel, gist.github.com/c2824fa8c8bffdc72c...f22e545c8b | |||
AlexDaniel | squashable6: status | 13:24 | |
squashable6 | AlexDaniel, Next SQUASHathon in 32 days and ≈20 hours (2018-01-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
SmokeMachine | Hi! how can I convert NQPArray to Array on QAST? | 13:25 | |
13:25
robertle left
|
|||
AlexDaniel | squashable6: log 2017-12-02 | 13:26 | |
squashable6 | AlexDaniel, Log and stats: gist.github.com/2286b5029e04bfb1aa...f2a72879ea | ||
13:30
jeromelanteri left
13:31
reportable6 left,
reportable6 joined,
ChanServ sets mode: +v reportable6
|
|||
AlexDaniel | reportable6: 2017-12-01T07:33:00Z 2017-12-03T12:00:00Z | 13:31 | |
reportable6 | AlexDaniel, OK, working on it! This may take up to 40 seconds | ||
AlexDaniel, gist.github.com/d9a9f76e6470f80be8...463464c6cb | 13:32 | ||
13:47
reportable6 left,
reportable6 joined
13:57
Popov_ joined
|
|||
Popov_ | #perl6 | 13:57 | |
13:59
ctilmes left
|
|||
Popov_ | perl6: say 'hello' | 13:59 | |
camelia | Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | ||
hello | |||
Popov_ | perl6: say "hello"; | ||
camelia | hello | ||
Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | |||
DrForr | Afternoon all. | 14:00 | |
Popov_ | perl6: say "hello" eq "hello"; | ||
camelia | Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | ||
True | |||
Popov_ | perl6: say 6 eq 6; | ||
camelia | True | ||
Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | |||
Popov_ | perl6: say 6 eq 7; | ||
camelia | Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | ||
False | |||
Popov_ | perl6: say 6 ne 7; | ||
camelia | True | ||
Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | |||
DrForr | The P6A interface is not letting me choose a date (the 6th, obviously) on which to publish an article. I'm guessing I should just write it as usual and paste the HTML or whatever on the 6th? | 14:01 | |
(also the p6eval-token thing looks a bit odd to me.) | 14:02 | ||
moritz | DrForr: you can schedule posts | ||
DrForr: you might need the old-school interface at perl6advent.wordpress.com/wp-admin/edit.php though | 14:03 | ||
DrForr: or if you are having trouble, I can schedule it for you | |||
DrForr | That's what I've been trying to do. There's a "Publish Immediately" sidebar... Aaah, that might do the trick. | ||
Let me try that first. It gives me a calendar but won't let me actually click on a date. | |||
moritz | I can schedule it for you if you want. You can still edit it after that | 14:04 | |
tbrowder: how is your advent calendar post for tomorrow coming along? | |||
DrForr | Let me try this first... | 14:05 | |
Hold the phone here, I don't think this is the right account. Fiddling... | 14:06 | ||
moritz: "Cannot Acess the Dashboard Requested" - I don't think I've got access to p6a, and it's using my existing WP account that I'd tried desperately to forget about. | 14:08 | ||
moritz | DrForr: should i send you an inventation to a different email address? | 14:09 | |
*invitation | |||
DrForr | I *swear* I'm going to rewrite this POC in Perl6... | 14:10 | |
AlexDaniel | Popov_: we normally use “m: ” prefix | 14:12 | |
m: say 42 | |||
camelia | 42 | ||
DrForr | moritz++ # thanks, hopefully that'll work. | ||
moritz | btw my post for the 8th is ready, and can be swapped with an earlier date if the need arises | ||
14:16
geospeck joined
14:18
geospeck left,
robertle joined
|
|||
titsuki | .tell moritz thanks for your code modification of my advent post! But I gave up using <pre> tags and decided to use gist. | 14:28 | |
yoleaux | titsuki: I'll pass your message to moritz. | ||
14:35
kitsunenokenja left
14:41
ctilmes joined
14:46
Popov_ left
14:56
Morfent joined
14:59
geospeck joined
15:04
Morfent left
15:13
cdg joined
15:14
itaipu left
15:20
nadim left
15:22
nadim joined
|
|||
tbrowder | .tell moritz i’ll make it but i would prefer a swap of dates if possible | 15:23 | |
yoleaux | tbrowder: I'll pass your message to moritz. | ||
15:29
Cabanossi left
15:30
Cabanossi joined
15:32
Morfent joined,
Morfent left
15:35
Morfent joined
15:40
araraloren left
15:43
Ven`` joined
15:53
TreyHarris left
|
|||
Herby_ | o/ | 15:58 | |
15:59
Cabanossi left
16:00
Cabanossi joined
16:02
Voldenet joined,
Voldenet left,
Voldenet joined
16:07
TreyHarris joined
16:08
lizmat joined
16:09
geospeck left
16:13
ShalokShalom left
|
|||
moritz | tbrowder: sure, no problem | 16:15 | |
yoleaux | 14:28Z <titsuki> moritz: thanks for your code modification of my advent post! But I gave up using <pre> tags and decided to use gist. | ||
15:23Z <tbrowder> moritz: i’ll make it but i would prefer a swap of dates if possible | |||
Geth | mu: 151337f253 | (Moritz Lenz)++ | misc/perl6advent-2017/schedule Swap days with tbrowder |
16:16 | |
moritz | ZofBot: at least in the preview of the perl 6 advent calendar, it seems that the first line of a <pre><code>...</code></pre> block is indented a few pixels more than the rest. It would be awesome if you could deploy your CSS skills to fix that | 16:20 | |
if not, no big deal | |||
16:21
khw joined
|
|||
moritz | blog post for tomorrow is scheduled | 16:22 | |
tbrowder | .tell moritz thanks! | 16:23 | |
yoleaux | tbrowder: I'll pass your message to moritz. | ||
moritz | I'm right here :-) | ||
yoleaux | 16:23Z <tbrowder> moritz: thanks! | ||
16:38
perlpilot_ joined
16:40
kyan joined,
kyan left
16:41
patrickz_ left
16:46
vendethiel- joined
16:48
Ven`` left
16:55
ctilmes left
17:14
lizmat left
|
|||
wander | squashable6: status | 17:17 | |
squashable6 | wander, Next SQUASHathon in 32 days and ≈16 hours (2018-01-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
17:18
ilbelkyr joined
17:19
Ven`` joined
17:20
vendethiel- left
17:29
Cabanossi left
17:30
Cabanossi joined
17:38
cdg left
17:44
aindilis joined,
cdg joined
17:49
cdg left
17:53
john_parr joined
17:55
TreyHarris left
17:56
wander left
18:02
yqt joined
18:03
comborico1611 joined
|
|||
comborico1611 | Perlpilot, you around? | 18:05 | |
18:07
relaxed joined
18:10
TreyHarris joined
18:11
cdg joined
18:12
patrickz joined
18:26
darutoko left
18:29
Cabanossi left
18:30
Cabanossi joined
|
|||
buggable | New CPAN upload: Font-FreeType-0.0.5.tar.gz by WARRINGD cpan.metacpan.org/authors/id/W/WA/...0.5.tar.gz | 18:33 | |
18:38
rgrau joined
19:11
ctilmes joined
19:16
dotness joined
|
|||
dotness | Hey. Is there a way to get a child class name from parent's method ? glot.io/snippets/ew2q9kpewp | 19:21 | |
I want to return child class instance via parent's custom constructor. Is there a way to get child class name via callframe or something buildin ? | 19:22 | ||
timotimo | not sure what you're looking for; how does the parent method decide which child class' name to return? | 19:24 | |
anyway, if you call the method "custom-constructor" on B rather than A - even if it's declared in A - it will create a B for you (if you use "self.bless" or "self.new") | |||
19:25
bwisti joined
|
|||
dotness | hah , funny it is in fact self.new - i was looking at it for half an hour , but couldnt see it ;) | 19:25 | |
timotimo | the trick is that "self" is of the type you're calling the method on | ||
19:25
pmurias joined
|
|||
timotimo | m: class A { method what-am-i { say self.^name } }; class B is A { }; class C is B { }; A.what-am-i; B.what-am-i; C.what-am-i | 19:26 | |
camelia | A B C |
||
b2gills | If you want the actual type object, rather than the name of it swap `.^name` with `.WHAT` | 19:27 | |
timotimo | right, but you'll likely just want to call self.new or self.bless in which case it doesn't care if it's the type object or an instance | ||
dotness | thanks :) , its just funny that i had the answer before my eyes all the time - but for some reason i started playing with ::?CLASS:U - which is just a macro ;) | 19:29 | |
timotimo | that expression is useful mostly in roles, because roles can be mixed into whatever classes | 19:30 | |
19:35
releasable6 left,
releasable6 joined,
ChanServ sets mode: +v releasable6
19:36
unicodable6 left,
unicodable6 joined,
ChanServ sets mode: +v unicodable6,
bisectable6 left,
committable6 left,
bisectable6 joined,
committable6 joined,
ChanServ sets mode: +v committable6
|
|||
moritz | if I enable "Use Markdown for posts and pages." on perl6advent.wordpress.com/wp-admin...riting.php will it break the existing posts and drafts? | 19:47 | |
should I try it? | 19:49 | ||
19:52
ctilmes left
|
|||
comborico1611 | I dunno, but I need to submit my article description. | 19:52 | |
19:53
ctilmes joined
|
|||
SmokeMachine | Hi there! could someone help me? Im writing a slang and one of the slang do is create a block, bur when I create the block (with the slang) inside a for loop it gets only the last value of the utterable variable... it runs all the times it should, but every time with the same value... | 19:57 | |
my code is here: github.com/FCO/p6-react/blob/master/teste2.p6 | |||
it prints: | |||
www.irccloud.com/pastebin/CptqVuqy/ | 19:58 | ||
could someone help me? | |||
comborico1611 | I'm a newb. Sorry. | 19:59 | |
SmokeMachine | comborico1611: :) thanks | ||
moritz | comborico1611: and you should actually write the article :-) | 20:01 | |
SmokeMachine | moritz: any help? | ||
moritz | SmokeMachine: sorry, I don't have any experience with slangs | 20:02 | |
SmokeMachine | :( | ||
20:07
domidumont left
20:09
pdcawley joined,
pmurias left,
pmurias joined
|
|||
comborico1611 | mortiz, I'm almost finished. | 20:13 | |
moritz | comborico1611: that's great | ||
comborico1611 | moritz* | ||
Yup! | |||
moritz | and it seems bduggan is done with his post for day 10 | 20:14 | |
tony-o | SmokeMachine: why are you calling .render twice? | ||
SmokeMachine | the first one is the component's render and the second one is the element's render... | 20:15 | |
the component's render returns a element... | |||
tony-o: ^^ | 20:16 | ||
20:18
TEttinger joined
|
|||
tony-o | i have a feeling the answer is in the slang | 20:19 | |
the $item is set properly when it gets to <Item .. | 20:20 | ||
ctilmes | moritz - I scheduled mine for 12:00am. | ||
on tuesday | |||
20:20
cdg left
20:21
cdg joined
|
|||
SmokeMachine | tony-o: probably... | 20:21 | |
this works: | |||
moritz | ctilmes: thanks! | 20:22 | |
SmokeMachine | www.irccloud.com/pastebin/ZuC8TNf5/ | ||
tony-o | is that the route you want to go? the first one seems more readable | 20:23 | |
moritz | ctilmes: the time zone seems not to be UTC; can I change it to midnight UTC? | ||
SmokeMachine | tony-o: no! just testing... | ||
ctilmes | please -- I wasn't sure about that | ||
20:23
dotness left
|
|||
ctilmes | thank you | 20:23 | |
tony-o | SmokeMachine: :-) | 20:24 | |
20:24
sftp left
|
|||
SmokeMachine | I was used to have the same kind of problem writing JS with var variables (no let)... | 20:24 | |
moritz | done | ||
20:25
cdg left
|
|||
SmokeMachine | tony-o: like this: glot.io/snippets/ew2s40zm67 | 20:27 | |
tony-o | SmokeMachine: here - add this to line 8 on your Slang | ||
say @data[0]<data>.().perl if $type eq 'Item'; | |||
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/ciGLEh_9qZ Variable '@data' is not declared at /tmp/ciGLEh_9qZ:1 ------> 03say 08⏏04@data[0]<data>.().perl if $type eq 'Item |
||
20:28
Cabanossi left
|
|||
tony-o | that gets the item you're _actually_ looking for, which sounds like the slang is parsing data="{{something}}" as a Block you need to call to get the data | 20:28 | |
SmokeMachine | tony-o www.irccloud.com/pastebin/3EoSW72F/ | 20:29 | |
20:30
Cabanossi joined
|
|||
SmokeMachine | tony-o: if I comment the 2nd render, and print its elements, this is what is printed: | 20:32 | |
Element.new(type => "ul", children => [[Element.new(type => "Item", children => [], pars => {:data(-> { #`(Block|140715798154584) ... })}), Element.new(type => "Item", children => [], pars => {:data(-> { #`(Block|140715798154584) ... })}), Element.new(type => "Item", children => [], pars => {:data(-> { #`(Block|140715798154584) ... })})],], pars => {}) | |||
tony-o | SmokeMachine: gist.github.com/tony-o/8254813e242...729a26b34f | ||
20:32
benchable6 left
20:33
benchable6 joined
|
|||
tony-o | i think this does closer to what you'd like | 20:33 | |
20:33
kerframil joined
|
|||
tony-o | your slang is parsing Item data="{{ $item }}" as create an element (Item) with data (Block <- callable in this case) | 20:34 | |
same as in javascript the value of $item at the time the .render.render is called is the last element in $.props<item> | |||
20:35
kerframil left
|
|||
tony-o | that loop isn't being evaluated at the time of the .render, it's being evaluated during the grammar parsing - is another way to say what i mean | 20:35 | |
the patch above gets the value from the block at the time of parsing ^ | 20:36 | ||
SmokeMachine | yes! that worked! | 20:37 | |
tony-o: thank you very much! | |||
tony-o | np | ||
now i need to make my tar module not look like the IPO of warthog, nines favorite mess | 20:38 | ||
SmokeMachine | IPO of warthog? sorry, what that mean? | 20:39 | |
20:40
yqt left
|
|||
tony-o | i wrote a dependency module that nine was looking for earlier this year and it took two iterations, one to make it kind of work and then the rewrite 8 hours later to make it simple and *really* work | 20:40 | |
github.com/tony-o/p6-warthog | 20:41 | ||
20:45
okl joined
20:47
comborico1611 left
|
|||
SmokeMachine | tony-o: it looks extremely interest! | 20:50 | |
* interesting | 20:51 | ||
20:57
Cabanossi left
21:00
Cabanossi joined
21:01
Herby_ left
21:02
okl left,
comborico1611 joined,
AndChat|688961 joined,
comborico1611 left
|
|||
AndChat|688961 | moritz, did i upload my document onto advent page? | 21:03 | |
21:03
AndChat|688961 left
21:04
comborico1611 joined
|
|||
comborico1611 | That was me, as guest account thing. | 21:04 | |
I've never used word press | |||
moritz | comborico1611: yes, but the formatting is a bit weird | 21:05 | |
comborico1611: most of the prose seems to be in monospace font | |||
comborico1611: do you want me to fix that? | 21:06 | ||
comborico1611 | If it is difficult to read. | ||
I chose that font because I like the look of it. But I didn't realize it was going to look weird. | |||
moritz | I find it harder to read than it needs to be | 21:07 | |
comborico1611 | Alright go ahead. | 21:08 | |
Thanks! | |||
moritz | comborico1611: done. | 21:15 | |
comborico1611: should I schedule it for publishing on the 6th? | |||
comborico1611 | Or earlier. Doesn't matter. | ||
moritz | done | 21:18 | |
comborico1611 | Thanks. | ||
21:18
perlpilot_ left
|
|||
moritz | comborico1611: thank you for writing for the Perl 6 advent calendar! | 21:19 | |
comborico1611 | It is a good opportunity to reach some people. | 21:22 | |
21:25
sergot joined
|
|||
comborico1611 | And i believe in the community. | 21:26 | |
timotimo | SmokeMachine: github.com/pmurias/p6-jsx - maybe this gives you a hint or two on how to implement jsx as a perl6 slang | 21:28 | |
21:37
Rawriful joined
21:40
cpage_ left,
greppable6 left,
greppable6 joined,
ChanServ sets mode: +v greppable6
|
|||
SmokeMachine | timotimo: very similar to what I did... | 21:44 | |
Why everything I start writing was already written?! | 21:45 | ||
timotimo | everything's a remix ;) | ||
tadzik | we're all markov chain bots of our former selves | 21:52 | |
pmurias | SmokeMachine: are you writing a JSX slang? | 21:57 | |
SmokeMachine | pmurias: kinda... | 21:59 | |
El_Che | If I write a Naticall-based module, that needs 2 .so's and I build them at install time, where should be .so be placed? | 22:00 | |
(don't say some global OS PATH or LD_LIBRARY_PATH) | |||
pmurias | SmokeMachine: p6-jsx is not yet complete but what I'm hoping to achieve is to keep it as close as possible to JSX so that we can use it with real react.js on top of rakudo.js | 22:01 | |
moritz: what do you want to achieve with your slang? | 22:03 | ||
SmokeMachine | I was thinking something like that... but not use the react.js and change some things I don’t like in react... | ||
pmurias | moritz: sorry | 22:04 | |
SmokeMachine: what do you want to change? | |||
SmokeMachine | And I was thinking on starting with server side rendering... | ||
I don’t remember... :P I am trying to remember while I write it... | 22:06 | ||
teatime | El_Che: “You can achieve […] by specifying resources under resources/libraries in your META6.json without any lib prefix or extension, and by retrieving that resource from %?RESOURCES in your module.” -- github.com/hoelzro/p6-native-resources | 22:07 | |
SmokeMachine | Now my implementation isn’t just the slang... it’s rendering... (with almost no features... but it’s rendering...) | 22:08 | |
pmurias | SmokeMachine: you should be able to use my slang for server side rendering without problems | 22:09 | |
El_Che | teatime: thank you. I'll have a look there. Until now, I've only used system libraries. But that lib I need is not compiled by default on OS packages | ||
(so the lib is there, but it misses what I need :) ) | |||
22:10
kitsunenokenja joined
|
|||
pmurias | SmokeMachine: I don't seen any need/benefit of mixing the rendering (or passing to react.js part) with the slang itself | 22:10 | |
22:10
setty1 left
|
|||
SmokeMachine | pmurias: github.com/FCO/p6-react/tree/master | 22:10 | |
teatime | El_Che: it looks like your use case has been thought of / covered, just not sure where best up-to-date docs for it is; if you see hoelzro_ around, he probably knows ;) | ||
El_Che | thx | 22:12 | |
22:13
kitsunenokenja left
|
|||
pmurias | SmokeMachine: the implementation looks similiar | 22:14 | |
SmokeMachine | That’s a good signal (I think) | 22:15 | |
22:18
setty1 joined
22:19
Ven`` left
22:29
ShalokShalom joined
22:36
kitsunenokenja joined
22:45
ctilmes left
|
|||
SmokeMachine | pmurias: any special reason to do not use a pblock on token jsx_attribute_value:sym<EXPR>? | 22:46 | |
22:50
ryn1x joined
|
|||
ryn1x | Does this seem like a good or bad way to use SQLite3 with Perl6... by just making calls to the SQLite3 terminal utility? gist.github.com/ryn1x/7a37d5adf9b5...qlite3-pm6 | 22:53 | |
My other idea was to wrap or use the C library, but that seemed like a ton of work for what I need right now... | |||
timotimo | i expect most people would use sqlite3 via DBIish | 22:54 | |
since it goes via the c api it can also get some more meta-info, like what types were the fields supposed to be | |||
without having to understand what query the user set off | |||
22:55
mson joined
|
|||
ryn1x | I didn't know about DBIish... I need to go have a look... | 22:56 | |
timotimo | oh, ok | ||
ryn1x | I did a search on modules.perl6.org for 'sqlite'... | 22:57 | |
timotimo | it's true, you wouldn't know to search for "dbi" if you didn't come from perl5 | ||
doesn't help that DBIish doesn't have any tags in its metadata | |||
22:58
setty1 left
|
|||
ryn1x | Man DBIish is definitely the module I needed... oh-well... I did get some good practice trying to come up with my own solution ha. | 22:59 | |
El_Che | ryn1x: more power to you :) | ||
pmurias | SmokeMachine: a pblock would introduce a block, in real JSX there is an expression there | 23:07 | |
SmokeMachine: and what would the paramaters to the block be? | 23:10 | ||
SmokeMachine | pmurias: in my implementation I used a block, and I run that block to get the value... | 23:11 | |
23:11
someuser left
|
|||
SmokeMachine | pmurias: but I couldn't use only the pblock... I added a extra {}... I couldn't use only the pblock... couldn't parse... | 23:12 | |
pmurias | SmokeMachine: why not a regular <block> instead of <pblock> | 23:13 | |
SmokeMachine | pmurias: sample: github.com/FCO/p6-react/blob/maste...ste2.p6#L7 | 23:14 | |
im not sure...I tried <block>, but I couldn't -> $bla {;}... than I changed to <pblock> | 23:15 | ||
dpk | p6: say "fi" ~~ /fi/ | 23:16 | |
camelia | Nil | ||
pmurias | SmokeMachine: I have to go to sleep, already past my bedtime, I'll have a look at the {{}} issue tommorow;) | ||
dpk | p6: say "fi" ~~ /:ignoremark fi/ | ||
camelia | Nil | ||
SmokeMachine | pmurias: thanks! have a good night! | ||
dpk | p6: say "fi" ~~ /fi/ | 23:17 | |
camelia | Nil | ||
dpk | p6: say "fi" ~~ /:ignoremark fi/ | ||
camelia | Nil | ||
pmurias | SmokeMachine: using a real block instead of a proper expression would be more perlish for sure, my plan was to first implement JSX as close to the orginal as possible (so that we can reuse/steal docs etc.) and then add optional extra perlishness on top | ||
sleep& | 23:18 | ||
23:18
pmurias left
|
|||
timotimo | p6: say "fi" ~~ /:ignorecase fi/ | 23:18 | |
camelia | 「f」 | ||
dpk | oh, fi is considered a case variant? | 23:19 | |
timotimo | must be a foldcase thing | ||
m: say fc fi | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: fi used at line 1 |
||
timotimo | m: say fc "fi" | ||
camelia | fi | ||
dpk | also, that's incorrect, surely it should return 'fi' | ||
timotimo | true | ||
dpk | p6: say "ss" ~~ /:ignorecase ß/ | ||
camelia | 「s」 | ||
dpk | ⬑ that one is significantly more likely to bite people in practice | 23:20 | |
timotimo | wasn't "sharp s turns into ss" removed? | ||
dpk | from what? | ||
timotimo | by the unicode consortium i mea | ||
dpk | no | ||
if they did, it would be wrong … ẞ is now allowed but not mandatory | 23:21 | ||
timotimo | ok | ||
p6: say "fia" ~~ /:ignorecase a/ | 23:23 | ||
camelia | 「a」 | ||
dpk | p6: say "ss" ~~ /:ignorecase [ss||ß]/ | ||
camelia | 「ss」 | ||
timotimo | this is the one we do get right | ||
dpk | there's a workaround, at least | ||
SmokeMachine | u: fi | 23:25 | |
unicodable6 | SmokeMachine, U+0035 DIGIT FIVE [Nd] (5) | ||
SmokeMachine, U+01BC LATIN CAPITAL LETTER TONE FIVE [Lu] (Ƽ) | |||
SmokeMachine, 1314 characters in total: gist.github.com/eb8a9f0792565b7379...41cd70092c | |||
SmokeMachine | ??? | 23:26 | |
dpk | u: fi | ||
unicodable6 | dpk, U+FB01 LATIN SMALL LIGATURE FI [Ll] (fi) | ||
timotimo | digit five | ||
that's where the fi lives | |||
dpk | so where do i report about about fi/ß matching? is it a bug in Perl 6 or in Rakudo? | 23:28 | |
timotimo | i'd say rakudo, but there'll want to be test cases, which would be "against perl6"? | 23:30 | |
or maybe there are already | 23:31 | ||
AlexDaniel | o/ | 23:34 | |
23:34
llfourn joined
23:36
Rawriful left
|
|||
AlexDaniel | samcv: ↑ ? :) | 23:38 | |
timotimo | i think one of the fundamental problems is that our matches are (basically) triples of original string, start, and length | ||
and if you match an f that just so happens to be inside an fi ligature, we can't find a place in the original string that - when substring'd - gives you just f | 23:39 | ||
though i think we may have a differentiation between "original thing matched against" and "thing we found result in"? | |||
23:42
perlpilot_ joined,
Cabanossi left
23:45
Cabanossi joined,
ShalokShalom left
23:47
ShalokShalom joined,
ShalokShalom left,
ShalokShalom joined
|
|||
dpk | okat, first Perl 6 bug filed … hope i did it right | 23:51 | |
AlexDaniel | dpk: that's on github or RT? | 23:54 | |
dpk | i typed perlbug which i assume goes to the latter | 23:55 | |
AlexDaniel | okay | ||
dpk | i didn't know there's a github tracker … | ||
AlexDaniel | dpk: both are fine | ||
although on RT your first ever bug report might take a while to appear :) |