Show HN: Create Matplotlib visualizations from the command-line I do lots of data analyses in the command-line and I was missing a simple utility to plot the output of a command (without having to script it). I like very much the Matplotlib API but I found no CLI to pipe data into it. So, I wrote MatplotCLI, a simple CLI that reads data from the stdin and allows to easily create interactive plots from the command-line. Have a look at the README for examples and recipes. Let me know what you think, thanks! Some examples: $ plt "hist(x,30)" < sample.json $ cat sample.json | plt --no-show "hist(x,30); savefig('myimage.png')" $ plt --no-input " x = np.linspace(-1,1,2000); y = x*np.sin(1/x); plot(x,y); axis('scaled'); grid(True)" $ echo ' {"a":0, "b":1} {"a":1, "b":0} {"a":3, "b":3}' | plt "plot(a,b)" https://github.com/dcmoura/matplotcli March 23, 2022 at 01:30AM
Show HN: Launch VM workloads securely and instantaneously, without VMs Hello HN! We've been working on a new hypervisor https://kwarantine.xyz that can run strongly isolated containers. This is still a WIP, but we wanted to give the community an idea about our approach, its benefits, and various use cases it unlocks. Today, VMs are used to host containers, and make up for the lack of strong security as well as kernel isolation in containers. This work adds this missing security piece in containers. We plan on launching a free private beta soon. Meanwhile, we'd deeply appreciate any feedback, and happy to answer any questions here or on our slack channel. Thanks! April 29, 2021 at 07:50AM
Comments