http://www.perlmonks.org?node_id=1040

This section is only for discussing issues pertaining to the PerlMonks web site. You can ask about how things work, or offer ideas on how the site could be improved, for example.

Unless the topic pertains to the PerlMonks web site, it does not belong in this section. If you're unsure, check out Where should I post X? and The Perl Monks Guide to the Monastery, or ask in the chatterbox.

PerlMonks Discussions
AnonymousMonk can't reply
3 direct replies — Read more / Contribute
by choroba
on Jun 18, 2019 at 13:14
Bookmarklet to show deeplinks in perldoc.perl.org
3 direct replies — Read more / Contribute
by LanX
on Jun 15, 2019 at 13:22
    In a reaction to link to perl documentation

    This works in the JS code works inside the console in FF and Chrome and will show hidden html-anchors ready to be cut&paste with PM markup

    javascript:(function(){ var path = location.pathname.replace(/^\//,"").replace(/\.html$/," +"); var as =document.getElementsByTagName("a"); for (i in as) { var l = as[i]; if (l.id && l.classList.length == 0 ){ var dlink = path + "#" + l.id; l.innerHTML = "<b>" + path + "#[doc://"+dlink+"]</b><br>"; + l.href = "#" + l.id } } })()

    The bold parts are generated by JS

    perlintro#[doc://perlintro#Perl-variable-types]

    Perl variable types

    Perl has three main variable types: scalars, arrays, and hashes.

    perlintro#[doc://perlintro#Scalars]

    Scalars

    A scalar represents a single value:

    you can C&P the links then into a PM post, and they'll render as:

    I still have problems putting it into a bookmark getting strange JS errors about keyword "var".

    NB: This is far from being bug-free perldoc.perl.org and PM markup have their own idiosyncrasies! But it's a start.

    Feel free to post better versions!!!

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice alert("LanX")

link to perl documentation
2 direct replies — Read more / Contribute
by BillKSmith
on Jun 15, 2019 at 11:08

    In a recent post, I wanted to reference the perl documentation for the open function. The following code links to the right page, but does not go the section on 'open'.

    [doc://perlfunc#open]

    open

    Am I overlooking some detail in the FAQ. (I am not even going to try to create a link to this today)

    I believe that this example is typical of several links that I have posted. The same solution will probably apply to all of them, but lets concentrate on this one for now.

    Bill
In praise for a better community -- Vere papa mortuus est
14 direct replies — Read more / Contribute
by Discipulus
on May 30, 2019 at 04:30
    -Camerlengo: "BrowserUk!"
    -BrowserUk: ...

    -Camerlengo: "BrowserUk!"
    -BrowserUk: ...

    -Camerlengo: "BrowserUk!"
    -BrowserUk: ...

    -Camerlengo: Vere Papa mortuus est

    The above is the cerimony that happens when a pope dies. I put this to add a bit of fun in a not fun at all situation.

    BrowserUk left the monastery definitevely erasing all his contributions(*): this is a big loss for me and the whole perl community.

    He was known as a very smart programmer, with a vaste background and experience in various fields. He was one of the best I saw in parallel perl programming, a C expert, very good in creating algorithms, looking toward efficiency and quality, always with a scientific approach.

    By other hand he was not such a "leg of a saint" as we in Eataly say to describe, ironically, someone that is not a saint at all. He was irascibile a with a "hot blood", easy to be provoked, sometimes rude, also very rude and also toward monks and nuns who not deserved rudeness at all.

    A fistufull of us (yes of us! We are a community so I'm not going to say: " a fistufull of you ") took the habit to highligth his caracterial edges instead of smooting them or, even better, ignoring them. I'm not saying we are expected to be psychological support community (the word is a bit strong but you understood what I mean) nor that we killed the pope. Maybe this was already his intention.

    What I'm saying is that I beg you all, we all, for the future to try to suck the best from each others not the worst. I'm a terrible guy if I want (ask to my wife.. ;) but I try to do my best for you, daily and if I feel my hands itching I go away for ten minutes or more until I'm in a better disposition.

    If Mozart was an asshole, what to do? "Please Wolfy play for me" or "Damn asshole, psychopathic go to hell!" I have no doubts here, nor you I hope. Most of the times the situation is more shaded but our beahviour will make the difference.

    This is my view of a community. We have to share our best part not the worst one. When someone irritate you you must repeat what Virgilio told to Dante, as a mantra: Non ragioniam di lor, ma guarda e passa

    One part of myself is seriously angry today: I've lost a lot of good software examples in fields where I still need a lot of practice. I suffered this damage only due to misfortune? Or someone of us has a part, if little, in this?

    Hoping this is the last of this kind of death i beg you to consider how to act here, a sancta sanctorum of perl coders.

    My best wishes to you all.

    L*

    PS as noted by haukex contributions are not (at least not completely) removed. The above does not change very much. Anyway we will loose future contributions.

    *L

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Saints in our year book / Selected best recent nodes
5 direct replies — Read more / Contribute
by LanX
on May 25, 2019 at 21:30
    Hi

    We already had various discussions in the past that Saints in our Book and Selected Best Nodes are biased to the early millennium because of the deflation of votes.

    See Deflation and "Selected Best Nodes"

    I'd like to provide and code a "yearly saints" page and more relevant selected nodes.

    I think it's beneficial to motivate new monks instead of making them stare at some unreachable "alte kakers" who haven't been here for a decade or keep bragging about their past achievements.

    • One approach for nodes would be multiplying corrective weight per month calculated by the total number of cast votes.
    • Another having an additional saints list for the last x years only.
    Other suggestions?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

    PS: to make it clear, this is not about me.

    I'd pay money for restricting my online time here.

    Update

    ) there seems to be a misunderstanding that I want to disable the old pages/mechanisms. That's not the case, I want to extend them with more choice. For instance is "saints" already linking to two other statistics.

Coding challenges to PM
4 direct replies — Read more / Contribute
by bliako
on May 25, 2019 at 08:19

    What's your opinion about introducing some coding challenges to PM?

    I see in cb people writing about participating in this or that challenge elsewhere, and I have also signed up to one. It is obviously a stir as most of us need a challenge.

    There are many practical problems. e.g. whose server should the submissions be run? and should there be an IDE online?

    I say, host codes to github and force a template: a Makefile and some test and benchmark files. All we need to submit here would be a test/benchmarks score obtained when running our code on our computers. Regarding efficiency benchmarks, we can make them relative (therefore comparable) to say the time it took the same computer+OS to sort a long list.

    Just an idea to fight the brain-drain

    bw, bliako

Something changed the creation time/date of all my posts?
3 direct replies — Read more / Contribute
by BrowserUk
on May 22, 2019 at 04:11

    As this image shows, sometime over the last few days, the listed "creation time", and sometimes date also, of all my posts has changed.

    No big deal, but ...

    1. Is management aware of it?
    2. Is it deliberate?
    3. Is there a (good?) reason for it?

    No urgency, but nice to know.

    Also, how does management view/process "Rights to Erasure" under GDPR?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
    In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit
RFC: Better Best Answers Gets Real
4 direct replies — Read more / Contribute
by jdporter
on May 16, 2019 at 16:50

    This is a followup to RFC: Better Best Answers

    The fundamental objective of my proposal is to eliminate the Categorized Questions and Answers section — its machinery is odd, gratuitously different from the other sections; difficult to maintain, and nobody uses it, despite its promise — and replace it with something better.

    So I have implemented part of the proposal, up to a basic level of functionality, as follows:

    It is now possible to mark root posts in the Seekers of Perl Wisdom section (hereinafter called questions) as "good", and to mark as "good" any replies (hereinafter called answers) to questions marked as "good". (To be very clear: a question can be 'good'; and a 'good' question can have 'good' answers. An answer cannot be 'good' unless its root post is 'good'.)

    Furthermore, it is possible to associate one or more tags (aka keywords) to a 'good' question.

    In most views (such as the SoPW section and threaded node views), questions and answers marked as 'good' will be displayed with a nice gold star next to the title, as well as the tags.

    There is a new section-like page, Illuminations, which lists all the tags currently in use; this view is analogous to the main page of the Q&A section. If you click on one of the tags, you get a page listing the individual questions having that tag.

    Marking a node as 'good' (which I have internally called "blessing"), and setting the keywords of a blessed node, are features accessible to the QandAEditors via their nodelet.

    Also of interest to the QandAEditors is the enhancement whereby 'SoPWify'ing a Categorized Question not only converts it to a SoPW post but marks it as 'good' and gives it a tag corresponding to the QA section it was in. An example of this effect can be seen in this post. You can see that it is 'blessed' (it has a gold star), and its tags consist of 'numbers'; that's because, before conversion, it was a Categorized Question under the numbers section.

    So that's the basic workings we have so far. There's a bit more to do before we can consider this major task done:

    • Implement tag search functionality. This should be a tweak to the extant title search functionality, so that it searches tags at the same time it searches titles.
    • Bulk-convert the extant CatQ's. (QandAEditors can do these one by one today, using the 'SoPWify!' button.)
      • When that's done, take whatever succeeding steps are necessary to "shut the section down", e.g. disabling the submission form.
    • Implement the resounding effects of blessing. Possibilities are discussed in the RFC. Don't trigger these effects for nodes converted from CatQ, however.
    • Update the QandAEditors documentation.
    • Indicate Good Questions and Answers in RAT. Or maybe not.
    • Add a nice GUI around setting and modifying blessings and tags.
    • Announce the new feature in Tidings.
    • Figure out how we'll increase the ranks of QandAEditors. Maybe import all current active Janitors and Pedagogues?

    Now my question for you, fellow monk, is:

    What do you think of this? Is it a good idea? What more could we do with this capability to make PerlMonks better?


    Further thoughts...

    I would also be concerned that QandAEditors (or whatever group is given this power) might be tempted, however subconsciously, to treat this award as a special upvote for themselves. We do not want these deputies to go casting stars on every question they like.
    Therefore, I think we should establish some requirements for a question to be eligible for the star. How about:

    • Must have at least $NORM reputation; and
    • Must be at least 3 days old.
    As I explained in the original RFC, the idea is to acknowledge and collect those questions (and answers) which have been esteemed exceptional by popular concensus.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Anyone working on a cbstream replacement?
1 direct reply — Read more / Contribute
by Lady_Aleena
on May 12, 2019 at 00:31

    I know I haven't been around for a while, but I was very upset when I found that cbstream wasn't working anymore. I was wondering if there is a new cbstream yet, and if so, which IRC channel is it on? I really miss being able to have multi-day conversations with people in the Chatterbox, but without cbstream or something like it, those are no longer possible. The only options that are currently listed have very short time ranges, an hour or less. It used to be that I was able to have conversations for days. So, what if anything, has replaced cbstream? (Please gods let there be a replacement.)

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
Listing Best Replies First: destroys threads and annoys readers
2 direct replies — Read more / Contribute
by Anonymous Monk
on May 02, 2019 at 18:52
    Dear Monks,

    Please revert this ridiculous idea and restore readability to Perlmonks!

    Thank you

outreach to inactive users
8 direct replies — Read more / Contribute
by adamcrussell
on Apr 23, 2019 at 12:30
    Is there ever any outreach to Perlmonks users that haven't logged in for a while? I see so many high quality posts in old threads and make it a habit to see the poster's recent activity. In many cases there hasn't been so much as a login to the site in many years. This is natural, of course. Many users come to the site when they use Perl for a certain job and then they change employers or even just switch roles and the practical need to visit the site goes away. I am thinking that sending an email out periodically to users who haven't been around for a while would be useful. This should be more than a simple message but instead try and entice people with information about, for example:
    • how many upvotes their most popular nodes may have gotten since their last visit
    • if new comments have appeared in old threads they started
    • XP information
    • highlight some recent popular posts
    This sort of outreach is very common and I doubt anyone would be bothered by it. The campaign, if you can call it that, could even extend to other socials such a LinkedIn and Twitter. Old users may find that if their posts here can find a wider audience through those outlets than they wouldn't consider this site to be, well, quite so cloistered.
Chatterbox sidebar doesn't open in sidebar anymore
1 direct reply — Read more / Contribute
by LanX
on Apr 03, 2019 at 08:50
Solved: forced preview in user settings
1 direct reply — Read more / Contribute
by LanX
on Jan 17, 2019 at 17:13
    Hi

    I had a conversation with rsFalse about one of his empty posts and he told me that he doesn't get a preview button.

    So I suggested to uncheck "No Forced Preview" in User Settings , but he told me that there is no effect whatsoever.

    I got curious and tried it out and it really doesn't seem to change anything. *

    I'm not sure if this is related to his case and probably he already found another solution, but it seemed necessary to report that this feature doesn't seem to work.

    UPDATE Solved

    *) Sorry, pryrt clarified it for me.

    I wrongly expected the preview button to disappear.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

New user's name contains utf...
2 direct replies — Read more / Contribute
by bliako
on Jan 13, 2019 at 15:52

    I have spotted a new user with name p&#2662;j. This is p-<Gurmukhi Digit Zero>-j (http://www.codetable.net/decimal/2662) which is similar to poj. Has it requested for a password change?

    re: spotify hack: https://labs.spotify.com/2013/06/18/creative-usernames/

    bw, bliako

Update post date after edit
3 direct replies — Read more / Contribute
by 1nickt
on Nov 26, 2018 at 09:21

    Hi all, I propose that the timestamp on a post be updated to the time of the most recent edit.

    The original time should also be preserved and used for computing the Best/Worst nodes lists. But if someone edits their post I would like to be able to know that programmatically (ie in RAT, Newest Nodes) rather than having to scan all existing posts to see if an author has added/changed/cribbed something (*if* they declare it).

    I will gladly help with implementing these changes if needed.

    Thanks!


    The way forward always starts with a minimal test.

Discussion Item
Title:
Give us your input:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":


  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.