Veesh
- About: I do full-stack development with Mojolicious and Vue.
Recent Actions
-
Commented on A dream realized
For the record, slots could be array or hashes too. That's also a huge win over using arrayrefs and hashrefs....
-
Commented on ()
Wow, it took reading this twice, but that was actually a fantastic post....
-
Commented on Announcing MooX::Pression
Wow! I'm really excited that you got parametrized roles going, and also about Sub::HandlesVia. You're awesome!...
-
Commented on Type::Tiny 1.8.0 released
Thanks! Keep up the good work! Type::Tiny is literally one of my favorite parts of Perl....
-
Commented on Bundling With Platypus
Hey, I'm planning on working on that too! I was just gonna wait until they release the c api for version 2. If you start, please let me know and we'll work on it together....
-
Commented on Task::Kensho needs your help!
Thanks for the poke. I'm working my way through saying my piece. Task::Kensho is a huge thing for someone trying to find their way through the CPAN....
-
Commented on Perl Newbies weekly update 2019/8/31 - uc, lc, ucfirst, lcfirst functions
I wouldn't mind helping out with the english. 日本語が少し話せます....
-
Posted Solving two problems to Veesh
A Regular Question
This weeks perl weekly challenge had a pretty straightforward question: take a string and split it when the characters change. That's a fairly straightforward regex issue:
perl -pE's/(.) \g1*/$& /gx'
Here we mat…
-
Commented on Greed is good, balance is better, beauty is best.
You are literally insane. Thank you for writing such beautiful articles every week. (I happen to love TeX, so this is MEGA intriguing for me)...
-
Posted Up, up and Away! to Veesh
This week's perl weekly challenge was a lot of fun. First of all, challenge number 2 was a breeze. The challenge was to parse and print the components of a URL. That was easy...
use Mojo::URL; my $url = Mojo::URL->new(shift); say <<"ANSWER" scheme: $…
-
Commented on Pizza Party for 100
In all honesty, it was intuition. I tried it out with a couple of values, and it seemed to confirm the square root idea. Perhaps I'll be able to mathematically prove it one day. This week's ackermann question is pretty...
-
Commented on Pizza Party for 100
Plan on it. I'm gonna try to write some perl 6 one of these days. It's so cool, but super overwhelming....
-
Posted Pizza Party for 100 to Veesh
Hi all, this is my first blog post! Yay!
Now that that's out of the way, I'd just like to go over my solution for this week's Perl weekly challenge.
The first challenge was to divide a pie between 100 people, in a manner where the first guest gets 1/100 (i.e. 1%) of the pie, and th…
Comment Threads
-
philip r brenan commented on
A dream realized
The opening comments argue that because some people have worked in this area for some time then their "authority" is enough to make the claim that Corinna is valuable. But this is a well known fallacy:
https://en.wikipedia.org/wiki/Argument_from_authority
If these people have genuine authority gained from years of hard experience in this field then they will be able to tell us in a few cogent words why Corinna is so much better than Moose and all the other OO systems available on CPAN. They will be able to…
-
Damian Conway commented on
A dream realized
I'm a little confused, Philip. You ask me to rewrite the article so that you can "know the compelling reasons why Corinna is so good"...but the article already contains at least six of those:
- More concise syntax (therefore more readable)
- More declarative syntax (therefore less boilerplate implementation code required)
- Less prone to bugs (because more concise and more declarative)
- Better performance for most method calls
- Compile-time checking for at least one common type of error
- Built right into the language, so no need to rely on external modules …
-
Brett Estrade commented on
A dream realized
You're expending some hard won social credit on this endorsement of this latest attempt at POOP. For the sake of Perl, I hope you are hitching yourself to the correct attempt and not in some vain attempt to lend credit to the claim that, "POOP is not the problem, it's just never been implemented properly". Sounds like a familiar claim.
-
Phil Perry commented on
Greed is good, balance is better, beauty is best.
There are some major problems with the last "Winter of our discontent" soliloquy. It is full of "stacks", which are the same word (or similar) repeated at the beginning at least once on following lines. Here we have two adjacent lines starting with "the" and four with "our". This makes is difficult for the eye to properly track when scanning back to the beginning to pick up the next line (the reader ends up on the wrong line). The same problem can arise with a stack at the end of a line. The cost function would need to be expanded to penalize repeated words…
-
Phil Perry commented on
Greed is good, balance is better, beauty is best.
I must also comment on your use of the terms "widow" and "orphan". Those are not the standard definitions that I've seen used by other authorities. An orphan is "born alone" (first line of the paragraph is on one page or column, and the remainder is on the next page or column). A widow "dies alone", with the last line of a paragraph on the next page or column. Related, it is very undesirable to hyphenate the last word in a column, as the reader has to remember more moving to the next page or column. A cub is the isolated last word of the paragraph…
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.