Unknown note like picture on SPSS Modeller nodes - spss-modeler

I am looking at a stream created by a previous colleague and was wondering what these white squares with folded top right corner refer to?
See this SPSS stream.
As they suspiciously look like notes I was hoping there were similar to an annotation of some sort, which would be helpful in deciphering the model.
Thank you.

The note icon means that caching has been enabled on a node. You can enable by right clicking on a node, select Cache, then enable.
The reason to enable caching in SPSS Modeler is to enable faster execution of the stream on the following runs and/or to troubleshoot.
Upon the next execution of the stream, SPSS Modeler will drop a copy of the node to that point into a file (really its a a .SAV file) on the local desktop or server depending upon where you are running the application. The icon will turn to green indicating that the cache of that node is filled.
See an example here: Source icon that has been cached
On all subsequent runs while the node note icon is green, the stream will execute from that point forward.
Further, if you make a change in the stream prior to that node after its filled it will flush the cache, turn the note icon back to white, and execute all further runs from the start of the stream.
Final note, this same behavior occurs for databases as well. If you have purchased SPSS Modeler server or have an SPSS Modeler Subscription with SQL Enablement, instead of using .SAV files on a local desktop or server, Modeler will create a temporary table on the database itself. That icon will be a database and when the cache is filled it will turn purple.

Related

VS Code opens a new editor group for data viewer

I'm using two editor groups in VS Code to write Python code. The left group has open files, and the right group has an interactive Jupyter-like window to test code and also displays data frames with the data viewer.
Alas, since a few days ago, VS Code always opens a third editor group to the right when I open the data viewer (subsequent data frames will also be displayed in this group). This, of course, needs space and everything is reshuffled and it's driving me nuts.
I must have changed something inadvertently so that VS Code is no longer limited to opening 2 editor groups, but I can't find the setting. How do I turn this back?
I have looked through the settings (global and workspace) and can't find anything remotely indicating how to configure it.

Change the position of slots for processing

New slots are added to a scene sequentially. I have a cleanup free form slot that handles any input that slots higher in the order have not handled. It has to be the last slot to be processed. But when I want to add a new slot it becomes the last slot so it is never processed. There seems to be no facility to reorder the slots to avoid this. Any ideas?
Yeah, this is something that is seriously lacking in the UI right now. (You also can't reorder Intents, and they're handled in order as well.)
The only solution I know of is to use the gactions command line tool to download the project, edit the .yaml file for the scene in question, and then re-upload the project using gactions again.

BSOD when modifying an XPage

I have a very weird situation. Since a few days, the following actions will crash my Windows 10 PC (using Notes R9.01FP8):
I open my Prefs page in the Domino Designer
click on the Source tab
move to a specific location in a table
then I add a Repeat control
I then open the Properties of the Repeat control
to set the data to JavaScript...
and nothing happens, until after a few seconds: BSOD - Unexpected Kernel Mode Trap in either win32kfull.sys or ntoskrnl.exe.
Sometimes, the JavaScipt box is displayed, so I can paste my code, but a short while later the PC still crashes.
I have to say that my PC crashed a lot lately, so I reinstalled Windows and all drivers, so there might be a rotten one that causes all this. According to DriverEasy, all drivers are now up to date. The Event viewer displays a BugCheck event, but nothing relevant (to me anyway).
What I did for further analysis:
I removed Cache.ndk, it didn't help (of course)
in a copy of the XPage, the system crashes when I add the Repeat
ditto, in a different XPage
it seems to work in a different Notes database, on a different XPage
so I created a new database, copied all elements from the original database over, and still the system crashes when I add the Repeat
I'll be doing so more tests, e.g. with an empty database and just one XPage, then adding my Prefs page, or with the same database but then on a server. Actually, one could say I'm kind of lost, and stumbling around in the dark.
My questions to the XPages/Eclipse gurus:
could it be the workspace, and is there any way to reset it?
do you have any suggestions how to get this solved?
Thanks!
The Windows Creator update that MS posted does not seem to fix the Designer crash.
https://grahamacres.wordpress.com/2017/07/10/domino-designer-still-crashes-after-windows-10-creators-update/

Is there synthetic tracking data available in CustusX?

I'm developing a plugin for custusX. I prefer developing on my own PC which is not connected to a tracking system.
For video, custusX uses a webcam to generate synthetic 'example data'. Is there also a tracking source with synthetic tracking data available that can be used for developing? (Preferable two different tools tools which move around all the time). If so, how can I enable it?
Currently if I try to access the tool configuration or to initialize tracking I only get Configuration file [] is not valid, could not configure the toolmanager. in the console.
There is a debug feature available:
Preferences->Debug->Run Debug Tool
This will create a tool and move it along a hardcoded path determined by the extent of the currently loaded volume. In order to work, this requires that you already have loaded a volume.
You should consider if you really need this. Alternatively, simply turn off the auto-start tracking in
Preferences->Automation->Auto Start Tracking
The auto-start streaming can also be turned off.
If what you need is to move the slice planes, note that the mouse also is a tool which always is present. this tool can be moved by interacting with the 2D views or directly in the Tool Properties Widget.
Another debug feature is:
Preferences->Debug->Debug manual tool
This will give manual tool the properties of the first physical tool (need to start tracking or at least run Tracking->Tool configuration). This can be used to move a probe or a tool. Will only allow you to move one tool though. To show the tool you will have to right-click in the 3D view and select "Show Manual Tool".
The manual tool can be moved by clicking in 2D/3D views or by using the "Tool Properties" widget. To change the tool orientation you have to use the "Tool Properties" widget (press the Toggle Edit Matrix button to open the tool controllers).
Combining this with "Run Debug Tool" (described by Christian) can give you two moving tools, one following a hardcoded path, and the other one controlled with the manual tool.

Eclipse debugger for GEF editor

I have a GEF editor which represent a finite state machine. Editor's input (and output) is XML. What I am looking for is a way to debug my editor visually.
The way editor works is you create a state Start->Email->End, XML that is created is send to the server and there magic happens, of course Email object has properties that you set: from email, to email, subject, etc. What I am looking for is a way I can launch a debugger and step through each step of execution. So for example if I break at Email step I would be able to see what message was, whom it was for and what server returned at the end.
Is this something that is possible to accomplish and if so are there any articles I need to read to familiarize myself with how to create this debugger?
I found some discussion about Eclipse debuggers (1,2) but nothing about what I am interested in doing.
There are two different issues here.
One is writing a debugger engine, that manages the execution of your model, for example steps the execution, allows querying the variables/states, etc., and another one that outputs the result in your editor.
The articles you have linked work with the first issue: creating an engine that executes the model in the background, and integrates the engine into the Eclipse environment using 1) the launch framework to execute it similarly as Java programs, and 2) allows displaying the state in the textual editors.
You want to display the state in graphical editors. Because graphical editors have much less in common, the back-annotation of the debug state has to be done manually (instead of the generic support for text editors). Basically, I would create actions that set up breakpoints, and update the model to be able to store/query the execution state, and then update the GEF views to display it on the GUI. For this you have to change your Figures and your EditParts at least, and possibly other places as well.