text
string
meta
dict
Q: Log analysis with Jenkins I am writing a python script on a raspberry pi to do some log analysis. I have a bunch of OS related logs that I need to analyze and I have the python to analyze the log. Everytime the OS crashes I have to manually pull the logs and call his python script so I want to automate the process. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windbg - how to show the call stack method instead of addresses I'm analyzing a dump and get K command as below 0:034> kp # Child-SP RetAddr Call Site 00 00000054`e0995fb0 00007ffa`042d28ad clr!COMNlsInfo::InternalGetCaseInsHash+0x58 01 00000054`e09962b0 00007ffa`042dba85 0x00007ffa`0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What kind of design is good behaviour when the limits of the RabbitMQ consumer prefetch are reached? The RabbitMQ in my environment is using manual acknowledge. Recently, for unknown reasons, my consumer -- springboot project did not properly send back ack for every message, causing the accumulated prefetch quantity...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (Solved) How do I import updated Wordpress product descriptions? I have a CSV file with 500 rows and two columns: product id and description. How would I go about updating the descriptions in Wordpress with SQL? I am pretty decent with SQL but not sure what fields I am targeting. A: You dont need to update descript...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Java matrix multiplication 3x2 and 2x3, how to fix ArrayIndexOutOfBoundsException This method works for multiplication of 2x2 and 2x2 matrices only, but it's not working for 3x2 and 2x3. It results in Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2 What am I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: cannot import name 'get_config' from 'tensorflow.python.eager.context' (C:\Users\USER\anaconda3\lib\site-packages\tensorflow\python\eager\context.py) enter image description here My code: (I am trying for a yolov3 model) import struct from tensorflow import keras import numpy as np from keras.layers import Conv2D f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lets Encrypt SSL giving ERR_CERT_DATE_INVALID for request towards node server I had installed a LetsEncrypt SSL certificate on AWS instance, webserver is nginx, the application was working fine with it. However, it seems that there was a automatic update of certificate, and since then when I open my main site (say w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What does Mat[0,0,i,2] function do in Python with OpenCV I am trying to understand this code and to convert it to Java Code is from this tutorial, full code snippet shown below https://pyimagesearch.com/2017/09/11/object-detection-with-deep-learning-and-opencv/ I want to convert the line confidence = detections[0, 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change text size on label.new (pine-script) I created a label via Pine-Script, but the text is very tiny. Can you please help me to change the text size? Here is my code: label.new(x = bar_index, y=na, yloc = yloc.belowbar, color = color.aqua, text = "1", textcolor = color.aqua, style = label.style_xcross, size =[en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make a collapsible menu appear after clicking on an image? I want to have an image such as this and when I click it, I want to show an HTML element such as <input type="radio"></input> <input type="radio"></input> I want to be able to toggle the element to show and hide by pressing the imag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: FFMPEG freezes last second when overlaying gif onto video I add gif to video with this code: (base) E:\>ffmpeg -i tt102e.mp4 -ignore_loop 0 -i e:\gals\flags\RoyaumeUni.gif -filter_complex "[1:v][0:v]scale2ref=oh*mdar:ih/5[ua][b];[ua]setsar=1,format=yuva 420p,colorchannelmixer=aa=0.75[u];[b][u]overlay" -shortest -c:a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: make fscanf() read the white space issue I am trying to read a formatted input file where it contains 3 columns using fscanf() in C. Each line's format is 3 characters separated by a space like this a hi c i hello l abc z //issue 2 mystr k ... The issue is it is not reading the column when there is a white spac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Users are not saving in ManyToMany Field drf I am learning django rest framework and I have a field named users in my Blog Model with ManyToManyField to User and I am trying to save multiple users in .post() request. models.py class Blog(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to host flutter application in firebase I'm following the instructions I've installed CLI on Windows, but the command firebase init hosting is failing when I'm running it in VS Code Terminal: PS D:\flutter\first_app> npm install -g firebase-tools npm WARN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is the local variable getting modified in another instance of another function in call by value? public List<String> generateParenthesis(int n) { List<String> list = new ArrayList<String>(); backtrack(list, "", 0, 0, n); return list; } public void backtrack(List<String> list,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using quoted variable names when creating functions containing ellipses (i.e. '...') in dplyr I am trying to learn how to use the ellipses (...) when I program using dplyr. I cannot work out how to pass a character into the ellipses. Here is a toy problem to illustrate set.seed(10) data.frame(var1 = factor(sample(x ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure super-linter to not lint MD files on github actions Doing a github actions workflow right now but can't seem to figure out how to exclude specific files from being linted. Any help would be appreciated thank you!
{ "language": "en", "url": "https://stackoverflow.com/questions/75587786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Couldn't update variable outside .then async function I am trying to check the progress of a listening session stored in AsyncStorage on React Native. My aim is to show progress (stored in a form of a number) against total lines (number). I have this working code that outputs the total lines (sourced from a differen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to create a datasource for mongodb in weblogic I would like to know if you have any example to make a connection from mongodb to weblogic through a connection pool? enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75587798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I write code in java to receive a text/event-stream event stream and print it one by one? My requirement is to send a request via post to call the API interface and then print the text/event-stream event stream returned by the server one by one, regardless of whether I use HttpURLConnection, WebFlux, or Rest...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why actionLayout is not working in BottomNavigation? I'm creating a BottomNavigation in Android. I'm trying to put my own custom designs for each item within the BottomNavigation. For that, I have created a layout design of the item I want to show. I added that layout in the item with the help of menu xml using acti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keras Compute loss between 2 Ragged Tensors I have 2 ragged tensors defined as follows import tensorflow as tf # Tensor 1 pred_score = tf.ragged.constant([ [[-0.51760715], [-0.18927467], [-0.10698503]], [[-0.58782816], [-0.13076714], [-0.04999146], [-0.1772059], [-0.14299354]] ]) pred_score = tf.squeeze(pre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add Visualization Attribute to Data Binding in Acceleo? I want to add a Visualization Attribute element to a Data Binding in Acceleo / set the Visualization Attribute as a child to the Data Binding. But it seems like there is no method like add() from Acceleo. Is there any way to do that? I expect something l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to read the entire current thread from Apple Mail using Applescript? Is it possible to read the entire current email thread in Apple Mail using Applescript or through other means? This is the current state of the Mail app after clicking the reply button. https://share.cleanshot.com/p7yZ1ftt for now all I've is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: File permission issue. Can 2 users chown a directory at the same time? I am running a Ubuntu 22.04 VM with a Nginx webserver. I am using SSH to edit files via Vscode I am running into an issue of not being able to edit files because i ran sudo chown -R www-data:www-data /var/www/html so that the website works correc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Integrate FCM notification in LG-TV (webOS) We have tried Firebase push notification in order to receive notification on background / foreground / killed. So we had try to implement into our app which is based upon React.js. So after implementing it, we are receiving the notification on all 3 stages in web, but when...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can not run myapp.jar on my server it can not hit the API in my server i can hit the API with curl and retrieved the data as shown below hitting the endpoint on my server 1 hitting the endpoint on my server 2 but when i tried to run myapp.jar, the error here was caused by: 400 bad request, invalid header name. sh.In...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: setting 'useBuiltIns' to 'usage' does not work correctly Webpack Version: "webpack": "^5.75.0", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.11.1" Babel Core Version: "@babel/core": "^7.21.0", "@babel/plugin-transform-runtime": "^7.21.0", "@babel/preset-env": "^7.20.2", Babel Loader Version: "babel-loader": "^...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I fetch a data by its ID to show on my client side - react ON MY SERVER /* GET event listing by ID */ router.get('/:keyInfo_id', async function (req, res, next) { let { keyInfo_id } = req.params; try { let result = await db(`SELECT activities.keyInfo_id, date, title, deadline, activities_id, activity...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vault-Consul deployment in kubernetes failing In an AWS Kubernetes service, I have deployed vault and consul using helm chart with the chart versions vault-0.10.0 and consul-0.30.0 respectively. Both vault and consul servers are installed with 3 replicas for enabling high availability. Now, all the replicas in both ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can jq add objects in two JSON object lists sequentially? I am seeking the simultaneous iteration of two lists. Input object list: First Input Object List { "k11": "v111", "k12": "v112" } { "k11": "v121", "k12": "v122" } { "k11": "v131", "k12": "v132" } Second Input Object List { "k21": "v211", "k22...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Invalid signature of SAML Logout response from Azure AD in Keycloak I'm getting invalid signature while validating the logout response in keycloak. Logout is happening in Azure Ad but not on keycloak. I have enabled the "validate signature" feature in keycloak. SAML Sign-in working as expected SAML Sign-out : Not wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shader to draw a cube or sphere at each vertex Can someone help me write or find a shader (in HLSL, shadergraph, etc.) that does the following on the gpu? 1- takes the input vertex array (ignores triangles, etc), 2- in place of each vertex, draws a predetermined simple shape (such as a cube, no more than ~50 vertice...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What factors can cause variation in the output of a requests.get call? (getting inconsistent results when scraping Google Scholar) I'm trying to scrape a few pages on Google Scholar using Python. On the GS "View Article" page, the title of the article has a link article's web location, if one exists, and that link a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure HTTP Trigger C# Not Returning Response to Javascript I have an Azure HTTP Trigger that is being called by my HTML / Java Script. For some reason, I can call the HTTP Trigger via Java Script but the response is not thrown back. I keep getting the error: "There was a problem with the fetch operation:" If I use P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Write the PySpark dataframe to Parquet file format My actual dataset is very big and I couldn't save it to csv file after doing some computations using PySpark. I wanted to save the PySpark data frame to Parquet file format. I tried with available solutions from Stack overflow but none of them worked. I wanted to wr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to generate Typeorm Migration. Error: No changes in database schema were found - cannot generate a migration I am using nestjs typeorm and nx workspace and using a webpack compiler db.config.ts export const dataSourceOptions: DataSourceOptions = { type: 'postgres', host: process.env.DATABASE_HOST, port...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use multiple checkbox and FILTER to filter data from another tab? I'm trying to use multiple checkbox to select which values should be filtered from another tab's column, in order to create a Dashboard. Dashboard: Tab Work days: Tab copyable sample sheet: https://cryptpad.fr/sheet/#/2/sheet/edit/cygmkx-J45fsZ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to share persistent storage between isolates in flutter? I am using android_alarm_manager_plus to run a dart isolate. In that isolate, I modify some data and I want those changes to reflect in the main isolate. Likewise, I want changes made in the main isolate to reflect in the alarm isloate. What I have tried C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Simpson's 1/3 Rule: Obtaining x-values in a vector and the y I have here a code that integrates the function. Supposedly, my output is the step size (h), x values in a vector, and the final value of integration (y). My question is (1) how do I display the x-values in such a way that a and b is excluded? And (2) how ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Function not looping in python Would someone be able to tell me why my function (delete_loop) only runs once before exiting? I want it to run 200 times in a row before continuing the code again.    Thanks def delete_loop(count): if count ==...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I get response outside of a function (non function name) How can I get response outside of a function (non function name) ? var userdata = { method: 'get', maxBodyLength: Infinity, url: 'https://', headers: { 'Authorization': 'bearer '+accessToken } };...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to lift a column by one row up in a data with group structures Suppose I have the following mock data file df. I want to lift response by one row up within each group. So that every '1' value of X within each group would correspond to '2' of response, '2' of X would correspond to '3' of response, and so on. Ever...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Weighted averaged of NetCDF by shapefile boundary in Python I have a shapefile that overlaps 15 pixels of a NetCDF file, with some parts of the shapefile barely touching some pixels. I would like to weight the NetCDF values by how much of the pixel is actually overlapped by the shapefile so that areas that are cover...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i implement my own react-native background service for notifications? I want to make my own background service that always runs in backend and listens for notification from my socket-io server and generates a local notification whenever it receives a notification. I tried firebase-messaging but i don't want ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: after open a page in react js pwa app the height changed and is smaller than before when I open a page in pwa in IOS with window.location.assign, the app height change and is smaller than before. even I close the opened page its height is not full. window.innerHeight before open page is 647. window.innerHeight befor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to check whether two linked lists are equivalent in Python? This is regarding the Palindrome linked list question (234) on LeetCode. I created a copy of the original linked list and then reversed the original list. Now when I try to check their equivalence using the "==" operator it shows False, even though they...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Join multiple csv that have different column format to DataFrame with python I have 3 csv files * *abc_def0_table1.csv have column offset;block;columnA;ID *abc_def1_table2.csv have column offset;block;columnB;ID *abc_def2_table3.csv have column offset;block;columnC;ID As can we see, they have different column ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to edit a Firefox Extension's manifest.json file? I installed a Firefox Extension and need to customize a keyboard shortcut it uses. Apparently this needs to be done by modifying the Extension's manifest.json From Mozilla: Each keyboard shortcut is defined with a name, a combination of keys, and a description. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate the Typescript files from proto files? I'm attempting to generate some Typescript files for a React project that would utilize gRPC through proto files. I ran a script: #!/bin/bash IN_DIR="./protos" OUT_DIR="./dist" # Generate the types yarn proto-loader-gen-types \ --grpcLib=@grpc/grpc-js \ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update local json file I have a json file with the following data: [ { "Short_Name": "GRID1", "Name": "Grid", "Description": "Utility Grid", "Type": "Utility Grid" }, { "Short_Name": "PV1", "Name": "PV Rooftop", "Description": "PV at S1 Rooftop", "Type": "Solar" }, { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Javascript: filter object by array I want to filter an array of object by passing array elements. var filterNumbers = [2, 4]; var obj = [ {value: 1, lang: 'South'}, {value: 2, lang: 'North'}, {value: 3, lang: 'East'}, {value: 4, lang: 'Test1'}, {value: 5, lang: 'Test2'}, {value: 6, lang: 'Test3'}, ]; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: In React Native running ./gradlew assembleRelease product build apk, but the JS code is not updated In React Native running ./gradlew assembleRelease produce build apk, but the JS code is not updated.I also did ./gradlew clean but still no luck. But If I did below two command the code is updated. * *npx react-nat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why terra::buffer from the terra package in R uses much more ram depending on the projection? I am running some R code using the terra package and I realized that it takes much more ram (and time, to the point at which R crashes) depending to which crs I reproject my SpatVectors. Does anyone know why and how can I a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: School Staff Management / OOP Concepts The language is Java and I should mention that this is question from myself since I am working on a self paced project. I know how to design the database but writing the OOP with the below requirements is difficult and I was not able to find a solution for this complex scenario...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: session storage not preserved when chrome extension is updated I have a mv3 chrome extension in which I do not register chrome.runtime.onUpdateAvailable. I save some of my variables by chrome.storage.session.set to keep their values when service worker restarts. This works fine until my extension updates, all sessio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating Windows programmatically in Android This is an extension to the question/discussion here : What is an Android window? While I understand that a Window is inherently created when an Activity is instantiated, I am not able to understand if it is possible to create this window instance myself in code ? Basical...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSRS Web Service URL Export to PDF with rs:Format=PDF Parameter Not Reflecting Most Recent Data in Exported PFD Report I am using SSRS (SQL Server Reporting Services) 2022 and trying to export a report to PDF using the Web Service URL. I am adding the parameter "rs:Format=PDF" to the URL to indicate that I want the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recategorize dummy variables by combining and excluding I have a data set with 8 ethnicity variables that I need to change to 7, under different conditions. The respondents were instructed to choose as many ethnicities as appropriate. For example, ethnicity_2 indicates "white". Some "mixed" ethnicity people selected...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Return dataframe result from snowpark storedprocedure I have a python code which reads parquet from two different folders and compares them for equality. I was able to convert the python code to a snowpark stored procedure. Now since I wanted to highlight the differences on the parquets, I wanted the stored procedur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pull files from s3 to sf marketing cloud Can someone help me know the process to pull pdf files from s3 to salesforce marketing cloud?? I tried adding file locations and even tried creating an option but couldnt find the right options.
{ "language": "en", "url": "https://stackoverflow.com/questions/75587891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use numpy Polynomial.integ to find area between curve and horizontal line I'm using Polynomial from numpy to calculate a best fit line like this: from numpy.polynomial import Polynomial ... # get best-fit polynomial for values best_fit_polynomial = Polynomial.fit(x_points, y_points, 4) The graph of the value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does circular referencing work in TypeScript? When I studied components of react such as ReactFragment, ReactNode, JSX.Element, and so forth, I encountered something incomprehensible. in react source code, there are codes that I could not understand. type ReactFragment = Iterable<ReactNode>; type ReactNode = Rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using a Binary linear program identify the set of projects that would maximize Net Present Value Stockco is considering investing $22000 in a set of investments. Details of each investment are as follows: Please help solving this problem
{ "language": "en", "url": "https://stackoverflow.com/questions/75587897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Solving 502 Bad Gateway Error for a Django Project Nginx - gunicorn - Debian Hi I am trying to deploy my Django Project to Production for the first time using Nginx and gunicorn on linode. Currently I did not set a venv file I just downloaded all the requirements in the system as a whole. I am using Linode Server an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connecting Asp.NET Web API docker container to SQL Server that is not containerized My asp.net web api docker container has an auto-generated Dockerfile and docker-compose that was created by Visual Studio. I am using Postman to test my api functionality, but I keep seeing a 500 Internal Server Error when trying to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Superflous response panic preventing redirect I am new to Go and I am trying to redirect to "/" without the error "http:superfluous response.WriteHeader call from main." I am redirecting from a login function and this error is preventing me from setting a user cookie. func handleLogin(w http.ResponseWriter, r *http....
{ "language": "en", "url": "https://stackoverflow.com/questions/75587902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No mapping for GET /api/file/test I am trying to learn how to serve an image in Spring-Boot. But when I hit uri it didn't found mapping for POST request and GET request. Here, I attached project files and problem screenshot. ImageController.java package com.example.demo.controller; import com.example.demo.payload.F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why airbnb style guide force eslint rule react/function-component-definition I installed ESLint to a ReactJS project with Airbnb guide style. The ESLint rules end up showing me the below error when I am using an arrow function to implement the component Can someone please explain to me why the Airbnb style guide pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace a lot of nested ifs in validation process? I am handling response to a request, and I need to make sure that request is formed correctly and for different mistakes in a request I need to return different answers. I ended up doing nested ifs and after the third one I kinda feel that it looks quite mess...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: trying to use mode "r+" in python to read a .csv and insert a value in a column Been trying to use a for loop to loop through a csv and edit it in place. but if delets the first character of the first value in the second row. the csv has 3 columns the first columns value is being used to make an api call and get a v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use ubuntu for Azure cloud solution architect practise? I am student of CS and I am learning cloud computing. I installed ubuntu for better productivity in Programming. I want to know that is there anything that I can practice on ubuntu for Azure cloud solution architect. Any advices and suggestions would be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: pass environment variable values from yaml to json I have my build.yaml file where I control the deployment process in the Azure DevOps CI/CD release pipeline. Here I set environment variables which I intend to use in other files along the CI/CD release pipeline. build.yaml if( "$(env)" -eq "DEVELOPMENT") { Wr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to set up AppContext.BaseDirectory when hosting CoreCLR with hostfxr I'm following this sample/tutorial to host CoreCLR in my native app using hostfxr, I've successfully set up the runtime and got the function pointer to call into managed code. However, in the managed application, the AppContext.BaseDirectory pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The import java.net.http cannot be resolved in eclipse I'm getting "The import java.net.http cannot be resolved" for my imports: import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; JRE is 11.0.17 JAVA Compiler Compliance set to 11. MVNW -ver shows 17.0.6 When trying...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AVEVA Wonderware Failed to deploy Platform, The platform cannot be deployed while certificates on the GR node and Platform Node are not matching While deploy the platform i am facing following error. Error: Failed to deploy <Platform_Name> : The platform cannot be deployed while certificates on the GR node and Platf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: An error occurs when sending large amounts of data to a loop statement from a producer using kafka-node const KAFKA_CHUNK_SIZE: number = 5000; let offset = 0; while( offset < array.length) { const list = { list: array.slice( offset , offset + KAFKA_CHUNK_SIZE < array.length ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use javascript DOM implementation from HtmlUnit The problem is that I need to extract javascript DOM implementation like window and document variables. I need to do it because DOM is huge and I need only some of the variables to evaluate my code. I use Java RhinoEngine to evaluate the code but it doesn't have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: open ai api response having extra string at the first line I am using open ai api in node js to generate code. const { Configuration, OpenAIApi } = require("openai"); async function name() { prompt = `create a router config.js file with name as routerConfig for files page1.js only using BrowserRouter,Route an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to shrink image without reducing quality nodejs? I am attempting to shrink the size of one image without losing quality so I can place that shrunk image within a different image. In my attempts to shrink: quality was demolished. So my ingenious idea: Just grow the larger image size by the amount I would have shr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send message with telegram api and webhooks I was sending messages via api using bot token to a group in telegram and that's work good, also i have configure a webhook to notify when someone write in the group, the thing is that the messages that i send with the bot token via API to the group, aparently the webhook ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (Flutter / Riverpod) Cannot use ref functions after the dependency of a provider changed but before the provider rebuilt I'm encountering the error message 'Cannot use ref functions after the dependency of a provider changed but before the provider rebuilt' while using Riverpod in my Flutter application. I read the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Svelte custom store lets us to modify the state directly Below I have a custom store created in Svelte. First button Add item calls addItem() which will add new item to the state as expected. Clicking on the second button Add item to object directly updates the state too! How to stop this from happening and allow st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: querying previous row with condition using snowflake window function Suppose I have a table as follows: create or replace temporary table stock_trade_history ( type varchar ,id varchar ,datetime TIMESTAMP_TZ ,price float ); insert into stock_trade_history values ('trade',1, '2020-01-06 09:00:01.290+09:0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: X-Editable cannot submit changes. Error Code 405 (Method Not Allowed) I'm facing problem in my Laravel project using bootstrap X-Editable. whenever I want to submit my changes, it show error 405 (Method not allowed). I've tried to change my route to PUT and POST method, but still got same error. here's my piece of c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: load a 200MB xlsx file in vue I want to load large xlsx data (200MB) in Vue. * *Browser used: chrome *When reading large data with XLSX.read() as follows, the browser crashes with error: out of memory (currently crashes even at 20MB) <template> <el-upload class="upload-demo" ref="upload" action="/" accept=".xls,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a dataframe for each sheet of a workbook in R I want to create a for loop that will create a dataframe for each sheet of a excel workbook (Input_Data) for example, df1 would correspond to sheet 1, df2 corresponding to sheet 2, etc. this is what I have so far. library(readxl) for(i in 1:39) { df[[i]]= re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Hook useEffect has missing dependencies: 'xxx' and 'xxx'. Either include them or remove the dependency array I am making a function call in useEffect hook Below is the code const getAggregatedBasketList = (values) => { API.getAggregatedBaskets({ basketType: "", tagSearch: tags, isLoggedIn: auth....
{ "language": "en", "url": "https://stackoverflow.com/questions/75587950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mac ionic cordova build iOS takes a long time to complete On my mac computer, ionic cordova build ios takes almost 5 minutes to compile my app. Its like each new version of Cordova takes it longer and longer to compile. It also seems its in verbose mode, printing every command, every call, every log, every output ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do turn text that's the result of a search into a clickable URL in Django? I'm trying to make a search bar in Django that searches for pages by displaying the name and url of the page. Right now, I can only display the url of a page as plain text when it gets searched. I want the url to be a clickable link that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Azure Auto Heal Triggers What are exactly meanings of the Azure Auto Heal Triggers below ? What is the difference between requests and slowRequests? I am looking for examples of the usage of the triggers, especially for the requests parameter. { "privateBytesInKB": 0, "requests": { "count": 0, "timeInterv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 403 Forbidden ffmpeg / youtube-dl I am trying to download a blob video that is playing in my browser: ffmpeg -i 'https://example.com/playlist.m3u8?cred=abcd' -bsf:a aac_adtstoasc \ -vcodec copy -c copy -crf 50 file.mp4 I get the error https @ 0x11fe2ade0] HTTP error 403 Forbidden [hls @ 0x11fe05...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is onkeydown functioning differently than onclick? this is my first time with Blazor, so apologies if this sounds stupid. Here is some Blazor code I wrote: <ul> @foreach (var tag in tags) { <li> @tag <button class="btn btn-primary" @onclick="() => remove(tag)">remove</button> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I implement the Midpoint Line Generation Algorithm to include cases where x1 > x2 or y1 > y2? Let's say I have a canvas of 20 x 20 pixels. Now let's say I have the starting point as (x1, y1) = (12, 3) and (x2, y2) = (9, 16). In this case, x1 > x2. I am confused on how I adjust the midpoint algorithm to accoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue in Xcode 14.2 login option not show when trying to login from account section I am trying to log in to my Apple account but cannot. When I click on the Continue button it does not show the login option where I can enter my email and password. What can be the issue?
{ "language": "en", "url": "https://stackoverflow.com/questions/75587972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: blink options label when select/remove options When I selected options in react-select, It will re-render the options label and blink. I want to render only the new options label, and not render the current options label. My code: const formatOptionLabel = (props, x) => { const { value, label, photo, email } = p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server database fails with Incorrect syntax near the keyword 'CASCADE' Looks like, MySQL doesn't support the CASCADE option // private static final String CURR_STATE_TRUNCATE_SQL = "delete from %s where idmrptValidFrom > :cutOffDate and idmrptDeleted == 'true'"; private static final String DELETE_DATA_SQL = "TR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: mongo aggregation issue after spring boot version upgrade to 2.5.14 from 2.4.13 The aggregation was working fine before the spring boot version upgrade. After upgrading to 2.5.14, I'm facing issue with MongoTemplate.aggregate(Aggregation aggregation, Class<?> inputType, Class outputType) as : org.springframework.dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Customise the color of a token which does not have a "semantic type" in VS Code I can override the color of certain types of token in my settings.json: "editor.semanticTokenColorCustomizations": { "enabled": true, "rules": { "type": { "foreground": "#777", } } That works by using the "De...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (postgresql) How Can i get all "each" query history with duration ( execute time, start time, end time ...) I already tried pg_stat_statement / pg_stat_activity. But pg_stat_statement show sum of same query. (calls, mean, total_exec_time) and pg_stat_activity show only live session query. (not history) I want to "al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75587983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }