text string | meta dict |
|---|---|
Q: C reading values into double array, read values are different from values on local file I've attempted to read a column of values in txt file into a double array in C (I haven't written C/C++ for years, take me as a newbie). The values in file and the values in the double array were different. I don't understand why... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where can I find breaking changes in chart.js in early versions? I have a huge MVC project that uses chart.js but it is version 1.0.2 which has CVE-2020-7746 vulnerability and needs to be updated to at least 2.9.4 but I need to know if there are any breaking changes in that huge jump. Where can I easily find all bre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Leetcode "Decode Ways" problem and recursion error I am trying to solve the Leetcode Decode Ways problem (https://leetcode.com/problems/decode-ways/). Consider a string with upper case elements from the English alphabet represented by numbers.
So A maps to 1, B maps to 2, and so on until Z maps to 26. Given a string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Javascript parameter inside string not recognized For Firebase Cloudfunctions I am trying to update a value based on a dynmaic ID.
This ID is saved inside a const value. The exact field I try to reach via dot-notation.
Here is my complete function:
exports.badgeUpdated = functions.firestore
.document("badges/{do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to apply clear filter to datatables reset button? I am working on cascading datatable columns. It works fine. However, I am not sure how to apply reset filter to the reset button. Here is what I have. The requirement is when I click on Clear Filters, it will remove the drop-down column filter as well as search t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Want to delete Firebase postSnapshot Value How to delete post-snapshot value in Firebase?
FirebaseDatabase.getInstance()
.getReference()
.child("users")
.addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot snapshot) {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to find a DNS-record for the resource at "localhost" using Testcafe in Bitbucket Pipeline I want to set up a bitbucket pipeline to run our end-to-end testing using testcafe for our angular application.
We are using the guide from this link: https://testcafe.io/documentation/402821/guides/continuous-integratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding combination of numbers in range Excel Geeks, I have a range with 400,000 rows and 5 columns. sample is below:
Num
Num1
Num2
Num3
Num4
Num5
1
2
3
4
5
4
5
6
7
8
2
3
4
8
31
2
5
4
22
12
12
13
14
18
22
and another range with 600 rows and 3 columns. Sample: Mat
Mat1
Mat2
Mat3
2
4
3
4
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: figma - How to convert animated button to code I have created an animated button in Figma. I want to save it as html and css code. I don't understand how to do it. There are many videos on YouTube on how to create something, but they do not show how to save it in code.
Can you please tell me how to save the animated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to trigger a keyPressEvent in PyQt with a QKeyEvent coded in the script? I'm going to try to explain this in the best way possible. I'm playing around with using different devices as input in PyQt. I'm trying to use EOG glasses as a device to interact with interfaces (sort of like an alternate version... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Just started learning React a week ago, stuck on debugging why the input field unfocused after each key entry Below is just a simplified dummy example that reproduces this problem.
function MultiplierBox() {
const [a, setA] = useState([1.0, 2.2])
function updateA(index, newValue) {
const newArray = [...a];
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uncaught TypeError: Cannot set properties of null (setting 'onmouseover') error in javascript I don't even know how or why this happens so I don't really know how to fix it.
I am on the newest version of Google Chrome. No JS frameworks.
I tried to make an interesting effect when I hover over this one piece of text u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to use the OSMnx tag "element_type" to retrieve all the "way" objects contained within a polygon I'm trying to get all the structures (polygons) contained within a set polygon by calling for the tag "element_type":"way" but I can't seem to get it to work.
I've tried the code below to try to get all the elemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php error message in login form after error message has been set is not being shown I'm trying to create a simple login system, and right now I want to make it so when a user enters a username, and it doesn't match a session variable (not working with database atm), there should be an error message saying that the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Detecting which PDFs or Images contain handwritting? I wanted to throw out a question in hopes someone can point me in the right direction.
If I have a group of PDFs or images. Some PDFs are textual content. There is no problem.
Some PDFs might have handwritten notes that I need to OCR.
The problem is finding which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Power shell User Loop for Active Directory I got this to work for calling single users in the AD and updating their properties. I have to rename the CN= to a different user every time. In order to update properties for all users in an OU do i use the distinguishedName of the User's folder? Or do i need to loop throu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to switch to speaker when my headphone is plugged on Android I have to keep the Audio Speaker even if my headset is plugged into my device using AudioManager, but when wrote this code the AudioManager automatically switched to normal mode after 6 sec.
There is another way to do this on android 12?
public void on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Office 365/outlook is creating p/paragraph between tables and make additional gap on forward message email sending from web or thunderbird client is fine but if i try forward message from outlook.. it get messy by additional gap like p.MsoNorma or other strange things
here is head:
<HTML lang="en">
<HEAD>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I implement RS256 based JWTs in FastAPI? I've set up the JWT authentication in my application similar to what is described in the FastAPI documentation.
However, the current recommendation for JWT security is to use the RS256 algoritm as it is more secure than HS256 and consists of public and private keys. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: McCabe Control flow graph & cyclomatic complexity for following procedure EuclidGCD (int a, int b)
{
if (a <= 0)
return -1;
if (b <= 0)
return -1;
int t;
if (b > a) {
t = a;
a = b;
b = t;}
t = a % b;
while (t != 0) {
a = b;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Issue running Snyk test against a fresh firebase project I am trying to get started with Snyk on my existing Firebase project and running into this error when trying snyk test:
Dependency firebase-admin was not found in package-lock.json. Your package.json and package-lock.json are probably out of sync. Please run "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is this systemverilog code giving an error? The error I am getting is
Error: D:/CpE 200L SystemVerilog/alu.sv(8): near ";": syntax error,
unexpected ';'
The line in question specifically is the most final line with the final ;.
module alu (input logic [31:0] A, B,
input logic [2:0] ALUControl,
input logic ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make a pie chart with row data in Excel with Openpyxl? `Hello, I am trying to make a pie chart wit row data using openpyxl. I have found several examples with column data but I need row data. The example is this one:
from openpyxl import Workbook
from openpyxl.chart import (
PieChart,
ProjectedPieCha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make a click-through overlay in Rust that still captures input? I already have code that creates a transparent window and draws a square on it using winit, winapi and pixels, but I can't make it click-through, that is, let the user interact with what is behind the overlay window, while still letting the ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why does useFormik return a type error without arguments? I am not sure why this is throwing an error while I have been trying to use formik. I am new to using many of these tools, so it may be something very simple.
error image
I have been trying to create a user authentication app and formik has been throwing this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python FASTAPI pydentic Error 422 Unprocessable Entity I try to fetch data from HTML FROM with pyhton Pydantic lib,I'm geeting 422 Error as as well as error {"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]}
main.py
from fastapi import FastAPI, Form, Request
from fastapi.respons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open a JSON inside a column, which has a variable structure on SQL Server or similar I have this table on SQL Server from which I want to extract a column information, but inside that column I have 730 rows of different structured JSON. In the past, I used OPENJSON but my data had a structured JSON, it worked... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Summing values across select columns in r I am trying to sum the values across selected columns using the code below
StateMigCL2010$EXPWTO<-rowSums(StateMigCL2010[ ,c("AL_EXPW"+"AK_EXPW"+"AZ_EXPW"+"AZ_EXPW"
+"AR_EXPW"+"CA_EXPW"+"CO_EXPW"+"CT_EXPW"+"DE_EXPW"
+"DC_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How make subsurface with SRCALPHA in PyGame? How can I make subsurface with SRCALPHA in PyGame?
I easily can make common surface with SRCALPHA
surf = Surface((600, 600), SRCALPHA)
But I can't give SRCALPHA argument to subsurface method
cat = image.load("cat.png").convert_alpha()
subsurf = cat.subsurface((x, y, widt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python venv pip is always outdated Whenever I create a fresh Python 3.11 virtual environment using venv, the provided pip always prompts me to update to the latest version, even though my base version appears to be up to date
$ python3.11 -m pip --version
pip 23.0.1 from /opt/homebrew/lib/python3.11/site-packages/pi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to access the DOM with a Chrome Extension using Manifest v3 Trying to get more information on why this is not working. I have never worked with Chrome extensions before. When trying to access the page DOM it seems like my popup button is accessing its own HTML instead of the page it's on. Ill include all the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "Host 'DESKTOP-xxxxxx' is not allowed to connect to this MySQL server" while trying to setup MySQL Workbench connection I recently got a NAS server and want to use it for a MySQL server but I seem to have missed something setting it up because I get an error when seeting up the connection in MySQL Workbench.
This is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Create new folder for the project to get build into throught script C# With the help of the internet i found a way to Update the Version of my build each time i build it.
But i still have to create a new folder for it by hand if i dont want to override the last build. Is there a way to create a folder named after th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pivot a single column long dataframe into a single row wide dataframe? I see there are many questions on Stack Overflow and other places online regarding pivoting dataframes into wide and long format. But I don't see any clear, simple examples of just transposing or pivoting a single column dataframe into a s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android fragment replace causes fragment is on top of another There is a scenario.
*
*I run my app,
*Click a recyclerview item,
*Click first bottom navigation view item
*Click recyclerview item again,
*Click first bottom navigation view item again,
*Click recyclerview item again,
*Click back button.
Then my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sliding window method for pattern recognition in SWI-Prolog I would like to find the most eloquent and efficient method, algorithmically speaking, to count occurrences of some patterns in SWI-Prolog.
For now, my solution uses DCG and looks like this:
count_occurrences(Pattern, List, Count) :-
phrase(Pattern, Pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to restrict the use of a YubiKey to only 1 device? I want to know if there's a way of restricting yubikeys to only work on one specific device.
Use case is this one: We have a set of IAM users on AWS and want to restrict the use of those keys to only 1 computer (which would be the company-issued one).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Important questions about PlentyMarkets I have an exam in two days where Plentymarkets is a big part. Unfortunately there are a few unanswered questions that I've been looking for an answer to for months. The teachers, educational institutions and universities don't know anything and also Plentymarkets support just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove 2 elements from a string with regular expression? I'll be honest I could use regex every day and still not understand it. Sorry!
I have a set of strings like:
Product Title 1 10xx 40.5%
Product Title 2 40x 40.655%
Product Title 30xx 51%
How can I remove the last 2 blocks of text (If I use "space" as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to execute custom cloud function on Stripe-Firebase extension's events I just setup Firebase Stripe Extension for my Web App. Everything goes fine. But I am struggling to add few custom functionality. I want to add some token balance for every successful subscription.
E.g.
5USD / Month - 2000 Token
19 USD/ Month... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Planilhas do Calc com Python I'm wanting to read a spreadsheet in Calc using Python, but I'm not able to run my code, in fact almost nothing runs after I migrated to linux
I haven't tried anything yet, I wanted some help..
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75630815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: how to make a post with axios using node js as local server Hello everyone I have the following error in my post and I have no idea where the problem is coming from. I'm a beginner in node is and I'll give you my node JS server below
Server.js
const http = require('http');
class InMemoryDatabase {
constructor()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UIView Overlayed over UIWindow Passes Clicks Through SwiftUI View I need to overlay an UIView on top of SwiftUI content. Instead of using UIViewController.present(_:animated:completion:), I simply add it to UIWindow hierarchy and apply constraints (I need it for additional customization, not important here).
But I r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Leetcode "Longest Consecutive Sequence" problem and Runtime Error For Test Case - [0] I am trying to solve the Leetcode Longest Consecutive Sequence problem and I run into a runtime error for Test Case [0] in C++.
Question :
Given an unsorted array of integers nums, return the length of the longest consecutive elem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regular expression is correct but still get error message in asp.net I have a textbox and it accepts blank and number only. I test the valiadtionExpression on REGULAR EXPRESSION. It work as expect. However on my page, when I input a number, it show the error message.
There is my code snippet
<asp:TextBox id="txtQty"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a solution to meterpreter closed session reason dead I’m on my virtual machine kali Linux and I made a meterpreter android reverse_tcp to test downloading a file on my secondary mobile phone I have sat the IP by using the ifconfig command and its right and I have sat the port to a specific one and so on
So ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to turn off computer screen using python I am using two screens, one is the notebook and the other is an external monitor and I want to turn off just one screen. However, as the notebook I'm using is a Windows 7 and unfortunately I can't updade it to Windows 10, it has been difficult to me to find a native solut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Azure DevOps Pipeline Pull Remote Server Changes My Self Hosted Build Server E drive has some source files which which needs syncing with azure repos. I am managed to update the remote servers with Git Pull command however i am not able to push changes to azure repos from build server source files. I see a message h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Minikube and persistent volume claim resizing Is it possible to test volume expansion on Minikube?
I would like to do it only locally using Minikube for learning.
I create below resources:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: racher
provisioner: rancher.io/local-path
reclaimPolicy: Dele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get a function's output characters to be automatically counted in python? I am trying to print the number of characters that are present in the output my function gives. in this case I'm looking for 90 as "lowercase" 10 times is 90 characters. I'm not really sure what to try, please advise.
num=10
def func(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to list all of the running processes inside the /proc directory? I have been trying to retrieve all of the running processes inside of the /proc directory on Linux (kali Linux). I was curious to know if there was a certain command such as ps or top that allowed me to search inside a specific directory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter app crashes on Android with error: java.lang.NullPointerException: Attempt to invoke virtual method My Flutter app crashes directly after installing on Android real device from Mac Pro M1. It doesn't reach to building main.dart widgets.
The same crash doesn't happen on IOS.
I did some search but can't find a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Access token of paycor api can't be stored in database I want to store the access token of paycor api in database. but is not being saved. it shows empty fields in database. I also tried using json_encode in php, but no success. Can anybody tell me how to save access token in database? Its a wordpress website. I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pytorch DataLoader for custom dataset to load data image and mask correctly with a window size I am trying to write a custom data loader for a dataset where the directory structures is as follows:
All_data
|
->Numpy_dat
| |
| -> dat_0
| -> dat_{0}_{0}.npy
| .
| .
| -> dat_1
| -> dat_{0}_{0}.npy
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why the function in flutter calling infinitely? I'm new in flutter. I'm calling a login API on button click. The API code is written in a function which is below.
My problem is that this function is calling infinitely after clicking on button at a time only.
Future<Login?> logins() async {
print("login... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Notification email sending using pam with shell scripting I try to run an external script with pam.exec_so, that pulls the variables and sends notification emails. It is working, but the only problem I have with it, if I log in through a domain my $PAM_USER variable becomes "DOMAIN\username" so if I try to use it as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I change the isLoading state to true in React Query when a refetch is triggered? When refetchCompanies is triggered, I want to set the isLoadingCompanies state to true so this component will re-render. I only want to render the component when isLoadingCompanies is true, and not when isFetchingCompanies is tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: New column from first observation of several columns dplyr I have the following data and want to create the "New" variable from A, B, and C:
structure(list(A = c("NA", "NA", "4", "NA"), B = c("NA", "3",
"4", "5"), C = c("1", "NA", "NA", "5"), New = c(1, 3, 4, 5)), class = c("tbl_df",
"tbl", "data.frame"), row.name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Codename One MD5 method in Bouncy Castle Library Referencing this older question, I am trying to generate a MD5 hash, but I am getting a result that is not similar to an outcome that this MD5 web generator gives.
Here is the code I am trying
String data = "XXXXXXXXXXXXX";
MD5Digest md5Digest = new MD5Digest();
try {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read QR code from byte using ZXing.Net on .net7 This is my code
public static string ReadQRCode(byte[] imageBytes)
{
var barcodeReader = new BarcodeReader();
barcodeReader.Options.TryHarder = true;
barcodeReader.Options.PossibleFormats = new[] { BarcodeFormat.QR_CODE };
var result = barcodeReader.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradio ouputs keys of a dictionary instead of strings while using openai.ChatCompletion API and GPT-3.5-turbo I have been trying to create a GPT-3.5-turbo chatbot with a Gradio interface, the chatbot works perfectly fine in command line but not when I implement it with Gradio. I am able to send my input and receive ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: not defining array's length in reactjs I'm using fetch to get the product as an object and while setting it to my state I'm adding new key comments: [] to the object. If I console.log(product.comments) it's returning empty array which's correct but when I console.log(product.comments.length) it says can't access pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to replace character $ by using re.sub? Suppose we have the following string and list of numbers:
my_string = "We change $ to 10, $ to 22, $ to 120, $ to 230 and $ to 1000."
nums = [1, 2, 3, 4, 5]
By only using re.sub, how to replace the $ character in my_string with each of the elements in the list to have:
"We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jetpack compose: customize radio button group to achieve segmented buttons iOS has Segmented controls like this.
I wanna have this in Android by using jetpack compose and I checked there is not build-in like this, and this UI in material 3 doesn't support jetpack compose now. What can I do? Totally customize the rad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why am I getting these errors saying there aren't matching brackets? using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class grabbable : MonoBehaviour
{
public Transform holding;
public bool held;
Transform tr;
private void Update()
{
if(held)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can I git pull to only fetch the current branch? After looking at this post I couldn't find any answers that worked, aside from perhaps overriding the bash command.
I would like git pull to only fetch branches that I have a local branch for, if not just the current one. I prefer not to manually git fetch origin ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Same background video for multiple destinations in jetpack compose I want to have the same background video for every auth screen in my app (log in, register, forgot password) without needing to reload the video everytime the user switches to another screen. I currently use the compose navigation library from raamco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monad instance for EvalOption[A] in Scala Imagine an EvalOption type defined as follows:
type EvalOption = [A] =>> Eval[Option[A]]
Is it possible to create an instance of Monad in such a way that the stack safety of Eval is maintained?
I was able to create an Applicative instance for such type, but I'm having probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Excel counting the number of unique occurrences after matching the name with corresponding category Need help with matching Teacher with students and counting only a single occurrence of students from the column. Output to include the number of occurrences and the corresponding country of residence.
Expected output:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing parameters with flask render_template() I need to display some select options. Once the category is chosen, I want to display the subcategory with another select.
My flask code
def return_panim():
panim = ["", "טיפול ניקוי עמוק", "טיפול יופי", "טיפול פילינג עמוק", "טיפול לאקנה ולעור בעייתי", "טיפול אנטי ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Sorting pd.DataFrame I have a DataFrame as follows:
import pandas as pd
data = [
[1, 188],
[1, 258],
[1, 386],
[1, 385],
[1, 386],
[2, 111],
[2, 253],
[2, 812],
[3, 936],
[3, 121],
[3, 273],
[3, 554],
]
df = pd.DataFrame(data, columns=['Num', 'Val'])
print(df)
What ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chart.js only shows old values from an old array I have a chart.js graph which receives the values from a .txt file which has them a string (with fetch()).
The string gets split and converted into an array with numbers, which will be shown on the chart.js graph.
It's preset 24 x-Values and the y-values which will be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In coldfusion, queryExecute() can i use JSON structure with {} and : for 2nd parameter 'params' type struct of struct.what are pros and cons? I am struggling b/w two syntaxes of coldfusion. Please, Help..!!
QueryExecute(sql, params, options);
Normal syntax:
sqlEmployees = "SELECT * FROM Employees
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search view not filtering after some action I have a search view on toolbar with listens for query change and filters a recycler view. I'm populating and listening for query from inside a fragment. Everything works fine untill I click a recycler view item.
When I click the item, a detail dialog pops up. And after I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating replaced value with different data types in SQL I am trying to update a value i replaced the value was successfully replaced but got the error in the screenshot I attached
Trying to update a replacement int Data type
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75630876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Beatifulsoup doesnt return Python This code does not return the given command. the idea is to put the number of rooms and the price to get the links for Apartments. Help please
# Import the necessary libraries
import requests
from bs4 import BeautifulSoup
# Define a function to search for apartments based on the sp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Passing class methods as parameters, together with arguments I am writing a program that deals with a lot of randomness, and I am in the process of implementing automated tests that measure individual run times of functions.
I have a class which defines several functions, and I am looking to write a function that wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: query build: academictwitteR I have two question about academictwitteR package:
NO.1 I wan to get tweets contains:
((word1 OR word2)AND(wordA OR wordB))OR word*
I get what I want with below code:
get_all_tweets(
query = c("word1 wordA","word1 wordB","word2 wordA","word2 wordB","word*"
),
lang=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to browse and open a text file in excel I have this path:
ChDir "C:\Users\fpierre\Documents\CRC.REPORT\Trial Balance Macro"
Workbooks.OpenText Filename:= _
"C:\Users\fpierre\Documents\CRC.REPORT\Trial Balance Macro\TM3_SFFIS.CRC.txt", Origin:=437, StartRow:=1 _
, DataType:=xlFixedWidth, FieldInfo:=Arra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Discord.js with typescript - post multiple commands I have a problem refreshing the slashcommands in typescript. I can only pass an array of one command object as body to the Discord API. Whenever I do more, I am getting a "Invalid Form Body".
The json:
[{"name":"ping","description":"Replies with Pong!"},{"name":"us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where does this \r\n come from when I redirect STDOUT to a PTY in Perl? With the following code:
use strict;
use warnings;
use utf8;
use IO::Pty;
use Data::Dump qw(pp);
my $pty = IO::Pty->new;
open *STDOUT, '>&', $pty->slave;
if ( my $pid = open *STDOUT, '|-' ) {
# parent
my $str = "foo\n";
print {*STDERR} ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can't decrease the width of ListView.builder Item I need to decrease the width of each item from a ListView, and It simply won't obey... I know I can do it by adding some padding, but is there any other way?? I've tried BoxConstraints, Container.width, SizedBox,...
return ListView.builder(
shrinkWrap: true,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generalizing a replace function to accept parameters JavaScript I have the following function.
from here
Efficiently replace all accented characters in a string?
function test() {
let aa = 'čǧǩőšűžČǦǨŐŠŰŽ'
const ccc = wontParse(aa)
console.log(ccc)
}
var wontParse = (function () {
let in_chrs = 'čǧǩőšűž... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ephemeral and hidden not working | Disnake ERROR:
disnake.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: Messageable.send() got an unexpected keyword argument 'ephemeral'
#ЖИВ
@bot.command()
async def test(ctx):
await ctx.reply('test', ephemeral=True)
IMPORTS
import disnake, os,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I remove a connect-flash message? I want to remove a message(with the username after a login) when I press the logout button. When I try to press the logout button nothing happens just refreshes the page. I want to remain on the same page and not redirect to a different page. Should I change the logout butto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is reCaptcha quota shared across subdomains even when different keys are used and what count as a request? My company runs a custom version of Azure AD B2C that provides business-to-customer identity as a service. Recently we added reCaptcha V2 to prevent malicious use of our services and we are still adjusting this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Javascript, one div's "background image" value must be equal to the second div's I have two "divs", the first with the "class" name "imgHouse" - the second with the "class" name "houseImg". "background image" of "imgHouse" has an image and "background image" of "houseImg" has no image. Now I need to put the image... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I calculate F-score in pine script correct and efficient? 'Can anyone please offer any advice to fix this to be accurate.
I think the 90 day "trailing" to get previous financial data rather than the actual previous financials is not ideal and also not sure i have used the in built financial functions correct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to temporarily remove a variable from a loop? I have an excel document that I loop through a list of IP addresses and pings them. If an IP has an unheathly response, it will stop the loop for a certain amount of time.
I would like to be able to temporarily remove that IP from the loop so that the list can contin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bearer Authentication in Python I am running into a problem trying to rewrite the bearer authentication in Python from Java for the IronSource API. This is the code I am trying to replicate:
$authURL = 'https://platform.ironsrc.com/partners/publisher/auth';
$authHeaders = array(
'secretkey: <e83defbasdasd922... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python 3.5 or later is required when Python 3.10.7 is used I was trying to install streisand on my server (Linode) and I tried to execute the command ./util/venv-dependencies.sh ./venv (from the installation docs) but I get an error:
Found a python3 command....
The python3 command invokes Python 3.10.7. Python 3.5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is tippy.js compatible with paged.js? I am using paged.js via the pagedown R package and am trying to incorporate the tippy.js library. However the tooltips are not showing up. It was recommended by one of the pagedown package maintainers to find out if these two libraries are compatible with each other.
Any insig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding FormData object as value for an object key to be sent as post request I am working on an app where I need to send an image blob as FormData alongside some other data sent as Json.
For this I'm making an http post request to the api with the following data:
const blob = new Blob(['some-image], {type: 'image/jp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Element floating right in desktop and positioned at the bottom of the other in mobile I've been trying for hours to setup the following layout with html and css (and Bootstrap, if needed):
That is:
*
*For desktop, the card (or whatever element) should be floating on the right
*For mobile, the card should be posi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BigQuery Data Transfer - Null Marker as null I'm loading from S3 to Bigquery a big amount of Avro files, for that I'm using BigQuery Data Transfer service. I've created the schema on Bigquery manually, but I'm getting this issue:
Error while reading data, error message: The Apache Avro library failed to read data w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the graph name in Apache-AGE? I have a Graph with the name people created inside my apache database.
But now I want to update it to population
How can I do that?
A: To rename the function from people to population, you can use the ALTER FUNCTION statement:
ALTER FUNCTION people() RENAME TO population;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Safest way of handling Azure AD B2C user data in Blazor Server I am using Azure Active Directory B2C in blazor server to authenticate the users. I need to get access to the JWT token claims information in a razor component, but outside of
<AuthorizeView>
<Authorized>
</Authorized>
</AuthorizeView>
So I can use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compute a combined difference of two columns and a running difference in a column If there are duplicate IDs, Diff is the next End_Date minus the previous End_Date and Diff is End_Date minus Start_Date for the last duplicate ID, otherwise Diff is also End_Date minus Start_Date.
My data set looks like the following:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Thingsboard deployment in a Cloud I am starting a venture so that my future customers can have a Dashboard that shows indicators of IoT devices in the cloud. I have found Thingsboard, which has Apache 2.0 license, so, in theory, I could deploy it in a Cloud, and also change its logo and colors for my company or my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: CSS deep :last-child selector I am working with some hmtl components and I basically want to set a :last-child selector on a specific class. The issue is that the class is deeply nested within the parent class that I want to use the selector on so when I use last child it is affecting the css for all of the componen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |