Latest Questions

Springboot Actuator Refresh does not reload @Value properties in @ConfigurationProperties

I have a springboot application that ingests an application.properties via @ConfigurationProperties and @PropertySource("classpath:application.properties"). My

Confirm form resubmission - ASP.NET 5 MVC

I have two controllers Booking and Checkout. Posting form data from controller Booking to Checkout index get page. I want to retrieve the object submitted when

Cannot deploy spring boot application with docker to aws elastic beanstalk with eb cli using docker compose

I have a problem here! I cannot deploy spring boot application to AWS Elastic Beanstalk with eb cli using docker-compose.yml Here my code! Here my simple API @R

Errors when trying to use secp256k1 on Mac. 'clang: error: linker command failed with exit code 1 (use -v to see invocation)'

I'm starting learning C, but I seem to have failed in installing my first library. I'm using a Mac. I found a simple tutorial to get started: writing a program

I would like to pass the values that i have in my view to a action

I'm developing a school project using a html.beginform to when i click in a button i go to a diferent Action, but i need to pass the values that i have inside m

Prevent rerender flatlist React Native

I have custom created calendar using Flatlist. In the parent component I have a state with starting date and ending date and Press handler function to update st

How to find missing dates in a DATE column

I have this kind of date table: I want to find/detect all blank dates between them, or showing how many days it skipped. I tried: SELECT date FROM tbl_attenda

Cohort Tracking in Power BI

I need to build a student cohort tracking pbix so as to show students who have progressed onto the next consecutive year, students who have continued their stud

Singularity: Fatal authentication error when pulling public image

I am new to Singularity and trying to get my first definition file to work. However, I am getting a fatal authentication error when trying to build the definiti

First occurrence of a specific value in a row (prepping for survival analysis) - python

I have the following data (see attached - easier this way). I am trying to find the first occurrence of the value 0 for each customer ID. Then, I plan to use c

Drop logs from promtail

I have prometheus + loki + grafana + promtail setup. I need to drop the logs which have the words healthcheck or health-check. My values.yaml file: https://gith

The url redirection is not working properly in laravel

Any false url redirecting to home page in my laravel site. It is required to be redirected to 404 page.

How to control memory usage of stream created on ksql cluster

We are using KSQL Version 0.23.1. We are seeing OOM issues on ksql cluster which has persistent stateless stream. Stream is just doing the point filtering on th

EFCore navigational properties are not mapped

I have a model Contact with three navigational properties of type Place but when I make a request in to database ids are filled but navigational properties are

Search Filter Issue in C# using SQL Server

I have some comboboxes and textboxes as search filter. Is it possible to keep some filters empty and get search result against selected / entered text? If someo

Spying on property changes with Sinon

I am stubbing properties with sinon. I have trouble understanding how the related spying works. Most of the sinon spy methods seem to be related to function cal

Can't connect to etcd via etcdctl

I have deployed etcd server(3.5.0) as a container on Kubernetes and am able to access the /version and /metrics endpoints via the fqdn in HttpProxy on my local

How to update MySQL column/row when datetime column < now?

I am making a platform where people can make bids on items for a price. I want to make it so that after a the expire datetime of the item, the database will aut

react-native-testing-library with typescript does not work

I've tried for days many ways to set up @testing-library/react-native with typescript following a sort of guides but still not able to render a simple component

Issue with trying to prevent hover effect from being applied

So, in my application I have the following HTML that is generated from my React application, which uses components from 3rd party libraries: <button class="b

Multiple REGEXREPLACE in google Sheets

i want to replace 3 caracters in one string =ARRAYFORMULA({REGEXREPLACE(A5,"c","a"); REGEXREPLACE(A5,"d","x");REGEXREPLACE(A5,"v","y")}) is possible? I want to

Insert NA values in Mysql table RMySQL

I am trying to insert a data frame row in a mysql table, but I have NA values in character and numeric columns. I'm getting this error: Error in .local(conn, st

C#: How to return optional ref to struct

In C# how do I write a function that may or may not return a ref to a struct? What I basically want is a return type Nullable<ref OutboxSlot> but the comp

FastAPI: Request from client side stays pending [duplicate]

I have created a simple fullstack app that needs to do some long calculations on the back on a specific request. In order to follow the progre

CAGR Calculation for different variables in R

I was inspired by these 2 photos. First I wanted to get a single value for each So I grouped them together and averaged them for each year.

how to identify type of noise (if Gaussian/salt and paper etc) in an image using python

Experts, From Noise Estimation / Noise Measurement in Image , we understood that if any image is having noise or not. but different types of noise has diffe

Tokens usage (login, communication among microservices, etc.)

I came across the concept of tokens recently. I am a bit overwhelmed by all these different concepts and would like to seek for your help. I understood there ar

Change Visual Studio 2022 Team Explorer default behavior

I used to modify a registry key to change the behavior of VS 2019 and older, so when I add a task to a Team Explorer Check-in (TFS) it automatically set the act

Find nth occurrence of a character in a row and replace it in Python, in order to fix/replace a wrong/leftover ";" separator in a text file

I would like to import a text file, with 14 columns with the symbol ";" as a column separator. So, if we have 14 columns, it means we'll find 13 ";" separators

How to make a custom 404 page?

I am making a rick roll site for Discord and I would like to redirect to the rick roll page on 404 response status codes. I've tried the following, but didn't w