Hi
We want to use Perl 6 as Kafka client. When I want to save the offset in
the queue after I processed the message I get some MoarVM panics:
MoarVM panic: Internal error: zeroed target thread ID in work pass
or sometimes
MoarVM panic: Internal error: invalid thread ID 8614688 in GC
Sorry, I forgot about
# perl6 -v
This is Rakudo version 2019.03.1 built on MoarVM version 2019.03
implementing Perl 6.d.
Von: Konrad Bucheli via perl6-users
Gesendet: Donnerstag, 28. Mรคrz 2019 15:36
An: perl6-users
Betreff: MoarVM panic when using PKafka
Hi
Dear Raku programmers
I have a hash with arrays as value. Out of that I wanted to get a flat list
with all the entries in the value arrays. My first intuitive attempt was to use
flat, but somehow that only works with an additional map step:
$ raku
To exit type 'exit' or '^D'
> my %hash-with-ar
Dear Raku experts
I have a little patch which adds another library include path and installation
site named "foo" which points to "/opt/foo/lib", see attached patch.
That worked (in a similar fashion) well with 2020.02, but with 2020.05 it fails
on the following test:
$ cat foo.rakumod
unit
Hi
I miss an error on my first invocation of `c` below:
$ raku
Welcome to ๐๐๐ค๐ฎ๐๐จโข v2020.10.
Implementing the ๐๐๐ค๐ฎโข programming language v6.d.
Built on MoarVM version 2020.10.
To exit type 'exit' or '^D'
> class a { method b {return}}
(a)
> say a.b.c
Nil
> my $b = a.b
(Any)
> say $b.c
No such me
On 02.12.20 15:55, Ralph Mellor wrote:
On Wed, Dec 2, 2020 at 7:08 AM Patrick R. Michaud wrote:
Nil.any_non_existent method always seems to return Nil. I'm not sure where
this is documented
It's near the top of the `Nil` doc page you linked:
Any method call on `Nil` of a method that doe
ne of them is
returning Nil, then perhaps we have a bug. Could you elaborate on the
situation where you encountered this?
On 3 Dec 2020, at 15:22, Konrad Bucheli via perl6-users
wrote:
On 02.12.20 15:55, Ralph Mellor wrote:
On Wed, Dec 2, 2020 at 7:08 AM Patrick R. Mich
: Re: Missing NullPointerException
ย
On Thu, Dec 3, 2020 at 10:20 PM Konrad Bucheli via perl6-users
wrote:
>
> What is actually the rationale for such a behaviour?
Ergonomically sound null safety.
First, consider what other languages have. Quoting
https://en.wikipedia.org/wiki/Saf
Hi Ralph
I understand that this is about avoiding the pyramid of doom.
And it is enjoyable that it can be avoided. Opt in.
No programming language I worked so far has this semantics of method
call. So we might name it differently as it is doing something
different... -> that is the trap.
(I am
see that some data or state is incorrect. And the
problem with incorrect data is that you might not even spot it.
On Tue, Dec 15, 2020, 11:10 PM Konrad Bucheli via perl6-users
mailto:perl6-us...@perl.org>> wrote:
Hi Ralph
Thanks a lot for the extensive answer.
I still consi
10 matches
Mail list logo