text
string
meta
dict
Q: when publish blazor project ON IIS i get error 404 although it working perfect on my pc? I working on web application with blazor app with .net core 7 . I build my application and run it on my local machine it working perfect without any issues and display and retrieve data . when publish it on IIS after that I test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get all docs ID in Firebase and list them in Firebase Flutter I want to list all documents's ID from my Firebase collection (type double). How can I do that? I've done just manually, one by one, just like the example bellow. Is there any way to get all the documents programmatically? _listDocsFirebase() as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add and Remove Active Class on Click but preventDefault stop the action to the href (html) CSS $(document).ready(function () { $('.menu li a').click(function(e) { $('.menu li.active').removeClass('active'); var $parent = $(this).parent(); $parent.addClass('active'); e.preventDefault(); });\[enter ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 8sentences separated notepad+ i would like to regex a password field that contains 8 sentences separated like password : i like something going on there … etc
{ "language": "en", "url": "https://stackoverflow.com/questions/75569777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Unable to resolve component could not be found within the project or in these directories: node_modules I'm setting up react native project with typescript, and I was struggling with the import setup for days, I'm having this error when importing a component that I write myself, not from library: error: Error: Unabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write text to embedded file in J2ME? I want to create application with embedded file in J2ME. I was able to read text from the file (with InputStream), but I didn't succeed write to the file, I tried with OutputStream but I don't find much information about it, and I tried with FileConnection but it requires ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading different video resolutions on the page for different screen resolutions I searshing some way to realize loading different video resolutions on the page for different browser resolutions. On desktop devices, loads 720p video on devices with a browser less than 1200 pixels, loads 1080p video on devices with a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DLL load failed: The specified module could not be found。 When installing the cartopy library, the following error occurs import cartopy.trace ImportError: DLL load failed: The specified module could not be found。 I tried reinstalling the anaconda version, searching online for tutorials, but to no avail
{ "language": "en", "url": "https://stackoverflow.com/questions/75569784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: This is kind of hard to explain, but how do I make the iterator variable not reset after being redefined in the loop? def loop(): for i in range(10): if i == 3: i += 5 print(i) loop() This code outputs "1, 2, 8, 4, 5, 6, 7, 8, 9" When i == 3, it gets set to 8. But on the next itera...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Instaloader - having problems with downloading stories metadata I'm trying to download stories metadata from a list of usernames, but my code simply doesn't work, I not so familiar with python so I don't know what's wrong with it, my main objective is to find stories that mentions a certain username, and if does I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make multiple consecutive reads on a socket? Currently, I am trying to handle a TLS connection in C++. I have already successfully written the Client Hello in the socket, however I am having trouble reading from the socket. // poll until server hello is received int len = 0; while (len == 0) { ioctl(soc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: scp refuses to do anything but print usage I'm trying to copy a file on my AWS EC2 network using scp. However, every time I run it, it just prints usage instructions. $ scp -i "assignment2.pem" /Users/Documents/Winter'23/Assignment/Assignment2/assignment2.zip ec2-user@ec2-21-011-222-111.compute-1.amazonaws.com:/hom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R - How to subset data based on density distribution? I have some (a looot of) data and would like to exclude values with low occurrence in order to remove background signal from my data. Here an example, illustrating the question: data <- rnorm(10000) ggplot() + geom_density(aes(data)) + geom_hline(yintercept =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Youtube Data API Python call via API KEY causes server timeout I want to start working with the Youtube Data API by calling simple search list calls on a local server via the Python implementation. I am only reading data and I want to use the API KEY only to avoid any pop-ups etc. The sample codes and tutorials usua...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Variable is not accessed in Pylance For some reason, I am receiving an error on VSCode that says the specific variable is not accessed Pylance and each variable says the same thing, Am I missing something simple? full code below: score = 0 def gen1_questions(): q1 = input("Question 1. What is the rarest M&M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why the font for the button is not applied? * *// *ViewController.swift *SpreadLove *// *Created by Mekala Vamsi Krishna on 25/02/23. *// * *import UIKit * *class ViewController: UIViewController { *@IBOutlet var titleLabel: UILabel! *@IBOutlet var signInFacebookButton: UIButton! *@IBOutlet var signInG...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Is `autoLoadEntities: true` meaningful in TypeORM + NestJS if we need to enumerate the Entities anyway? If I have understood correctly, when setup the configuration of TypeORM, we need to specify ever autoLoadEntities: true with TypeOrmModule.forFeature([ Entitry1, Entity2, ..., EntityN ]) or entites: [ Entitry1, En...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How would I turn a spoken number into an integer in javascript? In a script that I wrote for voice recognition, I stumbled upon a problem. I could not convert the given format of number into an integer, eg: "five", to a number, eg: "5" Some examples of what I've tried to do is to convert seven to 7 or nine to 9, and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Treating a nested struct of the same leaf type as an array In C, I can take a struct like figure here: struct point { int x, y; }; struct box { struct point left_top, right_bottom; }; struct figure { struct point points[100]; struct box bounding_box; }; and just treat it as an int array, which is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to evaluate images against a trained model? I have a trained Image Classification model saved that I want to use to predict sets of images. I essentially followed what this example and many others do https://learn.microsoft.com/en-us/dotnet/api/microsoft.ml.visioncatalog.imageclassification?view=ml-dotnet. So i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: linux perf error when adding a probe with arguments I'm trying to add a probe to ruby and it works fine without arguments: perf probe -x $(command -v ruby) --add 'vm_search_method.isra.0' When I list the available arguments I see: perf probe -x $(command -v ruby) --vars=vm_search_method.isra.0 @<rb_dtrace_se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent threads from accumulating in python? So I have some simple code that is using multithreading. It's working just fine however I'm noticing that the threads aren't being destroyed after returning the values since everytime the script runs, the Thread number in console goes up and the RAM being used also...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What are fastest data types to use as an alternative to C++ Vectors in Python? I'm new to python as a c++ programmer, and I'm making an app that has unforeseeable appends to a list. I know that numpy has the .append() function, but as far I understand, it makes a second array that's n+new size and copies that to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connect Twilio and Dialogflow CX for agent handoff I went through the documentation on both Twilio and Dialogflow CX and have implemeneted an agent on Dialogflow that asks the caller for the direction of their call. I am able to have the handoff and transfer the call, but I need to transfer the call based on user pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to slowly move a slider with selenium I'm trying to move a slider slowly and smoothly with selenium but haven't found a way to do so. https://jqueryui.com/slider/ ive found 2 methods of doing it, the first one moves it slow but not smoothly and the second one i was trying to use drag and drop to do it but it jus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: is it possible to use pixel coordinate to add a marker on a map I am using an openstreet map plugin and for now there is no method to add Marker click listeners on a map, hence i want to add it from the flutter side . The only way i can do it using it with a stack widget and find the coordinates of the map, then con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript doesn't narrow types in case of explicit object keys and string type I have next setup: export const PRISMA_TYPES_TO_TS = { 'Int': 'number', 'BigInt': 'number', 'Decimal': 'number', 'Float': 'number', 'String': 'string', 'Bytes': 'string', 'Boolean': 'boolean', 'DateTime': 'Date', }; c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Python, is there a way to do a partial application with types? I'm trying to understand how to annotate a function that may be a method: from typing import Callable, Generic, Protocol, TypeVar, overload, Any from typing_extensions import ParamSpec, Self, Concatenate V_co = TypeVar("V_co", covariant=True) U = Ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot get out of iframe I have written a code to click on a textarea inside a form. To clear content of the text area and write a new text I have to go into that iframe. I am able to clear content and write a new text but unable to click on submit or cancel button which is not inside that iframe (apparently outside...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google OR-Tools OP-TW implementation not respecting time window constraint Trying to implement an OP-TW problem using Google OR-Tools,however the results are not correct. Not sure where the issue is, hoping someone can guide me. This is the Network of nodes/cost/time windows: Network of nodes/cost/time windows This ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use sort() on array of structs, initialized with user inputted names I do not know how to use sort() to list the student names in alphabetical order. I know the general format of it, my prof gave us a page showing it as sort(array.begin(), array.end()); I This code is honestly beyond what we've learned in cla...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A thought among many Human interface device to establish root identity... riding in on the electrical current or rather the path that registers to the android device that the power is being charged . Sorry im new and way way not qualified to be among you but if someone spends time and wants to tickle my fancy or jus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to mock spyon and return an Observable in Angualr Jasmine Karma Test case How to spyon an observable and mock data in this scenario. In my angular 14 app, I am writing unit tests using jasmine and karma. Following is the service(UserService) and I want to mock the observable and return mock data. It has a getUse...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ggplot to generate the stacked bar chart with two y axis labels I try to copy the style of stacked bar chart like below by a seurat object metadata. enter image description here Here is the code I try and generate like below. p1 <- ggplot(meta_data, aes(y = interaction (cohort, factor(meta_data$patient_ID,levels = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I select all items in a listbox Windows Form using powershell? I am trying to select all items from a listbox. I tried the accepted answer in this article: How do I select all items in a listbox on checkbox checked? but it does not seems to work with powershell. I am getting the error: The '<' operator is res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React app robots.txt file automatically coming back to its original version I updated my robots.txt file to User-agent: * Disallow: /search Disallow: /category/ Disallow: /tag/ Allow: / Sitemap: https://www.example.com//sitemap.xml but after a few hours, it's showing me https://www.robotstxt.org/robotstxt.html User-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring NoSuchMethodError when calling ResponseEntity.getStatusCode I have a spring boot application which is using spring boot web 3.0.3 and I have a lib that is using 2.6.7 spring boot web but in my lib response.getStatusCode() is throwing an exception NoSuchMethodError but when I debbug with intellij I have the va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Install ODOO on windows along with other version and run it without error? I am facing lots of error by following 1 st step * *Database creation error: FATAL: password authentication failed for user "openpg" *OperationalError: FATAL: password authentication failed for user "openpg" *psycopg2.OperationalEr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Too many constants in AnyLogic I am using AnyLogic traffic libraries but when I compile I get the following error: Description: Too many constants, the constant pool for Main would exceed 65536 entries. Location: Traffic/Main - Agent Type I only have the roads, I haven't put the agents or the traffic flow yet, I jus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: linear mixed model with fix var component in R It is straightforward to build an LMM with fixed variance components in SAS. For example, variance components = 5 and 10 (experimental error and sampling error, respectively) proc glimmix; class trt rep; model y = trt; random rep(trt); parms (5)(10) / hold=1,2; ods outp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: A script that searches through the text of all sub-directories' files for a string then prints to a created file I'm a scripting noob and I'm stuck on this problem. I would like the code to do a few things: * *Ask for user input for a string to search for. *Iterate through the sub-directories from a given file pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: REACT Redux profile picture not appearing I have a Banner(header) that should be displaying the profile pic in an avatar after the user logs in a second time. When the user registers and it automatically logs them in the prof pic is there but when they sign out and sign back in the profile picture does not appear. M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can i create new page using javascript with /${slug} from api? I've been trying many different methods like blob and creating new document I want to be able to create MYSITE.COM/blog/${slug} when clicking the READ MORE button instead of opening a new tab with a blank? Is there some solution to my problem and a w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keras LSTM model output has wrong dimension I want to create a LSTM model which takes stock market information as input and predicts price as output. The x_train has a shape of (35676, 10, 10). the x_test has a shape of (8920, 10, 10), the y_train has a shape of (35676, 1) and y_test has a shape of (8920, 1). When I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: i am able to navigate but i am getting an error below enter image description here `I am new to react native and i am trying to navigate through screen using fire base authentication and stack navigation and i am getting this error The action 'NAVIGATE' with payload {"name":"Chat"} was not handled by any navigator. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the meaning of characters in the comment? I often read C++ code in woboq with code browser. But I can't understand some characters in comments. There are many characters like \c , \sa, \fn. I think these are abbreviations of some terms. For example, >A QObject instance is said to have a \e{thread affinity}, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to clearly kill a mpi program which is launched by Qprocess? I have a pyqt program and there is a requirement to run an external mpi program. I use Qprocess to launch the mpi program. Howerer, I find when I call kill method to terminate the mpi programs, the mpi processes is still running. Do anyone know how to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: composing an async function with unknown number of arguments and return the correct type I wanted to do a helper function that wraps an existing async function with a variable number of arguments, so that I can call it as such: const submit = wrapLoading(async (values: string[]) { // await something with values ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to get value of an item in array with useFieldArray Here's the field array initialization: const { fields, append, remove } = useFieldArray({ control, // control props comes from useForm (optional: if you are using FormContext) name: "items", // unique name for your Field Array rules: { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error of Graph disconnected is raised when I create an autoencoder I am trying to create an autoencoder, but I meet this error raise ValueError( ValueError: Graph disconnected: cannot obtain value for tensor KerasTensor(type_spec=TensorSpec(shape=(None, 32), dtype=tf.float32, name='input_2'), name='input_2', descrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get the "Error number" of a "warning". "Microsoft Office Access can't append all the records in the append query" I want to identify the error number of this "append query" error so that I can display a message using the ErrorHandler", to the user to use a different method. Example use the "Edit Form" instead of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Exiftool mp4 metadata python I have code to change the mediacreated date for mp4 meta data with the following code cmd = [exiftool_path, "-overwrite_original","-CreateDate={}".format(new_date), directory_file_name] i noticed that sometimes that the media created in the file explorer details tab that it'll somet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MobileMapActivity won't run without Google Play Services, which are not supported by your device I create a android app for Google Map Activity. In this, the google cloud project was created and the API was created and its key was brought to the AndroidManifest.xml file. Also API Enabled in Maps SDK for Android. But...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Notice: Undefined index: ABC World in /def.php abc.php I have a php code in the abc.php file as shown below in which I am passing 'ABC World' and $name in the hasWorld function. $yuvr = $document->hasWorld('ABC World', $name); def.php The function hasWorld() definition is in the file def.php as shown below: public ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Azure python3 SDK - recovery_service_client - Error AttributeError: 'str' object has no attribute 'get_token' I need a python script, to list all Recovery service vaults in a particular resource group. Here is my code: from azure.core.credentials import AccessToken from datetime import datetime, timedelta from azure...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Monkey Patching to Add Functionality In python, I have some string utility functions I commonly use. These include extensions of built-in methods (such as a split function that supports both normal strings and regex), helper functions for built-in methods (such as a strip function that has parameters for what to str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display two complete images in the same div size, like behance? First of all, sorry for my bad english It turns out that I am trying to make a section where several images are shown, the format is that the user previously loads the images and the number of columns per block/div from a form. Now my problem is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I just want to plot using Plotters data from a Polars dataframe in rust I just want to plot data from a Polars datafram into a plotters image. I need help. I followed Iterate over rows polars rust to have this : let iters = dataset .columns(["x", "y"])? .iter() .map(|s| Ok(s.f64()?.into_iter())) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Terminal not using newest bash_profile configuration I was trying to set up the mvn command, I downloaded maven on the official Apache website and wrote export M2_HOME="/Users/Bohan/apache-maven-3.9.0" PATH="${M2_HOME}/bin:${PATH}" export PATH in the bash_profile. Then I tried command mvn -version to see if it works...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to append a line to a specific block in a file with fs I need to append a line to a block inside a file with fs. I have a file that has a block: dependencies { ... } I would like to add a line to this block with fs so it prints: dependencies { ... implementation files("../../node_modules/react-native-star...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spark3 Vector UDF vs Regular UDF What is the difference between udf and vector udf in spark 3 as vectorized udf is new feature as per spark documentation I know in In Spark 3, a user-defined function (UDF) is a function that you can define in a programming language such as Python or Scala and apply to data in Spark ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to put a window inside a MATLAB interface? I have to make an interface in MATLAB, but I have to put some specific methods like plotconfusionmatrix, but I have no idea how to put it inside the interface. Can that be done? or do you have any suggestion? plot(app.Uiaxes1, plotconfusion(net),1)
{ "language": "en", "url": "https://stackoverflow.com/questions/75569918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Ruby on Rails - Get all associated records of a table I have this table called Group. class Group < ApplicationRecord belongs_to :admin, class_name: "User", foreign_key: :admin_id has_many :memberships, dependent: :destroy has_many :users, through: :memberships has_many :tasks, dependent: :destroy has_many...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: req.body not there after second multer middleware My code does the following: * *Parse the multipart form data *Upload Book details to mongodb atlas, get the id and pass it to next middleware *Upload a pdf for that book with the filename as the book id generated in step 2 *Do further processing using req.body ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qt5Charts is not recognized in visual studio on windows even if it is in the Qt folder I'am new in Qt and C++ programming. I just install Qt 5.12.2 and intel C++ 2023 on my new machine and tried to run my code which is a C++ code built on Visual Studio on windows. The code use to run with no problem on my old machin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Add hyperlink to a Tkinter canvas I would like to be able to have a text hyperlink on my Tkinter canvas in Python. Here's my code: from tkinter import * import webbrowser def callback(url): webbrowser.open_new(url) home = Tk() home.title("OneLink") c = Canvas(home, width="700", height="500") c.pack() home_te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connection Request count using linkedin api I want create an simple app where user can get count of connections request sent for that day. Is that possible. I want to create a app
{ "language": "en", "url": "https://stackoverflow.com/questions/75569931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix error "Could not resolve dev.architectury:architectury-pack200:0.1.3." for my java project? I have a java program (with a couple of classes) that I need to export. To export it, I use the gradlew build command. But I always encounter this error Could not resolve dev.architectury:architectury-pack200:0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get errors dynamically when typing in fields Formik How to get error data dynamically in Formik when entering characters into fields? I get error data only when focus is lost, but I want it right away when I enter the first character. const validationSchema = Yup.object().shape({ username: Yup.string()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Loop Over Set of Files? In Haskell, I am trying to process a list of files to a function (similar to a "for f in file1 file2 file3 file5 do ... in Bash"): import System.Directory returnDirectoryContents :: IO [FilePath] returnDirectoryContents = do let path = "." filter (isSuffixOf ".txt") <$> getDirectoryCon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to find best number of layer and best size of hidden layer of MLP in GridsearchCV I want to use GridsearchCV find best number of layer and best size of hidden layer. I try to set hidden layer as list find best number of hidden layer. df = pd.read_csv(r'C:\\Users\data.csv') X = df.iloc[:,:20] Y = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Long delay between Spark driver + executor allocation and an initial stage starting In the Spark UI for one of my applications, I reliably see a long delay (10 - 15 minutes) between allocation of a driver to the application and the first stage starting. What situations might cause a delay like this? I'm not sure if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pyrogram Error don't getting response from telegram bot api_id = “your_api_id” api_hash = “your_api_hash” bot_token = “your_bot_token” from pyrogram import Client, filters # create a new Pyrogram client app = Client( "k", api_id=api_id, api_hash=api_hash, bot_token=bot_token ) # define a function to handle incom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mysql date with and without milliseconds The mysql database stores the date in the format 0000-00-00 00:00:00.000000. If you make a query to the database, the database will return the date not always in this format. If the milliseconds are all zeros 000000, then the database will return the date in the format withou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to validate checkboxes with same css class name I have a form that contains several questions. Some of these questions are checkbox inputs. When a form question is generated, it follows the following structure: * *Contains the parent div <div class="checkbox"> *If the checkbox is a required field (user must s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I implement multi class object detection in tensorflow object detection api using eager few shot detection? The colab of the original code says its quite simple but im not able to achieve that can anyone help me with that
{ "language": "en", "url": "https://stackoverflow.com/questions/75569962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How do I add code for Generating download link( inspired from filecr.com) I want to add a waiting time for download link on my WordPress site but i don't know how and I also search on the internet, are not what I want. The one I want is on a website called filecr.com, when you try to download any software it will sa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CSS to apply if desktop window size is less than certain dimensions? I'm using CSS as follows to make some things fixed while others scroll /* This makes the section fixed */ .fixed-section { position: fixed !important; left: 0 !important; top: 0 !important; pointer-events: none !important; } /* This makes ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to print out all GC Details in .NET 7.0? I deployed my applications in kubernetes. some of the service keep getting OOM Killed. I've tried to change GC Variables many times, including GC Heap Count & GC Heap Limit using environment variables. I even upgrade my nodes to have higher memory. But the is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex by group not working in RAD software i am using below regex with group name in rad software regular expression which is working fine individually but when i combine them - grouping misbehaves regex1 - Throughput\s*\|(?<T1>[\d\.]+(?:\s+\w+)) regex2 - Connection rate\s*\|(?<T2>\s*[\d\.]+(?=\s*\|)) individual b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Whenever I put the code "ionic serve" this error appears ionic serve ng.cmd run app:serve --host=localhost --port=8100 [ng] Node packages may not be installed. Try installing with 'npm install'. [ng] Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package. [ERROR] ng has unexpect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Function called in inline style triggering twice whenever form is updated I have a select form for choosing a colour from a list of colours (each colour is an object of id, name, and hex). In the UI, the selected colour can be previewed next to the select dropdown; I am using inline styles to set the preview colour....
{ "language": "en", "url": "https://stackoverflow.com/questions/75569977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Agregue el botón "Pagar por pedido" en WooCommerce Mi cuenta Pedidos Columna personalizada Basado en el código de respuesta de LoicTheAztec para Agregar un botón de pedido de pago en WooCommerce Mi cuenta ver pedido para pedidos pendientes , he agregado código adicional en un intento de hacer que este botón aparezca...
{ "language": "es", "url": "https://stackoverflow.com/questions/75569978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: spring boot java app - receiving image/png from golang with different byte size, how to extract raw png from inputstream? I am fetching a png image from golang server to spring boot java application. There is a difference in the size sent and sent of bytes received in spring boot app and due to that, it is not getti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MongoDB deletes a record way before provided expiry time I have tried all the possible solutions online but none of them seems to work.I want to auto delete a record in mongodb after a hour of creation. For this i am using below code but it turns out the record are not even getting stored for even 2 minutes.MongoDB ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Union Type in JPA Given are three tables: Customers (id, name, email) Resellers (id, address) Item (id, customer_id, reseller_id, name, quantity) Item can belong to either a Customer or a Reseller but not to both. Is there a way to have this model in JPA: interface Owner { Long getId(); } @Entity class User imp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flink use kafka as message queue as parameter I want use kafaka message queue as sql statement parameter in flink,but I think there is no difference between using and not using.If I write a consumer in springboot it works fine.So I think there must be a better way in flink.How do I optimize,thinks. StreamExecution...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uncaught (in promise) Error: Unable to resolve bare specifier '@microsoft/signalr' I want to use signalR in RazorPages web In typescript file: import * as signalR from "@microsoft/signalr"; Create a connection to hub. const connection = new signalR.HubConnectionBuilder() .withUrl("/hub") .withAut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Calculating sd of sample data from a regression line with a specific R^2 value in R I am trying to generate a random data set from a regression line with a specific r-squared value in R. My idea is to create a random data set with rnorm(n, mean, sd), where each parameter in the function is estimated from the given r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to use Python get the image URL and this URL is dynamically loaded after the page was loaded, and I can't find this URL in the API call? My target is to get the Full image URL and download this picture. Page URL: https://allinone.pospal.cn/m#/details/6223421 The challenge is this URL is dynamically loaded after ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Combine Month and Year of Data frame to Time Series Data I have global temperature dataset of the following format: YEAR JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC 1880 -0.30 -0.21 -0.18 -0.28 -0.14 -0.29 -0.24 -0.08 -0.17 -0.16 -0.19 -0.22 1881 -0.09 -0.14 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple runtime engines in kubernetes? I want to run some gpu workloads on my bare metal k8s cluster. So I have installed the nvidia containerd runtime engine on my cluster. But the cilium cni pods crashes when I make nvidia the default runtime. (I'll post about that some other place) I'm thinking I should be able ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: DockerImage and command for Azure ML studio singularity training job I am attempting to start a Singularity training job on Azure ML studio that would open a jupyter notebook and allow me to train my model. But unfortunately I am not sure how to complete the inital setup. What should go in Docker Image and command. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I subtract 16 characters from the end of the output? I am trying to make a program where you encrypt a piece of data and then subtract the last 16 characters from the output. import hashlib # initializing string str2hash = "test" #input # encoding GeeksforGeeks using encode() # then sending to md5() result ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: BioManager update issues at the moment to update in RStudio I've been trying to update my BioManager since it is out-of-date, but at the moment to run the command in RStudio: BiocManager::install() I'm receiving the next message problem: Error in unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only,:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75569999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am trying to calculate a distance formula between 2 locations (or classes) using the Great circle distance formula I have 2 different classes that model a Station Location and the other a calculated Location. These classes used to be a part of each other in one class but I have separated them out due to instructio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Julia: How does GCP Cloud Build uses a different DEPOT_PATH? I am trying to run a simple Julia HTTP server on Google Cloud Run. So I test the application offline by running the docker using docker run -it --rm -p 8080:8080 test-julia which works perfectly fine (I built the image with the tag of test-julia obviously)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Typescript: Infer string literal values as a type from function argument or generic type passed in a function I'm trying to build a typescript library for learning purpose, For a better developer experience I want typescript to infer the string literal type from one of the argument passed in function which is an arr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use playwright expect to do an exact match of one of two possible values? How can I use playwright expect to check for one of two exact matches? Here's my function. export const assertThirdPartyInternetPath = async ( page: Page, path: string, ) => { expect(page.url()).toBe(path); }; I am using it to te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why won't my player's Rigidbody2D get moved by my Conveyer? I have a script that takes the rigidbody of anything colliding with it and moving it using MovePosition. The script works for my Plate object but it isn't working for my player. Here is the Script: using UnityEngine; public class ConveyerBelt : MonoBehavio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }