Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris


by jdporter (Paladin)
on May 30, 2002 at 16:48 UTC ( [id://170442]=user: print w/replies, xml ) Need Help??

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).

Rooms in my treehouse:
Popular links on homenodes
Tutorials digest
Survey of POOP Modules
Some cb snippets
Restyling PerlMonks
Sitedoclet usage analysis
Scratchpads & Blogs:
pad for admin-related stuff
pad for pmdev-related stuff
pad for other stuff
User Posts
CPAN contribs

Some of my root (and root-like) posts you may find interesting:

PerlMonks for the Absolute Beginner
New Service: Thread Watcher
New Snippets Index
XY Problem
Where should I post Y?
jdporter's place in the name space
test of ancient magic
test this
Nodes 1 .. 1000
There is no Perl Illuminati
PerlMonks Memorial Garden

Also check out my Free Nodelet Hacks
Also check out  
(RFC) Arrays: A Tutorial/Reference
Tk Photo Slideshow, with scrolling and scaling
Simple Console Menuing System
Control and Query Win32 Services at the command line
Strategy Handles
Linked Lists With No Memory Leak
There's Only One Way To Do It
Read and write Windows "shortcut" links
Create and Pop Up Outlook Notes from Perl
IO::MultiHandle - Operate on multiple file handles as one
map-like hash iterator

Here are some links I keep handy in my Free Nodelet:

Free Nodelet Settings
User Settings
Display Settings
Nodelet Settings
log out
PerlMonks statistics
Message Inbox
last hour of cb
Full-Page Chat
cb stats

Monks I've met in meatspace:

PerlMonks Quine:

perl -MLWP::Simple -e "getprint '; +displaytype=displaycode'"


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.

<input type=submit value="border-width=d" " />

Posts by jdporter
New Feature: Notifications Nodelet in Perl Monks Discussion
3 direct replies — Read more / Contribute
by jdporter
on Apr 09, 2024 at 14:47

    There is a new nodelet, Notifications.

    What this essentially does is split out the system-generated notification messages into a separate nodelet from the Chatterbox nodelet. So if you enable this nodelet, then all of the messages which come to you from the system (i.e. from root or NodeReaper) are shown in this nodelet and not in the Chatterbox nodelet.

    This is structured very similarly to the Chatterbox nodelet, but with a few simplifications:

    • It only shows a maximum of 16 notifications; it ignores your "Max to display in Chatterbox" setting.
    • It shows a maximum of 16 entries, unless you have "Max to display in Chatterbox" set. (When viewing Notifications directly, the default max is 128.)
    • It doesn't show the sender of each message. (It will only ever be root or NodeReaper anyway.) In the place of that, it shows a bullet.
    • Since the sender isn't shown, to see the send time you can hover over the message preface.
    • There is no 'talk box' in this nodelet. Instead, there is a 'delete' button you can press to delete any checkbox-selected messages.
    • The preface from NodeReaper — "I've reaped a node you considered" — is changed to "A node you considered has been reaped".

    As with all nodelets*, this one can be viewed "standalone" on its own page, simply by going to the node of the same title: Notifications.

    * With just a couple exceptions.

New Feature: Private Groups of One in Perl Monks Discussion
1 direct reply — Read more / Contribute
by jdporter
on Mar 28, 2024 at 15:44

    OK, folks, I've got yet another steaming-fresh feature for you: Private groups of one. Each monk can have a private group of which they are the only member. In this group, you have access to the feature which supports threaded discussions on groups. Here's the trick which makes this feature useful (in my hubrile opinion): the Gods also have access to your private group of one! This enables to have private threaded discussions with the gods. I made this because I feel that our inbox-based message system and wikis are rather inadequate for extended discussions.

    To access your private group of one, go to your home node. You should see a row labeled "Private Group:" at the bottom of the table next to your picture. If the private group doesn't exist yet, there will be a link to Create it. Otherwise, the link will say Visit.

New Feature: What Links Here in Perl Monks Discussion
1 direct reply — Read more / Contribute
by jdporter
on Mar 18, 2024 at 14:15

    Alrighty, folks! I've got another steaming-fresh feature for you: What Links Here

    There is a new nodelet you can enable, if you are interested in this feature. Go to your Nodelet Settings and find "What Links Here" somewhere near the top of the list.
    Then, whatever node you're on, this nodelet will show what other nodes link to the current node.

    The list is capped at 20. For nodes which are the target of many links, such as the PerlMonks FAQ, the nodelet will list 20 nodes, followed by a link to What Links Here where you can see the full list.

    The database table behind this feature is not automatically maintained (yet), so I'll need some volunteers from pmdev to occasionally visit Update Userspace Links. Doing so will cause a delta update to the table.

    I was inspired by this old quote from Rob Malda:

    The thing that I always thought was the most interesting in Xanadu is the idea that links are bi-directional. And the Everything Engine was designed around that.

New Feature: Thread Watcher in Perl Monks Discussion
5 direct replies — Read more / Contribute
by jdporter
on Feb 29, 2024 at 14:54

    I am pleased to announce a new feature: thread watching. This lets you receive notification whenever someone posts a comment in a thread of interest.

    More specifically, you can get notified when someone replies directly to a specific node of interest, or when someone replies anywhere under a node of interest, no matter how many reply levels below the node. These two modes are called 'direct' and 'any'. The node of interest doesn't have to be a root node in one of the sections; it could be any reply as well, in case you're only interested in a subthread under some post.

    To register for notifications, click one of the new links you'll find by each node, near the "Comment on" link. For a node you're viewing directly (that is, the 'root' of a (sub)thread you're viewing), the new text looks like:
    Watch for: Direct replies / Any replies
    For all other nodes in a (sub)thread you're viewing, the new text looks like:
    Watch: Dir/Any

    If you have already registered interest in a node in this way, you will instead see a link like:

    To see a list of all the nodes you are currently watching, go to My Watched Nodes. Next to each watch listed, you'll see a "button" (like [X]) which you can click to delete that watch.

    In addition... You can watch a user, i.e. receive notification whenever a specific user posts. To set up this kind of watch, go to the user's homenode, where you will see a link like Watch for posts by this user. When you are stalking a user in this way, you will also get notifications of whenever they submit root posts in any of the main sections of the site.

    If a post happens to hit multiple criteria you have set up — for example, you're watching for posts in a certain thread and by a certain user, and that user posts in that thread — you will get just a single notification message.

RFC: "Today I Learned" page in Perl Monks Discussion
9 direct replies — Read more / Contribute
by jdporter
on Jan 10, 2024 at 23:40

    Some time in the last year or two I suddenly realized that I should be keeping a log of the interesting things I learn from day to day. A couple months ago I was talking with my brilliant young nephew about how I didn't have a really satisfactory solution, and he suggested Notion. He set up a Notion workspace where we can both enter our #TILs. It works really well. Notion is amazing. But I can see how it might not scale too well with a large number of contributors.

    Long story short — I have created Today I Learned, a page where anyone (meeting certain minimum elibility requirements) can share interesting factoids. Please check it out. What do you think? Is it worthwhile? If not, could it be made better? If so, how? If snot, blow?

    I also want to note that the extant page, Today I Learned, is based on a generic mechanism which can be easily leveraged for other similar tasks. The main configurable parameters are: who can view the page, who can add entries, and who can delete entries. (readers/writers/deleters, in short.) These can be based on a user group (such as janitors or breathers of fire), or on monastic level (such as Level 10: Hermit). Can you think of a use for such a feature?

    I thank you, and Paco thanks you.

    * On the Today I Learned page, entries can be deleted by the Janitors, and the Editors Nodelet contains a link to that page labled 'TIL'. When there is a new entry on that page, a little flag (*) is appended to the 'TIL' link.

    Today's latest and greatest software contains tomorrow's zero day exploits.
RFC: Add profile field "emergency contact" or such like as in Perl Monks Discussion
4 direct replies — Read more / Contribute
by jdporter
on Nov 28, 2023 at 16:15

    It has happened from time to time that some monks have expressed concern over the unexpected and prolonged absense of another monk. In at least one case, a monk contacted the gods to see if a reachout could be done. Unfortunately, we had to say no, because the contact information stored in the user profile consists only of an email address, and our policies explicitly state this this email address "is used only to send you your password". I believe that this creates — correctly — a strong expectation of privacy around this personal information.

    Therefore, I would like to propose the addition of an "emergency contact" field, which would probably normally be an email address, but with a different expectation as to its potential usage. The use of this field would be strictly optional. That is, as a user, you wouldn't have to put anything in it unless you want to.

    Alternatively, we could add a checkbox which, when checked, indicates that you are OK with site administrators using the existing email for "emergency contact" purposes, in addition to its current purposes (i.e. password recovery).

    Any thoughts?

    "such like as" is my homage to blazar.

    Today's latest and greatest software contains tomorrow's zero day exploits.
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 sizeA & BA & !BA ^ BA | B

    When the 'A' card causes Draw 1:

    Deck sizeA & BA & !BA ^ BA | B

    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

    I submit for your consideration:

    Policy regarding abuses of the voting system

    The following behaviors are counter to the spirit of PerlMonks and are considered abuses of the voting system:
    1. Massive downvoting of nodes belonging some specific user.
    2. The use of vote-bots for any reason.
    3. Voting on nodes you (the human) wrote.
    Any violation of this policy will result in a suspension of your voting privileges, and may result in having your XP reduced by an amount we deem appropriate.

    If you suspect you have been the target of a malicious downvoting campaign, please /msg [gods]. We will look into it.

    1. History now influences voting
    2. All your Votebots are belong to us
    3. Site Rules Governing User Accounts

Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-06-14 21:58 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.