text
string
meta
dict
Q: std::variant in "variables or watch" window in VS Code while debugging I'm trying to debug my code in Visual Studio Code, but I run into an issues when trying to inspect an std::variant. The "VARIABLES or WATCH" window just shows me: variable_name: {...}. There is a dropdown arrow, but if I press it nothing shows up...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I combine the above two steps in one using loop I was doing this: # poLCA library(poLCA) data("carcinoma") # save LCA modle index for different k class gc.AIC <- data.frame() gc.BIC <- data.frame() f <- cbind(A, B, C ,D ,E, F, G) ~ 1 for (i in 2:4) { lc <- poLCA(f, carcinoma, nclass = i) gc.AIC<- rb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to retrieve individual parts of multipart/form-data request body in Apache Camel framework? I have defined the following RouteBuilder in Apache Camel framework: @RequiredArgsConstructor @Component public class FilesRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Delta Lake vs Databricks Delta Lake I wanna know difference between Databricks Delta Lake and Delta Lake. Any key features listed while using Databricks Delta lake A: Most of the functionality that previously was available only on Databricks (Data Skipping, ZOrder, ...) is in the open source Delta since the last ye...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: I want to display urdu text on image using python from PIL import Image, ImageFont, ImageDraw from matplotlib import pyplot as plt import numpy as np import cv2 text_string = u'تصوير' img = Image.new('RGB', (200, 150)) draw = ImageDraw.Draw(img) font = ImageFont.truetype('C:\\Windows\\Nafees Nastaleeq Urdu Font\\...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: how to add order tag in admin side when order create trigger apply in shopify when order create webhook call then add order tag in admin order side. but this not work. set graphql add order tag code in webhook file. but is not work. $gql_query = array("query" => ' mutation tagsAdd { tagsAdd(id: "gid://shopify/Or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Ramda's sortBy function to sort an array of objects based on a nested property I am practicing ramda.I have an array of objects that have a nested property children. I want to sort the array based on which object has the most children using Ramda's sortBy function. Here's an example array: [ { "na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Troubling to open macro enabled file Using MS excel URI scheme I am trying to open macro enabled excel file by MS-excel scheme using JavaScript but the file format is opening in the notepad with save option. js code function OpenMasterExcel(id) { var File = { ID: id }; $.get("/Home/MasterExcelOpen", File,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Possible null reference argument for parameter 'connectionString' ind 'DbContextOptionsBuilder' I am working on a .NET ASP CORE application with a SSMS (SQL Server Management Studio) database. I added my DatabaseContext to the IServicecollection in the startup.cs file like this services.AddDbContext<DatabaseContext>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Weird type inference in Typescript I try to write the type for payload based on the current key from the index signature. The definition works as I expected but when I use it, the type of payload is inferred as never. I don't know why. My type definitions: export interface InitCreateServerStateType { instanceOptio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to declare reference resource in terraform I'm creating ALB and listeners. Trying to attach load_balancer_arn in same module. Here is my code: less modules/alb/alb.tf resource "aws_lb" "alb" { name = var.customer_env internal = false load_balancer_type = "application" security_gro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to find location of nans in a matrix in matlab? I have a very large matrix. I need to find locations of nans (not a number) in the matrix. for example if there exists a nan in row=2 and column=5, It must give me the answer (2,5) what do I have to do? I searched a lot. there were answers to " how to know if any n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stream detect.py script in another device using rtsp in yolov5 I want to stream the detect.py script yolov5 in another device using rtsp (ffmpeg) for example, when i execute detect.py in cmd using webcam as an input then the live viewing also can stream in another device. python detect.py --source 0 --weights yolov5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The caller does not have permission to execute the specified operation firestore permission denied Authentication.dart import 'package:firebase_auth/firebase_auth.dart'; import 'package:loginfirebase/DatabaseManager/DatabaseManager.dart'; class AuthenticationServices { final FirebaseAuth _auth = FirebaseAuth.inst...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Vitest: can't fetch a local file I'm trying to get a test for fetching a local file. I've got a YAML configuration file. In production, the name of the file could be changed. The filename comes over the web socket. In production, it works, but I want to test the code with a dummy file. The problem is this error mess...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R: Subtracting a Subgraph from a Graph I have the following network graph: # Set the seed for reproducibility set.seed(123) # Generate a vector of ID's from 1 to 100 ids <- 1:100 # Initialize an empty data frame to store the "from" and "to" values edges <- data.frame(from=integer(), to=integer(), stringsAsFactors=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Backing your KVM guests with HugePages I am new to KVM. I came across this term "Memory Backing" which is used to improve the performance of memory management if I'm not wrong. Since them I have been trying to implement it to my KVM guests. I decided to go with the third option which is "HugePages". After going thro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fastapi-RuntimeError: attached to a different loop I use fastapi to do async work with BackgroundTasks in a post request to run a heavy task. And I have a get request to check the status of the heavy task. from fastapi import BackgroundTasks @router.post("/upload") async def upload(background_tasks: BackgroundTasks...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python script execution during Azure ADB cluster bootup From Azure ADB Cluster, once before Cluster boot-up is done, I need to execute one Python script every time, How can we achieve this? Every time during Cluster launch, python script should be executed by default. Any such kind of option is available please help...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way by which I can handle the report data in powerbi based on user's role in a react application? Need to find a solution by which data in powerbi report is displayed absed on user's role in react app, RLS is handled in powerbi but is there any other way? I tried implementing RLS(Row Level Security) in po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Use QUERY Function to Count Unique Data Points Using Google Sheets for this on a Mac Both columns A and B are text data and not numerical data. Column A consists of associate names and Column B is the customers. There are hundreds of different customers and I am trying to count how many unique customers there are fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Managing scheduled functions with threading in Python script I have to set up a Python script which should be always up & running and should be responsible to call several functions at determined schedules. I was considering the following approach, which leverages the libraries pycron and threading, assuming that fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to get SessionRepository while integrating Spring Session using JDBC with Grails3 I am unable to integrate Spring Session with Grails-3.3.15 application using JDBC to persist HttpSession in PostgreSQL db. I get BeanCreationException upon startup of the application. Background: I referred to official guide her...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error: P1001: Can't reach database server It seems to me that I have already tried all possible solutions to this error, but nothing helps. What am I doing wrong to connect the database? I tested the connection via vs code extensions and everything works great. Connection url for Prisma DATABASE_URL=postgresql://pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can not upload image with FormData I trying to upload image by post request using FormData but not working. Here is the issue This is my code in Profile.jsx, bacsically is a function that choose image from directory and after that will send file to updateCurrentUserAvatar and post file when click button Submit impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: right side black space I am actually trying for mobile responsive but whenever I am trying for less than 639px then the right side black screen is coming and the black space goes on increasing as I reduce the screen size but I don't want that space I want my screen should look full and proper. The whole code I have ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SpringBoot Request Mapping not working as expected I am new to spring boot and trying to make a starter application ran into this issue, the code is simple: @RestController public class MovieController { @RequestMapping("/") public String allMovies(){ return "All Movies"; } } I would expect this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find a value in the certain date based on update record column Table looks like this: id Product Price price_update_date 1 Product 21.99 2022-11-09 6:32:11 2 Product 22.99 2022-09-27 9:06:14 3 Product 19.99 2022-07-10 6:27:49 4 Product 18.99 2022-05-24 7:31:20 5 Product 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get label for value from datatable As I don't even know where to start I hope one of you guys ever had something similar to solve. I have a function which gets the val of an input field. $(document).ready(function() { $('.rating_label').click(function() { alert($('.rating_input').val()); }); }); So far so good....
{ "language": "en", "url": "https://stackoverflow.com/questions/75588969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: geofence_flutter Bad State Stream has already been listened to I'm using geofence_flutter: ^2.0.0 for geofencing. Everything working fine, but when I'm trying to stop and start its giving error. My Code locatoinPunch(){ await Geofence.startGeofenceService( pointedLatitude: locLat, pointedLongitude: locLon,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Proper iOS DispatchQueue usage? I'm trying to extend the Landmark SwiftUI Tutorials to persist data. The code I added getDataFromFileURL draw inspiration from Persisting data tutorial. I expect for the first time, the json files won't exist in the user document directory, and the program will get data from bundle vi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Convert Tab CSV to XLSX file in ssconvert or any other option How to Convert Tab CSV to XLSX file?
{ "language": "en", "url": "https://stackoverflow.com/questions/75588976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add string to a specific value? Pyspark Col1 Col2 NewCol1 Ora 1234 300/1234 Ora 0123 300/0123 APP 0005 100/0005 Ora 7778 300/7778 APP 9999 100/9999 If I want to create a new Col with the number from Col 2 depending on the Col 1 Values. How can I do this? * *If it's ORA, then add 300|with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: disable pagination if data less then number in codeigniter 3 i want to disable pagination if data less then 5. i have tried many solution in internet, but i dont know pagination still appeared. the data in database just 2. here's my controller public function index(){ //$data['result'] = $this->MTransaksi->g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Authentication Failed while upload Flutter package This error message appear while upload package on pub.dev how can i reslove this error
{ "language": "en", "url": "https://stackoverflow.com/questions/75588984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to `set_shape` of `Tensor` to a muli-input dataset I'm trying to create a Dataset with multiple input, which can be feed into a model with multiple inputs. It works fine when I'm working with single input, then I can easily set the shape using set_shape of that tensor inside my Dataset.map function. But now I do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to change element's style in iframe tag I am using MPAY as payment gateway. I was going to deposit funds on MPAY automatically using API integration. But I can't find any MPAY docs for deposit API. https://mpay.az/ So I am using iframe tag to load mpay.az for deposit function on my project and change some elemen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issues in displaying charts using react chart libraries Some charts are not displaying while using in react.js. For example, In reac-chartjs-2 chart.js , most of the charts are displaying but the area chart and scatter chart are not displaying as like as in nivo charts the bullet chart is not displaying. What is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: spring integration flow dsl performace is slow public IntegrationFlow processEvent() { return IntegrationFlow.from(Consumer.class, gateway -> gateway.beanName("onMessage")) .transform(Transformers.fromJson(Alert.class)) .log(LoggingHandler.Level.DEBUG, "Message Routed to D...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Go lang testing check if 2 float32 arrays contain same elements (almost equal) I've 2 float arrays which I want to compare to see if they match or not, but the issue is that the float arrays have elements in different orders and the element values might be differing past the 4/5th decimal point which can be consider...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: is there are any way to get full free vps hosting I want to run JAVA_PHP_BRIDGE on apache tomcat server. But I have a shared hosting server, it cannot run JAVA_PHP_BRIDGE application. And for that i need VPS or dedicated server. I don't have enough money to buy a VPS or dedicated server for that. I want to do it to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: How do video streaming services select users to test new features? I am interested in understanding how video streaming platforms select users for testing new features or elements on their platform. While I have heard that these platforms randomly select users, I would like to know if there are any specific criteria...
{ "language": "en", "url": "https://stackoverflow.com/questions/75588996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What should we use for the horizontal bar graph layout in Android? This would be a horizontal bar graph, was wondering if there is any existing view for this that I can use for e.g. <com.github.mikephil.charting.charts.BarChart>
{ "language": "en", "url": "https://stackoverflow.com/questions/75588998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I deploy a node.js three.js webpage that uses Vite? I am using the Heroku CLI and running Heroku Local Web works on the app and hosts it locally on my 3000 port. However, after pushing the git to Heroku the application fails. When I check the heroku logs I get the following errors: 2023-02-26T05:20:38.239055+...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you center a child of a child in the parent component? I have parent component with multiple children. One of the children has it's own child, which is a loading spinner that I use when I run a specific upload method in that child. There is also a mixin that I use for this method between the two children. But th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to show 2 decimal place in one column in hive sql I need to show up the value to 2 decimal places. Column_value = 6.567878 If i use round off to above values, round(Column_value,2) the result will be 6.57... Expecte output will be 6.56... A: But when you rounding above 5 and higher after 2 digits you have d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Class cannot be cast to class java.lang.reflect.ParameterizedType (java.lang.Class and java.lang.reflect.ParameterizedType ) I have the following classes in the follwing pattern: public abstract class BaseDAOMongoImpl<K, E extends Entity> implements BaseDAO<K, E> { public BaseDAOMongoImpl() { ParameterizedType p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: unity app apk "problem parsing package" on android 11 I have built a mobile game on the Unity game engine, version 2021.3.0f1 . I am now trying to build the game to test it on my phone. As per google play's API level policies, all apps must target api level 31 or above. However, building my app with api level 31 re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Constexpr variadic template unpacking heterogeneous types and values I have a function which processes a video stream and has multiple options for the processing pipeline. The specific combination of options are determined before the stream begins, but are allowed to change if the stream is stopped. To reduce the nu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: android canDrawOverlays issue I have been using the who's call app as an in-house application, but I received a report that it doesn't work on Samsung S22 and S23. Upon checking the logs, I found that the "canDrawOverlays" value returns false when the phone rings, and returns true when the call ends. I have allowed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django admin panel inside Docker Container on Ubuntu server I have a Django Admin panel Admin panel, its address is htttp://0.0.0.0:8000, it will get broken in the docker container, which in turn will get broken on the Ubuntu server. Docker ports: 80:80. If I run the admin panel directly, I can access it on my PC vi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to do --insecure on httpjob B4J Sub GetDataFromApi(serverName As String, c_type As String, endpoint As String, token As String) server_name=serverName url_host=endpoint Dim http As HttpJob Dim client As OkHttpClient client.InitializeAcceptAll("MyUserAgent") http.Initialize("", Me) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Add incremental counter in array inside an array I have a array as follows data = [ { sNo:1, month:[ { id:1, value:0 }, { id:5, value:10 }] }, { sNo:2, month:[ { id:6, value:10 }, { id:9, value:20...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Nodejs - how to convert an XString of SAP ABAP to PDF I have a PDF in XString format from ABAP. I find that XString is an extended class of C++ Since node.js supports C++ am wondering how this XString can be handled and convert it into a PDF file in node.js. Any help is really appreciated.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not cast value of type 'NSNull' (0x221756b90) to 'NSString' (0x221753d80) I made MetodChannel in my flutter app. But i have crash.. This is code on Flutter side void startNotifications() async { try { var methodChannel = MethodChannel('com.test/notificationsChannel'); await _methodChannel.invokeMetho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589025", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to update the Jquery UI to v1.13.0 in wso2 identity server 6.0.0? currently jquery.ui.core.min.js is pointing to version 1.10.4. I tried updating with jQueryBump , Carbon-kernel from github. But still /carbon/admin/js/jquery.ui.core.min.js is pointing to older version. I need jQueryUI v1.13.0 to my wso2 identit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Update function in simple crud cli app in Go I've started learning go. I'm doing a simple crud operation using structs and fucntions: var db []Employee type Employee struct { id int firstName, lastName string age uint position string department ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get better results after fine tuning an SBERT model I have fine tuned an SBERT model on my own data - which is about 200k sentence pairs which are labelled either 0 or 1. I found no improvement in performance after training it, in fact it had a slight decrease in performance. I even tried to perform TSDAE t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i deploy my nextjs project on subdirectory Recently I've developed a project with NextJs which I need to deploy it on a subdirectory, but i don't know how to do it. I've searched online, but couldn't find solution that suits me. The main directory has a WordPress site. In NextJs config file, i've updated the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Schedule DAG to run once in a two months on last Sunday I need to run my Airflow DAG once in a two months on last Sunday at 3 am. For Example February's last Sunday, April's last Sunday, June's last Sunday and etc. (It skips January, March, May and etc) I was thinking of using this cron expression, but it does not w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get data attribute value on afterChange vue-slick carousel? I'm working using vue-slick and google analytics. I display data using vue-slick, and will send the data that I will manipulate to google analytics. I store the data in the data-items attribute (object). So the scenario is when the slide changes, the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to Clear stdin while reading stream of data? I have to create a c program that takes raw h264 frames from stdin and send it over the network via rtp. The problem i am facing is that the video data from stdin gets read after the connection is created which can take unknown amount of time and the producer starts p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WebView overlays are enabled? When I click on contact with seller button then it open webpage and it display: **Web page not available The web page at whatsapp://send/?phone=923424627671&text=Hi%2C%20I%20am%20interested%20in%20the%20product%3A%0A%0AProduct%20Name%3A%20Electric%20%0AProduct%20Image%3A%20https%3A%2F%2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does idempotence in Rest API PUT Method require the result to be the same up to ID? I studied the difference between PUT and PATCH. Of which I understood that if I use PUT, it creates the target if it doesn't exist and updates if it exists. OK, so far no problems. Now it's time to consider the idempotency problem. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Failover with Python using STOMP library I am trying to implement fail-over in my Python applications using STOMP to connect to ActiveMQ brokers (in Amazon MQ). I have 2 brokers (B1, B2), 1 producer (P1), 1 consumer (C1). I am expecting that I only have to connect to a single broker(B1) in producer(P1), and consumer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 【godot 2d】jumping enemy jumps opposite direction of where player is at I am in the process of developing a 2D enemy that emulates the behavior of a slime, specifically jumping towards the player. I have been able to successfully implement this feature. However, upon further testing, I have observed that while the fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: GMSMapView animateWithCameraUpdate causing UI issue [self->gmsMapView animateWithCameraUpdate:[GMSCameraUpdate fitBounds:self->mapBounds withPadding:50]]; mapBounds have many points. animateWithCameraUpdate causing some space on top of mapview and on tapping any where on map it adjust mapview to proper bounds. NOTE:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Shuffle works weird Shuffle works very strange in dart var array1 = [1,2,3,4,5]; var array2 = array1; array2.shuffle(); print("array1: $array1"); print("array2: $array2"); and such a conclusion array1: [3, 5, 1, 4, 2] array2: [3, 5, 1, 4, 2] Swift works fine. Please, tell me why and how to fix it A: You are ref...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Different speed on VLFs in SQL Server? As the topic says, can VLFs in the same logfile have different speeds? Yesterday when I updated a table with 12M records, the updatespeed was about 5x when VLFa was active vs VLFb, is this normal and do anyone know why? A little more background, the logfile had autogrowth 10%, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sftp files from local server to Remote server by shell script Sorry if it's too much simple question. But I am java developer, no idea of shell scripting. I googled, but couldn't find exactly what I am looking for. My requirement 1.Connect to remote server using key file. 2.Transfer file to remote server At present,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: pre_save django model update fith celery shared_task I have Project model class Project(models.Model): id = models.UUIDField(primary_key=True, unique=True, default=uuid4, editable=False) logo = models.ImageField(validators=[validate_image_size], blank=True, null=True, default=None) name = models.CharFiel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Next.js 13 app feature is not loading the CSS initialy, getting a glitch effect Hi i am using next js 13 app feature and its showing a glitch effect at the very first load of a page. The CSS file load after some time. Like when i try to get my login page it shows like this at first But after some time (some mili se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I'm getting DropdownButton Error, I'm looking for a way to solve it I want to pull data to dropdown with api. Everything is going very well until it comes to dropdown. But when it comes to dropdown, I get an error like this. Exception has occurred. _AssertionError ('package:flutter/src/material/dropdown.dart': Faile...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: I am trying to learn how to implement microservices with spring boot application and trying to run the spring boot application on the server port 9091.But always showing the below error : Error starting ApplicationConte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am facing this error ''SyntaxError: cannot assign to function call'' Help me to resolve this error. for p in range(5): for post in get_posts('GeoEnglishdotTV', pages=2): data1=post['text'][:170] data1.append(p)=post['text'][:170] print(data1) data1.append(p)=post['text'][:170] SyntaxError: can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: HIVE SQL how to reuse subquery multiple times problem: There is a complicated & time-consuming <subquery> which will be used multiple times with conditions. question: is there a way to reuse it multiple times? What i want is something like this: WITH tem_table AS <SUBQUERY> SELECT col1, col2, ... coln FROM ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Update type of an imported type I am trying to re-write some types of mongoose. Here is the type I am trying to fix import { MapReduceOptions, } from "mongodb"; This looks something like this export declare interface MapReduceOptions<TKey = ObjectId, TValue = Document> extends CommandOperationOptions { out?: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do you change accordion in Elementor? I want to add accordion to my Elementor WordPress website. I try Elementor Pro & 3rd party add-ons but it's working properly. I want a solution to easily add accordion on my Elementor WordPress.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I make NPC stop when player is near? Unity 2D Im a new programmist. I was trying whole day to make my npcs stop, but I may be to dumb for it. They were no longer walking, no reacting on player and other stuff like this. I couldnt find answer on my question, so please dont be mean to me. I tried to call playe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: nginx cors issue from subdomain I have a nodejs api. It runs on nginx at sub.example.com. The nginx.conf for the api looks like this: server_name sub.example.com www.sub.example.com; location / { if ($http_origin ~* "https?://.*\.example\.com(:[0-9]+)?") { set $cors "true"; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prevent table refreshing on parent state change when selecting rows I have a table in server data mode using material ui data grid. Now, we're adding checkboxes for selecting rows. In order to allow the user to keep selecting rows after page change we need to lift the state to the parent const [selectionModel, setSe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Creating venv with new sub directory inside the main directory consisting of venv I am working on time series forecasting using various libraries and here is my main folder (which is the root directory with virtual environment) containing sub folder as shown below Main folder / venv / … ARIMA / … Holt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jest not covering functions declared as const I am using jest for improving my code coverage. below is my configuration: index.tsx import * as React from "react"; import * as ReactDom from "react-dom"; import './index.css'; import App from './app'; import { Provider } from "react-redux"; import { setupStore } from "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to dynamically change the bing website icon on google arr.add( SearchEngine( 0, context.getString(R.string.google), "https://www.google.com/search?q=" ) ) I have such a code that performs a Google search. And I also have a link https://t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I delete Test Suite in Test Rail? I created 2 test suites in Test Rail but later on; I merged all test cases into one test suite. How to delete empty test suite? I don't see any option/way to delete/hide that test suite.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: It is essential to press 'make' after changing weights file? We should press 'make' after installing darknet. (https://github.com/pjreddie/darknet) Do I have to enter 'make' after changing weights file whenever I Learning something? Whenever I change weights file, that error occur
{ "language": "en", "url": "https://stackoverflow.com/questions/75589081", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: It is posible to recover accidentaly deleted knowlledgebase file (xlsx) from azure language studio? "no" answers are not allowed! :D Is there a Trash bin here?
{ "language": "en", "url": "https://stackoverflow.com/questions/75589083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django ORM - SQL part of WHERE if parameter is null I have a problem in django trying to exclude or include part of the filter if the parameter is null. I have 4 parameters in my model: StartDate, EndDate, Severity and Source. The filter can have one or more of these parameters. If I pass 1 of them the others could ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installing pip on an airgapped machine I'm trying to install pip on an airgapped machine following this guide, however I've encountered the following error: ~$ python3 pip-23.0.1-py3-none-any.whl/pip install --no-index pip-23.0.1-py3-none-any.whl Traceback (most recent call last): File "/usr/lib/python3.9/runpy....
{ "language": "en", "url": "https://stackoverflow.com/questions/75589085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: userAgent is undefined inside _app.tsx while using getInitialProps? I am getting userAgent as undefined in the following line of code:- const userAgent = context.req?.headers['user-agent'] ?? ''; I am getting isMobile as undefined also as shown below I want to detect the device whether it's a mobile or desktop in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to modify the Information Rights Management of a document library on SharePoint online modern site using REST API. (cannot use CSOM) I need to modify/enable the Information Rights Management of a document library on Sharepoint online modern site. I need to use REST API for this. I can get the data using "_api/we...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to see database tables in Xamarin using SQLite? I am making an app with Xamarin. I try to use database, recommendation (first and only options when Googling) is to use SQLite. I created Database class: public class Database { private readonly SQLiteAsyncConnection db; public Database(string ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qt slots first fired when application closed I am trying out QLocalServer and QLocalSocket. Everthing works fine creating both server and client classes in single applications. Now I transffered the server to a .dll file. Directly afte QCoreApplication gets initialized, everthing works fine, but when I start the ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My android app doesn't use gpu with nnapi running onnx model I'm trying to run my onnx model with gpu by using nnapi in android environment. I'm trying with this code. /*part of MainActivity.kt*/ /*=====================================================================*/ val modelID = R.raw.mobilenetv2_int8 val mobel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Executing Block of Transactions on Iceberg Table using Spark SQL I want to execute a DELETE and then an INSERT on an iceberg table. However I want to execute them as a block so either both succeed or none. My iceberg table is in glue data catalog. I tried executing the two statements as a block however it throws a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my libcurl c program fail on Windows? I have performed the following steps to download libcurl: * *Download libcurl from https://curl.se/windows/ (32-bit version) *Extract the folder to %USERPROFILE%\Downloads (renamed it to "curl") I have written the following C program: #include <stdio.h> #include <st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to line break output after 20 loops? // Program displays every possible ID number for a company // ID number is a letter, followed by a two-digit number // For example -- A00 or Z99 // Go to a new display line after every 20 IDs using static System.Console; class DebugFive3 { static void Main() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: GL/glut.h no such file or directory error got on codeblocks building After installation of MinGW i have added the Path to the path enviornment variable: * *Added 'glut.h' to C:\MinGW\Include\GL *Added glut32.dll to C:\Windows\SysWOW64 *Added glut32.lib to the project folder the building is not working as a resu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get previous month end date exclude Saturday and Sunday in shell I have following query. How to get previous month end date exclude Saturday and Sunday using linux for example if current date is 2023-01-07 then previous month end date should be 2022-12-30 (Friday) not 2022-12-31 as the date falls on Saturday...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to WordPress user create it will redirect to stripe page user can create his account and then account created it redirect back to website in php? in WordPress when user create it will redirect to stripe page user can create his account and then account created it redirect back to website in php I need solution a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }