text string | meta dict |
|---|---|
Q: Plotly add legend in hover graph i am doing a graph with Plotly library and I would like to add the name of the legend inside the hovertemplate. How can I do ?
data = [go.Bar(name=col,
x=aum_annuel_classe.index.year,
y=aum_annuel_classe[col],
xhoverformat="%Y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unhandled Runtime Error ReferenceError: doc is not defined Unhandled Runtime Error
ReferenceError: doc is not defined
Source
components\Modal.js (42:18) @ updateDoc
40 | await uploadString(imageRef, selectedFile, "data_url").then(async (snapshot) => {
41 | const downloadURL = await getDownloadURL(imageRef)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I don't know whtat ive done wrong - Website doesn't look right on a mobile phone The website i have built doesn't work properly when on a phone - it appears to be non responsible to the viewport size yet i have written that in the code
responsive website on phone/tablet etc
www.dermotnolan.com - is the website
<!DOC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: C# - Entity Framework Query returns NullExpression when not supposed to First of all this is my first question and I am a junior so please bare with me if I say anything stupid.
I'm encountering a strange issue in my C# code which behaves like this:
I have a simple database query inside a foreach statement which ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to translate HTML file locally I have an HTML file that contains some text in English, and I want to translate it into another language. I'm using the google-cloud-translate library in Python, and I have already set up my authentication credentials using the os.environ variable.
Here's the code I'm using to read... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ModuleNotFoundError: No module named 'timescale.fields' I have downloaded django-timescaledb but when i run server, the following error is displayed in terminal:
ModuleNotFoundError: No module named 'timescale.fields'
from django.db import models
from django.contrib.auth import get_user_model
import uuid
from dateti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculating the number of '1's in a df I have the following df, illustrated as the matrix in the image, and I would like to count the number of 'correlated' squares which are equal to 1, and 'non correlated' which are equal to 0.
I have tried to use the df.count() function but it doesn't return the result I want, as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error processing authentication request in WSO2 Identity Server sample scenario - SAML 2.0-based single sign-on I am following the WSO2 Identity Server documentation to set up a sample scenario. However, when I try to log in to the interface, I am immediately prompted with an error message stating 'SAML 2.0-based si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the scope of the environment that the closure holds? I imitated the online tutorial on closures and wrote the following code.
func foo1() func() {
xValue := 1
x := &xValue
defer func() {
xValue = 2
}()
return func() {
*x = *x + 1
fmt.Printf("foo1 val = %d\n", *x)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Spring integration ftp client hangs after transfering the file in docker I'm using the following code in order to connect to a FTP Server
public void sendData(BepReport bpReport) {
FtpSession ftpSession = defaultFtpSessionFactory.getSession();
StringBuilder buffer = new StringBuilder();
buffer.append(bpRepor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: fill text and search on web by selenium I would like to fill text and then enter to search some keywords in this website.
i tried myself some ways but did not run,
so please help me!
Thanks you so much!
https://shopee.vn/
A: You can send the text in the search box via below way, I used python to do it not sure abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building googletest both 32 & 64 bit with CMake I am writing software for a platform that has both 64-bit and 32-bit cores and I want to write unit tests for both sets of software using googletest. I want to build the tests so that the tests for the 64-bit software are also built 64-bit and similarly 32-bit tests sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Take the error result and transform it to custom error class I have an HttpClient.PostAsync method and i want to convert the error response into a custom ErrorResponse class.
The response from the call:
{
"ResponseStatus": {
"ErrorCode": "NotFound",
"Message": "Product does not exist in the syste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Subquery returns more than 1 row" in SQL (From Leetcode 178. Rank Scores) I am solving the SQL problem from Leetcode: 178. Rank Scores..
The question of the leetcode is this:
Write an SQL query to rank the scores. The ranking should be calculated according to the following rules:
*
*The scores should be ranked fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to do maximum likelihood estimation using optim in r? This is my data about insurance claim
claim
frequency
0
370412
1
46545
2
3935
3
317
4
28
5
3
I want to get the estimate value and also the parameters value using MLE
This is the loglikelihood function that I used
ll=((-t)(log(log(1-alpha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating dynamic table using HTML and JavaScript I am trying to create a dynamic table using HTML and JS. But I am able to do it. Please suggest me how to create the update the table and how to update it using JavaScript?
I am trying to make an object in JS and the object creation is dynamic. I have to show the deta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Disable browser translation dialog in Expo web app Is it possible to tell the browser not to translate the expo web app, as shown below?
There is a HTML5 attribute (translate: MDN web docs) which allows this, but I can't get expo to apply it to the root <html>-node.
I have tried to add the html node attribute trans... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React: Can't perform a React state update on an unmounted component warning I know there's been a few solutions posited on this error, but nothing I've tried seems to resolve it.
E.g.
const isCancelled = useRef(false);
then including a cleanup in the useEffect()
return () => {
isCancelled.current = true;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving Worksheet to New Workbook and End Macro if Canceled I have been working on this for over 3 hours and cannot figure it out.
I am wanting to save a worksheet to a new workbook. All works great unless the "cancel" button is chosen in the dialog box. The message "Want to save your changes" displays and then need ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Relation between Element, Declaration and Visitor in Dart I am trying to contribute to an open source repository. that took me deep in those concepts, i discovered a lot of things like AST,Element,Declaration and Visitors in Dart. But i can't figure out what are they and what is the relation between them
Can anyone ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Issue running Gradle build with SonarQube plugin I'm trying to fail my Gradle build in case of critical or blocker warning reported by Sonar.
I have a buildscript section with sonar gradle plugin :
buildscript {
dependencies {
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3'
}
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Within a folder search all CSV files for a word and only move the files where the word was found I have a folder full of csv files.
I need to seperate the csv files from each other based on,
if a specific word that occurs in the file or not.
EDIT: original code was removed, as it was not working anyways.
A: In case... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Blazor blur an element on scroll with js and css I'm working on a Blazor web app, and I would like to blur a specific element (background) when the user scrolls.
To achieve this, I called a JS function:
function backgroundBlurry() {
var distanceScrolled = document.scrollingElement.scrollTop;
$('.pageBackground').css... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Beautifulsoup in python From the following URL: https://ownr.dk/companies/public-profile/34883793
I would like to web scrape 3 specific things:
*
*The value for "Bruttofortjeneste" which is given in the field in the top of the website
*"Branchekode" and the string below that (further down the page)
*"Antal ansat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to download files from SharePoint to linux using bash with client keys I want to download files from SharePoint using bash but the folder requires client ID . please help
I tried curl and wget but it doesn't work
I tried configuring rclone but doesn't work
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75616366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: iOS: How to setup a Matter device binding I'd like to setup a binding between two Matter devices (accessories) on iOS.
Do I have to use the Matter framework to do so or is there an easier way?
If Matter framework: which API is suitable to do so? I'd appreciate an example/ some snippets.
Thank you.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75616370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: sudo pip install cryptography error: externally-managed-environment └─$ sudo pip install cryptography
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: disable value input outside of html datalist I have an html form. There are more than 200 product codes in the datalist, it is not fixed. it depends on a JSON file and can increment or decrement. Users enter one of them as input text, the list appears at the bottom. The HTML code is as follows;
<input list="lists" c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Join 1st table with list table in SQL I have two tables: first one with records of routes (from->to), the 2nd one with details about each route point (code, name, id)
1st table:
from_code
to_code
codeA
codeC
codeB
codeD
2nd table:
code
name
id
codeA
A
1
codeB
B
2
codeC
C
3
codeD
D
4
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding 'sep=$' to multiple CSV files I have ~800 CSV files, the problem is that the Delimiter in each of them is '$'.
Is there a way to add the line 'sep=$' to each file, or change the delimiter on these without having to go through each individually?
Thanks a lot!
A: To read a csv file in python delimited by $:
im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write a Unit of Work pattern on Java that accepts any type of functions for later execution So, I'm mostly a C#/.Net developer, but recently got a Java/Spring Boot 3 project on my hands
I'm trying to build a Unit of Work pattern on Java that accepts any type of function to be executed. I would like the usage ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The problem of installing packages in Atom in Ubuntu I downloaded the Atom program from GitHub and when I tried to install the package, I encountered the following error.
error:
But it should bring me options.
A: Did you install script package first? I think you should installed script package first. and then you c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: this determinant function gives wrong answers i wrote a recursion functoin to compute the determinant of a given matrix but the computed determinant is wrong
`
def determinant(b):
n=len(b)
det=0
if n==2 :
for i in range(n):
for j in range (n):
det=b[0][0]*b[1][1]-b[1][0]*b[0][1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Cannot correctly install home-manager on MacOs I need help with installing home-manager on my MacOs (x86_64 architecture). I successfully installed nix (verified by running nix-shell -p nix-info --run "nix-info -m")
nix installation
Then, I follow the instructions to install home-manager (standalone installation). I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run TFX DAG on Airflow if dependencies are conflicting I'd like to use the latest Airflow (2.5) and the latest Tensorflow Extended (TFX 1.12) but their python dependencies are conflicting. I built my pipeline with components of TFX and I'd like to reuse them in Airflow. How can I build the TFX pipeline in Air... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why I cannot give height to 100% when postion fixed is not written? I made a sidebar with bootstrap classes and when i need to expand the height of sidebar full the height of screen it doesn't work with height:"100%" css property but when i added one more property position:"fixed" and it started working and my sideb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove the Filter in Azure Storage Explorer How can I remove the filter in Azure Storage Explorer from automatically displaying? Every time I right click on a blob and open a new tab to display my folders and files, the filter takes up half the screen space. I find it much easier to type in the address bar than to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Decrypt LuaT Zcus how to decrypt LuaT?
can u help me decrypt this script?
script
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75616396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Get endorsement from multiple peer of the same Org in Hyperledger Fabric I'm using hyperledger fabric V2.4 and I'm trying to enforce that a transaction in a private data collection should be endorsed by at least N peers in order to be accepted.
I've seen many answers like "Use AND('Org1MSP.member', 'Org1MSP.member')... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Regex getting parts of file I have a .sql file that I am parsing but failing in getting the matches I need. I should have two matches of multi-lines comments. Any help would be appreciated.
*
*the beginning statements to SET
*the closing statements to SET
I have tried this (https://regex101.com/) but it won... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: wait between request in rtk query I wanna call this query
searchMulti: builder.query<any, ISearchMotion>({
query: ({query, motionType}: ISearchMotion) =>
`/search/${motionType}?query=${query}`,
transformErrorResponse: e => console.log({e}),
transformResponse: (response: any) => response,
}),
after the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException.Simple java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
Eclipse de sürekli bu hatayı aliyorum.Denemediğim buradaki ve internetteki çözümleri denedim ama çözemedim.Nasıl çözülür basit bir çözüm önerebilir misiniz
I keep getting this error in Ecl... | {
"language": "tr",
"url": "https://stackoverflow.com/questions/75616411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vagrant 'send failure: connection was reset' after inputting
$ bash vagrant-linux.sh --create
I receive an error message after a bit which states
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Send failure: Connection was re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a python module or API that is able to detect whether a string is an actual word in the English language? CS student here in AP CSP. I am creating a Wordle knockoff for a project, and I need a way to detect whether a string is an actual world in the English language? Is there a python module or API that can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Data mismatch within kendo grids with hierarchy I have two kendo grids on same page. First grid fetches the data perfectly.
we can expand each row which provides further details of that particular row.
When I click on the first row expand icon, the data loads perfectly. But when I click on the second row expand at t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use c# method in javasctipt? I am doing a .NET project and faced with a problem that I need to connect a c# method to a javascript script
//more detail
I need to put javascript variables with data in a c# method and call method in javascript
Thanks in advance
A: Asynchronous JavaScript And XML (AJAX)
To conn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why after enable macOS Proxy in Charles Proxy internet traffic is not working on MacOS Ventura? I have made the installation steps for Charles proxy:
*
*Installed Charles soft to MacOS Ventura;
*Installed Charles Root Sertificate;
*Add Charles Sertificate and enabled Trust Always;
*Installed Charles sertificate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SwiftUI List memory leak Here is a very simple code example that reproduces a memory leak when deleting an item in SwiftUI List. This is reproducible on iOS 15 and iOS 16 (at least).
Item's are never deallocated even if they are deleted from the list.
import SwiftUI
class Item: Identifiable {
let id: String
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make automapper load relations Why do I have to use include to make automapper load relations with EF core?
I have a list of ZipFiles with their corresponding File fields. Why doesn't automapper trigger lazy loading automatically for the fields I've defined?
_context.ZipFiles
.Include(z => z.File) // <- why is thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQLSTATE[HY000] [2002] (trying to connect via (null)) I have a Laravel application which I want to connect to a MySQL server. This is server is a MySQL server service from Azure (Azure Database for MySQL). The application is running within an ubuntu:latest docker container with all relevant stuff installed.
When I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeScript incorrectly inferring generic parameter I have a TypeScript function with a generic parameter:
function processNodes<N>(nodes: Nodes<N>)
There are 2 types - 'Nodes' and 'NodesImpl'. NodesImpl<N> effectively extends Nodes<N>.
I am calling the 'processNodes' function like so:
const nodes: NodesImpl<string>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: bootstrap modal issue when I click on the modal when it is open i trying build a modal that supposed to jump when im clicking on the info button that inside the card. its supposed to be a modular modal that will show the info of the card. I succeeded to pass the variables from the card to the modal but when I click ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find X values that maximze sum in matrix N x M Given a matrix N x M, find Qi values by row that maximize the sum.
Constraints:
*
*Select Qi values by row (without repetitions), where Qi is the number of selected values in the i-th row (0<= i < N).
*Don't repeat columns.
*The first solution is the best.
*Do it r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: automate deploy datafactory ARM template I am trying to automate the deploiement of azure datafactory arm template
I am following this https://learn.microsoft.com/en-us/azure/data-factory/continuous-integration-delivery-improvements
Failed to export ARM template. Error: No resource found in specified input path:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Huawei Push Kit in release variant doesn't work I'm trying to integrate huawei push kit to my application for notification, the problem is that it works on debug build variant but don't in release. When it tries to retrieve token, i get error code: -5.
Did someone was able to test notification with push kit in relea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: export const with return value in js I have a return value need to get from export const function store in abc.js, it reutrn the value I want successfully, but the problem is when I called this function in another side .vue, it becomes NaN here is code in js.
export let auto_quote_no_generator = () => {
let ans =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass AzureCLI credential to docker run (to be used by DefaultAzureCredential inside the container)? I am new to Azure Pipeline, and trying to create a job to create Azure ML resources.
Because the CI pipeline runs in a self-hosted agent, and can't run the pipeline in a container, I have to call docker run com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting value of field in form array in angular I have an Angular Material stepper which uses multiple forms set up as an array as shown below. When I open the form in edit mode and inject the data to be edited, I cannot find the correct way to access the values inside the form array to initialize them using setValu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Crawling / Scraping sports website to collect players' stats, market value etc. with Python I currently try to crawl a table on a website for a small "private project" (https://www.ligainsider.de/stats/kickbase/rangliste/feldspieler/gesamt/) containing stats regarding football players, their market value etc.
I basi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Illegal start of toplevel definition in scala when I try to compile the following it compiles just fine
package scala_original
val name1: String = "scala_original"
//println(name1)
object Hello1_copy {
@main
def helloName(name: Int) = {
println(s"Hello, $name")
}
}
However, when I try to compile it after... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get IP address in API endpoint I am creating an API where I need to log IP address and date-time of each request. How can I retrieve user/request's IP address without asking for API in POST data?
$_SERVER['REMOTE_ADDR'] does not doing the job, it actually returning same IP. Though I have called the url from differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Why does Github Actions not detect the operating system in setup.py? I want to identify the operating system in my own pivot package and install the package requirements depending on the type of operating system, I want to install python-magic-bin files when the operating system was Windows and if it was not Windows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where can i get the discord api register detail information? i'm trying to wrap my mind around the discord api concept. I came across an api on some github repo about authentication. This is the link of that api https://discord.com/api/v9/auth/register
I've tried to find more information about this api. Like what pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pyspark Library issue Auto ML I am not able to install library on pyspark auto ml, using Azure Data Bricks Notebook
with the folowing code:
from pyspark.ml.auto import AutoML
I am getting this issue
No module named 'pyspark.ml.auto'
The version of my module pyspark is 3.1.1 already working
Any work around?
Thanks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Unable to access SCCM adminservice API through node js axios code I am using SCCM config manager "/AdminService/wmi/" API end point and it is working fine after providing basic auth in chrome. However when i am trying to access the same through node axios code it is not working. Although I am able to access it throu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save an in memory Excel file to a Django models.FileField I am trying to save an Excel file that is built in memory to a Django models.FileField but get the error message: "'XlsxWriter' object has no attribute 'read'".
Here are the steps I follow:
Data are first extracted from Django models. The data is save... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What AI technology is the right one to digest contents on webpages and convert them to queryable summaries As an introduction to Machnie Learning and AI I would like to create an AI project that would digest the information from a list of URL's and achieve the following
*
*present the user with short summaries of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to inject dependency in HiltWorker? I'm trying to inject my repository in a CoroutineWorker annotated like @HiltWorker - after I have followed all the steps in the official docs I'm get this error when trying to inject the repository:
2023-03-02 14:54:08.570 13936-14117 WM-WorkerFactory
it.gabtamagnini.visualst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php While loop not executing in the order I would expect it to I have written this code:
$i = 0;
while ($mrkRow = MYSQLI_FETCH_ARRAY($mrkResult)) {
echo '<td><img src="./pictures/'.$mrkRow['merke'].'.jpg"></td>';
if($i >= 4){
echo '<br>';
$i = 0;
}
$i++;
}
Im trying to print 4 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Search and highlight multiple words with tags in the middle Typescript or Javascript
How i search and highlight multiple words with tags in the middle?
my search works if i search and highligt single word for example "pippo", but if i try to search "pippo pluto" doesn't work, how i manage this?
<div id="1" class="ph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add Percent Sign to Tabulator Cells How can I concatenate a percent sign onto the the otperc (etc) field? I thought about adding it in the database call but I don't want to convert it to a string and not be able to sort it.
function addTable(data) {
var table = new Tabulator("#table", {
height:205, // se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to avoid Hibernate Envers cross join? i need to take the entries from entity_name_aud and revinfo tables using filter for contract_id.
...
AuditQuery query = auditReader.createQuery()
.forRevisionsOfEntity(EntityName.class, false, true)
.add(filter);
return query.getResultList();
}
Hib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I test if a response matches an interface in Jest? I'm using typescript and I just started implementing unit tests using Jest.
Currently I wish to match a response from a function to an interface but I'm unable to do so.
Is there a way or a matcher that can help me achieve this or do I have to create my own ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to Customize serial field value to a particular format in drupal 9 By adding the Serial field module i have created a field named Auto serial Number.
I need the auto serial number value too start with a particular format ex : year's last 2 digits followed by five 0's and the auto serial value to appear as a last... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SSIS script task used to send emails I've used a script task in SSIS 2014 in C# works very well until it raises an error then stops. I want to record the error and continue. I've set to false the properties FailPackageOnFailure and FailParentOnFailure and ForceExecutionResult property is set to none. I'm using catch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add items from another list into an original list How to insert 2 or more elements of another list at intervals of not less than 2 to an original list in python? Thanks a lot!
Example:lis1 = [1,2,3,4,5,6]
lis2 = ["a", "b", "c", "d", "e", "f", "g", "h"]
Expected results: [1, "a", 2, "b", "c", 3, "c", "d", "e", 4, "c"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Error when publishing to HTML - DAO.QueryDef System resource exceeded i'm using Enterprise Architect 15 Corporate edition with local EAP project. Now I am not able export the whole project to HTML (Publish as HTML).
I always get the error message "DAO.QueryDef System resource exceeded" after pressing the button "Gen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Recommendation needed in making selectbox or dropdownlist I want to make a dropdown like this but unable to find any example yet
is it possible if yes please refer any article
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75616481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to dynamically type arguments between different methods in a map I'm having trouble dynamically mapping expected arguments of a function to the function selected in a parent wrapper. I've managed to correctly map all possible methods that could be called, but Typescript is throwing errors at the arguments that I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bottomsheet opening for a fraction of second on scrolling lazycolumn Bottom sheet showing when lazycolumn scrolls even though both of them are in different composable functions. i tried passing bottomsheetstate and hidding it in liststate.isScrollInProgress.
Bottom sheet showing for a fraction of second when lazycol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Here Maps has an overview of release dates? A few days ago I provided ‘Map Feedback’ by using the map creator.
The response of Here was: “The Map Feedback you provided on 02/24/2023 (Point Address Add) has been integrated into our database. The release quarter is Q323 and the quarterly database version number ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using python pex as interpreter doesn't work I have a python pex file that I want to use as a python interpreter. I set the .pex in vscode as python interpreter and vscode recognized it correctly as python interpreter, but when I click on run, it doesn't do anything. There is no debug or output print anywhere that I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: increase quantity if object already exists in array else add new object in reactjs I have addToCart function and it's working, increasing quantity if the object already exists else adding a new object but when I use the function on another page it's adding new object no matter what
const addToCart = (id, title, pric... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mollie: Is it possible to update status of the order in a SPA (frontend) after user receives payment link by e-mail? When the user wants to pay I want to send them an e-mail with the payment link because the e-mail will contain extra information and some documents. However after clicking on pay and receiving the e-m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to save a tkinter window widget as an image? I am trying to use the python tkinter library to create an image from a window widget. I have seen several methods that allow you to use a canvas widget to save an image, but I don't want to use a canvas as I have already created the UI for the image I want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Workspace API - gmail delegation access through php, permission denied I have a piece of PHP code to try and obtain the delegate accounts of a given user.
lets say this user in my workspace is user@mydomain.com.
I have a service account (api@mydomain.com) with all permissions and from workspace > security > a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cordova android build fails on Task :app:mergeReleaseResources FAILED Having a big issue building an ionic/cordova app for android, all works fine for ios but with android i get
> Task :app:mergeReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:merg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: blazor how to add fake auch on serverside? so i have some client side blazor app
it uses OIDC external autch by the 'production' version
but during development
thos oidc is slow and i did not wanted to wait 15s on every debug to autch / enter cert pin
so i have some fake auth state provider that pretend that user is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: RPM installation package fails on dependecies I have a rpm package packed with CPack that includes boost_program_options shared library. However, when I try to install that rpm pack with rpm -i I get failed dependecies error for boost library that I want to install to /usr/local/lib. How can I stop rpm to search for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django rest framework error when trying to loggin(Authenticate) via post request Anytime I make a post request to this login route at http://127.0.0.1:8000/api/login/
I keep getting this error in postman, despite providing the right credentials.
"detail": "CSRF Failed: Origin checking failed - chrome-extension:/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why p:selectOneMenu click ajax value is null when using SelectItemGroup
*
*test.xhtml
<h:form id="transfersForm">
<p:selectOneMenu id="transfers" dynamic="true" style="width: 98%;"
value="#{testBean.id}"
filter="true" filterMatchMode="startsWith"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Telemetry with gunicorn python application I have a python application that I deploy with docker-compose. All of my microservices are launched using gunicorn.
I want to set up a traces panel in Grafana so I can see what happens inside my application. Besides, I would like not to modify my code applications.
After so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass custom param for creating access token and fetch it while validating token in Azure AD I am creating Bearer token from Azure AD using the following
URL - https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
Request Method - POST
Payload -
{
"client_id": "",
"client_secret": "",
"scope: "",
"gra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using strongly typed variables in Python In my Python3.9+ source code, I declare the type of variable (here int) as such:
i: np.int32 = x / y
where x and y are floats. The desired behavior would be for i to be assigned
int (x / y)
and be of type int; that does not happen however, instead i is assigned the float va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to redirect axios error back to client using nextjs I'm doing my access token validation before i hit my end point, using express app.post(api/session)i'm able to identify my request and do the validation of access token using axios, as my api/session has been initiated by server i'm able to forward the request ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Get transaction information just after pay order I'm working with .Net and I want to get the transaction information when the pay is finished, using hosted payment in https://test.authorize.net/payment/payment
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75616516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubuntu - ModuleNotFoundError: No module named 'IPython.kernel' I get the following error when trying to install pyspark kernel on ubuntu with
pip3 install pyspark-kernel
Building wheel for pyspark-kernel (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run succes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jenkins - Git SCM plugin not working when checking out in K8S container slave I am using Kubernetes plugin and using my own image.
This image has git and worked before when I was using ec2 slaves.
From some reason, after moving to container using K8s plugin I'm getting this issue after using GitSCM checkout plugin.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Installing torch: undefined symbol for liblantern.so I try to install the R-Version of pytorch CPU, to avoid using reticulate as a workaround.
I simply used install.packages("torch") which successfully finished.
When using library(torch) after that, it states that there must be two additional system dependencies ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generating Preview Thumbnails With I-Frames in AVPlayer I am able to generate the preview thumbnails using AVAssetImageGenerator. The problem is while I am seeking the player, I need to generate images at the respective seek positions continuously And AVAssetImageGenerator is giving the all images at a time with no ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75616521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |