text
string
meta
dict
Q: Modify legend - remove points, keep lines I am trying to modify the legend of in the ggplot2-plot below. I want to remove the points from the legend and keep the lines. I want to do this in a more complex plot, I hope the solution for the problem stated here transfers to the more complicated plot, too! library('ggpl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing no variable in Django url template tag when one is required Im using Django with htmx. I have set up a url as follows in my urls.py file: urlpatterns = [ path('@/<username>/my_orders/', views.myordersview, name="myorders"), ] and the myordersview function something like this: @login_required def myordersvi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I import from Mysql I have two wordpress websites, I want to export all products that I have made in my site 1 and import theme to my site 2, my question is what is products table in Mysql to do this ? I'll be thanksfull who can help me.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python-telegram-bot - Sending a message to a group doesn't work I am trying to send a simple message to a Telegram group using python and the library python-telegram-bot. When executing the code I receive the following message: <coroutine object Bot.send_message at 0x000001CC4485BB40> This is the code I am using: i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does the KeyPair() function accepts "functionName" property? Using the KeyPair() will generate a lambda function with a long name (in my case, because the stack name is too long) and it exceeds 64 characters which is the maximum length for a lambda function name because it adds CFN-Resource-Custom-EC2-Key-Pair to th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Framework for Microsoft Dynamics Automation to pause running test till the data processing I am searching for a Framework which is dedicated to Microsoft Dynamics 365 Automation. I am currently using Selenium Framework with TESTNG and JAVA. But the main issue here we are getting is, due to lot of data processing(in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ia.na and is.null in an IF statement I have the following data which only has the last column on some occasions, and I'm trying to write an IF statement on this condition. When the column does not appear or when the column has an NA value I want this to return TRUE. As seen in my example below this works in position...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get api from nested dynamic routing nextjs i have a folder structure NEXT JS pages/api/product/[id]/index.js, what's the URL to get Api index in the [id] folder? My folder structure pages/ api/ product/ [id]/ index.js I want to put the url here (code) const { data } = await axios.get(`/api...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error 404 when acessing links inside subdomain I’m setting up a subdomain wordpress. Initially I’m acessing like “ecommerce-example.wagnercaetano.com”, at first view looks fine, everything loads, the admin is working fine… but eventually when I try to change to another route like ‘/contacs’ I receive a 404 error… .h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Most eficient way to change dtype of all numeric columns in a pandas DataFrame? (when categorical columns are also present) I have a pandas DataFrame with a mix of categorical and numeric columns. A simplified version of the DataFrame is as follows: epi = pd.DataFrame({"Hospital": ["10702", "10835", "14303", "14303"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the difference between SeleniumBasic and Selenium Wrapper? I need to know what is the different between SeleniumBasic and Selenium Wrapper. (I should add that, after understanding the different, I need to use in VBA.) Thanks.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Android Studio error while using a function in setOnClickListener kotlin? So i was testing my app with my phone that i've created in android studio and whenever i use the calc() function that i've done in setOnClickListener(), when i press the button my phone exits the app and i get errors: E/AndroidRuntime: FATAL E...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Protobuf new field not showing I have updated my protos files as: message XYZ { string a = 1; repeated=Detail b = 2; // New field added CustomType c = 3; } This is maintained in a repo which when successfully run in spinnaker uploads to artifactory. The jar file uploaded there has the correct fields etc....
{ "language": "en", "url": "https://stackoverflow.com/questions/75603824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Need to join two tables in Codeignitor i need to create a page of order history where need to show username , useremail which belongs to user id (which is showing in order history page) please give me solution of creating a function in CI to show complete list with username and email enter image description here ent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to Check for Updates in RAD Studio This page mentions an option to check for updates, without mentioning where it's located (great job). So where is it ? Using the integrated search function does not yield results.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove all files in *that* directory except *these* files - dangerous in remote directory? I'm writing a small bash script for deploying a bunch of files to a specific remote directory. The process is as follows: * *Mount remote directory (sshfs) *Remove everything except these few files *Copy all the files from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add custom record's field in saved search? I am creating saved search on custom record 'A'. Putting criteria on 'A's custom fields. Now I want to put criteria for custom record 'B's custom field on same saved search. Some custom fields are common on both custom record 'A' and 'B'. But Custom field for which I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to ensure that the matrix total is not filtered by slices in power bi? I want my matrix total not to be filtered when selecting any filter. How can this be implemented? A: If I understand your requirement correct, you need to create a new Measure using the function ISINSCOPE as below- total_new = if( ISINS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Woocommerce order is not saved in database until I load another page in the store This ia very strange problem with Wordpress 6.1.1 and Woocommerce. When an order is placed I need to do something with that order just after it is created in database, however, I realized about the following. When an order is placed an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to write a code to sum of odd numbers in 0 to N. creating two function for selecting odd numbers and another function for sum of elements code error I try to fix the problem of calling function of sum.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Load same aspect ratio thumbnails in Wordpress I've registered the size for a landscape image with a specific aspect ratio in WordPress (2048 pixels by 684 pixels); add_image_size( '2048x684-header', 2048, 684, true); //crop. I've set the ACF image field to return an Image ID and I'm calling the image using; wp_get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create plots from dynamic input? Hello I am new to shiny programming. I am currently working on a app where users can upload data and then select which varaibles should be plotted. Here, I ran into the problem that only empty plots were returned by ggplot. This is not only true for my specific dataset, but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java - Music is not stopping, if i combine with "if" I am trying to stop music, when the skip button is pressed. I tried everything. Like this: `JButton skipbutton = new JButton(); skipbutton.setIcon(new ImageIcon("skipw.png")); skipbutton.setBackground(Color.black); skipbutton.addActionListener(e -> { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I use DTOs? Clean Architecture I am building the MVC project and trying to stick to Clean Architecture pattern. I have the following repository interface for registering and logging-in users public interface IUserRepository { void Add(User user); Task<bool> VerifyUserExistanceAsync(User user); T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSLException [org.springframework.web.client.ResourceAccessException https://chec.. Connection reset; nested exception is javax.net.ssl.SSLException ] I am trying to invoke HTTPS end point using rest template and I am getting SSLException as per below. I have also included code to read truststore info from GCP bucke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regular expression find between numbers and comma I have an example set of strings there is a need to separate them and get 55B/2, --> B/2 171-1, --> -1 6"C", --> "C" 26D, --> D 8/1, --> /1 83, --> null/empty I tried with this pattern, but the result is not quite the same ([A-Za-z/"-])([0-9-/"A-Za-z]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Problems trying to use TIPC on RHEL 8.4 I'm trying to use TIPC on RHEL8.4 to manually communicate OpenSAF nodes, using this protocol instead of TCP. OpenSAF is designed to work with TIPC but only as L2 and, in this case, we need IP routing. That's why I'm configuring it manually. I am using the following script to s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I use string interpolation in aspx c# code? I have an aspx webform with c# code. I am trying to build a response with string interpolation but not working. This is my try: <% Response.Write($"<td>{mycsharpvar.ToString()}</td>"); Response.Flush(); %> Of course I can use string.format(), but it's not allowed stri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: `printk` / `pr_*` deferring output I'm adding a system call to Linux 6.1.9 (using user-mode Linux) for a school assignment. I would like to use printk/pr_* for debugging, but printk/pr_* prints what the previous printk call was supposed to print. The first printk doesn't print anything, the second prints what the fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Model arabic vector spacy Hay there, I am trying to make model for word to vector for arabic language and i use this git hub : https://github.com/bakrianoo/aravec/blob/master/aravec-with-spacy.ipynb There are many things diffrent in my code from this git hub so this my code : import gensim import spacy import re #...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Component must be wrapped with I have below app.js import { sdk } from "../src/helpers/CorsSession"; import { Query, Visualization } from "@looker/visualizations"; import { DataProvider } from "@looker/components-data"; import { ComponentsProvider } from "@looker/components"; function App() { return ( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Build Jenkins using Jenkins as code configuration and configure jobs in the code instead of the UI I am using Jcasc (Jenkins as a code) and when I build Jenkins from scratch, the Jenkins is up without any jobs/folders exist. I want to have jobs predefined or organization folders (From github) predefined when I build...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dnsmasq Container entering shell Target: I want to enter the shell/bash of my dnsmasq-container inside of my kubernetes pod. I need to inspect the filesystem. Problem: normally i use the command "kubectl exec -it /bin/bash" or with "/bin/sh"-ending. For the dnsmasq-container i have absolutely no idea. kubectl exec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i implement lazyload in the primeReact? I have a huge dataset thus i need to implement pagination for the Datatable in PrimeReact and for this i reffered the documentation which suggest to use lazyload to do so.But it is not working as well as my data is not displayed in the datatable but in console log it i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to enable intrnet connection in virtual machine using Virtual Machine Manager? My host OS is Ubuntu, but I need to have more different machines for some works so I have installed Virtual Machine Manager and set up 2 virtual machines also with Ubuntu OS. But I cannot access the internet on them. On both of the m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jpeg compression huffman table I am trying to write jpeg compression,however,I have some trouble. When I run the code, the error is : cur_huffman_res_bitarray = huffman_table_AC[cur_huffman_key_tuple] KeyError: (28, 1) The max value of Huffman_table is 15,so tuples like 16,1 18,2 22,3 will make error. I don't know h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SwiftUI - making a reusable custom TextField for different types of input Currently I'm working on a SwiftUI project that requires different types of text input such as phone number, amount, email, ID number, etc. I have been looking over the internet for the past couple of days to see what other developers came up ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Airflow - DAG clear and failed to fetch log from worker Hope you're doing well. We are currently working on an Airflow 1.10.3 version. I have a dag that is based on a MySQL Hook which has been recently upgraded. Somehow, the task was never able to start working properly due the issue on the subject. It is like Airfl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to calculate an essential matrix using skimage, or cv2 I am trying to understand how to work with cv2.findEssentialMat or skimage variant. I have a known 3d model in world coordinates and two calibrated cameras. I computed the true essential matrix of the system and my goal is to project the known 3d model po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting a global header with ofetch in nuxt 3 The goal is to set a global header for all outgoing queries Since its now recommended not to use axios anymore in nuxt 3 i wanted to switch to the ofetch of Nuxt3. As i read, the nuxt3 team implementing this did not consider to implement an option to globally set informa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Embedded/iframe always full height I'm embedding several html files, these vary in "height". I want the embedded content to always fill out the parent div, so that I can scroll the parent instead of the embedded content. If i set a specific height to the content-wrapper, which is larger than the embedded content's h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I wait for the user.click() in testing-library React to update the state? https://codesandbox.io/p/github/Lir-kulikov/users/main?file=%2Fsrc%2F__tests__%2FApp.test.js&selection=%5B%7B%22endColumn%22%3A22%2C%22endLineNumber%22%3A21%2C%22startColumn%22%3A22%2C%22startLineNumber%22%3A21%7D%5D In codesandbox in s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: i am trying to create a live candlestick chart with data from Intreractive Brokers TWS API, what am i doing wrong? I get the following error: from ibapi.client import EClient from ibapi.wrapper import EWrapper from ibapi.contract import Contract import matplotlib.pyplot as plt import pandas as pd import threading im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to set 'access-control-allow-credentials' response header in aws serverless lambda function enter image description here Access-Control-Allow-Credentials : true not set even after sending it in response headers from serverless.yml lambda function enter image description here Have added response headers as b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to read/listen windows notification popup by python I made a script to listen windows10 popup notification by python. It worked. But I changed my laptop and set up same environment and then I got error message. windows10 python 3.10.10 winsdk library this is my script. from winsdk.windows.ui.notifications.manage...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to select desired data frames from several data frames based on row id I have a set of 7 random samples with 6 rows each in a data frame. The row id of the data range from 1 to 10. I need a code that will screen the 7 samples and return ONLY the data frames without any of row id 3, 7 or 10. This means that any o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JFileChooser on MacOS: How is the localization of the names of special folders like 'Desktop' determined? I have a situation where the special folder names on MacOS are French, but the labels & buttons are German (the OS language is English): A: On Windows the special folder names are determined by the the system ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Github action runner does not react to self-hosted labels from Environments I am currently trying to create some dynamic workflow files so I can deploy to different self-hosted runners using the environment variable system. I follow the work around in this post: Specify runner to be used depending on condition in a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: import fontawesome icons in vue 3 typescript I'm trying to refactor a component in my project to use Typescript and I'm running into a problem with FontAwesome. The error is Type '{ icon: never; }' is not assignable to type 'never'.ts(2322) The way I'm using it is like this: main.ts import { FontAwesomeIcon } from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a model in a for loop with tf.keras.layers.Model(input, output) does not reset weights Edit at the end My problem: I would like to be able to create and train a model in a for loop, so that each time some of the weights (in my case I need to freeze an LSTM layer and let other two dense layers be trained) r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I transfer Keychain when transferring an app? When transferring an app from one team to another, Keychain access is lost because the keychain is prefixed with the team id. Is there anyway I can save that data? One idea is to release an app version with the previous team that saves the Keychain data to user d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hashicorp consul-template does not recognize .ServiceMeta I’m quite new to consul, but trying to get into it. While playing around with services and changes on time with consul-template, we try to use added meta data to the service. The key/value pairs are correctly viewable within the service catalog details, but e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (single) Char to ReadOnlySpan How to turn a char into ReadOnlySpan<char>?` I know those ways char fooChar = 'a'; ReadOnlySpan<char> fooReadOnlyCharFromString = fooChar.ToString(); //will implicitly cast ReadOnlySpan<char> fooReadOnlyCharFromArray = new ReadOnlySpan<char>(new [] { fooChar }); https://dotnetfiddle.ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: NoClassDefFoundError jakarta/servlet/http/HttpServletResponse when starting Solr Using Solr 8.11.2 (Jetty 9.4) with Java 11, we're having the following error at startup: java.lang.NoClassDefFoundError: jakarta/servlet/http/HttpServletResponse java.lang.reflect.InvocationTargetException at java.base/jdk.int...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tkinter unable to clear the label import tkinter import random import time score = 0 num1 = random.randint(1, 10) num2 = random.randint(1, 10) result = num1 + num2 timeleft = 30 def add(): return num1 + num2 def mul(): return num1 * num2 def div(): return num1 // num2 def sub(): return num1 - n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Springboot RestController class not working // this is my Controller.java package com.example.demo; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting Some Multiple Select On Function Wordpress function example_cats_related_post() { $post_id = get_the_ID(); $cat_ids = array(); $categories = get_the_category( $post_id ); if(!empty($categories) && !is_wp_error($categories)): foreach ($categories as $category): array_push...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why isn't subprocess.Popen starting an app correctly from a .pyw file? I have a .pyw python program that I use to give myself some keyboard shortcuts at work. One of the shortcuts is to open a new Google page. However, every time I try to use this shortcut it will open a blank white window for about 2 seconds, then ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Function overloading example used on typescript docs I was reading the TypeScript handbook and I stopped on the section Writing Good Overloads. They say: This function is fine; we can invoke it with strings or arrays. However, we can’t invoke it with a value that might be a string or an array, because TypeScript ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: where data usage tracker file is saved in android device? * *I want information about data usages of android device and want to show a graph from that. *I'm getting memory information from the adb command but not getting a way to find data usage of mobile and wifi network. *I searched for adb command for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to embed additional metadata to a video file in libavcodec (FFmpeg C source code fork) I'm trying to extend an existing codec (Hap) inside ffmpeg library, adding some additional stuff to it (I'm modifying FFmpeg code in my own fork of it). One of the things I'd like to do is to store a per-file maximum encoded p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to integrate CLIPS with GUIs for .NET to design a graphical user interface in CLIPS for expert system Using a radio button and a button Am writing a program with CLIPS for expert system that will diagnose symptoms and conclude the type of disease affecting a watermelon plant. Now I want to use .NET to design a g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'code': -32000, 'message': 'dynamicfee tx is not supported by signer I am using web3 python package to create transactions on BNB Chain (testnet/chainID:97). tx = { 'chainId': chainId, 'nonce': nonce, 'to': address, 'value': value, 'gas': gas, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Removing items from nested json in Python I have to manipulate nested json file in way that only one assignment stays. How it looks now: import json a = ''' { "tasks": [ { "Assignments": [ { "EmployeeId": "1000", "TotalWork": 1, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to load multiple, varying references for BLEU metrics with DataLoader? I have an Image Captioning dataset, where each sample is composed by an image and a list of captions. * *Each sample has one or more captions *The number of captions can be different for each sample. Here's a visual example: I am using P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native Chart Kit automatic scale axis Creating a Chart in React Native, I am using : react-native-chart-kit I can create Segment "segments : The amount of horizontal lines - default 4" but can"t find a way to do it with Vertical Lines. When Segment change, number of LABEL change dynamicaly : Segment TO 5 Segm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to wrap shared pointer over ncurses WINDOW raw pointer returned by newwin() I am using ncurses in one of my projects. Creating windows in ncurses by the newwin() function returns a WINDOW* pointer. I want to avoid the use of raw pointers in my code as it is not best practice and was trying to wrap it in a sha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Refactor to reduce the number of lines I want to avoid rewriting "if" many times (as they are literally same code). How can I refactor to write only one "if" and pass only the differences. Thank you.
{ "language": "en", "url": "https://stackoverflow.com/questions/75603929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to create process using 'C:\Users\Sandra P\anaconda3\python.exe "C:\Users\Sandra P\anaconda3\Scripts\conda-script.py" --version' I am trying to use Command Prompt for basic purposes like getting the version of conda in my system. But then I am getting this error. There was no such issue when I did the same to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: turn json result in DataFrame I need to extract latitude and longitude by API, it's done but I want to extract both lat and lon only. Below was the code and result: Code: import pandas as pd import json import requests #Read building file csv (in utf-8) df=pd.read_csv('Building(LocationIQ).csv') #API call ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Enabling "All Tasks History" in Windows task scheduler and its impact on storage space I have found many posts here about enabling task history in Windows Task Scheduler. For example, this one is pretty popular (How can I enable the Windows Server Task Scheduler History recording?). But unfortunately I did not find ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OutlineSpotShadowColor under API 28 I'm trying to disable clicking effect on Material Chip. In Api>28 there is outlineSpotShadowColor attribute. And how to handle this on Api<28? In my adapter i'm adding chip and disabling this color: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { chip.outlineSpotShadowCo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix error in folder android from flutter project? Detail problem: The supplied phased action failed with an exception. Could not open init generic class cache for initialization script 'C:\Users\ADEITY~1\AppData\Local\Temp\d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle' (C:\Users\Ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hide columns with checkbox So im trying to create a function that will automatically hide columns if the checkbox in the first row of that particular column is false. I tried this formula but have had no luck yet with making the formula work. function Startdata() { const ss = SpreadsheetApp.getActive(); const sheet ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plot a pie chart based on counters in grafana Let's Say I have 3 counters c1,c2,c3. I need to plot a pie-chart in grafana using these counters. c1/(c1+c2+c3), c2/(c1+c2+c3) and c3/(c1+c2+c3) covering the area of pie-chart. Can some one help with promQl query to plot the same. A: We just need to add queries for each...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to get column value for the next day in the same table My table contains data such as date value 2023-01-01 100 2023-02-02 400 2023-02-03 749 2023-02-04 432 I want a new column which will take the value for the next day date value next day value 2023-01-01 100 400 2023-02-02 400 749 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to disable reCaptcha in firebase phone-auth (OTP) in 2023? In the past, reCaptcha was used as a fallback for the SafetyNet API. However, since February 2023, no new project can use the SafetyNet API anymore. It seems like the successor - the Play Integrity API - cannot do the same job as the SafetyNet API. All t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to change urls for "Add", "Change" etc. buttons in Django Admin? My Django admin panel on production server has url https://example.com/app/admin, but when I click on the buttons near my models (on the screenshot), I'm redirected to https://example.com/admin/metrics/..., without an /app/ part. If I manually go t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding properties with a known type to an object doesn't carry over or preserve that type I've got this situation I'm trying to puzzle around: type MyFooType = string[]; type MyBarType = (sound: string) => () => string; type EntryType = () => (sound: string) => string; type AnotherEntryType = Record<string, string>;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: AJAX won't load request I am working on date filters for a line chart with Chart JS and after modifying, including the values of the date ranges, the chart won't work. I don't get any errors logged in the console. There are 3 PHP files in use: one to store and manage a connection with SAP, a second one to handle the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python 3 rstrip() I'm learning the Python Essentials 2 from Python Insitute at the moment. So I'm a noob. Could someone explain to me why print("cisco.com".rstrip(".com")) would only return "cis"? I understand rstrip() will remove the characters in the argument from the end of the string "cisco.com". In this case, t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Block REST clients from using insecure https connection to my spring boot REST api I have created a REST API using Spring boot web(2.7.9). It accepts an empty POST request(just POC purpose) and returns a String response. @RestController @RequestMapping("api/v1") public class Endpoint { @PostMapping("/start") pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python find difference between two list of dictionary I try to find out the difference between two list of dictionary based on value of certain keys: test_list1 = [{"name" : "name1", "number": "number1", "data": "data1"}, {"name" : "name2", "number": "number2", "data": "data2"}, {"name" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The SELECT permission was denied on the object 'ScalarFunction', database 'xxx', schema 'xxx' I have a scalar function on server A that should return some sort of result. The function uses linkedserver to fetch data from server B. ALTER FUNCTION [schBilling].[fGetAccountingBalanceById] ( @Date DATETIME, @Cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What exactly does the coordinates command in the R package sp return from a SpatialPolygonsDataFrame? I have a large SpatialPolygonsDataFrame that describes a species distribution. It has four main features for different parts of the species range (e.g. breeding area, wintering area etc). Each of the four features i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is SemanticScreenReader.Announce(CalculateBtn.Text); I can delete this in my code if VS has not bugged and my app still works. I want to understand what this does but i can't because i could not find an explanation. I looked it up on the internet could not find a good answer. Thankyou in advance. A: It's in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plotly stacked bar graph I am trying to get a stacked bar graph with these instructions : fig = go.Figure( data=go.Bar( x=collecte_annuel_classe.index.year, y=collecte_annuel_classe, marker=dict(color='blue'), xhoverformat="%Y", xperiodalignment="middle", hovertemp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Could not access properties to req.query object in expressjs I have a router: router.get('/top-5-cheap', aliasTopTours, getAllTours); And middlewares: * *Middleware aliasTopTours: Here I want to add some properties: req.query.limit, req.query.sort, req.query.fields import { Response, Request, NextFunction } from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mini Cart doesn't include fees Using very sιmple code to add fees in woocommerce cart. add_action( 'woocommerce_before_calculate_totals', 'modify_cart_price', 13, 1); function modify_cart_price( $cart_obj ) { $cart_obj->add_fee('Fee Description', 10); } the code works as expected in cart and checkout, however i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to change android CalendarProvider's RecurrenceProcessor? As we know, every instances of recurrence events are stored in CalendarContract.Instances database based on Gregorian date which is used by most of the people around the world. But I have some users (Persian people) which prefer using Persian...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement something similar to FlowRow in JetpackCompose I'm creating an Android App using Jetpack Compose. I'm stuck on the list of interests. When one item can't be placed in the first row it should go to the second row. I know there was something like FlowRow, but now it is depracated. Any way to do this n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: onNext and onComplete not called when using anonymous subscriber I have the following code Flux<String> myFlux=getFlux(); documentIds .windowTimeout(WINDOW, Duration.ofSeconds(5)) .onBackpressureBuffer() .takeWhile(d -> !interrupted.get()) .subscribeOn(Schedulers.fromExecutor(proc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add vertical space within legend I have a large plot with a long legend. Is it possible to add vertical space after certain items? For instance, if I use the plot shown here as an example, is it possible to add additional vertical space between the items fog-rain and snow-sun (this is of course just an arbitrary exa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Subscribe to an XML-Message in another BizTalk application we've started to use BizTalk in our company and now I am facing the following scenario which I am not sure how to properly implement. Scenario There is an application, let's say com.xmlapp, that receives data and constructs an XML message in its orchestrati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Geopandas: OSM download problem (UrbanAccess) Complete beginner here, just crash-coursing the sample code of a python package "UrbanAccess". Everything was going well, except one part where I have to download the OSM: (The geopandas version is 0.12.2.) nodes, edges = urbanaccess.osm.load.ua_network_from_bbox(bbox=b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to make more than one dns record on one server. Multiple websites I'm trying to host multiple websites on a server. That is no problem, but I don't know how to setup multiple DNS records for that. Maybe you can help me. I'm trying to achieve something like this: I have my server with its ip I want to host multip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it possible to use a notification channel from a different project? I'm currently setting up an AlertPolicy in GCP. I have been able to succesfully connect this AlertPolicy with a Notification Channel that I created in the same project. So far so good, but what I really want to do is define all my Notification Ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: whisper ai cmd shows "failed to create process" I just got a problem, and I would like to know if anyone can help me. When I try to launch whipser it states "failed to create process." Looking around, python39 (made a new instal of 3-9) (the folder whe I installed Python which happends to be on program files) doesnt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Check version of .NET using WIX Toolset I'm working on an installer for my C# application using the WiX Toolset. I'm using this code on my Product.wxs to check if .NET runtime is installed: <PropertyRef Id="NETFRAMEWORK45"/> <Condition Message="This application requires .NET Framework 4.5.1. Please install the .NET ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenSSH fails to authenticate user with AD group I have installed and setup OpenSSH on Windows 2019. I have edited the sshd_config file to allow access to a particular AD group as shown below : AllowGroups domain\group_name When I try to login to the server using my WinSCP, it authenticates successfully when I just ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75603998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }