text string | meta dict |
|---|---|
Q: Javascript (React) application freezes the entire iframe with no evidence of running code I have a react application which uses shopify's polaris UI framework (not important for the question)
The application has an autocomplete field which, when filled, creates an HTTP request that fetches items based on a search va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Convert esrgan-tf2 Tensorflow model to Tensorflow lite Is it possible to convert an esrgan-tf2 model to tensorflow lite model?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Sheets: count how many cells in a range exactly match a corresponding range I have a row of cells, let's just say A1:K:1 and I'm trying to count how many times each cell in this range matches the corresponding cell in a range below it, eg A3:K3. So, if A1=A3 that's 1. If B1=B3 that's 2. If C1=/=C3, don't coun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gdb debugger not working with R on Ubuntu 22.04 I'm using gdb on Ubuntu 22.04 to debug R code relying on a C++ source files. Untill I was working with Ubuntu 18.04 everything worked fine. Some months ago I updated my OS to Ubuntu 22.04 and since then gdb doesn't allow me to debug R code anymore.
Specifically when I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connect an online Flask app to a local database I'm publishing my first web app using flask, which uses few SQlite databases that are updated by my local machine.
So I need the online app to point to my local databases to be always updated.
What's the best way to achieve this? I heard about ngrok may serve my case, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Inconsistent System.IO.FileLoadException from CefSharp.Cef.GetGlobalCookieManager I am getting the below error in a CefSharp WinForms application. This error happens very sporadically and is not consistent. Unfortunately at this time we are unable to replicate it, but it has been reported numerous times.
System.IO.F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: python class arguments with user input I'm new to OOP in python and have learnt how to make a simple class and how to pass arguments to it.
My question is using arguments when a class accepts user inputs.
by default, my code is like this
class Simple:
def __init__(self, name, age):
self.name = name
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ISM330DHCX read axes I have problem with ISMDHCX sensor.
In CubeMx I downloaded MEMS1 and ISMDHCX setted to SPI.
I wrote init function
void acc_module_init(ISM330DHCX_Object_t *ISM330) {
ISM330DHCX_IO_t io_ctx;
io_ctx.BusType = ISM330DHCX_SPI_3WIRES_BUS;
io_ctx.Init = BSP_SPI1_Init;
io_ctx.DeInit ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issues with programmatic Bulk load using SSTableLoader I referred an article to implement SSTable bulk load using spark to my 3-node local C* cluster setup using CCM. I'm seeing a bunch of exceptions. I do not see data getting loaded in the table. Could someone please help with this?
Here is the relevant Java code s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: any idea about the total amount that microsoft has invested in azure? I was in the process of writing an email to pitch Azure to my manager and I wanted to state the cumulative amount that Microsoft has invested in Azure over the years. I googled for the info but didn't find any good resuts offhand. My first guess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to select photos from Google Photos using the new Android Photo Picker? Steps to Reproduce
My Android device has updated to use the new Photo Picker (https://developer.android.com/training/data-storage/shared/photopicker)
I used to be able to view and select images from my google photos app or anywhere else, but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Summarise based on condition with different length (dplyr) having a tibbl df:
A B C
1 0 -1
2 1 2
-3 -2 1
I need to filter all columns based on a condition and summarize them to a new variable (I know the legth is different then, but is there an else option for "NA"?
I know it works when I sum them or min/max etc.
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java SSLHandshakeException and elasticsearch I have elasticsearch and springboot jar in a single AWS-ec2 box
I am pushing data from a springboot application to elasticsearch
Both springboot jar and elastisearch have self generated ssl certificates
All restendpoints in the SB-jar works fine with Https call, but the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access Form passing PK to some underlying tables, but not others I have a query based off of 8 tables that hold Part data for different departments. I bring all of these together for a form used to create new Parts. When I use this form to create new parts, it adds the PK into some of those tables, but not others.
B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deleting objects with class inheritance with an overloaded operator delete I'm trying to implement a mechanism for delayed deletion of objects.
Faced a problem that objects are deleted incorrectly. This mechanism does not work at all and it is similar to UB.
The following code shows the main idea and is simplified a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wait until last container of compose has succesfully finished on docker compose up? I have a docker compose file, which startes multiple docker containers in an order.
When executing docker compose up I would like to wait until the last container has sucessfully_completed
The --wait option only seems to wait until t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I use the telegram api bot in many esp8266? my problem,
i use the same bot account on many esp8266 clients.
how can I do this if I look at the both message and mark the message read information if it belongs to the controlling client after checking it for security purposes.
i want to use this bot on many esp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to wrap a nested flexbox at a certain viewport using TailwindCSS? I have the following which uses TailwindCSS:
<div class="box-border flex w-auto flex-row gap-2 rounded-2xl border p-4 my-4 mx-4">
<div class="grow-0">
<div class="flex h-full flex-col items-center justify-center">
<div class="ml-50%">i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write this SQL query for retention analysis of users by their active plans I have two tables in Postgresql:
users plans
--- ---
id id
user_id
effective_date (datetime)
inactive_at (datetime)
I need to product a cohort retention analysis that looks similar to:
This t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redux doesn't save state even reaching type [Solved] Update:I think I found my problem I somehow access my state by useSelector(state => state.auth) which didn't save my ordersReducer.
please help me. I have this code that I already reached SAVE_ORDERS_SUCCESS but it doesn't save the state of it. Here are my codes. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delay only since a week within approval flows Wondering if anyone else is experiencing a 2 - 5 minute delay with power automate approval emails? It has been like this all week. Teams notifications still come in right away. I never had this issue before. Thank you in advance!
I never had this issue before. Thank you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Huge string memory leak running a service We have an application that we run as a service. It uses WCF but I not sure that this is relevant.
After running the application under JetBrains .dotMemory there are nearly 10GB of objects (mainly strings) and I have no idea where they have come from. The retention path is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MS Access Not Importing Hyperlink Address I have an Access database that I feed from a series of Excel import documents. One of the docs imports info that includes a hyperlink. When it imports, it only imports the "Text to Display", the "Address" is left blank. See images below.
This is what Access shows:
This is w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to write a program with thousand or fewer characters that can generate every possible 128-kilobyte file I found this question in a German math textbook [Konkrete Mathematik (nicht nur)
für Informatiker].
I know that this is not possible but I can not come up with a convincing argument. I think there a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Query about Directory traversal I'm currently practicing OWASP attacks and I have a question about a particular HTTP GET request:
"GET /loadImage.php?filename=../../../etc/passwd HTTP/1.1"
When I send this request, I receive a response with a status code of 200. However, when I try the following request:
"GET /loadI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove the columns having 40-50% values as NULL in R I have a dataframe in which there are many columns having 40-50% of values null.
I want to remove those columns from my dataframe. I have got the percentage of empty rows using the following code:
(colMeans(is.na(application_data))*100)
A: You can use colSums() ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read() call returns -1 in prime sieve program I am trying to implement a concurrent prime sieve program. Each pipe will eliminate the multiples of the current number. For example, the first pipe will eliminate all the multiples of 2 and send the non-multiples to the next pipe, the next pipe will eliminate all multip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Plotly mapbox geojson layers works for lines but not symbols I'm trying to draw a map with scattermapbox in plotly with some dynamic zooming behaviors, specifically I want some features of the map to only render when zoomed in sufficiently. The plotly maobox layers support this behavior, but I can't get the layers ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: export to excel just row colored? I have datagridview consisting the rows colored red which indicates an error and rows Not colored
which indicates an correct I want export to excel just rows colored red help me please
private void btnExporterError_Click(object sender, EventArgs e)
{
Microsoft.Office.Interop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tileoverlay layer not updating when animate camera to track user location update Dears, I got an issue using Android SDK with google map support.
I need to show on top of the base layer another layer with some custom data. Everything works since I configured a TileProvider, do the conversion from xy format to lat/lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exclude appendices in Table of Contents but keep List of Appendices I know this is a common problem, but none of the questions I read answered my own problem. So, after hours (days?) of trying, I need to as you myself.
I have used the appendix package to create my appendix in an article document (it's my master's th... | {
"language": "de",
"url": "https://stackoverflow.com/questions/75618283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Native multi-arch builds can't find linked libraries I'm transitioning from a MacBook i9 chip to a MacBook M2 chip. I would like to build multi-arch docker images that support both linux/amd64 and linux/arm64. I can build and run on either computer but when I try to run the amd64 build on the arm64 computer I get th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a binary variable based on a condition over two consecutive rows in R I would like to create a binary variable (GH), if BP1 variable is >= 140 OR/AND BP2 variable is >= 90, on two or more consecutive rows for each ID.
This is my data:
ID <- c(1, 1, 1, 1, 2, 2, 2)
BP1 <- c(130, 140, 140, 130, 110, 120, 130)
BP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: customize error types of @ApiResponse() in Nestjs-swagger project I wanna create error types using ApiResponse in my swagger-nestjs project
So I created different types for different typesof errors.
For example the type for NotFoundException is :
`export class NotFoundErrorResponse {
@ApiProperty({ example: 404 })
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Composite indexes in Spring Data Redis I'm using spring data Redis, I'm adding functionality to the project to query Redis hash object with multiple fields. I just created secondary indices on those fields using @Indexed annotation from spring data Redis core.
My question is, is there a way to configure my Redis has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to define/declare the type of a Closure delegate? I'm trying to define a builder pattern to construct the command-line arguments of a Cucumber action for our Jenkins CI/CD pipeline. In it, I'm trying to write the data class with a Closure method as well in the event someone prefers that syntax (trying to be flex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Data not rendering in Cytoscape.js in the Django template I am trying to display the data in the Django template in the form of graph. I am getting the data from Neo4J and for querying I am using neomodel. First I am serializing the data in the form of JSON accepted my Cytoscape.js.
This is my template
<!DOCTYPE htm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vitest test doesn't work with PrimeVue3 Dialogs I've got a project where I use PrimeVue components and it's time to do some tests.
This is the code of the test:
import { beforeEach, describe, expect, it } from 'vitest'
import type { VueWrapper } from '@vue/test-utils'
import { shallowMount } from '@vue/test-utils'
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove field from a nested array in collection in MongoDb using python I am trying to remove nested fields (id and type) in batter array in the collection. The matching condition being where batter.id="1001". Images of collections are attached before and after update.
I have tried the below code:
def remove_field(da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Git Hub- VSCode How to clone multiple repo in vs code I have 3 different repo in github, example repo_1, repo_2, repo_3
i can't able to take all repo clones in VSCode.
How to do that in vscode
i tried do take new clone, but i dont' know how to do that
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Visual Studio Code for Java not loading Intellisense hints When I first open a project in Visual Studio Code, the inline help to add imports, etc works just fine. After a while, it just stops working and stays in a loading state. See Attached image.
Any idea on how to research/fix this problem?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Calling a variable outside an event listener. outputs: "undefined" So, here's my code:
const LogInform = document.getElementById('login');
const UsernameInput = document.getElementById('username');
const PasswordInput = document.getElementById('password');
console.log(LogInform);
LogInform.addEventListener('submit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with SQL Loader loading .CSV file to Oracle 12c Table I'm running into an error while trying to load an oracle 12c table from .CSV file in Linux environment.
Control File:
load data
infile '/opt/Infor/Marketing/10.1.0.0/custom/OUTBOUND_SPAM_COMPLAINTS_20230_TEST1.CSV' "str ';\r\n'"
badfile 'spam.bad'
append
in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create new variable x by selecting the value of a cell in a row conditional on the variable name containing the value of a variable z I have a dataset of individuals. Each individual is observed across different years and countries. I have two independent variables x2002 and x2010 (see Dataex example: Before). These... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python requests.exceptions.ConnectTimeout I want to save images from vk's groups posts. But requests give me this mistake
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='sun1-95.userapi.com', port=443): Max retries exceeded with url: /impg/DKsod3pGDta5b1qODuCmR1u_wiTvWWO33PzrjA/m43mpFGA5qA.jpg?size=510... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use uniDAM package to solve stellar ages Can anybody tell me how to use uniDAM to calculate age of a star? As an input I have stellar parameters, J, H, W magnitudes and W1 and W2 magnitudes as inputs.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Malicious Code injected into my WordPress website, specially in my header My wordpress based website has been hacked again and again. Code injected into my header, due to this webiste redirects to another site or sometimes down.
Targeted folders are wp-content and wp-uploads.
Target files are index.php , wp-blog-hea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Testing Library's `user-event` button click event must be called twice to get the same results as with one `fireEvent` click I have a form created with React Hook Form that has a required text input field and a submit button. If the user doesn't enter a value to the field before submitting the form, an error message... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android - number of opened file descriptors per application I went through several posts about how much opened files can I have in applications. All says about 256 up to 1024. They are using below code for testing
struct rlimit limit;
getrlimit(RLIMIT_NOFILE, &limit);
__android_log_print(ANDROID_LOG_INFO, "F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blue Green Deployment in Azure spring apps Started exploring blue/green deployment in azure springs. I was able to create staging app and promote it to production. When I want to test the staging app I am getting a URL with basic authentication. Without setting the Basic authentication header the request is getting ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need help: Missing WatchKit Extension in Xcode 14 I want to use WatchConnectivity but I can't use it without WatchKit Extension
I haven't found a solution so far
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FATAL ERROR: Ineffective mark-compacts near heap limit I am getting this error. Could somebody provide me with a small explanation? I don't even know what I need to fix.
I am getting this error during typescript compilation.
<--- Last few GCs --->
[1791:0x5533880] 72626 ms: Scavenge (reduce) 2042.8 (2082.2) ->... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Schemathesis how to save output as JSON I am trying to use Schemathesis in python script but I did not find a way to save output in reusable (as dictionary/json) way.
Here is my code:
import subprocess
Request = 'https://example.schemathesis.io/openapi.json'
try:
output = subprocess.check_output(f'schemathesis ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add select buttons to HTML without moving other elements I have created a HTML document which contains multiple buttons. I have added these buttons inside a DIV id named 'buttons'. I now want to add a sort by button to the HTML page. This sort button should be on the same line as the other buttons, To do this, I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jest Mock not working in basic example of exported function I have a simple example function, let's call it like this:
const otherFunction = () => {..........}
const someFunctionImTesting = async () => {
const result = await otherFunction(param);
and both are in the same file exported bellow like:
export {
oth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to mount a yml containing the metricbeat field mapping configuration to a kubernetes pod When I run helm upgrade install with the following configmap, which basically helps to mount the fields.yml configuration of metricbeat in a pod and starts metricbeat with this config I get the following error. How do I fix ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASPState database always empty ASP.NET MVC web app We have an ASP.NET MVC webapp and not using anything like ASP.NET Identity. We'd like to store session (simple User ID string) in SQL Server for the sake of reliability over InProc (AND we also want to extend session timeout with SQL Server also).
We are using HttpC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how works check_password_hash method in Flask-bcrypt here is the definition of the method
def check_password_hash(self, pw_hash, password):
'''Tests a password hash against a candidate password. The candidate
password is first hashed and then subsequently compared in constant
time to the exis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SYNC gateway couldn't connect to couchbase server in a docker environment I am trying to put CB and Sync Gateway instances in docker. I managed to launch CB Server (defined buckets, users and etc) but when SG fails with the following error message after I do the following docker command:
docker run -p 4984:4984 -d c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Changing the font size of an onHover label in chart.js I am working with chart.js to develop a graph. I have been able to change the title, axis and legend font size, but I haven't been able to change the font size of the label that appears when I hover over the graph (which came as default).
My code for that specif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need to manually re-authorize using OAuth2AuthorizationRequest not working I'm building a client application that need to be able to step-up a user in case the authentication level is not sufficient.
For this the resource server evaluates the access_token through introspection and returns a 401 with a WWW-Authentica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vectorizing for-loop in Pandas I've created a for-loop.
The code runs fine, but it takes a long time to finish (11 minutes) due to the size of the dataframe.
for col in df.columns:
for date in df.index:
mask = (dat['start'] < date) & (dat['end'] > date) & (dat['plant_type'] == col)
df.loc[date,col] = dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setup an email notification when consumer: Connection to broker lost in celery I want to implement an email system which will send an email whenever my celery worker lost connection with my Redis server.
Whenever it lost connection it gives warning:
[2023-03-02 21:33:48,272: WARNING/MainProcess] consumer: Connection... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reduce the density of axis & data labels (in sync) Is it possible to manage density of data labels (text marks) similarly to what the labelOverlap setting does with the axis labels? Ideally, I'd like them to be in sync.
{
"data": {"name": "dataset"},
"encoding": {
"x": {
"field": "Date",
"type"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Api inegration with provider hi currently i am rewritting a home page of app which was initialy build with setstate method , currently i am doing with provider state management , i am trying to implement pagination in home screen with feeds like instagram which contain articles, userposts, during initial bui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to communicate the IMU sensor with esp32 via SPI communication I want to read the data from the Gy-951 IMU sensor via esp32 SPI communication.
The following is the Arduino Razor firmware that we can install on the sensor.
https://github.com/Razor-AHRS/razor-9dof-ahrs/tree/master/Arduino
But this firmware is buil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to build a chat app in android studio I want to create a chat app with android studio. I researched a little bit and found out that I need some kind of REST-Api to connect with a database where I store messages and stuff...
Here comes my problem:
I don't realy know which REST-Api I should use and how to, cz I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Function that accepts a generic Type or an array of the same Type public treatment<Type>(input: Type | Type[]): Type {
if (isArray(input)) {
// input here is 100% Type[]
return input.map((element) => treatment(element) /* <- this is telling Type 'Type[]' is not assignable to type 'Type'*/);
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why does the preview open if i put ['Search: '-print``-''] in an object? If I write ['Search: '-print``-''] in the browser console and enter, the print preview opens.
Whaaaat!
Can anyone explain this strange behavior to me (perhaps it's only strange for me?) and if possible tell me if there are others? Thank you ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Devops group variable to Docker compose file Have a question , i have many variables (mostly secrets defined as group variable in azure devops), i download the variables in my azure pipeline , my requirement pass this group variables based on the environment to my docker compose.yml file which build my contai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass a JSON object from Svelte to Quarkus I'm playing with Svelte on the frontend and Quarkus on the backend.
I'm finding myself unable to get an object passed from the front to the backend's search method.
Help is appreciated.
let endpoint = "http://localhost:8080/api/users/search";
async function ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to login my app when workbox start cache the assets in service worker I'm using React with workbox webpack plugin. When new build goes into production and login to app when new assets start caching via workbox at that of time I'm not able to login my app but when cache period is done then I'm able to login ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to setup laravel 10 and vue 3 and connect with route? I am using laravel 10 and vue 3.I successfully set up it, after add @vite('resource/js/app.js') its works fine.but when i try to connect route then it does not work.I don't know what is the problem.Please give me solution.[[enter image description here](https... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure SQL Data Sync database provisioning failed, Execution Timeout Expired We're using Azure SQL Data Sync to migrate our on-prem SQL Server DBs to Azure SQL DB. Lower environments have worked just fine, and they are a cloned, scrubbed version of our production DBs. When running the sync for production, we get an e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does ~True = -2 in python? I am completely perplexed. We came across a bug, which we easily fixed, but we are perplexed as to why the value the bug was generating created the output it did. Specifically:
Why does ~True equal -2 in python?
~True
>> -2
Shouldn't the bitwise operator ~ only return binary?
(Pytho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Did my discord bot stopped working? Shard ID None session has been invalidated I need my discord bot to be running non-stop, but I got something in my terminal after about an hour of working:
2023-03-02 10:59:56 INFO discord.gateway Shard ID None session has been invalidated.
What is it? Does it mean that my bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to fix "not enough values to unpack (expected 3, got 1)" with multi input value with list I want to input multi coordinate value like (x1,y1,z1),(x2y2z2)...,(xn,yn,zn) to the input
program:
def coordinate(getdata):
l = getdata
lx = [x for x,y,z in l]
ly = [y for x,y,z in l]
lz = [z for x,y,z in l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Cannot access store state from within Alpine.js store in Astro So I have this Alpine.js store set up in <script> tags:
<script>
const url = import.meta.env.PUBLIC_CONTACT_FORM_URL;
document.addEventListener('alpine:init', () => {
Alpine.store('contactFormState', {
// Form State
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we return multiple values based on return type Is it possible that one function can return multiple values?
func dataChange(type: String) -> (String || Int) {
if (type == "string"){
return "stackover flow"
}
return 123
}
Can the dataChange function return different values based on an if condit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to properly change port of JPOS Channel-Adapter during runtime? I would like to be able to create Channel-Adaptor connections during runtime of my program. I have a solution but it doesn't seem like the proper way to do things in JPOS.
My program will receive information from the user through a JSON Post request... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't prevent python turtle from going outside the window as you can see from my code, I've written a simple program with turtle module to randomly draw lines with a random color.
The turtle will randomly move forward or backward with a random distance which is chosen from a list.
What I would like to do is to preve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Netsuite email template I'm trying to create an email template on Netsuite, and wanted to put a package tracking number:${customRecord.package.packagetrackingnumber}. After saving, I tested it with an order, but showing no package tracking info there. Wondering what's the correct variable name of package tracking n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type hint redis function python I tried different ways to type annotate the redis object and its method as below
foo.py
redis_instance: Any = redis.StrictRedis.from_url(url=REDIS_DB_URL, decode_responses=False)
config.py
REDIS_DB_URL: str | None = os.environ.get("REDIS_DB_URL")
.env
REDIS_DB_URL=redis://redis:6379... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.Net Core Web API - How to DTO Working on a large project to migrate all of our Windows apps to Blazor. I am responsible for generating the web API to access data. The data model is messy and based upon an existing database which has ... evolved over time.
My partner in crime responsible for the Blazor side of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Git reset unexpectedly removes older commits I am experimenting with git reset and get some results I don't understand.
First lets check git log --oneline:
bebf9f0 (HEAD -> main, [MyRepository]/main) Merge branch 'main' of https://github.com/[MyRepository] into main
b20fac7 Merge branch 'main' of https://github.com/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to convert a protobuf message into Avro? I am attempting to convert a protobuf message into an Avro record in order to send it to a Kafka topic using KafkaProducer. I am aware there is a KafkaProtbufSerializer for the value.serializer, but I would like to convert the protobuf message into Avro to use the KafkaAv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue converting standard import statements over to React.lazy() in order to code split a bundle I want to take the following imports and code:
import {HotTable} from '@handsontable/react';
import {registerAllModules} from 'handsontable/registry';
registerAllModules();
And convert them over to use React.lazy() so t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate median for each person in SQLite I have a dataset just like seeing below. I need to impute null values with the median of that person's Homework values. I was using SQLite to do this task. Since there isn't a median function in SQLite, I was trying to use SQL query this link. But this query computes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Why is MessageListener consuming ActiveMQ messages before a pool is ready to work on the message? Application deployed on WildFly using Java EE javax.jms.MessageListener to consume messages from queue.
@ResourceAdapter("remote-artemis")
@MessageDriven(name = "DeliveryMDB", activationConfig = {
@ActivationCon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display as selected, the model relation records for select input options in nested foreach loop in laravel The project is not mine and it needs to be a convertion from laravel-backpack to default laravel views, controllers, etc
The link shows the backpack view but imagine i want the same views and functionali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when creating order on Binance in C++ using REST API: "Mandatory parameter 'timestamp' was not sent, was empty/null, or malformed." Im getting this, while trying to create an order on Binance using curl in C++: Error: "Mandatory parameter 'timestamp' was not sent, was empty/null, or malformed." I am pretty sur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Having trouble with running the setup.py command on my terminal I am pretty much new to Python so i don't know most of the stuff here. i recently tried running the following code in my python terminal :
python3 setup.py
What it says is:
zsh: command not found: python3setup.py
I’ve tried checking previous answers to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Condensing a data frame in R but retaining min/max values I'm formatting data for proportional hazards survival analysis (based on wildlife telemetry data), and have interval steps for data. I'm hoping to combine these time steps, and only start a new row when an animal goes missing for 1+ time steps.
# Current data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gstreamer green screen Ubuntu 20.04 i tried to use this pipeline to create a video streaming for some .png pictures.
SENDER:
auto rtsp_pipeline = "appsrc ! video/x-raw,format=BGR,width= 1920, height= 1080,framerate=10/1 ! videoscale ! videoconvert ! x264enc tune=zerolatency bitrate=80000 speed-preset=superfast ! rtp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Upload Photo in node js with monogodb How to upload image in node js
I am trying to upload aa photo and save it on my database but its not working
How i upload the photo in database with node js
A: You can use "multer" (npm package) to save photo on the same server which you are using to host your node.js applicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access XCOM values outside operator I need to access XCOM values outside the operator, it can be done using variables, but i want to avoid it.
I am pushing the xcom values from one operator and then a funcction to fetch xcom values using getone/getmany function, but it is returning null/none.
even chatgpt is not pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use angular material autocomplete in the text input anywhere I am try to add angular material autocomplete in Text input.
The idea is when use input like "@" character, the autocomplete dropdown will appear, the user can choose any from the list.
the input can be like 'name=@... and city=@'. before user input... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fast API error: "TypeError: unhashable type: 'list'" , even after converting the 'key' to a tuple I have a function that fills missing values of a dataframe column with a chosen string or value.
Code
Fill missing values of a column with 'desired values'
def fill_num_random_fun(df, col_inputs):
col_name=col_in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nginx, [emerg]: zero size shared memory zone "limitback" I have web application which uses nginx, and I have placed my template .conf files in sites-enabled and sites-available:
server {
return 404;
}
upstream web {
keepalive 500;
server 127.0.0.1:8000;
}
server {
listen 0.0.0.0:80;
serve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure - Connection between App Service and Azure PostgreSQL Database using AD I'm trying to establish a direct connection between an Azure App Service and an Azure Database for PostgreSQL single server.
I'm currently connecting to the database through a string connection and a user created in the database itself.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |