37,992 questions
0
votes
0
answers
14
views
Loading images in HTML – Differentiation between no response and error response
I'm building a kind of gallery app. Users are adding images by inserting URLs into the database and the HTML page is then hotlinking those. Obviously, because of link rotting, the gallery is full of ...
Advice
0
votes
0
replies
27
views
How to show push notifications in Angular 17 when receiving SSE events (even with the browser tab inactive)?
I'm using Angular 17 and Spring Boot 3.3.0, and I have Server-Sent Events (SSE) working on both the backend and frontend.
I need to display a push notification in Angular whenever a new SSE event is ...
4
votes
2
answers
161
views
Excel VBA Type Mismatch on Row Delete
I have a "simple" comparison that is generating a "Type mismatch" error when I delete a row in the worksheet (worksheet change event fires).
If Target.Column = gblScheduled And ...
0
votes
0
answers
21
views
My Laravel 12 spatie laravel-medialibrary - ConversionHasBeenCompletedEvent was not fired in EventServiceProvider
I try to listen to ConversionHasBeenCompletedEvent to delete the original image after the conversion has been completed, but this event did not trigger in my listener.
I'm using spatie laravel-...
2
votes
1
answer
85
views
Catch mouse enter and leave signals from AppplicationWindow in GTK4 Python
I'm creating a Gtk4 app in python 3 and I want to trigger a state change when the user mouses over the ApplicationWindow but I'm banging my head against a wall trying to figure out what signal string ...
0
votes
0
answers
26
views
How to properly coordinate consecutive Livewire 3 events between sibling components to reflect loading state in Alpine.js?
I have two sibling Livewire components: a country select and a city select. When the user selects a country, I want to:
Notify the city select to show a loading spinner (via loading-cities event)
Load ...
0
votes
0
answers
49
views
Can fluentbit write or pub to redis on output?
I'd like to ingest server access logs via Fluentbit and then do some modification using the filters and output the results to Redis. All on the same server.
Is there a Redis output plugin or would ...
0
votes
0
answers
14
views
How can I subclass a JComobBox and handle events there but, have access to the top level class?
How can I move then event handling into the subclass of a JComboBox? I can make it work if everything is in TopLevel but, I want to move the event handling (actionPerformed(ActionEvent e)) into a ...
0
votes
1
answer
106
views
Multi threaded file search app using events and critical sections not working as expected
I built this multi threaded file search using Events and Critical sections.
I have a single thread (FolderThread) to locate all the folders recursively, and multiple threads (FileThread) to look for ...
0
votes
0
answers
75
views
Invoke_Invoked event in Accessibility Insights for Windows
I have an issue with catching Invoke action.
I created a simple WinForms app, with a single text field and a single button. I want to catch the Invoke_Invoked event in the Accessibility Insight ...
0
votes
0
answers
78
views
GTK Attempting To Catch Key Press in Eventbox, Lacking Understanding
I'm trying to modify the popular waybar program (which can be found here). Waybar is a highly customizable status bar that organizes various visual elements into "modules", which can respond ...
1
vote
1
answer
94
views
OneNote COM Application Interface events with Python
I would like to use the Python win32com library (part of pywin32) to receive events from the local OneNote Application Interface (as documented here). Note this question does NOT relate to the newer ...
-2
votes
1
answer
91
views
Impossible to create events with "react-native-calendars"
I'm trying to create an event to display with the react-native-calendar library.
The timeline displays correctly, but the problem is that I don't know how to display the events in the timeline.
I've ...
1
vote
0
answers
84
views
@RecordApplicationEvents (still) not working for async events
I tried to switch our application to use Async Events. Now our event publisher tests fail.
I found a few posts mentioning this https://github.com/spring-projects/spring-framework/pull/30020
So with ...
2
votes
1
answer
61
views
Implement same task for two different user interfaces in Kotlin [closed]
I am working on a program which has both a TUI (terminal user interface) as well as a GUI (graphical user interface).
The program has some functions which take quite a long time to complete (waiting ...
1
vote
1
answer
82
views
Add event to style WinUI like css
I'd want to modify the event onmouverover directly in the style and not on the button. I'd like to do manage events in WinUI xaml like in css is it possible?
Something like :
.joinBtn:hover {
...
0
votes
1
answer
64
views
ReactJS - Javascript addEventListener does not remove the listener function at component's unMount
I have added an event listener to "keydown" event in my ReactJS application. Because of a third party library, I'm adding it via setTimeout in a useEffect, this component is like a popup, so ...
0
votes
0
answers
51
views
How to send event from MainActivity to React Native in new architecture (bridgeless mode)?
I have following implementation (I've skipped imports and some parts):
class MainActivity : ReactActivity(), DefaultHardwareBackBtnHandler, PermissionAwareActivity {
var communicationModule: ...
3
votes
1
answer
139
views
Moq.RaiseAsync results in System.NullReferenceException Moq.Raise works fine
Problem
While writing tests for a .NET 8 and Moq 4.20.72 App (same situation in .NET 9).
I found that while invoking an event VaccumPumpActivationEvent with
mockCommunicator.Raise(e => e....
1
vote
0
answers
37
views
Excel web - new style checkboxes - is there an event to do work when they are clicked?
In Excel Web, I have a column containing a new style checkbox in each cell. I would like to add a date to the adjacent column when a checkbox is checked.
To do this, I'd like to run a script when any ...
2
votes
1
answer
92
views
powershell -Action Scriptblock doesn't care about closure
My problem is fairly simple:
I'm trying to execute a file on a timer elapsed event.
I use a closure to preserve the value of my variable.
But I think I struggle to understand what is the lifetime of ...
0
votes
2
answers
129
views
laravel model withoutEvents not suppressing event
I am working with an application built on Laravel 11. I have a Survey model with the following public function:
public function finish(): void
{
$this->update([
'finished_at' => ...
0
votes
0
answers
20
views
Control.Validating event not firing
Good morning. I have a problem I hope you can help with. I have a simple production management package consisting of about 15 programs. To help with consistency and reduce typing and bugs, I created a ...
0
votes
1
answer
51
views
MySQL 8.0 Stored Procedure Showing as Slow Query Due to Total Execution Time
I have a stored procedure that runs daily to archive data from a large table. It moves data in batches of 10,000 rows from table_name to table_archive_table, and deletes the moved rows from table_name....
0
votes
1
answer
38
views
How to handle cross-platform keyboard shortcuts with Alt + Z (Windows) / Option + Z (macOS) across different keyboard layouts?
I’m trying to implement a keyboard shortcut that triggers when the user presses:
• Windows/Linux: Alt + Z
• macOS: Option + Z
The problem is with using event.code === 'KeyZ'. It works fine on a ...