Statistic | Value |
---|---|
Total Drops | 1085 |
Number of Distinct Items | 33 |
Average Item Drop Count | 32.88 |
Standard Deviation | 9.36 |
Average Drop value¹ | 94.58 |
Total Monetary value¹ | 102621.12 |
This file contains 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 | |
# Written in Raku, former Perl6: https://raku.org/ | |
sub page-numbers-from-chapters($filename) { | |
my $proc = run :out, 'pdftk', $filename, 'dump_data_utf8'; | |
my %bookmark; | |
my @borders; | |
sub handle-bookmark() { | |
if %bookmark && (%bookmark<BookmarkLevel> // 0) == 1 { | |
@borders.push(%bookmark<BookmarkPageNumber>); |
This file contains 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 python3 | |
# scrript being tested. Goal: patch out getpid | |
from os import getpid | |
def double_pid(): | |
return 2 * getpid() | |
if __name__ == '__main__': | |
print(double_pid()) |
This file contains 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
Number of samples: 346 | |
Total : 1739 | |
Average : 5.03 ± 0.27 | |
Error : 5.38% | |
1 ( 4 ): xxxx | |
2 ( 19 ): xxxxxxxxxxxxxxxxxxx | |
3 ( 38 ): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
4 ( 65 ): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
5 ( 93 ): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
6 ( 59 ): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
This file contains 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
package noris::StableRandom; | |
use 5.024; | |
use strict; | |
use warnings; | |
use utf8; | |
# note: we use a separate random number generator | |
# because we need stable "random"ness based on the database IDs, | |
# and don't want to confuse any of the libraries we use |
This file contains 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
grammar Expression { | |
token integer { \d+ } | |
proto token operator { <*> } | |
token operator:sym<+> { <sym> } | |
token operator:sym<*> { <sym> } | |
rule term { <integer> | <parens> } | |
rule parens { '(' ~ ')' <expression> } | |
rule expression { <term> + % <operator> } | |
token TOP { <.ws> <expression> } | |
} |
This file contains 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
$ ./rakudo-m -e ' for ("a1a2a3a4a5" ~~ m:g/(a \d)/) { say "match {$++}: ", $_}' | |
match 0: 「a1」 | |
0 => 「a1」 | |
match 0: 「a2」 | |
0 => 「a2」 | |
match 0: 「a3」 | |
0 => 「a3」 | |
match 0: 「a4」 | |
0 => 「a4」 | |
match 0: 「a5」 |
This file contains 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
use v6; | |
role Generator { | |
method shortest() { ... } | |
} | |
class Literal does Generator { | |
has Str $.atom is required; | |
method shortest() { return $.atom.list } | |
} |
This file contains 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
6264 und | |
5642 die | |
3657 wie | |
3427 der | |
3416 können | |
3051 in | |
2498 zu | |
2482 werden | |
2353 wir | |
2349 von |
This file contains 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
compiling src/jit/compile.o | |
compiling src/jit/dump.o | |
Precompiling templates from src/jit/core_templates.expr | |
"pairkeys" is not exported by the List::Util module | |
"pairvalues" is not exported by the List::Util module | |
"pairgrep" is not exported by the List::Util module | |
Can't continue after import errors at tools/expr-template-compiler.pl line 9. | |
BEGIN failed--compilation aborted at tools/expr-template-compiler.pl line 9. | |
Makefile:675: recipe for target 'src/jit/core_templates.h' failed | |
make: *** [src/jit/core_templates.h] Error 255 |
NewerOlder