text
string
meta
dict
Q: Login still happens even when password isn't correct I'm quite new to Redux. If I try to login with a wrong password it logs in, but it throws an error 400 (invalid email or password) in Redux Devtools. I don't know what I'm doing wrong. Is it from the authSlice? authService? or my login form? Register users works p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check if ellipsis is applied on multiline text in angular How can I detect if an element (in my case postBody) has an ellipsis applied, preferably using angular template variable #postBody as the content is dynamically bound <p> <span> [innerHTML]="data.body" [class.expanded]="bodyExpanded" class="post-bo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Winforms comboBox binding not working unless I press enter I have a Winforms form with a combobox that has its Text bound to a string property P1 on the form. When I run the app, select an item from the dropdown list of the combobox and then press Tab (without pressing Enter first), the combobox's SelectedIndex has ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you edit a scheduled release deployment in an Azure DevOps pipeline? I need to edit the schedule of a single release in my ADO pipeline. For now, I've canceled the deployment and now have to manually deploy at the time requested. I find this extremely inconvenient. I don't see how pre-deployment conditions can b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I don't know where the error is, I've tried hundreds of times but it still doesn't work. I hope someone can help me enter image description here Code snippet: from selenium import webdriver from selenium.webdriver.common.keys import Keys from getpass import getpass browser = webdriver.Edge() browser.get('https://pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Jenkins is unable to connect to a Git Repo despite having the correct credentials NOTE: in answer to the "association" of my question to the Git question cited, my problem has to do with Jenkins failing to accept a legitimate authentication. The question cited is a straight Git question having nothing to do with the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically populate sqlalchemy.Table I'm trying to create a table based on my pandas dataframe using sqlalchemy. As per the documentation, a table can be created with sqlalchemy as follows: from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String engine = create_engine('sqlite:///college....
{ "language": "en", "url": "https://stackoverflow.com/questions/75619500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I use a subquery that returns table names as table names in a Select Statement SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('last_update') AND TABLE_SCHEMA='testdatabase' works fine, to return all tables needed. Now I would like to use these tablenames as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Typescript JOI validation DATE This is how to validate date format in Joi using Typescript. * *Imports import coreJoi from 'joi' import JoiDate from '@joi/date' const Joi = coreJoi.extend(JoiDate) as typeof coreJoi; *Interfaces export interface DateDto { date_from : string date_to : string } *Valid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to skip protected and blocked Twitter accounts (Twitter API, Tweepy) I don’t have much coding experience so bear with me. I’m trying to collect tweets from a list of accounts using the Twitter API but I have the issue of my python program stopping every time it runs into a Tweepy 401 unauthorized errors due to p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My Discord music bot is not working as intended Hello I tried making a Discord bot with ChatGPT for funn and dont have any knowledge of Python. Can anybody tell me what the problem with my code is. So the bot runs normal and vs Code is not giving me any errors but if i type *play url... in my discord nothing happens...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to restart or reload Django when using it with gunicorn and nginx I recently started to learn Django I am a noob at it still , I just installed django with gunicorn and nginx on a Ubuntu 20 server, and now I am configuring my server but I can't find how to reload or restart Django , any help? I added my domain t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting the document.body of new window after using window.open() The main goal was to fetch/GET req a url (like a url to an IG reels) and it returns the HTML document. Since this isn't possible due to CORS, I'm trying something out as a workaround: * *Function activates with window.open() with desired URL *Windo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: changing and setting one level of a multiindex dataframe with a function Assuming a multiindex dataframe as follows THE (DUMMY) DATA import pandas as pd df={('AB30566', 'ACTIVE1', 'A1'): {('2021-01-01', 'PHOTO'): 2, ('2021-01-01', 'QUE'): 8, ('2021-01-01', 'TXR'): 4, ('2022-02-01', 'PHOTO'): 4, ('2022-02-01', '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can show warnings in Terminal if Console.log is used in React JS project? I want to restrict developers to add console.log in their commits so I want to show warning in React JS running terminal if they have used console.log anywhere is the project. I want to show warnings like this in the project: I'm using Es...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what is the issue with my training & test sets? I'm creating a recommender system using collabrative filtering, im using the grouplens ml-100k as the dataset and using the Surprise import and numpy to handle it. However i noticed an issue when running an RMSE test on the testset when i tried to split the testset fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return values from a controller to a HTML file in Spring Boot I'm currently having two problems with code: First the values that I enter in the input from the HTML go to the controller and get calculated but, I can't get them back to the HTML so it get shown in the Chart.js chart. The second but less problematic pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typecasting a pointer to undefined type doesn't produce compiler error I was writing a socket program and I mistyped the struct sockaddr_in as struct sockaddrr_in (notice an extra r), but I didn't receive any compiler error only incompatible-pointer-types warning. Here is a minimal reproducible program to demonstrat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Python - fetch the preexisting variable contain value For example, I have dictionary like data= {"a":{"b":100, "c":200}} based my requirement, instead of accessing the dictionary data["a"]["b"], I'm trying to access it like this var = ["a"]["b"] print(globals() [f'data{var}]) Error: getting keyerror print(global...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows service not stopping correctly if there's a space in the path name We've recently noticed a problem with the ActiveMQ Artemis 2.27.1 Windows Service created if the path to service contains a space. For example, with the pathname: C:\executables\my artemis\apache-artemis\bin\test_space_broker\bin" The servic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to choose the earliest day in a Vector (from "Mon" to "Sun") This method takes a list of dates and it returns the most frequent day within the dates. It returns correctly; however, in case of tie between the days, the earliest day should be returned. For example, if there was a tie between Tuesday and Friday, th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619526", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the safe way to initialize the UI? I've inherited an HTML file with quite a bit of DOM and it has the following code at the bottom to initialize the UI (using a library): <script> $('#foo').easyResponsiveTabs({ type: 'default', ... }); </script> This strikes me as unsafe since foo elem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: F5 not working in Vscode extension development I am creating a new Extension for Vscode. I am following the "youre first extension" guide. When i press F5 absolutly nothing happen. My sistem is: * *vscode version 1.76.0 *windows 11 x64 *node version v18.12.1 *npm version 9.2.0 things i already checked: * *No...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way in R to find the perpendicular distance between a point and a line segment? This question was answered here, but not answered in R language. I am a relatively new to coding, so I haven't been able to figure out how to 'translate' the accepted answer's C++ code into R code. As in the linked question, m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Apache ECharts xaxis labels not being fully shown I'm creating a chart with Apache Echarts for Angular, and I'm having trouble to see all the x labels. Here is the image of what I see. I need the first xaxis label to be align to the left, the last xaxis label to the right (so both are seen), and the rest align in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The node process stops waiting for data from the database server There are several DB queries that take a long time to complete (20-40 sec). Queries: A call to a stored procedure where the SQL query is being assembled and REF_CURSOR is returned to the OUT variable. In simplified form it looks like this: PROCEDURE se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update more than one object using Mongoose I'm creating a book website The user can create his account without having to put the photo and create comments, but I wanted that if he put a profile picture all the comments would update with the new profile picture. User model const mongoose = require('../db/conn'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lambda Function URL not respecting CORS I created a functions URL for my lambda function but when I set Allow Origin to * and exposed access-control-allow-origin header with allow credentials as True, even doing this will cause CORS issue when I try to call the endpoint from localhost $.ajax({url: "lambda.aws/funct...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SwiftUI iOS16 TextField .keyboardType add return key. How to? My app is in landscape mode and I have a textfield which is only numbers, so I put the modifier: .keyboardType (.numberPad) However when the keypad is open there is no return key and the button/navigation link is covered by the keypad. What is the best s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GC pressure in C# and .NET - How to detect the reason I'm developing a kind of screen sharing application and faced with the situation when GC works too often. I've implemented everything from [How to avoid GC pressure in C# and .NET] 1 but no results in fact. I've tried dotMemory and NetMemoryProfiler but cannot un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to show/hide Input fields based on radiobutton/checkbox selection in sap ui5? so I am doing a form and I need to display, lets say both of the Inputs if a radiobutton is selected. If it's not selected, nothing should happen and the user won't see these Inputs. They should be hidden if the box is not selected. In...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replace $1, $2, $3... in a String with an array of values I have a String command and a String[] args array of arguments passed to the command. Assuming the list is of the correct length, how would I replace all instances of $1, $11, ${12} with the corresponding argument from the list? For instance, if the command i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Blazor MAUI - SQL Server not connecting I am building a Blazor MAUI app which I am attempting to connect to my SQL Server. I am using Microsoft.Data.SqlClient and a connection string which was generated by my Visual Studio. In order to generate my connection string, I opened Views > Server Explorer in Visual Studio ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: `WriteFile` error 1006 when writing to VirtualBox-redirected USB flash drive I need to decompress an archive (.zip) file onto a USB stick, but after a successful number of CreateFile()/WriteFile() calls, I get various errors from WriteFile(), most of the time the first ones are FILE INVALID (GetLastError() gives err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jest testing addtional data in useQuery I've got a simple useQuery hook const state = useQuery(['todo', { id: editingIndex }], async ({ meta }) => { const data = await fetchTodoById(); meta.load = false; return data; }, { meta: { load: true} }); and my jest code: const queryClient = new QueryClient(); const...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I clear the console window in Scala 2.12.3? I'm trying to clear the console in eclipse scala IDE by using \u001b[2J and it doesn't work. I thought print("\u001b[2J") would work, but it just prints ?[2J.
{ "language": "en", "url": "https://stackoverflow.com/questions/75619557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i have this error "Segmentation fault (core dumped) " when run a cpp program in this code i am trying to read a record from a file but it appears this error "Segmentation fault (core dumped) " in VS code and i have Ubuntu OS this is the code #include <iostream> #include<fstream> using namespace std; class A{ pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Does "react": "^18.2.0" support 'connected-react-router'? I am using "react": "^18.2.0" and trying to initialize combineReducers as below import { connectRouter } from 'connected-react-router'; const reducer = combineReducers({ language: languageProviderReducer, router: connectRouter(history), }) I got thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installing postmarketOS but cant get "pmbootstrap flasher boot" working? After installing the kernel and rootf i wanted to boot the device with flasher boot but get the error ERROR: Command failed (exit code 1): (native) % fastboot --cmdline msm_rtb.filter=0x3F ehci-hcd.park=3 coherent_pool=8M sched_enable_power_aw...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Regular Expression Help: Extracting Fields In Oracle, I have a database CLOB field I need to extract data from. The specification looks like: [<br /><b>A:</b><br />Text A which does not contain HTML[<br />]] [<br /><b>B:</b><br />Text B which does not contain HTML[<br />]] [<br /><b>C:</b><br />Text C which does not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why am I getting a "board not declared" error when I am trying to pass it as a parameter? (C++) Example of the codeFairly new to object oriented programming. I am trying to make a connect 4 game with a class for the overall game, which contains a board object which then contains two player objects. I've realized tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: my react & redux not rendering after dispatch with socket io I am building a chat with react and redux server side node js and also with socket io Everything works as it should, but as soon as I update the user, it updates and shows me on the other side that there is an update, but it doesn't actually show it to me....
{ "language": "en", "url": "https://stackoverflow.com/questions/75619571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PHP & HTML calculation script not accurate I'm working on a PHP and HTML program that calculates the number of calories in a soda and estimates how long it would take to walk off those calories. To provide a more accurate estimate, the program considers gender, weight, height, and age. However, I'm discovering that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 'npm i' issues will not install sharp MacOs M2 I'm running npm i to install dependencies and get the following errors: gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/Users/nazar/.nvm/versions/node/v14.21.0/lib/node_modules/npm/node_modules...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Studio - Open JS Debugger does not open Browser I wanted to create an App with React Native. The Project is run with Expo. When using the "Open JS Debugger", chrome doesnt open and the Terminal is showing this error: Error launching JS inspector: [LaunchBrowser] Unable to find a browser on the host to open ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Chrome extension that gets all the selected input options in current tab not working I am trying to create a Google Chrome extension that when the user clicks the extension grabs all the selected react input options in the current active tab and then display the values in a list. No errors are encountered when uploa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Repeating a google apps script I was smart enough to figure out the script to get it so column E updates every time column D changes. function onEdit(e){ if(e.range.columnStart > 4 || e.range.rowStart !=3 ) return; var ss = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); ss.getRange("E3").setValue(ss.getRan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gherkin: Is there a way to refer to the Examples Table HEADER in a Scenario Outline? I am working with Cucumber and Gherkin for testing, specifically on a feature file that contains a Scenario Outline with an Examples Table. Instead of writing multiple Thens as shown below for each column, is there a way to consolid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am Trying to fit in my data into a model I was trying to fit in my model when i got the error: train_data = supervised_data[:-14] test_data =supervised_data[-14:] print("Train Data Shape: ",train_data.shape) print("Test Data Shape: ",test_data.shape) scaler=MinMaxScaler(feature_range=(-1,1)) scaler.fit(train_data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ImportError: cannot import name 'Color_' from 'my_app.models' (C:\Users\Zaza12277\Documents\programming\website\store\my_app\models.py) ImportError: cannot import name 'Color_' from 'my_app.models' (C:\Users\Zaza12277\Documents\programming\website\store\my_app\models.py) выдает ошибку, вроде до этого не было такого,...
{ "language": "ru", "url": "https://stackoverflow.com/questions/75619586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to find all of whiskey sales from a certain store -SQL- I want to find the total sales of Whiskeys at a certain store in the dataset Here's my code (Using PopSql connected to bigquery) SELECT DISTINCT category_name, ROUND(SUM(sale_dollars)) AS Total_Revenue FROM Liquor_Sales.Iowa WHERE store_name = 'HY-VEE #3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to define different yaml for different branch in azure pipeline? I have a build pipeline for my project setup on azure. This project has 2 branches: master and iis. I also have 2 different pipeline yaml files for these branches. For master branch, I want it build with yaml1. For iis branch, it needs to grab yaml...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: import script not working after using sys.path.append I am learning about the working of modules and was trying to run my program and for that i needed to import my own module from a different directory, so, i learned that i need to use sys.path.append method to import my module but it did not work and gave me error...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass a 3D grid of voxel into a fragment shader in webgl i want to make a voxel engine in javascript using webgl api. But i don't know to send to the gpu a 3D grid of voxel. I know of work voxel engine so there is no need to give me paper about how to render voxel. I'm just asking about how to get voxel inform...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Null check operator used on a null value Cast Error Flutter Receiving this error _CastError (Null check operator used on a null value), tried replacing ! with ? but that doesn't work. Please help me fix this issue, Thanks. home_screen.dart import 'package:flutter/material.dart'; import 'package:mvvm/data/response/s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript: Requiring matched type interface MsgEvent { readonly data: any; // 1 to 1 copy from MessageEvent<any> } interface MsgPort { postMessage: (message: any) => void; // 1 to 1 copy from MessagePort onmessage: ((ev: MsgEvent) => any) | null; // 1 to 1 copy from MessagePort } class Su...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Banno Authorization API - obtaining addtional claims for Admin/Alert API thru auth grant flow We have successfully implemented a auth grant flow using the Banno Authorization API OAuth2/OpendId and obtain a valid access token and id token. Next, I am trying to use the Admin API Alerts method to sending a simple pus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vercel Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'simple-concat' imported from /var/task/node_modules/mypackage/index.js I am new to node.js and vercel. My project works in my local computer but when i deploy it to vercel, i get the following error: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'simple-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: adding local variable to a vector within a struct Rust I have a struct that looks like this: #[derive(Default)] pub struct Restaurant<'a> { name: String, patrons: Vec<Box<Patron>>, reservations: Vec<Box<Reservation<'a>>> } and then I have a function that does some stuff and creates a reservation object ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: API Gateway to NLB encryption in traansit I am currently using API Gateway as public facing then it proxies to an NLB. Clients communicate to the API Gateway via SSL like https://api.example.com where https scheme is required therefore making the transit from client to API Gateway as encrypted. Now my concern is, is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Itext 2.1.7 -- Constructor of PdfReader class causes endless waiting Okay so I have this little bit of Java code. PdfReader is a class from Itext. When it executes that second line, it just drops down into some sort of black hole within Itext and never finishes. It never throws an exception or error of any kind. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using arrow to return accumulator in reduce I know there are many similarly-phrased questions, but mine hasn't quite been answered yet. Suppose the basic snippet below: const names = { bob: 20, john: 25, michael: 30 }; const result = Object.entries(names).reduce( (acc, [name, age]) => acc.push(`${...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set 80% precision for tree based models since they do not have decision_function() I'm learning machine learning and when I use SGDClassifier or SVC and I want to set a precision for the model I do this way: y_scores = cross_val_predict(model, X_train, y_train, cv=5, method="decision_function") precisions, re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error "Unable to create an object of type 'ApplicationDbContext'" in Add-Migration command for first time (EntityFramework Core) I'm trying create my first entityFramework app for a website and I can't even create the database. The project compiles withtout problems and everything looks fine, but when I call the "Ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cast array[string] to array[float] in pyspark My Dataframes current prinSchema looks like this: root |-- Name: string (nullable = true) |-- val: array (nullable = true) | |-- element: string (containsNull = true) I would like to convert the val column to an array type holding float values, and I used df = df....
{ "language": "en", "url": "https://stackoverflow.com/questions/75619619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to return my merged array from merge() to sort()? Java merge sort algorithm I am creating a merge sort for an assignment based on an interface I was given. (merge, mergesort, and sort). I am right there, but my brain is fried and I can't find the final issue with my code. I successfully merge the two as seen in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XState: Express that a context is only relevant for certain states I have a React component, it can transition between different states based on mouse-events. A simplified example: type Point = {x: number, y: number}; type MouseState = | {name: "idle"} | {name: "touched", point: Point} | {name: "moving", orig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Your usage has exceeded our rate limiting thresholds So, we're doing some gitops style workflows and in order for Flux/Argo to see our git repos, we use PATs. But the PAT's are tied to like, my user account. And so now that we have all these processes using my PAT, I'm being rate limited: Your usage has exceeded o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Paypal Javascript SDK onShippingChange function not updating order amounts I am using the Paypal Javascript SDK to add payment buttons to a website, and I'm including the OnShippingChange function to calculate sales tax for certain states/regions based on the shipping address selected in Paypal. This is done via a c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Boostrap 5 tooltip arrow color html: data = ` <img alt="data" src="/static/img/icons/icon-data.svg" class="image-fluid" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-custom-class="icon-data" title="data"/> `; scss: .icon-data.tooltip { .tooltip-inner { background-color: $blue; colo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Opening WSL2 distro in Windows Terminal and running a command using Command Prompt I'd like to open a new (Ubuntu) WSL2 session in Windows Terminal and run a command in it using a script or just a single line of code in Windows Command Prompt. It seems pretty hard to me. I only got to this: wt -w 0 nt -p "Ubuntu" -d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: have windows 11.i during the installing every libraries put a error in my os system , I install the math library and during the installation put a error and this error every time show to install other libraries I'll use the python latest version 3.11.2 please suggest me and solve this problem I'll every time trying...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: JavaFX project can't launch on Visual Studio Code (no build tools) I have a very basic JavaFX project that is supposed to open a new window (a scene). I'm trying to Launch it on VSCode. package project; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: change hour format for a plot in for loop I been searcing for hours now. In Python I used for loop to create subplots, so I have not defined ax and fig. So i don't seem to find any solution no involving them. df_june['hours']=df_june['date'].dt.hour *df_june is dataset only for 1st of june* for i in important_cols[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having problems using ApiService in android project using retrofit? I have developed a web page using laravel and now I want to communicate with an android app I´m making. I´m using retrofit but I have some problems with the APiService. Here´s my ApiService: package com.example.retrofitpruebabuena.API; import com.ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Policy DeployIfNotExists fails to change values I'm currently creating an Azure Policy that (is supposed to) deploys Microsoft Defender for Servers with Plan P1 if the current plan is different. Many subscriptions that I have currently have Microsoft Defender for Servers enabled, but use plan P2 instead of P1,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: as.character() within function doesn't work newbie question: I have a seemingly i simple problem, but I cannot solve it. I want to use as.character() within a function. However it doesn't work. The functioncall doesn't give an error, but nothing happens to the dataframe. What am i doing wrong? I also tried all varia...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Aiming to land a DB2 Z/OS job, Shall I learn java or cobol? and does java need jcl to be compiled on mainframe db2? I wanna build some decent online application to be used by the people in my company. we use DB2 as the relational database and Z/OS on mainframe as the Operating system currently and cics as the online...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: mat-table with server side mat-pagination, table empty after page change I have a mat-table that I need to send a huge amount of data to, so I'm using server side pagination. I setup mat-paginator with the [length] attribute and watch for the (page) event to manage this. <mat-table #table [dataSource]="dataSourc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't install service - Service could not be installed. Verify that you have sufficient privileges to install system services I tried downlaoding my software on multiple computers, out of 6 only one laptop had problem with downloading, where it can not install service. error I tried with all accounts on laptop even ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Unwanted white "grid" lines using axvline I have the following code: for df in dfs: plt.plot(df['Digital'], lw=5, label='A', zorder=2) plt.plot(df['Analog'], lw=2, linestyle='--', label='B', zorder=2) for rowNr in np.arange(len(df)): if df.iloc[rowNr]['Analog'] >= 0: plt.axv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to create a timer which pauses when stopping at a breakpoint In the past few years, I've moved from using code like setTimeout and setInterval to using requestAnimationFrame. If I want something to happen every 60s, rather than setTimeout(..., 60000) I would use Date to determine what time it'll be 60...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Podman: how to resolve the hostname of a pod deployed using Kubernetes YAML I'm using podman 4.5-dev I have two pods deployed using: podman kube play foo.yaml podman kube play bar.yaml I specified the pods' hostnames in the files, but they won't get resolved inside the containers. I verified that the pods are in the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to open a URL in a new tab if the same URL is not open in any tab of the browser, else focus on the existing tab I am relatively new in frontend, I am trying to open a new url if the button is clicked. My target is if the url is already opened in a seperate tab, then just switch to that tab. Else, open the url i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems validating a jwt null in php I'm new to JWT and doing an exercise to understand it better. I am in a scenario that from flutter I am sending the token from the header but the token is null and I am trying to validate that in php. When I try to do a simple validation using some method like "is_null()","$vari...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Port forwarding not working after firmware update I have a Verizon CR1000A router, with firmware version 3.2.0.7. When I try to forward a port (25565) it makes me enter a "Fwd to" address. But it doesn't accept 127.0.0.1, or any address that I know of that would open the port to the internet. Here is an image of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: red screen after second update on a snake game I watched a tutorial about a simple snake game, after putting in the interval to update the canvas (id = "board") the first apple appears, but with the first update the whole background also turns red. The snake (at this point just a green block) can still move. I looke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are the rounding functions S4 generics rather than S3? I was surprised to discover in the documentation for the rounding functions, e.g. round, that they are all S4 generics. What benefits does this grant them over being S3 generics? As best as I can tell, everything that they do can already be done equally well...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: throw new MongooseError('Query.prototype.exec() no longer accepts a callback'); MongooseError: Query.prototype.exec() no longer accepts a callback i am trying to register and authenticate user using passport. registration form is working fine throw new MongooseError('Query.prototype.exec() no longer accepts a callba...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm sending info to a csv wrong apparently? I'm creating a tracker that tracks how much water you have drank throughout the day, and having a telegram bot to give that info to the bot, the thing is I should send that info at 00:00 to a csv so it gets saved and I can make charts of my progression and so on, but it do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pointer arithmetic in kernel module produces invalid value My system has Ubuntu 22.04.2 LTS On a kernel module I have the following operations: I have a memory mapped address stored into a variable. I add an offset to this address and store it into a new variable then print both addresses. The result doesn't make se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VBA code to select a cell value if there is a specific value and it is the last occurrence of that value in the range? I'm trying to select data to populate values on another sheet using specific If criteria. I want to select a value from a specific cell in the row if a specified column in that row contains a specif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iterating through xml and copying element values to another in xmlstarlet I have two xml files. I want to extract elements values in xml1 and assign them to xml2. xml1: <?xml version="1.0" encoding="windows-1252"?> <dataTemplate> <test>John</test> <test>Peter</test> <test>Paul</test> </dataTemplate> I want to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why can't I do a cast for an element from an array of objects? abstract public class A {/*has some methods*/} public class B extends A implements Comparable<B> {/*I implemented code for compareTo(B x) */} public static void main(String[] args) { A tab[] = new A [3] ; B x = new B(/*I initialized it*/) ; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I need to understand which APIs to use to download the specification files for EMEA and US region #autodesk-data-management Need to know the APIS Tried the hub and project and get buckets call I am getting follwoing error for Hubs "Id": null, "HttpStatusCode": "403", "ErrorCode": "BIM360DM_ERROR", "Title": "Unable t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Prometheus Community Pod in Pending state after installing with helm I'm following this document (https://aws.amazon.com/blogs/opensource/setting-up-cross-account-ingestion-into-amazon-managed-service-for-prometheus/) to deliver metrics vis AMP to a centralized account with AMG (Amazon Managed Grafana) My issue is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I find out where the cursor is? I want to find out where the cursor is in the terminal. For example, I want to know if the cursor is at the beginning of a new line or which position in a line it is. I would prefer if an escape code existed for this but it's acceptable if only the windows console API has the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# need help how to separate input integers with comma? private void button1_Click(object sender, EventArgs e) { int number = int.Parse(EnterN.Text); int sum = 0, reminder; while (number > 0) { reminder = number % 10; sum = sum ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-9" }
Q: com.mongodb.MongoSocketReadException: Exception receiving message while Connecting Mongodb cloud Hi I am Working in Sprintboot application.In which I am Connecting with MongoDb. while Starting Spring Boot Application , I am getting this below Error. 2023-03-03 00:10:37.045 INFO 16748 --- [ngodb.net:27017] org.mongo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a docker-compose file to setup two images correctly? I try to implement a such solution with docker: * *jenkins *java *gradle In the result I need to execute job in the jenkins and this job must be able to execute gradle build/gradle test in the /home/ec2-eser/jenkins/workspace/job-name folder. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }