»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:05
wbn left,
wbn_ joined
00:24
aborazmeh left
00:43
w_richard_w joined
|
|||
AlexDaniel | weekly: perlweeklychallenge.org/blog/phili...lenge-001/ | 00:52 | |
notable6 | AlexDaniel, Noted! | ||
ugexe | first challenge didnt print the number of Es | 00:54 | |
AlexDaniel | actually, now that I've read the post… I'm no longer sure what it is about | ||
ugexe: it actually does? | 00:55 | ||
ugexe | heh my eyes melded the $ and 5 | ||
lookatme_q | m: | 00:58 | |
evalable6 | |||
lookatme_q | m: $_ = 'Perl Weekly Challenge'; say +s:g/e/E/; .say; | ||
evalable6 | 5 PErl WEEkly ChallEngE |
||
AlexDaniel | that's sorta what I sent | 01:09 | |
m: $_ = 'Perl Weekly Challenge'; say +t/e/E/; .say; | |||
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/bLcBG25y8U Missing… |
||
AlexDaniel, Full output: gist.github.com/38f63d1d3f1aba68f7...a26a0b38b8 | |||
AlexDaniel | m: $_ = 'Perl Weekly Challenge'; say +tr/e/E/; .say; | ||
evalable6 | 5 PErl WEEkly ChallEngE |
||
AlexDaniel | it's sorta different because you get StrDistance back | 01:10 | |
ugexe | anyone think of a polyglot way to do map between perl 5/6? that damn comma... | 01:12 | |
i was hoping something like `sub mapp(&;@_) { }` but i would at the very least need &; to be &x;, which breaks it | 01:15 | ||
AlexDaniel | what about | 01:17 | |
perl -E 'sub foo($_) { $_ + 1 }; say join ",", map &foo, (2,5,8)' | |||
this works with `perl6 -e` too | |||
ugexe | hmm, why can you say `map &foo,` but not `map { ... },` | 01:18 | |
AlexDaniel | map BLOCK LIST | ||
map EXPR,LIST | |||
Juerd | ugexe: Because it uses map EXPR instead of map BLOCK | ||
ugexe | ah | 01:19 | |
Juerd | &foo is the old Perl 5 function call syntax that passes @_ implicitly | ||
&foo is like foo(@_). It's nasty. | 01:20 | ||
AlexDaniel | I'm surprised sub foo($_) works | ||
Juerd | AlexDaniel: Perl 5 ignores the _ | 01:21 | |
And $_ is a global | |||
AlexDaniel | Juerd: yes but you can write `sub foo($x, $y)` and I guess it does something, right? | ||
Juerd | Prototypes ignore invalid characters | 01:22 | |
AlexDaniel | oh… right… obviously… | ||
Juerd | Oh, it doesn't (anymore?) | 01:23 | |
AlexDaniel | v5.28.1 doesn't complain | ||
Juerd | Mine does. | 01:24 | |
1;0 juerd@cxien:~$ perl -e'sub foo($x, $y) { die $x } foo(4, 5)' | |||
Malformed prototype for main::foo: $x, $y at -e line 1. | |||
AlexDaniel | yeah but only if you call it like that | ||
`sub foo($x, $y) { }` by itself is legal | 01:25 | ||
and so is | |||
perl -E 'sub foo($x, $y) { $_ + 1 }; say join ",", map &foo, (2,5,8)' | |||
Juerd | Isn't that just because prototype checking is runtime? | ||
& doen't do prototype checking | |||
s/doen/doesn/ | |||
AlexDaniel | heh… I'm happy perl 6 exists… :) | 01:26 | |
Juerd | 1;0 juerd@cxien:~$ perl -e'sub three($$$) { die } &three("one")' | ||
Died at -e line 1. | |||
AlexDaniel | someone should create a polyglot code golf website | ||
Xliff | You're joking..right? It is that time of year. :P | 01:29 | |
01:30
leont left
|
|||
Xliff | AlexDaniel: Mmm... Now why am I thinking about stones?! :P | 01:38 | |
Juerd | ugexe: map &{ sub ($_) { $_ + 1 } }.(), 2, 4, 6 | ||
ugexe | Juerd: nice, thats even better | 01:39 | |
Juerd | Note that you do end up with strings in Perl 5. | 01:40 | |
01:46
MidCheck left
|
|||
AlexDaniel | Xliff: stones? | 01:52 | |
like the rolling ones? | 01:53 | ||
Xliff: but, not really, code-golf.io/ was a lot of fun for me but it got boring fast | 01:59 | ||
so having to golf in two languages at the same time can add a little bit of spice | |||
Xliff | AlexDaniel: RosettaStone | 02:06 | |
It's not golfing, but you can definitely get tips. | 02:07 | ||
AlexDaniel | April 1st… today I can finally submit a bunch of stupid tickets :) | 02:11 | |
02:12
rindolf left,
aindilis` left
|
|||
Xliff | LOL! | 02:13 | |
Not quite yet here on the East Coast USA | |||
02:13
aindilis joined
|
|||
Xliff | StackOverflow got a head start. | 02:13 | |
02:20
aindilis left
02:21
aindilis joined
02:29
Xliff left
02:37
benjikun joined
03:04
kurahaupo_ left
03:05
kurahaupo joined
03:19
MidCheck joined
03:53
kst left
03:59
Penglin joined
04:00
Penglin left
04:14
AlexDani` joined
04:18
AlexDaniel left
04:51
curan joined
05:15
cpan-p6 left
05:16
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
05:19
mowcat left
05:21
jmerelo joined
05:29
MidCheck left,
kst joined
|
|||
Geth | doc/master: 4 commits pushed by (JJ Merelo)++ | 05:51 | |
06:00
Black_Ribbon left
|
|||
Geth | doc: 10ff8d0ea8 | (JJ Merelo)++ | doc/Type/Junction.pod6 Documents junction.Bool refs #2703 |
06:01 | |
synopsebot_ | Link: doc.perl6.org/type/Junction | ||
06:09
domidumont joined
06:11
zacts joined,
zacts left
06:12
ravenousmoose joined
06:19
kurahaupo_ joined
06:23
kurahaupo left
06:39
reach_satori left
06:40
jmerelo left
06:57
robertle joined
07:02
pistacchio left,
pistacchio joined
07:07
heince joined
07:09
[Sno] left
07:10
imcsk8 left
|
|||
heince | what is the module recommendation to do http client (get,post,put,delete) now in term of performance ? | 07:12 | |
07:18
aborazmeh joined,
aborazmeh left,
aborazmeh joined
07:19
netrino joined
07:23
imcsk8 joined
|
|||
lookatme_q | heince, you can take a look at Cro | 07:25 | |
heince | is it included in rakudo star ? | 07:28 | |
07:29
kurahaupo_ left
|
|||
lookatme_q | IDK, you can install it by yourself | 07:29 | |
07:32
patrickb joined
|
|||
heince | ok thanks, testing it | 07:32 | |
07:38
zakharyas joined
07:40
stux|RC-only left
07:55
aborazmeh left
07:57
dakkar joined
08:01
pistacchio left
08:02
pistacchio joined
08:08
ravenousmoose_ joined,
ravenousmoose left
08:11
pistacchio left,
reach_satori joined,
pistacchio joined
08:18
khisanth_ left
08:26
reach_satori left
08:27
ufobat joined
08:28
w_richard_w left,
w_richard_w joined,
netrino left
08:29
sena_kun joined
08:33
AlexDani` left
08:34
AlexDani` joined
08:35
rindolf joined
08:36
khisanth_ joined
08:41
kurahaupo joined
08:42
ravenousmoose_ left
08:43
reach_satori joined
08:45
rindolf left
08:55
reach_satori left
08:58
irco left,
rindolf joined
09:00
ravenousmoose_ joined
09:02
MidCheck joined
09:03
heince left
09:04
reach_satori joined
09:05
rindolf left
09:06
cpan-p6 left
|
|||
lizmat | weekly: perl6.eu/gather-take.html | 09:06 | |
notable6 | lizmat, Noted! | ||
09:06
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
09:09
rindolf joined
09:10
w_richard_w left,
reach_satori left
09:11
reach_satori joined
09:15
reach_satori left
09:17
reach_satori joined
09:21
reach_satori left
09:23
leont joined
09:24
reach_satori joined
09:27
abraxxa joined
09:28
reach_satori left
09:29
domidumont left
09:31
rindolf left
09:45
rindolf joined
09:47
ravenousmoose_ left
09:48
random_yanek left
|
|||
tyil | is there a more perly way to write `for 1,3,4,5,6,7 { say $_ }`? I want to loop through a list of numbers, but skip a given number (in this case, 2) | 09:49 | |
sena_kun | `next if $_ ==`? | 09:50 | |
m: for (1..8) { next if $_ == 2; $_.say } | |||
evalable6 | 1 3 4 5 6 7 8 |
||
09:50
ravenousmoose joined
|
|||
sena_kun | m: for (1..8) { next when 2; $_.say } | 09:51 | |
evalable6 | 1 3 4 5 6 7 8 |
||
tyil | I can add a couple next if ... clauses, I was hoping to be able to make the list itself represent the iterations of the loop | ||
instead of handling it in the for loop's body | |||
sena_kun | m: for (1..8).grep({ $_ != 2 }) { $_.say } | 09:52 | |
evalable6 | 1 3 4 5 6 7 8 |
||
lizmat | m: .say for (1..7).grep( * != 2 ) | 09:53 | |
evalable6 | 1 3 4 5 6 7 |
||
sena_kun | benchable6, compare HEAD for (1..8) { next if $_ == 2; $_.say } ||| for (1..8).grep({ $_ != 2 }) { $_.say } | ||
benchable6 | sena_kun, starting to benchmark the 1 given commit | ||
sena_kun, gist.github.com/03465d31b9122609cc...3078fc4fc4 | |||
sena_kun | for 100_000 iterations, the second way is a bit slower, but is not a disaster, so grepping may be an option. | 09:57 | |
09:59
random_yanek joined
10:04
scimon joined
|
|||
lizmat | I think that is because the "for 1..8 {" gets highly optimized, whereas the "(1..8).grep" case is not, but is more general and not depending on the values being numbers | 10:04 | |
sena_kun | well, it is understandable that having a simple jmp for `next` on a branch would be cheaper than streaming values, just was curious how much and it isn't too much. | 10:07 | |
so pretty nice job was done in this area. :) | |||
timotimo | does anybody want to see how much gain there could be from building a "full-featured" iterator into resultsets in DBIish? so that push-until-lazy and push-all and such would be a very tight loop instead of calling pull-one over and over? | 10:09 | |
10:12
kurahaupo left
|
|||
sena_kun | timotimo, it depends on what "want to see" implies. ;) | 10:12 | |
10:12
kurahaupo joined
10:14
domidumont joined
10:23
patrickb left
10:27
AlexDani` is now known as AlexDaniel,
AlexDaniel left,
AlexDaniel joined
10:29
mowcat joined
|
|||
AlexDaniel | weekly: “Perl 5 and Perl 6 are too dissimilar” github.com/JRaspass/code-golf/issu...-478498363 | 10:29 | |
notable6 | AlexDaniel, Noted! | ||
10:29
mowcat left
10:30
mowcat joined
|
|||
lizmat | notable6: weekly | 10:31 | |
notable6 | lizmat, 10 notes: gist.github.com/b24bb7d5c7497900a7...8dcaa3d93b | ||
10:41
patrickb joined
10:46
reach_satori joined
10:54
reach_satori left
11:08
pmurias joined
|
|||
pmurias | if I want to keep a known revision of roast that rakudo.js is known to pass is a submodule in my run-roast-in-chrome repo a good choice? | 11:09 | |
timotimo | sena_kun: implement it and benchmark i guess %) | 11:12 | |
11:16
reach_satori joined
11:29
mnoop is now known as mniip
11:31
zakharyas left
11:32
MidCheck left
11:45
discord61 joined,
discord61 left,
discord61 joined
11:46
discord6 left
11:47
discord61 is now known as discord6
11:55
domidumont left
11:56
domidumont joined
11:58
kurahaupo left,
kurahaupo_ joined,
kurahaupo_ left,
kurahaupo joined
12:00
llfourn left
12:20
Manifest0 left
12:25
Manifest0 joined
12:32
llfourn joined
|
|||
patrickb | There has been this idea of a list of domain experts which helps with change proposals to Perl 6. Is this idea still a thing? | 12:33 | |
moritz | yes, see github.com/perl6/problem-solving/pull/2 | 12:35 | |
sena_kun | github.com/perl6/problem-solving <- this? | ||
oops, too slow | |||
12:35
reach_satori left
12:37
llfourn left
|
|||
lizmat | yet another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/04/01/...kes-today/ | 12:40 | |
tbrowder | ++lizmat | 12:53 | |
i just tried "zef upgrade DBIish" and got a moarvm core dump, rakudo 2019.03 | 12:54 | ||
13:00
ravenousmoose left
13:03
zakharyas joined
|
|||
tbrowder | g'day all | 13:06 | |
i'm trying to use an END block to clean up db resources. does END run after an exit statement or is it ignored. the docs are a bit hazy to me in that regard when it says "late as possible". | 13:12 | ||
in the docs the LEAVE block is specifically mentioned as being ignored after an exit statement, but no mention of END. | 13:15 | ||
hahainternet | no idea but might be worth testing to see | 13:30 | |
i have my own question too, anyone written a graphicsmagick/imagemagick module worth looking at? | |||
lizmat | m: END say "goodbye"; exit | 13:32 | |
evalable6 | goodbye | ||
13:32
patrickb left
|
|||
lizmat | the exit will *first* run all of the END blocks | 13:32 | |
13:33
skids joined
|
|||
lizmat | m: exit; END say "goodbye" | 13:33 | |
evalable6 | goodbye | ||
lizmat | m: exit; END say "goodbye"; LEAVE say "bye now" | ||
evalable6 | goodbye | ||
lizmat | interestin | 13:34 | |
m: END say "goodbye"; LEAVE say "bye now" | |||
evalable6 | bye now goodbye |
||
lizmat | guess that makes sense, considering that "exit" is just a sub being called with magic properties | ||
timotimo | m: my &*EXIT = -> | { say "haha" }; exit 1; say "fooled you" | 13:36 | |
evalable6 | haha fooled you |
||
AlexDaniel | hahainternet: yeah there's modules.perl6.org/dist/MagickWand:cpan:AZAWAWI but it's incomplete | 13:37 | |
hahainternet | AlexDaniel: cheers, just need to generate a simple focus target image | 13:38 | |
so i thought i'd try and write a succinct p6 version | |||
13:38
kurahaupo left
13:39
llfourn joined,
kurahaupo joined
13:44
llfourn left
13:59
curan left
|
|||
tbrowder | ref my end problem: solved! duh, ... the END was placed after a pod =finish directive! ;-( | 14:00 | |
ugexe | m: print("$_\n") for map &{ sub ($_) { /^0[0123456789]+/ and (0+$_) or $_ } }.(), (1,2, "01", "0002", "03030", "a", "-001"); | 14:10 | |
evalable6 | 1 2 01 0002 03030 a -001 |
||
ugexe | darn | ||
14:10
domidumont1 joined
14:11
hasuwiz joined
|
|||
hasuwiz | Good evening, #Perl6 | 14:11 | |
eseyman | Good evening to you, hasuwiz | 14:12 | |
14:13
domidumont left
|
|||
ugexe | m: print("$_\n") for map &{ sub ($_) { /^0(0|1|2|3|4|5|6|7|8|9)+/ && (0+$_) || $_ } }.(), (1,2,"01","0002", "03030", "a", "-001"); | 14:13 | |
evalable6 | 1 2 1 2 3030 a -001 |
||
Geth | DBIish: 8d1749dd23 | (Tom Browder)++ (committed using GitHub Web editor) | README.pod tweak grammar |
14:15 | |
14:25
Bob- left
14:30
bobby joined
14:34
lucasb joined
14:39
ravenousmoose joined
14:44
ravenousmoose left
14:45
llfourn joined
14:49
vrurg_ joined
14:50
vrurg left,
vrurg_ is now known as vrurg,
llfourn left
14:53
Sgeo__ left
15:00
llfourn joined
15:01
Manifest0 left
15:05
llfourn left
15:06
Manifest0 joined
|
|||
tbrowder | getting test failure for DBIish with unique constraint, but it installs anyway. i need that capability. i'm using deb 9 which uses sqlite3 version 3.16. it looks like LOTS of bug fixes to sqlite which is at version 3.27.2 now. | 15:06 | |
15:06
rindolf left
|
|||
tbrowder | any ideas other than compiling sqlite from source? | 15:07 | |
15:11
rindolf joined
15:15
jmerelo joined
|
|||
sena_kun | with debian you _possibly_ can possibly get updates from custom repo... maybe a testing branch will do? | 15:19 | |
though from my experience with testing it takes some work. | |||
15:21
sena_kun left,
sena_kun joined
|
|||
sena_kun | tbrowder, packages.debian.org/search?keywords=sqlite3 <- I see 3.27.2-1 available in stretch-backports. | 15:22 | |
15:24
robertle left
|
|||
tbrowder | sena_kun: thanks! | 15:25 | |
when using backports, does that cause problems when buster is release? | 15:26 | ||
*released%. | 15:27 | ||
sena_kun | I am not a debian user, but I don't think so. I mean, those are backports... It is not like you are changing the release. | 15:30 | |
AlexDaniel | yeah, it should be fine | ||
15:37
llfourn joined
15:41
llfourn left
15:42
pmurias left
15:56
hasuwiz left,
hasuwiz joined
15:59
zakharyas left
16:19
Manifest0 left
16:21
MidCheck joined
16:25
Manifest0 joined
16:32
scimon left
16:35
pistacchio left,
pistacchio joined
16:36
pistacchio left,
pistacchio joined
16:37
domidumont joined
16:40
dakkar left,
domidumont1 left
16:41
pistacchio left
16:46
upline is now known as grumble
16:56
llfourn joined
16:58
jmerelo left
17:11
robertle joined
17:16
amosbird joined
17:18
mowcat left
|
|||
amosbird | hi, why is perl6 20 years later? | 17:23 | |
heh github.com/perl7/perl7 | |||
tadzik | why is perl 6 what 20 years later? | 17:25 | |
AlexDaniel | amosbird: because we didn't invent time travel yet? | ||
17:25
domidumont left
|
|||
AlexDaniel | or maybe we did, and sent it into the future… | 17:25 | |
amosbird | oops, I mean 20 years late | 17:29 | |
perl 5 is 94 | |||
perl 3 4 5 92 93 94 | |||
lizmat | amosbird: why does it matter and why do you want to know ? | 17:30 | |
17:35
pistacchio joined
|
|||
amosbird | ok, just found the answer that I'm looking for www.quora.com/Perl-programming-lan...ybody-care | 17:36 | |
17:38
reach_satori joined
|
|||
amosbird | "Perl 6 is expected to facilitate creation of domain-specific languages by making it easier to create and parse grammars. If it delivers on this promise, it will be one valuable feature that helps distinguish Perl 6 from the crowd." This actually attracts me | 17:38 | |
and this answers my question "Larry is releasing Perl 6, because 15 years ago he decided to re-write his creation from the ground up. It was a long journey, and it took them to places he didn't imagine and the quest was different in the completion than in the onset. As for the validity of why he did this, that's a dumb question. We don't often do things just for validity, most of the time we are just | 17:40 | ||
scratching an intellectual itch, which he has done. I am pretty sure that some people are going to discuss it." | |||
17:42
cpan-p6 left
17:43
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined,
theangryepicbana joined
|
|||
theangryepicbana | I was readong the Perl 6 Weekly and noticed that my new module wasn't listed | 17:44 | |
*reading | |||
17:47
[Sno] joined,
ctilmes joined
|
|||
lizmat | theangryepicbana: :-( I forgot to check the ecosystem repo | 17:47 | |
17:50
pecastro joined
|
|||
theangryepicbana | ok | 17:50 | |
next week I guess | 17:51 | ||
lizmat | should be there now | 17:53 | |
please reload the page | |||
sorry for missing it, my bad | 17:54 | ||
theangryepicbana | no problem | ||
I should work in it more today | |||
lizmat | it's just much easier for me if a distribution is on CPAN, specifically for updates | 17:55 | |
theangryepicbana | *on | ||
ah | |||
lizmat | updates to CPAN are automatically tweeted: twitter.com/perl6_cpan_new | ||
theangryepicbana | I don't use CPAN as much as modules.perl6 | ||
sena_kun | (my two modules latest were left out too, but it was some months ago already, I believe) | 17:56 | |
lizmat | :-( | ||
please let me know if you miss something: if nobody tells me I missed something, how am I to know ? | |||
theangryepicbana | maybe make a bot that also posts additions to modules.perl6 | ||
lizmat | and how would the bot know> | 17:57 | |
? | |||
theangryepicbana | well, how does the current bot know that modules are added to CPAN? | ||
sena_kun | sure, I am usually pointing out these things, just somehow was in no use module that time. | ||
lizmat | check every update to every repo that is in the ecosystem ? | ||
theangryepicbana | oh | ||
lizmat | the PAUSE mechanism has a callback mechanism, I believe... | 17:58 | |
github.com/skaji/perl6-cpan-new has the code | |||
theangryepicbana | lemme look | ||
nvm I can't read go | 17:59 | ||
maybe have it check for updates in github.com/perl6/ecosystem? | 18:01 | ||
18:01
natrys joined
|
|||
amosbird | is this github.com/rakudo/rakudo the official perl6 compiler? | 18:02 | |
lizmat | amosbird: it is a compiler that passes the most tests that make up Perl 6 | ||
amosbird | so perl6 becomes test defined instead of implementation defined | 18:04 | |
18:04
telex left
|
|||
sena_kun | yes | 18:04 | |
18:06
telex joined
18:07
zachk joined
|
|||
amosbird | are there similar projects like github.com/numba/numba in perl6? | 18:10 | |
sena_kun | not ones I know about. there are some cool things built in, like 0.1 + 0.2 gives you what it has too, also some math and stat-related libraries, but nothing like NumPy yet. And performance benchmarks can sometimes be sad, so if you want something like Julia, R or whatever to _crunch_ numbers fast, that might be not it. | 18:13 | |
s/has too/has to/ | |||
amosbird | ok, so what can I use perl6 for currently (that it's actually good at right now) | 18:15 | |
sena_kun | amosbird, automating scripts, web, anything with concurrency nicely packed in, compilers... | 18:16 | |
theangryepicbana | amosbird: have you never heard of Inline::Python | ||
18:22
sauvin left,
theangryepicbana left
18:28
Manifest0 left
18:34
Manifest0 joined
|
|||
Geth | doc: 6dd090ea59 | Coke++ | doc/Type/Junction.pod6 avoid typo, reword slightly. |
18:38 | |
doc: 1ef04d824d | Coke++ | xt/code.pws word used in code |
|||
synopsebot_ | Link: doc.perl6.org/type/Junction | ||
doc: 36ee82e632 | Coke++ | doc/Type/Junction.pod6 rephrase to avoid neologism |
|||
19:03
netrino joined
19:06
awwaiid left
19:08
ExtraCrispy left
19:10
ExtraCrispy joined
|
|||
timotimo | once moarvm's jit learns about float ops and registers, we'll likely get better "raw number crunching" performance in some cases. that's the hope at least :) | 19:11 | |
19:17
cpan-p6 left
19:18
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
|
|||
ctilmes | Would be nice to have IO of multi-dimensional arrays of packed native integers and floats (like Perl5 PDLs) | 19:18 | |
timotimo | we do have .read-float32 and .read-float64 now for the buf class | ||
that gets you pretty far already | |||
the heap snapshot analyzer will, with its new format, grab a stream of packed integers from a file that goes through zstd and pull them into native arrays | 19:19 | ||
ctilmes | I saw some of that coming in -- I haven't tried it yet -- maybe that will meet my needs -- I set aside a task that needed it a while ago | ||
timotimo | i've got kind of an interest to have that be fast ;) | ||
19:20
pistacchio left,
pistacchio joined
|
|||
timotimo | it actually does not yet beat the implementation i had before, but that's mostly because the parameters didn't match up quite | 19:20 | |
read-uint32 and friends take an offset, whereas my implementation shifted off the beginning of the array so it didn't have to carry an index around (but now the version with .read-uint32 had to shift the values off the beginning as well) | 19:21 | ||
and i more or less cheated with my implementation by using nqp ops directly, which let me get away with zero method or sub calls :) | |||
19:31
stux|RC-only joined
19:32
AlexDaniel left
19:42
ctilmes left
19:46
__jrjsmrtn__ joined
19:47
Manifest0 left
19:48
agentzh left
19:51
MidCheck left
19:53
Manifest0 joined
20:25
__jrjsmrtn__ left
20:40
agentzh joined
20:42
bobby left
20:43
pmurias joined
20:51
mowcat joined
20:52
mowcat left,
mowcat joined
|
|||
kawaii | Does anyone from the Star team know when they'll be tagging their official Docker images for 2019.03? | 21:03 | |
21:03
skids left
21:15
Bob- joined,
pyrimidine left
21:16
netrino_ joined
21:17
netrino left
21:20
robertle left
21:23
melezhik joined
21:24
lucasb left,
|Sno| joined
21:27
[Sno] left,
pmurias left
21:33
netrino joined
21:35
netrino_ left
21:36
Guest49515 left
21:38
netrino_ joined
21:39
netrino left
21:47
success joined,
success is now known as Guest9349
21:50
Guest9349 left,
failure joined
21:51
failure is now known as Guest64932
21:55
rindolf left
22:00
lgtaube left,
stux|RC-only left,
lgtaube joined
22:06
leont left
22:17
MidCheck joined
22:22
Sgeo joined
22:23
sena_kun left
|
|||
melezhik | Hi. Is it possible to insert comments into regexps? | 22:27 | |
timotimo | i believe so, yeah | ||
m: say "foobar" ~~ / foo #`( this is a comment ) bar / | |||
evalable6 | 「foobar」 | ||
melezhik | cool, thank you! | 22:28 | |
lizmat | also, simple # also works: | 22:31 | |
dd "foo" ~~ /^ | |||
f # first letter | |||
o # second letter | |||
o # third letter | |||
/ | |||
timotimo | i was too lazy to look for a nl symbol to copypaste | 22:32 | |
lizmat | sleep& | ||
timotimo | fwiw, i might end up turning that bluetooth keyboard into a full keyboard of shortcuts for stuff | ||
could have a load of symbols on there as well | |||
though i'll have to memorize what is where, since the keys don't have displays on them for some unfathomable reason | |||
like, surely you can get like a hundred little oled screens into a thirty bucks bluetooth device without making it much more expensive, right? :P | 22:33 | ||
22:45
dogbert17 left
22:46
natrys left
22:47
stux|RC-only joined
22:54
dogbert17 joined
23:03
Possum left
23:04
Possum joined
23:08
netrino_ left
23:09
pecastro left
23:23
kurahaupo left,
kurahaupo joined,
kurahaupo left
23:24
kurahaupo joined
23:42
s0me0ne_ joined
23:56
samcv left
23:59
samcv joined
|