Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Perl Monks Discussion

( [id://1040]=superdoc: print w/replies, xml ) Need Help??

Do not post your Perl questions here!

This section is only for discussing issues pertaining to the PerlMonks web site itself. For example, asking about how things work, or offering ideas on how the site could be made better.

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

PerlMonks Discussions
Time offset after reply
1 direct reply — Read more / Contribute
by jo37
on Nov 14, 2023 at 15:40

    Noticed this twice:
    After replying to a node, both the original node any my reply show a strange time offset. This is shown right after submitting a reply:

    +/-Capture Groups (A:1) 2023-11-14 16:11 5 hours ago [Bod] Re: Capture Groups [0] 2023-11-14 16:29 5 hours ago [jo37]

    After a page refresh everything looks fine:

    +/-Capture Groups (A:1) 2023-11-14 21:11 25 minutes ago [Bod] Re: Capture Groups [0] 2023-11-14 21:29 7 minutes ago [jo37]

    Is this a known issue?

    Greetings,
    -jo

    $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$
Pages slow to load
3 direct replies — Read more / Contribute
by hippo
on Nov 07, 2023 at 09:12

    Recently (maybe 3 weeks ago now) something appears to have changed which means that frequently pages which would have loaded quickly now load much more slowly. My experience has always been that this site is fast by the standards of the modern web - almost everything downloads and finishes rendering in well under a second. But the last few weeks has seen this significantly alter where some requests are taking a great deal longer - up to 15 or 20 seconds in some instances and very often 5 seconds or more. This is a noticeable degradation.

    Investigating via the in-browser tools shows that this is a delay in initial HTTP response. It's not DNS or the TLS setup, both of which happen very quickly, but after that the page response is the one which takes a long time to start. This can happen on any page and it doesn't seem to be some more than others.

    Hopefully whatever is causing this is easy to find and simple to resolve. It would be great to have the old, snappy performance back again. :-)

    This was discussed in the CB at the end of last week. Since that confirmed that it isn't just me affected, I'm raising it here for TPTB to be made aware.


    🦛

CB stats, Last hour of CB
2 direct replies — Read more / Contribute
by Tanktalus
on Oct 28, 2023 at 13:40

    It is with some regret that I've come to realise that my return to Perl is unlikely, let alone any time soon. Since I've not really been an active participant in this community in years, I think it's prudent to accept the truth and pass on the torch.

    I will be shutting down the CB stats service I've been running for probably over a decade now by the end of the year. That service also provides last hour of cb, and so that will also disappear.

    While I'm more than willing to pass on the codebase I have to any who ask for it (my nick at gmail.com), please be forewarned: it's not the cleanest code, and it was used to learn both Coro and DB2 (the latter of which for whom I worked at the time), and you'll probably want to re-seat it against a different database, the queries will be significantly less performant (sorry, but the joins are things that DB2 objectively does better than MySQL). I've gone on to do a lot of work against various databases, and what I learned writing this helped immensely, so I have zero regrets about doing it.


    Why am I no longer doing Perl? Well, it's simple. After working from home for 13 years, I was told to return to Toronto. That wasn't going to happen, so I had to find another job. Took me 18 months, during which time I managed to hold on to the work-from-home position. What I found was something doing C# on Windows. That job was, let's just say, sub-optimal, and a bit over a year later I found another local job still with C#, leading a small team. I've been here for over four years at this point. By January, it'll have been about 5 years since I did any significant amounts of Perl.

    Also, while working from home, I also helped out with an online game written in Perl, which got shut down shortly before I left the work-from-home position. I've come to realise that part of its cost in running came down to Perl - specifically, its lack of threading and co-routine support. (Yes, Coro works, but it's a serious hack to the point where I'm not confident in its future, but also its ability to support all the drivers and such that would be required for this.) I've wanted to re-start this game, but only recently embarked on this, and decided a better backend for this game would be .NET whose native support for threads and co-routines (async/await) is significantly stronger, but also because I'm already using that in my day job, so it becomes advantageous to stay ahead of the team that reports to me on technical matters this way. This serves to drop my chances at returning to Perl in any significant manner even further.


    I cannot guarantee a timely return to view any responses here. You're better off with email if you feel the need to reach me. While I, personally, don't see any harm in multiple monks having their own CB scrapers and CB stats generators, you will definitely need the gods approval to take over the last hour of cb, as they will have to assign ownership to someone.

Missing 'in reply to...' And 'in thread....'
5 direct replies — Read more / Contribute
by marto
on Oct 28, 2023 at 08:16

    This node doesn't show the 'in reply to' and 'in thread' hyperlinks for me. I first suspected some user based setting based on depth, but this doesn't seem to be the case as this displays them as expected.

    Update: I don't recall seeing this before. Does it render for everyone else the way it does for me?

Dark Mode for AM?
7 direct replies — Read more / Contribute
by haukex
on Oct 18, 2023 at 04:25

    Hi all,

    PerlMonks already has a dark theme, but it is not automatically selected when not logged in. Literally every website, app, IDE etc. I use regularly nowadays supports a dark mode, and opening PerlMonks in the evenings, e.g. on mobile where I'm not logged in by default, is therefore much less enjoyable to my eyes, and I suspect it's similar for anyone who has selected the dark mode on their mobile, OS, or browser.

    Supporting dark mode is easy nowadays with the corresponding CSS media selector. I propose a new color theme, "auto light/dark", and making this the default for non-logged-in users. This change would only affect users who are not logged in, and only those who have selected dark mode in their OS/browser - all other visistors will see no difference; logged in Monks could select the new theme in their display settings if they prefer. The other great thing is that supporting this and changing the theme doesn't require any server-side detection, JS, or even page reloads.

Super Search confused?
3 direct replies — Read more / Contribute
by afoken
on Oct 15, 2023 at 20:56

    Super-searching for rare words emits nonsense percentages and/or nonsense dates:

    ?node_id=3989;BIT=rhababer

    Remainder of query was not run (used 10.01 seconds so far)

    Found 0 nodes roughly between 2023-07-06 and 0 (searched 279.36% of DB).

    where any text contains "rhababer"

    Date: Author/owner: Title: Node type:

    Press Next> to continue searching remaining 586.07% of DB.

    Please be patient after submitting your search.

    (Emphasis mine)

    The search works fine, so the nonsense values are probably just cosmetic.

    Update: Now that this node exists, the first result page works fine and lists this node. The next result page returns nonsense values:

    Found 0 nodes roughly between 2019-08-25 and 0 (searched 739.47% of DB).

    where any text contains "rhababer"

    Date: Author/owner: Title: Node type:

    Press Next> to continue searching remaining 122.21% of DB.

    Please be patient after submitting your search.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Slashdot nodelet links broken
3 direct replies — Read more / Contribute
by kcott
on Oct 09, 2023 at 03:03

    I assume someone has been working on "Slashdot nodelet" and has broken something. Maybe several things. Here's what I found.

    • Initially, I was surprised to see all links in this nodelet were showing as "visited".
    • I then noticed that all of the target URLs were the same. (The link texts are different, and look like genuine Slashdot headers.)
    • I then became aware that links point to the current page. To clarify:
      • as I write this, all Slashdot links on the current tab point to 'https://www.perlmonks.org/?node=Perl Monks Discussion';
      • I opened Tidings in a new tab to check if any work had been reported, all Slashdot links on that tab point to 'https://www.perlmonks.org/?node=Tidings';
      • changing back to the tab where I'm writing this and all links here still point to 'https://www.perlmonks.org/?node=Perl Monks Discussion'.

    I've checked several other nodelets but their links do not appear to be affected by this problem.

    There's one other minor issue. The emboldened word Slashdot now appears immediately beneath the Slashdot nodelet heading: it wasn't there yesterday and it's completely redundant.

    Could someone fix this please. Thankyou.

    — Ken

Slashdot nodelet for Anonymous Monk
No replies — Read more | Post response
by kcott
on Oct 04, 2023 at 11:27

    G'day All,

    "Tidings: What's New at PerlMonks" reported, a couple of months ago, "Slashdot Nodelet added".

    I added it to my sidebar and check it pretty much every time I log in. I've found a number of interesting articles so thanks for doing this.

    Today, before logging in, and therefore an "Anonymous Monk", I noticed that this nodelet was absent.

    I wondered if it would be a useful addition to AM's sidebar. I thought that it might be which raised some questions:

    • Do others also think it might be a useful, or even wanted, addition?
    • Are there any technical difficulties associated with adding it?
    • Are there any reasons not to add it?

    — Ken

Larger profile pic than 80KB?
4 direct replies — Read more / Contribute
by stevieb
on Oct 02, 2023 at 04:36

    Is the restriction on image definition and size for our profile pics due to storage limitation?

    I updated my own after numerous years and found that the limitations seemed to be possibly antiquated a little bit. I had to hack at my image in Preview on my Macbook and I'm not complaining, but it did get me to wonder why the restrictions seem so limited.

    -stevieb

PerlMonks Certificate Expired
5 direct replies — Read more / Contribute
by harangzsolt33
on Sep 17, 2023 at 23:28
    Does anybody else get this error? When I visit PerlMonks, I get a certificate expired message in my web browser. It doesn't matter which browser I use. Same thing happens when I visit PerlMonks on my phone. I get an error message. Apparently the expiration date is Sunday, September 17, 2023 which is today. Can somebody fix this? Btw I wouldn't mind if PerlMonks went back to use HTTP only. Saves you some money. I see no reason why PerlMonks should be using HTTPS. This is not a bank. What are you trying to protect?
LTR character in links
2 direct replies — Read more / Contribute
by Bod
on Jun 19, 2023 at 18:19

    In my profile, I have listed the modules I've published. But one has LTR characters in it.

    I've tried typing the characters and copying them from a working URL but it seems the Monastery has a glitch!!!

    https://metacpan.org/pod/Business::Stripe::Subs%E2%80%8Ecrip%E2%80%8Et +ion
Account creation
2 direct replies — Read more / Contribute
by Anonymous Monk
on Jun 12, 2023 at 19:13
    Uups, I see the page telling me "your account has been created. . . ." but I never receive my password! what's going on?
Promoting old (2009) node: "I want more monkquips"
3 direct replies — Read more / Contribute
by kcott
on Apr 30, 2023 at 14:40

    Old (2009) node is: "I want more monkquips".

    Extract from CB:

    [kcott]CB quip: "and the sunlight beams..." (white text on red bg). I don't recall ever seeing that one. Is someone actively adding quips?
    [marto]Hi Ken, there was a thread some time ago where people could post quips to be considered for incusions. I think some of the gods or sitedocclan add things from time to time
    [kcott]Thanks, marto. SuperSearch: "I want more monkquips". ...

    Simply adding a new PerlMonks Discussion node, to promote an older PerlMonks Discussion node, has the same problem in that it too will fall into disuse: "I want more monkquips" had various responses throughout 2009; then one in each of 2010, 2011 & 2015.

    Accordingly, I'm throwing out the idea for discussion of having a Quip Quest. I envisage this would be set up similar to the poll idea quest YYYY, in the Quest category (which appears at the top of the The Monastery Gates).

    A How do I create a Quip? page would have comparable information to the How do I create a Poll? page. Here's a non-exhaustive list:

    • Maximun length of quip.
    • Intended quip target location: XP Nodelet, Chatterbox, ...
    • Optional background & foreground colours. I would stipulate that this option requires both colours and that they be contrasting (to avoid issues with Display Settings custom colours).
    • Links to related threads; e.g.

    The suggested quip(s) should perhaps be within <spoiler>...</spoiler> tags — I'm not sure about this requirement.

    Looking forward to your thoughts on this.

    — Ken

Link rot by domain snapping
3 direct replies — Read more / Contribute
by LanX
on Apr 02, 2023 at 20:13
Problem account: OliviaB
4 direct replies — Read more / Contribute
by kcott
on Mar 28, 2023 at 01:20

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":


  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found