
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
Network flow in the nth-dimension!
First install like this:
npm install ndflow
Then use it as follows:
require("ndflow")(
[[0,1,2], [1,2,3]], //Simplicial complex
[1, 1], //Capacities
[[0,1], [1,3], [3,2], [2,0]], //Boundary circulation
[1,1,1,1], //Boundary weights
[1,1]) //Cost function
require("ndflow")(cells, capacities, boundary_cells, boundary_weights, cost)Solves for the flow from the boundary cells that minimizes the cost. This is the same thing as solving the linear program:
Minimize cost(flow)
Subject to D(flow) = boundary_cells * boundary_weights
0 <= flow <= capacities
In the case where the cell complex is one dimensional, this is the same as solving minimum cost network flow for a given capacity. Binary searching on the scale of the capacities lets one compute a maximum/min-cost flow.
(c) 2013 Mikola Lysenko. BSD License
FAQs
n-dimensional network flow solver
The npm package ndflow receives a total of 0 weekly downloads. As such, ndflow popularity was classified as not popular.
We found that ndflow 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.