john napiorkowski
Recent Actions
-
Posted ChatGPT for Perl Learning to john napiorkowski
How to learn Perl has been an eternal problem for the Perl community. Compared to many other languages that place an emphasis on teaching the basics and using education as a tool for evangelism we've had sporadic efforts along those lines. Given the size of our community and the fact that the…
-
Commented on ChatGPT suggests new keywords for Perl
I think of this as an ideas generator, and to get an outsider viewpoint on Perl. One of the issues I think we have is that we as a community tend to look inward a lot. Of the suggestions I'd...
-
Commented on ChatGPT suggests new keywords for Perl
I asked it to explain how let is different from my and here's its response: In Perl, the my keyword is used to declare a variable with a limited scope within a block of code. This means that the variable...
-
Posted ChatGPT suggests new keywords for Perl to john napiorkowski
I asked ChatGPT to suggest some new keywords that might make Perl more desirable. Here's the dialog:
JOHN: suggest some new keywords that Perl could add to its core syntax that would make the language more desirable to modern programmers
CHATGPT: Perl is a mature language that has…
-
Commented on What does ChatGPT think about improving Perl?
FWIW I asked it to redo the example but make it look more like Moose. I suspect there's going to be a segment of the Perl community that would prefer something 'more like what I'm already doing'. Here's what it...
-
Posted What does ChatGPT think about improving Perl? to john napiorkowski
For kicks I asked GPT to speculate about how we might improve Perl syntax with types and better object orientation. It generated the follow code and descriptions. Yes I know there's some errors in the code, I'm just presenting this as Chat GPT wrote it.
FWIW it looks a lot like what I s…
-
Commented on Please relicense from "Perl 5" to MIT or Apache 2.0 license
I know a lot of people will hold the Artistic and GPL 1.0 in great sentimental regard but we shouldn't let that stop of from seeing the obvious, especially with the Artistic license which I've personally had trouble with on...
-
Commented on A dream resyntaxed
I still don't get why we are redesigning everything from scratch rather than simple starting with the obvious thing, which is to take Moose (the far and away clear winner on CPAN in terms of popularity and maturity) and just...
-
Commented on Proposal for Perl Foundation Memberships
The current system is clearly not working and finding ways to be more professional, raise money to do critically needed work is of upmost importance. The volunteer only model isn't cutting it. Just look at the state of Perl. IF...
-
Commented on Perl6 should be renamed Perl++
This discussion seems to come up every few months. I'm all for calling Perl6 not Perl at all. I don't like Perl++ because it implies a better Perl than Perl5 and its nearly the same problem I have explaining to...
-
Commented on Moose-iplicity
Its a neat trick but I wonder if tying the orchestration / object initialization logic in that way isn't a bit too much implementation details in the interface? You could more carefully separate it (and avoid tying yourself to Moose)...
-
Commented on The hugest feature of Perl 6
Can you provide a concise example, something I could show the Millenial aged Pythonistas I work with and is good enough for them to say 'wow'....
-
Commented on What I expect from a Web Framework
I find if you use Catalyst features correctly (although with a handful of plugins) you can achieve better separation of concerns and avoid fat controllers and models that only work under Catalyst. Out of the box its dependency injection features...
-
Commented on SPVM is now 6x faster than Perl 5.26.
Will be watching your work with interest. Looking also to see if beyond speed what we can do to improve Perl's concurrency features (been using Futures.pm a lot lately and finding it and some of the ecosystem around it is...
-
Commented on The Hot New Language Named Rakudo
Funny enough mst floated a proposal around that that was a great idea but nobody got excited by it enough (or the leadership didn't care about it, I guess its not a problem form them) http://shadow.cat/blog/matt-s-trout/pumpkin-perl-breakdown/ Just search for 'mst...
-
Commented on The Hot New Language Named Rakudo
The issue with naming this new language Perl6 is two fold: 1) The vast majority of people in IT that are outside the Perl community see the slow development of Perl6 as proof the language is a dead end. I...
-
Commented on Because CPAN Needs More Templating Modules
I like it since I'm a fan of strongly typed interfaces for the template. I'd love to take it even further, like the template is a subclass of Template::Compiled::Class and the class attributes and methods are exposed to the template...
-
Commented on Reviewing Perl 5 . in @INC at the Perl Toolchain Summit
You all know it was unaccountable bureaucrats in Europe making wild, life changing decisions without double checking with the impacted communities lead to Brexit......
-
Commented on Type::Tiny 1.2 Coming Soon
Thanks for working so hard on this!...
-
Commented on Perl in a Business Application
Great post and thanks for sharing your success. I think Perl needs more PR like this. If you don't mind me asking, did you consider Catalyst for your project and if so I'd love to heard the reasons for rejection....
-
Commented on Wrapping a C shared library with Perl and XS
Thanks for the details here, I know a ton of people find this to be one of the more arcane bits of Perl. -john...
-
Commented on Machine learning in Perl
Sergey++ !!! When will this go to CPAN?...
-
Commented on Research on how module authors "negotiate" breaking changes in software package managers
FWIW, when I did Catalyst deployments I tried hard to avoid breaking stuff, but if I needed it I tried to provide some remediation such as configuration flags that could be set to provide backward compatibility (like with the UTF8...
-
Commented on Portable GitHub system "GitPrep 2.3" is released - At last, "Issues system" is added. "Bug tracking" available!
you really deserve a ton of karma for the hard work you put into this! -jnap...
-
Commented on All Good Things
Nice Star Trek:TNG reference :) Best of luck!...
-
Commented on Retraction of Geo::Coder::Geocoder::US
I think if I had old code that depending on this I'd like a release that explained why everything is breaking, I think that would help. Plus the old code might serve as an example to someone that needed to...
-
Commented on Newbie Poison
Its not just with newbies, I find we often choose aggressive means of communicating with each other and generally fail to give each other useful feedback. I...
-
Commented on FFI::Platypus is interesting. It seems like real FFI module for Perl 5.
Hi Yuki, Yes, one thing the Perl community needs to do better is to use social sharing tools. We talk a lot with each other on IRC but that doesn't get the same amount of notice as github stars for...
-
Commented on Perl 6 NativeCall: Look, Ma! I'm a C Programmer!
thanks, useful post. --jnap...
-
Commented on Perl 6 Is Slower Than My Fat Momma!
I see, maybe if you'd link to that it would help. Still, I'd consider taking the high road and just focus on what is going to make us awesome, but that's me personally. FWIW the regex stuff seems pretty fast,...
Comment Threads
-
Dean commented on
Please relicense from "Perl 5" to MIT or Apache 2.0 license
The assertion that "It isn't worth the (mostly unpaid) time" ignores the reasoning for an author writing and releasing the software in the first place.
If the author releases the software hoping that supporting it will generate business (consulting, supporting, or even just reputational) then lowering adoption friction is a good thing making the effort worthwhile.
IMO this is the scenario that most suits the rationale for a permissive license.
If the software is more oriented to hobby users and not intended for businesses to sell it, then it is more up to the author.…
-
Krill commented on
ChatGPT suggests new keywords for Perl
It's quite amazing that it can make such suggestions. Think you could soon get it to make a pull request on git development branch to actually incorporate one of it's suggestions into perl?
-
Aristotle commented on
ChatGPT suggests new keywords for Perl
Of course that example already works exactly as described if you use
my
. There is no need forlet
in Perl.All ChatGPT can do is generate a plausible response to a prompt. Here's a question. Were any of these suggestions a surprise? (I mean... other than
let
. Ho-hum.) -
Tom Wyant commented on
ChatGPT suggests new keywords for Perl
Verrrrrry interesting.
I understand
yield
to call for something like an iterator. You can do this in Perl now, but I would be curious to know details.The most thought-provoking (to me at least) was
dataclass
, which I understand to be a restricted hash on steroids. -
jrw32982 commented on
Perl in a Business Application
Interesting read. I enjoyed the line "And then it struct me!" right after the discussion of objects and object systems. :-)
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.