text string | meta dict |
|---|---|
Q: multiple prefix of single S3 bucket mapping to single CloudFront distribution I've two scenarios
*
*Single S3 bucket will hold data for multiple environments
*Single S3 bucket which will holds data for single environment
In both these scenarios bucket will be private and public to CloudFront only
Where I want to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to filter by several fields but handle aggregation counts This question is about filtering and count aggregation in elastic search.
I have an index with documents, each document have a topicId, a geoId, and modalityId. These fields are going to be my filters, and could be any combination.
Suppose I have this:
to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Queryselector attribute in google form iframe In my website, i have an iframe which is a google form. Is this possible to QuerySelector attributes in the iframe or using eventlistener on the iframe?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75580702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I set only one field on a Child Form in Symfony to be required? My parent form type is using a child form type.
I want to make one field on the child form type required, and the rest of the fields optional.
In a perfect world, the code below would work and just the boo field from the child form would be requ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Memcached, pool is full I have a service that heavily relies on Memcached. I have 3 node server on GCP and im using
EnyimMemcachedCore - https://github.com/cnblogs/EnyimMemcachedCore
I have tried both the earlier version of EnyimMemcached that was last updated in 2016 if I remember correctly.
My main problem is tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I use Azure Email Communication Service as KeyCloak email provider? I created an Azure Email Communication Service and I connected my domain to it and verified the domain, added SPF and DKIM1 and DKIM2 and all are verified.
I also have a KeyCloak instance running inside a docker container. And I want to provide ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: KafkaStream KeyValueStore with RestController initialization I am wondering if it's possible to initialize springboot RestController after Kafka stream state transitioned to RUNNING? I noticed that KafkaStreams.StateListener listens in the main thread. This prevents one to use CountDownLatch countDown() in combinati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am using the vegan package anosim in R , and there is an error dissimilarities have 44 observations, but grouping has 0 Here is my code
library(vegan)
mydata <- read.csv("QPS- - july-oct.csv", header = TRUE, row.names = 1)
otu <- data.frame(t(mydata))
group <- read.csv("QPS-group - july-oct.csv", header =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: net 7 api iis 504 Gateway Timeout I have a net 7 API as backend and when user get logged in API return a large (more ha 16Kb) Baerer token which has lot of permission in it.
I am using IIS as proxy and the API is running at OutOfProcess hosting model.
When user request a page content from API (authorization token in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: GCP user-created log-based alert policies error: Can not find metric resource_container_ids This error seems to be the same as this issue, supposedly fixed in 2021. Is this a recurring bug? The page shown in the picture is what I'm redirected to after clicking "Create alert from metric" from the 'more actions' butto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combine 2 lists without repetition in lisp I just started studying lisp and it became a problem, I went through a bunch of options, I don't even know which one to attach. It sounds like this : write a function that combines 2 lists in such a way that
Log in (1 2 3 4 5) (4 5 6 7 8)
Exit (1 2 3 4 5 6 7 8) .
Only basic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android does not respond when connecting to Bluetooth hidden devices android Bluetooth connect hid fail no I don't know I can't connect
android Bluetooth connect hid fail no I don't know I can't connect
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75580726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: joystick is not attached to the player, in 2D unity I have a scene where a character appears, in the inspector of which a joystick should be attached, but it does not work. the character appears from the prefab, inside which I set up the character, including the joystick, but it does not work in the scene itself
and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why Json Schema Validators throw many exception messages instead of a simple & summarised reason of validation failure? Schema :
{
"type": "object",
"additionalProperties": false,
"properties": {
"x": {"type": "string"},
"y": {"type": "string"},
"z": {"type": "string"}
},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prisma many to many How to add a car to favorites via connectOrCreate (similar to the basket). I have a connection between Car model and SessionClient model many to many. The machines already exist in the database, customers receive a token when they log in on the site.
model SessionClient {
id Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove a pending invitation to a Github repo? I would like to write a script that uses the GitHub API to remove a pending invitation to a repository. Intended usage would be something like this:
./remove_pending_invite.sh <name_of_repo> <their_github_username>
I know I can create invitations using a sequence... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'inline' function definition for could not be written to module due to unrecognized expression or statement I am experimenting with MSVC and modules.
I have the following code:
module;
#include "windows.h"
export module Module;
When I compile it in Win32 configuration I get the following:
1>C:\Program Files (x86)\W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Replace the empty space of a ROW with points in RDLC Report I have a table that contains rows, i want to complete the empty space after the row's value with points or any other special char
any suggesions please
i've tried
textBox.spaceAfter
and
textBox.spacebefore
but i don't think that it's the solution
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75580749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spark with flintrock on EC2: ConnectException: Connection refused I used Flintrock to install hadoop (with Spark) on Amazon EC2.
The MapReduce works fine, and I installed Yarn, but I am having difficulties with spark (both with spark-submit, as well as with Zeppelin), it gives me a connection error. I have 1 master ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VTK BarChart official example failed to compile I am learning how to use VTK library for plotting in C++. I am following this official tutorial page for making a BarChart. So I downloaded the example code, downloaded the latest VTK source files, and followed this official Wiki for compiling VTK using the CMake GUI i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a complex word to PhpStorm dictionary I have a use case where I need to add a complex word to PhpStorm dictionary, but I do not want to add the partial words.
The issue is that combined they form a name of service that I am integrating with (so I need to use that name in code).
Think PayPal as example, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to store data from nested foreach calls to display it into nested html data I have the following code that works without issue:
TestSuiteModel TestSuites;
TestCasesModel TestCases;
TestCaseModel TestCase;
public async Task GetTestSuites()
{
string url = "https://dev.azure.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue 2 - Module not found component dynamic I am having a problem when trying to dynamically use components in Vue 2. For example, I created a component that manages other components using . The problem is that when I try to pass an asynchronous component, it says that the module was not found, even though the module... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to split string field that is a list of user ids and then get distinct count of ids for days,month and years in Quicksight In Quicksight I have a data table that has a field that is of the type string. In SQL this column was an array of user ids but since Quicksight does not support arrays I changed the array of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a way to retrieve auid of location for apple map venues? I want to open apple map for specific location/venue and to do so I'm doing
if let url = URL(string: "maps://?address=Railway%20Station%20Area,%20Surat,%20395003,%20Gujarat,%20India&auid=4338464186124767060&ll=21.205538,72.840954&lsp=9902&q=Surat%20R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implement train-test-validation split for a list of pandas dataframe I want to implement a train-test-validation split for a list of dataframe.
For a single dataframe, I can do:
train, validate, test = np.split(df.sample(frac=1, random_state=42), [int(.6*len(df)), int(.8*len(df))])
However, I'm unable to implement ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to enable and disable a clang-tidy rule in Visual Studio? Visual Studio has a feature that lets me enable clang-tidy checks. In the property pages, I went to Configuration properties, Code analysis, General and set "Enable Clang-Tidy" to "Yes":
In the Clang-Tidy section, Visual Studio allows me to enter Clang-T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to create one time EventBridge and set a target to SQS I have been trying to create aws EventBridge one time schedules using code. I tried to create schedule using console and setting target to sqs and it works. Trying to figure out how can I do with code. So here is what I have tried.
const eventBridge = new AW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: screenshot testing falles in input test(loki) Screenshot tests always falling in tests with my custom Input component. Screenshots with difference shows me difference in border-radius even after adding these tests. Sometimes it falls in different places with input but always trouble in border-radius.
This is my stor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How scroll infinite in left right both direction using pageView builder in flutter? At the first time of app opening user will see a pageview.
In pageview builder initial value starts from the 0. At first time page opening user will see page index 0.
PageView.builder(
controller: pageController,
itemBuilder: (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML5 Video does not autoplay on iOS browsers I am working on creating a TikTok component for Web. The component is similar to TikTok. I am looping through videos, so users can scroll through videos.
I am facing an issue with autoplay on iOS browsers. Autoplay works on Desktop and Android browsers, but not on iOS br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docusign Envelope documents downloaded with size of 0 bytes I want to download the docusign envelope documents with the help of envelope id. Documents downloaded but unable to open because of filesize of 0 bytes.I tried a lot to fix the issue but can't figure out the problem.Can't anyone provide some reference?>
Not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UseEffect is not triggering so i used useeffect in my project and for some reason it ain't working. anyone that knows if i did. it is specifically the useeffect that is not triggering. the Console.log("Hi") does trigger everywhere else outside of useeffect.
const [openRequests, setOpenRequests] = useState([]);
con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Horizontal scroll with mouse in angular I am trying to scroll horizontally some content from div. I am able to do this successfully using below code :
typescript code .
@ViewChild('tableBody') tableBody: any;
onMouseWheel(event: WheelEvent) {
// event.preventDefault();
const delta = Math.sign(event.delt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run flow on prefect cloud without running local agent locally? I'm trying to deploy my flow but I'don't know what I should do to completely deploy it (serverless).
I'm using the free tier of Prefect Cloud and I have create a storage and process block.
The step I have done :
*
*Build deployment
$ prefect deploymen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am not able to see the file size even though I've set the Content-Length header properly When the download starts, I don't see the file size. But when I try the same thing in localhost, I can see the file size. I have set the 'Content-Length' header correctly. I'm using WayScript to deploy the app, here's my code:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: $.getScript reload after ajax call without stopping The code below should restart the script that initializes the swiper slider after ajax call, and it works, but even as the page loads for the first time, and after loads cyclically without stopping
jQuery(function($) {
var swiper = new Swiper('.swiper-contai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: NetBeans debugger ignore breakpoints I have problem with debugger in in maven project in NetBeans 15. Debugger starts, but totally ignore my breakpoints. As I think, the problem is in "Action" section:
<actions>
<action>
<actionName>run</actionName>
<packagings>
<packa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PostgreSQL EXPLAIN ANALYZE command shows different path for the same query depending on the id filtered I just faced an awkward behaviour in my app. I have been given two completely different paths for the same query. First one is working fast as it is using the index correctly. However for some reason the second qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Divide the sections of a table with a table tag and put a colored background I created a table that contains orders with a number and a status + a logo
When I declare that I am making a table and I want to insert a background color, it includes all the sections while I want it to be separate like the example here
Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to use .env file in Nuxt 3 Am using Nuxt-3 as my framework for the project and am very new to the framework too and when I was integrating api for my project and I was getting the response later when I tried to use api as global variable from the .env file in the root; but am unable to get the response as am get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to follow terminal folder when using "tmux" in mobaxterm when I run tmux on Mobaxterm, the SSH browser will no longer follow my working folder in tmux. I am wondering how to let MobaXterm SSH browser keep following my working folder, thanks!
ZX
I used the following command to launch tmux on MobaXterm
tmux -u -2
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Create self signed certificate and key with TPM2 I want to establish a TLS (TLS v1.2) connection using the cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256.
For testing I use openssl s_client and s_server.
My setup is using ubuntu 22.04 with "TPM Reference Simulator", tpm2-abrmd (v3.0.0), and tpm2-tss (v3.2.1).
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I access MS Graph from .NET API using Graph SDK and Azure AD B2C Currently I have attempted to setup Graph in my .NET 7 API with the following code in Program.cs.
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddMicrosoftIdentityWebApi(builder.Configuration)
.EnableTokenA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw polygon using react native mapbox package? I am trying to draw polygon on map but I couldn't find a single example that shows how to do it. This question has been asked before but no correct answer was provided.
const GeoJson = {
type: 'FeatureCollection',
features: [
{
type: 'Featur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting URL path to embedded resources from request in JMeter I need to extract URL path form one of the embedded resources as a variable or property.
PICTURE
I send request to https://jmeter.apache.org/download_jmeter.cgi and want to extract eq. https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to deploy flask app with directory on heroku I am trying to deploy flask app that edit images but i got errors in Heroku
`Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error`
the app saves the image in a directo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to fix CORS 'Access-Control-Allow-Origin' error? I'm trying to send a POST request to my Express server, but it always throws this error
Access to fetch at 'http://localhost:4000/users/sign-up' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: kubectl logs -f stops after 45.1mb of logs Running the following command on MacOS 12.5.1:
kubectl logs -f {pod name} | tee save.log
There's no more output after 45.1MB is written and I have to ^c and rerun (the command doesn't exit).
I don't think this has to do with a limit on the OS side because the following writ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find company names in a dataframe containing news from each row of another dataframe I have a list of company names stored in a dataframe which was created from an imported file
comp_names <- data.frame((contacts[,6]))
Now I would like to search for those names in another dataframe in which in each row there is di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grafana SMTP configuration i am trying to configure the alerts in grafana smtp one
i am getting failed to send alerts
the logs are below
t=2023-02-27T10:14:32+0000 lvl=info msg=“Sending alert notification to” logger=alerting.notifier.email addresses=[username@abbott.com] singleEmail=false
t=2023-02-27T10:14:32+0000 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter BLOC: when receiving data synchronously over http, the widget content is not updated Good afternoon!
The problem is the following: when receiving data synchronously over http, the widget content is not updated.
BLOC code:
class NotifyBloc extends Bloc<NotifyEvent, NotifyState> {
Map result={};
NotifyBloc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting number from a cell of excel using R These are my mutations details in a df(chr10:63661472 G>C,chr14:105246551 C>T, chr16:2225614 G>T)
I only want to extract the number of positions. I want such final file,
63661472
105246551
2225614
How can I do it?
Thank you
A: There are many ways you can do this.
Here'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Recursive function to restructure array that inside an object I'm currently working on displaying tables.
But im stuck because the data structure is super nested. This is the original structure:
{
"key": "parent_table",
"title": "parent_table",
"type": "table",
"children": [
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to read header in php I've got a simple curl statement that is running from bash that sends a header to a Apache2 server running PHP.
curl -H "myheader: test" https://example.com/listener.php
The listener.php file contains:
<?php
$myheader = $_SERVER['myheader'];
echo $myheader;
?>
The header is not being pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting text alignment when using custom UITextContainer We are currently using a standard UITextView and setting the text to be displayed using the text property.
We have overridden the text property as below to find out whether the text should be left or right aligned.
override public var text: String! {
didS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncaught Error:java.net.ConnectException:Failed to connect to Can someone help me with this error. Not able to open my application on my physical android phone. It shows this error
I doubt that its a problem with my network provider. Does Expo have some requirements for this? How can I solve this?
I tired by connec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TCP server on PHP Laravel, Ubuntu server ip binding i have Command on laravel, what starts tcp server working on 127.0.0.1:8295
well, when i run my command, i cant connect to my tcp server by serverIP:8295 tcp connection. How to configure my server or something???
i tried configure nginx stream, but it was not helpf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: White list specific params to cover possible vulnerabilities I am trying to find a way to whitelist certain params in order to prevent the ability for these params to be manipulated into dangerous data.
I have ran brakeman on my app and it specifically highlights the lines:
new_entity_model = new_entity_type.cameliz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make the height of div as large as possible? I have written the HTML code like this:
<div id="FirstDiv"></div>
<div id="SecondDiv"></div>
<div id="TARGETDIV"></div>
And CSS code like this:
#FirstDiv {
width: 100vw;
height: 50px;
}
#SecondDiv {
width: 100vw;
height: 230px;
}
#TARGETDIV {
width:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is PyTorch C++ extension much slower than its equivalent numba version? I have been experimenting with various options to speed up some for-loop-heavy-logic in PyTorch. The two obvious options to do so are either using numba or writing a custom C++ extension.
As an example I have picked a "variable length delay ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can I get an extended class object as a result of an SQLAlchemy relationship? I have the following structure for my Python project:
app/
├─ classes/
│ ├─ person
│ ├─ address
├─ database.py
├─ main.py
├─ models.py
database.py contains the connection details and creates the engine and session to be used:
# database... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to connect two computers using MERN? My knowledge in programming is limited and I'm learning MERN right now. I'm developing a video calling app (like part of whatsapp) , and I need to connect 2 users. First user will request 2nd to connect , and 2nd user will have the option to accept or reject, after which they... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: cannot stop Thread Groups and start next Thread when I reached the EOF in jMeter I have Test Plan that contains Thread Group that is used CSV file. The point is that all data fron CSV file can be done much earlier than the duration for Thread Group would be over, so I try to use a condition to forcerly stop me Threa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Privacy Policy in Play Console I have a project which worked well but now Google Play removed it, I don't now problem what is can you help me for solving the problem
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75580840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are there any potiential issues using LSet with UDT's, especially into a smaller UDT? In the Add function below using the LSet command with UDT's, are there potiential issues using LSet into a smaller UDT? It appears to function correctly transferring the lower 4 bytes of the LongLong within a QWORD UDT into the UL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Weird behavior in the console window in Windows 10 My console window have a code page of 437, and I have echoed Russian letters in the console window:
echo привет
And I got the correct Russian output, which is:
привет
But why am I getting the correct Russian output, shouldn't I get 6 question marks as output ("???... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: TypeError: Misc.mainloop() missing 1 required positional argument: 'self' import tkinter as tk
from tkinter import messagebox
from PIL import Image, ImageTk # pip install pillow
class Firstpage(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self,parent)
Label = tk.Label(sel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to grep for particular substring containing "-" dash symbols I am trying to run
clear && docker logs 0d5f6a87fc49 | grep "9c3bc6e0\-af6e\-11ed\-9412\-edc770e32f93"
As for me it looks pretty straightforward: "find strings containing a substring"
But no matter what I am do, grep finds any string containing any bi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issues with FuncAnimation in Matplotlib I have a set of scatter data that I am trying to animate with FuncAnimation but am not getting any output. I don't use matplotlib often and have never tried to animate anything before except in matlab.
That being said, I have dataframes with x,y data but cannot get the plot to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parcel v2.8.3 doesn't build properly Whenever I run parcel build index.html, it builds everything allegedly, however launching the project from the dist folder I come to realize none of the actual JS has been bundled. The HTML and CSS are properly bundled and the page shows both its styling and its markup, however t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate total taxable amount or tax applied on profit amount using Google sheets formula Following to my previous question, thanks to @rockinfreakshow and @Martin I got the optimal solution which I was looking for. Now I need your expert opinion to confirm whether it is possible, so please bear with me due to my b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not sending the password to the database when hashing? I am trying to make a website in order to learn a bit of coding. The website is relatively basic, but I've run into a big of a snag. For some reason, whenever I hash the password when the user is signing up, it doesn't send to the database, but it does when I do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Squared magnitude of the scattered field versus observation angle I am trying to generate the figures in the paper [Intelligent Reflecting Surfaces at Terahertz Bands: Channel Modeling and Analysis][1]. Figure 2 is as below.
[![enter image description here][2]][2]
What I get from my code is as below.
[![enter image ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove detached DOM element in child component in Angular We have parent and child components, child component is getting loaded with each item click of the parent component. On every click, the child component is destroyed by using childref.ngOnDestory. but the detached DOM element of the child component is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter theming and custom widgets I'm new to theming in Flutter and I'm trying to figure it out the proper way of theming a Flutter App and my custom widgets the best way possible.
My goals are:
*
*Write the most of the app theming in the theme property of MaterialApp
*For those widgets that the colorScheme spec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: add a row to a dataframe from a dictionary I'm adding a first row from a dictionary to index 0 to Dataframe.
df = pd.DataFrame({
"names": ["a", "a", "a"],
"org_names": ["a", "a", "a"],
"math" : ["!not_div", "=", "*"],
"values": [1, 2, 3],
"end_result" : ["", 1,2]
})
data = {"interception": 1,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I search by included models in one "where"? I use the given "where" to search:
where = {
[Op.or]: [
{
name: {
[Op.like]: `%${word}%`,
},
},
{
description: {
[Op.like]: `%${word}%`,
},
},
{
'$types.name$': {
[Op.like]: `%${word}%`,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert list of dates in YYYY-MM-DD format to EPOCH in R I'm new to R programming and am trying to convert a list of dates in said format (Ex: "2023-02-27") to EPOCH time.
The dates are a column in a data frame, which I am accessing as DataFrame$Date.
If I manually pick a date from the table and cast it like so, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Interop OpenCL/OpenGL not supported, what other alternatives are there? I'm working on a project on Linux with OpenCL. The thing is, I wanna draw an image generated by OpenCL to the screen.
In order to make it generic and platform independent I tried using GLFW and OpenGL's textures to draw such image. It would be g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WideVine Certification DRM problem on Android phone I have a WideVine Certification problem with my android phone.
I have a Oppo Find X2 Pro where my security level is L3, but it should be L1. The problem is that L3 forces all streaming Apps like Netflix and Hbo Max to stream in max 480p SD resolution. I tried every... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pie chart js numbers outside of the circle How can I have Charted with chartjs?
I try to customize but could not customize the chartjs.
What I expect is the photo below:
A: Have you tried chartjs-plugin-datalabels?
const ctx = document.getElementById('myChart');
Chart.register(ChartDataLabels);
const generateC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: karate - var in * configure headers don't work I'm trying to add var in * configure headers but it doesn't work.
If i write :
Given header Authorization = 'JWT '+setup.token
Given header Accept = 'application/json'
Given header Content = 'multipart/form-data'
it works so good !
BUT ! I want to put all "header" in *... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does WebRTC create a separate APM instance for each peer connection, or one APM instance for multiple connections? I created an Android and iOS WebRTC peer-to-peer application, and I've discovered that power usage appears to be higher than anticipated. I believe that WebRTC's Audio Processing Module (APM) may be a f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why TypeScript compiler does not allow this seemingly valid code? I am having an issue understanding why TypeScript type-checker rejects code that is seemingly valid.
export type Fn<I, O> = (value: I) => O
type FInput<F extends Fn<any, any>> = F extends Fn<infer I, any> ? I : never
type FOutput<F extends Fn<any, any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to make controllers to dependency injection? I have created a new controller and new routes named "WhatsAppController.php" but after running it appears like this "Target class [WhatsAppController] does not exist." and " throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);" how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: test private BehaviorSubject I have the following Jest test in Angular:
it.skip('should emit search results to searchResultsSubject$', () => {
jest.spyOn(service.searchResultsSubject$, 'next');
service.search$('Track').subscribe(() => {
expect(service.searchResultsSubject$.next).toHaveBeenCalledWith... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Single React app where display is driven by configuration (noob here)
Hoping someone can help me with this. I have a single react app. Under public/config, I have a bespoke configuration file (say config.js thats gets loaded in index.html) where users can tailor how components are displayed in the app. Now users are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed My DaemonJson:
and here kubelet args.
kubelet args (KUBELET_KUBECONFIG_ARGS) in /etc/systemd/system/kubelet.service.d/10-kubeadm.conf and add a --cgroup-driver flag corresponsing to docker cgroup (in this case cgroupfs).
My config file looks l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Open CV ImportError: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0 I have installed OpenCV and when trying to import cv2 in python, I get the following error. The import was working fine until I installed/un-installed and re-installed tensor flow.
OpenCV has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multi-word django model naming convention I have a django model called ProfilePicture, i've renamed it from Profile_Picture to ProfilePicture so that it will fit python naming conventions. Right now, i am accessing it something like this request.user.profilepicture. I would like to know if it's possible to change it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is AsSplitQuery doing separate roundtrip to DB for each query? I have finally been able to upgrade a very old codebase from EF6 to EF Core 7 and I'm playing with some "new" features.
I have been super hyped about Split query option for eager loading but when reading the documentation I was taken back by this:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create binary indicators for a data.frame given another data.frame of confidence intervals? I have a data.frame, delta_counts, with values for half a million genes by 500 samples, and another data.frame, ci_data, with confidence intervals for each gene (2 rows, half a million columns).
I want a data.frame/mat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cropping Pandas dataframe saving age/sex distribution I have a following dataframe (base) containing people.
I dont need so many entries in my dataframe and would like to reduce it to about 10k people saving the age/sex distribution.
I have an approach using loop. Run over each age, counting len(base[(base["age"] =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Issues setting up multi tenancy using OpenIddict, when wanting to include the tenant id/slug in the discovery document urls and actions I'm currently building a small auth server which needs to log in users on behalf of one or more tenants, the company I'm doing this for has their SaaS product which makes heavy use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Union property does not exist on union type I've following issue in TypeScript:
type Foo = {
a: number
}
type Bar = {
b: number
}
type Props = {
object?: Foo | Bar | null;
keys?: (keyof Foo)[] | (keyof Bar)[];
}
function myFunction({ object, keys = ['a'] }: Props) {
const values = keys.map(key => object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rendering a jsx element for html2canvas error i have this handleShare here
` const handleShare = async () => {
if (!navigator.share) {
return;
}
const domNode = document.createElement('div');
const root = createRoot(domNode);
root.render(
<SharedPost title={title} content={content} shareRef={shareRef} />,
);
do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make slider in the flutter
I want to make the slider but I am trying to making this by carousel slider but carousel slider have no option of this. So any help me in this tell me the another method to make this.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75580900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to change Panel margins in Python VCL GUI app I'm using the DelphiVCL GUI library for Python and trying to change the margins on a Panel component, but it's not working
I have the following code to create the Form and the Panel on my Form:
from delphivcl import *
class frmMain(Form):
def __init__(self, own... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I filter attribute from json file using nifi So I'm working with a batch JSON file with the following value :
[
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75580906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |