text
string
meta
dict
Q: Change keyboard layout in RStudio I just downloaded RStudio for Linux (on WSL). The program forces me to use the US keyboard layout despite the fact that my keyboard has the Italian layout. How can I fix this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75615895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing in multiple arguments to a pthread For the pthreads library, would it be better to use structs or bit fields to pass in arguments to a thread? I want to use less memory in my program when passing arguments to the function. #include <pthread.h> #include <stdio.h> #include <stdint.h> #include <stdbool.h> #defi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: [Guice/ErrorInCustomProvider]: NoSuchMethodError: 'void ConstructorConstructor.(Map)' at GsonModule.provideGson(GsonModule.java:99) I have a Spring Boot project which uses jClouds and has 2 classes as shown below: @Configuration public class S3Config { @Value("${amazon.s3.access-key}") private String accessKey;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Blazor DropdDown menu item click event handling I created a dropdown component.I don't use javascript in this component. When user clicks on dropdown, dropdownmenu shows. I have to do delay to catch click event of the menu items(Counter and Fetch Data in image). If I remove delay, then blur or focusout events run be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change loading logo in Flet? I am new to the Flet framework. I have noticed that while running some small apps, I see the Flet logo in the middle of the screen being animated while stuff is being loaded in the background. I want to know whether the logo can be changed and whether I can add some custom animati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kubernetes : Cannot assign requested address (Address not available) We are running kubernetes cluster(on centos vm) with version 1.18 with 3 Master nodes and 5 Worker nodes. We have deployed spring boot application(A,B) on it with multiple replicas and we have exposed applications as a NodePort service to access it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Set time zone programatically in query in postgres I've got a query which holds data about a 'group' where each row has a timestamp with timezone ~(so utc). Each group belongs to a building which has the timezone for which that building belongs to. Data example is as follows: id timestamp value building_id 5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access-Control-Allow-Origin wrong when using Flask-CORS with nginx reverse proxy I've noticed a weird issue when accessing my site (https://blogtheworld.co): calls to the API are successful, but the value returned in the Access-Control-Allow-Origin header is wrong (it is always set to http://localhost:3000). My back...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: read json file from FTP I am working with some codes to be able to get data from json file and upload data to html table. Works perfectly with this code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: kotlin: debugging a run of same function with 2 set of parameters command by command I'm looking for a good way to compare the run of a (pure) function with 2 sets of arguments in parallel. for instance fun test1(i: Int) : Int { var res = i*2 res /= 3 return res+1 } I want to debug: test1(1) test1(0) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: % label in ggplat stacked bar plot I have a dataframe with the number of male and female per category. I made the following stacked bar plot : Except I cannot manage to add % value for each gender in each barplot's category. Here's my dataset : Gender <- c("F", "M", "M", "M", "M","F","M","M","F","M") Cat <- c("Cat1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: web3.eth.getAccounts() Uncaught Error: CONNECTION ERROR: Couldn't connect to node http://127.0.0.1:8545 I'm trying to use web3.eth in interactive command line with node. I'm running my ganache local client on http://127.0.0.1:8545 (basic port). I run node and after : > const Web3 = require('web3'); > const URL = "ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Authenticating Service Principle of Another company I have a python script running in company-A. It users service priniciple SPN-A created in active directory company-A in python SDK .(client_id,client_secret,tenent_id and subscription_id). Script is simply reading tags of VM,disks,vnets etc (using reader role assig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Doesn't work the method .attr(). JS. What's the problem? I don't know why, but in this case "attr" doesn't work. I've connected jQuery so that's not the problem. I think the problem has to do with that we get the div not with $(""). Because if I use divs.attr(..) it works. $(function(){ let divs = $("div"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Design pattern Laravel | Relationsh Eloquent ORM What are some real-world examples of using the Facade design pattern in a project, and how did it simplify the implementation or improve the overall structure and maintainability of the code? +--------------+ | Person | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Runtime Error: member access within null pointer of type 'TreeNode'. UndefinedBehaviorSanitizer: /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to fire on Mouse Button? I'm trying to do my first platformer at Unity. And have some problem with projectile. I found a tutorial, how create a projectile moving, but without trigger on Fire button. It is possible to change this script for firing on button? I tried to make it with if statement, but then projecti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ThreeJS: How to return the direction left/right for a object3D to other vector3 I simple want to determine if the path goes left or right if the angle is steep enough. I tried to apply the rotation or quaternion to face starting Vector3 in the right direction. But im probably using it wrong... if (nextPoint) { le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Janusgraph replication-factor not propogated to cassandra My janusgraph setup has replication-factor of 1 which I want to change to 3. I tried to change the replication-factor with Management API of janusgraph using mgmt.set("storage.cassandra.replication-factor", 3), now everytime I connect to my Janusgraph, when I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why can't the picture of my website be displayed? My website runs on the Nginx server. The page you see is edited by markdown and generated by the web template generation engine hexo,Console error:Failed to load resource: the server responded with a status of 404. my website I wonder if the Nginx configuration file ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Deployment in Websphere(IBM) for Spring Boot application We are trying to deploy a Java 8 Spring boot application using Spring data Jpa into an IBM WebSphere version 8.5.5.21 server. The application runs fine in Local, but we cannot get it running in WebSphere while deployment. This is what I'm getting an error whil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix i18next::translator: missingKey en error in React native? I am creating a react native application for Android. I want to do language translation using i18next. I get the following error when I deploy my app LOG i18next::translator: missingKey en translation hello hello LOG i18next::translator: missin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Map foreign key in EF Core I've been looking around for a long time trying to figure this one out. Take the following example (note that classes and tables shown below are stripped down for simplicity): public class UserAccount { public Guid Id { get; set; } public string Username { get; set; } public s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: { "error": "invalid grant" } Getting these error on postman can anyone tell how to solves these { "error": "invalid grant" } getting error can anyone tell me how to solve these onclick of send button I want access token and refresh token
{ "language": "en", "url": "https://stackoverflow.com/questions/75615933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to prevent a FlatList from re-rendering when state changes in react native I have a FlatList in my code that re-renders each time I make a state change (setMatchIndex state). I need it to not re-render, and I've tried memo, and useCallback, but can't figure out the problem. Please assist Here's my code: const Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: merging dataframes without losing the index values I have two pandas dataframes: The first one contains reviews with different words as below : import pandas as pd df = pd.DataFrame({ "review_num": [2,2,2,1,1,1,1,1,3,3], "review": ["The second review","The second review","The second review", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run docker login for several registries in Jenkins agent docker section I have an issue with Jenkins pipeline and Docker. Pipeline is configured the following way: * *It chooses agent with Docker *It runs a container with maven and additional arguments. Image is taken from docker_custom_registry_1. *Inside the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: any and not any function i'm currently trying to learn python. I had some queries while i was attempting this question. Write a program that asks the user to enter a password, and then checks if the password meets certain criteria (e.g. at least 8 characters, contains both uppercase and lowercase letters, etc.). If ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am now reading tags from XML how do i read from multiple arrays Ok i have it reading XML: <?xml version="1.0" encoding="utf-8"?> <PLAYER name="RadioBOSS" version="6.2.4.2"> <TRACK ARTIST="Ivy" TITLE="While We&#39;re In Love" ALBUM="Long Distance" YEAR="2001" GENRE="Lush; Indie Rock; Indie Pop;" COMMENT="http://mp3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Project build failed with Java Unit test failed Follow is my unit test class. I am trying build it with gradle. But getting an error while tried to build. @RunWith(MockitoJUnitRunner.class) @SpringBootTest class UtilTest { @InjectMocks private Util util; @Mock private DataSource dataSource; @T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to create datadog spans for each python function in a project without manually instrumenting them? This one is a bit open ended, but I'd like to automatically add datadog spans to my request traces for a fastapi/python application. Currently this is being done manually one function at a time with dd_t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a query that uses string_split Scenario: Create a query that will output the LegID and the CarriCode where in the MCode should matched on the 3rd table. I am using string_split to individually check if the MCode is existing in the 3rd table Sample table and data can be found here: http://sqlfiddle.com/#!18/f8...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I sort the items in dynamic created selection / option box in jquery or javascript I am working on a private project, I have managed to create a combo listboxes that can add items from listboxA to go listboxB and from b to a, but I want the items in both list box to be ordered alphabetically whenever I add o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When should we use Optimal Cache Replacement? Im studying myself about Computer Organization, I did read all common Cache Replacement Policies but I dont know exactly when they must be used. Specifically, I dont know when the Optimal Cache Replacement must be used but not LRU or something like that and is Optimal Re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSS: How can I make the width of a div match a sibling that has flex-wrap set to wrap I have two sibling divs within the same container, the second wrap contains cards of a fixed size, with a fixed gap and has flex-wrap set. I want the first div to match the width of the content of the second. I can get it to matc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I solve this unknown error from symfony or webpack : [webpack-cli] If you have the possibility to help me because I am stuck on an error that I have never seen and I have no idea how to solve it. I've been at it for over two days. I don't know if it's from Symfony, node or another file. [webpack-cli] Failed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting output from print into string that can be later in the same script I want to convert the text from the screenshot to a string that can later be send in the body of the email. I'm pretty new to programming and I have no idea if it's possible. Thanks in advance to anyone that has any suggestions. pic = pysc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SwiftUI Oauth custom URL type needed? I've been searching information about using OAuth 2.0 with SwiftUI and I've found this useful example from kodeko.com (the old raywenderlich.com): https://www.kodeco.com/19364429-implementing-oauth-with-aswebauthenticationsession Diving into the example I've seen that it doesn't...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Google OAuth2Client for multiple apps I'm developing a white-label app solution and I need to create a Firebase project for each project. When creating a new Firebase project, it automatically creates OAuth 2.0-Client-IDs for Android and iOS. As all apps have the same backend and also the same authenticat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert string value to number in playwright automation? How to change string value extracted from UI into number? I have to perform Math.round() function on. Since Math.round() function only works on integers. let GE_UI = await this.iGetAtrribute(MyproSelectors.ID_Overridepage, "value"); var GE = Math.round...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Conditions must be true going continuing I have part of a script that i can't figure out. I want the script to check if the app is running. I set parameter to check for the app using a function. SO in my test i would like to see if the app is running it would return with a 0 and complete my IF statement, and if if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: there was problem with web authentication I have tried using this command in WSL gcloud auth login Getting this error please anyone help!! Error:There was a problem with web authentication Error:(gcloud.auth.login) Could not reach the login server. A potential cause of this could be because you are behind a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gtk file not found, [fatal error: gtk/gtk.h: No such file or directory #include ] on VS Code, Windows 10 I am experiencing the error below error when running a code with #include <gtk/gtk.h> PS C:\Users\UserName\C_Code Projects\Test> gcc hello.c -o hello hello.c:1:21: fatal error: gtk/gtk.h: No such file or director...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hello, I am putting a historical line chart in a tkinter window but get the following error import tkinter as Tk from tkinter import Canvas # from tkinter import FigureCanvasTkAgg from ibapi.client import EClient from ibapi.wrapper import EWrapper from ibapi.contract import Contract import matplotlib.pyplot as plt i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75615997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to migrate from Xamarin Forms to .NET MAUI a library that uses Xamarin Essentials SecureStorage I have an app written in Xamarin Forms that I want to migrate to .NET MAUI. This app references a library project I have written that uses Xamarin Essentials SecureStorage. Therefore, this project imports the NuGet Xa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem occurred when upgrading Spring Boot to 3.0.3 from 2.7.8 Tried to upgrade to Spring Boot 3.0.3 from 2.7.8 and when i press "Load Gradle Changes" got this error : A problem occurred configuring project ':nc-application:nc-application-web-plugin:nc-application-runtime'. Task with name 'bootRunMainClassName' no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we see Actions triggered after a pull request is merged in the PR page in Github? I know that we can have Github Actions set to trigger after a pull request is merged. However, I am interested in seeing what are the actions triggered due to this particular PR and ideally I want to see it in the same page after I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to handle a path's subdirectory if a subpath is not found? I've just started learning react. I am doing a sample program about react routing. Here is my codes: import React from "react"; import { createRoot } from "react-dom/client"; import { BrowserRouter, Routes, Route } from "react-router-dom"; import SignUp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: at com.fasterxml.jackson.core.util.InternCache.intern(InternCache.java:54) in blocked state Before reaching the controller layer, threads are going in blocked state at com.fasterxml.jackson.core.util.InternCache.intern(InternCache.java:54) under high throughput conditions. Attaching the threaddump below. What should...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform, Apache, PHP and Wordpress I am trying to setup an autoscale group in AWS which will run Wordpress and will be connected to MySQL. I have trouble running the PHP service - when I try to access through "publicIP/wp-admin/install.php" it says that PHP is not running: Error: PHP is not running WordPress requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: WCF Service Error - The security check for the received data was not successful On a particular client when trying to call a WCF Service endpoint I get the following error: The security check for the received data was not successful. An unsecured error was received on a secure channel. A required security header wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CORS issue between frontend and backend instance I have built a test project that has a simple api where the front end interacts with the backend and receives a string back. I built this project to test how I would host this on aws ec2 instances. What I have done so far is, built images for the frontend and the back...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use select statement to query only negative value in oracle sql table_a billno desc qty amount 10324 orange -1 -1.00 10324 apple 1 3.00 10324 papaya 1 2.00 10431 water melon 1 2.00 10431 kiwi 1 3.00 10233 banana ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I do duplex streaming with .NET 6 GRPC services? I want to duplex stream with .NET 6 grpc services. The client should work like a server and the server should work like a client. Actually, I want to make a callback service where I can run methods with duplex channel. Bidirectional streaming is not suitable f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616020", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: pexpect password entry from tkinter dialog I am calling pexpect with a sudo command thus: lssubproc = pexpect.spawn('sudo ls /dev/') The pexpect process expects a password thus: lssubproc.expect('\[sudo\] password for .*\: ') Is there any way to redirect the password I get from my tkinter dialog box (below) to the p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Bluetooth Connection Exception On Java I want to make a bluetooth connection. I can scan but cannot pair devices. I get an error like this "read failed, socket might closed or timeout". It is written in other titles to use "createRfcommSocketToServiceRecord" instead of "createInsecureRfcommSocketToServiceRecord". Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get rid of this error in opencv-python? qt.qpa.xcb: could not connect to display. Available platform plugins are: xcb I am using OpenCV library in python to create a binary image and show it directly to the user. Here is the function: def binarize_image(filename, seconds): img = cv2.imread(filename) g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why I have to pick types in child component? I have these types and an interface: export type Plan = 'arcade' | 'advanced' | 'pro' export type PlanDuration = 'monthly' | 'yearly' export type AddOn = 'onlineService' | 'largerStorage' | 'customizableProfile' export type AddOns = Record<AddOn, boolean> export interfac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want to show the Loading data component on the first load and not to show it on next loads after the first one I have a billing information page, when I enter it, the function asyinc fetch is called that calls getBillingInformations() function, it loads the data and displays in the table. While that data for the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: react useEffect call twice i'm developing an api with express.js and for authentication system i used from jwt library and refresh and access token. everything work when i test my code with jest and supertest and test it with postman. in front end i use react, and i save refresh token in cookie (httpOnly) and save u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: sequentially light the LEDs clockwise with an interval of 0.5 seconds assembler I can't figure out how to write the code in Assembler to get the desired result: sequentially light the LEDs clockwise with an interval of 0.5 seconds Assembler is not my strong point, I have a rough idea how to write this cide in C, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add new dependencies to a project for the next developer? I'm working on an existing project made with react where before you can run the website, you have to execute npm install. For what i understood, inside package.json there is everything your website needs to be right to go. Any dependencies, library ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Spring Boot gradle build bootBuildImage. How to exclude test properties from image In my SpringBoot project I have application-prod.properties application-test.properties With the corresponding settings I build the image using ./gradlew bootBuildImage In the image I have both properties, so I can for example use d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EAS BUILD fails on EXPO sdk47 and sdk48 Locally works fine, but when I try the build on a managed EXPO project on android it fails on Gradle as in the picture bellow: On SDK46 it builds fine.
{ "language": "en", "url": "https://stackoverflow.com/questions/75616044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how i can improve my binary classification model with CNN This is a binary classification (minor or adult) This is how I separated the data: (trainX, testX, trainY, testY) = train_test_split(data, labels, test_size=0.2, random_state=42) Model definition # définition...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Some data seem to be missing when I upload the csv file to Jupyter Notebook Thank you for clicking in here and take a look at my problem. So I was trying to upload a csv file (1.31 MB) to JupyterLite. (what it looks like on my comupter) When I open it locally with Excel, it shows that there are 2000 rows of data. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenAI ChatGPT (gpt-3.5-turbo) API error 400: "Unexpected response code 400 for https://api.openai.com/v1/completions" I have an android application where I'm currently using chat gpt 3.0 for completions and it works fine. Now after they released chat gpt 3.5 turbo, I made few changes based on their request example ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regular Expression for Swagger3 in java. Allowed string with comma separated value I was trying to write regular expression for string variable in swagger3(OAS). The string can have multiple comma separated string. Each string's length can be between 5 and 15 and each character in a string can be either a-z or A-Z o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter - Get Product details API integration using GetX I'm trying to connect the API to the UI in a flutter. I created Json class and product controls. When I try to create the product list view, I get the below errors. Error lines: 1. itemCount: productController.productList.length, 2. productController.productLi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongooseError: Model.findOne() no longer accepts a callback app.get("/posts/:postId", function(req, res){ const requestedPostId = req.params.postId; Post.findOne({_id: requestedPostId}, function(err, post){ res.render("post", { title: post.title, content: post.content }); }); }); This ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: sort list based on dictionary values even with missing keys I am trying to sort a list based on dictionary values. The only problem is that if a list contains something that doesn't exist in the dictionary it wont sort it. here is what I have d = { "hello0" : 0, "hello1" : 1, "hello2" : 2, "hello3" :...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How does text for HLLs appear on the screen? What translates the letters into pixels? Which hardware knows how to use the patterns for them? And if you didn't have C or another human language, how would you tell a system to generate text on a screen after working out the specifics of the language you want to create ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the proper way to return data using HTTP-API(v2) + Lambda + DynamoDB as a JSON response? I used to use the REST API, but since v2 I find myself using it more. Is there a proper way to return data "neatly" other than manipulating the database response before returning? I used to use the model feature with RES...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix react-native token getting issue? I'm trying to send notifications via firebase with react-native. It's fine when sending locally, but getting this error when starting to receive tokens. My RN version: 0.69 .... import PushNotificationIOS from "@react-native-community/push-notification-ios"; import PushNo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring cloud config server connection to Bitbucket using SSH keys gives No more authentication methods available error I am trying to create a spring cloud config server to connect to git repository(bitbucket) using an SSH URI. I am following Spring Cloud Config. I generated key pair using the command ssh-keygen -m ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Boost graphviz read all properties When loading a .dot file I want to read all properties without defining them before. In the code snippet below I don't want to specify to read weight for example. Other datasets have other properties and I don't want to keep adding those as variables to structs. boost::dynamic_prop...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: jupyterlab-myst: how to automatically popup tooltip when hovering over the footnote label? I am using jupyterlab-myst, a really cool extension. The Footnotes section in MyST documentation has some examples. When I hover over the footnote label, the footnote definition together with the label automatically popup, li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking for Mapbox developer to help integrate a third party API into a base map We are installing a number of timelapse cameras and would like to integrate their locations into a Mapbox interface. The requirements are as follows: * *location of each camera appears on the map, showing the direction the camera is f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to account for blank value in excel? I am trying to have excel notify me if its been 30 days after a certain date. The problem is if the date column is empty the Excel function is returning "No" (The false output in my logic test), instead of a blank. This is the forumla I used. =IF(R5<=30, "Yes", IF(R5>30, "No"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saving div contents by overwriting an existing file In a Windows environment, the following javascript function saves the contents of "mydiv" to "myfile.html" function Save() { var a = document.body.appendChild(document.createElement("a")); a.download = "myfile.html"; a.href = "data:text/html," + docume...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to install gss-ntlmssp with yum? We have the requirement to install gss-ntlmssp using yum .I also tried to insatll the prerequisites as mentioned in the online channel but it does not help out either . I tried to run the command : RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: this is a question for the expert css about Iframe hieght I created a page with 2 cases the first is the then I have iframe that calls the link like here: I want this iframe to take the rest of the height without using JS, just CSS . here is the body code : <body> <header> <div class="header-titles"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a way to display the previous version of application's version ID before installation begin I am creating the *.msi installer package using the Visual Studio "Set up" project using VS 2022. I have a particular requirement to identify the previous version of the installed application's "version ID" (which is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AddNoOverlap2D takes no arguments? i have a python plugin i'm trying to write some parts of in C# but adding no overlap 2D seems to confuse me. in python it takes model.AddNoOverlap2D(x_intervals,y_intervals) in C# i tried but the function takes no arguments? so tried to run it over? var help = model.AddNoOverlap2D...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python dict key is auto-converting to byte object? I am trying to interact with an API. I put my token into key but python auto convert str to byte object. Target Function: def spam_event(channel_id, auth_token, message, delay): print(auth_token) print(type(a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Agualar Ts Ejs-diagram in syncfusion Iam unable to change shape of image to round. enter image description here border-radius is not working. code.---> let image: ImageElement = new ImageElement(); image.margin = { left: 5, right: 8, top: 1, bottom: 1 }; image.id = obj.id; image.width = 70; image image.hei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Draw rectangle on UIImage after rotating with respect to given center I want to draw a rotated rectangle on a UIImage where rotation will be based on a given center. My concept is to select starting coordinate of the rectangle first, then calculate the new coordinate of the point after rotation based on the center, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to backup graphite database? It's running using Docker, and what I need is to back up the accumulated data and use it on another computer. I don't know where the data is recorded and which files should be backed up.
{ "language": "en", "url": "https://stackoverflow.com/questions/75616092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to use Camel blueprint with ActiveMQ in Karaf I tried to write a blueprint below but it doesn't work. Please assist, what's wrong with it? My configuration also below: Karaf 4.4.3 Camel 3.20.2 ActiveMQ 5.16.6 <?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Periodic tasks in Django are not called I use django_crontab to periodically call my tasks. The problem is that periodic tasks are not called. I created a test function that sends me a message and I can understand that the task is done: def test_crj(): send_message("Test cronjobs!") I set it to run once every f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to avoid doing checkpoint during savepoint I got a question about manually taking savepoint. I take a savepoint while my flink application is running. During the savepoint is being taken,the application continues to run and one or many new checkpoints will be created. And new data will be sinked to the outside s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract date using REGEXEXTRACT by using Google SHeets formula I have a sheet https://docs.google.com/spreadsheets/d/1R_Sh72JBsJJvspUumLR-96IGsT84JxFI5WHdr2kc8H4/copy I would like to extract date as YYYY-MM-DD HH:MM:SS and also as DD/MM/YYYY HH:MM:SS I have tried with =REGEXEXTRACT(A2,":?(^[0-9]+)/") A: You may t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is causing my Arduino IDE not to start? after installing Arduino IDE I tried to start the app but but it won't . I only see the logo in the center of the window. I'm on Windows 10 and Arduino IDE 2.0.5. I opened PowerShell in the Arduino IDE installation folder in Windows Explorer. Then I executed with this com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get column value with max date Id MRSL Effective_date 1 inward 2022-02-10 2 outward 2022-02-09 3 outward 2022-02-09 4 hold 2023-02-09 5 inward 2021-02-08 6 hold 2022-02-08 I'm selecting data from this table like select Id,MRSL,Effective_date from table I want to select MRSL which has max date ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Azure Media Player displays caption names incorrectly I add two captions (English and Japanese) to the asset. However, the Azure Media Player shows caption names incorrectly. The caption popup showed IMSC1 instead of English and Japanese. https://i.stack.imgur.com/iw0ac.png How I can show the caption names for Engl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I select columns that have the same value in a specified number of rows in R? I have a dataframe that contains the following 8 values: 0, 1, 2, 3, 4, 5, ?, and -. The values from 0 to 5 are characters and not numeric. For certain rows, I want to know what column values they have in common. In the data frame b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MERN application deployed separately, refresh of browser URL reloads the base route not the refreshed route I have a MERN app (Mongo, Express, React Node). The React app is deployed on Firebase where as the Node, Express back-end is deployed on Heroku In React when refreshing it re-directs to the base URL. You can n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can PHP 8 Enum be passed as function argument? I have a Enum that implements a given interface: namespace App\Model; use Symfony\Contracts\Translation\TranslatableInterface; use Symfony\Contracts\Translation\TranslatorInterface; enum UserRole: string implements TranslatableInterface { case User = 'ROLE_USER'; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Are there any Drawbacks of using nunjucks include for js and css files? Nunjucks allows passing functions in the render function or by adding them to global env. On the other hand the {% include %} tag allows anything "as long as the expression evaluates to a string or a compiled Template object", so you might inclu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent `formset_factory` from generating an initial form? Given the following form: class MyForm(forms.Form): my_field = forms.CharField( max_length=255, widget=forms.TextInput( attrs={'placeholder': 'My field', 'class': 'form-control'} ), label='', ) When...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }