Running a JSON graph locally - noflo

I've been using Flowhub.io to do my development on the nodejs device. Now that the GUI-based design is done, I'm ready to take it offline and run the code via the command line. How would do I do this? I have the JSON file corresponding to the graph I created online, but not sure how to use the noflo nodejs module.
Could someone help me by showing me an example of how to load a graph using the noflo module, please? Thanks!

f you want to run an existing graph, you can use the --graph option.
noflo-nodejs --graph graphs/MyMainGraph.json
If you also want the process to exit when the network stops, you can pass --batch.
PS: I added this to the noflo-nodejs README.

Related

Error- the task 'npm: watch' cannot be tracked. Make sure to have a problem matcher defined

I tried running the Codepal Extension locally on my laptop to make some changes. I followed the steps that were told in the file. Please help me out to run it locally.
I tried using it locally by following the steps. But, I get error while trying to run it locally.

Is it possible to save Tensorboad session?

I'm using Tensorboard and would like to save and send my report (email outside my organization), without losing interactive abilities. I've tried to save it as a complete html but that didn't work.
Anyone encountered the same issue and found a solution?
Have you seen tensorboard.dev?
This page allows you to host your tensorboard experiment & share it with others using a link (it's still interactive) for free.
Also you can use it from the command line; try this from your CLI for more information:
$ tensorboard dev --help

Creating network files in SUMO using NETCONVERT

Problem when calling netconvert in sumo:
I am trying to create my own scenario for simulation purposes.
I am using OpenStreetMaps for this.
python osmWebWizard.py
opens the browser and I select the area which I download.
netconvert --osm-files osm_bbox.osm.xml -o osm.net.xml
The error message I get is
Error: Cannot import network data without PROJ-Library. Please install packages proj before building sumo
Warning: Environment variable SUMO_HOME is not set, using built in type maps.
Quitting (on error).
My attempt to fix the problem is:
sudo apt-get install libproj*
But it seems like a dead end there and I am out of options.
Thank you.
EDIT
I have a gut feeling it has to do with libproj0 not being available anymore.

Using IntelliJ Golang plugin, how to run entire Golang project instead of a single file?

I am using the latest (2014-01-03) Golang plugin for IntelliJ - for the first time.
Usually, my terminal workflow is to do go build && ./executable -args=1
So I am attempting to create a launch configuration to do the same thing, I took these actions:
Create a "Go Application" configuration
Fill in GOPATH/GOROOT environment variable
Fill in CLI arguments
Because there has to be a file to run, so I chose the one with func main()
Then there is a problem. When I run the configuration, the Golang plugin does not build the project, but instead builds the single script file with main method, then attempt to run it - obviously it does not work.
How to create a configuration equivelent of go build && ./executable -args=1?
Try to use the latest version from the official plugin manager.
If that doesn't work, please help us identify the issue by submitting a report here
Also, we are working hard to update the plugin with better type checks, debugging, go appengine support, improved formatter and much more but any help in improving the plugin is greatly appreciated.
Hope it helps.
However, I prefer to use goclipse which support auto-build, auto code completion and debug.

Render Blender model on a server

We are using Blender to open a .blend model, apply some python code via the python console and create a .dae file.
Now we need to implement this functionality on a linux server to serve .dae files to a browser on request.
That means we (conceptually) need to trigger blender from the console, pass the .blend-file and the python script as arguments and make blender to output the .dae file.
We are not blender experts, so maybe you can tell me a) whether this is possible without starting the blender GUI and doing it manually or not and b) what options we have to achieve that functionality.
Blender is quite flexible. You can run it on a server without the GUI (in background mode) and also execute a python script within blender to manipulate the scene (e.g. export .DAE):
./blender --background --python yourExportDAEScript.py
More command line options available in the manual
yourExportDAEScript.py could manipulate the model and finally do something like:
bpy.ops.wm.collada_export(filepath="/DAE/EXPORT/PATH/file.dae")
More details in the Blender Python API