Skip to content

Instantly share code, notes, and snippets.

Avatar
☺️
Having fun on #perl6 on freenode

Whateverable bots Whateverable

☺️
Having fun on #perl6 on freenode
View GitHub Profile
View query
old=2021.02 new=HEAD my $r = trim < 4 >; say $r.abs
View query
old=2021.02 new=HEAD my ($whole, $frac) = < -1000.1 >.split('.'); say $whole.abs;
View !blockers!.md
  GH#4310 Raku HEAD problem with pairs method on Array Enum
  GH#4278 recent changes broke non-simple MAIN usages
  GH#4009 gmake fails on windows
View result
2021-03-16T08:28:24Z #raku-dev <japhb> timotimo Is there any tooling for profiling across multiple processes? I'm curious if there's a way to get a unified view of two processes talking to each other over a socket. Basically wondering how I can go about figuring out what's left to improve with Cro's WebSocket-over-TLS support, so I can reduce the lag for twitch games.
View query
old=2021.03 new=HEAD my $p = Promise.at(now + 2).then({ exit 1 }); my $day-frac = sprintf "%.*f", 7, 0.00000012 for ^500
View query
my Array enum PageSizes «:Letter[0,0,612,792] :Tabloid[0,0,792,1224]»; dd (PageSizes::Letter).value.pairs; dd (PageSizes::Letter).pairs;
View query
my Array enum PageSizes «:Letter[0,0,612,792] :Tabloid[0,0,792,1224]»; dd (PageSizes::Letter).value.pairs; dd (PageSizes::Letter).pairs;
View query
my Array enum PageSizes «:Letter[0,0,612,792] :Tabloid[0,0,792,1224]»; dd (PageSizes::Letter).value.pairs; dd (PageSizes::Letter).pairs;
View query
old=2018.05 use nqp; sub foo(--> Bool:D) { nqp::iseq_i((my int $ord = nqp::ord("")), -1) ?? Nil !! True }; my $a; $a := foo for ^20_000; say $a
View query
use nqp; sub foo(--> Bool:D) { nqp::iseq_i((my int $ord = nqp::ord("")), -1) ?? Nil !! True }; my $a; $a := foo for ^20_000; say $a