Skip to content

Instantly share code, notes, and snippets.

I think Socket::Inet could be a bit changed on how it's implemented.
Currently it has 2 defaults :
-The SA Familly attribute is totally ignored.
This means like in a case of localhost being ipv4 and ipv6 the user has no control over what protocole will be used.
-No way to specify on wisch ip/interface you want to bind your socket when you use connect
This mean that a server with multiple ip can't use them.
Proposed changes to fix that:
Use the argument passed to nqp::socket to specify the sa family. (actually it does nothing in MoarVM, look like a parrot reliquat?)
import QtQuick 2.0
// Display the remaining time on the Nobilia market in Secret of Evermore
/* First is your 'ui' definition (use Qt creator if you don't want to do that manually and copy/paste) */
Rectangle {
width: 250
height: 150
id : window
color : "black"
skarsnik@DESKTOP-UIA12T1:/mnt/f/Project/Perl6/tmp/gptrixie$ ../../rakudo/install/bin/perl6 -I lib -I ../exemel/lib/ -I ../p6-HTML-Escape/lib/ bin/gptrixie
BEGIN
Segmentation fault (core dumped)
skarsnik@DESKTOP-UIA12T1:/mnt/f/Project/Perl6/tmp/gptrixie$ ../../rakudo/install/bin/perl6 -I lib -I ../exemel/lib/ -I ../p6-HTML-Escape/lib/ bin/gptrixie
Segmentation fault (core dumped)
skarsnik@DESKTOP-UIA12T1:/mnt/f/Project/Perl6/tmp/gptrixie$ ../../rakudo/install/bin/perl6 --version
This is Rakudo version 2018.09-70-gab83b9d82 built on MoarVM version 2018.09-116-g80397b20f
implementing Perl 6.c.
enum Command (
CMD_Copy => 0,
CMD_ByteRepeat => 1,
CMD_WordRepeat => 2,
CMD_ByteInc => 3,
CMD_CopyExisting => 4
);
grammar AlttpDecompression {
use API::Discord;
#use IRC::Client;
use Config::Simple;
use GithubNotif;
use HTTP::Tinyish;
my $ua = HTTP::Tinyish.new;
#https://discordapp.com/api/oauth2/authorize?client_id=555485913912836106&scope=bot&permissions=2048
my $config = Config::Simple.read("auth-token.p6");