2,865 questions
0
votes
1
answer
69
views
Fail-fast bean instantiation strategy to prevent side-effects with @ConditionalOnBean
I have a Spring Boot application that depends on a library providing Spring auto-configuration.
The library defines a configuration POJO mapped to a fragment of the application's YAML config file, a ...
0
votes
0
answers
43
views
FreeBSD Jail Run .NET Application on Startup
I have just built a new NAS running TrueNAS Core, the main use of it is for storage but as a side task I wanted it to run my Discord bot written in .NET8.0 (C#).
TrueNAS Core jails use FreeBSD and I ...
2
votes
0
answers
330
views
How can I reduce the startup time of FastAPI? [closed]
I'm building a Retrieval-Augmented Generation (RAG) application using Python + FastAPI. I'm also running a Kafka consumer alongside the FastAPI app to process incoming text and generate embeddings (...
1
vote
1
answer
74
views
PowerShell: Script Restart on Application Close
all. I'm currently working on a script that is to do two things, both are pretty much the same.
The main priority is to have this script as the first thing running on startup and run a separate script ...
0
votes
1
answer
44
views
Transfer KeyVault data from Startup to service.cs file in .NET Core
I am retrieving secret information from KeyVault in the ConfigureServices method of my Startup class. How to transfer the data from Startup & access it in the service class?
This is what I am ...
1
vote
0
answers
127
views
PowerShell throws error 80070057 sometimes when adding printers
I have a relatively simple powershell script, basically check for existing printers, remove the ones that aren't approved, then add the ones I specified.
The script is failing at the add-printer ...
-1
votes
1
answer
67
views
How to profile startup of ASP.NET Core app locally?
I have this app which takes ~12 seconds to start and another 10 seconds to start accepting requests. Which I would like to make faster specifically for members on my team. I would be satisfied with ~3 ...
1
vote
1
answer
72
views
How to Automate Flutter Device Selection on Android Studio Startup? (Android Studio)
Every time I start Android Studio, I have to go through the same routine:
Moving the mouse to the dropdown menu for Flutter Device Selection
Clicking on "Refresh" so that Flutter Device ...
0
votes
0
answers
87
views
Setting startup options in Python/IPython environment (2025)
I want to set the startup options in Python/IPython environment (jupyter notebook), to run some codes automatically, with every new notebook.
There exists a post discussing this, but it is 9 years old,...
1
vote
0
answers
65
views
Issue: Jupyter Notebook Default Directory Not Updating
Environment Setup:
Jupyter Notebook is installed under a virtual environment ana-env.
By default, Jupyter Notebook starts in C:\Users\<username>.
Steps Taken to Change Startup Directory:
I ...
0
votes
0
answers
24
views
Prevent build events from running multiple times across referenced projects in Visual Studio 2019
I am using Visual Studio 2019, and I have a solution where a project references other projects.
Each project has custom build events defined that run an external .exe file. For example, in the Post-...
1
vote
1
answer
852
views
Fix for Apache Solr 9.7.0 Windows Start-up Issues
Problem
When trying to start Apache Solr 9.7.0 on Windows using either basic start command or cloud example, you might encounter these errors:
With basic start (.\solr.cmd start):
Failed to parse ...
0
votes
1
answer
45
views
Powershell to exe Start-up script, loses python's key listener focus
I'm trying to implement a Powershell start-up script, which calls a python file. When the shell calls my python file it never has focus. When I go into the start-up folder and run the script myself, ...
0
votes
1
answer
40
views
NullPointerException when I invoke method from @Schedule of @Startup @Singleton bean
When I try to invoke method of @ViewScoped Bean from @Startup @Singleton bean I always have an error NullPointerException. I use @Schedule annotation method to call @ViewScoped bean method, why it ...
0
votes
1
answer
108
views
Is there a way to get the web app domain in Main() (program.cs)?
When my application starts I want to have it create the sitemap.txt dynamically. Doing so requires I have the domain of the website which differs for the dev and production slots.
Is there a way to ...
0
votes
1
answer
185
views
My C#/Winforms app doesn't show up at startup
I developed a start up for my C# app using Visual Studio (means: that if the PC turned on, the app will run). But if I turn on my PC, it will not show. I tried to check the registry keys (for this we ...
1
vote
2
answers
1k
views
Fix for java.lang.SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver... in Flutter (Android)
Problem
I got the following error when trying to start a flutter sample app, in my case the flutter gallery, on an Android device:
E/AndroidRuntime(20352): FATAL EXCEPTION: SplitCompatBackgroundThread
...
0
votes
2
answers
156
views
How to resolve unkown session "startup" after Vacuum full
Last night we did a vacuum full operation on partitioned tables.
A few hours after the vacuum full, I found cpu rising with an unknown session called “startup” when queried by top command.
We cannot ...
0
votes
0
answers
93
views
Script works well when directly ran but not as startup app
I've made a script for helping me to automatically open some softwares I use for defined kinds of work, which name is Profile Chooser. For example, I have a profile on Firefox and one in Brave for ...
1
vote
1
answer
1k
views
FastAPI - switching out OpenAPI.json after it has been generated - where to put code?
FastAPI generates the "openapi.json" file and provides an interface to it.
For an experiment I need to replace this with a third party file.
from pathlib import Path
import json
app....
0
votes
0
answers
135
views
STM32 not starting when input voltage not dropping to zero
I am facing start-up issues during power on for the STM32L433.
When voltage comes from zero everything works fine. But, if I disconnect the power supply from the wall socket and its internal ...
0
votes
0
answers
63
views
Starting the desktop app again results in not being able to use port 7200
I was running graphdb desktop successfully, but when I went back to try to run it again it failed because it said port 7200 was in use. But opening http:localhost:7200 shows nothing is running
I don'...
-2
votes
1
answer
795
views
Launching Visual Studio 2022 Community edition... how?
I've just installed VS-CE under Windows, after the install it started up, I even managed to build and run a simple GUI project. I shut the IDE down, but when I tried to start it up later there was no ...
0
votes
1
answer
636
views
How can I run a piece of code only once at the first start of the application in jetpack compose kotlin?
My question is about how can I run a piece of code only once at the first launch of the app in kotlin, jetpack-compose? I have, for instance, some list initializations which I want to perform only ...
0
votes
1
answer
438
views
How do I restore access for the Powershell to the C:\Windows\system32\powershell.exe path?
a while ago my antivirus (360 total security free version) for some reason flagged the powershell as a virus or something and modified its settings. If I remember correctly it quarantined some file ...