#expr — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #expr, aggregated by home.social.
-
A tiny flaw in a common math eval library is opening the door to remote attacks across hundreds of projects. How did a simple overlook snowball into a security crisis—and what fixes can save the day?
#rce
#javascriptsecurity
#cve202512735
#opensource
#cybersecurity
#vulnerabilitymanagement
#expr-eval
#remotecodeexecution
#securitypatch -
I think programming languages should implement placeholder syntax as a formal part of the language.
For instance, you could say <#EXPR#> is an expression. Then, when people give code examples where they leave a placeholder for an expression, using <#EXPR#> is going to be parseable and syntax-highlighted, instead of only sometimes being usable.
For instance:
-
Working with Numbers: Sandra Henry-Stocker explains how to use expr and other helpful commands on the Linux command line https://www.fosslife.org/math-linux-command-line #numbers #math #Linux #OpenSource #CommandLine #FOSS #expr
-
CW: Rosetta Code
And now I did #zsh :
https://rosettacode.org/wiki/Modular_exponentiation#zsh
But really it is #GNU #expr doing the work. I had considered using GNU #bc instead. Basically anything that can do the calculation. Unix-users in the old days often liked hoc; maybe there is a hoc implementation you could use. :)