text
string
meta
dict
Q: Failed installing 'Tomcat8' service in windws I tried to install tomcat on XAMPP and it was not installing and it was showing like Service was NOT (un)installed! so on cmd E:\xamp\tomcat\bin>service install i run this and it said........ Installing the service 'Tomcat8' ... Using CATALINA_HOME: "E:\xamp\tomcat" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add_custom_command for a target is always executing This is a simplification of another problem. But it boils down to the last add_custom_command (one which appends), which I want to only execute when the target T1 is build. However currently the problem is that every time I run make, the Appending file.. command is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Memory allocation for different type of singly list nodes in C I am in the process of building a linked list for later use. Basic singly direction list, defined like so: typedef struct { char *name; char *content; } first_type; typedef struct { char *name; char *content; } second_type; typedef unio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JavaScript in IntelliJ IDEA Community Edition Well, I would like to have JavaScript running in my IDE. The question is: how to run JavaScript in Intellij IDEA Community Edition? It is possible or just for the ultimate version? (cause I can't find the javascript and typescripts plugins)....I liked the Jetbrains IDE, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get user inputs to an excel file in Shiny dashboard? The dashboard I prepared with shiny can be seen in the image. I want to store the user inputs in an excel file. How can I store all of these input values in an excel file which will be in the same directory if I press the button? Code can be seen below; ui...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can MySQL statements be auto-generated from an entity-relationship diagram? I am designing a simple program based on the following outline: Step 1: Write a SQL script to populate the DB with: 1. root admin 2. test user 3. test booking 4. test ticket 5. test movie Administrator: id (int) | movie id (int) | user id...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: child class get undefined value when calling parent function I'm writing a playwright test and figure out that my application have a lot of similar page structures. So, I try to create an abstract class call BaseApplicationPage with the purpose to reuse them for pages in my application. The abstract class look like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merge multiple C++ function call graphs to obtain a global function call graph I want to extract a project-wise function call graph in C++ for static analysis purposes (no need for graph visualization). I tried using doxygen, which uses graphviz to extract .dot files, which are exported visually in the documentation...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Show/Hide footer on scroll Im trying to make a footer fully showing in the bottom once I scroll. https://teste.contahl.com/ It is working on desktop, but not in mobile, can someone help me with? Tkx CSS--- footer{ position:fixed; bottom:0; height: 10vh; width: 100vw; transition: bottom 0.2s ease-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NPM Notice when installing any npm package I keep receiving the following notice(shown below) whenever I install an npm package. Not sure what I am doing wrong, tried reinstalling node.js as well. "npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: all brew commands are giving error: An exception occurred within a child process I was facing some issue with valet working, and I tried the solution given on the link not able to install anything because of brew no such file or directory error . Although I stopped the brew uninstallation in the middle on reading th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Blockchain in Food Traceability System: Is it implementable as a Capstone Project? I have a problem with a concept that I have. I want to develop a blockchain-based food traceability system as research-technology based capstone project required for our Bachelor's degree in IT. As a college student, is it implementab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to stem tokens using list comprehension? I extracted a series of texts from an xml file (with BeautifulSoup) storing them in a list of strings(each string is a text). Now I want to modify that list of strings with list comprehension so that it becomes a list of lists where each list-item contains the lowered st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I show a message from a websocket-connection which is build with laravel-websockets in the back and laravel_flutter_pusher in the front? Hey lovely flutter developers, I have successfully created a connection from my flutter app to my laravel-websocket server and I can display triggered events from laravels ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating users using MS Graph REST API v1.0 Exception handling I am creating users for B2C using Graph REST API. I am mapping the user object and using this line to create the user var status = await graphClient.Users.Request().AddAsync(user); I want to add exception handling but the status returns a User object. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Nested .so libraries to hide class from user I’m creating a project in which I want someone else to be able to modify a main.cpp file, defining objects of a class B, which inherits from class A. But I want the user not to be able to instantiate objects of class A. Can I use this structure or is there a better way? β”œ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send email directly from Android device in Kotlin? I am curious about sending emails from an Android device directly. I tried to do so using sendgrid, but I got a conflict in the HTTP library. I also tried to achieve that using Intent, but with Action SEND.TO I can't detect if user actually sent the email or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Uncaught TypeError: Cannot read properties of undefined (reading 'map') in my website When I try to run the code, it gives me this error Uncaught TypeError: Cannot read properties of undefined (reading 'map') at setDatasets (utils.ts:57:1) at cloneData (utils.ts:94:1) at renderChart (chart.tsx:43:1) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord Websocket sent 1009 (message too big); no close frame receive I tried to get open a websocket on discord but keep getting this sent 1009 (message too big); no close frame received async def testsocket(token): async with websockets.connect(f"wss://gateway.discord.gg/?v=9&encoding=json") as ws: pay...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NodeJS – extracting text from .pages document? I'm failing to extract text from .pages document (version 12.2.1). Is there any package that can do it? Searching for the solution online is harder than I expected, due to the extension naming... So far I wrote this: import fs from 'fs-extra'; import unzipper from 'unzi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I have a problem with python float data type when I write print(4.1-3.9) in python it answers me 0.19999999999999973 why is this happening? the answer should be 0.2
{ "language": "en", "url": "https://stackoverflow.com/questions/75565704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Django 4: How to modify MultiPolygonField from nullable to not-null I am trying to convert my MultiPolygonField field from this: multipolygon = MultiPolygonField(null=True) to this: multipolygon = MultiPolygonField(null=False) It looks simple, so I execute "makemigrations" and I get the usual message warning that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Making Gridview responsive I have created a custom Widget to show a gridview. class ListaGrid4x2Experiencias extends StatefulWidget { const ListaGrid4x2Experiencias({Key? key}) : super(key: key); @override State<ListaGrid4x2Experiencias> createState() => _ListaGrid4x2ExperienciasState(); } class _Lista...
{ "language": "es", "url": "https://stackoverflow.com/questions/75565708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using a fn try_parse(value: T) to consolidate different TryFrom implementations for different T Suppose I have a struct call SevenDigits, as its name suggests, it is a type that consists of 7 and only 7 digits. struct SevenDigits([u8; 7]); I have implemented the std::convert::TryFrom trait for three types: &str, Ve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I have a file with multiple sheets, and I want to create the same graph on each sheet, with based on that sheet's data Each month, I gather statistical performance data, and this data is exported into Excel files. Each file contains data for several hundred persons, each of whom performs a certain job. There's about...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to return more than one array from a function in java Is it possible in Java to return two or more arrays from a function I tried to return two arrays from a function normally but encountered an error A: Here is a simple example for getting a int[][]: public class MyClass { public static int[][] getArrays(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: import npm packages to bare javascript html Trying to import an npm package to bare JS/HTML served with python/flask. <script type="module"> import { configureChains, createClient } from "./node_modules/@wagmi/core"; import { bsc } from "./node_modules/@wagmi/core/chains"; import { Web3Modal } from "./n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Changing behaviour of chrome back arrow button I am navigating the user to chat page when the user login but when the I click on back arrow[provided in image] then it won't let me to move back cause when I click on that it sends me to http://localhost:3000/login and again it will redirect me to http://localhost:3000...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can't able to host server api using my mobile hotspot ipaddress in python? app = Flask(__name__) app.run(host='192.168.184.101',debug=True,port=8000) app.config.from_pyfile('customerdbconfigure.py') and also i have included this ip in settings.py ALLOWED_HOSTS = ['192.168.184.101'] also tried running python mana...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I change class self.variable in iteration How can I change a class self.variable in iteration through list? class GS: def __init__(self, aaa): self.aaa = aaa self.white_queen_castling_currently = True self.white_king_castling_currently = True self.black_queen_castling_curr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to concatenate date using an array using start of the week and then day of the week I need to concatenate a date but the week starting is given only once at the start of the week and then the day of the week is given. An array would be ideal. See this sheet. https://docs.google.com/spreadsheets/d/1qRKZie-_zkn5Ji...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase Storage Takes 10 Minutes To Load Can Someone please explain why do I have to wait for so long for my Firebase Storage page to open? Extremely slow! A really frustratign experience with this Firebase services. It just won't load all the time. Sometimes I need to wait for an hour, open the website again to ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Dark mode adding Background Swiftui I am trying solving problem with SwiftUI and dark mode. I have this code for navigation button. NavigationLink { AppInfo() } label: { ZStack { Image("info") .resizable() .frame(width: 36, height: 36) .tint(.primaryColor) }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Use a variable in an array to name new variables in a loop I have an array of team names teams = ['Team1', 'Team2', 'Team3', ...] And I wish to use this array to search through a dataframe and create new variables with the team names to perform some operations. for i in teams: search = df[(df['Team'] == i) & (d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use the 'navigationBarNSToolbarSection' method in the 'UINavigationBarDelegate'? How to use the navigationBarNSToolbarSection method in the UINavigationBarDelegate? When implementing a Mac Catalyst app, and trying to show the toolbar only at the '.content' column, I don't get the navigationBarNSToolbarSection...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: data in text file to JTable in Java Netbeans My data in text file it's look like this - * *ID:A000 *Name:Admin *Username:admin *Password:admin *Permission:admin * *ID:S000 *Name:Staff *Username:staff *Password:staff *Permission:staff * *ID:E001 *Name:Kunthida *Username:staff001 *Password:staff001 *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: queue.deque for gcp tasks using firebase-admin-sdk const { getFunctions } = require("firebase-admin/functions"); const queue = getFunctions().taskQueue(queue-name); queue.enqueue(payload, { scheduleDelaySeconds, dispatchDeadlineSeconds: 60 * 5 }) In firebase-admin-sdk there is this p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can any custom Tensorflow layer be converted to TfLite? In Tensorflow, you can either have separate data preprocessing or integrate preprocessing layers into your model. The latter is beneficial, because you end up with a model that is end-to-end. Unfortunately, the examples in the Docs always focus on rather standa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Atom Searching for β€œgpp” failed.Hide output… certificate has expired I'm trying to configure Atom for C++ and use this video https://youtu.be/9aneqcQD1Gs?t=29. But I stop in 29 sec. and can't install anything. The error message says: Searching for β€œgpp” failed.Hide output… certificate has expired What is shown in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rerun a simulation in Modelsim after modifying a .svh file I'm simulating a SystemVerilog design with an `inculde "file.svh" directive that contains my parameters. When I update the file.svh and click on restart the simulation in Modelsim, the parameters don't get updated, until I end the simulation and start it aga...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: SendKeys: When sending to a certain application it does not work on all computers First time caller long time listener. Windows 10/11 .Net 4.52 Sendkeys command I have a simple application that uses the sendkeys command, its written in VBNet framework 4.5.2 and designed to send keypresses/keystrokes to a target appl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: htmx:targeterror in django project My objective is to click on a list item (an asset) to load and update a form, that is right next to the list, using htmx in django, but I am getting HTMX:Targeterror.. I believe I have given the hx-target correctly, I cannot figure out why this problem appears.. Someone, please hel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i can't use exceljs api I want to use excelJs in vueJs 3. but their example code doesn't work properly. exceljs is 4.3.0 my code is import Excel from "exceljs"; export default { methods: { greet(event) { const options = { filename: './streamed-workbook.xlsx', useStyles:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make type inference work for TypeScript generic method I'm trying to rewrite some C# code in TypeScript to no avail. Response type cannot be inferred unless I supply the base class directly. class CommandParameter { readonly value: string = "value"; } class Command<T> {} class SubCommand<T> extends Comman...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I don't believe my js is working no matter what code I try I'm trying to make it JS work, even though when I run the website on VS Code and use "Inspect Element" the JS seems to be recognized, it doesn't do anything on the actual website. I believe something is wrong with the linking between the html and the js but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PeerJS client unable to connect to server I'm trying to get a demo peer-to-peer connection working between the client and server. The server resides on 192.168.1.42:6942. Server.js: const express = require('express'); const path = require('path'); const { ExpressPeerServer } = require('peer'); const app = express()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keep git history file while changing its location I’ve created a branch from master in order to address a file migration from es5 syntax to es6. In that branch, I change the migrated file’s location as well as its unit test file and I do some other modifications. I've tried those commands: git checkout master git re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: trying to split the functions into .c and .h files but got compile error i made a tic tac toe game and tried to split that functions into .c and .h files. but i got compile error and cannot run. tried to figure out what the problems are but still trapped. i don't really know if this error occurred from the wrong .c ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add token inside localStorage I need to store token in localstorage when user authorized but after submitting <Formik/> form it doesn`t happen. I thought the problem appears because that property doesn`t exist. But console.log(Boolean(data.payload,token)) shows true. Token exists but unable to store it in localStora...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vectors of POSIXlt objects I have a data frame with columns of years, months, days, and hours. I want to add a column in which each row represents the POSIXlt object defined by the years, months, days, and hours on that row. The conversion for each row is straightforward, for example: library(dplyr) library(string)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Modulus in for-loop no output #include <stdio.h> int main() { int num = 90; for (int x = 0; x <= num; x++) { printf("%d", num % x); } return 0; } My code doesn't seem to do anything. I wanted my code to print the remainders if we divide 0 to 90 to 90 but my code doesn't seem to do anything...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the pattern for calling an object, which runs endless loop, from another thread, in Rust? I have a ClientManager object, which manages join/leave actions of websocket clients (using simple_websockets library), by fetching events from the lib's event_hub. I create it in main(): 1: let event_hub = simple_webs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clarification needed with understanding of the flow of OAuth2 for user registration/login I've been researching this topic quite a lot lately and found myself very confused - I know I'm definitely missing some information or have a misunderstanding, so I'd start by giving context to what I want to achieve and what m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sum rows of 2D array with elements of 1D array I have two ndarrays: a = [[1, 2], [100, 200]] and b = [10, 20] Is it possible to get such ndarray using numpy: [[1 + 10, 2 + 10], [100 + 20, 200 + 20]] A: You just need to transpose the first array, perform the addition, then transpose back: import numpy as np a = np...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Pandas list unpacking to multiple columns I have a pandas DataFrame with one column containing lists, like: >>> import pandas as pd >>> d = {'A': [1, 2, 3], 'B': [[0.1, 0.2, 0.3], [0.4, 0.5, 0.6], [0.7, 0.8, 0.9]]} >>> df = pd.DataFrame(data=d) >>> df A B 0 1 [0.1, 0.2, 0.3] 1 2 [0.4, 0.5, 0.6]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: showing black screen when rendering 3d model .obj file on webpage I am trying to render 3d model .obj file on webpage using Three.js. I am not getting any error on console. But 3d model is not shown. I have tried previous related solutions but not worked for me.Like: Model not rendering on screen On rendering getti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run the localhost on HTTPS instead of HTTP I am unable to run the localhost on HTTPS instead of HTTP on windows10. Actually I want to call an API which is HTTPS and right now I am getting CORS error while calling the same. Will the error get resolved if the application(localhost) run on https instead of http? If yes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error connecting to database - MongoDB Atlas, NodeJS Application Before anyone says anything, I tried these 2 solutions. It didn't work: * *Error at connecting to MongoDb Atlas Server *Node.js and MongoDB Atlas Mongoose Connection Error So I have a DB on Atlas and I'm trying to connect is from Node JS app using M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: To save complete audio file after adding effects like pitch, speed, reverb, and echo and without completely listening or playing it? I have used the below function to Change the effects of the audio file with the use of avaudiomixer and avaudioengine. The problem is I need to listen to the complete audio to save the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Bypass .dll injection prevention Given a program which prevents .dll injections (maybe specific dll injections), is there a way to bypass that prevention? I tried to use process hacker and suspend some of the threads of the process, but it did not work (maybe because the mechanism is implemented in the main thread?)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to achieve dependency injection in replacing feign client in a spring boot application if i have the following service implementation: ` @Service @Slf4j public class ServiceImpl implements Service { private final FeignClient feignClient; @Autowired public ServiceImpl ( AnyClient implements ) { this.anyC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tailwind CSS - NavBar does not overlap the content I tried by making it relative, also tried by changing z index but still it is not working, I am new to tailwind, I want NavBar should stick and remain at the top and content should go behind the NavBar. function App() { const navbarData = [ { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can Kruskal stress be used with metric mds? On this site(Stress attribute -- sklearn.manifold.MDS / Python), Kruskal stress is used to metric mds. However, looking at the wiki(https://en.wikipedia.org/wiki/Multidimensional_scaling), metric mds uses raw stress and non-metric mds uses Kruskal stress. For this, I'm con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does this code work with range from 2 to about 19000 but doesn't work with a higher range? I am trying to do a programing challenge that popped up as I was googling something. The point is to print 5 characters from a string of prime numbers starting at the position of the solution argument, which can be from 0 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to implement themeColor in NEXT.JS 13 using MUI how to implement themeColor Tag in NEXT.JS 13 using MUI "dependencies": { "@mui/material": "^5.11.10", "eslint-config-next": "^13.2.1", "next": "^13.2.1", "react": "18.2.0", "react-dom": "18.2.0", } //layout.js export const metadata = { tit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't Import Pre Trained ResNet34 for U-Net Segmentation I load the pre-trained ResNet34 for my downsampling path in encoder with this code from tensorflow.keras.applications import ResNet34 from tensorflow.keras.layers import Input # create the ResNet34 encoder inputs = Input(shape=(512, 512, 3)) encoder = ResNet3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Security allows create user but becomes invalid the next day Im relatively new to Java and Spring and completely new to Spring Security. I have an old login app I made using Spring Security, which became a bit of a Frankenstein app, but it worked. I recently added a new section to the web app and it was worki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My simple Spring Boot app isn't returning the webpage When I send the GET request to the mapping "/", I receive NotFound errors. Here is my @Controller class: @Controller public class Store { @RequestMapping(value = "/", method = RequestMethod.GET) public String home() { return "home"; } } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to position the text to be in the middle of the top border of a table using css I have a table and now I need to position a piece of text on the top border of it. To look like: Desired Text positioning Also to make it be resizable in a window as I have tried positioning it but it keeps moving around also when I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Function inside another function and making a list out of the functions My Float project is about creating a list for each 'Value' input that the user writes until the user writes 'done', then the 'Pivot' input comes and two lists are to be printed. List for items less than 'Pivot' and list for items greater than 'P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Variation of Bin-Packing problem with class constraints I am working with the following variation of the Bin Packing optimization problem: We have n items with different weights that can be classified into two classes (X and Y). Each item needs to be assigned to a bin where all bins have the same fixed capacity. As ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Django: AutoFields must set primary_key=True After doing a python manage.py inspectdb on my already existing PostgreSQL database, and generating the models, I'm getting this error when I want to migrate: app.PatientHasPhysicallocalization.id: (fields.E100) AutoFields must set primary_key=True. Here is my generated ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Github pages, my images wont show up. My images folder wont update to lower case I recently created a project, but my images are not showing up. During my initial push, I was able to get the images from my index.html to show. However, I learned that Github Pages is case sensitive, so I made everything lowercase. Now...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I Sort the array by appending the elements to the end and how to traverse the i and j to get the correct solution? You are given an array A of size N.You need to sort the array A You are allowed to perform some operations on A In one operation you do the following: Select any element of A and move it to the e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to use Shopify metafields in the theme app block dynamic source settings? How to use the metafields (or app.metafields) in the block settings? The idea is to save the app.metafield on the app storefront and let merchants use this dynamic source in the theme app settings something like {% schema %} { "n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Chrome on Android shows "Navigation is blocked" when user clicks on generic upi intent link On a specific subset of Android devices on Chrome stable version 110, when trying to open a generic UPI intent "upi://...", Chrome blocks navigation and prints a "Navigation is blocked" error on console. The expected behaviou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I create a learnable parameter or weight vector whose values are either 1 or -1 I need to build a neural network which is known as learnable parameter or a weight vector. In that way, only one vector will be generated and multiplied with the data. I have created that as following: from tensorflow.keras.layer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: order of execution of several fetch calls What I'm trying to do is: from my single page application, get data from an API using fetch. If the JWT is expired, ask the API for a new JWT and then renew the request for data. I tried to implement this with 3 functions: getData calls fetchData. If fetchData returns a JWT ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Removing objects from a queryset by ID optimal implementation I have a queryset of 1000000 objects MyModel. All objects in queryset have an ID. I pass a list of ids to remove, for example: ids = ['1', '23', '117', ...] # len = 100000 Then, i need to delete objects in queryset with ids. List of ids can contains non-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Search for a container across all nodes in a swarm I'm playing with Docker Golang SDK. I aim to search for a container with a name across all nodes in a swarm. I could not find any better solution. Any pointers in this direction would be helpful.
{ "language": "en", "url": "https://stackoverflow.com/questions/75565841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: rsync: inclusion of only specific directories does not always work I am writing a script to create incremental backups with rsync. I have an includes file to only include specific directories of a sub-directory. The rest should be excluded. Everything works as expected with the source directory I am testing with, bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Compare value in cell with previous non-empty value in the same column and format accordingly [Google Sheets] I'm logging entries of price changes for certain products and would like to make these changes visually scannable, by formatting increases in price in red and decreases in green. I'm playing with conditional...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I map a NetworkX plot onto a Rectangle? Below is a typical planar plot generated by networkx. It's great in that it finds a way of generating a plot given the appropriate graph. However, I want to take that plot and map it onto a rectangle (so that it looks more like a normal geographic map) and likewise try...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to overcome terminal failure to create react.js app I tried creating a react app in vs code using the inbuilt terminal It kept giving the directory of the app as an output.However it had worked previously but my PC went off (due to low battery level) just as it started downloading and now that I'm trying it agai...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Firestore large Collections and Documents optimization I have a Firestore database containing several Collections, but one will become potentially huge since it is recording measures on a long term, meaning potentially millions of Documents. The requests to retrieve those Documents can be quite long that's why I won...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Table loaded from sharepoint list into PowerBI missing columns I've loaded a table from a sharepoint list. There are five columns with identical field type. All settings are the same. Four of the columns show, one is missing. In PowerBI desktop I tried refresh data in a lot of ways. The missing data didn't show.
{ "language": "en", "url": "https://stackoverflow.com/questions/75565861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I return an array from a function? (React) I have a function that does some logic and returns an array. This function is called by a component. However, while the function works and is executed, I'm not getting the result returned in said component. export default function rate(tasks) { const ratedTasks ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In Jetpack compose Where to create ViewModel if i don't use Fragment or Activity I'm using Stream Chat SDK for my e-commerce app. At Stream Chat's documentation they are using Activity and they can easily declare their default viewmodel by using viewModels delegation like that : TL;DR: How to create viewModel in a c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: collectionView height not set According to content Height how to use two collectionview inside one ViewController with UiCollectionView Height set two fixed height and may varied according to content size ? BY using NSLayoutConstraint in UIKit.please help me on this.when I try to add cell after the spacing get added...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i have imported a react component but it is not showing in page App.js import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; import Login from './components/Login'; import './App.css'; function App() { return ( <div className="App"> <Router> <Routes> <Route path="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Dragging Down Skipping Rows I have been working on this for the past several hours. I have researched other post and cannot get my issue fixed. I would like to copy a formula in cell G4 and drag down inputting the following information. Cell G4=M4. Cell G10=M5. Cell G16=M6. Cell G22=M7. Skipping every 6 rows and so ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot run Python script after i run Batch script I have a batch script that changes my working directory on drive E: where I want to execute the Python script preciseclock.py. The batch script is named pathtVI. @ECHO OFF E: set path="E:\VIRTINS Multi-Instrument 3.9\AutomationAPIs\TestAutomationPython" cd %path% Wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Iterating Column Value Replacement with Dplyr I have a data frame with multiple columns that I need to iterate through and update the "Yes" values with a "val" from the "coeff" dataframe. I've tried str_replace and replace but am unable to get the values in the df to update. The col (column name) and val (value I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In Blazor how do you trigger a method in the current razor page from a navigation bar click? I have a Blazor WASM app in which I want to run a method within the current page's code block as the user clicks the home page button in the navigation bar - the latter being a component within MainLayout. I've created a sim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: keydown event is not getting triggered I have an iframe inside my react app where I'm loading google docs to copy some content into my internal tool. But when I use CTRL + C, content is not getting copied, also keydown event is not getting triggered when I do console.log. <iframe style={{width:"40vw", height:"100vh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I dynamically list a nested object? I have a problem with the code that should display a movie's cast when the user selects a movie from a drop down list. No matter what movie is selected, it is always the cast of the last movie that is displayed ("Fantastic Mr. Fox"). I can't figure out what is wrong with my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to break from stream in Java 8 while doing forEach() on it? in Java 8, I want to break a stream while iterating over it on some condition. Let's say Stream<String> initialStream = Stream.of("cat", "dog", "elephant", "fox", "rabbit", "duck"); List<String> list = asList("cat", "dog", "elephant", "fox", "rabbit", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Google Sheets Loop over range How can I iterate through range in Google Sheets without copy-paste lines? I have formula like this: =IF(ISBLANK($B$2), 0, OFFSET(Vitamins_data_start_offset, MATCH($E5, Vitamins_list, 0), MATCH($B$2, Products_list, 0))*$C$2/Product_weight)+ IF(ISBLANK($B$3), 0, OFFSET(Vitamins_data_star...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Control the rotation of two objects in unity3d I am trying to achieve a sequential rotation. When the first object reaches its maximum rotation, the control of the rotation stops being the first object and starts controlling the rotation of the second object. This one also has minimum and maximum rotation, if it goe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prevent Luxon from adding the timezone offset at datetime object creation Creating a datetime object with luxon by providing a day, month, year, hour,minute and Timezone. I have users supply a date string that is sent via ISO string. For example 2023-03-02T08:30:00.000Z I have a copy of the users timezone in my data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }