text string | meta dict |
|---|---|
Q: Get Offset of clicked item in a LazyColumn in Jetpack Compose I'm making an app in which you have a LazyColumn, and I want to add a "Context Menu" to the items after long pressing
If I don't have a LazyColumn and I use the following code: https://gist.github.com/MKiperszmidSF/4cce633c7384ba09a333ed80d1207632
Credits... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Forwarding my GKE Ingress trafic to Cloud run We do have few endpoints that are too critical to be handled by our monolith app (even if it replicated in k8s).
The issue is a cloud run hostname is not a service, and each ingress rule is expecting a "service" backend.
I just need to forward a certain path in my ingres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Define values for checkbox answer I'm trying to make a simple contact form, but I have difficulty to understand how checkbox works. This is the part I have a problem:
HTML:
<input name="selection" type="checkbox">
PHP:
$selection = $_POST['selection'];
$mail->Body = "
Answer is ".$_POST["selection"]."
"
Once t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why can my conditional Masked Autoregressive Flow not learn multimodal posteriors? I am trying to learn posterior conditional density distributions of the form p(x|y) with conditional Masked Autoregressive Flows (MAFs). My problem is that I cannot seem to get the model to estimate multimodal posteriors, since it alw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using .copy() within a particular line of code causes a SettingWithCopy Warning while using it in a separate lie avoids it. Why? I have spent a week reading about chain assignment, but some things are still not making sense. Why does the first block of code return a SettingWithCopyWarning while the second one does n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache Beam pass list as argument - Python SDK I have an Apache Beam pipeline which would take a list as arguments and use it in the Filter and Map function. Since these would be available as string I had converted using ast.literal_eval on them. Is there any other better way to do the same thing?
import argparse
im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to refetch data in React Query in an action handler only when the data is stale? I know the regular refetching of the data in useQuery
const fetchData = async()=>{...}
// it starts fetching data from backend with this line of code
const {status, data, error, refetch } = useQuery(
myKey,
fetchData(),
{
enable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combine multiple identical nested dictionaries of a list by merging the value I want to combine multiple identical nested dictionaries of a list by merging the value and store them in a list.
Suppose I have a dictionary like this:
ex = {'tran': { 'precision': 0.6666666666666666,
'recall': 0.648648648... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to request data from remote graphql to be used as global values through the app? I am struggling to find a solution to this...
I would like to fetch some data from the remote CMS, via graphql, which I can access on any page through the app, without having to define/fetch it all on a per page basis. I should not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GORM: Serialize bytea to hex string I have such table in psql:
TABLE transactions (
hash bytea NOT NULL
)
And I want to get data from DB and return it as a response to user:
type Transaction struct {
Hash []byte `gorm:"column:hash" json:"hash"`
}
func GetAllTransactions(c *gin.Context) {
var transactio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pass to a function both char and integer in C++ I am new to C++, and I am sorry beforehand for this newbie question. The program below finds the longest sub array which contains the same amount of characters and digits. Right now, I can only pass digits as strings (for example: * array ={ "0", "a", "c", "4", "1", "2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Flutter: how to get the number of subcollections of a document in firebase firestore How do I determine the number of subcollections within a firebase document?
My data looks as follows:
And I am trying to get the number of subcollections within each skill document. I tried something like this
FirebaseFirestore.ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: repeat old value when using setState in flutter I have a list view for chat that has reverse: true mode. In this list, I have a statefullWidget. When I update the list related to the list view and add a new item to it, it shows the content of the previous item instead of the new item and repeats.
This problem only o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Value iteration method for matrix form error in R I want to implement the value iteration method part of neuro dynamic programming using a simple example:
# value iteration function
value_iteration <- function(V, P, R, gamma, tol) {
Q <- R + gamma * P %*% V
V_new <- max(Q)
if (abs(V_new - V[1]) < tol & abs(V_new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add average column and grand totals row in COBOL output file My issue is that I am a beginner in cobol and because I do not understand the order of things quite well I am unable to recieve the correct output for my COBOL program. The output file is a .rpt file in that will show up in the bin debug folder of a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to configure scheduled tests with different branches and environments? I have a question about GitHub Actions - Cypress testing mentality. We have 2 different environments for development; let's call them firstEnv and secondEnv.
Developers are pushing their codes on firstEnv. Once in a week we are having release... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deleting files from multiple folders I wanted to delete files that had a .dcm extension from multiple folders.
Found a question similar to mine but it doesn't deal with having to loop through multiple folders, this was the answer found
import os
dir_name = "mainFolder"
test = os.listdir(dir_name)
for item in test:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TypeError: Cannot read property 'initializeApp' of undefined, js engine: hermes How can I solve it? Is the file incorrect?
TypeError: Cannot read property 'initializeApp' of undefined, js engine: hermes
import firebase from "firebase/app";
import 'firebase/auth';
import 'firebase/firestore';
import 'firebase/databa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a DAG from file dependencies in Rust I'm trying to build a petgraph DAG from a sql file in Rust and am struggling with how to build the transitive dependencies.
Getting the first node's parents is simple enough:
use sqlparser::{dialect::SnowflakeDialect, parser::Parser, ast::visit_relations};
use core::ops::C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why Pyppeteer Python is unable to load extension? I use instead of chromium real browser called Brave.
Pyppeteer is however not able to load any extension from any profile I do which is I think a big problem, I have C# or .NET puppeteer or puppeteersharp and I have no issue at all so I checked the PyPpeteer API docs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you use the Terminal to automate screenshots on a second monitor? I am currently trying to figure out a way to periodically take screenshots of my mac automatically.
I came across this code to type into the terminal which fulfils my main problem:
while [ 1 ];do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S); screencap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is Apple Pay required on apps? I am working on an iPhone app that will sell goods through the app. I want to integrate 3rd party payment system into the app (think stripe or something similar).
I wonder if Apple requires Apple Pay integration on an iPhone for such a use case.
I could not find any documentation on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Issue running shell script via gitlab runner ( windows) I am running as shell script via windows runner from gitlab. I am able to reach to that machine and execute cople of command. But, shell script is not running. I can run it manually via powershell.
And also how to change user from authority\system to loacl user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Provide credentials to pgadmin Docker container: the user does not have permission to read and write to the specified storage directory I'd like to provide the db credentials to pgadmin at startup.
I have the following error (scroll to the bottom):
postgis |
postgis | PostgreSQL Database directory app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use SwiftUI LazyVGrid to build a compact grid? Expected layout
Instead, only got this layout from SwiftUI
There is empty space in between the cell and it's not compact. It doesn't behave like CSS flex system.
The closest I can find is this library but it doesn't do lazy load:
https://github.com/exyte/Grid/
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75610197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: How to generate a random array only consisting of a specific number of -1, 0, 1? Is there a standard way in Python to generate an array (of size 15), where precisely three 1s and four -1s are placed randomly and the remaining array entries are 0?
An example for such an array would be
0 0 0 0 1 1 0 -1 1 -1 -1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CPU issue running ACE library version 7.0.6 in Linux Ubuntu Moving to Linux Ubuntu from windows, ACE library version **7.0.6 **in Linux Ubuntu.
Server socket listening to traffic:
*
*received socket connection and connection is accepted
*Application is receiving excessive handle_output() where our app
inherits f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# find nearest or closest int value from multiple object This my problem i make some listview for display result data:
data| X | Y |
A | 20 | 15 |
B | 10 | 20 |
C | 30 | 28 |
and case is my CurrentX is 25 && my currentY is 27.
From the data, the nearest value from CurrentX is 20 & 30 but nearest value fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: collision in module systems and Confusing module and moduleResolution I am writing a project, using the 4.9.5 version of typescript. (the newest version as of now).
And I am using a popular package called Chalk (very popular) v5.2.0
and I have this working directory:
src/
├── index.ts
└── myJSONFile.json
And I have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use map with a list of lists I am needed to use map on a list of lists in Scheme (Racket).
What I want specifically is something like (map-lists add1 '((3 1) (2 8))) => '((4 2) (3 9)).
I know how to solve this recursively, like so:
(define map-lists
(lambda (f A)
(if (null? A)
'()
(if (pair? (c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AWS IAM: programmatic access via AWS webpage results an IAM user without `access key ID`. I need it for S3 I'm trying to create an IAM user that can be used for my Django project for serving static files with AWS S3 (also, locally).
For that I need to fill blanks in my Django's settings.py:
"""
AWS-specific settings... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I fix discord bot disconnecting before a song is finished? The music starts playing normally but it stops halfway through and just disconnects halfway through. There is no error on my command window. I can't seem to find any information regarding this matter.
Also I didn't have this problem before. It was sti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I debug a FastAPI Azure Function App in VSCode? The problem
I have created an application which utilizes FastAPI and Azure Function Apps by following the guide https://learn.microsoft.com/en-us/samples/azure-samples/fastapi-on-azure-functions/azure-functions-python-create-fastapi-app/
However, I am unable to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vuetify: Cannot find default SASS Variables I have been using Vuetify for a number of projects, and have used SASS variables to override their default global values, especially the light/dark theme colors.
Recently I noticed that they have refactored their codebase and now I am not able to find any reference to thos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: express-validator conditional validation with if/else In an expressjs app, I have express-validator to validate form input. I have an order endpoint that I need to validate the fields provided but can't figure out how to do conditional validation.
The inputs has order info where if it is delivery, I'll validate addr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to align the button horizontally to the center? i can't resolve this problem. I want the button in the center.
My HTML:
<section class="about">
<div class="container-about">
<div>
<div class="col-lg-6">
<h1>Title</h1>
<p>Lorem ipsum dolor sit, amet consectetur adip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Spring-Boot Endpoint/Controller Not Found 404 When I create a new spring-boot project and then add a simple controller and try to hit the endpoint, I get 404 (Not found). If I move the same code to the main spring boot application it works (I've added the annotations @RestController.. as you can see)
The other stran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using .loc doesn't make SettingWithCopyWarning disappear in pandas import pandas as pd
cars = pd.read_csv('car_sales.csv')
cars_new = cars.dropna()
for item in ['mileage', 'engine', 'max_power']:
cars_new[item] = cars_new[item].apply(lambda text: float(text.split()[0]))
The code above (which uses this dataset) co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel - Can I provide additional error variables if errors are thrown? I am using a custom FormRequest extension to validate my form submissions. I have two forms on the same page. Is there a way to append an error message (If it throws one from the rules inmy FormRequest) to identify WHICH form was submitted?
R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: find - Traverse all subdirectories from a starting point and check if specific subdirectory is contained in them I was looking for a way to traverse the full path (all the subdirectories) from a given starting point (current directory in my example) and then check if the full path has a directory called "xyz" in it.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I add a new .swift file to an Xcode static lib project that already contains .c so that func in new file can be called by a Swift app? I created an Xcode static lib project with .c files and it works.
I used Xcode "new file" to add a new .swift file that contains Swift "func health_algo_test()" to my static l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Issues while running pyspark UDF with AWS glue I am trying to call UDF in AWS glue job but getting error . Code and error are given below
import sys,os
import concurrent.futures
from concurrent.futures import *
import boto3
from awsglue.transforms import *
from awsglue.utils import getResolvedOptions
from pyspark.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: enumerate all tasks in task scheduler I'm trying to list all the Scheduled Task in Windows Task Scheduler. I read some documentation and tried some same codes from MSDN. This one for example, https://learn.microsoft.com/en-us/windows/win32/taskschd/displaying-task-names-and-state--c---
The output is only the tasks s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I reproduce an ordered list with top-aligned content and inline urls? Novice here having a huge amount of trouble trying to replicate this ordered list style.
I've attempted with certain styling techniques and got some of the way there but wasn't able to add inline links as I was putting all the content into ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Efficient way to create stratified subsamples of a data frame, depending on frequency of a category I want to create a sub-sample of data frame df, depending on the frequency of a given category in one of its columns, e.g. a.
Let's assume we have a data frame like this:
df <- data.frame(a = rep(1:4, c(3, 9, 4, 8)),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint on persist() without ID? I'm getting an exception with Hibernate that makes absolutely no sense to me. I am using the persist() method to store a new, unattached entity without an ID (so it does not result ina detached entity pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes ingress prefix path issue I have nginx ingress controller deployed using helm, a simple nginx pod, service and ingress:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: all-app-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I use model subclassing API to create a custom PCA layer? I want to create a PCA layer using sklearn and some MLP model and want to be able to create this using model subclassing API in python using tensorflow/keras.
X_train, X_test, y_train, y_test = load_data()
pca = sklearn.decomposition.PCA(n_components=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: update a view when a protocol is called Hello programmers I'm struggling with this.
what I want to do is update a UIView when an API response
like this (on my MapVC)
if isUS {
if station.name == "AM" || station.name == "Amoco" {
imageName = mobileEnable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get retrieved file data to display on chart in Visual Studio I am working on this project that retrieves stock data from a file on my computer and should display it in a chart when I click the load button. I've done most of the work but I am a bit unfamiliar with C#. What do I need to put in the "connectChart... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Training a model to extract information from a document I'm exploring a particular class of problems and want to experiment a little with training models.
I'm new to the world of machine learning, but am an experienced Software Engineer.
The question I'm trying to solve is given a corpus of documents, and metadata, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I generate extremely high frequency noise in python? Above 20000-25000+ Hz.
There seem to be apps that generate noise, and apps that generate extremely high frequency noise, but not apps that generate extremely high frequency white noise. How can I do this in python?
It would be great to get advice on, I thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Change in indicator for exit strategy I'm trying to get an array loop to check over the past 15 bars if the indicator changed from green sma (sma_1) to grey sma (sma_2). I want to use it as an exit condition. Any help on how this may work would be greatly appreciated
Indicator
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75610257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you contain an image inside of a div? I managed to get an image positioned where I wanted it by setting its position to fixed. The image is inside of a div that takes shape of a square. I want to hide the instances of the image that is being displayed outside my rectangle. To make it more confusing there is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to add a Push/Refresh view to Browser#1 when order is placed on Browser#2 in Django? I'm creating a kitchen app/order app. And I'm trying to make the kitchen browser page refresh when an order is placed from another browser.
Is this even possible?
I know Django can use Signals to track events, but ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need help shadowing my dependencies when exporting (shadowJar, gradle) My dependencies don't export when I compile my project (gradlew build).
This is my build.graddle.kts : https://paste.md-5.net/mivovenaro.js
Here are my errors (already explained above):
when building (gradlew build):
> Task :compileKotlin UP-TO-D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can i adjust a Kendo qrcode image inside a span? I am trying to increase the size of the qrcode image . I have the following
<div class="col-md-12 form-inline">
<span kendo-qrcode
k-error-correction="'M'"
ng-model="url"
style="height:120px!important"><... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (Android - Kotlin) - How to recover a button from included layout into fragment using view binding? I've created a specific layout in order to display when any internet error appears in my android application.
The idea is to include this layout in the fragments where it can be a problem. This is the xml file:
<andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to set a AWS Oracle RDS to be case insensitive for data joins? I could have sworn there was a way to do this but I have not been able to find any documentation on it. Any help would be greatly appreciated.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75610279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: react-native-snap-carousel not displaying data I am trying to add a carousel component to my HomeScreen in my portfolio project using (https://blog.logrocket.com)implement-react-native-snap-carousel/ as the format. I have successfully ran that project as a tutorial but am having trouble translating it to my project... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using smart-open with AWS lambda S3 access error I'm trying to stream a file from my requests.get to my s3 using smart-open within my lambda. My lambda role has proper access to the s3, needed action of "s3:GetObject","s3:PutObject", and kms key to decrypted bucket.
I'm getting error message the bucket 'my-bucket-xy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find a list of users with the same set of permission groups We are adding Roles to our system for our security setup.
We are trying take our main UserItems table to find a list of users with the same set of permission groups so that we can suggest to the end user what roles should be setup and with what permission g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Extract information from web_id in website links I was wondering whether it is possible to get any information out of the web_id parameter in urls. For example in this url
https://www.tiktok.com/@ginkgojelly/video/7107645852402847018?is_from_webapp=1&sender_device=pc&web_id=7030472314181682694
In order to view the v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ffmpeg, mediacodec hevc decode c/c++ I'm struggling quite a lot of time with mediacodec in ffmpeg and right now I'm not sure if I have achieved expected result or not.
Objective: Use ffmpeg (compiled with mediacodec) in android application from c/c++ library to decode rstp hevc stream.
Right now I'm able to decode t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'ListSerializer' object has no attribute 'error' I want to save 300 objects through a DRF API, having a function executed on a POST request and storing all returned elements.
It seems like I am using the wrong type of serializer based on this error: 'ListSerializer' object has no attribute 'error'
This is the model ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PowerShell Import-Excel Module - Set Autofilter Criteria I'm trying to use the Import-Excel module to set the autofilter criteria for a specific column in an Excel file.
Here's the base of what I have:
$excelPkg = Open-ExcelPackage -Path ('{0}\{1}' -f ($FilePath, $File_Name))
$excelSheet = $excelPk... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to disable http access in NodeJS? I have read that:
Disable HTTP access to the domain, don’t even redirect or link it to SSL.This is the best practice against MITM and phising attacks.
so how can I access only https request not redirect http to https
disable http access
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75610299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HashSet data type in VBA Is there a HashSet data type available in VBA, or can it be imported from .NET? I searched online and on SO, but I didn't find anything. I want to create a HashSet in VBA and then run a function to go through a range of values and check if each one is in the HashSet, and if so take another a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WSL2 import existing ext4.vhdx I reset my computer and can't open wsl. I've tried using wsl --import to import the linux image I had before the reset, but it doesn't work
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75610303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why do manual malware analysis when you can use Intezer or VirusTotal? I'm new to IT, more specifically, malware analysis (+ cyber security stuff).
I'm currently taking a course on practical malware analysis, and was wondering what is the advantage of doing manual malware analysis rather than automated analysis. (I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HTML/CSS Navigation list elements dont resize when window is resized Ive been trying to get my navigation to resize with the windows width, but as soon as i resize the window the animation elements dont resize with it. I got to scroll to the right in order for me to see the left out elements.
* {
box-sizing: bor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best Practice FastAPI - including routers FastAPI's documentation states adding routers like so:
from .routers import items, users
app = FastAPI(dependencies=[Depends(get_query_token)])
ROUTE_BASE = config("APP_URL")
app.include_router(users.router, prefix=ROUTE_BASE)
app.include_router(items.router, prefix=ROUTE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: GitHub Actions Multiple Conditional Workflows in Order I have a mono repo with several application subprojects, as well as a shared assets subproject. I have created a GitHub Actions workflow for each subproject. I would like to make sure that the shared assets workflow runs first, IF AND ONLY IF there were any comm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Having trouble receiving data after making request to TWS/IB API for historical data using the recHistoricalData method (Python) I am trying to gather historical data from the TWS/IB API. I have a CSV that contains the list of tickers and the endDateTime that will both be used in the recHistoricalData function. We c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Tag Manager - how to target class and child to track button clicks I'm not in IT, but I've been asked to implement some tags in GTM. I've done reasonably well for myself until now, but I need to implement a click tracker for a scroller:
Image of button on page, marked out in red box
Based on the code, I thoug... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to separate out the required fields from arrays on objects in mongo dB I don't know how to query the nested documents and filter out those fields which have
"status": "Pending"
Here's my sample document:
{
"_id": {
"$oid": "63fa3203ef0dcc2ef8e163d1"
},
"username": "M. Irtaza Ghaffar",
"email": "irtaz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I compare an image from a Super Resolution (SR) algorithm with the original high-resolution image? First of all, I'm relatively new and inexpert about Super Resolution and whole slide images, so I'm sorry in advance if I'm being too confusing or working strange.
I have several histopathological images from d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I separate two data set when they are overlapped and one group's distribution is known I'm trying to figure out how to cluster 2-dimensional dataset into two classes. You can check data distribution at the below figures.
Figure(a) shows scatter plot distribution of the data. As you see, it is easy to cluste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: F# 'function' functions cannot inline The following 2 functions
let episodeDict1 (a: obj) =
match a with
| :? (Episode -> _) as generator ->
let episodes = [D; W; M]
let values = episodes |> List.map generator
List.zip episodes values
| :? _ as value -> [D, value; W, value; M, va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RXPY semaphore filter I'm looking to execute a batch of processes in parallel, but process each batch in series using RXPY (we're using v3 right now). Each process is kicked off, then I use RXPY to wait for a set amount of time before ending the process. Here's a basic version:
def start_task(value):
print(f"S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to build a generic model for Trans-piling source code using Machine Learning techniques There are various older posts asking questions about how to translate one programming language to another with traditional answers relating to constructing abstract syntax trees for conversion. The limiting factor here is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Verifying ID Token on jwt.io I am testing keycloak features for User Federation Kerberos/single sign on and Password Grant. When I paste the JWT ID token returned by keycloak in jwt.io, I get an error "Invalid Signature". I am capturing the JWT ID token from wireshark. The additional information in jwt.io is that th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generate infrastructure/architecture diagram from GCP automatically Are there any tools to read my GCP project and export the information in form of .png.csv etc.?
I have tried HAVA (https://www.hava.io/blog/quickest-way-to-create-a-gcp-diagram), but it only outputs network-related resources.
Any suggestions?
Thanks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: VSC recognizes module name when I type it, but throws exception at runtime I'm using VSC Remote Server to access code on a linux server. There I'm trying to import .py files from another directory. I've added the directory to import from to the server's PYTHONPATH via .bashrc and rebooted.
Judging from the syntax hi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filtering R data.table by the contents of a column of lists Similar to this solution to examining columns of lists in data.tables. I have a column of lists that I would like to filter the rows of a data.table b by. In this case, I have a list of terms c that I would like to look for in column V1 of b. I can use the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error al intentar compilar mi codigo no me deja y me deja un mensaje "adjuntar" Cuando intento correr el codigo que tengo hecho no me aparece "RUN" si no me aparece "ADJUNTAR", he buscado informacion y encontre que debo vincular el programa como arranque o algo asi y me doy cuenta que a estas personas si les aparec... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75610345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to run timers in stateless microservice I am working on a stateless microservice and need to run some timers in it. Now timers are inherently stateful and I need to run them in a way that the service remains stateless. The major point in this implementation is that the timers should start and stop on demand depe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas `yerr` after `groupby` generates "ConversionError" I am trying to use pandas.plot(type=bar) to plot a bar with errors.
I have some variables for each sample, each sample belonging to a group.
Toy example:
df=pd.DataFrame({
'U': [ 1, 2, 3, 4 ],
'V': [ 5, 6, 7, 8 ],
'grp': [ 1, 1, 2, 2 ] }... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Missing required parameter for [Route: info.update] [URI: info/{info}] [Missing parameter: info] In my web.php
Route::resource('info',InfoController::class);
In my view
<a class="btn btn-primary" href="{{ route('info.edit',$info->id) }}" role="button">Update</a>
In my URL
http://127.0.0.1:8000/info/36/edit
When i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL datatable to make list<> which have list<> I have a class named UDepartment and List is inherited in UDepartment.
public class UDepartment
{
public int UDptID { get; set; }
public int DptID { get; set; }
public string DptName { get; set; }
public int DptCode { get; set; }
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: add Code Style inside normal text flutter I wonder if there is a way in flutter how to do this style to separate code from normal text
A: You can use code_text_field package.
Example:
class CodeEditor extends StatefulWidget {
@override
_CodeEditorState createState() => _CodeEditorState();
}
class _CodeEditorS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: light-4j: light-codegen , looking for some help on how to generate a nodejs project code using light-4j codegen tool I am looking for some help on how to generate a nodejs project code structure using light-4j codegen tool using
https://doc.networknt.com/getting-started/light-codegen/
need some suggestions on how to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to change array([list([ into array([]) I did tfidf with manual syntax and I got the results of the tf idf vector in the form of a data series. the data is as follows:
print(type(dataset["TFIDFVec"]))
print(dataset["TFIDFVec"])
<class pandas.core.series.Series>
0 [0.0, 0.6307448112902039, 0.0, 0.0, 0.0, 0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use Google Apps Script to Query the HubSpot API using Access token instead of API key I am trying to get hubspot records into a google sheets file. Honestly I am totally not skilled in coding. I found a tutorial for using google script, the point is that now the hubspot API key has been deprecated so the script does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do I get the wrong address for a variable in gdb when using p &var? I have a simple c program:
int x = 0;
void main() {
int y = 1;
printf("x: %d\n", x);
printf("y: %d\n", y);
printf("&x: %p\n", (void*) &x);
printf("&y: %p\n", (void*) &y);
}
which I have compiled with gc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Button "show content" issues React.js I was trying to create posts with components each post have:
Title, body and button "read more"
All posts was made by fetching data from training API, but i can't figure out why my buttons aren't working
that's post component:
export default function Post (title, body) {
ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "extra fields not permitted" when subclassing model with private fields I have two classes:
from pydantic import BaseModel, Extra
class Foo(BaseModel):
a: str
class Config:
extra = Extra.forbid
class Bar(Foo):
_secret: str
When I try initializing Bar:
Bar(a='a', _secret='b')
I get the followi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Package inputenc Error: Unicode character (U+F0B7 i past a writeup and this error occor what should i do now (Package inputenc Error: Unicode character (U+F0B7)
i want to write a reserch paper on overlife
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75610383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: is there a way to sort variable length number strings easily in sort or other unix-like / gnutools? Is there a way to make unix' sort command operate on numbers that are not the same number of digits? If I do sort -n I get the following output for my sample data,
pdvoq_shared_mma:voq_counters[0]/dropped_packets
pdv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to view a pdf document as attachment from email using php? I am struggling to view pdf from email as an attachment once user receive it. How do achieve this with php. From the front end once user sends apply button, how do i link the form using jquery to route it with php file?
`// Back-end
<?php
// Database Con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75610392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |