tripleo, to random
@tripleo@fosstodon.org avatar

All you nutcases still using , what's actually wrong with it?

aka What are the sharp edges?

mjgardner,
@mjgardner@social.sdf.org avatar

@tripleo You’re thinking of #Perl’s “taint mode” (stop your teenage giggling), where outside data is untrusted unless it’s the extracted subpattern match in a #RegularExpression.

It’s only enabled under certain conditions. Read about it in the perlsec manual page: https://perldoc.perl.org/perlsec#Taint-mode

#programming #security #InfoSec #CyberSecurity #RegEx #RegExp

unixbhaskar, to programming
@unixbhaskar@fosstodon.org avatar
stevensanderson, to programming
@stevensanderson@mstdn.social avatar
neustradamus, to random
mjgardner,
@mjgardner@social.sdf.org avatar

@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html

It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre

#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp

vintprox, to Discord
@vintprox@techhub.social avatar

deserves a set of more performant and native applications than being attributed to a page in 's playbook. Stay with me: are we really just going to blindly accept flaws of this messenger and promote it at the same time?

The fact that it only has got to the head of Discord it's long overdue to verify this popular distribution, I think, is worth a comment on itself, but I'll digress. It is nice that enthusiasts made arrangements for this verification and I have zero disagreements with the result. I'm just stupified that, in all this effort, Discord is treated like some spoon-fed royal baby - at least, according to reactions I see.

So, what was it... Flathub already had a library of nice actively developed before these news. I don't see the point in exaggerating the scales on some centralized chat thingabob with well-known and problems, that's all. Thank you for visiting my talk! ❤

vintprox, (edited )
@vintprox@techhub.social avatar

Just so we're clear: I include direct messaging link in format of https://matrix.to/#/@vintprox:envs.net 👌...which has no trouble with. The reason I even publish DM link instead of my , though, is because YouTube has a meltdown from links containing a second # (number sign, replace @ with it to get into my space).

From technical POV, it's one correct away for YouTube, as many modern social media and video platforms can handle it and do use normal . But, on the other hand, service just shouldn't be employing such flawed pattern or provide an alternative one, even if standard allows the former to exist.

So, yeah, there is that - it is hard to gather video viewers in such a place. It's a single thing that I miss from Discord invite links. Matrix ones don't need a vanity and it's sweet - one solution is put it through , but then the entire point is lost.

mjgardner, to Perl
@mjgardner@social.sdf.org avatar

#Perl has supported pluggable replacements for its #RegularExpression engine since the release of v5.10 in 2007: https://perldoc.perl.org/perlreapi

An @ietf compliant I-#Regexp subset would be very helpful for @Perl #developers implementing specifications like the draft #JSONPath standard: https://datatracker.ietf.org/doc/draft-ietf-jsonpath-base/

(There is already a JSONPath #CPAN module: https://metacpan.org/pod/JSON::Path) https://cosocial.ca/@timbray/110714888717469041

praetor, to random
@praetor@social.sdf.org avatar

So after a restful sleep with interesting dreams featuring Patrick Stewart, I'm ready to go forward with some . It's a lovely rainy day which adds to the ambience of being a misunderstood poet. I'm naming my little phlog engine "iambic" since @thac0 said it needs to include iambic hexameter :p

mjgardner,
@mjgardner@social.sdf.org avatar

@praetor @barubary @thac0 Frieda’s book does a great job explaining how they work, and why different engines work the way they do

mjgardner, to javascript
@mjgardner@social.sdf.org avatar

The unholy trinity of

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@jernej__s @malwareminigun / \p{Quotation_Mark} solved \p{Quotation_Mark} /x

(Note that doesn’t work with software using the Perl “Compatible” library because its support is worse: https://www.pcre.org/current/doc/html/pcre2unicode.html#:~:text=Only%20the%20short%20names%20for%20properties%20are%20supported)

regehr, to random
@regehr@mastodon.social avatar

students are getting a bit harsh lately

mjgardner,
@mjgardner@social.sdf.org avatar

@regehr @commodore @dev There is even a (low-severity, a/k/a “cruel”) policy to discourage everything but $_, @_, $], and numbered capture variables: https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitPunctuationVars

https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitMatchVars already protects you against the performance-sapping $`, $&, and $' match variables

And you can configure your own prohibited list with https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitEvilVariables

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • Durango
  • DreamBathrooms
  • osvaldo12
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • slotface
  • everett
  • kavyap
  • ethstaker
  • megavids
  • tester
  • GTA5RPClips
  • tacticalgear
  • modclub
  • khanakhh
  • rosin
  • cisconetworking
  • normalnudes
  • provamag3
  • Leos
  • cubers
  • anitta
  • lostlight
  • All magazines