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

Re^5: Markdown is now supported for comments, experimentally

by cavac (Priest)
on Jun 10, 2021 at 14:34 UTC ( #11133734=note: print w/replies, xml ) Need Help??


in reply to Re^4: Markdown is now supported for comments, experimentally
in thread Markdown is now supported for comments, experimentally

The main reason why there are no JS add-ons happening here are preferences of older folks.

Uh, yes. Come to think of it, i might be one of those people who dislike websites that takes ages to load because of JavaScript. I think it's best we ignore my feature request.

Also, for a moment i thought "wouldn't it be nice if pm could remind you to put codes tags on your stuff when it detects you posted perl code". But half the requests in SoPW are too badly written to be recognized as Perl even by the perl interpreter. And the stuff over at Obfuscation is, most of the time, not even recognizable as Perl to experienced humans. So that's another non-starter.

Oh well. But thanks for taking the time answering my questions/suggestions!

perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'

Replies are listed 'Best First'.
Re^6: Markdown is now supported for comments, experimentally
by LanX (Sage) on Jun 10, 2021 at 14:44 UTC
    > Also, for a moment i thought "wouldn't it be nice if pm could remind you to put codes tags on your stuff when it detects you posted perl code".

    actually, I was thinking of mentioning this too.

    In the end you only need a heuristic to recognize perl-code (easy) or data (consecutive short lines), this heuristic can be trained with the 100_000 older posts with code tags.

    > But half the requests in SoPW are too badly written to be recognized as Perl even by the perl interpreter.

    It's possible to run Perl::Tidy in server mode, i.e. without start-up overhead its pretty fast.

    It's also possible to add an extra display-format where the reader decides between raw and formatted code.

    But that's all fantasy, there are only two gods left who keep this running.

    Pmdevs were bugging them already for years to patch a serious JS backdoor in the markup format.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      But that's all fantasy, there are only two gods left who keep this running.

      Can i help out in any way, shape or form?

      perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'

        Thank you for offering. I have added you to the pmdev group. First thing to do is go add the PmDev Nodelet. I will be your mentor. /msg me for further info.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133734]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-08-16 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?