38,094 questions
0
votes
0
answers
6
views
visibilitychange not firing on app switch on macOS
visibilitychange event is not fired when switching between apps when the window is not maximized.
I have pasted this code block in the console. While this is working on tab change, it is not ...
-1
votes
4
answers
73
views
WinForms: Communicate data from a user control to its parent form
I have a form and a user control on it. And I try to communicate data from the user control to the form.
When the user interacts with the user control, a user control's variable value is changed and ...
0
votes
2
answers
44
views
Animation cuts when i stop pressing :active css
i've been designing a button, then you press, then appears an ::after with content "copied!"
Ok, while ::after appears there is an animation, that animation triggers with :active property, ...
0
votes
0
answers
12
views
React Active Track Player - Is PlaybackActiveTrackChanged buggy? lastIndex does not seem to work
I noticed that PlaybackActiveTrackChanged event of RNTP 4.1.1 provides in lastIndex (same for lastTrack), the index of the track that is before the new active track in the queue but not as it is ...
1
vote
0
answers
8
views
Making the event calendar persistent, as updated events revert to today's date unless i navigate manually
I am working with the @event-calendar library. The calendar supports fetching, updating, and deleting events, as well as updating events by resizing or using drag-and-drop. However, whenever I update ...
0
votes
0
answers
32
views
How to handle event on data label in Vue Chart.js?
This is my chart component and I want to handle events on labels I define in data. I would like to show the tooltip with bar data when I hover on a label.
<template>
<Bar :data="data&...
0
votes
0
answers
19
views
Are timers in Node.js part of event-driven architecture? Do they emit events when they expire?
I was wondering if timers are actually part of event-driven architecture in Node.js.
However, I haven't found anything mentioning it in the official Node.js documentation.
Does it actually emit any ...
3
votes
1
answer
77
views
How to split events into periods of activity in postgres?
I have an events table that I'm using as a log for a distributed computing system.
It looks like so:
CREATE TABLE events(
id SERIAL PRIMARY KEY,
occurred_at timestamp with time zone DEFAULT now()
)...
0
votes
0
answers
11
views
Node js, data event not triggering
Can't get this piece of code to print out 'data' into console.
const { stdin: input, stdout: output } = require('node:process');
input.on('data', chunk => console.log('data') );
input.write('Hello!...
0
votes
0
answers
57
views
Excel, VBA, attach event to ListObject or Chart
I've got some code, that retrieves data from DB, creates a ListObject, and a Chart above.
When i generate a chart, i'm making some ~by hand modification - for example i'm changing individual bar color,...
0
votes
0
answers
19
views
uasyncio.Event not resuming main loop immediately after set on Raspberry Pi Pico
I'm programming in Micropython for the Raspberry Pi Pico. In my main loop I await for an uasyncio.Event, which I successfully set from an interrupt context.
I expected the code to pause and then ...
0
votes
0
answers
14
views
Event-based trigger based on cross-tenant storage events
I need to define a trigger where my ADF pipeline in Tenant A would be triggered each time a blob is uploaded to storage account in Tenant B. What would be the ideal endpoint type to use? I'm exploring ...
0
votes
0
answers
16
views
Call Custom Function when user clicks on a FormIO Text Field in react
I have a form implemented in formio which has couple of fields (FirstName, LastName). I am trying to do a simple POC to alert the firstName, LastName when user clicks on text field.
I have tried it ...
1
vote
1
answer
56
views
C# DLL with [ComSourceInterfaces] Attribute Not Working in VBA WithEvents
I am trying to use a C# DLL in VBA with events using the [ComSourceInterfaces] attribute, but I am encountering issues. Here's what I have so far:
C# Code
ITaskRunnerEvents.cs
using System;
using ...
0
votes
1
answer
46
views
Python Tkinter use dataframe resulting from one function def (self,event) in different function within the same class
I have a combobox in one "subscreen" and I am filtering the original dataframe with combo box value but I can't use resulting dataframe to show it in the treeview function or else where. I ...
-1
votes
1
answer
65
views
Why is oldValue ALWAYS undefined upon entering function onEdit? [closed]
In my script, I want to compare the value that has just been entered into a cell with whatever value was previously in that cell, if any.
Per https://developers.google.com/apps-script/guides/triggers/...
2
votes
0
answers
65
views
How to create Dictionary with generic list
I try to make simple event bus that can contains Dictionary with lists of events by type.
But I cannot find a type of this dictionary that would not give out errors. Please help me figure it out.
...
0
votes
1
answer
50
views
VBA Error Handling for Excel Errors/Dialog boxes
I have an Excel workbook that uses an RTD server to bring data in and I need to know when an error has occurred.
Usually the workbook stops working when Excel comes up with a dialogue box that says &...
0
votes
1
answer
45
views
How would I implement a cooldown for Events or Commands in Discord.Net?
In my MessageRecieved event handler, I have code that processes text that a user sent into a Discord Text Channel for keywords. If certain keywords are in the text, it'll return a GIF link(s) that ...
0
votes
0
answers
41
views
WPF main thread not blocked by WaitOne method when Windows.Deactivate event arrives
I have a very strange problem with my WPF application.
When an AutoResetEvent.WaitOne() method is called on the main thread, when the window loses focus and the Windows.Deactivate method is called, ...
2
votes
1
answer
66
views
Is there an event corresponding to the start of a new process that I can subscribe to without administrative privileges?
The following code starts conhost.exe which, in turn, starts a new instance of pwsh.exe. Process start events are filtered until the pwsh.exe process whose parent is that instance of conhost.exe is ...
0
votes
0
answers
10
views
how can I get underlying timeslot clicked on when I click on an event which spans multiple timeslots
I would like to get the underlying timeslot of a click when the click occurs on an event which spans multiple timeslots
My reason for wanting the timeslot is to be able to create extra events on top ...
0
votes
1
answer
21
views
Vue 3: Prevent Redundant Form Submissions When Resetting State Between Parent and Child Components
Issue: In a Vue 3 application, form submissions are being redundantly triggered. This happens even though @submit.prevent and event.stopPropagation() are used. The issue seems linked to the resetForm ...
1
vote
0
answers
39
views
Why is Unity triggering a mouse click event when I am only pressing a key on the keyboard?
I am following a tutorial, running Unity version 2022.2.21 <DX11> on Win10, and I am trying to add a button to a UI which can be clicked (mouse), to unpause the game. I am doing this by adding a ...
3
votes
2
answers
87
views
Is there an event I can subscribe to from a job that is raised when Stop-Job is invoked on that job?
The following code demonstrates that a long-running (but, in principle, cancellable) .Net method called from a job runs to completion even when the job is stopped:
$stopwatch = [System.Diagnostics....
2
votes
1
answer
41
views
How to implement a pause menu in my javascript canvas animation?
I'm adding menu states to an interactive canvas animation based on my edits to this MDN exercise. I want to pause the animation when I press esc (not hide it under an opaque overlay) and resume when I ...
0
votes
1
answer
27
views
Turn click event on and off
I feel lke there must be a more streamlined way to do this than re-executing the whole click event code each time.
In 'big' mode, I don't need the overlay, so I shut it off. But I want it to work when ...
0
votes
1
answer
48
views
Need Help from C# to VB.net Delegate Event GetInvocationList
I would like to translate code from C# to VB.Net. But I don't really understand what I can do at this point. I have 2 error messages.
"Public Event DisplayText As DisplayTextEvent" is an ...
0
votes
0
answers
25
views
Count the users that have clicked at least one of an events set in Looker Studio
I am using Looker Studio with a GA4 analytics property.
I have a series of events hit by users (event1, event2, event3) some of them have a parameter that needs to be taken into consideration for the ...
1
vote
0
answers
26
views
Is there a way to dynamically get all WebAPI dom events and related types?
I want to get a list of all events like MouseEvent and related types, for example MouseEvent -> click, dblclick, mousedown, mouseenter, mouseleave, mousemove, mouseout, mouseover, or mouseup
And ...
-1
votes
1
answer
20
views
How to make sure that the data modification events are delivered to SQS or Kinesis in correct order?
Let's assume the following situation:
There is a backend service, and it has CRUD endpoints for "insert", "update" and "delete" requests.
Each endpoint updates relational ...
0
votes
0
answers
15
views
Event system: What is the problem described in this example?
Recently I‘ve been learning about event systems. As done does, I also did a Google search on the topic and found the following example in a blog:
export class Signal<S, T> {
private handlers:...
0
votes
1
answer
96
views
How to implement event-based real-time status updates
I have recently seen a system design for bidding service and one of its use cases was real-time delivery of bid updates for a specific item (or a set of items) to the client.
The design was quite ...
2
votes
1
answer
39
views
Ensure Qt handles all message and update all properties
On the project I am working for we have a nice homebrew automated UI testing framework. The main application written in Qt/QML. Automated tests run in another process, connect to the application via ...
0
votes
1
answer
30
views
Manage multiples views with a single listener
Any idea how to fix this horrible code so that a single touchlistener can handle all the clicks?
// Devices
val devices = DeviceDAO(context).getDevicesByType(2)
adapter = ...
0
votes
1
answer
34
views
Triggering an event from an interface method's default implementation causing a compile-time error
I am trying to use the default interface methods feature in .NET 9, C# 13.
Consider the following interface:
public interface ICustomNotifyPropertyChanged:
INotifyPropertyChanged
{
public void ...
0
votes
0
answers
11
views
Is this possible to subscribe to record change event in Google looker?
Is this possible to subscribe to record change event in Google looker?
Do such event exist in Google looker?
Is this possible to implement any hook to get some rest service called whenever record ...
0
votes
0
answers
29
views
Protobuf compatibility for Events
I'm looking at protobuf for events, and struggling to reconcile with my understanding of schema compatibility/evolution.
With Avro and Json, compatibility rules are applied as follows:
API requests/...
1
vote
1
answer
48
views
Debounce Function in PowerShell
I'm attempting to create a simple debounce function in PowerShell. Here is what I have so far.
# timer.ps1
# Define debounce function
Function New-Debounce {
param(
[scriptblock]$...
0
votes
0
answers
27
views
How to have interactions with right mouse click as well as brush in d3
I have a scatterplot with a tooltip interaction on the points using the right mouse button. On top of it I added a 2D brush, it works perfectly, but I cannot iniziate brushing if I am on a datapoint ...
0
votes
1
answer
27
views
Magento 2 checkout call custom javascript AFTER order summary block loaded/reloaded
I want to run some javascript code every time the order summary block is loaded/re-loaded.
I am unsure of the best way to do this. I could override the get-totals.js file, but is there a way to ...
0
votes
0
answers
24
views
Prepare E2E test on ApplicationReadyEvent Java Springboot
I'm trying to create an E2E test for my ApplicationReadyEvent event of my component, the problem is that I need to create some infrastructure with LocalStack before the event is sent. The problem is ...
0
votes
0
answers
20
views
Google Calendar Integration: Storing Manager's Token Efficiently
I am working on a project where I need to integrate Google Calendar for event management. The objective is as follows:
Allow a manager to create events, which will then be displayed on a web ...
1
vote
1
answer
130
views
How to Create a Mouse Trail Effect in Playwright for Random Mouse Movements?
I'm using Playwright to automate browser interactions, and would like to create a visual effect where the mouse leaves a trail as it moves randomly across the screen, mimicking natural cursor movement....
0
votes
1
answer
40
views
UEFI Application: Unable to fetch the body of Http GET request
I am developing a UEFI application using the EDK2 environment and attempting to perform an HTTP GET request using the UEFI APIs. The event is not getting signaled after the Http->Response call. If ...
0
votes
0
answers
29
views
How to send notification or mail from Nestjs using Server Side Events to bulk inserted records?
In my code, the create method in AllocateVoucherController controller invoke the create method in AllocateVoucherService.That method create the record and emit the after-allocate-voucher event, that ...
0
votes
1
answer
42
views
How to wait (vkCmdWaitEvents) 2 different events most efficiently in one cmd buffer?
Say action 1,2,3 produce OutcomeA,
action 4,5,6 produce OutcomeB.
And,
action 7,8 needs OutcomeA, but don't need OutcomeB.
action 9 needs OutcomeB, but don't need OutcomeA.
If I wrote it like this, ...
0
votes
0
answers
61
views
Meta App Events have zero match rate with the connected product catalog
I am using a mobile SDK from Facebook to sent App Events. I am focusing on three essential ones - view content (fb_mobile_content_view), add to cart (fb_mobile_add_to_cart), purchase (...
0
votes
1
answer
43
views
Listening to content changes in Ace editor
I have to listen to content changes in an Ace editor. I figured out many ways to do it, and I would like to know the best / most adequate / canonical way to do it.
I am only interested in content ...
0
votes
1
answer
54
views
Can I detect changes in Toast UI Editor?
I'm using Toast UI Editor and I'd like to detect when there is a change to the input. Usually I would do something like textarea.addEventListener('change', function) but I haven't been able to find ...