Mohawk
- Website: metacpan.org/author/ETJ
Recent Actions
-
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…
-
Commented on Try this awesome trick to make your language toolchain better
Great post. Love the clickbait title!...
-
Posted graphql-perl - Pegex findings to Ed J
I'm porting the reference implementation of GraphQL for JavaScript to Perl, sponsored by Perl Careers. Part of that is obviously to lex/parse GraphQL queries. I decided to try this with
-
Posted graphql-perl - a GraphQL implementation in Perl to Ed J
I have recently started porting the reference implementation of GraphQL for JavaScript to Perl, sponsored by Perl Careers. My key considerations:
- Use as "modern" Perl as possible: one of the Mo* …
-
Posted Perl Toolchain Summit 2017 to Ed J
I had the honour of being invited to the Perl Toolchain Summit 2017, held in Lyon. It was amazing to meet so many of my Perl heroes, and to work with them on Perl toolchain code for a concentrated few days.
The atmosphere, food, and company were all superb, and the opportunity to brainstor…
-
Commented on Pumpkin Perl Breakdown
From http://irclog.perlgeek.de/perl6/2014-09-05#i_9305941 (freenode/#perl6) a few minutes ago (edited to correct spellings): 20:16 mohawk TimToady: if perl5 were to be re-branded as Camel Perl (subject of course to a conversation with Mr O'Reilly), how would you feel about that? 20:16 *...
-
Commented on Classify your RT tickets on CPAN Day!
Would it be an interesting way to engage people's competitiveness in having a separate "RT weekend", so that the score being kept is how many RT (or github, or...) tickets get marked as resolved?...
Comment Threads
-
lichtkind commented on
Graphics::Toolkit::Color 2.0 feature overview
Thank You! I did not know PDL::Transform::Color and added it into the =See Also section. It has a lot of functionality i miss and partially want to add. The module seems to cover a lot what is called color science like https://deepwiki.com/colour-science/colour. This is a bit different audience then I go after, trying to cater what designers need. While it is mainly about color value conversion, GTC is more about finding missing colors, also understanding color names, and working within graphical (web) standards.
Yes I am al…
-
lichtkind commented on
Graphics::Toolkit::Color 2.0 feature overview
Performance is not a topic i am concerned (yet) and I know its not the fastest module. Just fast enough for normal usage and since there are no dependencies, we do fine. but on the other side the hardest math it does is vector x 2x3 Matrix and the only thing i can currently do to make it faster is doing the automatic translating into color names lazily.
-
PetaMem 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. Congrats, but let me collapse your wave function.
a) Who says "without PDL::PP"? That might have been true 3 days ago.
b) You should know, Mohawk, that these blog entries are kind of a heads up to the beloved Perl community. Things are moving very fast these days. 3 days ago maybe 1996, today 2027 (if PDL 3.x will have autoparallelization by then) who knows what will be next week.
c) Looking at the reference docs... that mostly point you to the original documentation ... I'm impressed b…
-
Brett Estrade commented on
PDL in Rust -- A Native Reimplementation of the Perl Data Language
this is hilarious ... /me *golf clap*
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.