text
string
meta
dict
Q: CMake cannot find SDL2 no matter what I try NOTE This is not a compile time issue this is a cmake generation-time issue. I've been trying to setup my environment so that cmake can find SDL2. I am on windows 11, with the latest versions of SDL2 (found here), SDL_image (found here) and SDL_ttf (found here) downloaded ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Batch file to convert a selected file using program with spaces in path With additional arguments for selected app Sorry for a very noob one I wanted to create a simple file converter by using "Open with->MyName.bat" I've tried to convert a WEBP file to PNG, put a new file in the same directory, delete the initial f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I determine which memory region of jvm an object is located in? I know that jvm determines whether an object is to be reclaimed by reachability analysis, and different memory regions have different gc algorithms, but does the object itself store some information indicating the memory region to which it belon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laser engraving with 3018 pro can be controlled with basic Openbuilds controls, but engraving a file causes errors I've been struggling with this for the past three days, and I can't seem to solve this problem. I'm on a Mac and trying to let my 3018 pro cnc machine laser engrave an image, but whatever I do, it alway...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I filter using only a part of a variable? I ran into a little bit of trouble while trying to cut down my data. The problem I'm having is that my dataset has the dates; however, the dates are listed as "2013-01-01" for example. I am trying to filter the data so that I only have data from 2014 and 2015. Is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Still getting "This domain is not registered with Tiny Cloud" message even after importing the API key I am using the example TinyMCE code that's available on their docs: <editor [init]="{ apikey: '<secret>', height: 500, plugins: [ 'a11ychecker','advlist','advcode','advtable','autolink','checklist','expo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Jenkins API 403 error, Forbidden user cannot post path job/build I am trying to trigger a job via the Jenkins API using the following command: curl -X POST https://<myserver>:8008/job/my-test-job/build?token=<mytoken> I generated the token by clicking on my name->configure->credentials and adding a new credential a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can Api key ID be used in API Gateway Resource policy? I'm trying to implement something similar to how Google Map's API key works using AWS's API gateway. Basically I want to create an Api Key and assign some restrictions to it in the forms of IP's and referrers. I managed to create Api Keys and write a policy that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to auto resize the CentralPanel of egui(0.21.0)? I am very new to Egui and gui making and am trying to make a application for windows, but I wanted to auto resize the CentralPanel according to the ui widgets inside of that panel, is there a way to do that? (If I am not able to resize the central panel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I use try/except to determine whether a file exists or not? I have this code: def choice_2(): try: f = open('numbers.txt', 'r') contents = f.read() f.close() print ("\nValues Previously Entered: ", contents) average = sum(values)/len(values) pri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make use of DataProvider for server side async validation in React-Admin? This question is in reference to the React-Admin framework and how to implement a common feature using the methods recommended by the authors. Not about how to request data from an API using pure React. Using the code at https://marmela...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I assign a file extension to a file I'm trying to save using JFileChooser? I got the loading aspect done, but I am having problems figuring out how to get the files to save with the proper extensions, in this case it would be .png or .jpg. Any suggestions? I want it to save automatically with .jpg, .png or et...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: what is the code to validate one or more ip adresses separated by comma using if condition with regular expression in shell script language? I want a code to validate two or more IP addresses separated by commas using "if" condition in shell script language using regular expression. enter the IP address: 1.1.1.1 Ip ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: duplicate "list_args" definition with Wordpress I was just looking at the /wp-admin source code on a [very nearly] fresh install on WordPress (6.1.1) and I noticed the following: <script type='text/javascript'>list_args = {"class":"WP_Comments_List_Table","screen":{"id":"dashboard","base":"dashboard"}};</script> <sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Configuring grouped summing behavior on Pandas Dataframe Python/Pandas here. I have a DataFrame (input_df) with the following columns/data: Id | Name | Amount | Term | NumDays ----------------------------------- 1 | Joe | 5.50 | 6 | 20 2 | Jon | 7.85 | 10 | 11 3 | Mac | 2.18 | 4 | 19 1 | Joe | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What actually does Visual Studio do when it first starts up? Recently I had to reinstall my Visual Studio 2022 and came across this step: Visual Studio Start Up Screen It has been 30 minutes since it said 'This may take "a few" minutes'. This gets me wondering, what exactly does Visual Studio do when I first start ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft exchange connector is unable to find user from postfix am trying to create exchange in a way that it will redirect mail from O365 to my email server. While creating I am getting some error while validating with the user that exists on email server. Mail server validation results :- 250-a05b7644ea5a Hello m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex to match * at end of string I have various words that look like this: big kid* jumper kid* swing*set I only want to replace the * when they occur at the end of a string, but not when they are in between a string. I've tried various regexes in BigQuery to no avail. A: This should replace only the * values that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring MVC request/response thread throws a Exception with a caused by of another scheduler thread We have a production web server built with IBM Websphere, Spring IoC, Spring MVC, and Hazelcast. We use Hazelcast as the Spring session implementation. A single schedule thread will do the health check every 60 seconds...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Capacity vehicle routing problem assign wrong vehicle for route, google or tools I'am using google or-tools to find the best matching vehicle to capacity constrains problem. Trying to run the python example given in the official documentation in the below link with a simple distance matrix data https://developers.go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to retrieve list of databases I am using vs 2019 I have succeeded my test connection but the databases didn't show up here is my screenshot enter image description here i tried to manually type the database I have but i only get this enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75622556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Macro for dynamic contract generation Problem I need a way to generate a contract based on options. Ideally I envision this as a few checkboxes, and each checkbox removes certain paragraphs within the word form. Solution? Im best with python, and could generate a python script for this easily but would ideally like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data precision using geom_dl() The data points are always truncated if the trailing digit is zero.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: R - Grouping character data into numeric Okay, I know this is likely an easy answer. I've just been staring at the code too long at this point. Either way, I've visited Grouping data into ranges in R, R Data Grouping, grouping character variables in R,R - Grouping of Data, grouping data in R, and multiple others. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Save big dataframe as json I want to save a pandas data frame relatively big (70 millions of row and 10 columns, containing datetime cols). When i call the method pd.DataFrame.to_json i get memory problems (seems related with this post). So i created a custom simple serializer say serialize_row and i used the interr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: bell in batch files: how to create bell script? This is more of a solution than a question; (creates bat file named bell which can then be called like a function) echo (echo ^G) >> bell.bat where ^G is the keyboard character produced by Ctrl+G you're welcome this is the product of many hours labour enjoy
{ "language": "en", "url": "https://stackoverflow.com/questions/75622565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Next-Auth session returning undefined from getServerSideProps, NextJS 13.2.1 In the following code, session is undefined when logging from the client after getting passed from getServerSideProps. import { getServerSession } from 'next-auth/next'; import { authOptions } from './api/auth/[...nextauth]'; import Standar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error "Finder got an error: mkdir: /file: Read-only file system" number 1 I have an AppleScript I've been using for a long time, and it works great. It pulls down a file from a URL, then pushes it up to a folder on our server. We got a new server, and now the script doesn't work anymore. The old server was a Serv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to return int or number from json in a flask app I tried to creat an app to return info from a .json file. here is my code: import json from flask import Flask, request app = Flask(__name__) @app.route('/', methods =["POST"]) def time_word_reg(): data = request.json return data['key_str'] if __name__...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do i copy text from a command prompt into a txt file? I'm trying to get the output to be a complete copy of the cmd in the command prompt but I keep getting 0 as my output import os print(os.system('netstat -ano')) A: You can either write the file directly with Python or you can pipe the output of running the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is this ForEach loop so slow I have list of directory strings (millions) that need to be shorten to meet a specific length (MaxPathLength), once I remove the extra characters I need to either add them to another array list or a file. It is important that I do not modify the top 2 level directory names, hence the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot run Automatic1111 on Windows 10 - the system cannot find the path specified I'm trying to run Automatic1111 on Windows 10 but I am having an error in the installation phase. I followed the steps described in the repo README, so any tip on how to fix this is very welcome! Here is the error message I get once I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SQL Live Beginner A student learning about SQL Live for the first time - I am attempting to create tables, but the problem is that I receive this error code: ORA-00942: table or view does not exist. Unsure of what I am doing wrong. Here is my code: CREATE TABLE Emp ( Empno INT PRIMARY KEY, Ename VARCHAR(50)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MALDI graph: need help labeling the local maxima THis code is great, but I can't label on the peak of the signficant colums. I wam trying to label the x value of the tallest columsns in each cluster of columns. The peaks that I would like labeled here are the ones at: 630, 637, and 690 m/z. The code is below. Here i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .NET 6 Serialize and Deserialize We have been using .NET Core 3.1 to serialize/deserialize with this code: public UserData Clone() { return ((ICloneable)this).Clone() as UserData; } object ICloneable.Clone() { BinaryFormatter binary = new BinaryFormatter(); using (var ms = new MemoryStream()) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rename columns based on certain pattern I have the following columns in a dataframe: Id, category2, Brandyqdy1, Brandyqwdwdy2, Brandyqdw3 If the column's name starts with Brand and ends with 1, I need it renamed as Vans. Similarly, for other Brand columns, use the following: rename_brands = {'1': 'Vans', '2': 'Nike'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to download and upload Django, Python App From DIgitalocan to Any server Back in few months I hired someone to do a OTT project for me and he did it well but is has many errors and when I try to connect him he didn't respond. He don't even give me the source code which was the deal and also he was about to maint...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gets a list of the folders for the account not listing user defined folder [docusignapi] I am trying to get all folder using docusign folder API. Request Url : {{baseUrl}}/v2.1/accounts/{{accountId}}/folders?sub_folder_depth=-1 Response only contains : Inbox,Sent,Drafts and Deleted I am also expecting the test1_fold...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Batch File Script - Possible Syntax error? I've got a batch file script which is asking the user to pick one of the listed options, the user then has to enter a valid response and then type a folder name, after the folder name is given, it creates the folder with the user inputed name and the subfolders, checking if...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a nested for loop in python that processes through a file that was started to be processed I know the title is a mess, but in the code below: with open('example.txt', 'rb') as File: for x,y in File: if x is 0 and y is 0: for a, b in File: x = x + 1 I mean to ask h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can mybatis support presto? I want to use presto in java, but don't know if mybatis supports presto? I tried to find support in the documentation, but couldn't find it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63 in flutter full error:- ould not open settings generic class cache for settings file 'D:\Scripts\6valley-130nulled\codecanyon-31448597-6valley-multivendor-ecommerce-complete-ecommerce-mobile-app-web-and-admi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to boost my Mysql datetime query with thousands of rows I have thousands of rows for each table. This table(tbl_vehicle_id) is the data of vehicle logs like GPS logs. Now I need to query the last vehicle GPS log to get the recent location by getting the gps_date column and sort it by desc. Below is my sample veh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why some methods we can apply to an object and define it in a variable, but for some we cant? if we have a file, we can read the lines and store it in a variable. such as: with open('test.py', 'r') as file: f = file.readlines() however, for some methods we can't add it to an object (sort it) and store in a vari...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get values from mutiple dropdown list and insert to the array list in model? Any one know how to get values from mutiple dropdown field and then put those selected quantities into an arraylist in model? Also how to make those quantity >=1 items into a list so I can add them into another arraylist in the model...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Random shuffling an array of strings I need to randomly shuffle an array of 10 names: String[] names={"name 1", "name 2", "name 3", "name 4", "name 5", "name 6", "name 7", "name 8", "name 9", "name 10"}; What function could i use to solve this? A: You can use Arrays.asList to create a List backed by the original ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Typeorm 0.3 nestJs - can't perform migration to postgres database recently i've updated the project to typeorm -v 0.3 since then i'm facing an issue with the migration i've changed the ormConfig.json to datasource as mentioned in docs but id didn't work as well Here is the data in datasource file const db = { ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change date format from MM DD YYYY to DD MM YYYY? In SQL in a column How can I change date format from MM DD YYYY to DD MM YYYY? I expect to have a date column in a DD MM YYYY date format
{ "language": "en", "url": "https://stackoverflow.com/questions/75622611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting a template variable inside a component used many times within a form for validation I have a form for a booking process, in that form there are different sections for adult/pensioner/children/infants, they all share the same 4 inputs but also have some unique ones depending on type. The duplicate sections ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: displayScore function not being called onto Results page Basically I need to be able to call the displayScore function to the results page but I get nothing, all it says for me is that displayScore isn't defined I'm very new to javascript and am just lost at this point to what I'm doing wrong. I have to write this q...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failure opening rule instance pega I am trying to open one section but I am getting below error Failure opening the Rule Instance Unable to open instance - Possible causes may be * *Rule may no longer exist. *Availability of the rule may be set to No/Draft, Blocked or Withdrawn. *Circumstance of the rule may be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i show part of View at first in DrawerLayout? I'm using DrawerLayout now. I want to show a part of View in advance like below. As you can see, we can see the part of View with android:layout_gravity="end". If i swipe from right to left, i can see the entire view. The photos above are not real. I made the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use a color defined in CSS in a Sass file? I'm currently working on a project where I'm creating a color picker in the WordPress theme customizer. I'm using the following code in my functions.php file to define a color picker and set the color as a CSS variable: // Function theme support Stylesheets function ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javafx 3D Transparency not working zero alpha If I use the following material, I get some transparency which is fine: PhongMaterial material = new PhongMaterial(new Color(0.5, 0, 0, 0.5)); But I can never get fully transparent mesh. For example, I expect the material below to be fully invisible but it's still visib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Operator call corresponds to a dot-qualified call 'n.compareTo(3)' which is not allowed on a nullable receiver 'n' I have the following code: val n = readln().toIntOrNull() if (n > 3) { println(n) } I am receiving above subject error: Operator call corresponds to a dot-qualified call 'n.compareTo(3)' which ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: tkinter: the parents have children, but the children have no parents? So I am very new to this (please bear with me) and have looked for an answer to this extensively today. I have an issue with tkinter that I have not been able to find documented anywhere, which I have been able to reproduce on multiple files acros...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add line graph to tooltip of d3 treemap with tooltip to display data as table I am doing a visualization web application that presents data using a d3 tree map. When the user is hovering on the treemap, there is a tooltip displaying data as table with many rows and column like 5x4 for example. I can display the data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Hello I am getting an error in my kotlin file that is" :app:processDebugAndroidTestManifest" . can any help me :app:processDebugAndroidTestManifest I tried to solve the error by searching in Google,but i didn't found a solution for this A: 1.Check for errors in the AndroidManifest.xml file: Open the AndroidManifes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Not so simple javascript task I was given a task and I have gone beyond my novice understanding of Javascript. I'm wondering if anyone can provide a better answer. The task is to append the span to include a 10% discount and show the new price. Here is the simple HTML: <div> <p> <span class="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: How to identify which cognito user sent the request through aws api gateway I have a lambda function that is integrated to an authenticated AWS API gateway. A user with valid credentials can invoke the API after successfully login into Cognito. User side client sends id_token in the header of the request, so API gat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to askquestions about chrome os? Chromeos supports 10-point multi-touch, but after connecting my screen to Chromebox, I measured 16-point multi-touch on the test software. I want to know why? After connecting my screen to Chromebox, I measured 16-point multi-touch on the test software.I'm looking for more tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to install Ruby gem ffi 1.8.1 on the M1 of the MacOS system? My Rails application needs the dependency of ffi 1.8.1 when it starts, but I am a MacOS M1 chip, and I have tried many methods, but I can't solve this problem. I tried many methods, and finally used arch - x86_ 64 gem install ffi - v 1.8.1 -- with flag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terrible delay by replace() the fragment, but only the first time The FragmentContainerView owns 2 fragments: a ListFragment(with a RecyclerView) and a DetailsFragment. Container: <androidx.fragment.app.FragmentContainerView android:id="@+id/nav_host_fragment_activity_main" android:name="com.mypr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cassandra Data Clean up We have a Cassandra cluster of 5 nodes and each node is having 10TB of data. We want to clear some space out for a Large table. The large table is configured TimeWindowCompactionStrategy with 1 day compaction window. One Solution which I think * *Create Range Based Tomestones and run a majo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dbt Python Incremental Models I’m really excited to be able to use Python models in dbt, but I’ve been running into issues with incremental ones. If I have a working model with materialized = "table" and I change it to materialized = "incremental", shouldn’t that work fine even before adding in the correct if dbt.is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does React manage memory? What I want to know I am looking into memory management in React. First I looked into JavaScript's GC and learned that it uses two algorithms to free unneeded memory. Then I wanted to know how React performs memory management. When I looked into it, I found only articles about setState ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Solving this google challenge coding problem This problem came in my google challenge for an internship and I wasn't able to solve it: You are standing on a circular path. From your initial position, you can move either in a clockwise direction or anticlockwise direction, but you can move only along the circular pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use ROOM and ModelView in Jetpack Compose? MVC and ROOM usages examples full codes explained IAM noob in Jetpack Compose
{ "language": "en", "url": "https://stackoverflow.com/questions/75622664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Updating HTTP Cookies Python I am having trouble updating the cookie I recieve from a previous page in my python web application. When I try adding a new key value pair or editing an exisiting one it updates the cookie on the current page. But when I output the cookie to a different page the cookie is not updated an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: If two nodes have multiple edges, how should I build a graph with pytorch geometric? Suppose a node represents a bank account and an edge represents a transfer operation between two accounts. There may be multiple transfers between the two accounts. if this, how should I build a graph with pytorch geometric? I cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to read files in sequence via filebeat Now I have 10 log files to be read by Filebeat, assume that they are log1.txt, log2.txt, log3.txt, ... log10.txt. I want Filebeat to read them one by one,it means at most there can be 1 harvester reading. So, I set the following settings in the filebeat.yml for my filestrea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OSError: undefined symbol: cublasLtGetStatusString, version libcublasLt.so.11 only in tmux terminal I was running a shell script in terminal, and everything worked well, but after entering the tmux terminal, and running the same script within the same conda environment, I got this error: OSError: /datapool/data2/hom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to ignore undefined variable when import variable from file in Robot Framework I have imported some variables from python file, example: myvariables.py USERNAME_TEXTBOX = '//android.widget.TextView/[@text= "Username"]' PASSWORD_TEXTBOX = '//android.widget.TextView/[@text= "Password"]' LOGIN_BUTTON = '//android.w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to edit websites I am looking to partner with someone who is familiar with javascript, CSS, Boostrap etc. I help realtors with their websites but am looking to up my web development skills. I've tried to edit the websites myself but the website is not advanced enough. Its just a still webpage.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: In sequelize model, how to create a dynamic model where fields will be initialized after getting the data from DB I am wondering how can I create a dynamic model where all the fields will be called from the database and then the model will be initialized, In the below code I am trying to do the same first calling th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to produce kafka message in JSON format using MongoDB Kafka Source Connector? I'm getting confused reading document about MongoDB Kafka Connector's Converter. Can anybody answer at least one of my questions please... * *https://www.mongodb.com/docs/kafka-connector/v1.3/introduction/converters/#json-converter I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Strange artifact on screen when highlighting text with Svelte and Tailwind I'm working on a Svelte project that using Tailwind for css and I'm getting strange artifacts on the screen randomly. Inspecting the element doesn't lead anywhere or makes it disappear, clicking on the input makes it go away but not clicking ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: groupbykey in sparkscala dataset I have a dataset as: | x | Y | | 1| 1| | 2| 1| | 3| 1| | 4| 2| | 5| 2| | 6| 2| I am looking for grouping the a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: build tf_mesh_render error: bazel test failed enter image description here how to deal with this problem? my conda virtual environment includes python3.6,tensorflow-gpu1.15.0,bazel0.26.1 and I wanna build the tf_mesh_renderer to generate rasterize_triangles_kernel.so.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to perform Oracle CDC using wso2 streaming integrator? I am trying to setup Change Data Capture (CDC) between wso2si and a local OracleDB. I have added ojdbc8-12.2.0.1.jar to LOCAL_DIR. I am following Installing a specfic Siddhi Extension to install cdc-oracle with command extension-install.sh and I did all step...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: themis::tomek() returning 0 observations I have an imbalanced dataset of 227846 observations and 30 columns and I would like to apply smote from the smotefamily library and then tomek from the themis library on the smote data to make the dataset balanced/near balanced. The original dataset is the credit card fraud d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why My Opencv bm3dDenoising Function Can't Work?   In my research, I want to reduce noise in a 16-bit X-ray image.   I have tried implementing bm3d algorithm by this paper An Analysis and Implementation of the BM3D Image Denoising Method, but I failed to make it useful. It took too much memory and time, and denoise...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redirect from one flask app to another python I have two flask apps which run on different ports: socketio.run(app, host='0.0.0.0', port=5000, allow_unsafe_werkzeug=True, debug=False) to socketio.run(app, host='0.0.0.0', port=9000, allow_unsafe_werkzeug=True, debug=False) I know the way I can use flask.redirect('0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to work with a boolean conditional in a pandas dataframe I have a pandas data frame (df) with an index of dates and 1,000 rows. A row looks like this: SPY 262.408051 shrtAvg 262.861718 signal True Name: 2019-03-22 00:00:00, dtype: object I would like to do a calculation to create a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I keep getting an error when using the fetch method, dataSource.fetch() that shows `Possible Unhandled Promise Rejection (id: 0):` in console I'm using a tool called sanity to store my data and use CRUD functions. Everything went well so far, I even stored some fake data to test the tool, but when I tried to use the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DiscordAPIError[40060]: Interaction has already been acknowledged | Error with embeds and buttons I have this discord.js embed with buttons where users can choose an attack move and it will attack a boss. The problem starts when I defeat the boss. When I defeat the boss and want to run the command again, it sends th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Cannot bulk load. The file "' + + @FilePath + '" USE [NganHangCauHoi] GO /****** Object: StoredProcedure [dbo].[ThemCauHoi] Script Date: 3/3/2023 8:40:57 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[ThemCauHoi] @MaCauHoi NVARCHAR(500), @NhomCauHoi VARCHAR(500), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React navigation shared element transition forward works but does not 'transition' back I'm having a nested stack with the "react-navigation-shared-element" (0.8.4, Expo sdk 37, react native 0.70.5, react-navigation 6) Clicking on a given card results in the proper transition to the card as expected. However, clicki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Call multiple ajax and take only success result using jquery * *I have 1 html (2cols, 6rows) and 12 ajaxs. *Each ajax's result will be binding to its own (regardless of success or failure). *Ajax will return 200 or 403. don't know at this time. *※IMPORTANT※ All result must have to show one same time. let a1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it ok to update database every time Apollo Client queries the server for new data? I'm new to realtime data viz and trying to build a dashboard app that displays CPU, memory, and battery data using the NodeJS systeminformation module. The React frontend uses Apollo Client to poll the server in 5 second intervals ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android get BLE Device Information Service data I have a Nordic Semiconductor nRF52832 chip, and I've written firmware on it to support the Device Information Service. This shows up fine in Nordic's nRF Connect app. Here is the firmware code to set up the service: ble_dis_init_t dis_init = {0}; dis_init.manufac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Construct static extent of std::span from `{pointer, length}` Preface Given a char *p pointer pointing to a buffer with given size_t length. Caller will guarantee the buffer is valid. I want to use void spanStatic(std::span<char,8> s) to modify the buffer. I tried to use spanStatic({p, length}) where length is large...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: My Expect script is jumping when read file I make script, use expect to sent all command in file line by line. But the result is not all command in file are sent to terminal. need your suggestion what need to improve bellow is command script. set saddress [lrange $argv 0 0] spawn ssh Rd@$saddress expect "password:" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: API's calls were failing after upgrading Angular 1.5 to Angular 14.2 while accessing the application with HTTP port Recently I upgraded my web application from Angular 1.5 to Angular 14.2 and deployed on Payara 5.2021.10. But, running with a weird issue * *I am able to access the application with HTTPS(secured) po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get all annotated member properties in kotlin I'm trying to get all member properties' JsonPath in kotlin. Following is my data class with annotated fields class Test( @Mask val testField: String?, val nested: NestedTest, val nestedList: List<NestedTest>?, val generic: GenericTest<NestedGenericTest> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: No Build Cache Found - Github Actions/NextJS App I'm currently playing around with setting up a very basic CI pipeline (via Github Actions) for a NextJS app. Each time the workflow runs, it hits an error at the npm run build job and logs warn - No build cache found. So, I went to NextJS documentation on this issue,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting weird behavior out of flopy.plot.PlotCrossSection function. White gaps in the plot I am using flopy to make plots of a Modflow model. When I graph a crosssection along a 4 pointed line, [(570900,141900),(582700,135100),(589700,120100),(594500,116300)], I get white gaps in the plot. I thought maybe its missin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way in Swift to match my button width with my textfield inside of my alertView? returnAlert?.addTextField(configurationHandler: { [self] (textField) in // //Dropdown Start here let customDiscounTypes:[String] = ["\(PaymentCardType.MasterCard)", "\(PaymentCardType.VISA)", "\(PaymentCardTyp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: unmarshal missing field as empty map type FieldDefinition struct { Name string `json:"name"` Description string `json:"description"` Aspects map[string]string `json:"aspects"` } func (f *FieldDefinition) UnmarshalJSON(b []byte) error { var tmp struct { Name string `json:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: sort dictionary by multiple values and different order i have this dictionary dic_kol={"History :":2,"Horror :": 2 ,"Adventure :":1 ,"Comedy :":2 ,"Romance :":2 ,"Action :":3} now i want sort dictionary by order of values and if two values was same then sort alphabetically. but required sort numerically ascending a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }