Questions tagged [startup]
Startup usually refers to the processes or events that occur at the start of a program, at the beginning of execution of a code block, or when a device is first booted.
2,756
questions
-3
votes
0
answers
15
views
Which AWS EC2 OS to be chosen like Amazon Linux/Ubuntu etc.? [closed]
I am looking to get an AWS EC2 instance for my startup which could be cost effective and which can handle max 25000 requests/second.
0
votes
0
answers
15
views
Shell Startup vs. Common Startup?
Just a quick curious question -
What is the difference between these two commands? It looks like they point to different folders when I run them. I see guides that use each of them-
Shell:common ...
-1
votes
2
answers
33
views
How to use Options pattern to bind Json value as a string from appsettings.json file
Im building a Web-Api. How do I use the Options pattern to bind a json string value from my appsettings.json. The value in my appsettigs.json file is an escaped json string as shown below (this has to ...
0
votes
1
answer
79
views
what is the maximum number of photo one instagram supports
The question is just the subject.
I am thinking of creating an app that pushes all the images from my phone to an Instagram account, which will keep the pictures in a private state.
So essentially ...
0
votes
1
answer
31
views
Running script at startup with python
I'm trying to create a python script that automatically runs at startup but since I need it to work on all platforms it cannot be run with something like Task scheduler on Windows. Is it possible to ...
0
votes
0
answers
17
views
HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit aspnetcore6.0
I am facing below issue while switch VS2019 to VS2022. I am not able to run my API project its throwing below error. I Search on google and look many articals but not got success. Please suggest to ...
0
votes
1
answer
15
views
Startup script to run detachted screen, switch user, and run multiple bash commands
I want to create a small startup script that does multiple things in a row in a screen.
The script starts a named, detached screen (screen -S discordbot -d -m works)
The user inside the script is ...
0
votes
0
answers
38
views
R error-normalizePath(path.expand(path), winslash, mustWork)
I was provided a new work computer and I was granted admin rights for the weekend. I installed R version 4.2 but get this error when it starts up:
normalizePath(path.expand(path), winslash, mustWork) :...
0
votes
0
answers
12
views
Image on app startup (Android Studio - Kotlin) [duplicate]
I am wondering how to when someone open my app on Wear OS to make something what I saw on Spotify, Google Keep, Maps... To when I click image of app in app menu it that second icon of my app be in ...
0
votes
0
answers
6
views
Creation of a platform for scientific studies and surveys
I am looking for competent people to create a platform for scientific studies and globalized surveys. I would like each human being to have an identification number (identity verification is important ...
-4
votes
0
answers
33
views
How can I make my java program run on startup automatically [duplicate]
I have made a java program that automates a task I do whenever I start my computer but how can I make it run automatically on startup?
BTW if you guys know any library that has some direct interaction ...
0
votes
2
answers
69
views
How to run Bash Script on startup and keep monitoring the results on the terminal
Due to some issues I wont elaborate here to not waste time, I made a bash script which will ping google every 10 minutes and if there is a response it will keep the loop running and if not then the PC ...
0
votes
0
answers
23
views
How to run a piece of code once after an android app has installed?
I have seen similar questions on this but all seem old and (in my opinion) do not provide a robust answer.
I would like to run a piece of code once after the app has installed.
Previous answers have ...
0
votes
0
answers
12
views
Login at startup debian
I need help. I got installed Debian 11, and I neeed remove user login an password after start system to proceed reboot system without ask for user name an password at the startscreen on Debian. I am ...
2
votes
2
answers
39
views
Python script not able to find package when executed from terminal at bootup, what am I doing wrong? [Raspbian]
sorry in case this is obvious or redundant, I've been looking around on this site for an answer to this problem but I couldn't find anything that would fix it
What I am trying to achieve is executing ...
1
vote
0
answers
77
views
Why MAUI app startup time on iOS is so slow?
I am facing a problem that MAUI app startup on iOS is much slower than on Android or Windows.
The deployment is done using Visual Studio Version 17.3.0 Preview 1.1 and I have tried to create and ...
0
votes
0
answers
8
views
Owasp bwa Virtual machine showing error during startup
After importing the .vmdk file and creating the virtual machine, during the startup the machine halts and a message is displayed:'The machine has stopped due to a critical error.'
0
votes
0
answers
11
views
Accessing appsettings.json from startup.cs of another project in .net core 3.1
I have two projects: webAPI and IdentityServer4. these two projects maybe deployed on different physical paths.
I want to read appsettings.json of the main webAPI project and use those connection ...
0
votes
0
answers
21
views
How to benefit on "warm start" from the saved instance state bundle passed into onCreate() or onRestoreInstanceState()
After reading these Android documents, we feel confused about how to benefit on "warm start issue" from the saved instance state bundle passed into onCreate() or onRestoreInstanceState(().
...
0
votes
1
answer
66
views
How to debug startup of app run by SendTo menu
On Windows, I'd like for my FMX app to run from the SendTo context menu. If the app is already running I'd like for the second instance to pass its command line to the first and then exit. Code is ...
0
votes
0
answers
21
views
Certain earlier 64.bit R versions stop working after installing R 4.2.0
I'm having problems starting earlier versions of R (4.1.x) after installing R 4.2.0. The new version (4.2.0) starts fine, but when I attempt to start 64-bit 4.1.x RGui or RTerm, they just hang for a ...
0
votes
1
answer
26
views
How to speed up the app startup on a Java app using Heroku and CleverCloud?
Context: I am learning to code with a course run by my country's government. We are using Angular, Java Spring Boot and SQL to create a portfolio. They did not go into much detail on different things, ...
0
votes
0
answers
4
views
Unreferenced OWIN DLL seem to be executed at application startup
We are converting a solution to use a new authentication methodology. That methodology includes the OWIN DLLS. I made the changes and pushed them into the Git main branch for testing. This kicked ...
-1
votes
1
answer
89
views
SPRING BOOT UPGRADE CAUSES ISSUE WHILE STARTING UP
I'm trying to upgrade spring boot version to 2.6.6 from 2.2.x, I got
ClassNotFoundException: org.springframework.core.metrics.ApplicationStartup.
The pom.xml below:
<parent>
<...
0
votes
0
answers
16
views
How to make .ipython\profile_default\startup folder available for vitual environments
I have some custom script file in my ".ipython\profile_default\startup" folder and i want my virtual environments to be able to make use of this, but it does not. Does anyone happen to know ...
1
vote
1
answer
26
views
app crash due to android.content.res.Resources$NotFoundException:
I made my app and it work well in emulator and many actual device.
Recently, I checked crash report on Google play console and found crash report "Caused by: android.content.res.Resources$...
0
votes
0
answers
36
views
Running Open-Liberty as a non root user
We are trying to run an Open Liberty on a Red Hat server 7.9, however, the service will not start.
Systemd script which is starting the application is giving the following message:
OPENLP.service - ...
0
votes
0
answers
13
views
Webpage first loads the main section of the page and then the header?
I have a problem with my new page https://escape-boat-dubrovnik.com/.
So a webpage first load main content of the page and then heard of the page with a slider and menu?
I make this site in WordPress ...
1
vote
1
answer
31
views
How to find kernal time of real device using flutter?
Please, I want to find the kernel time of my application and I want to test it on a real device. Is there any way to find it by using flutter?
Also, I use this command: flutter run --trace-startup --...
0
votes
0
answers
16
views
Android studio Bumbleebee 2021.1.1.23 at the start shows "Start Failed"
When I start Android studio it shows the splash screen with the bumbleebee and after this I am getting "Start Failed". And a long list - see below.
I tried to unistall, install again, but ...
0
votes
0
answers
29
views
How do I start a python3 program using a systemd service?
For a project at university, I'd have to have a python program I wrote start on a device automatically. The issue is, that the service behaves in a "weird" way.
To be more precise:
After ...
0
votes
2
answers
70
views
A razor page can't be found after create a new one
I create "Pages" folder in my project and also an Index.cshtml in it with some simple code and after that run project to see if it is ok, continue then coding. but the browsers raise this ...
0
votes
0
answers
228
views
Make a PowerShell script run on startup in the OOBE Sysprep environment
Thanks for stopping by, I've searched the corners of the internet but haven't gotten anywhere.
To provision devices for my organization, we must manually run PowerShell commands using SHIFT + F10 in ...
0
votes
0
answers
42
views
Fedora 35 PHP 8.0 / 8.1 Warning: PHP Startup: ^(text/|application/xhtml\+xml) (offset=0
I am using Fedora Linux ver 35 with PHP 8.0.x but recently encountered below error and the php codes failed to work.
PHP Warning: PHP Startup: ^(text/|application/xhtml+xml) (offset=0): unrecognised ...
0
votes
1
answer
38
views
C# Application (MSIX installation): Startup Task before User Login?
i have a question regarding auto-start an application:
I have a C# WPF Application, packaged as an MSIX installation.
And i successfully setup a StartUp Task via entry in the Manifest.
That works fine ...
0
votes
1
answer
42
views
variables defined in linker script not coming through in c++ startup file
I have the following linker script (left out irrelevant parts)
MEMORY
{
PROGRAM_FLASH (rx) : ORIGIN = 0x60000000, LENGTH = 0x40000
SRAM_DTC (rwx) : ORIGIN = 0x20000000, LENGTH = 0x10000
...
0
votes
1
answer
210
views
@reboot crontab has no effect
I have this crontab @reboot "/home/pi/Desktop/TV Scraper 2.0/run.sh" set up and for whatever reason it doesn't seem to run the bash file on reboot.
Typing "/home/pi/Desktop/TV Scraper 2....
1
vote
1
answer
78
views
How to get AppSetting values in startup by using services in asp.net core?
I want to get value of appsetting inside StartUp and also using services for saving them.
I create a static IServiceCollection method for AddTransient my custom service.
I define a readonly variable ...
0
votes
0
answers
43
views
Running VS Code in WSL in folder at startup
Is there any way I can automate this simple thing I am doing at every PC startup:
Go to Path
Open a terminal , switch to WSL
Run code . to open Visual Studio in that folder at Path
Is there any way ...
3
votes
3
answers
3k
views
.NET 6 - Inject service into program.cs
I know how to do dependency injection in the Startup.cs in .NET 5 (or before), but how do I do the same with the top-level Program.cs in .NET 6?
.NET 5: for example, I can inject a class in the ...
0
votes
0
answers
30
views
C# WPF Run function on Application Start [duplicate]
I need to execute a function when the program gets started. This function displays a list in a datagrid. How do I trigger this function? How can I detect if the Application was started?
2
votes
1
answer
200
views
Azure startup script is not executed
I've learned how to deploy .sh scripts to Azure with Azure CLI. But it seems like I have no clear understanding of how they work.
I'm creating the script that simply unarchives a .tgz archive in a ...
0
votes
0
answers
12
views
Using eye-scanner hash for crypto wallets
I have read in an article that a company named worldcoin is generating a hash from an image of a human eye. They claim that this is to unicly identify a person and to prevent multiple accounts. The ...
0
votes
1
answer
253
views
How to write program.cs file for .NET 6 Library Project? - getting error "Program using top-level statements must be an executable"
I keep all the data related classes, interfaces, configurations, etc in a separate library project so it can easily be reused for any other project I need (API, WebAssembly, Mobile, Server Pages, etc.....
0
votes
0
answers
34
views
How to simulate cold start for an iOS app?
The buffer page caching causes iOS cold start timing to vary widely with every launch. Is there a way to purge disc cache while exiting the app such that next cold start is really a cold one?
From iOS ...
0
votes
2
answers
167
views
How to run golang script in PM2?
How do you auto start golang scripts in PM2 on Ubuntu 20.04? this is how I run golang scripts:
./rimgo
I tried pm2 start "./rimgo" --name rimgo but it didn't work. What is the correct ...
0
votes
1
answer
58
views
How do you deploy a long running .NET Core application as an App Service?
I have an application that mimics an equity market. One part of it, generates price changes and POSTS them to a consumer sending roughly 100 price changes roughly ten times a second. The second part ...
0
votes
1
answer
91
views
WPF Application not launching after Windows startup
My Application will not launch after Windows startup, the application is registered in the register editor with the right path to my application exe.
Register Editor ScreenShot
here is my code to ...
0
votes
1
answer
84
views
pm2 process using the old system Environment Variables on resurrection
I have created a node application that is for subscribing to an OPC-UA server and storing the data on our s3 bucket. I am using the node-opcua module for that purpose.
I am working on a Windows server ...
0
votes
0
answers
16
views
Trying to: setup pygame in python3 to play a constant background sound
What can I add to this to keep the sound playing?
It plays when I boot up, but STOPS as soon as I run the Main.py!
THANK YOU!!!!!
Play sounds with pygame
import pygame
# file setup
path = "/...