text string | meta dict |
|---|---|
Q: Why does it take much longer to process my files in two different folders? Reduce python runtime I'm extracting data from 100K pdf files one by one and saving the text data to a csv file. For this, I read in all PDF files in my directory with os.walk, doing some operations (mostly regex and dictionary search) and st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: the response without a token in login process I'm making a login page and postman is supposed to return a token when the process is successful but no token is returned
this is my code
`
router.post("/login", async (req, res) => {
try{
const email = req.body.email
const password = r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call a HomeController/Index method when a partial view load in .net core 6 mvc? i want a popup into a popup where both are partial view but second should load the method when first popup is open..
@{ ((HomeController)this.ViewContext.Controller).Method1(); }
something related to this
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am getting error "the input data is not a complete block" in decryption using AES/CBC/Pkcs7 algorithm in C# public static string Decryptss(string cipherText, string symkey)
{
try
{
return DecryptStringFromBytes_Aes(Convert.FromBase64String(cipherText), Encoding.UTF8.GetBytes(symkey), new byte[16]);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Group_Concat function does not show all data in SQL search I have a problem that I can't solve with a search in a database. I have a sentence that works perfectly and has been working for a while, which is the following.
return await conn
.query(
`SELECT ig.id_group AS id_group, ig.nick, ig.id_proj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Github workflow - error when executing py script. But script works locally I created the following github repository: https://github.com/kmeans27/ball-classification
The code is used to classify batches of images of balls within a folder and classify the balls according to their type and store it in a csv file.
I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML input with webkitdirectory attribute has different default sorting order on different machines I developed a web component to upload all the files in the subfolders of a folder using an HTML Input with the webkitdirectory attribute but I noticed a strange bug in the sort order of the subfolders when I iterate t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excluding rows in a mixed windowing, ranking query SparkSQL in a Databricks notebook.
This code exists within a large SQL block so refactoring to a dataframe in pyspark is possible but a big job.
I'm having trouble with a complex situation where I have child records of three types all within a parent. I need to all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using add_filter( 'woocommerce_package_rates' to target shipping cost for specific product only I'm getting errors when using this code and its not working to apply a discount on product ID 111435.
Update : Error fixed but still does not apply a discount to the shipping rate for a specific product.
add_filter( 'wooc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove horizontal line at zero in coefplot in r? I have created this plot using the following code:
coefplot(list(
feols(inc_ratio ~ provtariff | hhid02 + year,
subset(inc_0206_spouse_p, Female == 1 & educ > 9 & year == 2002 | year == 2006),
weights = ~hhwt,
vcov = ~tinh),
feols(i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: only headless mode - element is not clickable at point, Other element would receive the click I tried to click on a dropdown box by Chrome Selenium python.
Chrome 110
python version 3
This box can be found OK, but when click() was performed, The error ElementClickIntercepted occured.
...Element MyElement is not clic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a marketplace in SharePoint 2013? I was given the test at my new work: develop a marketplace where authorized users can create some posts with title, description, images and price like "I'm selling [product] Price is $200...", view and edit posts.
Also I should use REST API to recieve data from list 'P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Duplicate an image within a given tag I want an image with a given tag to be displayed again in a different location.
What do I have to do? I have no code knowledge at all.
Apologies for the strange language, because I used google translate to translate these words to you guys.
make a given picture Repeat in another... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React RTK Query with Socket.io connection behaves strangely during data update I'm making a basic multiplayer game using React with RTK Query and Socket.io. I followed the RTK Query documentation for subscription case where they made a chat app.
Basically the only change I make is instead of appending the new data t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I Have a Problem to Create a TopLevel in Python 3.11 in tkinter I'm learning for my Tkinter Exam Tomorrow and I don't know why but when I'm trying to create a TopLevel in a new function, I'm getting this Error Message
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python310... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What should I call this unique-pointer-with-size structure? I'm annoyed by how C++' standard library only offers some functionality via pointers rather than structures which keep both an address and a size. Specifically, suppose I want something like a unique_ptr<T[]>, but which keeps the associated length/size.
Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Boot Actuator: Customize Data Source Health Indicator I have implemented the Spring Boot /health endpoint and then activated the detail view with these settings:
management.endpoint.health.show-details=always
management.health.db.enabled=true
management.health.diskspace.enabled=false
management.health.ping.en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to "fix" cells similar to the page break at Word? I have two Google Sheets files (Source file 1 and 2) and I import the data below each other on a single file with Importrange.
It's build like that:
Content of source file 1: Row 1-10
Then 9 rows with no content
Content of source file 2: Row 20-30
Some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: check date invalid using javascript but it changes my input Hi I searched the web for checking date using javascript. I found the code example How to check whether a JavaScript date is valid?. The date is 2025-2-29 for testing. The code automatedly change to 2025-3-1 and show the date is valid. How can I stop it ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Batch Excel Reader Workbook NullPointerException Task is to read excel files in spring batch where the resource path get after the file download from GCS.
pom.xml
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>5.2.3</version>
</dependency>
<dependency>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Underline button animation I can't understand ho I can replicate this effect on button, like in this theme:(scroll below and look where button say "read more") https://hiroshi.qodeinteractive.com
my button class: border-button
.border-button {
font-family: "Montserrat";
display: inline-block;
text-decorati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: case_when() to replace characters in a column with numbers I have a dataframe in R like this:
myDf <- data.frame(Name = c("Al","Jon","Jack","Reed"),
State = c("", "", "Ohio","Texas"))
I want to replace empty values in myDf$State with a 0, and character values in myDf$State with a 1. So far I trie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker network inside github actions not resolving hosts I'm building a ci pipeline to test my nextjs app with prisma/mongodb. To run integration tests I need a mongodb replica set running locally (Non replica set db won't work). To setup the database I'm using docker-compose with 3 db instances and the app within a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My app is greyed out in Facebook Ad Account Data Source / can't configure events in Events Manager My iOS app is greyed out in Facebook ad account data source. We also have Adjust sending events to Facebook.
The main problem is:
*
*When we try to run an App Promotion ad campaign with Purchase objective, Facebook d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Match values from 3 non-adjacent columns I want to count how many times values in column A match values in column C and and values in column E.
In this example spreadsheet, I want to count how many times the Coin Toss Caller (column A) won the Coin toss (column C) and won the game (column H). I know the result shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why the Google Web Risk Submission API doesn't return a long-running operationID I'm trying to use the Google Web Risk Submission API in my Java project.
As mentioned here - https://cloud.google.com/web-risk/docs/submission-api#java it seems the response suppose to contain a long-running operationID for future check... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: node.js javascript function to return result out of Promise action My conclusion it cannot be done on js on node.js after a long search and try out.
one example (good for all Promises examples):
I need to develop a generic JS function to get a linux command and return the result , the result is the output out of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Qt Qcheckbox - how to style the tick sign My setup is Raspberry Pi, Python 3.9.2, Pyside2, Qt Designer. The original (without style) QcheckBox size is too small for my design, So I increased its size with width= and height= (seen here Increase check box size not its text using QCheckbox? ) on Qt Designer.
The proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I disable a specific script? (selenium python) I am scraping a web page with selenium webdriver, but it's too slow, so I thought that by disabling all the unecessary scripts (for my program at least), and running with the only one I need, I could speed it up a lot. The thing is that I don't know how.
I tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a similar way towrite an EF query to sql query my SQL Query:
SELECT
(SELECT MAX(LastModifiedDate)
FROM (VALUES (CreatedDate),(SubmittedDate),(ApprovedDate),(CATStaffApprovedDate)) AS UpdateDate(LastModifiedDate))
AS LastModifiedDate
FROM contractinvoiceperday
Is there a similar way to get the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Reference a Value on Index Page Using a Foreign Key In my Officer model, I have a foreign key that references what agency an officer belongs to. I need this so that users can assign an officer to an agency on my Officers Create page.
However, on my Officers Index page, I would like to show the text value (Age... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why session attributes are not rendering remotely in nextJs? I have a nextJs application and used next-auth library for the authentication. I need to render the email in the nave bar of my application. So I got the email of the user from the session as shown below.
import {useSession} from 'next-auth/react'
...
co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google apps script How can I extract all numbers under 550 from this array? Sorry english is not my first language. Ive been trying to filter out all numbers lower than 550 from this 2d array with little to no success. Im also very new to coding so pls detail what I might be doing wrong.
function SELECTVALUES() {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cypress on Github Actions constantly fails to fetch in a before handler I want to reset my database/server between every test scenario.
For this I somehow need to communicate from Cypress to my backend server.
I thought I could do this:
Cypress.on('test:before:run:async', async function () {
const url = locati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deno import_map.json for supabase I try to work with supabase edge functions in a Deno environment in IntelliJ Ultimate.
The corresponding plugin is already installed but inside my supabase folder the functions I wanna create do not support Deno IntelliSense which makes things quite hard.
Folder Structure:
I don't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display parent nodes in XSLT I am trying to transform a Json input to XML in XSLT, however when doing the transformation I only get the children without any of their parent nodes, i.e. "Client", "ClientApp", "Payment" and "Bill" nodes they don't show up in the XML output, any idea what I'm missing in the temp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python does not suggest available methods and attributes I am learning Python OOP and Composition. In this experiment i have created 2 class, first Account class that maintains deposit, withdraw, info and etc functions for user. Also i have created Bank class (as composition for Account class). Here in my Bank class... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Send report through node-jasper I am trying to send a report created at Jasperreport by Node.js. I am using node-jasper to do, but when I call my API's request this error appears on the screen. How can I solve this problem?
I used lib jasperreports-6.19.1
jasper = require('node-jasper')(
{
// path: '../lib/jasp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to close and dispose Azure ServiceBusClient and ServiceBusSender singletons asynchronously when using dependency injection, e.g., in ASP.NET? I want to use Azure Service Bus in .NET 7 applications, such as ASP.NET Core Web API pr Worker Service, which use dependency injection.
The official documentation recommen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a practical way to determine whether two (Python) regular expressions are (likely to be) mutually exclusive? TL;DR: There's no generic solution, but is there something better than a simple (Python) string equality test for identical regexes?
From reading this answer, I gather that a generic solution is theo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BFCache in iOS WebView Google writes that BFCache doesn't work in Android WebView:
Chrome is not planning to enable back/forward cache for Android
WebView due to associated complexities.
What's about Apple? Is it possible to enable back/forward cache (Page Cache) for iOS WebView? Does BFCache work in iOS WebView?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQLite explorer wont show up in VSCode I tried opening .db file (SQLite) in 100 ways and nothing will happen.
I right clicked on db and selected open database, didn't work.
I used open explorer, didn't work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to fetch values from given xpath? working for one field not with other field from this text field I want values, when I do inspect xpath shows result.
But when I run the playwright code, it shows NULL value. Have tried "getattribute" as well as "gettextcontent" but works for other fields.
A: Can you try the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PostgreSQL : Move all elements toward another schema? With postgresql 13,
I want to find a way to move 100 tables from schema 'A' to schema 'B'. Not just data. But also indexes, primary keys, constraints (INCLUDING ALL). As far as i know, this piece of code would move the data. But how to also move indexes, constrai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Execute function when a certain section in flatList/SectionList is reached I have an app with a list of events corresponding to certain dates . How do i utilize either flatlist or SectionList to call a function/change state when a certain section of the list is scrolled into view.
Using SectionList the header elemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gpytorch, regression on targets and classification of gradients to negative or positive i would like to set up the following model in GPYtorch:
i have 4 inputs and i want to predict an output (regression)
at the same time, i want to constrain the gradients of 3 inputs to be positive and of 1 input to be negative (wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Will deleting a user from an on-prem Active Directory affect their Azure Profile? We have one user in our organization that was added to an on-prem active directory before we decided to go with Azure Active Directory and not use the on prem DC.
We're trying to get rid of that on-prem DC but we want to make sure we d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I prompt user for download using csvhelper in an MVC app? I am using csvhelper to create a csv file. Looking at the docs I can only see a way to tell the helper where to download the file. I want it to return the file to the browser and open the default prompt that you would have when you click to download an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Microsoft HPC Pack API: Setting "Prefer Nodes With" programmatically You can do this via the UI:
How do I do it via the HPC API? I can't find any properties on the ISchedulerJob which apply.
Thanks
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display cv::imshow("Live", frame) and cv::imshow("ROI", frame_roi) without freezing? My goal is to display cv::imshow("Live") and cv::imshow("ROI"). The problem is after a while the window did not get updated. Although the main function loop still function.
My expected result was that the windows always gets ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Module federation init script failing with error The "to" argument must be of type string. Received undefined When I try to use the init script of the latest module federation plugin I get the error
"The "to" argument must be of type string. Received undefined"
I pass in the project name and the port number and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React site compiled successsfully but browser is blank(white canvas) Just finished a react site and it compiled successfully. No error or anything but when I load it in the browser (npm start) it is completely blank. What can be a common reason for that? Not sure what am I missing.
Thanks for any help.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there a way to show video preview picture in React Native without receiving thumbnail from backend? So Im getting only url , is there a way to show thumbnail?
I know its possible to do this in web, do we have some way?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Function in R to get the SE of values for several dates, with each dates values being the sum of previous dates values and SE taken each time My data:
treatment
replicate
date
value
city
1
May13
1
city
2
May13
3
rural
1
May13
11
rural
2
May13
7
city
1
May20
2
city
2
May20
0
rural
1
May20
19
rur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to update reference in setInterval? I have an interval that should do something with an array of values every 3 seconds. Then I have an event listener that will append data to that array from time to times.
However setInterval does not receive the "updated" array, but instead keeps working with the value that th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Controller routing issue with with spring boot application I'm fairly new to this. I have a web application that reads blog posts from a database and displays it on the page.
when im at http://localhost:8080/ for isntance i click on a blog post which opens at http://localhost:8080/posts/6 for example. when when i w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sequential Transactions in Spring Data JPA I have a Spring Boot application with a REST endpoint that inserts Orders in a MSSQL database. The data is validated upon insert, i.e. there is a maxAmount threshold that is computed across all orders in the database and may not be exceeded. If maxAmount is exceeded a Excep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to bring up Etcd Plane: etcd cluster is unhealthy: hosts - in Rancher after second cluster is created I create a docker image of rancher and when I deploy it in a VM server in gcloud, i can run it perfectly. I always I'm able to create one cluster. Then after that I edit the cluster config in .kube/config, an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tftp server not accessible from outside VM I try to setup a uboot netboot environment on a virtual Linux Ubuntu machine (running on a Windows host system). I installed the tftp-hpa server and configured it as follows:
My /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS=":69"
TFTP_O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: unable to open the second modal in slack I am trying to use views.open to open a slack form, it does open, but I am unable to open the second modal while I submit the initial form. Below is the code, please let me know where am I going wrong.
@app.route('/helpdesk', methods=['POST'])
def helpdesk():
trigger_id =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem when deleting some text using re.sub on a python script I'm creating an script which extract all the text from a pdf to then process it, so i'm first trying to delete a text to clear the document, but when i do it with python re.sub seems to work only until an especific line.
Can you help me?
This is the pdf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fabric js groups the SVG file as a whole, not by the tag Colleagues, good afternoon! Please tell me there is a task to get SVG to make it interactive. In fact, there are SVG elements in it that the user can select. SVG itself consists of tags of SVG groups. The problem is the following, I use fabric js and I want ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to decode a json response in perl that contains pure perl boolean? I am getting a json response from an API endpoint that is something like this:
{
"items": [
{
"key": "",
"groupReference": "mastercard-XXXXXXXXXXXXXXX",
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase Crashlytics - Upload failed with responce code 429 Too Many Requests on task ':uploadCrushliticsSymbolFileRelease' We are using our Gradle project that uses Firebase Crashlytics SDK for reporting. The app is build with CI/CD and was working fine. One day we start receiving errors during the build, on the st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Async function didn not complete within 5000ms I'm trying to test that the gridApi is initialized properly but I'm getting the error: Async function didn not complete within 5000ms.
There are times when the code runs fine but there are time when I must run the code 100 times for it to pass
let component: SGridCompon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass columns to select as a parameter? How do I pass as parameters the columns I want to select, especially when I want to select an unknown number of columns?
I'm using psycopg2 in python
This is my query:
columns_to_select = "errors, requests"
sql = "select bucket, %(metrics_to_select)s from metrics"
cursor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I Populate Multiple collapsible Material-UI Nested Lists from an Array and Have Separate State I want my SideMenu to have multiple list items that can open and collapse separately, displaying nested items. I end up getting list items that expand and collapse simultaneously.
Tried this:
const authNavigation = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Maintaining uptime while rotating secrets in AWS I don't understand the mechanics of AWS Secrets Manager alternating users password rotation strategy.
Here's what I understand:
*
*One password is configured in the secret. Applications will use the
password to connect to the db/service etc.
*On the 1st rotation, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: One variable in scanf needs two input... why? I was doing an assignment and I got a problem with scanf and gets so i put the scanf line as
scanf("%d ", &n);
in terminal when this question came i had to put values in this scanf two time.... in this scanf and not for a continuing scanf.
The code is:
#include <stdi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to pass any Enum as a function argument in Kotlin This code is similar to an answer posted in 2018 to a question about how you can pass any Enum as an argument to a function. It works as presented but I would like it eg to print Weekday.DAYOFF.MyString . Can someone tell me how to do that please. Substituting my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Does SfSliderTheme still exist in syncfusion_flutter_slider? I saw some on internet use 'SfSliderTheme' in order to customize 'SfSlider'.
So, I tried to use it, but I can't use it and IDE said
"The method 'SfSliderTheme' isn't defined for the type '**Screen'.".
can't use SfSliderTheme
Example usage:
https://stackove... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AOSP Android 13: aptx Adaptive not supporting? Why aptX Adaptive codec is not available in Developer Options > Bluetooth Codecs in AOSP based Android 13 ROMs, though device supports it? Though it is available in Android 12 based AOSP roms?
A: For the framework part to work, the vendor needs to be working correctly.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Retry mechanism for NET Isolated Durable Azure Functions I am migrating a NET6-based in-process function app to an NET7-based isolated function app. It uses Durable Functions, which has changed quiet a bit in its API. I need to call an activity function which needs to be retried if the error message contains a keywo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set items width inside the Box component in MUI React? I use React MUI and it's Box component to styling my form.
In my case I have 4 items in each row but in last row I need to show 3 items and the last item should fill the row.
In other word the last 2 elements must be merged.
How can I do that when Box com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python custom package: how to specify paths of yaml files within the package? I want to create a python package with below folder structure:
/package
/package
__init__.py
/main
__init__.py
main.py
...
/data
__init__.py
constants.py <--
data.yml
pyproject.toml
..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase FCM token generate issues NativeFirebaseError: [messaging/unknown] The operation couldn’t be completed. No APNS token specified before fetching FCM Token
Hello, i am a beginner for IOS and react-native. I cannot find the solution past two days.Someone help me.thanks
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why do these opengl compute shaders for neural networks give different results than CPU after a few iterations? I am using two OpenGL compute shaders to run:
static const char* runShader = "#version 310 es\n"
"precision highp float;\n"
"layout(local_size_x = %d, local_size_y = 1, local_size_z = 1) in;\n"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: run jquery when element is in viewport Please can someone explain how I can run the following jquery only when the element is in the viewport ?
jQuery(document).ready(function( $ ){
$.fn.moveIt = function(){
var $window = $(window);
var instances = [];
$(this).each(function(){
instances.push(ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java springboot: create an entity from the database in intellij Beginner with java, I try to create an entity from a table of my database in intellij. I do this with the jetbrain documentation:
https://www.jetbrains.com/help/datagrip/generating-code.html#generating_java_entities
the problem is that the entity creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Updating Japanese into nfo file turned into garbled character Below is the original nfo file in format that Emby using
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
<plot />
<outline />
<lockdata>false</lockdata>
<dateadded>2023-02-22 21:52:29</dateadded>
<title>old title</title>
<sortt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disable default right click on web in flutter I'm trying to use my own showMenu when user right click with the mouse on web, windows, macOS and long press on android and iOS.
Long press on android and iOS is working and right click on Windows and macOS is working but having issue to prevent default web right click o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTTP status for @PutMapping and @DeleteMapping for Spring Boot REST API? I was using HttpStatus.OK for all of my requests in Spring Bot Controller. But I realized that it is good to return a proper Http status and started to use the followings:
GET --> Ok
POST -> Created
PUT --> Ok ???
DELETE --> NoContent ???
But ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Visual Basic MS Report Builder - How can we set Min(Date) as the default value for a parameter I am connected a power bi dataset to the MS Report Builder and I need to find a way to set the min date of my date column as default value in my parameter. I setup the a from and to date as date range to filter my data.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TYPO3 Version 12 cruser_id I just tested TYPO3 version 12. They decided to remove the cruser_id field from the database: https://docs.typo3.org/c/typo3/cms-core/main/en-us//Changelog/12.0/Breaking-98024-TCA-option-cruserid-removed.html
I used the following code: https://stackoverflow.com/a/71733930/5903676
So this i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring boot auto configuration with @ConditionOnBean(DataSource.class) not working as expected I'm trying to make a very simple autoconfiguration for a usage of Togglz state repository for a database. I want to have a JDBCStateRepository when there a DataSource bean available and keep the default one when running te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using AutoMapper in a model's constructor in ASP .NET Core I've recently been updating an old ASP .NET MVC project to ASP .NET Core 6 and have been updating my AutoMapper reconfiguration across the site. Before the update, I used Automapper to initially map the model in it's constructor.
public HWAssetDetailsViewMod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Change color of specific text in React Native I am making an automatic search bar using Textinput and Flatlist. I want to change the color of the word entered in Textinput when it is listed in Flatlist.
<View style={styles.giftModalTextInput}>
<TextInput
autoCapitalize="none"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dotnet - Exclude specific files from code coverage analysis in Azure DevOps I want to exclude all the DTOs from the code coverage analysis made in Azure DevOps.
Below the pipeline that i use to run tests:
- task: DotNetCoreCLI@2
displayName: "Run Tests"
inputs:
command: "test"
projects: |
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to copy the content (except first line) of all files in a folder to a destination file? I have a bunch of files in a folder. They all start with a header. I want to copy the content of all of them to a single file. I want the header not to be copied.
I have made the following bash script
#!/bin/sh ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't redirect from shopify embedded app to other URL I tried to redirect from shopify embedded app iframe to another link using an onclick action. Please see the below code i'm using
import createApp from '@shopify/app-bridge';
import {Redirect} from '@shopify/app-bridge/actions';
const app = createApp({
apiKey:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React-native-push-notification sound is not working iOS while app is background I am using react-native-push-notification for handling notifications. When app is foreground notification sound is working but when app is background notification sound is not working in iOS . How can I fix this ?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75593565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add animation when the text changes in React tailwind Please see the below code
Right now, the text can be changed when the "text" variable changes.
And i want to fade-out the previous text and fade-in the new text when the text variable changes.
<p className="animate-fade-out animate-fade-in">{text}</p>
thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to examine query results in Logstash? I am running a query using the Elasticsearch filter plugin in Logstash. I can't find any documentation on how to examine the results of the query so that I can send out alerts based on the results. I'm aware that Kibana Alerting is a better approach, but the observability fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where is the VS Code Cert Store I am attempting to create a new Dev Container. My company uses a tool for data loss prevention that intercepts network traffic and uses a self signed cert, it is not directly a proxy but acts like one. I have tried using the http.proxyStrictSSL to disable SSL verification but that d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: my program doesn't run and doesn't show also . it just stops after pressing run This is the code for checking Armstrong number. I don't see any error. Please help.
#include<stdio.h>
int main(){
int no;
int k, sum=0;
printf("Enter the no: ");
scanf("%d",&no);
while(no>0){
k=no%10;
sum=sum+(k*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Change marker radius: plotly node selection I'm trying to change the size of marker when a node is clicked in Plotly
<html>
<head>
<script src="https://cdn.plot.ly/plotly-1.58.5.min.js"></script>
<style>
.graph-container {
display: flex;
justify-content: center;
align-items: c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Guacamole SAML auth erros I'm trying to set up Azure SAML with my Guacamole instance, and every time I go to the login screen it gets stuck in a loop bouncing back between my SAML login page and the domain login page. On the Azure side, its registering every loop as a successful sign on, and the logs from guacamole ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: This toUpperCase Button in React is giving some error like page turns blank after click I just started learning React and I wrote a code to convert text in textarea to UpperCase on click on a button but when I click on it page turns blank and console is saying some sort of boundary error
here's code for TextForm.js
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any drawbacks of using expression as a comment in javascript? if you look at this snippet of code it doesn't have any problem syntactically:
function foo(){
"============ this is an expression used as a comment ==============="
var x = 10
"============ this is another comment ==============="
return... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Securing Prometheus scrape endpoints with basic auth or TLS using Prometheus operator I want to secure different parts of Prometheus, such as the Prometheus /metrics and the node-exporter /metrics, or w.e the endpoint may be. So, if someone were to visit that endpoint, they would need a cert or a username and passwo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75593576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |