- We aim to be actively welcoming, friendly, respectful, and helpful to everyone interested in Perl 6 and our shared community.
- We don't discriminate on any basis other than ability to be a kind, positive member of our community.
- Our standard of behavior is "awesome". If your behavior is LTA (Less Than Awesome), we will call you on it.
- There is no form of negative behavior that will impress us or gain you favor in our community.
- We try to hug trolls where possible, but if that doesn't work, we eject them. The health and happiness of our community comes first.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env raku | |
use v6.d; | |
use File::Find; # To support recursive repo searching | |
use Terminal::ANSIColor; # Or don't use colored(), or hardcode SGR codes | |
use Text::MiscUtils::Layout; # Or change duospace-width to .chars | |
#| Summarize status and problems in many git checkouts | |
sub MAIN( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ zef install rakudoc | |
===> Searching for: rakudoc | |
===> Searching for missing dependencies: Pod::Utilities:ver<0.0.1+>, IO::MiddleMan:ver<1.001003+> | |
===> Testing: Pod::Utilities:ver<0.0.1> | |
===> Testing [OK] for Pod::Utilities:ver<0.0.1> | |
===> Testing: IO::MiddleMan:ver<1.001003> | |
===> Testing [OK] for IO::MiddleMan:ver<1.001003> | |
===> Testing: rakudoc:ver<0.2.3>:auth<github:Raku>:api<1> | |
[rakudoc] No such method 'read-dist' for invocant of type | |
[rakudoc] 'CompUnit::Repository::Distribution' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env raku | |
use sigpipe; | |
use Text::MiscUtils::Layout; | |
sub show-cp($cp) { | |
my $char = $cp.chr; | |
my $width = duospace-width($char); | |
my $spacer = ' ' x (2 - $width); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rakudo-star:2020.10 | |
WORKDIR /app | |
COPY . . | |
# This is the bug trigger; comment out and no BUG | |
USER raku | |
RUN raku -c -I. -MDockertest -e '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e -x | |
mkdir build-root | |
cd build-root | |
git clone https://github.com/rakudo/rakudo.git | |
git clone https://github.com/ugexe/zef.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl6 | |
sub MAIN($before, $after) { | |
my $pct = 100 * ($before - $after) / $before; | |
say abs($pct).fmt: "%9.2f%% {$pct < 0 ?? "more" !! "less"} time"; | |
say $pct < 0 ?? ($after / $before).fmt("%9.2f times slower") | |
!! ($before / $after).fmt("%9.2f times faster"); | |
} |
- General resiliency under heavy task load, when tasks > all(cores, threads)
- Correct results
- No crashes
- No "cliff-like" performance as overload point is passed
- Note: better to OOM than GC thrash
- Similarly better to serve some tasks well than all badly via e.g. context switch storms
- Idle/block on inputs without burning CPU
- (and/or use idle time for something productive like GC)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
my $share = '/YOUR/SHARE/ROOT/HERE'; | |
my $share_bin = "$share/perl6/bin"; | |
my ($vms, $ver) = @ARGV; | |
my @vms = split /\s*,\s*/ => $vms || ''; | |
@vms or die "Must specify one or more VMs in path priority order (e.g. 'jvm,parrot') as the first argument.\n"; | |
my @vm_bins; |
There are currently several different 3D-related math libraries for Perl6: Math::Vector, Math::Quaternion, etc. They don't interoperate smoothly, have different API designs, and aren't designed with efficiency/performance as a primary goal.
I propose we create a new 3D/graphics-oriented math library with the following design parameters.
- Build sugary syntax on top of efficient underlying implementation, allowing the library user to choose their tradeoff point
NewerOlder