Mohawk
- Website: metacpan.org/author/ETJ
Recent Actions
-
Commented on Running Perl/PAGI applications on Cloudflare Workers via WebAssembly
How does this interact with WebPerl?...
- Posted Adventures with Fortran to Ed J
-
Commented on PerlOnJava 5.44.1 released
Amazing work! Is PDL on the radar?...
-
Commented on GTC 2.1 go pro
Thanks for the PDL shout-out! Feel like pull-request-ing the missing five colour spaces to PDL::Transform::Color? You'll find the code is easy to work with. The best way would be to add them to PDL::Graphics::ColorSpace, also easy to work with. Craig...
-
Commented on Happy sharing
For interoperating between PDL and Buffer, there is a (for now still undocumented) new method, new_around_datasv, which is also zero-copy: my $pdl = PDL->new_around_datasv(0+$buf->as_scalar); $pdl->set_datatype(double->enum); $pdl->setdims([10000]); $pdl->set_donttouchdata; printf "mean=%.4f stddev=%.4f\n", $pdl->stats;...
-
Commented on The AI Revolution is Validating 40 Years of Perl Philosophy
The AI-generated image of an "AI & Science Reception" could be worse, but the person who generated it had no idea about personal space, which leads to some of the figures standing so close to each other their hands have...
-
Commented on PDL in Rust -- Part Two
Putting aside the errors in assigning functions to PDL modules, a few issues are visible: We still only have your word about all the increased number of passing tests Still no word on how many of main PDL's tests your...
-
Commented on PDL in Rust -- A Native Reimplementation of the Perl Data Language
So you are in a quantum superposition of being both interested and not interested. Apologies for your confusion. I said I didn't mind being unable to read your closed source, but had curiosity about who your product is for. I...
-
Commented on PDL in Rust -- A Native Reimplementation of the Perl Data Language
I've had a look at https://perl.petamem.com/docs/eng/reference/p5-modules/PDL.html - so far, it's barely a proof of concept, though that's not nothing. Based on my reading of the very early versions of PDL, your version looks like it hasn't broken past the 1996...
-
Commented on Graphics::Toolkit::Color 2.0 feature overview
First of all, congratulations on the major-version release! Have you ever taken a look at https://metacpan.org/pod/PDL::Transform::Color to compare and contrast with another module in a somewhat similar space? I'd be interested to help with interoperability and/or performance measurements :-)...
-
Commented on Faster PDL Development Cycle---But How?
To respond to MLX's thought, albeit a little while later: that would be more or less the "bundle" option. How it turned out: around the end of 2024, PDL 2.096 was released. In the months beforehand, various modules that had...
-
Commented on Enter the Matrix ... with PDL
Whoops! That should be: ($xmesh, $ymesh) = meshgrid($x, $y); $C = 1/($xmesh - $ymesh); See https://metacpan.org/pod/PDL::Slices#meshgrid for more....
-
Commented on Enter the Matrix ... with PDL
This would be super-easy - indeed, barely even an inconvenience - with the relatively-recently cribbed-from-MATLAB meshgrid. $C = 1/meshgrid($x, $y)...
-
Commented on k-means: a brief interlude into Data Wrangling
We now have the ominously-numbered https://github.com/PDLPorters/pdl/issues/503 to track Advent calendar stuff....
-
Commented on k-means: a brief interlude into Data Wrangling
Hi, I'd have reached out to you by email or GitHub but I can't figure out your ID. If you'd like to help with PDL communication, maybe making a PDL Advent calendar posting, then please comment on https://github.com/PDLPorters/pdl/issues/34 or email...
-
Posted PDL 2.063_01 released to Ed J
There have been a couple of developments in PDL since the last announcement on here I could find, from 2013. To hypersummarise: 64-bit indexing, native complex number support, automatic pthreading using all available CPU cores, faster installation thanks to parallel-building, memory-mapped data,…
-
Commented on Enter the Matrix ... with PDL
Superb!...
-
Posted graphql-perl - plugin to make GraphQL "just work" with Mojo publish/subscribe functionality to Ed J
GraphQL is the new, shiny way to do APIs. It minimises number of round-trips for clients to query what need. But what about real-time updates? How can we cut down the time needed for clients to get new information? Are we forcing them to constantly poll? That seems expensive and also slow.
… -
Commented on Daily CPAN upload: 600 days
Good luck!...
-
Posted Memoising - standardisation of normalisation to Ed J
Hopefully, the sesquipedalian polysyllabalisation of the title will have made your eyes glaze over. Now to wake you up: MASSIVE PERFORMANCE GAINZ!
-
Posted JSON::Transform - transform JSON-able data structures without code to Ed J
Version 0.01 of JSON::Transform is now on CPAN. It lets you express transformations of JSON-able data (i.e. data that is only hashes, arrays, simple scalars plus booleans) concisely and declaratively, without writing any other code.
Lo…
-
Posted XML::Invisible - writing parsers without pain or code to Ed J
Version 0.03 of XML::Invisible is now on CPAN. This lets you write parsers that produce XML-like Abstract Syntax Trees (AST), or actual XML documents, without writing any code. Why did I write it?
Parsing: a tiny introduction
…
-
Posted SQL::Translator::Parser::OpenAPI - generate a relational database from an OpenAPI schema to Ed J
Version 0.04 of SQL::Translator::Parser::OpenAPI has just been uploaded to CPAN. You can give it an OpenAPI 2 spec and it will generate a relational database from it. How is that useful?
Normally when you want to make …
-
Posted Test::Snapshot - automate externalising "expected" data to Ed J
During the ongoing development of graphql-perl, I have found it valuable to generate data structures, and to compare those with expected values. Often, these have been highly detailed rather than a subset, because I wanted to know when anything changed.
When, however, something d…
-
Posted graphql-perl - plugin to make GraphQL "just work" with OpenAPI to Ed J
The just-released v0.03 of GraphQL::Plugin::Convert::OpenAPI provides a plugin to convert a given OpenAPI specification (the spec formerly known as Swagger) to a GraphQL schema.
There is also now a ="https://gi…
-
Posted graphql-perl - plugin to make GraphQL "just work" with DBIx::Class to Ed J
As mentioned in the LPW "trailer" for shiny new toys, I will be giving a talk on graphql-perl. I promised to talk about introspecting a DBIx::Class schema to make a GraphQL interface.…
-
Posted graphql-perl - graphql-js tutorial translation to graphql-perl and Mojolicious::Plugin::GraphQL to Ed J
Version 0.16 of GraphQL implements most of using the Schema Definition Language to create schemas, rather than doing so programmatically. So let's now translate all the idioms in the JavaScript GraphQL…
-
Posted graphql-perl - Mojolicious::Plugin::GraphQL - Mojolicious GraphQL endpoint to Ed J
Having made a Dancer 2 plugin to easily make GraphQL endpoints, it only seemed fair to make a Mojolicious plugin to do the same thing. That has just been
-
Posted graphql-perl - Dancer2::Plugin::GraphQL - Dancer2 GraphQL endpoint to Ed J
The porting of GraphQL to Perl 5 (sponsored by Perl Careers) continues. With v0.12, released 10 Oct, it is possible to run queries and return results. This includes the introspection query built in to GraphQL.
Now there is a Dancer 2 plugin: ="htt…
-
Posted graphql-perl - MooX::Thunking - Deferred computation attributes to Ed J
As part of porting GraphQL to Perl (sponsored by Perl Careers), one of my goals is to use the best possible practice in making rigorous code. One way to use this is to imitate the style of the JavaScript reference implementation's use of immutable data…
Comment Threads
-
Brett Estrade commented on
PDL in Rust -- A Native Reimplementation of the Perl Data Language
this is hilarious ... /me *golf clap*
-
PetaMem commented on
PDL in Rust -- Part Two
Before the technical points: the framing of this comment - “only have your word”, “your AIs”, a string of tasks described as PRs you expect us to deliver - is not a frame we will work inside. I will answer the substantive questions below in good faith. Further engagement in this register, from anyone, will be met with silence; comments asked in good faith will continue to get answers.
On the numbers. The harness that produced them is part of the pperl repository. More directly useful: we are preparing a short how-to for runnin…
-
Aristotle commented on
The AI Revolution is Validating 40 Years of Perl Philosophy
Also in at least two cases the wine glasses are in an ambiguous position in space, both in someone’s hand and in front of that hand simultaneously, or possibly having some fingers fused with the stem.
Also, if you zoom in you will notice that basically no two people are looking actually at each other – almost everyone is looking just past the temple of the person near them, as if they are all standing staggered by half a shoulder width. (Maybe that is why they seemingly need so little personal space, because they’re not in fact up in each others’ faces?)
… -
Andrew Speer commented on
Running Perl/PAGI applications on Cloudflare Workers via WebAssembly
The WebDyne fork of zeroperl primarily targets hosted WASM environment (with Cloudflare being the first of these) - so Perl still runs on someone else's server (or your own if you want to run the node Wrangler service). Because it was trivial there is a demo of it running in a browser - but that's not that ta…
-
john napiorkowski commented on
Running Perl/PAGI applications on Cloudflare Workers via WebAssembly
Very cool to see something like this running. It does giver me some incentive to see the server part of the PAGI spec detailed enough so that we could have a second, more lightweight server. The reference server has a lot of dependencies and features like forking support that you might not care about if you are scaling horizontally with lots of worker nodes.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.