text string | meta dict |
|---|---|
Q: Re-using update function for 2 plotly-dash figures? Context
After having created a code that adds an arbitrary number of graphs in the Dash web interface, I was trying to re-use the updater function, as it is the same for each respective graph.
Issue
When I inspect the graph, they are both the same graph (the last o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .NET Maui ListView binding works in Android but not Windows Doing my first .NET MAUI app, and was attempting to scan for Bluetooth LE Devices and connect to one using InTheHand.BluetoothLE. The library appears to be working great but have a strange issue with DataBinding. I am using a ListView bound to a Collection ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: how to find out what parameters are needed for class of heavy inheritance? A simplified code looks like this:
class Base:
def __init__(self, *, a, b, c, d, **kwargs):
...
class Level1_1(Base):
def __init__(self, *, e, **kwargs):
super().__init__(a=e**2, **kwargs)
class Level1_2(Base... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Expand a comma separated item in a list I have two python lists of the following form:
grocery_list = ["apple", "whole milk, skim milk, 2% milk", "american cheese, cheddar cheese"]
grocery_cost = [10.5, 4.50, 2.40]
and I would like to convert them to a more easily read from list of the form:
grocery_list = ["apple"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible & AWS secret manager I´m looking for a way to get credentials from AWS secret manager from local host and then pass it in a secure way to the client host.
For security reasons, only the instance role assigned to the EC2 running ansible is able to retrieve values from secret manager, for that reason I need to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a DDOS protection for a webpage inside of the views So recenty I have been working on a Django app for a school project, and some friends decided it would be funny to DDOS my webpage. I am currently looking for new friends and a way to protect against this. I am currently trying to use a decorator limi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to avoid duplicate values in Powerapps Datatable? I am programming an app with PowerApps using SQL Connector to connect with a SQL Database.
I want to show options to the uses using a Datatabla that can be filtered using information typed in textboxes.
The following picture shows how the windows looks before fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Check If Value Changed (Including from or to NULL) I have an SQL query where I'm needing to do a comparison of one value to another value by checking if they're inequivalent. This means my WHERE clause carries out a validation if val1 is not equal to val2, i.e.
SELECT
. . .
WHERE val1 != val2
I'm aware Standard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C Programming - int is incompatible with parameter of type const char * I am programming in C and I am getting the following error: "int" is incompatible with parameter of type "const char *" when I try printing printf(fahr).
*** C Code ***
#include<stdio.h>
int main()
{
int fahr, celsius;
int lower, upper,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DCEL data structure throwing garbage value for particular vector element? #include<bits/stdc++.h>
using namespace std;
class Vertex;
class Edge;
class Face;
class Vertex{
public:
float x;
float y;
Edge* edge;
Vertex(float x, float y) : x(x), y(y), edge(NULL) {}
};
class Edge{
public:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reverse proxy to subdirectory using Nginx causes the path problem I am now trying to reverse proxy my SolidJS app through Nginx.
My app is running on the 3000 port. (http://example.com:3000)
However, I want to reverse proxy this app to subdirectory (https://example.com/myapp)
The nginx works correctly while using th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SwiftUI Static method 'buildBlock I am trying to show this DiskStatus() in SwiftUI ContentView() but I can't seem to add it. It always shows me this error:
Static method 'buildBlock' requires that 'DiskStatus' conform to 'View'
I have tried other methods but all of them failed and I can't seem to find a way to ren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using additional XML tree within XSLT stylesheet -- but document() function is not available My XSLT stylesheet needs to load an external XML resource for use during the transformation. The external XML is essentially a lookup table needed during the transformation.
This works fine in a normal xsltproc context. I us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Optimizing code for creation of ML dataset I'm a statistician, working on a problem with predicting vessel destinations. My current problem is that my code is slooow, and since I am not that great at programming, I find it quite hard to see how to optimize my functions.
Below is the head of the Pandas dataframe whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Join Date and Text I have 2 tables:
Table1
ItemNo
startDate
endDate
ABC
2023-01-01
2023-02-28
CDF
2023-01-01
2023-02-28
HIJ
2023-01-01
2023-02-28
KLM
2023-01-01
2023-01-31
NOP
2023-02-01
2023-03-31
QRS
2023-02-01
2023-03-31
Table2
Date
ItemNo
2023-01-01
ABC
2023-01-01
EFG
2023-01-01... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Selenium: The script doesn't executes a function I have following problem: My script doesn't execute the code between problem-comments. This script should login into yandex-mail page (https://passport.yandex.ru/auth) find by xpath the search-field for mails, click on it and finally entering: subject:(Your Steam acco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ModuleNotFoundError: No module named 'apscheduler.schedulers'; 'apscheduler' is not a package ModuleNotFoundError: No module named 'apscheduler.schedulers'; 'apscheduler' is not a package
Errors like this occur.
I have already installed the apscheduler library.
Version used: python3.11.0
Framework in use: Django
aps... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not resolve dependencies for project project:jar:1.0.1: org.netbeans:awtextra:jar:1.0 was not found I'm trying to use Absolute Layout in Netbeans 13. My hard drive is almost full so I cannot index and unpack the entire repo (which I think is the problem below).
Could not resolve dependencies for project name:j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: enabling the node_option --loader ts-node/esm shows the wrong line number in exception stackTraces Enabling the node_option --loader ts-node/esm shows the wrong line number in exception stackTraces
Here is a minimial github repo reproducing the problem
https://github.com/deltaboukensha/bug-ts-loader
In the npm run t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting currency using historical exchange rate using currency converter I have a df which has columns currency, amount, date and the currency column is full of different currency
eg: USD,23000,2018-05-01
I want to convert all the amounts to GBP by using the exchange rate at that date it has listed. The amount of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Switching focus from Chrome to PhpStorm broken Since last week my desktop drives me crazy. While I'm developing webpages, I'm jumping from Google Chrome over developer tools to PhpStorm and vis versa.
In some cases, I cannot reproduce, PhpStorm doesn't get the focus. I have to do many clicks and window movement to b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: slicing data on a data frame I have a data frame named cars -> I read that with pandas.read_csv->then I want to slice that … I want to slicing x for features and y for target
I use this …
`
# make all of columns except last one for feature
X=iris.data[:,:-1]
# make last column for target
Y=cars.data[:,-1]
but i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Understanding Anti-CSRF Tokens I am currently trying to understand CSRF attacks a bit better. However, there seems to be something I still do not quite get. This is my current understanding of CSRF:
*
*Victim V visits a legitimate website W with domain example.com
*Adversary A would like V to perform a certain, p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to insert arabic/chinese characters in AWS redshift from AWS Glue using writeDynamicFrame function I am trying to insert a dataframe into redshift that contains multibyte characters such as arabic/chinese.
Since the limit of redshift is 65535 bytes, copy command gives me error while inserting 65535 multibyte cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the command line arguments from a given process pid? I'm trying to get the command line arguments passed when a process is created, for example:
open cmd and type notepad.exe --abc
I would like to retrieve the information: notepad.exe --abc or just --abc.
I found a similar question, the third answer is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to train model as ray actor always dies When I run this code the actor always dies. I have installed all the modules required and there are no dependencies. I have also installed ray-lightgbm.
What is causing the error? Any ideas will be helpful
Failure # 1 (occurred at 2023-03-01_23-48-36)
[36mray::_Inner.tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django: maximum recursion depth exceeded in comparison - Postman works I have a Django backend running as a service on an Ubuntu machine. After a while, I am getting this error when trying to execute my requests:
maximum recursion depth exceeded in comparison
I have attached to the process and found where the proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I carry out wilcox.test considering every 4 rows in R? I have a very large data frame consisting of two variables (here A and B) and 134,000 observations (134000/4 = 33500 groups).
I'm a bit uncertain as to how to get my code to run a paired wilcox.test, but when applied to every four rows. As example data, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to put leading Zero in integer in java enter image description here
I want code of this question
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75607620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Cant recieve verification code Telegram API (Telethon) I have next code:
from telethon import TelegramClient, events, sync
from telethon.tl.functions.users import GetFullUserRequest
from telethon.tl.functions.messages import CheckChatInviteRequest
from telethon.tl.functions.channels import GetFullChannelRequest
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to intergrate svg icon into mapbox I am new in JS. I am trying to make appear different svg icons, depending on properties of geojson properties. Is it possible at all?
Here is my code:
<script src="https://d3js.org/d3.v3.min.js" charSet="utf-8"></script>
<script>
mapboxgl.accessToken = 'pk.eyJ1Ijoib2tvcnN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Node.js + Express get two queries into one JSON Object i'm new to Node.js and Express and managed to have a simple API that fetches data from a mysql DB.
So far so good. Simple requests are no problem. But for the following example i need some help.
I tried a couple things but the don't work out at all. So i don't h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BLE - Decoding Advertisement with Python Trying to get the advertisement from a Govee Hygrometer BLE device and decode the information to get Temperature and Humidity data. I've worked with both Bleak and Bleson to do this.
I need help understanding the output and how to decode it to temperature and humidty.
Here is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jest how to mock environment variable in React Native react-native-dotenv I am performing unit testing in React Native and when I run the test case its throwing the following error:
● Test suite failed to run
SyntaxError: /builds/Profile.component.js: Try to import dotenv variable "PROFILE_URL" which is not de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubuntu 22.04. Command "man" is not working I have Ubuntu 22.04.
When i try to execute man command i get an error:
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, including manpages, you can run the 'unminimize'
com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: append data from dataframe to table with same column name but different datatype I have code which creates the table at first load using df.write.format
EXECUTION 1
Schema = 'customer'
TableName= "customerdata"
FolderName = 'subfolder1' #This will change in loop - variable
dfGetCSV =spark.read.format('csv').options... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: @BeforeClass not working in ktor test class I have a ktor server and I'm trying to make unit tests. However I'm not able to find good documentation and I can't get it to work, I probably missed something but I am stuck now, it doesn't give any error but I don't think it's running the server.
import io.ktor.http.*
im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Form Recognizer in deep Learning with Annotation I have regular digital forms with blanks, boxes, checkboxes, tables, and signature fields. My aim is to extract the field name along with its fillable coordinates.
For e.g. if form has a field named "Name of benificiary" and has it's corresponding blank space at (x=5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: trunc(sysdate) PostgreSQL In Oracle, if you use
select trunc(SYSDATE) from dual;
We get the current date, but in PostgreSQL will it work?
Is there even a similar design in Postgre?
A: Oracle's DATE data type (which is what sysdate returns) always contains a time part which can not be removed. trunc() will set that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Match data in dataframes I want to match the information in two dataframes conditional on dates. For instance, my first dataframe has a column date:
DATE
2022-10-01
2022-10-22
2022-11-14
My second dataframe (dates may not coincide with start and end of month):
CATEGORY
START
END
1
2022-09-01
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix the Download image system in my flutter app I have an openai chat+ image generation flutter app. In the code after the OpenAi API generates the image, their is a download button. But, when I press it, it doesn't download the image. It is the code:
CustButton(
onTap: () {
Navi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DocuSign API - Is there a way retrieve documents from multiple envelopes as zip file with one API call? We have a requirement to download documents from multiple envelopes, as zip file, with one click.
Is there an API method to achieve the same?
If not, any recommendations?
Didn't see an option to try yet.
A: No, y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get the name of the currently selected annotation? In short, my current code displays annotations with custom images that it gets from another struct, and when the user clicks on an annotation, it brings up another view.
This is my code:
struct MapView: UIViewRepresentable {
let annotations: [MKPointAn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cluster Autoscaler for AWS EKS cluster in a Private VPC I have an EKS (Kubernetes) Cluster hosted in AWS. Due to some customer data privacy policies this K8s cluster is running in a VPC that is completely cut off from the internet (no internet gateway). The issue I'm having is that the cluster-autoscaler (installed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RTK Query - Select from cached list or else fetch item I have 2 endpoints. One for fetching a list of users (with all related data), and one for just fetching one of them. I would like to be able to share cached data between these 2 endpoints.
I need this because I have 2 pages, one with the list of users, and one t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Want to split out the methods.py file (contains various classes with methods) into separate files using python + appium I have an established appium + python framework.
The methods.py file (contains several classes, each containing many methods) is becoming increasingly long and as we add more tests it might be bene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pascal Triangle with C# using jagged array I am making one task in programming. The main purpose is to create a pascal triangle using jagged array. That means that every row should consist of numbers that are in pascal triangle. For example first row consists 1, second row consists[1,1], third row consists [1,2,1] a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Opencart config.php needs to be writable I am attempting to install opencart on my windows server with IIS. I have set the permissions of the directly to include modify. But I'm still getting this message:
I have copied the files per the instructions to this location: C:\opencart
Here are the permission I've set:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to implement isDirectionalLockEnabled for SwiftUI ScrollView I have a scrollview that scrolls horizontally and vertically. I want to restrict scrolling in one direction at a time like UIScrollView allows with the isDirectionalLockEnabled property. SwiftUI ScrollView doesn't seem to have the property.
ScrollView(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: incorrect positioning of a layout I try to position my layout so that it looks like the following screenshot:
But for now, my layout looks like this:
the layout is not positioned at the bottom initially as I would like. Moreover, it is displayed on top of the other layout containing the main weather data.
I would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot run Jar file , Server returned HTTP response code:403 I am setting up a home penetration testing lab on my windows server 2019 to exploit log4j. I have installed oracle java 8 and Minecraft paper server 1.12
The issue I am having is I have installed those needed packages yet when I run
java.exe -jar paper-1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling Message and CommandInteraction types in Discord slash commands with TypeScript I have a discord bot with a decent number of commands. It slowly grew from a very small codebase in Java and has formed into a somewhat OK Typescript/discord.js project over the years. However, it never came time to convert the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I need optimize this method For this method subarraySub(int[] arr, int n, int s) I must return Arraylist with two values Integer.
This two numbers returns an ArrayList containing the starting and ending positions of the first such occurring subarray from the left where sum equals to S (int s)
The two indexes in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: installation of R package NORMT3 fails on apple M1 pro I am trying to install the R package NORMT3 on my mac book pro (apple M1 chip) but get the following error.
*
*Download via
wget https://cran.r-project.org/src/contrib/Archive/NORMT3/NORMT3_1.0.4.tar.gz
*Install via
R CMD install NORMT3_1.0.4.tar.gz
Error:
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open product from Enovia5 using CATIA VBA in context mode? I tried to open a part or a product from ENOVIA5. The issue: I have to open a large number of products using context product mode and there are times CATIA just crashes, and there are times I need to reopen the same products again. This takes a lot of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Please make sure the libxml2 and libxslt development packages are installed I need to docker-compose django project in which i used 'facebook_scraper' package. Im trying to compose up following docker file:
###########
# BUILDER #
###########
# pull official base image
FROM python:3.8.3-alpine as builder
# set work ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get subtitles in any video using YouTube API v3? Could you please help me if I can receive the captions from any YouTube video with captions?
And, if yes, how I can do this?
I'm using this request to get the caption id - https://www.googleapis.com/youtube/v3/captions?part=id,snippet&videoId=id.
After this, I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flask resets the connection with redirect + render_template via POST method, depending on the request size I get an ERR_CONNECTION_RESET error when many records are sent to the client (via flask.render_template) after a flask.redirect.
If I do not perform a flask.redirect (direct call of the function that returns th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel send params from React to controller I need to get the device's current location and then calculate the distance between that location and the company's registered address in the database and for that I'm using Laravel+React. In React I get the latitude and longitude with navigator.geolocation and then use a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Aiogram 2.25. Does not work in web app data I use aiogram = 2.25. I am trying to work with the Telegram web application. All handlers are registered in a separate. I can't get data from the web application, although there are updates.
handler.py
dp.register_message_handler(application_from_web_app, content_types='w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Atari Breakout with levels and power up errors I'm trying to make this code for a project I have coming up. The goal is to have powerups when the ball hits some of the bricks and the power up does something like add a life or make the paddle bigger. Every time I try to run it I get some errors like activatePowerUp i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can't redirect to the '/dashboard ' (browser console: status code 500 internal error) i am learning google 0auth2.0 every thing was going good but agter selecting my gmail account and the response is not being able to redirect '/dashboard'.
app.js
const express=require('express');
const dotenv=require('dotenv');
req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Create a Genexus Server User With a password to change in first login Is there a way to create a user in Genexus Server, but after a create when a user login on Genexus ask to change his password ?
A: In addition to @ealmeida's answer. If your scenario is that you want to create a new user with a random pass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional type hints in python How to do proper type hinting in Python when certain packages only declare type hints when typing.TYPE_CHECKING is enabled?
For example, in flask:
# This works in mypy, not in python
# because flask checks for t.TYPE_CHECKING
# before declaring WSGIEnvironment
from flask import WSGI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Convert a Pandas DataFrame to a NumPy 2d Array based on 2 columns as dimensions and 1 as value I have this dataframe:
v t value
0 1 1 21662
1 1 2 18338
2 1 3 17400
3 2 1 21925
4 2 2 18328
5 2 3 25106
6 3 1 22017
7 3 2 18526
8 3 3 15896
9 4 1 16300
10 4 2 16826
11 4 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas merge one large dataframe with a single row I have two dataframes (df, df1) and I want to produce df2.
Here is df.
import pandas as pd
data = [[20, 10],
[100, 15],
[95, 14]]
df = pd.DataFrame(data, columns=['Math', 'Eng'])
df
Here is df1
data1 = [[20, 10, 25, 40]]
df1 = pd.DataFrame(data1, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to update the text in curley braces based on the input box I will explain the issue so when I type in first name it should update ${firstName} when I type in last name it should update ${lastName}.
The issue in the code is if I update the first name and after that last name only the recent input value is ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jetson nano poor performance with yolov5n and cuda activated I'm testing Yolov5n with a Jetson nano B01 device (4GB).
For this purpose I'm using a docker version from this repo: repo
FROM nvcr.io/nvidia/l4t-base:r32.7.1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
git \
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to detect what is changing my variable? I have this code where data is a list of purchasable items and user contains all the items purchased from that list by a user. itemid is the item we want to look up and itemfeat is the list of that item features. calcfeat will add the item features to the list of purchases... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Error compiling Angular project in Amplify AWS enter image description here
Hello, I'm having a lot of problems uploading my Angular project to Amplify, I'm grateful if you can help me, here's the log of errors obtained
Installed dependencies, used --force, peer-to-peer and other solutions
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75607690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to integrate react-native-paper (bottom-navigation) with reactnavigation? I have my app which has react navigation like Stack Navigators, Bottom Tab navigator. I want to use the bottom navigation of react-native-paper which looks better than react-navigation.
But the problem is that when I use paper's example bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Anyway that I can make sure that the matrix I generated meet the criteria both in row and in column in R? I want to generate a 12*12 matrix with each row and column has exactly 6 odds and 6 evens ranging from 1-12. For each column, there is no duplicate number.
The problem is that I only know how to set number for r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Suppose a class acts as an actor in the use case model. How will you represent it in the class diagram? i am confused in whether how a use case and a class diagram are reated? what i mean to ask is if i have a use case diagram how can i convert it into the class diagram or vice versa.
and also the above question.
I.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: RBAC for raw requests Trying to figure out how to set up RBAC to read from the custom metrics API. Here's the context...
I've got a service that is exposing custom metrics to Kubernetes. These are available through the following endpoint
/apis/custom.metrics.k8s.io/v1beta1/namespaces/{ns}/services/{svc}/{metric}
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: Transform values from one row to a a enumeration one below the other Let's assume the data set is of the following form:
Column A
Column B
Column C
Column D
Column E
Column F
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
Value
I would like to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set up the scripts to run conditionally in package.json? I have a React project which requires Node.js to build it using Webpack.
I have 2 Node.js versions installed locally, 16 and 18. Is there a way in which I can detect the version while running package.json and conditionally execute the script?
If Node -v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do I transfer data from an activity to a fragment? I've tried a bunch of options, but not one has helped. They often talk about the method using bundle. I tried it, but nothing worked.
In activity:
String nameDictionary = dictionaryName;
Fragment fragment = new DictionariesFragment();
Bundle bundle = new Bundle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I test a piece of code that works with files? I'm currently working on a personal project with Rust to learn the language, which basically consists on translating a project I did in college in C to Rust. The project basically consists in a (very) simplified file system based on ext2, and I want to test a par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adjust cell size of a react-data-table-component to the content I am making a system and I am using a react-data-table-component to query the information, the problem is that when a cell contains a lot of information, it is not fully displayed.
The information looks like this, as you can see part of the information ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firehose puts multiple records Firehose puts multiple records of the same data in Splunk. How can I prevent/stop this from occurring. data deduplication
def lambda_handler(event, context):
output = []
for record in event['Records']:
# your own business logic.
json_object = {"name": "this is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: fixing the error 'Exception in thread "main" java.lang.ExceptionInInitializerError' while installing pyspark I have to install a specific version of pyspark (version spark-3.0.0-preview2-bin-hadoop3.2.0) but when I run either the 'pyspark' command or the 'spark-shell' command in CMD, I get the error.
Python 3.9.0 (t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Point halving on elliptic curves secp256k1 Python I tried to calculate the half of a point G that equals to G=2P on python after reading these two StackExchange pages :
*
*https://math.stackexchange.com/questions/3953558/is-there-an-efficient-formula-for-computing-point-halving-on-elliptic-curves-in?newreg=bdfa7d7... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic programming with two parameters: days and coupons There is a cafe that has the following discount system: for each purchase of more than $100, the buyer receives a coupon that gives the right to one free lunch.
You have a price list for the next N days like:
5
35
40
101
59
63
The price limitation: 0 ≤ price... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is the userid in the sandbox one digit less than my WhatsApp number? As in the title, I only found that the number in Brazil will be one less, and the number in Argentina is normal, which is very strange
However my phone number is +5531999394804, there are 3 nines in the middle instead of two 9s
I try to test A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix Android Studio 2021.3.1 Build Error? I have upgraded AS to the latest version (Dolphin, 2021.3.1). When I try to build an old project, I get the following error message:
"com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more recent version
of the Java Runtime (class file version ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Search for Items in Firebase Realtime Database from Flutter I created a Search Bar and want to search for listItem (note: I use Firebase Realtime Database) but there's no good tutorials on how to search in the way that is going to work with mine...if that makes sense.
HomPage:
Desired Effect:
Declarations:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tesnorflow model.fit shape incompatibility Getting Error: "ValueError: Shapes (None, 5) and (None, 15, 5) are incompatible" while I am trying to train my model.
I am unable to figure where I am doing the error any help would be higly appreciated.
Total Output Category: 5
### Split the dataset into independent and de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to obtain the unique count of a field of the entire data view in Table in Elastic Search Kibana dashboard I have some data in Elastic Search and the records are like
{
{
"name": "Alice",
"fruit": "apple",
"time": "13:00"
},
{
"name": "Alice",
"fruit": "apple",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Replacing Price on Amazon with Chrome Extension I am trying to create a Chrome Extension that will replace the price of products on Amazon with the number of hours that would be needed to work at your given hourly rate to afford to buy the item.
My code currently looks as follows:
const hourlyWage = 15;
const price... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to mock axios with useQuery using Jest in React application I have compomponent and within this component I make a call to backend service and receive data:
import { useQuery } from '@tanstack/react-query';
import axios from 'axios';
export const Products = () => {
const { isLoading, data } = useQuery({
q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting 'Access Denied' exception on S3 putObject I'm trying to write a byte array to an S3 bucket using Java sdk2 (software.amazon.awssdk:s3), but I can't get it to work - I constantly get access denied errors. Here's what I have:
A very permissive policy:
{
"Sid": "VisualEditor1",
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with copying files to another non-existing directory Kotlin I have a problem with copying files to another directory within a Kotlin method. It seems that I can't copy the text files from one directory to other.
I want to copy the files into a directory that has not been created yet.
import java.io.File
fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to color only certain variables in ggplot I have this data
Score<-c(-2, 3, 4, -1, 3, 4, 5, -1, 3, 5, -3, 3, 5, 1, -4, 5, -2,
1, 3, 4, -4, 2, -1, 3, 4, -2, 3, 4, -1, 3, 4, 5, -1, 3, 5, -3, 3, 5, 1, -4, 5, -2,
1, 3, 4, -4, 2, -1, 3, 4)
Group<-c( "S", "S", "A", "S", "A", "S", "A", "S", "S", "A"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Testing Library render does not work with React 18 and SWRConfig I recently upgraded my NextJS application to React 18. And looks my tests are failing.
I did a sample test and this is how it works
import Hello from '../Hello'
import { SWRConfig } from 'swr'
import { render, screen, fireEvent, waitFor } from '@... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to fetch RESTful API request from the server which is on the same url link I have made a MERN stack project and in that I have tried to send the html file from the backend server itself and called the API request on the same URL as it is my backend. When I am hosting it in my pc on localhost then is running f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Query based on grandchild I have a project returning data from IOT devices in different rooms. The data is set up as:
<firebase_url>
|-<room_id>
| |-<report_id>
| | |-<data>
| |
| |-<report_id>
| |-<data>
|
|-<room_id>
I want to be able to query based on info in the <data> but it keeps tell... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AVPlayerView Question. .canBeginTrimming == false I am using an AVPlayerView and I'm trying to call the beginTrimming method. However it isn't working (ie. not entering trimming mode), so I checked its .canBeginTrimming property and found that it is false.
The .mov files I am using are local and I'm accessing them v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add button onclick in fragment kotlin I want to add onclick button in fragment kotlin, error - Unresolved reference. None of the following candidates is applicable because of receiver type mismatch
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does length_3d(point) actually calculate using GPS data? I have been trying to calculate the most accurate distance of my tracks using Haversine 2D distance calculation and stumbled upon the function length_3d in the link below. It uses latitude, longitude and altitude to calculate the 3D distance, which is pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pycharm Console Does Not Print Dots I am running PyCharm 2022.3.2.
If I print('...') I get blank output in both Python Console and IPython Console. This does not happen if I run Python from the terminal.
This happens with any multiples of three dots at the start of the line. Every three dots are converted to blanks.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |