 |
User since: |
May 30, 2002 at 16:48 UTC
(21 years ago) |
Last here: |
Sep 27, 2023 at 15:23 UTC
(3 days ago) |
Experience: |
31013
|
Level: | Chancellor (21) |
Writeups: |
3708
|
CPAN ID: | JDPORTER |
Location: | Mastodon | Ascended: | erzuuli |
User's localtime: |
Sep 30, 2023 at 02:29 EDT
|
Scratchpad: |
View
|
Member of: |
holders of unholy power, janitors, pedagogues, pmdev, pollsters, power users, QandAEditors, SiteDocClan
|
For this user: | Search nodes |
|
Just FYI... I am not the jdporter who is aka boo_radley. (Indeed, he and I have been striving over the "jdporter" alias for many years. :-)
It's hardly debatable that we are indeed both (intolerant and capricious).
These are the consequences of having not rigorously defined policies and rules
and rather letting the community decide for itself what it tolerates or not,
and the makeup of the community being in a constant state of flux over time.⇒
I'm not sure when I joined SiteDocClan, but my first edit to a group wiki was on 2003-08-27.
I'm not sure when I joined pmdev, but my first edit to a group wiki was on 2005-12-28 and I submitted my first patch on 2006-01-26.
I joined gods on 2015-06-21 (in the ineffably resplendent form called erzuuli).
PerlMonks Quine:
perl -MLWP::Simple -e "getprint 'http://perlmonks.org/?node_id=170442;
+displaytype=displaycode'"
Signature
Previously, I used this:
Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.
This is a line (my own translation) from the classic movie Metropolis.
Incidentally, my homenode pic above is a frame cap from this movie as well.
In the movie, the building of the mega-city Metropolis is likened to the legendary tower of Babel.
This was intended as a warning: Knowing the fate which befell Babel, the builders of the present age should
take care to avoid the same sins, and thus the same fate. Specifically, the builders of Babel lacked "heart" (a spirit of compassion and a willingness to compromise), and this resulted in a cataclysmic conflict between management and labor.
Most languages are like StackOverflow: I have a question, I want the best answer.
Perl is like PerlMonks: I have a doubt, I want to read an interesting discussion about it that is likely to go on a tangent. q-:
tye, in Re: What is PerlMonks? (why Perl)
A classic gem by eyepopslikeamosquito: I eagerly await the invention of a time machine so I can feast my eyes upon your majestic code. I estimate the probability of you having actually written such code is about the same as the probability of the invention of a time machine that allows us to view it.
Posts by jdporter
|
Another interview with our illustrious founder (aka Slashdot is 25)
in Perl News
No replies — Read more | Post response
|
by jdporter
on Jul 31, 2023 at 10:49
|
|
|
perl 5.38: can the body of a class declaration contain arbitrary code?
in Seekers of Perl Wisdom
2 direct replies — Read more / Contribute
|
by jdporter
on Jul 04, 2023 at 16:41
|
|
The doco saith:
Fields may optionally have initializing expressions.
. . . the expression can . . . see any other variables in scope.
class WithACounter {
my $next_count = 1;
field $count = $next_count++;
}
But it doesn't say that any other kind of code can be present there. For example, maybe I'd like to do this:
class WithACounter {
my $next_count = 1;
if (last_one_was_bad()) { delete_last_one(); $next_count--; }
field $count = $next_count++;
}
Would that be permitted?
Also: it looks like the my variables there are essentially "class static" members — so called in other languages
e.g. C#.
Is that an accurate characterization?
Today's latest and greatest software contains tomorrow's zero day exploits .
|
Probabilities of drawing certain cards
in Meditations
3 direct replies — Read more / Contribute
|
by jdporter
on Jan 06, 2023 at 12:33
|
|
This shows the probabilities of drawing two specific cards (labeled A and B) in a hand of five cards, from decks of various sizes.
All numbers are percentages.
When the deck contains no 'draw' cards:
Deck size | A & B | A & !B | A ^ B | A | B |
6 | 66.7 | 16.7 | 33.3 | 100.0 |
7 | 47.6 | 23.8 | 47.6 | 95.2 |
8 | 35.7 | 26.8 | 53.6 | 89.3 |
9 | 27.8 | 27.8 | 55.6 | 83.3 |
10 | 22.2 | 27.8 | 55.6 | 77.8 |
11 | 18.2 | 27.3 | 54.5 | 72.7 |
12 | 15.2 | 26.5 | 53.0 | 68.2 |
13 | 12.8 | 25.6 | 51.3 | 64.1 |
When the 'A' card causes Draw 1:
Deck size | A & B | A & !B | A ^ B | A | B |
6 | 50.0 | 0.0 | 50.0 | 100.0 |
7 | 41.7 | 8.3 | 50.0 | 91.7 |
8 | 35.7 | 14.3 | 50.0 | 85.7 |
9 | 31.2 | 18.8 | 50.0 | 81.2 |
10 | 27.8 | 22.2 | 50.0 | 77.8 |
11 | 25.0 | 25.0 | 50.0 | 75.0 |
12 | 22.7 | 27.3 | 50.0 | 72.7 |
The probabilities of other combinations can be derived from those given in this table:
- A | !B (A or not B - possibly both conditions) is the inverse of A & !B.
- A ^ !B (A or not B but NOT both conditions) is the inverse of A ^ B.
- !A & !B (neither A nor B) is the inverse of A | B
- !A | !B (not A, or not B - possibly both conditions) is the inverse of A & B.
- !A ^ !B (not A, or not B, but NOT both conditions) is logically the same as A ^ B.
|
RFC: Policy regarding abuses of the voting system
in Perl Monks Discussion
10 direct replies — Read more / Contribute
|
by jdporter
on Jun 09, 2022 at 09:38
|
|
|
How to get programming help
in Meditations
7 direct replies — Read more / Contribute
|
by jdporter
on May 23, 2022 at 11:21
|
|
"Every time I have a programming question and I rly need help, I post it on PerlMonks and then log into another account and reply to it with an obscenely incorrect answer. Ppl don’t care about helping others but they LOVE correcting others. Works 100% of the time"
-- @soychotic
|
User Profile Element: CPAN author ID
in Perl Monks Discussion
8 direct replies — Read more / Contribute
|
by jdporter
on Apr 04, 2022 at 14:38
|
|
We have just added a new field to the user profile: CPAN author ID. You can put your PAUSE author ID in this field.
When someone views your profile, they will see it and it will be a link to the corresponding page on metacpan.
Do you like this? It can be removed if it is unpopular.
Update:
I have turned off users' ability to set this value themselves.
The field itself is still supported, and you can see it displayed on certain monks' homenodes.
If you would like to have your CPAN ID on your homenode, please just /msg gods with your request.
Thanks!
Update 2:
As a convenience, I have added the CPAN IDs to user profiles based on the info provided
in this CPAN api (about 30 monks)
and in this MetaCPAN api (about 185 monks).
Interestingly, there was almost no intersection between those two sets of data.
I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.
|
In Praise of Web 1.0
in Meditations
2 direct replies — Read more / Contribute
|
by jdporter
on Dec 15, 2021 at 13:39
|
|
The Web Is F**ked, by Kev Quirk
Web 1.0 wasn’t just about personal blogs, GeoCities and scrolling marquees. Oh no, dear reader. We had our own version of social media back in the day - the web forum.
They were fantastic pieces of software that allowed communities to come together, discuss specific topics and generally hang out.
If you read no other part of it, I encourage you to
Familiarise yourself with POSSE and make your site the single source of truth for all your online content.
|
Perl/Raku community involvement survey
in Perl News
3 direct replies — Read more / Contribute
|
by jdporter
on Jul 16, 2021 at 13:53
|
|
|
Markdown is now supported for comments, experimentally
in Perl Monks Discussion
4 direct replies — Read more / Contribute
|
by jdporter
on Jun 09, 2021 at 15:15
|
|
Due to "popular demand", PerlMonks now supports Markdown formatting for writeups.
Note: Initially, Markdown is only supported for comments (aka notes).
If everyone likes it, we will extend the capability to root-level posts as well (SOPW posts, etc.)
Some relevant past discussions:
Sorry it took me a minute to implement this feature. :-D
To enable the use of Markdown in your comments, go to your User Settings and
change the "Format writeups as:" selection from 'conventional' to 'markdown'.
Be aware that this is a global setting. You can't select the format at the time you submit the writeup.
When you are looking at a writeup entry box (textarea), you will see a short note immediately above it indicating which markup you can use.
This change was actually relatively simple to implement, since modules for converting markdown to HTML already existed.
I would like to know if there is any demand for any other Lightweight markup languages.
For example, we could add support for Textile or some flavor of wiki text.
I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.
|
TPF's Marketing Strategy for the Next Two Years
in Perl News
1 direct reply — Read more / Contribute
|
by jdporter
on May 20, 2021 at 15:56
|
|
This is actually from last August, but I haven't come across it until today.
Marketing Strategy for the Next Two Years (perlfoundation.org)
The question for us, I think is: What impact will this have on PerlMonks?
Will we be required to modify/restrict our "look and feel"
to conform to the branding guidelines set by TPF?
I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.
|
|
|
|