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
Too soon for guesses on when node #1234567 will arrive?
7 direct replies — Read more / Contribute
by talexb
on Aug 08, 2017 at 13:31

    So we zoomed past the one millionth node a while back .. and since we're at about 1.19MM, the next obvious milestone is node number 1,234,567. Guesses, anyone?

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

SSL on PerlMonks
4 direct replies — Read more / Contribute
by sapadian
on Aug 07, 2017 at 13:28
    Does anyone know if there are plans to encrypt PerlMonks site traffic with a secure certificate?
CSS/JS if a username is mentioned
6 direct replies — Read more / Contribute
by stevieb
on Aug 01, 2017 at 19:33

    I'm not for certain, but it seems to me that some Monks magically appear on a thread if a specific topic is mentioned, or perhaps their uid is mentioned.

    Can someone explain how this is accomplished (or at least tell me that it isn't happening, and I'm just imagining things)?

    I mean, mention threads, and without fail, a major resident expert magically appears. Could be coincidence, but I'm not sure.

    Question is, is there a way, without having to continuously re-roll the Perlmonks website scraping, to see if a username or phrase or something is published, to recognize this? I'm definitely no web expert, but I can work my way with JS/jQuery/CSS to a degree, but searching is usually required.

    -stevieb

Chosen depth?
1 direct reply — Read more / Contribute
by Todd Chester
on Jul 26, 2017 at 11:32
    I am getting this message on one of my posts: "Some notes below your chosen depth have not been shown here". I go to the link and do not see anything about depth. It is probably there somewhere, but I don't see it. How do I set my chosen depth?
Expand the width of code tags?
3 direct replies — Read more / Contribute
by stevieb
on Jul 25, 2017 at 20:38

    Would it be possible on the screens that display items to be widened, so that things like this:

    pi@raspberrypi:~/repos/rpi-wiringpi $ bbtester --fg --stdout -d 7 -a [2017-07-25 17:52:44.318][lvl 7][Tester] logging to STDOUT [2017-07-25 17:52:44.319][lvl 5][Tester.new] instantiating new Test::B +rewBuild::Tester object [2017-07-25 17:52:44.319][lvl 7][Tester.new] args: [2017-07-25 17:52:44.319][lvl 7][Tester.new] auto: 1 debug: 7 stdout: 1 [2017-07-25 17:52:44.321][lvl 6][Tester.listen] successfully created n +etwork socket on IP 0.0.0.0 and port 7800 [2017-07-25 17:52:44.322][lvl 7][Tester.listen] 0.0.0.0 now accepting +incoming connections [2017-07-25 17:52:44.322][lvl 7][Tester.listen] work dir is: /home/pi/ +brewbuild [2017-07-25 17:52:44.322][lvl 7][Tester.listen] chdir to work dir: /ho +me/pi/brewbuild [2017-07-25 17:52:44.323][lvl 7][Tester.listen] TESTER: 0.0.0.0 PLATFO +RM: armv7l-linux [2017-07-25 17:52:44.323][lvl 7][Tester.listen] waiting for a connecti +on... [2017-07-25 17:54:10.016][lvl 7][Tester.listen] received ack: localhos +t [2017-07-25 17:54:10.016][lvl 7][Tester.listen] returned ack: localhos +t [2017-07-25 17:54:10.017][lvl 7][Tester.listen] received cmd: brewbuil +d -d 7 [2017-07-25 17:54:10.018][lvl 7][Tester.listen] sending 'ok' [2017-07-25 17:54:10.019][lvl 7][Tester.listen] received repo: https:/ +/github.com/stevieb9/rpi-wiringpi [2017-07-25 17:54:10.020][lvl 5][Git.new] instantiating new object [2017-07-25 17:54:10.020][lvl 6][Git.git] git command set to 'git' [2017-07-25 17:54:10.021][lvl 7][Tester.listen] using Git: git [2017-07-25 17:54:10.021][lvl 7][Tester.listen] before all checks, rep +o set to https://github.com/stevieb9/rpi-wiringpi [2017-07-25 17:54:10.021][lvl 6][Git.name] converting repository link +to repo name [2017-07-25 17:54:10.022][lvl 6][Git.name] repo link converted to rpi- +wiringpi [2017-07-25 17:54:10.022][lvl 7][Tester.listen] chdir to: /home/pi/bre +wbuild/rpi-wiringpi [2017-07-25 17:54:10.022][lvl 7][Tester.listen] repo rpi-wiringpi exis +ts [2017-07-25 17:54:10.022][lvl 6][Tester.listen] in auto mode [2017-07-25 17:54:10.032][lvl 6][Git.link] found https://github.com/st +evieb9/rpi-wiringpi for the repo [2017-07-25 17:54:10.032][lvl 7][Git.status] checking git status [2017-07-25 17:54:10.053][lvl 6][Git.link] found https://github.com/st +evieb9/rpi-wiringpi for the repo [2017-07-25 17:54:10.053][lvl 6][Git.revision.revision] initiating git + revision [2017-07-25 17:54:10.054][lvl 6][Git.revision] local: 'rev-parse HEAD' + sent [2017-07-25 17:54:10.063][lvl 5][Git.revision] commit checksum: 4df4fe +ea34b3b4816f31b3086863987e3a3c7278 [2017-07-25 17:54:10.073][lvl 6][Git.link] found https://github.com/st +evieb9/rpi-wiringpi for the repo [2017-07-25 17:54:10.073][lvl 6][Git.revision.revision] initiating git + revision [2017-07-25 17:54:10.074][lvl 6][Git.revision] remote: 'ls-remote http +s://github.com/stevieb9/rpi-wiringpi' sent [2017-07-25 17:54:10.884][lvl 5][Git.revision] commit checksum: 459719 +530fd54a1c864346913fd44472c3dd0d2e [2017-07-25 17:54:10.885][lvl 7][Tester.listen] Git check: status: 1 local: 4df4feea34b3b4816f31b3086863987e3a3c7278 remote: 459719530fd54a1c864346913fd44472c3dd0d2e [2017-07-25 17:54:10.885][lvl 6][Tester.listen] in auto mode, checking + commit checksum reqs [2017-07-25 17:54:10.886][lvl 7][Tester.listen] pulling rpi-wiringpi [2017-07-25 17:54:10.887][lvl 6][Git.clone] initiating git pull remote: Counting objects: 7, done. remote: Compressing objects: 100% (3/3), done. remote: Total 7 (delta 4), reused 7 (delta 4), pack-reused 0 Unpacking objects: 100% (7/7), done. From https://github.com/stevieb9/rpi-wiringpi 4df4fee..4597195 master -> origin/master [2017-07-25 17:54:12.191][lvl 7][Tester.listen] Updating 4df4fee..4597 +195 Fast-forward MANIFEST | 1 + MANIFEST.SKIP | 36 ++++++++++++++++++------------------ 2 files changed, 19 insertions(+), 18 deletions(-) [2017-07-25 17:54:12.196][lvl 5][Tester.listen] COMMENCING TEST RUN; a +rgs: debug => 7 [2017-07-25 17:54:12.199][lvl 7][BrewBuild] in _create_log() [2017-07-25 17:54:12.200][lvl 6][BrewBuild] in new(), constructing Tes +t::BrewBuild object [2017-07-25 17:54:12.201][lvl 7][BrewBuild.BrewCommands.new] instantia +ting new object [2017-07-25 17:54:12.202][lvl 6][BrewBuild.BrewCommands.brew] *brew cm +d is: perlbrew [2017-07-25 17:54:12.203][lvl 5][BrewBuild._set_plugin] [2017-07-25 17:54:12.207][lvl 4][BrewBuild._set_plugin] successfully l +oaded Test::BrewBuild::Plugin::DefaultExec plugin [2017-07-25 17:54:12.210][lvl 7][BrewBuild] using temp bblog dir: /tmp +/8Wu5bKwNNh [2017-07-25 17:54:12.211][lvl 7][Tester.listen] executing test() [2017-07-25 17:54:12.212][lvl 6][BrewBuild.test] warnings trapped loca +lly [2017-07-25 17:54:12.213][lvl 6][BrewBuild] Test::BrewBuild class/obj +accessing the log object [2017-07-25 17:54:12.214][lvl 6][BrewBuild.Test::BrewBuild::Plugin::De +faultExec::brewbuild_exec] performing plugin duties [2017-07-25 17:54:12.215][lvl 6][BrewBuild.exec] instructions to be ex +ecuted: cpan App::cpanminus cpanm --installdeps . cpanm -v --test-only . [2017-07-25 17:54:12.217][lvl 6][BrewBuild.exec] created temp file for + storing output: /tmp/1svWncOk3f [2017-07-25 17:55:04.247][lvl 7][BrewBuild.test] ***** perl-5.24.1 ========== Loading internal null logger. Install Log::Log4perl for logging messag +es CPAN: Storable loaded ok (v2.56_01) Reading '/home/pi/.cpan/Metadata' Database was generated on Tue, 25 Jul 2017 19:29:02 GMT CPAN: Module::CoreList loaded ok (v5.20170114_24) App::cpanminus is up to date (1.7043). --> Working on . Configuring /home/pi/brewbuild/rpi-wiringpi ... OK <== Installed dependencies for .. Finishing. --> Working on . Configuring /home/pi/brewbuild/rpi-wiringpi ... Generating a Unix-styl +e Makefile Writing Makefile for RPi::WiringPi Writing MYMETA.yml and MYMETA.json OK Building and testing RPi-WiringPi-2.3621 ... Skip blib/lib/RPi/FAQ-Tut +orial.pod (unchanged) Skip blib/lib/RPi/WiringPi/Core.pm (unchanged) Skip blib/lib/RPi/WiringPi.pm (unchanged) cp bin/pinmap blib/script/pinmap "/home/pi/perl5/perlbrew/perls/perl-5.24.1/bin/perl" -MExtUtils::MY -e + 'MY->fixin(shift)' -- blib/script/pinmap Manifying 3 pod documents PERL_DL_NONLAZY=1 "/home/pi/perl5/perlbrew/perls/perl-5.24.1/bin/perl" + "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harne +ss::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....................... ok t/05-pin.t ........................ ok t/10-register.t ................... ok t/15-pwm_spi_adc.t ................ ok t/20-cleanup.t .................... ok t/25-sig_die.t .................... ok t/35-pin_map.t .................... ok t/40-interrupt_rising_and_pud.t ... ok t/41-interrupt_falling_and_pud.t .. ok t/42-interrupt_both_and_pud.t ..... ok t/45-shift_reg_adc.t .............. ok t/55-dac.t ........................ ok t/60-lcd.t ........................ ok t/65-i2c.t ........................ ok t/70-alt_modes.t .................. ok t/75-serial.t ..................... ok t/80-mode_state_all_pins.t ........ ok t/85-pwm_hw_mods.t ................ ok t/90-servo.t ...................... ok t/manifest.t ...................... ok t/pod-coverage.t .................. ok All tests successful. Files=21, Tests=2411, 34 wallclock secs ( 1.84 usr 0.10 sys + 12.40 c +usr 1.30 csys = 15.64 CPU) Result: PASS OK Successfully tested RPi-WiringPi-2.3621 ***** [2017-07-25 17:55:04.250][lvl 5][BrewBuild.test] got 1 results [2017-07-25 17:55:04.250][lvl 6][BrewBuild.test] 5.24.1 PASSED... [2017-07-25 17:55:04.253][lvl 5][BrewBuild.test] Test::BrewBuild run f +inished [2017-07-25 17:55:04.253][lvl 7][Tester.listen] chdir to: /home/pi/bre +wbuild/rpi-wiringpi/bblog [2017-07-25 17:55:04.254][lvl 7][Tester.listen] no log files generated +, nothing to process [2017-07-25 17:55:04.254][lvl 7][Tester.listen] chdir to: /home/pi/bre +wbuild/rpi-wiringpi [2017-07-25 17:55:04.255][lvl 7][Tester.listen] removing log dir: /hom +e/pi/brewbuild/rpi-wiringpi/bblog [2017-07-25 17:55:04.256][lvl 5][Tester.listen] storing and sending re +sults back to dispatcher [2017-07-25 17:55:04.258][lvl 7][Tester.listen] work dir is: /home/pi/ +brewbuild [2017-07-25 17:55:04.259][lvl 7][Tester.listen] chdir to work dir: /ho +me/pi/brewbuild [2017-07-25 17:55:04.260][lvl 7][Tester.listen] TESTER: 0.0.0.0 PLATFO +RM: armv7l-linux [2017-07-25 17:55:04.261][lvl 7][Tester.listen] waiting for a connecti +on...

    ...expand without wrapping?

eMail response?
2 direct replies — Read more / Contribute
by Todd Chester
on Jul 25, 2017 at 12:22
    Is there a way to gt this forum to send an eMail alert when someone responds?
Feature: Auto hide. Change: show node vote counts to all, not just logged in users.
9 direct replies — Read more / Contribute
by marto
on Jul 18, 2017 at 05:22

    A couple of suggested changes. I propose that if a node not under considereation hits the same level of downvotes required to trigger auto reaping, the node content should be automatically hidden, a message displayed warning readers that it's quality/relevance is in question, a link would allow reading the original. Something along the lines of:

    This node was taken out by the NodeReaper on Jul 16, 2017 at 09:42 BST Reason: [NodeReaper] - Post contents hidden due to sufficiently negati +ve reputation. You may view the original node and the consideration vote tally.

    All other cases I can think of (trolling, abuse, duplicate post etc) are already catered for by the consideration system as is.

    Secondly, the vote count be displayed to all, not just logged in users.

A new CB reader
2 direct replies — Read more / Contribute
by choroba
on Jul 05, 2017 at 16:09
    I was a happy user of the #cbstream IRC ↔ PM client that makes the ChatterBox feel and behave like the IRC. But then sometimes broke (as it happened time to time), but ambrus hasn't been around for the last three weeks to fix it. So I wrote a simple ChatterBox reader myself. At the moment, it only reads, and I'm still not sure I want to add the ability to write to it. It uses the new CB XML ticker (as I skimmed over the other CB clients, they all seem to use the old one). If you want to use it, or just check the code, you can find it on GitHub.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Input Boxes Rendering?
4 direct replies — Read more / Contribute
by haukex
on Jun 24, 2017 at 06:54

    Fellow monks, could you try going to Perl Monks Discussion and seeing if the following renders as actual input boxes?

    Because that is what is happening for me when I view this node via SoPW, as well as this node via PMD. (Posted at the request of tye&nbsp;.)

    Update: Also happening for me when viewing SoPW as anonymous. Edited the title to remove "in SoPW" since it's happening in PMD too.

    Update 2: Relevant HTML source of PMD:

    <tr class="post-body post_body"> <td colspan="2"> <ul><p>Fellow monks, could you try going to <a href="?node_id=1040">Pe +rl Monks Discussion</a> and seeing if the following renders as actual + input boxes?</p> <input> <input> <p>Because that is what is happening ...</p></input></input></ul> </td> </tr>
Update shortcut link to SSCCE
2 direct replies — Read more / Contribute
by 1nickt
on Jun 16, 2017 at 12:12

    The current link from SSCCE points to node # 1177743, which is a page containing only one thing: a link to node # 1177642 -- the page that actually describes what an SSCCE is. The handy syntax link is great, but could it be updated to point directly to the page? I don't really see the point of the intermediary page, and I fear that some newbs who click to it won't manage to click through to the real doc. Studies about page depth and retention show ... , etc. and the link doesn't exactly stand out.

    Can we do away with the intermediary page and update the link?


    The way forward always starts with a minimal test.
Book review update button not doing anything
3 direct replies — Read more / Contribute
by oldtechaa
on Jun 14, 2017 at 13:57

    I wrote a review of Modern Perl here: Modern Perl

    Since I made some mistakes in formatting, I then immediately went to change the formatting to what's below. When I hit the update button, nothing happens. It doesn't update and doesn't reload the page, but it does show the button was pressed. I'm using Firefox on Android.

    I'll try again on a desktop computer, then report back.

    --------------------------------------------------------

    The details of Modern Perl can be found in other reviews on PerlMonks. As it is freely available and anyone can look at the chapter descriptions, I won't review those here.

    What I want to point out is the usefulness of this book for teaching best practices. The basic Perl part of the book isn't strictly necessary as this is covered in perlintro. However, many of the best practices cannot be found in perldoc or can't be found easily.

    Such chapters as 2 and 7-12 are gold mines for best practices, many of which are difficult to find elsewhere unless searching specifically for them. Such things as the best community websites, Moose, style, exceptions, testing, warnings, reliability, security, idioms, things to avoid, and other tips are all considered in an uncluttered format, simple to understand and free to read (although you may want to donate on onyxneon.com).

    Enjoy this modern, free, effective best practice guide.

Rendering problem
2 direct replies — Read more / Contribute
by Athanasius
on Jun 13, 2017 at 02:55

    There appears to be a problem in rendering the title of the nodes in the thread Why does widget->destroy give the error Tk::Error widget was deleted before its visibility changed? Instead of rendering like this:

    | Poetry | Recent Threads | Newest Nodes | Donate | What's New

    the links at the top right of the page have erroneous text added:

    | Poetry | Recent Threads | Newest Nodes | Donate | What's New destroy + give the error Tk::Error widget was deleted before its visibility ch +anged? NODE.owner = 193692 N.title = monktitlebar sitedoclet N.owner = 17342 -->

    The added text also appears at the end of the Cabalists’, Find Nodes, Settings, and Leftovers Nodelets.

    The rendering problem is common to all the nodes in the thread, so presumably the arrow in the node title is the trigger? I see the problem on both Chrome and Firefox1, whether I’m logged in or viewing anonymously.

    1Update: and Internet Explorer.

    Cheers,

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Erroneous message from root
1 direct reply — Read more / Contribute
by shmem
on Jun 09, 2017 at 13:24
Some [doc://...] links are broken
1 direct reply — Read more / Contribute
by LanX
on Jun 03, 2017 at 14:30
    Hi

    while ie [doc://while] doesn't link to while

    Not sure what changed, but I'd like to have a look into the code resolving doc links.

    Maybe I can patch it.

    Spend an hour with the pmdev docs, but couldn't find it.

    update

    I noticed that the Function Nodelet links to a doc node

    http://www.perlmonks.org/index.pl?node=doc%3A%2F%2Fmy

    But http://www.perlmonks.org/index.pl?node=doc%3A%2F%2Fwhile doesn't work either.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

side effects "Enforce proper nesting of HTML"
1 direct reply — Read more / Contribute
by LanX
on Jun 03, 2017 at 13:09
    I just noticed that my display of this node How to analyse structured data to get a hash was totally messed up (no line breaks), but becomes kind of "readable" after I logged off (the OP avoided code tags)

    Turned out that my  Display Settings had "Enforce proper nesting of HTML" enabled, which didn't go well with the OP's use of </br> tags.

    Though after reading the help page, I don't understand why

    • Enforce proper nesting of HTML - If set, PerlMonks adds explicit closing tags in cases where an element was implicitly closed due to the ending of an outer element.

    Merely an information, not sure if this demands action.

    FWIW: disabled the option now.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!


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.