All Questions
23,926,126
questions
0
votes
0
answers
2
views
.Net 6 core app on linux with strange behavior - requests pile up and then seem to process in batches
We have been running into a problem where we see slowdowns in request times when 1500 or more concurrent users beginning using our dotnet core backend. The max times can get into the 200 second range ...
0
votes
0
answers
2
views
Debugging Xamarin app using Safari Web Inspector with iOS16.4 not working
On a Mac with the iOS Simulator running, if I go to Safari -> Develop, it shows "no inspectable applications". You used to be able to inspect the web page in the simulator but looks like ...
0
votes
0
answers
2
views
react useState not updating while filtering Data
when i click on Country name unable to bind data to useState.
const [sortedData, setsortedData] = useState();
const onsort = (ctryName: string) => {
const sortedemp = empsalaryDetails....
0
votes
0
answers
2
views
How can I help pnpm find it's global directory?
I've got a clean install of pnpm, v 8.8.0 on windows 11. When I try to intall a global package I get ERR_PNPM_NO_GLOBAL_BIN_DIR Unable to find the global bin directory. I've tried pnpm setup --force. ...
0
votes
0
answers
3
views
Is it possible for argv[n] to have a length of 0?
I am checking the length of an argv argument, and am wondering if I also need to check it for 0?
Prove your answer by quoting the Standard, POSIX, or some other relevant source.
0
votes
0
answers
4
views
How link information of one column with each other in R
I have a dataset with approximately 1.5 million individual who can be distinguished in their household with “Household ID”. The dataset has a column (relationship) that specifies the relationship ...
0
votes
0
answers
4
views
Is there a way to check what object a decorated classmethod binds to?
I want to do some runtime type checking on a property that's decorated with @classmethod (making sure the classmethod decorates a property and not some other thing), but I don't see a way to do this ...
0
votes
0
answers
3
views
(Vue 3) How to set icon image by background property in css?
How to set image with background property that is in public folder?
|_public
| |_images
| |_icon.png
|_src
|_components
|_TheHeader.vue
I'm tring to set image into TheHeader.vue with ...
0
votes
0
answers
2
views
ESP32 HTTPS OTA. Why embed server certificates?
I've been trying out HTTPS OTA updates using the sample program.
https://github.com/espressif/arduino-esp32/blob/master/libraries/Update/examples/HTTPS_OTA_Update/HTTPS_OTA_Update.ino
It works as ...
0
votes
0
answers
2
views
SQL - I need to find patients that have received an x number of procedures in y amount of time
I am needing to do some analysis of healthcare patients that have received a certain drug, I need to know for patients that received that drug, how many times have they received it, and for how long ...
-1
votes
0
answers
8
views
How do i make code write and read text to a self-hosted website
So i want to make a chatroom in python and to send and receive text, the code sends the message written to a self-hosted website, while the other person's code scrapes the text from that website ...
0
votes
0
answers
3
views
shader uses descriptor slot (expected `VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER`) but not declared in pipeline layout
the full error
[ VUID-VkGraphicsPipelineCreateInfo-layout-00756 ] Object 0: handle = 0xa43473000000002d, type = VK_OBJECT_TYPE_SHADER_MODULE; Object 1: handle = 0x4b7df1000000002f, type = ...
0
votes
0
answers
3
views
Remove leading zeros with special character in SQL server field
I have a column in a MS SQL table titled Device.
Device
DC_003_08TX
DC_010_04TX
DC_100_10TX
DC_004_00TX
DC_120_119TX
I'm trying to write a query that removes the first 3 characters (DC_), ...
0
votes
0
answers
3
views
HTTP Error 414 when routing to login page
I am developing an application using ASP.NET core 6 MVC. Razor pages Utilizing the Entity Framework and Identity as well. The problem I am getting and cant seem to debug is:
whenever I used the ...
0
votes
0
answers
5
views
PrimeReact theme doesn't apply correctly to PrimeReact components
I'm trying to make a Menubar PrimeReact component for my React app, and I'm trying to apply one of the PrimeReact themes by importing it and it makes the page look weird.
I'm trying import "./../....
0
votes
0
answers
3
views
Neural Prophet: n_lags and n_historic_predictions Possible Issue
I am currently practicing with Neural Prophet, and want to train a model based on some data for number of people entering stores in the time frame of January 1, 2022 to May 30, 2023. The original data ...
0
votes
0
answers
4
views
Selecting specific columns for CassandraRepository dynamically as per GrapqhQl query's return fields
For the following graphql request:
query{testInput(testQueryInput:{xyz:"test"}){
list{
field1
field2
.
.
}
}
}
I am using ...
0
votes
0
answers
6
views
Credentials for link to google sheets not working in replit but working in idle python
class GoogleSheets():
def __init__(self,color,sheet_name,StartRowIndex,EndRowIndex,StartColumnIndex):
self.color = color
self.sheet_name = sheet_name
self.StartRowIndex = ...
-1
votes
0
answers
10
views
College Homework SQL Assignment
I am trying to write a SQL query for one of my college classes and just cant seem to figure it out! Here is what I have right now and the picture but I am almost positive that this is incorrect and if ...
0
votes
0
answers
6
views
How to use Angular as a widget?
I am creating an application in Angular that will serve as a widget
To create the JS file of the application I am using ng build
This generates the files in the dist/project
How can I embed my widget ...
0
votes
0
answers
4
views
Switch MTA-STS from testing to enforce without receiving any reports
I've added MTA-STS to our email. The MX records are correct and are accepted. This is also confirmed by MTA-STS checks with e.g. mxtoolbox.com
Our TXT file can be reached by https://mta-sts.domain.com/...
0
votes
0
answers
10
views
RStudio - fatal error while loading a workspace
I have a saved workspace in the project directory.
I can't load workspace image. The RStudio is crushing after running for sometimes and aborting with fatal error message
I just tried to load... it ...
0
votes
0
answers
3
views
Is it possible for a module to have event listeners that will react to application events?
I am very new to Quarkus and I would like to know if it is possible to have a separate module registering (and reacting) to application (custom) event listeners.
I am trying Quarkus by writing a ...
0
votes
0
answers
4
views
How do I define the fargate task definition health check to run a custom script on a windows container?
I created a fargate task definition for a windows container.
I observed in the fargate documentation (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html) that the health ...
0
votes
0
answers
3
views
Craft CMS 3 GetQueryParam Query parameter always coming back as null from user input
Implementing a search bar in craft cms 3 application and query is always returning null from user input. Entries are always fetched correctly, searchTerm as shown in the code is always null. NO errors ...
0
votes
0
answers
5
views
redshift regexp match, extracting YYYY-MM-DD format
Could you help me for extracting strings in redshift?
if I want to extract sting after year_month , how should I write the SQL?
info = {marketplace_id:1,year_quarter:2022-06-30,l2_browse_node_id:...
0
votes
0
answers
5
views
fs.readDirSync doesn't return the files in a folder
I have this small class that consists of a few methods.
export class imageHandler {
id: string;
imageFolder: string;
jobFolder: string;
bucket: Bucket;
constructor(id: string, imageFolder: ...
0
votes
0
answers
3
views
Access the cached result of an RTK Query without access to the arguments used in the original query
I have a query at the moment that requires two arguments be included. Imagine I am accessing it like so:
const { data, error, isError, isLoading } = useGetBillingSummaryQuery(
{ subdomain, ...
0
votes
0
answers
3
views
Why is TIDHttp.head generating 'HTTP/1.1 406 Not Acceptable' exception
I'm trying to use TIdHttp.head('https://www.myurl.com/myfile.zip'), just to get the file size before downloading it.
I get the filesize so i can open multiple threads downloading parts of the file in ...
-1
votes
0
answers
8
views
expressions are not allowed at the top level keeps popping up in swift ui
I am completely new to swift and played with some codes but whenever I write a code it keeps showing "expressions are not allowed at the top level"
import UIKit
var highScore = 0
highScore ...
0
votes
0
answers
4
views
Napari doesn't display full resolution
I want to visualize a large tiff (65Kx35K) files using Napari 4.18 but Napari does not display the image at full resolution. Instead at best it display a lower and pixelized image.
See the attached ...
0
votes
0
answers
8
views
How to disable Proposed CMake Script Changes in Visual Studio 2022
This pops up every time i create a new file in CMake project.
Please tell me how to turn this off.
0
votes
0
answers
11
views
how do i create a toggle button to show and hide data
Im new to coding and stuck. Im creating a list when a button is clicked. the data for the list is coming from my backend server. Now when i click the button again another set of list data is added on ...
0
votes
0
answers
5
views
Predictive Text on textual responses to and from data points
I'm trying to create a predictive text application that has to/from data entries - this would become a speech based application - when a transcript picks up key words - I want to be able to provide ...
0
votes
0
answers
5
views
SseEmitter does not work after update to spring-boot 3
I have an application that tests another application with a set of data. When this test runs, it takes some time, so I used SseEmiter to display the progress.
After updating to spring-boot version 3.0....
0
votes
0
answers
6
views
com.datastax.oss.driver.api.core.DriverTimeoutException: Query timed out after PT2S
Using spring boot v2.7.3 and Spring Data Cassandra dependency to connect to the Cassandra database. Application is running successfully. When I click on graph, its showing .... Whitelabel Error Page ...
0
votes
0
answers
5
views
How to upload files from a form containing three individual file upload fields?
I'm trying to figure out how to use PHP 8 to upload files from a form containing three individual file upload fields, each cooresponding to a table field in a mySQL database.
I've created the ...
0
votes
0
answers
5
views
Constraints for postgres Table column name from another tables row
Consider the DDL in POSTGRESQL
create table table_data (
id int primary key auto_increment,
table_name varchar(255) not null,
column_name varchar(255) not null,
column_type varchar(255),
...
0
votes
0
answers
4
views
exception shared sql variable in flutter for two different navatigationrail
There is an exception in the following code
import 'package:flutter/material.dart';
import 'package:sqflite/sqflite.dart';
import 'package:path/path.dart';
import 'package:sqflite_common_ffi/...
0
votes
0
answers
6
views
athena prepared statement how to pass multiple values in IN cluase
i have a prepared statement with IN clause
SELECT locationId,
location,
FROM location_type
where city in (?)
and userId = ?
i tried executing the above query with prepared statement query
...
0
votes
0
answers
6
views
Jupyter returns empty cell when executing SQL with jupysql
I used SQL in Jupyter with jupysql magics %sql and %%sql. It worked fine until it didn't. Now when I execute SQL it does not print out the result in the output cell. I suspect conflicts with any ...
0
votes
0
answers
4
views
FEEDBACK/SUGGESTIONS
I would like to get feedbacks on my personal project(weather app) which I have built from scratch using technology(React Js) . Any kind of suggestions would highly appreciated.
https://github.com/...
0
votes
0
answers
8
views
Comparing 2 different dates per person/member
I am trying to pull data comparing two dates per person, i.e. discharge date to the next admin date for each patient within 30 days. Also, there could be multiple discharge dates and admin dates.
Pt ...
0
votes
0
answers
15
views
Unable to access individual elements in a list of tuples
I'm a beginner python coder and I've been scratching my head trying to access different elements inside a list of tuples. So far I have this code:
import nmcli
import os
try:
aplist = nmcli....
0
votes
0
answers
3
views
VBS Outlook Signature name lenght problem
Hi I use a vbscript to generate outlook signature and apply that via a logon script , the script is working just fine. I tried to change my code to sets the signature file name in a format like "...
0
votes
0
answers
4
views
Is there a way to tell how far behind a Lambda event mapping for Kinesis is?
I have a Lambda subscribing to a Kinesis stream through an event source mapping.
My understanding is that the event source mapping stores the last processed record id (per shard) as a part of its ...
0
votes
0
answers
5
views
Swift Combine chain 2 network request synced
so i am kinda new to Combine and i am trying to do 2 network requests one after another.
func fetchData2() {
loading = true
print("👻 fetchData")
_ = userService....
-1
votes
0
answers
13
views
UnboundLocalError: local variable 'driver' referenced before assignment in python 3.10
new to python could someone help on this
import pytest
from selenium import webdriver
@pytest.fixture()
def setup(browser):
if browser == "chrome":
driver = webdriver.Chrome()
...
0
votes
0
answers
11
views
React Promise.all not waiting for all promises to resolve before continuing
I have the code below but when i upload a file and parse it the promise.all does not complete before the reload takes place and i cant figure out why, this file contains roughly 380 datapoints but at ...
0
votes
0
answers
13
views
Background in html
Hii guys I'm new to the community
So I am currently trying to make an html website using pycharm I did most of it now but I want to add a background picture or colour.
Does anyone know the code for it ...