ArcMap Python Add-in Extension Listening Self Defined Events

Is there a way to build a python add-in extension listening a self defined (Non ArcGIS) event?

Specifically, I need to build the extension listening to websocket. This means I need to keep my python websocket script running. Once it receives a signal, it executes another python script.

How to properly automate CM based on log events?

Let’s say I have a number of tools like Docker bench security, some static security scanners, etc. Now I have let’s say free Ansible edition (no expenses are considered).

I have lots of logs, but not much automated, actionable info that triggers scripts. What is a proper way to automate link between static scanners and CM tools like Ansible and Jenkins?

Should it go like:

  1. Parse logs for set of errors and then automatically trigger “correcting scripts”?
  2. Just run a playbook once in a while as it checks the state before doing anything?
  3. Use tools/plugins for Ansible?
  4. Something else?

Are there option strategies that exploit mergers and acquisitions events

Are there any option strategies that can profit from mergers,acquisitions and buyouts?

I don’t mean insider trading, I mean after the news is out but the deal has not taken place yet, are there any ways to capture alpha by trading these events?

Is it similar to an earnings play, betting that volatility will increase upto the day of the earnings, and then it will drop when the earnings are disclosed?

Handle real time rule based events generated by IoT devices

I am working on IoT project in which I need to send alerts to users based on rules which already defined by user like if Temperature value matches certain condition then send alerts to users and their are multiple conditions.
I achieved to send the alerts to users when condition matches by using following steps:

  1. Store threshold values, condition of a device in mysql.

  2. When the device data comes to server I checked the current value with given condition with threshold value and send the alert.

  3. And also there are multiple conditions associated with devices so I need to check each and every condition.

Is there any technology that I can use in my project.

Java calendar library with support for recurring events / exceptions, etc

I am looking for a calendar module/library that I could use in my simulation. My idea is to fill such calendar with events, single shot and recurring. This calendar should be able to give me next upcoming event or list events occurring during given day (date). I will also need to be able to reschedule single occurrences of recurring events (e.g., reschedule occurrence of recurring event that would fall onto Saturday to Monday) or delete occurrences of recurring events.

So far I have only found ical4j. But I do not specifically need iCalendar support so I am looking for alternatives.

While at this point my implementation language is Java, I would be willing to switch to Python or Perl or C++ if there is some kind of awesome library that would totally rock in one of the tree languages. 🙂

Is it possible for Salesforce Platform Events to cross orgs intentionally?

Let’s say, for whatever reason(s) I have two orgs (maybe not me personally, but two businesses doing business together).

Let’s say org A publishes a Customer_Event__e (for whatever reasons).

Would it be possible for org B to subscribe to events on org A?

(I mean, WITHOUT creating some proxy on another platform that could catch the event and forward it in some other fashion.)

When will the drug events api ( be updated with 2018 Q2 data

I see that on the FDA adverse events reporting (FAERS) public dashboard the data is already as of June 30, 2018 whereas on the API its still as of March 31, 2018.


“time”: “20180329”,
“count”: 288
“time”: “20180330”,
“count”: 237
“time”: “20180331”,
“count”: 20

FAERS Public Dashboard with data as of June 30, 2018

How are events in the context of Event Sourcing different from Commands?

In the context of domain-driven design, events usually describe something that has already happened (domain events, integration events). Commands on the other hand are directives that may or may not be executed in the future. This distinction is also given in another SO answer.

However, in event sourcing, we have events that describe the delta of a change – these events exist even before objects apply() them, and are persisted in an event store. In a sense, they have characteristics of both a domain/integration event and a command.

How am I supposed to name and distinguish these kinds of events from real domain events? Are they not basically the same as commands?

Heatmap of events, I can’t get the right resolution

With QGIS 3.2.3., I’m trying to create a heatmap of a set of events (ie: bikes passing on a road). This is the original vector.

enter image description here

What I’m trying to get is a heatmap with darker colour where a lot of bikes have passed, and light colour where a few have.

I’ve tried two approaces:
1) Gdal > Vector Conversion > Rasterize
2) Interpolation > Heatmap (Kernel Density)

I’ve tried with several parameters, but I always get, a result which is not satisfactory:
1) I get a single pixel where I had an event (so just 0/1 resolution)
2) I get very large circles, going out of my scope
(I attach here two examples).
Can anybody help me to set the right parameters?
enter image description here
enter image description here

OpenLayers Interaction – events are returning wrong features

Trying to extract the drawn features on openlayers. I have written the below code and it is working fine when we draw polygon on four objects. But, when we try to draw polygon on three objects it is returning four features instead of three, not sure why the function(evt.feature.getGeometry().getExtent()) is returning four features when polygon drawn on three objects on a map.

draw = new ol.interaction.Draw({
        source: sourceMeasure,
        type: /** @type {ol.geom.GeometryType} */ ('Polygon')

            function(evt) {
        // set sketch
    }, this);

            function(evt) {

        var extent = evt.feature.getGeometry().getExtent();

        vectorSource.forEachFeatureIntersectingExtent(extent, function(feature) {

            var layer = feature.get('LAYER');
            /* here my logic is written and it working fine with four coordinates */


    }, this);