Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 30, 2017 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/2ca292ff95a514527715a6d8fe74e631 to your computer and use it in GitHub Desktop.
Save Whateverable/2ca292ff95a514527715a6d8fe74e631 to your computer and use it in GitHub Desktop.
quotable6
‘all:’
Dpendency chains! Using NativeCall::Compiler::GNU fails while using NativeCall::Types and then NativeCall::Compiler::GNU (which depends on Types) succeeds.
rakudo/nonblocking-await: Fix await-all: $remaining shouldn't go negative.
timotimo: it's definitely the mapper call: the first time it's ok, the second it isn't
looks like our Appvoyer config needs a tweak? It can't get perl5 to install: https://ci.appveyor.com/project/moritz/rakudo/build/1.0.1967/job/r1d4ce8i3rlbdiis
rakudo/nom: Currently `CURI.install: Distribution::Path.new($path)` fails to install anything in `"{$path}/resources"` and `"{$path}/bin"`. This is because `$meta<files>` expects it's keys to be relative path strings, but was ending up with absolute paths in most circumstances resulting in CURI's install method failing its check of `/^[resources|bin]\//`. This makes sure we're using the relative path string (name-path) where it should be and jus
and worst of all:
Aaah... .perl results in NativeCall::Types::Pointer.new(74978544)
rakudo/lexical_module_load: Fix test failing due to not finding NativeCall::Types::Pointer
Perhaps "use NativeCall::Types" should also export whatever NativeCall::Types::Pointers imports ?
Perhaps "use NativeCall::Types" should also export whatever "use NativeCall::Types::Pointer" imports ?
maybe a restatement of that which-to-call: if you have an unboxed value, first try to match the unboxed type exactly. if no multi matches, box it and do normal multi resolution
arnsholt: the good news is that NativeCall is not in CORE. So we could use NativeCall:api<2> for example
rakudo-moar 01321c: OUTPUT«Cannot modify an immutable NativeCall::Types::Pointer␤ in block <unit> at <tmp> line 1␤␤»
"install: travis_wait 30 mvn install"
or -- in this case -- NativeCall::X::..?
target is a Sub+{NativeCall::Native[Sub,Str]}, anyway
rakudo-moar f0b3b5: OUTPUT«sub free (int32 $) { #`(Sub+{NativeCall::Native[Sub,Str]}|82911560) ... }␤(Sub+{})␤»
waitasec, looks like maybe there's a an extra (NativeCall::Compiler::MSVC) tacked onto source name, or maybe path
yeah, something tells me --source-name should not be: perl#sources/2ACCA56EF5582D3ED623105F00BD76D7449263F7 (NativeCall::Compiler::MSVC)
..(/home/bisectable/git/bisectable/builds/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/runtime/CORE.setting.moarvm:sink-all:20)␤ from gen/moar/m-CORE.setting:12094
psch: the EVALs all look like this: CompUnit::DependencySpecification.new(short-name => "NativeCall::Types", source-line-number => 5, from => "Perl6", version-matcher => Bool::True, auth-matcher => Bool::True, api-matcher => Bool::True)
27 9359 RMD: dependency: 51E302443A2C8FF185ABC10CA1E5520EFEE885A1 sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 08B249F191B4AD191965BCA6D327CC1EEA6D4DD5 NativeCall::Types
eww, Missing or wrong version of dependency 'perl#sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types)'
yeah, the error seems to happen because NativeCall compiles NativeCall::Types and the latter gets the same class name
And that's not even all: there are multiple ways to do relative tolerance: https://en.wikipedia.org/wiki/Relative_change_and_difference#Definitions
The EVAL in question is evaluating "CompUnit::DependencySpecification.new(:short-name<NativeCall::Types>)". This happens several times during a install-core-dist.pl run. The first 2 times it works, the third time breaks.
Function 'NativeCall::Types::void' needs parens to avoid gobbling block (or perhaps it's a class that's not declared or available in this scope?)
i see it only contains a single call: nqp::invokewithcapture(nqp::findmethod(self, 'bless'), nqp::usecapture())
all: say 2.5 lcm 5
all: say ‘hello’ ~~ /<ws>/
all: say 'hello' ~~ /<ws>/
all: my @args = 1, 2, 3; True ?? { print $_ for @args } !! (print "132");
Basically, add a method ^parameterize(Mu:U \p, Signature:D $s) to NativeCall::Types::Pointer, which mixes something into Pointer so that two-way marshalling of perl Callables and C function pointers can happen, *and* when it goes out of scope, that's the moment when stuff gets freed.
NativeCall::Types::Pointer<0x55da56b3d490>
BenGoldberg, Something's wrong: ␤ERR: Cannot resolve caller sourcery(NativeCall::Types::CArray[Str], Str, List); none of these signatures match:␤ ($thing, Str:D $method, Capture $c)␤ ($thing, Str:D $method)␤ (&code)␤ (&code, Capture $c)␤ in block <unit> at -e line 6␤␤
BenGoldberg, Sauce is at https://github.com/rakudo/rakudo/blob/e2db7b8/ces/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types)#L173
all: my $s = Supplier.new; my $tap = $s.Supply.tap(-> $v { say "the value is $v" }, done => { say "Supply is done" }, done => { say "Tap done" }, quit => -> $ex { say "Supply finished with error $ex" }, ); $tap.close
I've got a question about NativeCall:
rakudo-moar dd4dfb: OUTPUT: «Calling time(NativeCall::Types::CArray[NativeCall::Types::long]) will never work with declared signature (NativeCall::Types::CArray[NativeCall::Types::long] $tt = { ... } --> NativeCall::Types::long)␤ in method CALL-ME at /home/camelia/rakudo-m-inst-2…»
rakudo-moar dd4dfb: OUTPUT: «Calling time(NativeCall::Types::CArray[NativeCall::Types::long]) will never work with declared signature (NativeCall::Types::CArray[NativeCall::Types::long] $t = { ... } --> NativeCall::Types::long)␤ in method CALL-ME at /home/camelia/rakudo-m-inst-2/…»
BenGoldberg, Sauce is at https://github.com/rakudo/rakudo/blob/c1a0fa7/ces/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types)#L21
rakudo-moar e1df52: OUTPUT: «Cannot modify an immutable NativeCall::Types::CArray[Str]␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar e1df52: OUTPUT: «Cannot modify an immutable NativeCall::Types::CArray[Str]␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar e1df52: OUTPUT: «Cannot modify an immutable NativeCall::Types::CArray[Str]␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar f24968: OUTPUT«Sub+{NativeCall::Native[Sub,Str]} raise = sub raise (int32 $) { #`(Sub+{NativeCall::Native[Sub,Str]}|82940032) ... }␤»
rakudo-moar f24968: OUTPUT«Sub+{NativeCall::Native[Sub,Str]} raise = sub raise (int32 $) { #`(Sub+{NativeCall::Native[Sub,Str]}|75562304) ... }␤»
\c[person playing water polo] seems like a "factory in blue with red lamp"; \c[person playing handball: medium-light skin tone] looks like a "child free falling" (as they appear in Firefox 50, Windows 10)
m: "\c[family: woman woman girl girl, woman playing handball: medium skin tone]".say
rakudo-moar 3a77cb: OUTPUT«(CompUnit::Repository::Staging NativeCall NativeCall::Compiler::GNU NativeCall::Compiler::MSVC NativeCall::Types Pod::To::Text TAP Test experimental newline)␤»
I can only get it as "but got NativeCall::Types::CArray[int] (NativeCall::Types::CA...)"
rakudo-moar 7d5bbe: OUTPUT«Type check failed in assignment to $x; expected <anon> but got NativeCall::Types::CArray[num64] (NativeCall::Types::CA...)␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar 7d5bbe: OUTPUT«Type check failed in binding; expected NativeCall::Types::CArray[num64] but got NativeCall::Types::CArray[int64] (NativeCall::Types::CA...)␤ in submethod BUILD at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar a96292: OUTPUT«Internal error: unhandled target type␤ in sub nativecast at /home/camelia/rakudo-m-inst-1/share/perl6/sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types) line 5␤ in method deref at /home/camelia/rakudo-m-inst-1/share/perl6/sources/51…»
Inline::Perl5::Perl5Object.new(ptr => NativeCall::Types::Pointer.new(-2080666168), perl5 => Inline::Perl5.new)
hi, I have a question concerning NativeCall: I want to use the following function to get the name of a excel worksheet: FREEXL_DECLARE int freexl_get_worksheet_name (const void *xls_handle, unsigned short sheet_index, const char **string);
rakudo-moar aa86b9: OUTPUT«Use of uninitialized value of type NativeCall::Types::size_t in string context.␤Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.␤ in block <unit> at <tmp> line 1␤»
Fyi y'all: It seems Dr. Stenvenson is in his first year of a funded 3 year program in which he'll research and write about Perl and the web -- http://www.nwo.nl/en/research-and-results/research-projects/i/49/13649.html
so if you're use case is small: look elsewhere. If big enough to warrant the time investment: very powerful
rakudo-moar b1f77c: OUTPUT«NativeCall::Types::CArray[int64].new␤»
ecosystem/readme.install: 0a2eca4 | (Tom Browder)++ | README.install-template.md:
ecosystem/readme.install: add a template file
ecosystem/readme.install: review: https://github.com/perl6/ecosystem/commit/0a2eca4b32
Type check failed in assignment to @a; expected NativeCall::Types::CArray[int32] but got Int (582)
Cannot resolve caller STORE(NativeCall::Types::CArray[int32]: NativeCall::Types::CArray[int32]);
rakudo-moar d8309d: OUTPUT«Type check failed in assignment to @a; expected NativeCall::Types::CArray[int32] but got Bool (Bool::True)␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar d8309d: OUTPUT«Type check failed in assignment to @a; expected NativeCall::Types::CArray[int32] but got Int (837)␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar 8be36b: OUTPUT«Cannot modify an immutable NativeCall::Types::CArray[int]␤ in block <unit> at <tmp> line 1␤␤»
rakudo-moar 8be36b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Cannot resolve caller trait_mod:<is>(StorableCIntArray, NativeCall::Types::CArray, Array); none of these signatures match:␤ (Mu:U $child, Mu:U $parent)␤ (Mu:U $child, :$DEPRECATED!)␤ (Mu:U $ty…»
rakudo-moar 8be36b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤NativeCall::Types::CArray[int] is not composable, so StorableCIntArray cannot compose it␤at <tmp>:1␤»
@all: please push people into putting their modules into a lib/ dir more strongly. Otherwise they will run into problems, e.g. when trying %?RESOURCES
rakudo-moar e97fb7: OUTPUT«Pod::To::Text␤NativeCall::Compiler::MSVC␤CompUnit::Repository::Staging␤experimental␤newline␤NativeCall::Compiler::GNU␤NativeCall␤NativeCall::Types␤Test␤TAP␤»
rakudo-moar b00d92: OUTPUT«(Pod::To::Text NativeCall::Compiler::MSVC CompUnit::Repository::Staging experimental newline NativeCall::Compiler::GNU NativeCall NativeCall::Types Test TAP)␤»
rakudo-moar fe90be: OUTPUT«NativeCall::Types::Pointer<NULL>␤NativeCall::Types::Pointer<NULL>␤»
rakudo-moar fe90be: OUTPUT«NativeCall::Types::Pointer<0x3039>␤NativeCall::Types::Pointer<0x3039>␤»
rakudo-moar 478671: OUTPUT«NativeCall::Types::Pointer[int32]<0x4538980>␤»
Invocant requires an instance of type NativeCall::Types::Pointer, but a type object was passed. Did you forget a .new?
jdv79: he won't. The title of this commit kinda says it all: https://github.com/kraih/mojo/commit/19cdf77258a1e123c84ddf79f377be60182ef1ef
rakudo-moar 18455a: OUTPUT«NativeCall::Types::Pointer<NULL>␤»
e.g. NativeCall::Types
I am not having much luck getting the prototype right for inet_ntop in nativecall: any ideas what I am doing wrong? https://gist.github.com/djgoku/06a14d31c3646f2309f1d16c9b018b86
"Unsupported type NativeCall::Types::Pointer<-1272678512> in p5_to_p6"
wonders how hard it would be to create something like: use NativeCall::Simpler library => ["cdio", v13], library-prefix => "cdio_", library-case => "_", perl-case => "-"; sub eject-media-drive(Str) is native {}; sub close-tray is native {};
yeah but the perl world is small:). ok.
.oO( I was gonna call my module NativeCall::Stupid, but I eventually went with NaïveCall )
rakudo-moar 87e91c: OUTPUT«hi␤Invocant requires an instance of type NativeCall::Types::Pointer[int32], but a type object was passed. Did you forget a .new?␤ in method deref at /home/camelia/rakudo-m-inst-2/share/perl6/sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCal…»
rakudo-moar 87e91c: OUTPUT«hi␤NativeCall::Types::Pointer[int32]<NULL>␤»
I see no tests at all: https://github.com/perl6/roast/blob/ab74762da156fa6fda5dd39281f7ffcc361d5a88/S15-literals/identifiers.t
Method 'succ' not found for invocant of class 'NativeCall::Types::Pointer[X11::Xlib::Raw::Screen]'
anyways, even if I paste in NativeCall::Pointer stuff in my units, it still doesn't pickup the 'succ'
i noticed that this section is still TBD in the docs on NativeCall: http://docs.perl6.org/language/nativecall#Buffers_and_Blobs
X::NativeCall::Don't-Do-That
New blog post "Perl 6 NativeCall: Look, Ma! I'm a C Programmer!": http://blogs.perl.org/users/zoffix_znet/2016/05/perl-6-nativecall-look-ma-im-a-c-programmer-1.html
rakudo-moar 9c8989: OUTPUT«NativeCall::Types::Pointer[NativeCall::Types::ulong] $l = NativeCall::Types::Pointer[NativeCall::Types::ulong].new(0)␤»
rakudo-moar 9c8989: OUTPUT«NativeCall::Types::Pointer $p = NativeCall::Types::Pointer.new(0)␤»
rakudo-moar 9c8989: OUTPUT«NativeCall::Types::Pointer[int64] $i = NativeCall::Types::Pointer[int64].new(0)␤»
Hm, S28 mentions $*INITTIME after all: http://design.perl6.org/S28.html
nadim, I suspect that the problem is that the install attempt to install first NativeCall before the new required NativeCall::Types, so use for precomp an old (preinstalled) NC::Types and fails.
good morning all: I've noticed the Perl 6 world uses the word 'codepoint' in most places, but many other places on the Net (including Wikipedia and Microsoft) show the word as 'code point'. Any objection to correcting that in Perl 6 (as well as maybe adding it to the doc/STYLEGUIDE.md)?
masak: no. for sure I wanted ability to install rakudo and modules one after one. and looking into Makefile I found: install: rakudo-install modules-install welcome-message :) someone++ so looks I just assumed other naming/prioritization. all good now
if you ever have people over to play, towerfall: ascension and assult android cactus are great; AAC also works very well with just one player
rakudo-moar 6df7ff: OUTPUT«This type cannot unbox to a native integer␤ in method new at sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types) line 168␤ in method new at sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types) line 162␤ in block <u…»
rakudo-moar 6df7ff: OUTPUT«NativeCall::Types::CArray[uint].new␤»
rakudo-moar 6df7ff: OUTPUT«NativeCall::Types::CArray[uint].new␤(h e l l o w o r l d)␤»
rakudo-moar 6df7ff: OUTPUT«Type check failed in assignment to ; expected NativeCall::Types::CArray[uint] but got utf8 (utf8.new(104,101,108,...)␤ in block <unit> at /tmp/uzBpJ1fTZe line 1␤␤»
rakudo-moar 6df7ff: OUTPUT«NativeCall::Types::CArray[uint].new␤»
rakudo-moar b8302b: OUTPUT«NativeCall::Types::CArray[uint8].new␤»
rakudo-moar c37939: OUTPUT«Type check failed in assignment to $chs; expected NativeCall::Types::CArray[uint] but got Seq ((104, 101, 108, 108, ...)␤ in block <unit> at /tmp/qveXNU7y0r line 1␤␤»
rakudo-moar c37939: OUTPUT«Type check failed in assignment to $chs; expected NativeCall::Types::CArray[uint] but got Seq ((104, 101, 108, 108, ...)␤ in block <unit> at /tmp/uTTGFdsona line 1␤␤»
rakudo-moar c37939: OUTPUT«Type check failed in assignment to $chs; expected NativeCall::Types::CArray[uint] but got NativeCall::Types::CArray[uint8] (NativeCall::Types::CA...)␤ in block <unit> at /tmp/VtQNaGr0bD line 1␤␤»
rakudo-moar c37939: OUTPUT«NativeCall::Types::CArray[uint].new␤»
When I try that from the code I am working on, I get: "Type check failed in assignment to $chs; expected NativeCall::Types::CArray[uint8] but got NativeCall::Types::CA..."
rakudo-moar 1aabef: OUTPUT«NativeCall::Types::Pointer|63732288␤»
rakudo-moar 1aabef: OUTPUT«Method 'dereference' not found for invocant of class 'NativeCall::Types::Pointer'␤ in block <unit> at /tmp/bxIUJuy8_k line 1␤␤»
rakudo-moar 1aabef: OUTPUT«Internal error: unhandled target type␤ in sub nativecast at sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types) line 5␤ in method deref at sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types) line 35␤ in block <uni…»
rakudo-moar 617bb4: OUTPUT«NativeCall::Types::CArray[NativeCall::Types::CArray[num]]|91041912␤»
From my backlog: I found that as soon as NativeCall::cglobal returns, the loaded native library is unloaded, so cglobal("somelib", "somesym", Pointer) returns a Pointer pointing to limbo, see: https://github.com/MoarVM/MoarVM/blo​b/master/src/core/nativecall.c#L622, comments?
Hi, I found that as soon as NativeCall::cglobal returns, the loaded native library is unloaded, so cglobal("somelib", "somesym", Pointer) returns a Pointer pointing to limbo, see: https://github.com/MoarVM/MoarVM/blob/master/src/core/nativecall.c#L622, design? bug? Should i try other channel?
method call: method tables. Sub calls: lexical scopes
rakudo-moar 40a953: OUTPUT«NativeCall::Types::Pointer<0x5c55220>␤»
Hi all: I want to overload [] for a custom object
/cygdrive/d/SVN/Github/rakudobrew/moar-nom/install: No such file or directory at Configure.pl line 91.
Timbus: I can confirm that $m is "Inline::Perl5::Perl5Object.new(ptr => NativeCall::Types::Pointer.new(211119144), perl5 => Inline::Perl5.new)" before the $p5.call()
the "Inline::Perl5::Perl5Object.new(ptr => NativeCall::Types::Pointer.new(216816896), perl5 => Inline::Perl5.new)" says that $m is not undefined.
Xliff: the implementation code of some NativeCall::______ modules provides examples of doing stuff where the docs for same are TBD.
The returned ones are marked, for example: Str+{NativeCall::ExplicitlyManagedString} <element> = "BEOM"
rakudo-moar 103781: OUTPUT«Str $var2 = "Hola a todos"␤Str+{NativeCall::ExplicitlyManagedString} $var2 = "Hola a todos"␤»
Calling memcpy(NativeCall::Types::CArray[uint8], Mu, int) will never work with declared signature (NativeCall::Types::Pointer $dest, NativeCall::Types::Pointer $src, NativeCall::Types::size_t $n --> NativeCall::Types::Pointer)
doc: nativecall: replace explicitly-manage hack with better example
doc: nativecall: clarify C types and add unsigned variants
doc: nativecall: use consistent indentation
doc: nativecall: consistently use { * } as function body
doc: nativecall: fix typos
rakudo-moar 6732d2: OUTPUT«Bar $b = Bar.new(p => NativeCall::Types::Pointer.new(1))␤»
rakudo-moar 6732d2: OUTPUT«Cannot modify an immutable NativeCall::Types::Pointer␤ in block <unit> at /tmp/xUwGL79wUX line 1␤␤»
make sure no phantomjs process is still there by killing them all: killall phantomjs
rakudo-moar b243a9: OUTPUT«139811157521112␤NativeCall::Types::CArray[int]|102910000␤»
my constant Pointer is export(:types, :DEFAULT) = NativeCall::Types::Pointer;
my constant OpaquePointer is export(:types, :DEFAULT) = NativeCall::Types::Pointer;
rakudo-moar 735869: OUTPUT«NativeCall::Types::Pointer[int32] $x = NativeCall::Types::Pointer[int32].new(0)␤»
Got the following error message "Type check failed in assignment to $archive; expected NativeCall::Types::Pointer[LibZip::NativeCall::zip] but got NativeCall::Types::Po..."
Expected: NativeCall::Types::Pointer[LibZip::NativeCall::zip], Got: NativeCall::Types::Pointer[LibZip::NativeCall::zip].new(55436656) # huh?
rakudo-moar 2a8748: OUTPUT«NativeCall::Types::Pointer<0x7fb9c563ef60>␤»
regarding the wchar_t thing, it would need to be implemented in NativeCall::Types, MetaModel::NativeHOW and the P6Int repr
I'm getting: NativeCall: Consider adding the api version of the library you want to use, sub foo is native(readline, v1) with each perl6 prompt.
doc: nativecall: remove trailing whitespace
doc: nativecall: prevent potential double free in example
doc: nativecall: add DESTROY to example
hm, you can't new a parameter type? my Pointer[mxml_node_t] $child = Pointer[mxml_node_t].new($i); fail with Type check failed in assignment to $child; expected NativeCall::Types::Pointer[MiniXML::Raw::mxml_node_t] but got NativeCall::Types::Pointer
rakudo-moar bff360: OUTPUT«NativeCall::Types::CArray[int32].new␤»
or should I raise the note in NC that say 'NativeCall: Consider adding the api version of the library you want to use, sub foo is native(foo, v1)' to a warning? I wanted that just being in information than an 'error'
partly: I guess it is fetching a NativeCall::* package from a previous build from install/
about R* make install: maybe there could be 'make modules' target ? if it would be skippable then it would be very nice
BTW all: my perl6fe grammar is coming to github soon! https://github.com/github/linguist/commit/697b3351e6472354b40ddc1dacb5d628ef23a6f7
NativeCall: Consider adding the api version of the library you want to use, sub foo is native(SDL2, v1)
how do i get rid of this warning? NativeCall: Consider adding the api version of the library you want to use,
rakudo-moar 775271: OUTPUT«5===SORRY!5=== Error while compiling /tmp/v3FPVmq_Bi␤No appropriate parametric role variant available for 'NativeCall::Native'␤at /tmp/v3FPVmq_Bi:1␤»
rakudo-moar 775271: OUTPUT«5===SORRY!5=== Error while compiling /tmp/H1V35R_si8␤No appropriate parametric role variant available for 'NativeCall::Native'␤at /tmp/H1V35R_si8:1␤»
rakudo-moar 775271: OUTPUT«NativeCall: Consider adding the api version of the library you want to use, sub foo is native(moar, v1)␤Calling MVM_sha1() will never work with declared signature Expected: :(NativeCall::Types::Pointer $tc, str $str)␤ in method CALL-ME at /home/ca…»
rakudo-moar 775271: OUTPUT«Calling MVM_sha1() will never work with declared signature Expected: :(NativeCall::Types::Pointer $tc, str $str)␤ in method CALL-ME at /home/camelia/rakudo-m-inst-1/share/perl6/sources/075EFE4B4CDAAF73190194EA876F81A1F128D1A2 line 278␤ in block <…»
rakudo-moar 775271: OUTPUT«NativeCall: Consider adding the api version of the library you want to use, sub foo is native(foo, v1)␤libfoo.so␤»
ecosystem: Add NativeCall::Errno to ecosystem
RabidGravy: Is above a known Bug? And is NativeCall::Types::CArray[int8].new a type or something I can call?
rakudo-moar 3259ba: OUTPUT«(bool)␤Method 'var' not found for invocant of class 'NativeCall::Types::bool'␤ in block <unit> at /tmp/oJ74kfCAEf line 1␤␤»
rakudo-moar 3259ba: OUTPUT«Method 'repr' not found for invocant of class 'NativeCall::Types::bool'␤ in block <unit> at /tmp/adYqFESKhp line 1␤␤»
It's not the issue here. the "Mild fish taco".Str+{NativeCall::ExplicitlyManagedString}, is originaly a regular Perl 6 String. https://github.com/perl6/DBIish/blob/master/t/99-common.pl6#L169
Hi, In NativeCall: I have a native C routine foo(char* buf, unsigned long long* len). The native routine writes the length of a buffer into that memory location. sub foo(CArray[int8], ???) How do I express that correctly?
rakudo-moar 7054a2: OUTPUT«Str+{NativeCall::ExplicitlyManagedString}␤»
$.a is a method call: $!a is the real symbol
hmmm... perhaps state variables are thread safe after all:
There is something really messed up with the type constraints on CArrays : "Type check failed in binding; expected NativeCall::Types::CArray[uint8] but got NativeCall::Types::CArray[uint8].new"
rakudo-moar 7934ff: OUTPUT«Cannot modify an immutable NativeCall::Types::CArray[uint8]␤ in block <unit> at /tmp/ZXAfFUUccf line 1␤␤»
rakudo-moar f9039d: OUTPUT«Type check failed in assignment to $a; expected NativeCall::Types::CArray[uint8] but got Array␤ in block <unit> at /tmp/RkdPti_iv_ line 1␤␤»
rakudo-moar 9bf859: OUTPUT«{␤ "files" : { },␤ "name" : "CORE",␤ "source-url" : null,␤ "provides" : {␤ "NativeCall::Compiler::MSVC" : {␤ "pm" : {␤ "cver" : "2015.11-750-ga860e8f",␤ "file" : "66E443C9581F0554873812D9BB6C914C6498FC81",␤ …»
Skarsnik: interesting that the first Str isn't +{NativeCall::ExplicitlyManagedString}
Skarsnik: i don't know why but the expected is really the one that containts the Str+{NativeCall::ExplicitlyManagedString}
the “NativeCall: Consider adding the api version of the library you want to use” message on STDERR is new - is there any way to quash it?
rakudo-moar 4bb47d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/kJislfNkUo␤No appropriate parametric role variant available for 'NativeCall::Native'␤at /tmp/kJislfNkUo:1␤»
m: use NativeCall:TEST; say guess_library_name(Str);
"Invocant requires an instance of type NativeCall::Types::Pointer[foo], but a type object was passed."
Other improvements to language/nativecall:
rakudo-moar e63d87: OUTPUT«(NativeCall::Types::Pointer[NativeCall::Types::Pointer[int32]])␤»
this is the output when trying to install: https://github.com/dnmfarrell/Pod-Perl5/issues/4
Arrowhead: NativeCall: Consider adding the api version of the library you want to use, sub foo is native(GL, v1) Segmentation fault
rakudo-moar e458a2: OUTPUT«NativeCall: Consider adding the api version of the library you want to use, sub foo is native(GL, v1)␤libGL.so␤»
rakudo-moar 477830: OUTPUT«NativeCall::Types::CArray[num32].new␤»
NativeCall: Consider adding the api version of the library you want to use, sub foo is native(mysqlclient, v1). Should I force mysqlclient v18 or add a way for NC to no warn if specified?
Skarsnik: t/04-nativecall/04-pointers.t is failing: # Error: In 'TakeTwoPointersToInt' routine declaration - Not an accepted NativeCall type for parameter [1] : NativeCall::Types::Pointer[Int]
rakudo-moar 9a346c: OUTPUT«NativeCall::Types::CArray[int]␤»
mojca: about your moar install: you finished it with included libuv or with one from system packags ?
nine, to sad you don't export your routine in i:p5 so I can't use NativeCall::Typediag directly, but yes, you should not have int in that
I don't know exactly what this error is telling me - Calling magic_file(File::LibMagic::Cookie, Str) will never work with declared signature (NativeCall::Types::Pointer, Str --> Str)
@all: good rules of thumb: put your "use lib" _before_ loading any modules. Never do a "use lib" in a module.
"NativeCall: Consider adding the api version of the library you want to use" any way to silence that if you detect lib version at runtime?
Hm getting a bunch of warnings on DBIish install "NativeCall: Consider adding the api version of the library you want to use, sub foo is native(mysqlclient, v1)"
Skarsnik: “No appropriate parametric role variant available for 'NativeCall::Native'”
check NC code if the NativeCall::Native role accept List in the where
Skarsnik: Could not find NativeCall::TypeDiag in any of:
NativeCall::TypeDiag:ver<*>:auth<Sylvain Colinet>:api<> already installed
Could not find NativeCall::TypeDiag in:
abraxxa: you do have NativeCall::TypeDiag installed but cannot load it?
nine: panda --force install NativeCall::TypeDiag said install successful on my nom build
abraxxa: but perl6 -e 'use NativeCall::TypeDiag' fails?
Could not find NativeCall::TypeDiag in:
panda --force install NativeCall::TypeDiag again said ==> Successfully installed NativeCall::TypeDiag but it still can't be found
Type check failed in assignment to $col_namep; expected NativeCall::Types::CArray[NativeCall::Types::CArray[int8]] but got NativeCall::Types::CArray[NativeCall::Types::CArray[int8]].new
rakudo-moar 587a80: OUTPUT«NativeCall::Types::CArray[uint8].new␤»
Type check failed in assignment to $col_namep; expected NativeCall::Types::CArray[NativeCall::Types::CArray[int8]] but got Array
@all: many thanks for all the input! Very much appreciated
dakkar, it seems in the case of while the value is something that isn't useful at all:
NativeCall::Typediag x)
jnthn: though I think I should dig a bit more into why we actually need to make an exception for subs. I don't get why NativeCall::Compiler::GNU::mangle_cpp_symbol should conflict with NativeCall::Compiler::MSVC::mangle_cpp_symbol
rakudo-moar 03cbe7: OUTPUT«Default constructor for 'NativeCall::Types::Pointer[num64]' only takes named arguments␤ in block <unit> at /tmp/mX5ydGK_io:1␤␤»
rakudo-moar 03cbe7: OUTPUT«NativeCall::Types::Pointer<0x2a>␤»
https://travis-ci.org/perl6/DBIish/builds/96278908 Invocant requires an instance of type NativeCall::Types::Pointer[DBDish::mysql::Native::MYSQL_FIELD], but a type object was passed. Did you forget a .new?
rakudo-moar 03cbe7: OUTPUT«Type check failed for return value; expected NativeCall::Types::Pointer[int32] but got Whatever␤ in sub malloc at /tmp/eoMsDHr9EZ:1␤ in block <unit> at /tmp/eoMsDHr9EZ:1␤␤»
rakudo-moar 03cbe7: OUTPUT«NativeCall::Types::Pointer[int32]<0x7121580>␤»
m: use NativeCall; my $a = "NativeCall"; say NativeCall::EXPORT::DEFAULT::.keys.elems; say ::("{$a}::EXPORT::DEFAULT").WHO.keys.elems
root@testperl6:~/piko/nativecall-typediag/examples# perl6 -e 'use NativeCall; my $a = "NativeCall"; say NativeCall::EXPORT::DEFAULT::.keys.elems; say ::("{$a}::EXPORT::DEFAULT").WHO.keys.elems'
how would I wrap this with NativeCall: int (*atexit_ptr)(void (*)(void))
there's something righteously messed up here "Type check failed for return value; expected NativeCall::Types::CArray[uint8] but got NativeCall::Types::CArray[uint8].new"
use NativeCall; my $a = "NativeCall", say NativeCall::EXPORT::DEFAULT::.keys.elems; say ::("$a::EXPORT::DEFAULT::").keys.elems;
m: use NativeCall; my $a = "NativeCall", say NativeCall::EXPORT::DEFAULT::.keys.elems; say ::("$a::EXPORT::DEFAULT::").keys.elems;
m: use NativeCall; my $a = "NativeCall", say NativeCall::EXPORT::DEFAULT::.keys.elems;
m: use NativeCall; my $a = "NativeCall", say NativeCall::EXPORT::DEFAULT::.keys.elems;
rakudo-moar 9b336d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/fK4_QK6FN5␤No appropriate parametric role variant available for 'NativeCall::Native'␤at /tmp/fK4_QK6FN5:1␤»
rakudo-moar 9b336d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/W48jmJ8lzZ␤No appropriate parametric role variant available for 'NativeCall::Native'␤at /tmp/W48jmJ8lzZ:1␤»
rakudo-moar 9b336d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/5hqYxaTgEh␤No appropriate parametric role variant available for 'NativeCall::Native'␤at /tmp/5hqYxaTgEh:1␤»
rakudo-moar 9b336d: OUTPUT«(NativeCall::Native[Sub,Str], Callable)␤»
rakudo-moar 9b336d: OUTPUT«Method 'native_symbol' not found for invocant of class 'Sub+{NativeCall::Native[Sub,Str]}'␤ in block <unit> at /tmp/aZuy9PE7rt:1␤␤»
should does(NativeCall::Native) work?
m: use NativeCall; sub printf() is native(Str) { }; say &printf does NativeCall::Native;
m: use NativeCall; sub printf() is native(Str) { }; say &printf ~~ does NativeCall::Native;
rakudo-moar 9b336d: OUTPUT«Use of uninitialized value of type NativeCall::Native[Sub,Str] in string context␤Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed. in any at gen/moar/m-Metamodel.nqp:1693␤Use of uninitialized value of type Callable in st…»
rakudo-moar 9b336d: OUTPUT«Method 'name' not found for invocant of class 'NativeCall::Native[Sub,Str]'␤ in block <unit> at /tmp/96vcDaLYnE:1␤␤»
@all: I'm making good progress on %?RESOURCES support which will be the basis for modules like Linenoise or Inline::Perl5 finding their .so files again.
nine: That branch is what I've got so far. Unfortunately it breaks when precomping NativeCall. Somehow the list of loaded modules persists between each thing we precomp, so when NativeCall.pm is precomped NativeCall::Types gets loaded, and then when precomping NativeCall::Types it borks, because ::Types is already marked as loaded
arnsholt: yes, we have to precompile NativeCall::Types before NativeCall. Yet the only way to know that is by trying to precompile NativeCall and encountering the "use" statement. So to make this work, we have to be able to do multiple precompilations concurrently in one process.
huh, this makes no sense at all: return 0.5 if nqp::uc($ac) eq nqp::lc($bc);
It seems there was some changes to NativeCall::Types yesterday, but I don't know if that's related
rakudo/nom: Update NativeCall::Types::Pointer definition to not need MONKEY_TYPING.
*self promotion* You can try NativeCall::TypeDiag when trying to figure how to map cstruct
rakudo-moar ce69f3: OUTPUT«===SORRY!===␤Could not find NativeCaall:ver<True>:auth<True>:api<True> in:␤ /home/camelia/.perl6/2015.11-304-gce69f30␤ /home/camelia/rakudo-m-inst-2/share/perl6/site␤ /home/camelia/rakudo-m-inst-2/share/perl6/vendor␤ /home/camelia/rak…»
ShimmerFairy, bummer... I, as an end user, would rather not even know what "NQP" is and get a proper error from the get-go. Stuff like my Int Int; does provide useful feedback after-all: http://i.imgur.com/EScHZtU.png
@all: please, in the next life let's not choose a relase date that's in the month with the most social engagements
rakudo-moar 6a45fe: OUTPUT«NativeCall::Types::long␤»
also about CURI.install: https://github.com/tadzik/panda/commit/67deeed54ce396b10bfd7c1a58540ee7972b06ef
ecosystem: Add NativeCall::TypeDiag
I am still trying to come out with a module name for something that test the confirmity of NC type to their C counterpart. NativeCall::TypeDiag?
i don't see a problem with using NativeCall::
seems i've seen a few modules with ::NativeCall:: in their names somewhere... not a bad idea i think to mark things as not Pure Perl™
Algorithm::Trie::NativeCall::libdatrie
any idea what might be causing this error while using NativeCall: Cannot locate native library 'libc.so': /usr/lib/arm-linux-gnueabihf/libc.so: invalid ELF header
@all: sorry for the off topic discussions. rabie is a first time IRCer and we have lots of language barriers and I'm glad to have at least this line of communication.
9 Oct 2015 11:19Z <jdv79> patrickz: less work for all:)
LarryWall: we do, because we don't live in Denmark
LarryWall: O.o
I followed the instructions at the end of that page under the heading "Then, compile and install:"
The solution they've used is to be able to pass needed modules (e.g., -MFastCGI::NativeCall -MFastCGI::NativeCall::PSGI in my case) to crustup, and it does require ::($_) on those.
@all: Microsoft Windows® MSI packages are now available for Rakudo Star 2015.09: http://rakudo.org/downloads/star/
.tell patrickz less work for all:)
and here's the funnest syntax of all:
first of all: do you even want to use MySQL in the first place?
doc: nativecall: mention "is native(Str)" trick
rakudo/nom: NativeCall: make no-setup-needed case less expensive
Rakudo build errored. Timo Paulssen 'NativeCall: make no-setup-needed case less expensive
Rakudo build canceled. Timo Paulssen 'NativeCall: make no-setup-needed case less expensive
rakudo/nom: NativeCall: explicitly-manage does not need its string arg "is rw"
does that mean the ones in Nativecall::Types are also broken? And why has nobody noticed that, if true?
thanks all: will commit fix (to other methods that suffer the same issue)
@all: this is the current spectest fallout: https://github.com/perl6/glr-test-failures-annotated/blob/master/test-failures.txt
p6: for <r w x o R W X O e s z f d l L p S b c u g k> -> $test { try { say " $test = ", "/".IO.all: $test; }; };
ecosystem: add FastCGI::NativeCall::PSGI
Oh btw. at all: I would love to hear about real world use cases of Inline::Perl5, even if it's just for toying around. Would give me a better feel for what's needed and also food for my YAPC talk :)
Stage jast : Error while compiling op call: Method 'jast' not found for invocant of class 'NQPMu'
in p5 land i use https://metacpan.org/pod/Module::Install::AuthorTests
or dont separate the namespaces at all: Perl6Parser
FROGGS, all: another example where I don't understand why f2 returns a Hash, but f1 returns a List ^
are there any test cases for NativeCall::guess_library_name?
no changes to my code at all: I'm writinbg slides
@all: please test latest panda, it should be able to download its projects.json again # flussence++
uff, this autothreads the .ACCEPTS call: perl6 -e 'say "foo0½¼1bar" ~~ / <:Arabic("Latin" | "Common")>+ /'
besides, I have a problem with the jar files provided in nqp tarball: these are not source files. Per debian policy, I'll have to remove these files because they can't be rebuilt
Rakudo tarball: http://masak.org/carl/tmp/rakudo-2015.04.tar.gz -- PerlJam, you still there?
Submitted an issue report to Install::Perl5 git.
why export it? Why not NativeCall::sizeof?
rakudo/nom: m-install: reduce the number of shell commands by combining several $(CP) statements into one, nwc10++
albert: try it again after installing Module::Install::PadrePlugin
and the most amazing message of all:
rakudo-moar 1b74e4: OUTPUT«NativeCall:/home/camelia/rakudo-inst-1/languages/perl6/lib/NativeCall.pm␤»
J-L: first of all: don't use 'int' there
FROGGS_: Shouldn't nativecast and nativesizeof be consistent with refresh? So they can be called as NativeCall::sizeof or use NativeCall :utils; sizeof
Mouq: you cannot call NativeCall::refresh though... but I see what you mean
FYI, I'm trying to do some SDL2 mapping. I was starting to the most simple stuff ever: https://gist.github.com/grondilu/ef216b34bb650e8dd283 and failed to translate it into Perl6 with NativeCall: https://gist.github.com/grondilu/1112f854a5d66c993dc8
here's a MoarVM release tarball for y'all: http://t.h8.lv/MoarVM-2015.02.tar.gz
if you want a QCall::Infix, that seems alright, but imho it should be a "subclass" of QCall
skids: I imagine a NativeCall::Hints module that expose types like size_t, long, short and so on... these would carry the size of *your system right now*
use NativeCall; use NativeCall::Hints; class Foo is repr<CStruct> { has size_t $.bar; has long $.baz }
*build stage failed for NativeCall: Failed building lib/NativeCall.pm6
raydiak, FROGGS: since I've seen you muck with low-level stuff for nativecall: could any of you please add some ops that make it easy to convert from double/Num to Buf and the reverse?
@all: I want to improve the Perl 6 book, and write one or two chapters (regexes/grammars and perhaps something else I have knowledge of).... somebody also picks topics?
@all: would be nice if one or two ppl would subscribe to 1-2 topics
perl6-bench: 7dbbb69 | (Geoffrey Broadwell)++ | timeall:
NativeCall::long
@all: with panda/eleven one gets *-m, *-j and *-p executables (scripts) for free for every script that gets installed
jokingly imagines a surprise return of -> , but this time as a looser method call: ^10->foo
hi, i got problem with install GTK::Simple on debian VM. "*test stage failed for NativeCall: Tests faild". Someone can help me?
before_install: - git config --global user.name "TravisCI" - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org" - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/travis-perl-helpers/init # helpers for parallel testing/testing dirs - git clone https://github.com/tadzik/rakudobrew ~/.rakudobrew
brrt: it's not confusing at all: NPW = Nordic Perl Workshop, NLPW = Netherlands Perl Workshop
perl6-bench: 30f1006 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 77abc8b | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: a33943f | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: d8b859a | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: fa5392f | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: a68da1b | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: 2abd5c7 | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: 27c7308 | (Geoffrey Broadwell)++ | timeall:
m: my $io; say first( { .defined && ($io = .IO).all: <d r w x> }, %*ENV<TMPDIR>, '/tmp') ?? $io !! IO::Path.new(".");
m: %*ENV<TMPDIR> = 'FOOOOO'; my $io; say first( { .defined && ($io = .IO).all: <d r w x> }, %*ENV<TMPDIR>, '/tmp') ?? $io !! IO::Path.new(".");
m: %*ENV<TMPDIR> = 'FOOOOO'; my $io; say first( { .defined && ($io = .IO).all: <d r w x> }, %*ENV<TMPDIR>, '/tmp') ?? $io !! IO::Path.new(".");
TMPDIR=FOO perl6 -e 'say first( { .defined && ($io = .IO).all: <d r w x> }, %*ENV<TMPDIR>, "/tmp")'
perl6-bench/stress: 70fb97c | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: aeb0b94 | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: 6e83296 | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: 5d533f5 | (Geoffrey Broadwell)++ | timeall:
perl6-bench/stress: 3bfdc41 | (Geoffrey Broadwell)++ | timeall:
at all in the hall: do some "uhh"s and "ahh"s when there are nice things to see now..
To all: sorry for my slides not being properly HTMLized yet. What's online right now is just what I used for presenting. Didn't have enough time to clean it up.
rakudo/nom: So now you can say "foo".IO.all: <!d r w x s> to get the size of something
rakudo/nom: Optimize IO..Path.all: <e !e>
Good news all: I think I found the hard-to-find inlining + GC bug. Turns out it was a bad interaction involving all of GC, inlining, type logging, AND continuations...
build stage failed for NativeCall: Failed building lib/NativeCall.pm6
since I'm not familiar with dyncall: do you think I should report this issues upstream (to the dyncall developers)? I'm not sure I'm able to describe the problem properly. I *think* we run into trou
gtodd: regarding dyncall: I found only dyncall v0.8 included at https://github.com/perl6/nqp/tree/master/3rdparty/dyncall
gtodd: regarding different versions of dyncall: I just saw that MoarVM has it's own dyncall (looks like pre 0.8): https://github.com/MoarVM/dyncall
first of all: anything that uses nativecall is not nqp-js compitable
@all: if the travis stuff is going to make too much noise, I can let it spam another channel
@all: star-p still fails the jsonrpc tests, but I am going to release anyway
star-{m,p} 2014.04: OUTPUT«===SORRY!===␤Error while compiling op call: Unknown QAST node type QAST::Unquote␤»
perl6-bench: 9ebd6cd | jnthn++ | timeall:
perl6-bench: 7865e2d | (Geoffrey Broadwell)++ | timeall:
seems that one of the combinations tests was not flapping after all:
.tell jnthn Something is broken on the latest Moar such that htmlify.p6 no longer works, dieing with "Error while compiling op call: Local '__lowered_param_0' already declared"
03:06Z <Mouq> jnthn: Something is broken on the latest Moar such that htmlify.p6 no longer works, dieing with "Error while compiling op call: Local '__lowered_param_0' already declared"
Error while compiling op call: Required positionals must come before all optional positionals"
doc's htmlify.p6 is dying on Moar with "Error while compiling op call: Local '__lowered_param_0' already declared
perl6-bench: 3d4ae2a | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 4b8acf2 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 655c508 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 0c6dde4 | (Timo Paulssen)++ | timeall:
perl6-bench: 6427247 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 18f2f85 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 35cd770 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: b9aaaf9 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 1482f59 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 0aead85 | (Geoffrey Broadwell)++ | timeall:
I got this errmsg during make install:
there was one algorithm that I had foreseen that I didn't mention. it's the most reactive one of them all: start with an empty space. for each cube added, keep track of "tops" (of cubes) and waterfalls. update them in "real time" as each new cube is added.
if I get "Error while compiling op call: Iteration past end of iterator" whilst working with a Grammar.parse() any protips on golfing?
Error while compiling op call: Iteration past end of iterator
resolve stage failed for NativeCall: Project NativeCall not found in the ecosystem
raiph: Maybe try export PATH=~/rakudo/install:$PATH ?
first of all: holy hell, did it get fast!
..rakudo-moar 1bc429: OUTPUT«===SORRY!===␤Error while compiling op call: To compile on the MoarVM backend, QAST::VM must have an alternative 'moar' or 'moarop'␤»
rakudo-moar 79eb79: OUTPUT«===SORRY!===␤Error while compiling op call: To compile on the MoarVM backend, QAST::VM must have an alternative 'moar' or 'moarop'␤»
rakudo-moar 79eb79: OUTPUT«===SORRY!===␤Error while compiling op call: To compile on the MoarVM backend, QAST::VM must have an alternative 'moar' or 'moarop'␤»
rakudo-moar 79eb79: OUTPUT«===SORRY!===␤Error while compiling op call: To compile on the MoarVM backend, QAST::VM must have an alternative 'moar' or 'moarop'␤»
i would like a "use NativeCall::Library $path;" for use in blocks where all sub declarations are supposed to be "is native($path)"
Something fun to show off serious concurrency + NativeCall: Something that draws a fractal by recursively spawning tasks to take smaller and smaller pieces of it until they hit one pixel, calculate it, *DRAW IT*, and then finish off. Because seeing that in motion would be very fun.
And then have a module-install: @backend_module_installs@ that will be built by Configure.pl just like @backend_exes@
I commented out the if conditional, and I get a less descriptive error out of it: Error while compiling op call: Iteration past end of iterator
..rakudo-moar 5d084b: OUTPUT«===SORRY!===␤Error while compiling op call: Iteration past end of iterator␤»
..rakudo-moar 5d084b: OUTPUT«===SORRY!===␤Error while compiling op call: Iteration past end of iterator␤»
rakudo-moar 5d084b: OUTPUT«===SORRY!===␤Error while compiling op call: Iteration past end of iterator␤»
..rakudo-moar 5d084b: OUTPUT«===SORRY!===␤Error while compiling op call: Iteration past end of iterator␤»
..rakudo-moar 5d084b: OUTPUT«===SORRY!===␤Error while compiling op call: Iteration past end of iterator␤»
Thank you very much to you all: hoelzro, timotimo and colomon.
perl6-bench/minimum_number_runs: 0c6dde4 | (Timo Paulssen)++ | timeall:
tadzik, no deliveries at all: "primary mission" is to provide support and documentation and support for users. engineering is case of spare times. we have more than 40k users and i manage 4 applications: there is no spare time
I agree, Build.pm is executed after Panda finds which files to install: https://github.com/tadzik/panda/blob/master/lib/Panda/Builder.pm
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
Error while compiling op call: Method 'jast' not found for invocant of class 'NQPMu'
(or rather, "is native('libz.so.1')" works with a bugfix to NativeCall: https://github.com/jnthn/zavolaj/pull/30)
-p-runner-default-install: p-all
+p-runner-default-install: p-all | $(DESTDIR)$(PARROT_BIN_DIR)
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
ah, an error after all: Unhandled exception: java.lang.OutOfMemoryError: Java heap space
..rakudo-jvm 882e33: OUTPUT«===SORRY!===␤Error while compiling op call: To compile on the JVM backend, QAST::VM must have an alternative 'jvm'␤»
..rakudo-jvm 882e33: OUTPUT«===SORRY!===␤Error while compiling op call: To compile on the JVM backend, QAST::VM must have an alternative 'jvm'␤»
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
moritz / timotimo / all: would be nice to get a +1 / -1
moritz: Hm. "C:/consulting/ui-test/rakudo/install: No such file or directory at Configure.pl line 65."
nqp/unified-build: [build] write targets like "all:" that delegate to p-all, j-all etc. (whatever is available)
rakudo 39f491: OUTPUT«===SORRY!===␤Error while compiling block (source text: "say nqp::readall(nqp::open('/home/p6eval/nom/docs/announce/2013.09', 'r'))"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "say nqp::readall(n…»
rakudo 39f491: OUTPUT«===SORRY!===␤Error while compiling block (source text: "say(nqp::readall(nqp::open('/home/p6eval/nom/docs/announce/2013.09', 'r')))"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "say(nqp::readall(…»
rakudo e22ac2: OUTPUT«===SORRY!===␤Error while compiling block (source text: "class Foo { has str $.a; }; my $f = Foo.new; nqp::setattr($f, '$.a', 'foo');"): Error while compiling op call: Error while compiling block : Error while compiling op setattr: No registered operation han…»
rakudo e22ac2: OUTPUT«===SORRY!===␤Error while compiling block (source text: "class Foo { has str $.a; }; my $f = Foo.new; nqp::bindattr($f, '$!a', 'foo');"): Error while compiling op call: Error while compiling block : Error while compiling op bindattr: Operation 'bindattr' requ…»
rakudo 50cecf: OUTPUT«===SORRY!===␤Error while compiling block (source text: "close nqp::callerctx"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "close nqp::callerctx"): Error while compiling op callerctx: No registere…»
rakudo 50cecf: OUTPUT«===SORRY!===␤Error while compiling block (source text: "close nqp::caller"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "close nqp::caller"): Error while compiling op caller: No registered operati…»
..rakudo 0808ac: OUTPUT«===SORRY!===␤Error while compiling block (source text: "say ' ' ~~ /<?[ ]>/"): Error while compiling op call: Error while compiling block : Error while compiling block (source text: "/<?[ ]>/"): StopIteration␤»
but i think it only makes a difference in the actual source of the nqp file, you should be able to make it look like this: exec java -Xbootclasspath/a:/home/timo/build/jakudo/nqp/install:/home/timo/build/jakudo/nqp/install/nqp-runtime.jar:/home/timo/build/jakudo/nqp/install/asm-4.1.jar:/home/timo/build/jakudo/nqp/install/jline-1.0.jar:/home/timo/build/jakudo/nqp/install/nqp.jar -cp /home/timo/build/jakudo/nqp/install nqp "$@"
rakudo 69c3cc: OUTPUT«===SORRY!===␤Error while compiling block (source text: "enum A (a=>3,b=>10,c=>1); class B { BEGIN { for A.enums.kv -> $k, $v { B::{$k} = $v } } }; say B::a"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: …
rakudo 69c3cc: OUTPUT«===SORRY!===␤Error while compiling block (source text: "enum A (a=>3,b=>10,c=>1); class B { BEGIN { for A.enums.kv -> $k, $v { B.WHO{$k} = $v } } }; say B::..."): Error while compiling op call: Error while compiling block : Error while compiling op call (source te…
lwall: 415
@all: should assignment and binding to %*ENV<something> should do different things?
rakudo 38a0f9: OUTPUT«===SORRY!===␤Error while compiling block (source text: "my $why = macro dumb () { quasi { \"aster\" } }"): Error while compiling op call: Error while compiling block : Error while compiling op p6store (source text: "$why = macro dumb () { quasi { \"aster\" } }"): …
.tell timotimo I've pulled and pushed all your changes to perl6-bench, and made a few minor tweaks on top of them (plus one spot where you appear to have accidentally made the perl6 version algorithmically different). One remaining question: Why the different handling of capture {} and the segfault check between the two halves of timeall:time_command()?
04:53Z <japhb> timotimo: I've pulled and pushed all your changes to perl6-bench, and made a few minor tweaks on top of them (plus one spot where you appear to have accidentally made the perl6 version algorithmically different). One remaining question: Why the different handling of capture {} and the segfault check between the two halves of timeall:time_command()?
minor problem with the tarball:
huh, when I do 'make install' it fails with: Couldn't copy 'eval-client.pl' from /home/larry/nom/nqp/install: No such file or directory at tools/build/create-jvm-runner.pl line 54.
nqp/make-install: 28b58c0 | (Donald Hunter)++ | tools/build/ (2 files):
nqp/make-install: Add install libdir into jvmconfig.properties
nqp/make-install: review: https://github.com/perl6/nqp/commit/28b58c06b7
nqp/make-install: cd48fff | (Donald Hunter)++ | tools/build/gen-jvm-properties.pl:
nqp/make-install: Added runtime.prefix to jvmconfig.properties
nqp/make-install: review: https://github.com/perl6/nqp/commit/cd48fffc23
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
last time I changed the order in the makefile: all: $(NQP_EXE) $(P5QREGEX_PBC)
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
not programming to P6 or programming at all: how do you say "moving forward by doing successive small jumps on a single foot"?
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
nqp/make-install: a620765 | (Donald Hunter)++ | tools/build/ (2 files):
nqp/make-install: Restructured install layout to resemble parrot install layout.
nqp/make-install: review: https://github.com/perl6/nqp/commit/a620765086
..rakudo 60cb3e: OUTPUT«===SORRY!===␤Error while compiling block (source text: "\"foo\" ~~ /<-[]>/"): Error while compiling op call: Error while compiling block : Error while compiling block (source text: "/<-[]>/"): StopIteration␤»
not related at all: is there any plan to have fmt support large integers? I mean, for instance to print a big integer in binary: say (2^80).fmt("%b")
rakudo 5c0dae: OUTPUT«===SORRY!===␤Error while compiling block (source text: "nqp::note(\"testing?\");"): Error while compiling op call: Error while compiling block : Error while compiling op note: No registered operation handler for 'note'␤»
rakudo 51d024: OUTPUT«===SORRY!===␤Error while compiling block (source text: "say nqp::eqaddr(&say,&say)"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "say nqp::eqaddr(&say,&say)"): Error while compiling op eqaddr: No regist…
rakudo b2072f: OUTPUT«===SORRY!===␤Error while compiling block (source text: "nqp::print(nqp::getstderr(), \"moo\")"): Error while compiling op call: Error while compiling block : Error while compiling op print: Operation 'print' requires 1 operands, but got 2␤»
perl6-bench: a46b452 | (Geoffrey Broadwell)++ | timeall:
.oO( I wonder if this is accurate at all: PHP scripts are like green threads {which don't always get cleaned up properly} )
Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version: [version];
lwall: 415
... p6decontrv: Error while compiling op nativecall: Error while compiling op p6decont: No registered operation handler for 'p6decont'
perl6-bench: 8a6d7d7 | (Geoffrey Broadwell)++ | timeall:
rakudo b2072f: OUTPUT«===SORRY!===␤Error while compiling block (source text: "\"/tmp/a.pm6\".spurt(\"sub abc() is export { }\"); require(\"/tmp/a.pm6\") <abc>; abc();"): Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_…
perl6-bench: b5ff52a | (Geoffrey Broadwell)++ | timeall:
Error while compiling block (source text: "require Text::Levenshtein <distance>;\
say distance(\"foo\", \"boo\");\
"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "say distance(\"foo\", \"boo\")"): Error while compiling op call (source text: "\"foo\", \"boo\""): Null PMC access in find_method('handle')
perl6-bench: 17e7d2d | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 1454441 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 46452be | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 74a2fce | (Geoffrey Broadwell)++ | timeall:
rakudo 14e7d7: OUTPUT«===SORRY!===␤Error while compiling block (source text: "my (|foo) ::= (1, 2, :a<foo>); say foo.WHAT"): Error while compiling op call: Error while compiling block : Error while compiling op call (source text: "say foo.WHAT"): Error while compiling op what (source t…
perl6-bench: 75540d3 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: Begin fixing analyze to handle new scaled timings files from timeall: handled ungrouped compiler info
perl6-bench: 9a14e25 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 52b7474 | (Geoffrey Broadwell)++ | timeall:
.oO( attention all: thinking has been postponed until Tuesday ) :P
Which is part of a larger call: nqp::nativecall(nqp::p6decont(map_return_type($r.returns)), self, nqp::getattr(nqp::p6decont($args), Capture, '$!list'))
rakudo ef73eb: OUTPUT«===SORRY!===␤Error while compiling block (source text: "$_ = macro foo { {{ }} }; say $()"): Error while compiling op call: Error while compiling block : Error while compiling op p6store (source text: "="): Unknown QAST node type NQPMu␤»
rakudo ef73eb: OUTPUT«===SORRY!===␤Error while compiling block (source text: "$_ = macro { };"): Error while compiling op call: Error while compiling block : Error while compiling op p6store (source text: "="): Unknown QAST node type NQPMu␤»
I have a simple rule to manage it all: I ignore all pull requests until someone tells me in person.
your table of contents is all: Â Â Â Â 1.1 Scope
rakudo 964224: OUTPUT«===SORRY!===␤Error while compiling block (source text: "PRE ;"): Error while compiling op call: Error while compiling block : Error while compiling block (source text: " "): Error while compiling op unless: Can only use get_how on a SixModelObject␤»
rakudo 964224: OUTPUT«===SORRY!===␤Error while compiling block (source text: "PRE ;"): Error while compiling op call: Error while compiling block : Error while compiling block (source text: " "): Error while compiling op unless: Can only use get_how on a SixModelObject␤»
rakudo 604986: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op bind: Error while compiling op while: Error while compiling block : Error while compiling op p6return: Operation 'p6return' requires 1 o…
rakudo ffe441: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op typeof: No registered operation handler for 'typeof'␤»
rakudo ffe441: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op typecheck: No registered operation handler for 'typecheck'␤»
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op typecheck: No registered operation handler for 'typecheck'␤current instr.: '' pc 46249 (src/stage2/QAST.pir:16990) (src/stage2/QAST.nqp:2794)␤»
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op isa: No registered operation handler for 'isa'␤current instr.: '' pc 46249 (src/stage2/QAST.pir:16990) (src/stage2/QAST.nqp:2794)␤»
rakudo a23458: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_method('handle')␤»
rakudo 6d7c9c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Error while compiling block : Unknown QAST node type Failure␤»
rakudo 6d7c9c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unknown QAST node type Failure␤»
hum. Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op bind: Error while compiling op call: Null PMC access in find_method('handle')
..rakudo 1c9939: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op call: Null PMC access in find_method('handle')␤»
rakudo 1c9939: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Error while compiling op bind_pos: No registered operation handler for 'bind_pos'␤»
question to all: If I'd run a perl 5 service, how hard would it be to do same NativeCally-stuff in rakudo to call into that perl 5 service?
gist: Larry Wall: creator of Perl, also known as TimToady.
..rakudo 87ad7c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_method('handle')␤»
..rakudo 87ad7c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_method('handle')␤»
..rakudo 87ad7c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op bind: Error while compiling op call: Null PMC access in find_method('handle')␤»
..rakudo 87ad7c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_method('handle')␤»
rakudo 87ad7c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op what: Null PMC access in find_method('handle')␤»
Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block draw-line: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while compiling op bind: Error while compiling op call: Null PMC access in find_method('handle')
..rakudo 123dfa: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op bind: Error while compiling op call: Null PMC access in find_method('handle')␤»
..rakudo 123dfa: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op bind: Error while compiling op call: Null PMC access in find_method('handle')␤»
..rakudo 123dfa: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_method('handle')␤»
..rakudo 123dfa: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Null PMC access in find_method('handle')␤»
rakudo cfee62: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo c8f397: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo ff2cee: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
FROGGS: you're thinking too small: it should fix the bug and send a pull request!
Perl history in brief, by Larry Wall:
rakudo b39b6f: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block clear: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while com…
rakudo b39b6f: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block clear: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while com…
rakudo b39b6f: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block foo: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while compi…
perl6-bench: 17eb310 | (Geoffrey Broadwell)++ | timeall:
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op which: No registered operation handler for 'which'␤current instr.: '' pc 46272 (src/stage2/QAST.pir:16100) (src/stage2/QAST.nqp:2434)␤»
rakudo c356d8: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo a26956: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block f: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while compili…
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op indexof: No registered operation handler for 'indexof'␤current instr.: '' pc 45675 (src/stage2/QAST.pir:15918) (src/stage2/QAST.nqp:2400)␤»
Error while compiling block : Error while compiling block : Error while compiling block apply_trait: Error while compiling op handle: Error while compiling op handle: Error while compiling op call: Error while compiling block : Error while compiling op if: Error while compiling op bind: First child of a 'bind' op must be a QAST::Var - i feel like i've accomplished something m)
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op rand_i: No registered operation handler for 'rand_i'␤current instr.: '' pc 44583 (src/stage2/QAST.pir:15561) (src/stage2/QAST.nqp:2360)␤»
rakudo c3f565: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo c3f565: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo c3f565: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo c3f565: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
positive: nothing; negative: nothing; overall: 0.
rakudo c3f565: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo cdb0fa: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op call: Unknown QAST node type NQPMu␤»
all: note that we don't require CLAs for commitbits to the star repo
perl6-bench: 7f8ae16 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: dab496f | (Geoffrey Broadwell)++ | timeall:
rakudo c8de2e: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op if: if block expects an argument, but there's no immediate block to take it␤»
rakudo c8de2e: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op call: Error while compiling op if: if block expects an argument, but there's no immediate block to take i…
rakudo c8de2e: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unknown QAST node type NQPMu␤»
Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Error while compiling block : Error while compiling block wait: Error while compiling block : Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Cannot infer type from ''
perl6-bench: 7cf00e5 | (Geoffrey Broadwell)++ | timeall:
so I think there is problem with NativeCall: while my $a = native_function( $sock, $structure, $kind-of-C-iterator-on-structure ) { ... } exploding with SEGFAULT... cannot find user error this time...
perl6-bench: 3353a9e | (Geoffrey Broadwell)++ | timeall:
@all: my proposal about installing distributions --^ # you can stone me now to death
perl6-bench: e836e54 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: eb3c239 | (Geoffrey Broadwell)++ | timeall:
rakudo e6e158: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op say: Error while compiling op does: No registered operation handler for 'does'␤»
perl6-bench: ce24bc6 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: eb1c2d7 | (Geoffrey Broadwell)++ | timeall:
perl6-bench: 82d7b0f | (Geoffrey Broadwell)++ | timeall:
perl6-bench: d5fed63 | (Geoffrey Broadwell)++ | timeall:
rakudo 112307: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo 112307: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unrecognized subtype 'zerowidth' in QAST::Regex cclass␤»
rakudo 112307: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Error while compiling op call: Error while compiling op p6box_s: Error while compiling op set__PS: No registered operation handler …
rakudo 112307: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Error while compiling op call: Error while compiling op p6box_s: Error while compiling op assign__PS: No registered operation handl…
another issue with NativeCall: Native call expected object with CPointer representation, but got something else
rakudo 64208d: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op bind: First child of a 'bind' op must be a QAST::Var␤»
rakudo 64208d: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op p6store: Unknown QAST node type NQPMu␤»
rakudo 64208d: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op p6store: Unknown QAST node type NQPMu␤»
rakudo 68460c: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling block foo: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while compiling op call: Unknown QAST node type NQPMu␤at /tmp/uKpHj4LjXH…
rakudo 64208d: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling block foo: Error while compiling op p6typecheckrv: Error while compiling op lexotic: Error while compiling op p6decontrv: Error while compiling op call: Unknown QAST node type NQPMu␤at /tmp/MqNFBXtLcV…
rakudo 9bb7de: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unknown QAST node type Any␤»
nqp: OUTPUT«Error while compiling block : Error while compiling op call: ResizableStringArray: Can't shift from an empty array!␤current instr.: '' pc 43971 (src/stage2/QAST.pir:15393) (src/stage2/QAST.nqp:2331)␤»
rakudo 6859fb: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling block bohr: Error while compiling block : Error while compiling block : Error while compiling op call: Unknown QAST node type QAST::Unquote␤at /tmp/MXwoFA4Rny:1␤»
rakudo 6859fb: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Unknown QAST node type Any␤»
rakudo 6859fb: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op p6store: Unknown QAST node type NQPMu␤»
rakudo 8a07b8: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Can only use get_how on a SixModelObject␤»
rakudo 8230ae: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Can only use get_how on a SixModelObject␤»
rakudo 547fcb: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Can only use get_how on a SixModelObject␤»
rakudo 547fcb: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Can only use get_how on a SixModelObject␤»
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op typeof__SP: No registered operation handler for 'typeof__SP'␤current instr.: '' pc 43434 (src/stage2/QAST.pir:15060) (src/stage2/QAST.nqp:2253)␤»
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op box_s: Operation 'box_s' requires 2 operands, but got 1␤current instr.: '' pc 43434 (src/stage2/QAST.pir:15060) (src/stage2/QAST.nqp:2253)␤»
sh: line 0: cd: 3rdparty/dyncall: No such file or directory
now back to "Error while compiling block : Error while compiling op call: Can only use get_how on a SixModelObject
jnthn: now I'm getting Error while compiling block : Error while compiling op call: Can only use get_how on a SixModelObject
phenny: ask jnthn if I should be able to build my own rakudo star atm, because when all is done I cant use NativeCall: Missing or wrong version of dependency 'src/gen/BOOTSTRAP.pm'
jnthn: 16:21Z <FROGGS> ask jnthn if I should be able to build my own rakudo star atm, because when all is done I cant use NativeCall: Missing or wrong version of dependency 'src/gen/BOOTSTRAP.pm'
or @all: is there a way to get the code of a sub as a string?
if someone else wants to write NativeCall::Fortran, don't stop them, but don't give them a monopoly either
@all: IMO every module should run in the end on all platforms/compilers/interpreters with the same behaviour
oh yes, found it after all: http://irclog.perlgeek.de/perl6/2011-07-26#i_4170037
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op callmethod: Error while compiling op new: No registered operation handler for 'new'␤current instr.: '' pc 42779 (src/stage2/QAST.pir:14984) (src/stage2/QAST.nqp:2244)␤»
nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op callmethod: Error while compiling op new: No registered operation handler for 'new'␤current instr.: '' pc 42779 (src/stage2/QAST.pir:14984) (src/stage2/QAST.nqp:2244)␤»
rakudo 1f86d2: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block hello: Error while compiling block : Error while compiling block : Unknown QAST node type QAST::Unquote␤»
rakudo fc8887: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op time__N: No registered operation handler for 'time__N'␤»
positive: nothing; negative: nothing; overall: 0.
..rakudo c7f649: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : StopIteration␤»
any and all: my %hash = map { (state $counter)++ => $_ }, @foo; -- niecza thinks that's a hash, not a block. Isn't it right? (This is from anon-hashes-vs-blocks.t)
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling block : Error while compiling op call: Error while compiling op callmethod: No scope specified or locatable in the symbol table for '$=pod'
all: feel free to update the 2012.07 star announcement with stuff
all: i'm trying to add ilbot for a local irc server
all: i've come so far that I can see the 'Index of IRC logs' welcome
all: but ilbot does not join the specified channel, nor logs it
just noticed that TimToady++ did a quite funny Q&A at the yapc:na :) $guy: "I'm kinda new to programming. Why should i learn Perl?". Larry Wall: "Uh... beats me... " :)
or nothing at all: $a.map: *.say :)
"First of all: Finally accept that there are two Perls now. 5 and 6. Period. The world needs more Perl - here we have it. :) None of the two will go away. That's a good thing." -- Su-Shee++ http://blogs.perl.org/users/su-shee/2011/01/random-contest-event-ideas.html
flussence++: thnx, it at least gives a hint. And maybe a clever compiler can detect those things a compiletime someday :) And best of all: I learned about :_, :T, :D, :U, which i didn't know before :)
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
positive: | S02-types/hash.t: (dalek), | src/metamodel/how/NQPMu.pm: (dalek), | LHF.markdown: (dalek); negative: git commit -a without checking git diff first (moritz_), we have your karma. fix bug to get it back !:) (masak); overall: 2842.
Woodi: somewhat simplified: runtime thinks and deals in values, like 42 and "OH HAI". compiler thinks and deals in code represented as ASTs, like int:42 and infix:<+>:(int:2, int:2) and subcall:<say>:(string:"OH HAI")
my local install: This is Rakudo Perl 6, version 2011.04 built on parrot 3.3.0
positive: nothing; negative: nothing; overall: 0.
rakudo/nom-install: 9da32b2 | moritz++ | / (2 files):
rakudo/nom-install: compile a lot more things in blib/ instead of src/gen
rakudo/nom-install:
rakudo/nom-install: That way we have a more consistent layout between source tree and installation tree
rakudo/nom-install: review: https://github.com/rakudo/rakudo/commit/9da32b2e0c
rakudo/nom-install: f74a171 | moritz++ | / (3 files):
rakudo/nom-install: be more consistent with build locations
rakudo/nom-install: review: https://github.com/rakudo/rakudo/commit/f74a171e7f
rakudo/nom-install: bcb8d70 | moritz++ | src/Perl6/ (2 files):
rakudo/nom-install: simplify module loading
rakudo/nom-install: review: https://github.com/rakudo/rakudo/commit/bcb8d70668
rakudo/nom-install: 6a45ccb | moritz++ | / (2 files):
rakudo/nom-install: try to make nom installable
rakudo/nom-install:
rakudo/nom-install: This is... wrong. It installs rakudo's pbcs into the general parrot install
rakudo/nom-install: location, because I can't figure out where the pbcs are actually loaded, and
rakudo/nom-install: how. On the plus side it gives us an idea what files need to be installed.
rakudo/nom-install:
rakudo/nom-install: It gets us so far that we can actually run the perl6 binary from outside the
rakudo/nom-install: installation path, but using an Int literal results in "Could not locate
rakudo/nom-install: compile-time value for symbol Int"
rakudo/nom-install: review: https://github.com/rakudo/rakudo/commit/6a45ccbae0
all: o/
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
positive: | perf/ (4 files): (dalek), | / (3 files): (dalek), | / (2 files): (dalek); negative: nothing; overall: 1382.
positive: | src/Perl6/Grammar.pm: (dalek), | dotnet/compiler/PAST2DNSTCompiler.pm: (dalek), is writing a really nice MOP and then parrot will steal it and then rakudo should scream since parrot understands the MOP under the hood (dukeleto); negative: nothing; overall: 805.
positive: did, recently (moritz), . (dalek), : ooh! excitement! (mberends); negative: nothing; overall: 311.
positive: moritz_++ (colomon), | doc/ChangeLog: (dalek), said (jnthn); negative: C3 Multiple inheritance has been very good to me, it doesn't need senseless hating (sorear); overall: 364.
positive: :) (TimToady), | t/spectest.data: (dalek), reminder (masak); negative: nothing; overall: 120.
then add a "check-version" target and dependency to the "all:" target in the makefile
deleting all traces of a Parrot install: makes no difference
nah, float fail after all: is ilogbf(7.9),2; got: '-76', expected: '2' :(
positive: nothing; negative: nothing; overall: 0.
positive: p6advent support (tadzik), has a good blog post with all the most common tips and tricks. I'll try to find it for you. (masak), for the challenges ([particle]); negative: nothing; overall: 192.
positive: colomon++ (masak); negative: nothing; overall: 1.
positive: | projects.list: (dalek), | projects.list: (dalek), sending me ~6k visitors from reddit (moritz_); negative: nothing; overall: 29.
phenny: tell daxim ok, I think I solved your problem, bonus points and all: https://gist.github.com/807554
daxim: 11:08Z <masak> tell daxim ok, I think I solved your problem, bonus points and all: https://gist.github.com/807554
someone on Twitter has opinions about the Web and mod_perl and Perl 6, and makes an appeal of some kind to Larry Wall: http://twitter.com/sylx/status/14323215945957377
Here's what happened when I tried to build rakudo using a freshly compiled parrot from the parrot-2.10.1 tarball: https://gist.github.com/705084
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
positive: nothing; negative: nothing; overall: 0.
thinks Juerd is probably the most happiest guy here of all: "cleaning up of the gigabytes of tempfiles" :)
positive: just for fun (bacek); negative: nothing; overall: 1.
positive: for another reason (nwellnhof), foo (Tene), just for fun (bacek); negative: nothing; overall: 3.
positive: so basically, I can write anything I want here, and it'll show up in 'explain'? (masak), for another reason (nwellnhof), foo (Tene); negative: nothing; overall: 4.
pmichaud: also i have set it up with the building script and all: $ perl Configure.pl --gen-parrot && make && ./abc-nqp and everything works great
all: if cases of (tested > spec) arise, please let me know, I'm keen to get test_summary.pl as accurate and useful as possible.
"various released products" ~~ the non-core modules in the tarball: miniDBI, etc.
install: all
another R* candidate tarball: http://pmichaud.com/sandbox/rakudo-star-beta3.tar.gz
all: Setting.dll
it's as simple as adding a install-src dependency to install:
(overall: I'm working on getting 'trait_mod:<of>' to work on subs.)
but the fourth crashes with: call: (|, |{"action" => "Index", "controller" => "Root"})
..elf 31297: OUTPUT«syntax error at (eval 130) line 3, near "(sub x"␤"my" variable $Call::Api can't be in a package at (eval 130) line 3, near "($Call::Api"␤syntax error at (eval 130) line 6, near ")}"␤ at ./elf_h line 5881␤»
grok: Remove Module::Install::AuthorTests
masak: speaking of which... if 'ufo' wrote an install: target in the makefile, installing stuff would be easier :-)
should probably start using Module::Install::ReadmeFromPod
and then "However, as with Perl 5, programmers can do most things without any explicit typing at all:"
spectest results on tarball: http://nopaste.snit.ch/20605
make install: and who's copies the docs and where's the man?
moritz_: Your frequent commits pushing more enabled tests to github please me, that is all:)
..elf 30292: OUTPUT«"my" variable $x masks earlier declaration in same scope at (eval 126) line 6.␤syntax error at (eval 126) line 3, near "(sub foo"␤"my" variable $Call::Api can't be in a package at (eval 126) line 3, near "($Call::Api"␤syntax error at (eval 126) line 6, near ")}"␤"my" variable
all: doesn't perl6 -I<path> work for including module paths?
I'm getting this error when I try to do make install:
Then remember why I'm doing anything with it at all: because there's a good lib written in it that I don't want to re-invent.
to all: anything missing there http://www.perlfoundation.org/perl6/index.cgi?implementations ?
call:
should i be able to call:
in ClassHOW you call: new "Array" , which kind of array is that?
Lots of failures in my release tarball: http://nopaste.snit.ch/19129
new tarball: http://wgz.org/chromatic/tmp/rakudo-2009-12.tar.gz
newest tarball: http://wgz.org/chromatic/tmp/rakudo-2009-12.tar.gz
all: ^^ I am not making this up.
Question all: Rakudo works from an installed Parrot, right?
larry wall: hes big fat and small, he plays with a doll, lol lol lol
like all: say "hello"
all: I *highly* recommend watching this. http://ecn.channel9.msdn.com/o9/ch9/2/7/8/5/0/5/IE9JSEngineEarlyLook_ch9.mp4 *very* interesting/exciting.
abworrall: Glancing the implementation, it looks like there isn't a way at the moment. :-(
abworrall: slurp uses open, and open doesn't know about other encodings yet.
abworrall: That doesn't look private to me...you should be able to call it.
abworrall: unpack is not very far implemented.
abworrall: Actually I never figured out unpack in Perl 5.
... as well as Try::Tiny, Sub::Call::Tail, and more on local::lib.
all: hi
here's a discussion about it all: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544399
mberends: I've had that thought too. it's something Heisenbergian over it all: if I and others start a grassroots drive to defend/hype Perl 6 on Twitter, then people might catch on and try to actively taunt us.
this says it all: http://use.perl.org/~masak/journal/39025
grok: Remove use of Module::Install::AuthorRequires
PAST node for tailcall: PAST::Op.new( :pirop('tailcall'), ... )
grok: Make use of Module::Install::AuthorRequires
grok: * Add Module::Install::Share
ok, I'm gone for vacations... I might drop in a few times in the next few days, but all in all: "see you in 3 weeks" ;-)
lwall: im checking it... thx :)
all: is .sort able to ignore case? how?
masak: podserver has 2 blockers on your install: 1. the BSD netcat lacks both -c and -e options, 2. proto gets parrot/rakudo r37000 which is pre $*PROGRAM_NAME
all: I have booked a room at the Anker with 2 single beds (marginal extra cost), in case someone would like to share
rkendall: thank you. :)
rkendall: ah, good. then it'll display fine for most people, I hope ;-)
rkendall: aye. The right bar is mostly useless, its content could be stuffed into the left one
rkendall: do you know how to change a redirection link in drupal with command line tools?
rkendall: Yeah, prefer markdown.
rkendall: But what about default privs?
So, rkendall: Drupal help about now would be fantastic.
rkendall: hi
rkendall: hello! I'm still waiting to hear back from Andy about getting people write access to the website.
rkendall: there was this.... http://www.nntp.perl.org/group/perl.perl6.users/2009/01/msg938.html
lwall: I find src/perl6 make is still failing with STD.pmc has too many errors.
cabal: Error: some packages failed to install:
Karma for lwall: 576
r21682 | audreyt++ | * Module::Install::Pugs: We now want GHC 6.8.
yap6: say $a; sub say (Trap $fall: $foo, $arg1 ,,, ,$arg2 , ,, ,,,, ) { my $a = sub { use Foo; }};
most of all: does it make sense? ;-)
But nobody will like it. Hoping I will be corrected: we fear communication, but most of all: we're afraid to give up control.
all: what say you on the prospect of holding a fundraiser? PM me if you're interested in the least.
maybe a #?all: scale 5
all: I don't mean to seam all needy with these questions. It is just that in the "programming culture" I grew up in, messing around with another programmers code (uninvited) was just not done, unless it had to be fixed "now!". And if you messed around just to make "style" changes... omg.
all: btw, I was trying to figure out how to create a reference to a non-existant scalar. Does anyone know how to do that?
Title: Chris Ball: : Favourite Unicode Codepoints
no not at all:)
Note that I'm one of those people who rarely uses return at all:)
Oh, er, now it's not loading at all: <http://moritz.faui2k3.org/irclog/out.pl?channel=perl6;date=2007-05-14>
: * inc/ - Make Module::Install::TestBase not display "redefined"
You could make a p5 package, and with Module::Install::Compiler::Rule (or something) generate xs/p5rx/perl code from that grammar
gall: if you want mnemonics, use apl not an ascii language :)
pmurias: I guess you could put print $Module::Install::VERSION after it's used
all: thanks
nope, doesn't work in trunk -- it errors out at my first test call:
audreyt/TimToady/all: thanks for clarifying block behaviours - that all makes sense now
I'm trying to split the pugs smoke submitter into Module::Install::Smoke, I was wondering what would be the best way to make it self-contained
gaal: I was looking at your smoke server slides and was wondering about ripping the smoke serv client script out as Module::Install::Smoke
Karma for lwall: 12
and Module::Install::PMC has no docs or hints
ah, here we go... all: src/Pugs.hs:333 -- is there any reason we drop the trailing semi? Always adding one before eval seems to fix the problem TimToady mentioned.
r14243 | audreyt++ | * Module::Install::Pugs: Strongly recommend GHC 6.6+ by
heh, "Larry Wall: Perl is turning into Haskell. Someone shoot me." -- http://sequence.complete.org/hwn/20061010
r13030 | gaal++ | * noticed that assert_ghc in Module::Install::Pugs litters ghc_flags
it's a callconv question, I guess. you can't do this after all: foo( self => $obj )
eg. pointfreeing all:
So I might also soon get enough of Module::Install::With able to be finished to start porting bits of M:I over to it
Module::Install::Can
12:24 < froh-doh> plasmaball: just for curiosity, how do you see this?
from last commit: "Can't locate object method "new" via package "Module::Install::PMC" at inc/Module/Install.pm line 144."
in Module::Install::PMC
gall: yes that what exactly what i do now
gall: we use both
it's a Module::Install::Compile thing I think
or rather Module::Install::PMC
could it be moved to where Module::Install::PMC resides?
considering Module::Install::PMC as a separated module
"ruoso" at 201.8.237.163 pasted "patch to Module::Install::PMC" (19 lines, 469B) at http://sial.org/pbot/18455
"ruoso" at 201.8.237.163 pasted "patch to Module::Install::PMC" (19 lines, 501B) at http://sial.org/pbot/18456
using Module::Install::Share
hm. When building pugs, make runs fine, but when trying to make install:
Just did. Still same msg. When I "cpan Module::Install::Admin" it says it's up to date as well
I tried force installing Module::Install::Admin, and still no change
audreyt, all: hi
gall: excellent, thanks
you used Module::Install::Admin?
pre make install:ghc-6.4.2: unknown package: pugs-fps-0.7
(In short, it's unable to find inc::Module::Install::Admin.)
r10677 | audreyt++ | * inc::Module::Install::Pugs - sort the tests before "make test"'ing
r10601 | audreyt++ | current innermose block, then hoist them all:
'lo all: If I have questions about parrot install - better to ask here, or #parrot on irc.perl?
Call: Foo( exp, exp... )
(fact)::tell (who) about (what)::(what) > (who)::learn (what) as (info)::relearn (fact) as (info)::phone (phone number)::shorten (url)::shorten it::search (module)::docs (module)::perldoc -f (function)::jargon (term)::math::fortune::flip::host (type) (record)::rot13::roll (die)::tempconv (temp)::scramble (foo)::8ball::slap::diss::what time is it::top/bottom (number) karma::geoip (ip)
single or multi egg call: multi, distributing to two singles: we had one each.
(fact)::tell (who) about (what)::(what) > (who)::learn (what) as (info)::relearn (fact) as (info)::phone (phone number)::shorten (url)::shorten it::search (module)::docs (module)::perldoc -f (function)::jargon (term)::math::fortune::flip::host (type) (record)::rot13::roll (die)::tempconv (temp)::scramble (foo)::8ball::slap::diss::what time is it::top/bottom (number) karma::geoip (ip)
all: join gobby sike.forum2.org
all: gaal's passwd is not "secret" ;-)
I think I'll just release Module::Install::PMC as separate module then
use Module::Install::Base 0.61;
And we just rig up a Module::Install::Admin::Compiled that auto-adds the extra requires commands :)
has some ideas for Module::Install::External that might make use of that
Module::Compile would be a Module::Install::Admin type thing
Alias_: we need Module::Install::PMC support
just look at their Makefile.PL : requires 'Module::Install::Admin' => '0.54';
gall: It would realy be an overkill in this case
all: would you suggest a cool name for 'iterator_engine'?
Memo to all: no pun in documents...
lwall: that's what I was generalizing
BTW, I'm very close to throwing Module::Install::Compiler away :)
Module::Install::Share provides the stuff to install it to the right place, which is the same technique used by autosplit and other core modules
audreyt: I've added an experimental Module::Install::External to start implementing things like requires_external bin => 'qemu';
Module::Install::Pugs thing
so define it in Module::Install::TestBase
I realized that I can distribute Module::Install::TestBase in Test-Base to do just that!!
wolverian: your ball: http://perl.net.au/wiki/Pugs
the (small:) price of a flexible syntax.
there are two ways. one is in a test call:
ingy: a fix introduced in Module::Install::Can for Cygwin (ExtUtils::MM_Cygwin::maybe_command) is not working anymore and makes building with M::I to fail. If the extra code is removed, it works. I will try to find an explanation for this.
but Module::Install::all_from does exactly that
audreyt: please increment the version of Module::Install::Admin in the next release, Catalyst has a prereq on M::I
at Module::Insall::Base line 52
M::I gurus: I'm hoping to save the path to 'ghc' in order to facilitate detection of 'ghc-pkg'. Can I stuff that into $self->{ghc} in Module::Install::Pugs, or is there a better place?
r8170 | pjf++ | In inc::Module::Install::Pugs:
xinming: Re the tarball: that'll give you an out of date base system in a few years, and that has tiny but important disadvantages
all: okay, I'm assuming `slurp "unknown_file"` should fail, not blindly return undef.
nope, it doesn't work at all:
You know, this is cool and all:
lwall: "I think "data" is actively misleading to blue-collar people"
lwall: "more like "a pattern of data""
luqui: Call::Immediate very interesting
again mentions the idea of someone putting together a Bundle of pugs-required CPAN modules. (apropos forget and install:)
hey all: http://www.kwiki.org/apocalypse/start.html
I'm just trying to get it to work at all:
ok, so in Module::Install::Makefile::fix_up_makefile, the postamble specified in Makefile.PL (where the more correct-looking pure_site_install rule lives) is appended, duplicating the section
smoke for pre1-tarball: http://home.ifi.uio.no/~davidra/smoke.html
I added an extra install: target to Makefile.PL. Intended to say "sorry, disabled", instead it causes a : vs :: conflict error. But that's hopefully good enough.
All in all: yes, I think it should work.
lwall: "I suspect we would make a lot of people happy if we named UNIVERSAL Object"
mandatory makefile line: "install: all"
autrijus changes topic to: Final call: http://pugscode.org/dist/Perl6-Pugs-6.2.2.tar.gz | pugscode.org <Overview Journal Logs> | pugs.kwiki.org
Alias_: there isn't a very good reason. patch Module::Install::AutoInstall to add a line of include('ExtUtils::AutoInstall'), remove the bootstrap block and test that for me?
autrijus: you got a bad review of Module::Install: http://cpanratings.perl.org/d/Module-Install which raises some questions.
but the EU::AI part (Module::Install::AutoInstall) may not be handling things correctly.
maybe the best way is to merge config_h.pl into Module::Install::Pugs
nothingmuch: I hope that it will work, because otherwise, the next best thing will be a file. Or moving config_h stuff into Module::Install::Pugs instead of a separate program.
ninereasons: try uncommenting line 193 of Module::Install::Pugs
autrijus, all: what was the last failing count on the tests?
there is a Module::Install::Pugs, but that is perl5
In Module::Install::Pugs::set_makefile_macros()
Its what Module::Install::Pugs wants
lwall: "I think both the 5.005 model and the ithreads model are wrong to some extent"
Hey all: my sub ($x is rw of Num where { $_ % 1 })?
if you don't, try this tarball:
Module::Install::Pugs.pm line 9 is "$self->set_blib('../../blib6');"
"wait for Pugs::MakeMaker / Module::Install::Pugs on CPAN ;)"
of course, we can do a Module::Install::Pugs that works arounds all those, and install into pugs dir
wonders if you can open/iterate in one nice call:
could the error during installation (class 'NativeCall::Types::void' not found) be related to precomp again?
m: use NativeCall::Types; say (NativeCall::Types::void).^name
m: use NativeCall::Types; say NativeCall::Types::.keys
m: use NativeCall; say NativeCall::.keys
ok, doing the following seems to work: 1. apply psch's++ patches; 2. add 'no precompilation' to 'lib/NativeCall/Types.pm6'; 3. run perl6-j -Ilib -e 'use NativeCall::Types; say NativeCall::Types::void.^name'
psch: yesterday you were reluctant to put your changes to the Binder in a commit. since the new error ('NativeCall::Types::void') seems to be unrelated to that -- shouldn't your patches go in?
well, i did get Buf.push(Buf) working on r-j, but i get a parse failure in NativeCall::Compiler::GNU
because it doesn't recognize NativeCall::Types::void as a type
timotimo: i don't think that's the problem, considering NativeCall::Types::void maps to repr Uninstantiable
with "Function 'NativeCall::Types::void' needs parens to avoid gobbling block (or perhaps it's a class that's not declared or available in this scope?)"
in NativeCall::Compiler::GNU:32
rakudo/nom: NativeCall: Add ssize_t to $type_map
rakudo/nom: NativeCall: Add ssize_t to $type_map
@all: the precomp-store-redesign branch is now ready for testing!
nine: i pulled after 19:25 < nine> @all: the precomp-store-redesign branch is now ready for testing!
sortiz: i don't know if that could be related to provides order. maybe if NativeCall was before NativeCall::Types, but since the former 'use'es the latter that should sort itself out, afaiu
I.e NativeCall uses NativeCall::Types, so if installed first can use an older NC::Types (preinstalled) version.
sortiz: yeah. the overlap is that the issue on r-j i'm trying to understand dies when trying to load NativeCall::Types
If I build from MoarVM and install:
well, it is a Sub+{NativeCall::Native[Sub,Str] that dies vOv
hi, I got a question on nativecall: If "CArray" is used together with some struct it stores pointers to structs, however it seems like it's not possible to store structs in contiguous memory (there is also a bug report on that). Is there some way to do that? In the docmentation of nativecall the secion of "Blobs" and "Buffers" is marked as TBD. Is this probably the way to go?
@all: moarvm, nqp and rakudo 2016.10 got migrated from unstable to debian testing today! \o/
@all: is here somebody who has an arm system where rakudo compiles?
so the ASSIGN-POS of NativeCall::Types (IntTypedCArray) has a param_rp_o for its self argument (it generates a getlexperinvtype for ::?CLASS, then a istype) is bailing from jitting because of the param_rp_o
X::TypeCheck::Assignment.new(symbol => "\$prefixes", operation => Any, got => NativeCall::Types::CArray[Str].new, expected => NativeCall::Types::CArray[Str])
rakudo-moar a45224: OUTPUT«Default constructor for 'NativeCall::Types::Pointer[num64]' only takes named arguments␤ in block <unit> at /tmp/RNolUHRsRE line 1␤␤»
rakudo-moar a45224: OUTPUT«NativeCall::Types::CArray[num64].new␤9221120237041090560␤»
rakudo-moar a45224: OUTPUT«NativeCall::Types::CArray[num64].new␤111111111111000000000000000000000000000000000000000000000000000␤»
rakudo-moar a45224: OUTPUT«NativeCall::Types::CArray[num64].new␤111111111110000000000000000000000000000000000000000000000000000␤NativeCall::Types::CArray[num64].new␤111111111111000000000000000000000000000000000000000000000000000␤NativeCall::Types::CArray[num64].new␤-100000…»
Ok, it's definitely an issue with compilation, not with loading. When I have all NativeCall::* modules be precompiled recursively starting with NativeCall, loading works. When have .install precompile them individually, I get the error on load.
perl#sources/51E302443A2C8FF185ABC10CA1E5520EFEE885A1 (NativeCall::Types):83
b2Shape.new(vmt => NativeCall::Types::Pointer, m_type => 42, m_radius => 0e0)
jnthn: what helgrind makes of it all: http://paste.scsys.co.uk/482933
MoarVM: 4bd5932 | FROGGS++ | 3rdparty/dyncall:
@all: please test... works perfectly on my linux box
MoarVM: 89ddb76 | (Jimmy Zhuo)++ | 3rdparty/dyncall:
@all: please check: ChangeLog for 2014.11 release - https://github.com/MoarVM/MoarVM/commit/3a73b11c9ad06feb19ce5e9220acd5f332a4d95b
build stage failed for NativeCall: Failed building lib/NativeCall.pm6
MoarVM: d94d7b8 | moritz++ | 3rdparty/dyncall:
No spesh at all: 6.37s
MoarVM: 79973cf | jimmy++ | 3rdparty/dyncall:
MoarVM: c57b446 | jnthn++ | 3rdparty/dyncall:
MoarVM: 872224b | jnthn++ | 3rdparty/dyncall:
Error while compiling op call: Unknown anchor subtype zerowidth
[80] Error while compiling op call: Unknown anchor subtype zerowidth
m-all: $(PERL6_MOAR) $(SETTING_MOAR) $(M_RUNNER) lib/Test.moarvm blib/lib.moarvm blib/Pod/To/Text.moarvm
huh, Error while compiling op call: Cannot find method 'uniprop'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment