text
string
meta
dict
Q: Get multiple JSON values from search in JS I need to loop thru json data looking for a keyword. Once found I need to pull 3 values to my console.log This is for a Node.js project. The json is a local file. How the data is laid out. { "eventposdef": { "event": [ { "$": { "name": "FIND TH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I capture the DNS servers for a client computer with .cmd or powershell? I need to capture the DNS servers used by a Windows 10 client into a text file in the simplest way possible. Possibilities that came to mind include querying wmi via a batch command or command line, or using Powershell. Powershell with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can the sequence to sequence model do time series prediction tasks? The recent research done is about the experiment of removing the central shock artifact from EEG signal, the formation of the heart shock artifact is closely related to the ECG signal, so the specific approach is to use the ECG signal as the referen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Multiple subnets in same azure VNet with Terrafrom I am creating 1 virtual network and 3 subnets using for_each loop. I am geting error in creating subnets I have taken reference from this URL and tried to troubleshoot the issue but unable to fix the error. Below is my code. main.tf resource "azurerm_virtual_networ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I split a for statement over multiple lines with Flake8? I am currently trying to write a for statement that is over 80 characters long. for i, (expected, actual) in enumerate(zip_longest(self.__lines, lines)): ... # Note that the line above is 73 characters long. It becomes 81 # characters long once yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I found this error: java.net.UnknownServiceException:CLEARTEXT communication to .... not permitted security policy found this error: java.net.UnknownServiceException:CLEARTEXT communication to .... not permitted security policy.enter image description here I have done the existing tutorial tutorials but the same pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing a variable to a child component from parent definition I'm attempting to create a reusable data-table component in react, that mimics the Angular Material UI table definition. I'm coming from an Angular background and have been learning react for a few months struggling parts of it. In React I'm making use o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: oc command not found in jenkins pipeline I have created a Jenkins pipeline, but the "OpenShift commands" commands are not being recognized. A: I guess you mean that the oc commands work fine when you use a terminal to run them on the host machine, but they don't work with the Jenkins pipeline? I've had this happen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am not quite sure how to sort the list as it is being put in the array from the file in java I want to be able to know how to sort this array without using a sort function. The code stores each unique word in a array but the assignment wants it to be sorted as it goes in. I know i have to create a temporary variab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: await is not saving data here's codes to create API const express = require("express"); var router = express.Router(); const Comment = require("../schemas/comment"); const Post = require("../schemas/post"); //create api router.post("/posts/:post_id/comments", async (req, res) => { try { const data = await Pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MAC New Look Outlook Failing GRAPH APIs We have an Outlook addin that has been working perfectly fine with the MAC Outlook's classic view. Unfortunately however, it is failing with the "new look" Outlook for MAC. With the "new look" Outlook for MAC, our GRAPH/API calls are blocked with an HTTP error 403. I think RES...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to POST single value as request body using axios instance I have an POST API as: * *URL: /get-item *Method: POST *Request Body: id(Integer) I know it's little weird to have a single value as request body instead of query or path parameter but it is what it is. Now I am trying to call the API from my React Ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Target rules may not contain wildcards. Please specify concrete files or a rule without wildcards error I have a snakemake srcipt like # minimal example configfile: "../snakemake/config.yaml" import os rule generateInclude: input: archaic_inc=config['input']['archaic_include'], modern_inc=c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: mysql.connector.errors.ProgrammingError: 1054 (42S22) and 'nothingHappensError' I'm trying execute mysql scripts in python and have some problems setup: import mysql.connector as connection conn = connection.connect(host="localhost", database='db_filmbot', user="root", passwd="root", use_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: owlready2 doesn't recognize cython installation and doesn't install C-optimized * *Owlready2 * Warning: optimized Cython parser module 'owlready2_optimized' is not available, defaulting to slower Python implementation For windows, download the Cython wheel file from the below link if pip install Cython failed. pi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add icon/button in v-data-table header I have a use case where i want to small button in every header except Action Header. Icon Button is same for all the headers. My code looks like this: <v-data-table :headers="tableHeaders" :items="items" :hide-default-footer="true" dis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Error response from daemon: failed to update store for object type *libnetwork.endpointCnt: Key not found in store" when running no-auth script My issue started because I have forgotten the password to be used on this - http://localhost:9000 Hence I have been trying to disable the authentication as mentioned on the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rename Worksheets Using Lookup I have an existing workbook which contains 100+ worksheets. I need to rename these worksheets using a lookup function. Data example is I have a list of the old names in column A and the new name in column B Sub ReplaceWorkSheetName() Dim ws As Worksheet Dim wsNewName As String For Ea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: ssh not recognised in Powershell 7 ssh command can used in windows powershell which is system build-in,it like this: ssh in powershell But when I use is in powershell7 which i download in github,ssh command do not work,it like this: ssh in powershell7 how I can solve it, I do not just want to change directory to C:\...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase Phone Auth - SMS code Expired in some devices I have a Flutter app that use's Firebase Auth as authentication system. With the majority of devices, it work's without problems. The problem is that some users using specific devices can't authenticate because every code that is sent to them are expired (like S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to do the Cupertino "stacked" full dialog transition effect in Flutter? I want to replicate the same behaviour as native iOS when navigating to certain pages, like in this example from the Clock app. The closest thing I have found is the CupertinoFullscreenDialogTransition class, but does not replicate the stack...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Permission denied to create table even after using GRANT command I'm connected to a Postgres 14 instance with postgres role. I have created a new database called airflow and a new user/role called airflow too, who is the owner of the db. List of databases Name | Owner...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jfrog Xray function- numpy licensing check I recently did a Xray scan of my pip remote repository (managed on Jfrog) and I noticed that numpy is listed to have multiple different licenses. Can somebody provide a bit of insight on this topic as I always believed that numpy is a bsd based license, but I keep seeing mu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pyswarms toy example - help to understand simple things trying to understand Particle Swarm Optimization using Python pyswarms package. https://pyswarms.readthedocs.io/en/latest/intro.html Need to optimize a function of multiple variables, given as: # Define the objective function def objective_function(x): retu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C round() function rounding incorrectly? When using the round function on 1140/9 for example the output is 126, but 1140/9=126.666666667. Shouldn't the output be 127? Code I checked the definition of round() and I do not see how it returns 126 instead of 127. A: No β€” you used integer division! (You said you had 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Swap two integers does not change value int a = 1; int b = 7; void SwapTwoIntegers(int a, int b) { int temp = a; a = b; b = temp; } SwapTwoIntegers(a, b); Console.WriteLine(a); I was trying to write a function for swapping two variables, but it seems like i am going wrong somewhere in my code. A: The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: ESXI Network connection lost after VLAN setup Long story short, I am trying to set pfsense up on a ESXI server that only has one NIC. My current problem is I lost connection to my server after I set up the vlan ID's on ESXI. I'm sure I made a stupid mistake since I'm fairly new to both networking and ESXI. My topolo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java-saml-toolkit library impl issue I have used library java-saml-toolkit from git repository In order to test the samples inside toolkit, I have followed https://developers.onelogin.com/saml/java but it is unable to resolve Auth class which is defined in the library. I have tried to use java-saml-tookit-jspsample ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do you get PowerShell to ignore blank CSV values? I'm writing a script that is supposed to update each attribute in Active Directory based on a CSV file. This is what I have so far: $employees = Import-Csv -Path .\ADFieldsTest.csv foreach ($User in $employees) { $Username = $User.username $Department = $...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python to add data label on linechart from Matplotlib and Pandas GroupBy Hoping to add data labels to a line chart produced by Matplotlib from Pandas GroupBy. import matplotlib.pyplot as plt import pandas as pd from io import StringIO csvfile = StringIO( """ Name Year - Month Score Mike 2022-09 192 Mike ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IntelliJ plugin develop: How to go to my plugin panel by clicking the gutter icon? I want to add a feature to my plugin that will allow me by clicking on the icon that I defined in the gutter area to jump to a specific location in the plugin panel. My plugin panel shows a tree that marks my file structure. I want to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Aggregate Nested Document MongoDB I have this sample data, { _id: ObjectId("50b59cd75bed76f46522c34e"), student_id: 0, class_id: 2, scores: [ { type: 'exam', score: 57.92947112575566 }, { type: 'quiz', score: 21.24542588206755 }, { type: 'homework', score: 68.1956781058743 }, { type: 'homewor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to use GPU in custom Docker container built on top of nvidia/cuda image despite --gpus all flag I am trying to run a Docker container that requires access to my host NVIDIA GPU, using the --gpus all flag to enable GPU access. When I run the container with the nvidia-smi command, I can see an active GPU, indic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use OpenGL in Android Webview Kotlin Project? I'm trying to use jitsi meeting i frame API in android webview, but it's virtual background feature is not running in the app. But it's working properly in chrome browser in same same device. So, am I missing any configuration of webview? Please help me out with t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add target=blank in WordPress function for WP-Members How make this code add target=_blank on return, so when user clicks they will be redirected? add_filter( 'wpmem_forgot_link', 'my_forgot_link', 10, 2 ); function my_forgot_link( $link, $tag ) { // Using home_url() instead makes your filter portable. retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSP with .htaccess to allow iframes from my app I have need to build a component in my mobile app that lists information in an iFrame; the information is hosted my webserver to be served up by PHP scripts. I am going to be adding certain security/authentication methods to validate the each user is allowed to access...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use chromedriver quit() and cloesd(), why have zombie chrome process I enabled a jar package in the centos image, used selenium chromedriver to get the browser link, and after I finished using it, I used close() method and quit() method, but after the program accepted it, there were still many chrome zombie processe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: github actions works for ubuntu but fails for windows based on Python version I am trying to set up a github actions workflow to tests my Python software. I have a pyproject.toml file with the following contents. [tool.poetry] name = "pythont" version = "0.1.0" description = "" authors = ["First Last <xxxx@gmail.co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ModelSerializer foreign key relation issue in multi database DRF project In my DRF project, I use multiple databases to handle the data I don't specify a default database in settings. whenever I use the model serializer with ForeignKey relation Django emits the following error settings.DATABASES is improperly config...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xero Rounding 'unitdp' parameter I used following code in xero API to generate an invoice. I want to know is this the correct way to pass 'unitdp' parameter with the request? $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.xero.com/api.xro/2.0/Invoices?unitdp=4', CURLOPT_RETU...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle DB bulk update using sqlalchemy and python gives a mapping error import pandas as pd import sqlalchemy from Crypto.Cipher import AES from Crypto.Util.Padding import unpad import base64 import json from pandas import DataFrame from sqlalchemy import * from sqlalchemy import MetaData import cx_Oracle as oracled...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delegate found nil while trying to capture the photo I successfully made custom camera, with live preview etc. but, when I try to capture the photo this error comes up: Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value This is my code class CameraService { var session: AVCaptureSession...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when trying to claim interface for WebUSB I am trying to use WebUSB in order to read data from a physical ID scanner on a website. However, when I try to claim the interface I get the following error: Uncaught (in promise) DOMException: Failed to execute 'claimInterface' on 'USBDevice': The requested interface...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 403 Access Denied: BigQuery BigQuery: Permission denied while globbing file pattern I have created the table in bigquery with G-Drive file link, then to insert the data automatically into another table I am using Google cloud function. Here I am facing some permission error, Error: 403 Access Denied: BigQuery BigQue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I read an excel file that contains more than one tab using openpyxl library? I have successful installed pip install openpyxl, this didn't solve the problem. I have used https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html to try to solve the problem. I have run other code to make sure that the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NGXS using an Observable output to dispatch actions In the case where I have an observable that could periodically emit new values (Timer, SignalR, etc), is there a better way to dispatch NGXS actions besides calling store.dispatch() from the .subscribe method on the observable? I like to avoid outright subscribing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Teleport the player to the mouse cursor I recently started using unity and I have this question. How can I make teleportation of the player in 2D space in the direction of the cursor. Here is an important clarification that teleportation must be no further than a certain radius and if the mouse is outside of this ra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why my nested loop in R only run the child loop once? I expected to get an output of cleaned data in 4 sheets and each with 9 columns. Original data looks like this: but only output the first column in the first sheet: my codes are as below: library(readxl) library(xlsx) library(triangle) library(dplyr) library(Ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Changing the encoding of HTML that is converted to PDFs, based on users choice of encoding type I am creating a web application that allows users to input various amounts of data that uses a generic HTML template that can be used to export the data as a PDF. There are a few configurations that the user can set prior...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to select a custom control (to enable move and resize) that was programatically added to an Office document? Background: following the MSDN documentation, I am programmatically adding a control to an Excel spreadsheet like so: ControlSite controlSite = vstoWorksheet.Controls.AddControl(webViewControl,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Add page number dynamically to footer in word file that create using C# StringBuilder - HTML I created a word file using HTML - StringBuilder.Now I want to add page numbers dynamically to the footer. I tried it using counter-increment. But it is not working.If i hardcode a number inside the <div style='mso-el...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: debian 11 domain joining via Ansible "Conditional result was False" I've been trying to troubleshoot this task but to no avail :( Hoping someone can help me out. This particular playbook is from wolffhaven The error I'm receiving is here. I've tried to add various debug options to the task but nothing gets outputt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I customize the data for a serializer in Django Rest Framework with the POST request data and function generated data? I have created an APIView that handles a POST request in DRF. I need the POST request to save data in my database based on one of my models: Model class Card(models.Model): game = models.Fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to adjust Arithmetic Coding parameters in integer form? Problem: I'm using the arithmetic coding model based on this PDF paper, which is in integer form to realize an unbounded precision. But the application has some problems: all we calculate is the probability in double form, but the api needs frequency count ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to move articulations from script and user keyboard I am trying to use Unity to make a "Robot arm" controlled by commands on the keyboard. My design is really basic: I chose to use "Articulations" for my design following the recommendations in the documentation here. When I hit the play button the arm drops an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AOV calculation in Bigquery I am trying to get the AOV calculation in Bigquery followed by cohorts without using a subquery to parse the dates... select date_trunc(events, week), sum (purchase_revenue_in_usd)/count (distinct user_pseudo_id) as AOV from (SELECT *, PARSE_DATE('%Y%m%d', event_date) as events from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove the first element of an array in JSONata? How do I remove the first element of an array that looks like this: { "array":[ { "item":"1" }, { "item":"2" }, { "item":"3" } ] } I am expecting it to look like this: { "array":[ { "item":"2" }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to querying using Imagery service(raster) layer in wpf C# Can any one please help this Can anyone suggested some samples.
{ "language": "en", "url": "https://stackoverflow.com/questions/75599325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: ForEach item moving list with same ids, view not updating I have the following view: My trouble is when a list item moves between upFrontAlters and otherAlters inside FrontViewModelHelper which just has the referenced properties as publishable. The row moves between the section, but the view changes that would go al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assembly language Division (Problems is getting the remainder) jmp start mess1 db 'Enter 1st number: $' mess2 db 0a,0d, 'Enter 2nd number: $' nextline db 0a,0d, '$' start: mov ax, 03 int 10h mov dx, offset mess1 call printstring call input sub al, 30h push ax mov dx, offset mess2 call p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Write react scripts with webpack and env-cmd I am creating a new React app for my company and I referred to another project's code base to see how they setup webpack and env-cmd. They have webpack.config.js file as following: var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { mode: 'd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SAML login with Onelogin in Rails using devise_saml_authenticatable gives NoMethodError - undefined method `to_sym' for nil:NilClass I'm working in Ruby(2.0) on Rails(4) and am testing a SAML integration with Onelogin as the Identity Provider. I'm using the devise_saml_authenticatable gem(v 1.5.0). I created a sampl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server target platform dacpacs won't publish to Microsoft Azure SQL v12 I am recreating an Azure resource group deployment that contains a working azure sql server. I am repeating the targeting of a dacpac to an azure sql server instance that has exactly the same specs. I believe I am doing it the same way I did...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Insertion and delete in a multi level linked list Head | 2->7->8 | 13->16->17 | 22->23 | 30 Sorted Linked List given like above where each first node has 2 pointers next and down. For each row starting nodes down points to next row start. All rows can have <= 3 elements. Next rows start element is greater than previ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using pypdf to fix orientation problems within pdf document I am trying to put a drop-down annotation into a pdf page at coordinates (x,y). The pdf I wish to add these annotations to is a pdf that comes from a scanned document. For some reason the scanner I am using produces a pdf page with the following content: {'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to style all divs in a css class? I am extremely new to css/frontend and I was wondering if there was any way to style all subsequent html elements within a css class. For example all the div within styles.error. I am using Modules with react and am confused about why this code below doesn't style the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to generate the solution files required to load a project into VSCode? I'm a beginner in Android and it use Android Studio as the best IDE support. But I seem to be prefer to use VsCode. When research about gradle built, I see it can "generate the solution files required to load a project into Visual Studio.". N...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What are the consequences of a feature-gated enum variant? What if a library crate defines an enum that has a variant that is feature-gated? #[non_exhaustive] enum Foo { A, B, #[cfg(feature = "some-feature")] Gated, } This is a naΓ―ve attempt to allow the enum Foo to support the optional feature with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copy Stage on IBM Data Stage I found a strange thing while using Copy Data to insert data into a table. All columns are processed in a transformer and there are two special columns in the transformer. Column A uses index function to perform LIKE operation in a string. Column B is the string to be used column A and i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: YOLOv5 mosaic augmentation issues It appears that when yolov5's mosaic runs during the training process, the images are stitched together, but some information is lost. For example, in the image attached, some bounding boxes are incorrectly placed in the training samples because the object is too occluded. How would...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to delete Quotation mark from String nodejs I'm going to write the userid into the session, but when it's written, it gets 2 Quotation marks, e.g. "userid":""U386243148976"" I want it to contain only "U386243148976" i console.log(userid) gets "U386243148976" but when writing to session it becomes ""U386243148976...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Recommendations for privacy-oriented web hosting I am creating a site advocating for a labor union's cause. Since most corporations are unfriendly to labor union activity, I want my site to protect my identity as much as possible. To be clear, nothing illegal will be going on with the site. It will just be putting f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Keeps saying 'return' outside function? Below is my code meant to be a calender This is what a sample run should look like Sample Run 1 Please enter a date Day: 5 Month: 5 Year: 1984 Menu: * *Calculate the number of days in the given month. *Calculate the number of days passed in the given year. 1 31 Here is my ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: paypal rest api and flask/django/python integration 2023, update user credits immediately after payment In my flask web application, I am trying to update user's credits immediately after user has made payment through paypal. To make it secure, I want to make sure that user doesn't modify the amount of payment. I al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Fail to install FlexGen: ImportError: cannot import name 'define' from 'attr' I am trying to install FlexGen on Ubuntu running under Windows Subsystem for Linux (WSL; but not WSL2). I have already installed a required PyTorch >= 1.12 and run python3 -m flexgen.flex_opt --model facebook/opt-1.3b, but an error message...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Removing format,args from System.out.printf(format, args). Currently using NetBeans IDE17 I'm using NetBeans IDE17, when I want to type System.out.printf() as soon as I hit the open bracket '(', it auto replace with System.out.printf(format, args) where can I remove the auto suggestion/fill? Tried finding in Tools...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to turn of pop up authentication in SSRS? I am using SSRS 2019 for my reports to View. But when I am trying to access my reports is asks for username and password by a pop up window and In here I have to use my admin username and password Here is the pop up If I want to make my admin username and password defaul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: nanodbc/nanodbc.cpp:950: 28000: [unixODBC]Incorrect username or password was specified When trying to connect to Snowflake using R, I get the error "Error: nanodbc/nanodbc.cpp:950: 28000: [unixODBC]Incorrect username or password was specified." The username and password specified actually is valid and has bee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having trouble with while loop deafulting to a particular elif statement regardless of input value I'm building a program that replicates drawing from a deck of playing cards with custom suits (still a 52 card deck otherwise). I'm having an issue where any input other than one of the higher options triggers my quit ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Robocopy to copy files and subfolder files is there a robocopy command to copy files and subfolder files from a root folder. Moreover the copy should only include subfolder files without the subfolder in a single destination folder
{ "language": "en", "url": "https://stackoverflow.com/questions/75599366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 'CachingConnectionFactory(jakarta.jms.ConnectionFactory)' cannot be applied to '(com.ibm.mq.jms.MQConnectionFactory)' In my project, I am using apache camel + ibm mq + spring boot for messaging. I am getting a compile time err which I am not able to resolve. com.ibm.mq.jms.MQConnectionFactory mqQueueConnectionFactoy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The code in the @Bean marked function in Spring Boot is not executed @Component("example") public class Example { private Consumer<String> exampleHandler = new Consumer<String>() { @Override public void accept(String s) { System.out.println(s); } }; @Bean public ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Incorrect Image path inline style background-image html I do dynamic background-image So I get variable from back-end, the image path seem correct but i checked console it displayed error with resouse and it display incorrect url seem as below: I use aspnet core for backend, thank you
{ "language": "en", "url": "https://stackoverflow.com/questions/75599375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: image overlaying the border I need to get this result in CSS: enter image description here A: Try using the image tag instead of the background-image property like this: .card{ width: 270px; height: 330px; background-color: #EBEBEB; border: 4px solid #0e0ee0; border-radius: 15px; text-align: center; }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599381", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to measure correlation and do heatmap for a dataset having both categorical and numerical variables. Target is categorical dataset for sexual violence in Bangladesh How to measure correlation and get heatmap for such type of dataset having both numerical nad categorical variable? Target is categorical variable. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Task Time Out Error While updating firebase using module pyrebase version 3.0.27 in python I'm using pyrebase module 3.0.27 to update the firebase ,while updating the firebase I'm facing task time out error. Here are complete error : [WARNING] 2023-02-27T12:59:40.778Z ffdb82f5-03a3-4ec3-b2eb-73580e5c3c33 Retrying (R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Studio Emulator (Eel) Edit Not Working I am using AS Eel 2022.1.1 Patch 2. I modified the emulator parameters in the Edit window and expected the Finish button to be enabled so I could save my edits. With no emulators running, when I attempt to edit an existing emulator the Finish button is greyed out, so I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send request from lambda to firehose with destination as Splunk When I send this to Splunk using http configured in AWS firehose, it sends an encoded version of the data into "data" into the Splunk, which is unreadable. How do I ensure that what gets to splunk is the decoded version of the data. def lambda_handler(e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft Graph service-specific throttling limits https://learn.microsoft.com/en-us/graph/throttling-limits#identity-and-access-service-limits The doc indicates the limit is 8000 requests over 10 sec (L) and base resource unit cost is 5. Does that mean the cost limit is 40000 over 10 sec?
{ "language": "en", "url": "https://stackoverflow.com/questions/75599407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SpringBootApplication not loading in java class I have created a java class and tried to import SpringBootApplication but does not work. package com.imooc; public class Application { } Below are my pom.xml for parent: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue.js Typescript error when assigning a debounced function I get the following error Type 'DebouncedFunc<(queryParams: QueryParams, page?: number) => Promise<void>>' is not assignable to type '(queryParams: QueryParams, page?: number) => Promise<void>' When I debounce a function in my Vue.js application. created() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the cause of this link error when I try to link my executable to my library by name? I'm trying to build and run project that links files based on the picked C++ standard. The project file structure looks like this: . β”œβ”€β”€ CMakeLists.txt β”œβ”€β”€ cpp-version-test β”‚ β”œβ”€β”€ CMakeLists.txt β”‚ β”œβ”€β”€ test-cpp17.cpp β”‚ β”œβ”€...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to sort os.walk(path) in alphanumeric order, with duplicates coming after the original file, using Python 3? In python 3 (specifically 3.10.6), how can you change the way that os.walk(path) sorts the files it finds? Given this list of files: IMG0001.jpg IMG0002.jpg IMG0002(1).jpg IMG0002(2).jpg IMG0003.jpg How ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Bad Credentials using Spring + JWT I've read a few posts but i still can't understand what is going on here. Since this is my first Spring + JWT, i believe its a normal thing to happen. I'm building a Cafe Management System using Spring Boot + Angular + MySql DB. So far so good, it was all working. Managed to implem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error while using undetected chromedriver "Error code 127" using Replit to run this python code and I am also using undetected chromedriver to run the chromedriver and the problem I am having is that I keep getting status code 127 whenever I use undetected chromedriver but I don't get it if I use Selenium and when i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show variables not used for plotting in ggplotly on hover? Suppose I have 5 variables in a data frame used for plotting using ggplot. I have used 3 out of 5 variables for plotting. When I hover over the scatter plot, I only see 3 variables shown. Question: How can I show variable 4 along with the other three ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javax.annotations split package using jaxrs-api and guava in Java 17 I inherited a java project which won't build. I'm trying to migrate to java 17 and have encountered what I believe is called a "split package". I have several dependencies that requires org.jboss.resteasy:jaxrs-api. I have several other dependencie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Selenium + Cucumber + TestNG with multiple tabs in one Scenario Outline I am having a thought of giving a stress test on my webpage, which can be simplified to "a group of people clicking on the same button on the page at the same time" Therefore, I am wondering if I can do a Scenario Outline with my selenium + cucu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remote rejected for got push I am trying to push into gitlab with signing gpg key. In git log I can see good sign received. But when I push I have been getting β€˜β€™β€™remote: Gitlab: Commit must be signed with a GPG key’’’ Let’s just say that’s not the issue. After this error I have another error which goes like this.....
{ "language": "en", "url": "https://stackoverflow.com/questions/75599429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In The course CS231n of Stanford,the part of assignment3,GAN,there is a problem I don't know how to solve when i loading dataset CODE: NUM_TRAIN = 50000 NUM_VAL = 5000 NOISE_DIM = 96 batch_size = 128 mnist_train = dset.MNIST( './cs231n/datasets/MNIST_data', train=True, download=True, transform=T.To...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }