Joel Berger
- Website: github.com/jberger
- About: As I delve into the deeper Perl magic I like to share what I can.
Recent Actions
-
Commented on Roles, h'uh, what are they good for?
In Mojolicious we recommend extending core classes with roles such that more than one extension can be used at once, notably when done to release to CPAN. You can see this especially in extensions to Test::Mojo. We had gotten to...
-
Posted Crosspost: Nginx/Certbot Recipe to Joel Berger
Back in Februrary I posted an article in which I promised a follow up telling you how I now manage my certificates. We’ll all these months later I’ve finally published it to dev.to…
-
Posted Deprecating or Transferring Mojo::ACME to Joel Berger
While Mojo::ACME was a fun experiment, it has several shortcomings at this point and I’ve officially stopped using it. If someone is interested in maintaining it, and if I’m sufficiently convinced of your credibility since this is a security module after all, I can hand it over.…
-
Commented on The Exception That Rather Proves the Rule
If you absolutely cannot maintain your scripts (ie want them to live forever unmaintained), and yet your system will get updates to libraries, then you have to have blind trust that nothing in any library will ever break or you...
-
Commented on The Exception That Rather Proves the Rule
Hi Aristotle, I don’t know what the proper definition of a “framework” is, but what you’re talking about is a router. A framework to me is a bunch of tools bundled together to do some of the common processing. Plack...
-
Posted The Exception That Rather Proves the Rule to Joel Berger
I had really wanted to stay out of the recent commentary on CGI. I really did. I was going to be able to until a recent article was published in which the authors try to step in on the side of CGI.…
-
Posted Mojolicious Advent Calendar 2018 call for posts to Joel Berger
Do you want to post an article in this year’s #mojolicious #AdventCalendar? I’ve just posted a call for articles in the mailing list. You do and know things that other people want to learn about, I promise!
Read more in ="https://groups.google.com/forum/#!search/messagei…
-
Commented on Nordic Perl Workshop 2018 Highlights
Salve also has a great selection of Perl (and non-Perl) stickers. Go to Oslo, have a beer with him, and find your favorites! I got several new ones this week!...
-
Commented on Which edges cases could perl shed to make it easier to parse?
As I was a part of that conversation too, I'd just like to tag on that while some people are (rightly) interested in changing the grammar to improve parsers, I'm much more inclined to change it to improve the experience...
-
Commented on A new object system for Perl
An interesting pattern. Not too far removed from what I did with Class::Anonymous other than I made my objects subrefs and both the data and methods were closures for even more data privacy. I love playing with alternative patterns like...
-
Posted Perl Toolchain Summit 2018 to Joel Berger
The Perl Toolchain Summit (PTS) is a yearly event that gathers the maintainers and contributors to the Perl Toolchain for four days in one room. Having all the people with both the knowledge and access to work on this critical corner of Perl all together in one place always leads to progress…
-
Commented on Yancy - Mojolicious CMS - Version 1 released
Look what you did to the poor man!...
-
Posted A Mojolicious Advent Calendar! to Joel Berger
I’m happy to announce that this year I’m going to be running a Mojolicious advent calendar from my new “semi-official Mojolicious website” at https://mojolicious.io/blog/. I won’t cross post here every day, though maybe I…
- Posted Perl Toolchain Summit 2017 to Joel Berger
-
Commented on A Simple Mojolicious/DBI Example
Before I answer, let me just say that commenting on an ancient post is unlikely to get great responses mostly because the visibility is so low. I only happened to notice because it was on the posting comment dashboard which...
-
Commented on That Darn Single Quote
I will admit I get a little snarky on this, but this is where Perl5's King Backcompat wins out over providing sane defaults for newcomers. Yes, there is value in being a super stable language but when we can never...
-
Commented on So I Guess I'm Back
Oh I missed this post, glad to have you back!...
-
Posted Configuring NGINX for SSL with Let's Encrypt to Joel Berger
The Mojolicious Core Team has decided to try group blogging on Tumblr. As such I’m trying out posting there. I recently posted on how I configure NGINX, read more at …
-
Posted Cross-post: On the Danger of Software Magicians to Joel Berger
I wrote a language-agnostic article and posted it on Medium. Cross posting here for anyone following my Perl posts as well. I hope you enjoy it.
-
Posted meta::hack 2016 to Joel Berger
MetaCPAN is the community developed and maintained website and api for finding and learning about Perl modules. This year, we dedicated a long weekend to improving it and oh what a weekend it was!
-
Commented on "the times they are a-changin'"
Thank you for all the hard work Karen!...
-
Commented on Retraction of Geo::Coder::Geocoder::US
I have a similar one, Mojo::FriendFeed is dead because friendfeed is dead. That said, I love the code so I let it sit there, a testament to beautiful code that will no longer be burdened by "users" and "services"....
-
Commented on Easy OAuth Integration with Runkeeper and Spotify
Thanks Olaf!...
-
Commented on Dancer2 0.200000 is finally out!
FYI the documentation for writing a plugin is at https://metacpan.org/pod/Dancer2::Plugin . I didn't immediately find that until chatting on IRC....
-
Commented on Why I try to avoid Perl's punctuation variables
This is one of the few examples where i know an even better trick, at least as long as you are using DBD::Pg my $query = <<"END_SQL"; SELECT foo, bar, baz FROM SomeTable WHERE id = ANY(?) END_SQL And then...
-
Posted My Perl QA Hackathon 2016 to Joel Berger
While I have hung out on the fringes of the p5p and toolchain communities for a few years now, my largest “qualifying” contribution has been Alien::Base, which has largely been handed off to Graham Ollis (plicease).…
-
Posted Reflections on Test2 to Joel Berger
In a future post I will recount the details of my delightful experience at the 2016 Perl QA Hackathon (N.B. now published here).…
-
Commented on Happy 15th Birthday, Devel::Cover!
Thank you Paul! I heartily agree: one of the best coverage tools available in any language!...
-
Commented on On The Mojolicious Codebase
Yes indeed this was a perfectly respectful comment. Thank you. the very word “discouraging”. It’s a negative one, and likely to upset people. I’m a dreamer, but a slight change in terminology might make wonders. I chose the word “discouraging”...
-
Posted On The Mojolicious Codebase to Joel Berger
There has been some discussion this week about forks of pieces of Mojolicious. It has been a long week to be honest (and thankfully the recent incident has been peacefully resolved, see pos…
Comment Threads
-
Ovid commented on
Which edges cases could perl shed to make it easier to parse?
I would love to see some of this worked on. However, to do that, we'd have to get P5P to agree to a policy on how to introduce backward-compatible changes. That seems like the biggest first obstacle.
-
Toby Inkster commented on
Which edges cases could perl shed to make it easier to parse?
I use
map EXPR, LIST
pretty often because it runs faster thanmap { BLOCK } LIST
. -
Aristotle commented on
The Exception That Rather Proves the Rule
If you have some argument for why the presented code is preferable to other frameworks, I’m all ears.
It’s the one you won’t want to hear.
I have some Plack CGI scripts on a machine where I do not have root, served by an Apache I do not control, run by the system perl, using only OS vendor packages for Perl modules. The machine has had regular security and system updates since… (almost) none of which I’ve ever noticed, despite my scripts being hit regularly by cronjobs from my end. (The ones I noticed were for reasons unrelated to the CGI scripts.…
-
Aristotle commented on
The Exception That Rather Proves the Rule
If you absolutely cannot maintain your scripts (ie want them to live forever unmaintained)
It’s not that I can. It goes back to the question you posed: “what does [maintaining such a script to keep it running] gain for the user?” My scripts have served my needs with no changes whatsoever. What would I have gained from maintaining them?
You can mitigate this by ensuring that your dependencies don’t move
But I haven’t had to. What would I have gained from it relative to the situation as it has been?
Also, is “just …
-
Jesse Shy commented on
Roles, h'uh, what are they good for?
Hey Joel,
First, I love Mojolicious and it's ecosystem, have used it at the 2.x and 6.x levels and hoping to use it on an upcoming project.
Thanks. This is an interesting use of roles, this is "shared behavior" - just shared out to lots of different apps. Also, looking at the Test Mojo Roles on CPAN, the end developer does not "with" the roles and thereby consume them on their code directly, but tells Test Mojo WithRoles what roles it wants ( on the use line ) then gives you a "new" Test Mojo instance with those roles applied at runtime, almost like a factory. If any of those…
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.