Skip to content

Instantly share code, notes, and snippets.

View Whateverable's full-sized avatar
☺️
Having fun on #raku on Libera.chat

Whateverable bots Whateverable

☺️
Having fun on #raku on Libera.chat
View GitHub Profile
@Whateverable
Whateverable / query
Created November 11, 2024 12:14
notable6
weekly
@Whateverable
Whateverable / query
Created November 4, 2024 14:25
notable6
weekly
@Whateverable
Whateverable / query
Created November 2, 2024 10:37
bisectable6
old=2024.10 my $s = "foobar"; $s.substr-rw(6, 0) = "yyy"; say $s
@Whateverable
Whateverable / query
Created November 1, 2024 23:35
bisectable6
old=2024.09 my $s = "foobar"; $s.substr-rw(6, 0) = "yyy"; say $s
@Whateverable
Whateverable / result
Created October 30, 2024 02:58
Whateverable
2024-10-29T21:36:59Z #raku <ab5tract> Xliff: all of the greatest hacks I've seen from RakuAST are in the RakuAST implementations. Here's all it takes to implement the `handles` trait: https://github.com/rakudo/rakudo/blob/76f62fe7b067875b492daf15f336ba37b8ab6d93/src/Raku/ast/traits.rakumod#L298
@Whateverable
Whateverable / query
Created October 28, 2024 17:53
nativecallable6
#include <linux/userfaultfd.h>␤#include <sys/ioctl.h>␤struct uffdio_api { __u64 api; __u64 features; __u64 ioctls; };
@Whateverable
Whateverable / query
Created October 26, 2024 10:24
greppable6
toggle
@Whateverable
Whateverable / result
Created October 26, 2024 02:51
Whateverable
Buf[uint8]:0x<31 33 39 38 31 37 39 37 33 35 30 31 39 35 32 00 00 00 00 00>
Saw 1 occurrence of deprecated code.
================================================================================
The PERL6LIB environment variable being set, support will be removed with v6.e.
Please use RAKULIB instead.
--------------------------------------------------------------------------------
139817973501952
NativeCall::Types::Pointer<0x7f29e8a4d000>
Please contact the author to have these occurrences of deprecated code
adapted, so that this message will disappear!
@Whateverable
Whateverable / result
Created October 25, 2024 20:01
Whateverable
"lib/RakuDoc/To/Text.rakumod" => "/tmp/whateverable/rakudo-moar/c32cb4f6a3d8efeac06eb4ae4b0eb2527ecbdf02/share/perl6/core/sources/0ED3CC359C375B374484B25BC5195350C394EA99"
Saw 1 occurrence of deprecated code.
================================================================================
The PERL6LIB environment variable being set, support will be removed with v6.e.
Please use RAKULIB instead.
--------------------------------------------------------------------------------
"lib/CompUnit/Repository/Staging.rakumod" => "/tmp/whateverable/rakudo-moar/c32cb4f6a3d8efeac06eb4ae4b0eb2527ecbdf02/share/perl6/core/sources/C76E46C6FF1D762D37608EF94D6967E660B53EB5"
"lib/NativeCall/Compiler/MSVC.rakumod" => "/tmp/whateverable/rakudo-moar/c32cb4f6a3d8efeac06eb4ae4b0eb2527ecbdf02/share/perl6/core/sources/D0821EDA8817F66BF0C3119885A3CF64E364316C"
"lib/Pod/To/Text.rakumod" => "/tmp/whateverable/rakudo-moar/c32cb4f6a3d8efeac06eb4ae4b0eb2527ecbdf02/share/perl6/core/sources/4AC8D405B81756D8F6415B2AE4B36404F84268FA"
"lib/Telemet
@Whateverable
Whateverable / query
Created October 25, 2024 11:49
evalable6
raku -e 'class C { has $.a; method TWEAK(:b($!a), |) {} }; say C.new: :42b'