text
string
meta
dict
Q: postgresql-14 cannot access bind-mounted PGDATA volume when deployed in docker stack I have a debian based postgres container and am trying to create a replicant server from a file system level backup of my primary. Now that I have added it to docker stack I cannot get the replicant to start up. I have tried alterin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create Angular package, with reusable set of pages, routes? I would like to create Angular packages as complete reusable set of pages, but I do not know if is it even possible, and if it is, then what is the fundamental way/architekture to implement it. Say I have an Angular app. Then I install npm package '@...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s%s, undefined,Check the method of `Home` So I got this error in my expo project and I have no idea of what it is or how to solve, can anyone help ? the Home in the Mainpage.js: import React, { Component } from 'r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error CS0029: Cannot implicitly convert type 'UnityEngine.GameObject' to 'string' I am trying to detect a touch to a game object in unity but I cant get it to work and I don't see it anywhere else. I done understand why it doesn't function. using System.Collections; using System.Collections.Generic; using UnityEngin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plotting Solid of Revolution Animation that is Revolved toward y-axis Python 3 and Matplotlib I have this modified code with Python from: Ploting solid of revolution in Python 3 (matplotlib maybe) But, I want to revolve this toward y-axis. How? This is the code. The bound is between y = 1/(x^2 + 4) and x=1 and x=4 a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: poll running for much longer than its timeout inside VM I've got a simple C program which I've compiled on my Ubuntu 22.04 VM which is running on my MacBook via VirtualBox: #include <poll.h> #include <stdio.h> #include <unistd.h> int main() { int fds[2]; struct pollfd poller = {.events = POLLIN}; if ( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: If statement does not printing any output while checking reponses from requests I have created for loop for checking if any of the endpoints return 200 code on a website where urilist is list which contains the endpoints for uris in uriList: req = requests.get(uris, timeout=10) successSTR = 'Detected Swagge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native User Authentication against backend (HubSpot?) I'm building a React Native mobile app which retrieves information from the HubSpot CRM. Now I want to add user Authentication in the mobile App. Only when the user is authenticated he/she is allowed to retrieve info from the CRM. To validate the credential...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jhipster gateway status is down when register to jhipster registry v 7.9.3 When I create jhipster gateway by jhipster version 7.9.3 and then I start it, I saw a log status Saw local status change event StatusChangeEvent [timestamp=1677903081146, current=DOWN, previous=UP] 2023-03-04T11:11:20.872+07:00 INFO 48843 -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Explicitly lock a MySQL Table I have a requirement recently, which is as follows. There is a table with utmost 50000 rows, each of which has to be read, run a process depending on the data (which takes approx. 30-40 secs for each row.). Since this is a time consuming task, and also cannot run on a single thre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filter rows on basis of parameter provided by stored procedure I am using a SQL Server database and have a table MYTABLE which has data as shown below. I am trying to fetch the data from my stored procedure that accepts @AllowedUser as parameter. The stored procedure is currently just simple select query SELECT * F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to export a Redux store variable in React only after it has been initialized? I want to export a variable that holds the redux store after it's initialized. However, I'm getting an error that is saying I can't do store.getState() because state is null. How do I make sure the files only get the store after it's b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run a class in IDLE 3.10.10 Shell in windows First time to user for IDLE Shell 3.10.10 and Unable to run my class. Can somebody let me know how we can run class using IDLE Shell 3.10.10 ? I press F5 key to run program but it is not running and not showing any output on my console. Simple Program: print() prin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Resizing the rectangle while resizing the image - React-konva I have a query regarding react-konva I'm using this and i want to resize the rectangle on it if the image is being resized. in my code rectangle does not resize while resizing the image here is my code https://codesandbox.io/s/react-konva-u9x99l?file=/src...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to resulw problem with install PySat? I have a problem installing PySat. I have tried reinstalling Microsoft Visual C++, but that did not help. Has anyone else encountered this problem?enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75633649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add data type any column while downloading excel file in react.js using xlsx Here is my code to download the excel file try { const response = await Axios(config); const outputFilename = "treasury_LOC_" + new Date().toJSON().slice(0, 10) + ".xlsx"; const url = URL.createObjectURL(new Blob([r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Solve function in R doesn't match inverse calculation There seem to be a ton of questions about inverse functions, but they're not what I'm after (neither are many of the results in the matrix-inverse tag). I'm trying to use a function that gets the inverse of a matrix. As an example, this is the matrix I am using: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Django - Foreign key filter in forms I have a Transaction model and a Pallet model, class Transaction(models.Model): transaction_type = models.CharField(max_length=10, choices=transaction_type_CHOICES) palletnumber = models.ForeignKey(Pallet, on_delete=models.CASCADE)` class Pallet(models.Model): nama_p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Codedeploy setup error: is not authorized to perform: iam:PassRole on resource: AWSCodeDeployRoleForECS I am trying to create a simple code pipeline to deploy a SAM template. In the codedeploy I am getting the following error User: arn:aws:iam::{account_id}:user/iamadmin is not authorized to perform: iam:PassRole o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Showing KeyError 0 When Using Eclat Algorithm through Pandas I am reading a dataframe, df_uci. Following are list of columns I have. name of Column,Total 4085 Cols and First Col is Transaction_ID . When I am applying the ECLAT algorithm: from pyECLAT import ECLAT # create an instance of eclat my_eclat = ECLAT(data=d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Click all positions in a given region I currently have a rectangular on the screen, which has the position of (x,y) from (0,69) to (1918,1038) What I want is to click all the points in this region as fast as I can, and each click has 20 pixel in difference with the old one How can I implement that, thanks in advance...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you load a specific GPU from CUDA_AVAILABLE_DEVICES in PyTorch? I came up with this code but it's resulting in never ending bugs: def get_device_via_env_variables(deterministic: bool = False, verbose: bool = True) -> torch.device: device: torch.device = torch.device("cpu") if torch.cuda.is_available()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check if an id in array exceeds the number of occurrence I am about to check if the IDs in an array do not exceed the total occurrence from another field. Example db records sponsorship_items table id title spots 1 sponsor1 2 2 sponsor2 5 user_sponsorships table id sponsorship_id 1 1 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Type checking for mutually-referencing classes Sorry if this turns out to be a noob question, but I tried google and it didn't help. Say I have two classes, A and B. I want A to take an instance of B as argument. Similarly, I want B to take an instance of A. If I define my classes in different modules and want my cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: a problem in kali linux in windows sub system for linux when I was to upgrade my kali show me this error how can I fix it ? apt --fix-broken install I use the above code to fix it but it doesn't work Errors were encountered while processing: /var/cache/apt/archives/kali-themes_2023.1.6_all.deb E: Sub-process /usr/bi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Web Scraping from HTML Table I only get all the source from xpath but I don't know how to get the date from table. Can anyone support ? below is the codes from selenium import webdriver from selenium.webdriver.common.by import By from webdriver_manager.chrome import ChromeDriverManager import time url = 'https://www...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Single codebase or multiple codebases for an application with lots of conditionals Me and a friend are currently working on a new project together, and we would like it to be cross-platform, and look native on all platforms. I was looking for a cross-platform framework to use, and Flutter seemed like a really good o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: confused about tidymodels "mlp()" description I was reading {tidymodels} and got confused about mlp() function's description from help section. it says from R help file, "mlp() defines a multilayer perceptron model (a.k.a. a single layer, feed-forward neural network). This function can fit classification and regress...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why my warp perspective function is giving me a black image enter image description hereWhy my warp perspective function is giving me a black image but it is working perfectly for some initial images that is stored if i change the image path it returns a black image I don't know how to proceed further and i am stuck...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to fix this: push rejected because it was not a simple fast- forward. use "force: true" to override I use an IDE on my phone called Spck Editor and sometimes I get this error when I push code to Github. Here's the error Sorry if the question is too stupid and because my English is not good, please don't be angr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hello, I have a problem connecting FluentD and ElasticSearch To specify, I have 3 Ubuntu 20.04 Servers, 1 has Elasticsearch and Kibana 1 has FluentD and the third will have Taegis. I need to get the indices from Elasticsearch and send them to the Taegis server, so basically to connect Elasticsearch and Taegis. Is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need a JavaScript Function to make each character of my randomly generator text show up in a different color Let me preface by saying I am an art student who was tasked with modifying the code of an auto generated poem Taroko Gorge and turn it into something else. Naturally I wanted to make it a visually interesti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot Copy After Splitting Image into Channels in OpenCV C++ I am attempting to split an image across its RGB channels and place them onto a canvas three times the width of the original image so I can place the split RGB channels side-by-side. Putting the original image onto this canvas works as expected but when I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly convert a .m4a file into .caf file in swift I have an audio file with .m4a extension I want it to be converted into .caf file. I have a function ready and working. It works fine but when editing the audio through code (changing the speed, pitch, echo and reverb) it returns an eroor stating: "failed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: X Error of Failed Request with GLX on Windows I am trying to use ssh to connect to a remote server using X11 Forwarding, so I can run a resource intensive machine learning framework, on the server and have the graphics display sent back on my windows computer. Following the relevant tutorial, I created a conda virtu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Trasfer program from visual studio to EV3 I am programming in python in visual studio and I need to transfer the program to EV3. How can I do it? Thanks I can debug and start the program grom the laptop but the program isn’t in the EV3.
{ "language": "en", "url": "https://stackoverflow.com/questions/75633681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How can I fetch data in prismic app built with nextjs? I've built my app using primsic with nextjs. On landing page, I want to display only 3 aritcles of my page and then If user click next page button, I want to display next 3 aritcles page I have index page which includes following props. How can I fetch data for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DIfferent shaped HTML Canvas I have created a HTML Canvas and everywhere I have checked it has some width and height but I want my canvas to be of some shape for e.g. a Star or any other png image that can be converted into a canvas. I have tried few things like <canvas class="question" id="canvas"></canvas> <img sr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write update action using Optimistic Locking in Yii2? I am writing todo app in Yii2 using optimistic Locking. I need to write update action now. I tried to write model, controller and also view for this purpose. I use this documentation link :https://www.yiiframework.com/doc/guide/2.0/en/db-active-record#opti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Julia & VS code - I can't debug my code although I can run it without debgging I can run my code without debugging. However, when I want to debug it, I get the following error message. I uninstall julia and vs code and reinstalled them. However, nothing changed. Thanks Executing task: C:\Users\lunar\AppData\Local\Pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Converting multiple datetime formats in single column to standard datetime df.datetime.head() 0 03 Mar 2023 00:00 ## Its a 24 hr format 1 03 Mar 2023 00:00 2 03 Mar 2023 00:00 3 03 Mar 2023 00:00 5 03 Mar 2023 00:00 6 2020-02-07 00:00:00 7 2020-02-02 22:00:00 8 2020-02-02 00:00:00 9 2020-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jq parsing to extract rule-number and hits.value I need to extract "rule-number and hits.value" from the below JSON data but I'm unable to fetch complete data using a single command. When I use below jq command it only gives me the output of 3rd rule. JQ Command: jq --raw-output '.rulebase[] | .rulebase[] | "\(."ru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Raster reclassification of each layer from a rasterBrick/stack using customized condition I have a rasterBrick/stack named as 'wnt', which has 8 layers. I want to reclassify each layer based on the mean (mn) and standard deviation (sd) of corresponding layer. The classification scheme is like (if the layer's cell va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Manage dependency of django model relations for migrating database I'm working on a Django project using Oracle database. I'm going to migrate all of data from Oracle database to Postgres database. My database has many tables with too many ForeignKeys, ManyToMany and OneToOne relations together. I can migrate drips ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Window block action I'm building a script that will extract constant information from a program to take actions. however, when this program opens the export window, it does not let me carry out other functions in its other windows without first closing the export window, is there any way to disregard this? several p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to add a sealed-secret.yaml file in a Helm chart? I have a custom helm chart that I wrote which has a deployment.yaml, service.yaml and other yamls. Now, I want to included a sealed-secret.yaml template file such as following in it: {{- if .Values.sealedSecrets -}} apiVersion: bitnami.com/v1alpha1 kind: SealedS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CircleCI AWS: Angular build fails with ELIFECYCLE I have an AWS S3 bucket to host an angular app. The S3 bucket works fine with AWS CLI. But the build app job in CircleCI fails! NOTE: I can build the app locally and then deploy it to the s3 bucket successfully. S3 has public access, the bucket policy for public read...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Segregate English and Non English Sentences from a Dataframe using Python / Pandas / NLTK I am using CrisisLexT26 dataset for my research project. The dataframe looks something like this: Tweet Text | Informativeness local assistance neighbour boulder flood | Related tourism singapore suffers haze blow | Related est...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My Elastic Search query is not giving results, even though the value exist here are the below queries which are not giving me the results even though the value exists GET /My_index_here/_search { "query": { "bool": { "must": [ { "nested": { "path": "positions", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Always returning true if the stack contains different values I am trying to compare two stacks and returns true if they are same, and if they are false return false. But this function always returns false. public bool Check_Winner() { int[] tower3Array = ui.tower3.ToArray(); int[] tower4Array = ui.tower4.ToA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In Python, Downloading Png and Jpg images I am writing a script to download images from a certain website. The website contains jpg and png images. I was expecting the code to run normally. But the png images are taking a while to download (very slow) while the jpg images are quick. img_data = requests.get(image_url...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: "Argument error" in Python using sqlalchemy I'm trying to fetch data from database using sqlalchemy in but i get the following error sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [Table('params', MetaData(), Column('paramID', Integer(), table=, primary_k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does client app communicate with app installed on server I have a database client that is going to connect with a firebird database on a server. I also have a client application that will make query requests to the database client. I am unsure of how to connect the database client with the client app. This will ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Please help me inprove Iframe Loading Time on my Website I'm experiencing long loading times for an iFrame on my website. It takes several seconds to fully load, which is negatively impacting the user experience. I've tried optimizing the iFrame code and reducing its size, but I'm still not seeing any significant im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: TypeORM one-to-many relation changes the original entity after binding relation I wanted to build a friend request system for my side project and I used Nestjs + TypeORM for the backend. However, every time I attempt to bind a Friend entity to a certain user, the target field of that Friend entity changes from the o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React using vladmandic/face-api but reduce file size of modal ssd_mobilenetv1_model.bin I am using vladmandic/face-api in React applicaiton for face detection. As part of intializing the face-api, have to load modal "ssd_mobilenetv1_model.bin" which is of around 5MB. Looking to reduce the applicaiton loading time w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Report Builder - Pass parameter variables (not hardcoded values) in url to a drillthru report Using Report Builder/Paginated Reports. I have a main report and drillthru report. I want to pass parameter values from the main report to the drillthru report using url. If I hardcode values in the url, it all works. Is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .Net Maui (XAML) Vertical GridView Layout I am very new to Xamarin/.Net Maui development. I am working on a movie app (that's initially going to be targeted to Wide Screens). I am trying to create a Scrollable vertical grid view to show the list of movies similar to the layout below I started with CollectionView b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pushing data to array does not work using javascript i am trying to push a new element to an array and to my surprise it does not work. I have no idea what is wrong here. Below is the code: buildContactsCollection(primaryContact: Card){ if(primaryContact.phones === undefined){ primaryContact.phones = [] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to select rows from csv based on column value and write to another csv in Python I have a csv file (called "infile") that looks like below. if the value in the first column is "student" and the value in the second column is "good", I will write the 3rd and 4th columns of that row into a new file called "outfile...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add color to the last-child .d1 { display: flex; justify-content: space-between; } .d1>div { display: flex; flex-direction: column-reverse; justify-content: flex-end; } .d1>div>span:last-child { color: green; font-size: 30px; } .d1>div>span:nth-child(2n) { color: red; } .d1>div>span:nth-child(2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Should I learn Bootstrap or W3.CSS? I've been looking at both of them and W3.CSS just looks easier to learn than bootstrap. The latter seems that the classes are easier to learn, but for Bootstrap the framework classes look harder to memorize.
{ "language": "en", "url": "https://stackoverflow.com/questions/75633725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HOW TO APPLY OLD ENGLISH FONT IN VSCODE I AM UNABLE TO INCLUDE THE OLD ENGLISH FONT IN THE HEADING OF A WEBSITE I AM CREATING, CAN SOMEONE HELP ME OUT SO THAT I CAN CHANGE THE FONT TO OLD ENGLISH FOR THE HEADING. I TRIED TO CHANGE THE FONT BY CREATING A CSS FILE AND USING THE SELECTORS OF HEADING AND THEN CHANGING T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Pine script: Entering after daily and next 15 min candle is above the moving average 21(SMA 21) I am trying to creating a strategy, * *Trend should be positive *Entering after the daily green candle(80% green) which should be above the Moving average 21(SMA 21) *Also need to check 15min candle also 80% green b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issues with stop-losses in pinescript strategy. Probably a simple problem I'm trying to build my first tradingview strategy, think I'm doing pretty good considering I've been learning about it for less than a week. I'm actually having fun! Of course I've run into a lot of problems figuring it out as I go (and found ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to create date-specific triggers in Azure Synapse Analytics? Experts. I want to create date-specific trigger in Azure Synapse Analytics. But I don't know if I can make that. The trigger requirements I would like to make are as follows. Execution Date(Do not Execute on January,April,July and October.) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: class EmployeeForm(ModelForm): class Meta: model = Employee Fields ='__all__' not working this error throwing django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form EmployeeForm needs updating. not tried any thing else
{ "language": "en", "url": "https://stackoverflow.com/questions/75633736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can a server side function in SvelteKit call the OS or another program (eg Python script)? Using SvelteKit, for some user requests the server needs to make calls to the OS or other programs outside of the space which Sveltekit operates. This can be one of many tasks such as executing a bash script, calling 'ls',...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'ChatForm' object has no attribute 'img' I'm trying create image form field, but it gives an error and is not creating image form field. maybe I'm doing something wrong. It gets message. With messages I have no troubles. models.py from django.db import models def upload_to(instance, filename): return '{filename...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can I take az 400 directly without az 104 or az 204? Certification I am going to take azure az400 certification. Can I take it directly without az104 Or az204 certification
{ "language": "en", "url": "https://stackoverflow.com/questions/75633739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: fixing segmentation fault which part got wrong I am totally new in learning C. When I run the program, there is an error called segmentation fault. I am not sure which part I did wrong and how to fix it . whether dereferencing uninitialized pointer? Also, is there any tools to fix this kind of problem? I have tried...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is causing this basic dhash query VirusTotal API Python sample code to persistently produce 404 errors? New to using VirusTotal API and figuring this out will open the door to much more. I was expecting a dhash value return. The code that follows is persistently resulting the in the following error even with "M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Convert Uppercase to camelCase and Titlecase this till help converting uppercase to camelCase and Titlecase. there are multiple ways of solving this but i found a simple way. A: to Titlecase: function toTitleCase(str: string) { return str.toLowerCase().split(' ').map((el) => el[0].toUpperCase() + el.slice(1)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: I get an error when trying to modify airflow.cfg in composer I'm trying to configure sending emails through smtp, but I need to add a series of parameters in airflow.cfg, but whenever I make the insertions in the modifications tab of the airflow configuration, I always get the error below, I already have full permis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sales Force Pardot Form Styling-CSS The drop down field width in my form seems to be shorter than the other form fields. You can see this here, https://marketing.polarispacific.com/l/1006272/2023-03-03/26msr While I am dropping an iframe into my final website below is the basic code. I am a novice coder and would ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Window mouse message can not fire wile configured with ~WS_BORDER In a WPF applicaiton, creating a native window using User32 API, while configuring the WindowStyle with '~WindowStyles.WS_BORDER', the mouse messages can not be fired in the WndProc handler function. How should I do so that the window has no borders a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: cannot unpack non-iterable NoneType object related to opencv I have written the code below to do following thing import pyautogui import time pyautogui.locateCenterOnScreen('1.png') pyautogui.click('1.png', duration=0.5) time.sleep(1) pyautogui.locateCenterOnScreen('2.png') pyautogui.click('2.png') *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: find the co-ordinate and highlight the required text in image in python I have the photo in which I wanted to get the co-ordinate of text and highlight the text. Text to highlight and get co-ordinate = 'was the age of wisdom' I try to get the co-ordinate by providing the first and last word but didn't get the requi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to achieve video transition by konvaJs? When I want to switch between two videos, there is a transition effect in the middle. The picture is just one of the effects. Is there any way for konvajs to achieve it?
{ "language": "en", "url": "https://stackoverflow.com/questions/75633752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter flutter_inappwebview showing some error in upload file code i embedded my website in flutter app using flutter_inappwebview, now it showing me some error. the endwith and addCrossOriginResourcePolicy(CrossOriginResourcePolicy are underline red. the onFileChooser and also showing error message. i changed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting following error while importing database I am using wprdpress and my website is running well. I have exported database via phpmyadmin. when i am trying to import for other server I am getting this error. Am i making any mistake while importing or I will have to make changes in database?? Not able to imp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: export list of shapely.geometry.polygons as esri shapefile I have a list of shapely polygons, polygons. I want to export them all to an esri shapefile layer. Here is the first feature in the list of polygons: POLYGON ((484 169, 485 169, 485 170, 486 170, 486 171, 487 171, 487 170, 488 170, 488 169, 490 169, 490 170,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does a way exist through jar, manifest... to setup --add-exports, --add-opens directives definitively, to avoid passing them on command line? I encounter a problem that the whole Spark community has: when I switch from Java 11 to 17, Spark (for me the 3.3.2 version) fails with: java.lang.IllegalAccessError: class or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: When login in to django server getting Forbidden (CSRF cookie not set.): /admin/login/ The website is live and its hosted on remote server(aws ec2) but when I try to login to the django admin its giving error. Error while login to django admin I have gone through previous SO post but they didn't help me to fix: * ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Run-time error '9' Subscript out of range i am getting an error when i press my cmdbutton, When i debug it it highlights arr(nr, i) = arr(r, i) this is my code Private Sub CommandButton1_Click() Dim r%, nr%, arr, lr&, i% arr = Worksheets("DROP").Range("L4:T100") For r = 1 To UBound(arr) If arr(r, 1)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can we normalize an image with CMYK color scheme? This is the code I got in my course, which takes grayscale images from MNIST and normalizes them. from torchvision import datasets, transforms # Difine a transform to normalize the data transform = transforms.Compose([transforms.ToTensor(), transforms.Normalize((0.5)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java Stream : How to get count of records by type? In a Spring Boot app, I have 2 entities related to each other as shown below: class Product { private int id; private int typeId; private String name; } class Type { private int id; private String name; } I need to retrieve count of the prod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to Add Item Toolbar In ReportView C# After printing in the report, I want to update the data of a table with column 'Print' to 'Y', otherwise print 'N'. After printing in the report, I want to update the data of a table with column 'Print' to 'Y', otherwise print 'N'.
{ "language": "en", "url": "https://stackoverflow.com/questions/75633770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter Firebase Phone Auth .apk Missing valid app identifier, neither SafetyNet nor reCAPTCHA checks succeed currently using Firebase Phone Number Auth, worked well in debug mode in pc, including iPhone and android emulator. when I "flutter build apk" and put it into my smartphone, the apps prompt "Missing valid ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having issue on builder.ai project Pre-Certification Checklist Analysis Pre-Certification Checklist Analysis enter image description here all check are passed but i having a warring witch i am not able to resolve is there any way to resolve it Also i am having zero coverage of spec on SonarQube while 100% on local m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In javascript, is there some special function for '<'' and '>' characters in a string? var str = "<John> Doe"; alert(str); //and it just displays " Doe" It seems the '<' and '>' characters around "John" make it disappear.
{ "language": "en", "url": "https://stackoverflow.com/questions/75633776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to fix this KeyError? KeyError: 'PID' (Python language) enter image description here The "PID" is in the DataFrame tbh. The screen capture shows the problem and my code lines. I tried to restart my kernel, but the error still occurred... > - < ‍ A: Instead of using df.apply(get_party), just use df.PID.apply(get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use RegEx in Notepad++ to remove multiple lines from files Wondering how to write a regex in Notepad++ to eliminate the following lines of text from a file. <div class="navigation"> <div class="alignleft">&laquo; <a href="/2008/11/28/107/" rel="prev">Subject Matter for Consideration</a> </div> <div cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Mvc web application I have a small mvc application with login and other pages . My problem is if run my application from controller code iam not getting output but if run from view page iam getting output, how can I solve this problem I need the output when I run application from controller page aslo
{ "language": "en", "url": "https://stackoverflow.com/questions/75633783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is it ok to expose objects from third-party package in my own package? I am building a flutter package that consumes a few packages internally, such as the Markdown package. I want to take in as input the markdown data into a widget that will render it, something like this: class MyMarkdownWidget { final String ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with LangChain and OpenAI - Unstoppable UnicodeEncodeError I've been scouring the web for hours and can't seem to fix this, even when I manually re-encode the text.txt as utf-8 or change its contents. My code is super simple. Running it in codespaces using langchain and openai: from langchain.document_loaders...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to play 5 videos in row on button press using exoplayer ConcatenatingMediaSource I am trying to implement exoplayer on button click will play next video in concate list but it only play the first video but not the other four what i am doing wrong next_button.setOnClickListener(v -> { releaseP...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CKAN not loading resource view I'm currently working on a python script to perform CRUD operations with datasets and resources using the CKAN API: https://docs.ckan.org/en/2.9/api/index.html#making-an-api-request. I'm able to create databases and also upload resources (eg a csv file) into a database. However, when I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multi Checkbox are not getting checked I'm working on the simple bootstrap table and I'm using checkboxes like this. The checked values are saved in the state but the checkbox is still unchecked thats my issue. Now when I click on the checkbox I'm sorting the values in a state, but the issue I am facing is when I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why jotai atom is not correctly updated inside the return block of Nextjs application? This is the _app.tsx file export default function App({ Component, pageProps }: AppProps) { return ( <SessionProvider session={pageProps.session}> <JotaiProvider> <Component {...pageProps} /> </JotaiProvider> </...
{ "language": "en", "url": "https://stackoverflow.com/questions/75633804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }