Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by LanX (Sage)
on Jun 10, 2021 at 14:44 UTC ( #11133735=note: print w/replies, xml ) Need Help??


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

> 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

  • Comment on Re^6: Markdown is now supported for comments, experimentally

Replies are listed 'Best First'.
Re^7: Markdown is now supported for comments, experimentally
by cavac (Priest) on Jun 10, 2021 at 16:17 UTC

    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.

        Well, this is a monastery, so praying is standard procedure anyway. Ok, true, most of my prayers start like "Oh Lord, please let there be a working backup..."

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2022-10-05 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (25 votes). Check out past polls.

    Notices?