
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
-- rdoc --
= MathViz
== DESCRIPTION:
Turn simple equations (a = b * c) into GraphViz dot files showing relationships, values, and units.
== FEATURES/PROBLEMS:
== SYNOPSIS:
require 'mathviz'
module MathViz::Units new_units :m, :s, :kg, :lb, :joule end
MathViz.new { # Alternate form: MathViz.new('optional_output_filename', binding_object)
m = 140.lb * 0.45359237.kg.per.lb
c = 299_792_458.m.per.s
# capitalized values are constants in ruby, so we need the underscore
_E = (m * (c * c)) * 1.joule.per.kg.m.m.per.s.s
binding # Don't forget to return the binding
}.dot # Required to produces the actual .dot file
link:examples/E_mc2.png == REQUIREMENTS:
== INSTALL:
== LICENSE:
Creative Commons Attribution-Share Alike 3.0 Unported Licence http://creativecommons.org/licenses/by-sa/3.0/
FAQs
Unknown package
We found that mathviz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.