text
string
meta
dict
Q: How to freeze the color of selected shape so that changing theme color should not affect the shape color in power point using Office JS API I am trying to freeze the color of the shape which user has selected, so once the shape color is set frozen the theme color should not apply on it. To set the color of the shape...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optimizing pricing strategy using Genetic Algorithm I want to optimize the best price system for a business using profit, cost of production and revenue generated. what mathematical equation would i use? I could not develop the objective function mathematically using variables so as to visualize my dataframe
{ "language": "en", "url": "https://stackoverflow.com/questions/75582711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Component parameter should not be set outside of its component I am trying to build a component that takes a list of objects and executes an Action that that is defined inside the object when a html button is clicked in the component. The code here is actually working but raising a warning. Warning BL0005: Compon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django server runs twice for the same process when I execute the run server command or reload the server it runs the stat loader twice for the same process. I used os.getpid() to affirm that I'm running two processes but why did the single execution cause the process to run twice? the latest updates was adding dja...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nutanix VM template options I have been given access to the Nutanix prism console to manage the state of the VMs,etc. I see there is a VM template available and when choosing the option to Create VM from Catalog Item don't see the boot configuration option I intend to see. Is there a possibility I can maintain the b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gunicorn freezes intermittently I have a Django project served via gunicorn. Unfortunately gunicorn freezes intermittently, sometimes after a few days of running, sometimes within hours of restarting. The weird thing is that I use the same configuration on 4 of my servers, all running different code, and they all ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why duplicate rows after Where with group by subquery? My goal is to get a list of a product IDs last updated status and I have two tables below. The issues is I'm getting additional rows when I'm expecting to only receive the latest date. If I test the single query to get the most recent ID/date, I'm getting the ri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't deploy my Spring Boot application on AWS Elastic Beanstalk I have an application developed in Spring Boot. I would like to deploy it on the AWS Elastic Beanstalk service. I've already followed some tutorials, I did as requested, but I can't get my application to work, and I believe it's because of the health...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am stuck trying to create from a Blazor wasm template with Swagger. I can see swagger before publish but not after I am using dotnet 7 to create a template wasm. I have added Swashbuckle.AspNetCore to the server project. I have added to the server Project Program.cs ... I publish from the Client project. I am s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retaining a search and filter value after refreshing page with java script I need to get search data after refreshing the page. but I'm unable to get search details after refreshing the page. can anyone help me on this issue. I tried with session storage things, but I am unable to get the data.
{ "language": "en", "url": "https://stackoverflow.com/questions/75582728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Trying to make autoscroll textarea user selectable via checkbox but is working inconsistently I am coding in javascript and want to autoscroll a textArea, moving the scroll bar to the bottom as new data is added. This works but if I try to check if a checkbox is checked or not and enable or disable that feature bas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Decoding output from command line in python I'm facing a problem related to decoding the output from command prompt using python. The script line: command_output = subprocess.run(["netsh", "wlan", "show", "profiles"], capture_output = True).stdout.decode() The error I get: UnicodeDecodeError: 'utf-8' codec can't de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vectorizing to find current number of cars in Python - loop free I wish to do this without a loop (for speed and learning how to). In order to find out how many cars there currently is in the market, imagine you have sales numbers for all years from 1923 up until today. This is the case for 5 different countries. Fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Howto create a function in Wordpress like ?embed=true I am looking to have Wordpress pages able to display without any header/footer (even the wp_head call) much like they do when you use ?embed=true at the end of any wp url. I would like however to keep the embed the same as they are now, and add another query par...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: a question on memory when initialize an object pointed by a pointer in function scope and use of const keyword My question is as followed, const int* const add(int a,int b) { const int* p; int q = a+b; p = &q; return p; } int main() { const int* p; p = add(1,2); cout << *p <<endl; // give ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Products created programatically not visible before saving them manually We are using a integration module to sync products between Odoo and Prestashop. Most products works out of the box but some products are not working before going in the products and saving them. I have tried rebuilding Indexes and emptying cach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I create a new variable that tells me "at least one score" is positive? I did a repeated measurement, so to each ID exist several test scores called "cam.1", "cam.2" and so on. the score is either "yes" or "no". I want to create a new variable that shows me if one of the test scores of an ID was positive (= ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SQL Server on Windows 11 : database engine recovery handle failed I also tried versions 17 and 19 and I get the same error. Windows 10 is installed on the virtual computer and when I tried to install it, it installed without any problems
{ "language": "en", "url": "https://stackoverflow.com/questions/75582740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why does this not work? I've been trying everything, but it doesn't work; doesn't even give me an error Here's the code: local connection = path.Reached:Connect(function() reached = true script.Parent.Reached:Fire(target) end) repeat chasing = true foll...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add page refresh to bokeh output file? My goal is that my html file should be able to refresh itself in the browser. title2 = Div(text='<head><meta http-equiv="Refresh" content="4></head>') . . . layout = column(title,grid,title2, sizing_mode='stretch_both') I was able to put text into h1 element, so I was t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to get a git diff of archive files? I'm using a QA tool and want to make a repo of all my test cases. The test cases are saved in a .tst archive which cannot be read via plaintext but when opened in 7zip can be seen to just be archived xml files. Is there a way to get git to show me merge conflicts by...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Locomotive scroll doesn't work until windows is resized I have an issue with Locomotive scroll on React. When I try to scroll on a image gallery I coded it doesn't want to scroll unless window size is changed. On the main page the scroll is working fine only when I change to /photography page is when this issu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: redis sentinel starts monitoring machine which gets recreated with same IP address used earlier as part of redis sentinel cluster I had done an automation of deploying redis-sentinel cluster via ansible but there is one catch that I am struggling to fix. We use our internal data center in which there is a high chanc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing HTTP context in the exception handler In my Program.cs, I invoke the general exception handling like this. app.UseExceptionHandler(Delegates.ExceptionOptions(app.Logger)); Then, in Delegates.cs, I have the following definition. Since I needed to access the HTTP context, I chose to rely on piggy-backing on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why are elements like if, else ... not highlighted? I am writing a mini code to editor in the browser. Task: when entering such words as if, else, for ... they should be highlighted. textarea.addEventListener("input", function() { // Get the text inside the textarea const text = this.textContent; // Loop th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Function in R to obtain mean on cumulative sum of several replicates My data: treatment replicate date value lo A Jan1 0 lo B Jan1 3 hi A Jan1 1 hi B Jan1 7 lo A Jan2 2 lo B Jan2 7 hi A Jan2 11 hi B Jan2 1 lo A Jan3 1 lo B Jan3 0 hi A Jan3 45 hi B Jan3 8 What I would like to create ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Podman OCI permission to folder issue I am attempting to setup a Jellyfin instance using podman on Ubuntu 22.04 and keep getting an OCI permission denied error on my media folders. Error: error stat'ing file `/media/livingroom/Media Disk/Videos`: Permission denied: OCI permission denied There is only one user on th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to print the string result in this code I want the displayed result to be a string, not a memory address def display(self): selected_item = None if selected_item is None: print("Choose an option:") print(*enumerate(self.items), sep='\n') print("0. Back") I expect the above code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why is Eloquent with() not doing the join? I am trying to have a one-to-many-relationship in Laravel Eloquent. The problem is, that I cannot get a question together with its protectionclass, e.g. Question::with(protectionclass)->get(); This returns the questions only. I have Questions and I have a corresponding prot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to ask, how to create laravel rest api for chat app mobile application I want to ask, please help me, how to build rest api for mobile apps with laravel. Can i get tutorial ? I don't know how to start
{ "language": "en", "url": "https://stackoverflow.com/questions/75582768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I create and format a CSV file using Python I'm working on a program that will combine three different .csv files into one .csv file to be the final export. The purpose of this is to automate some needless copying and pasting time-consuming formatting that we were doing by hand before. The output will be a li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Printing an SVG image to PDF using batik I'm trying to run a legacy code that uses BATIK 1.6-1 to render a SVG file to a PDF. I already loaded all necessary dependency to get it running. When I run it the statement builder.build(ctx, svgDoc) dones not work as expected: an instance of GraphicsNode is not created. Her...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: @setup annotation and @env annotion eveluation I have question about when @setup is called and the @env annotions. In my situation the @setup is being called no matter what the @env annotation is. Seems that the @env annotation is eveluated after that @setup in Karate version 1.3. Is this by desing? @SpringBo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can i insert html in the header of a resourceTimeGridDay/resourceTimeGridWeek in FullCalendar? This is a demo of resourceTimeGridWeek provided by FullCalender https://fullcalendar.io/docs/datesAboveResources-demo I'm trying to add a custom button next to the "Room A" and "Room B" text inside the header cell of e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why would the creation_timestamp and last_updated_timestamp attributes differ for a mlflow.entities.model_registry.ModelVersion instance The documentation on ModelVersion at https://mlflow.org/docs/latest/python_api/mlflow.entities.html?highlight=modelversion#mlflow.entities.model_registry.ModelVersion is kind of sp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I point automatically to some external libraries directory when I install my package with pip? My package needs external libraries (with .dll extension) from a directory located, for example, in "C:\Program Files\NVIDIA Corporation\GSTPlugin" . This path can change, it depends on the computer. It could be in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why should constexpr functions contain exactly one return statement? Reading through the constexpr specifier documentation on cppreference, I've noticed that the standard says the following: [...] the function body [of constexpr function] must be either deleted or defaulted or contain only the following: [...] if t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: SQL concat within a dynamic select statement In my query why concat not working. I need (%) sign after int value in Factory Total row only. DECLARE @cols AS NVARCHAR(MAX), @query AS NVARCHAR(MAX) SET @cols = STUFF( (SELECT distinct ',' + quotename([date]) FROM Table_1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Getting Uninstall string for application from regedit via powershell I have been getting the uninstall string via below script. But I am getting an output like this. MsiExec.exe /I{629388F2-A011-4F5C-A6BF-98A80A25317C} My desired output: {629388F2-A011-4F5C-A6BF-98A80A25317C} After desired output , I will assign ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dockerfile Python ModuleNotFoundError: Two almost identical Dockerfiles but one finds the Module but the other doesn't I've got 2 Dockerfiles, one for my client and one for my server: Client FROM python:3.8 RUN useradd -ms /bin/bash user USER user WORKDIR /home/user ENV PYTHONPATH "${PYTHONPATH}:/home/user" ENV P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to know that the tab where a browser is hosting your APP is revisited again? I notice that if I revisit a tab in my browser after many hours, the tab would immediately updates itself. For example, gmail is like that. What do you call this? How do I get my app to detect when this happens?
{ "language": "en", "url": "https://stackoverflow.com/questions/75582785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: subscribe() is not sending "finalized" object? In my component, i.e. componentDidMount() I am subscribing to a state of my rxjs store, which holds an object array workingHours: WorkingHours[], that might have items for this month (for example an amount of 8 working hours for the date 27.02-2023 as one item out of 28...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenCV functions specifically built for uint8 datatype I am using the cv2.calcOpticalFlowFarneback() function in Python to calculate the optical flow between two images and find the translation vector between the two displaced images. The images which I'm using have been generated by an atomic force microscope, whic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python - create month columns aggregate (pandas) I'm making an ABC XYZ analysis in Python using pandas, I have the following dataset: enter image description here It basically is all product sales for each transaction of each day (yyyy/mm/dd). I need it to give the following output in a dataframe: enter image descri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C# Combo Box - Selected items open different forms Sorry if this sounds very stupid but I am new to C# and just trying to learn the basics. Anyway, I have a bunch of options listed in my combo box and want each option to open a different form. How would I go about doing this? I tried many variations that I have seen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I fix the error : None: b"Invalid id, allowed charaters are a-z, A-Z, 0-9, '_' and '-'." screenshot of error log: The error is coming for a python class. See details of the function below: def run_standard_analysis(self): model_args = {'reg_plot' : True, 'plot_features' : True, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use "PyQt6: QWebEngineView.urlChanged()" properly? Unable to detect .connect() I am trying to implement a web-view using PyQt6 and below is the sample code. The page was opening up successfully, but as soon as I used the urlChanged() bit, it does not work. My goal is - upon opening a specific page, navigate t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to store PySpark struct column in json I have a following column in spark dataframe: TransactionList:map key:string value:struct type_id:integer epoch_utc:long source_type:string numbers:array What would be a proper way to store this in json files, so later it can be easily loaded using Pyth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What are the major differences between Tesseract and AWS Textract? I followed all the blogs and couldn't get or understand the major differences between them. Can anybody please explain ? A: Tesseract is an OCR Open Source Engine, also available to be deployed in Lambda, but you can install it virtually anywhere. A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Secret Manager- allow Compute Engine to auto-renew the certificates I come with Azure background. In Azure, I could establish Key Vault (Azure's version of Google's secret manager) to store SSL certificates and set up VMs accordingly to pull certs from this. New versions uploaded to the Key Vault will auto-re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: xgboost.core.XGBoostError:/Users/runner/miniforge3/conda-bld/xgboost-split_1631904775127/work/src/common/json.cc:458 I am using XGboost library for prediction. When I want to load a pickle file, I encounter the following error: File "/Users/admin/space/ML/model_building/predictor.py", line 74, in load_regressor ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replacing text within the pdf using python With the following code I am able to replace the previous text (new_date) with the new (new_text). However, at the time the pdf is generated the text is not actually replaced. Do you know what lines of code to insert to make sure that the pdf page is actually assigned the n...
{ "language": "it", "url": "https://stackoverflow.com/questions/75582805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is a dimension or fact table more appropriate for this scenario? I'm struggling as to whether I should have this data live as a fact or dimension table, and would like some help. In general terms, the data and business process is a customer's/accountholder's billing activity (customer = accountholder). Most customer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shifitng and moving curve matplotlib So I am trying to make the curve moves as shown in the link, I have thought about moving limits each time but the graph is still static. I have tried before that its starts plot and pause but it wasn't like as shown smooth. https://drive.google.com/file/d/1sBunkQT-8gB2ttCLAmoYQan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: partial string match between two dataframe columns of different lengths R Hi I am having trouble with a partial string match. I have a column of drug names, and a long list of other drug names. I am getting a memory issue error when using map_df to apply grepl. The first list is short, the second very very long. fir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I handle multiple linked server definitions that point to the same dacpac in a SQL Project? One of the things that bugs me about SQL projects is that there are perfectly legitimate scenarios than can be done on a database server than cannot be done in a project. The latest example of this has to do with lin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple chrome instances using docker (ubuntu/Windows) My case: I have a project that parses the website using selenium chrome driver. Currently, I am using 5 computers under Windows OS (1 physical and 4 VM inside the physical). I am using this setup because of the captcha, so each machine has its own public IP (us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set borders of linkers in chord diagram darker compared to inner transparent fill in R I want to create the border for the linkers of the chord diagram darker compared to the inner fill An example of data similar to the one I am working on is set.seed(999) mat = matrix(sample(18, 18), 3, 6) rownames(mat) = p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kindly explain the engine log data of my cplex output? The following figure shows the engine log output of my cplex output.Iwant to know the terms in the output like minimal conflict, time, dual objective etc.
{ "language": "en", "url": "https://stackoverflow.com/questions/75582818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Enumerator is causing issues because source does not exist using Microsoft.Azure.Amqp.Framing; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Xml.Linq; namespace...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How to display the file content of fstream to the console using a function? My homework is like this: Read firstName, lastName, actBalance from the keyboard and form a record. Add this record to the end of this file if the last name and first name are not the same as any existing one in the file (using createRecord...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does the console.log output during instantiation of a Promise object, but does not output when a ".then()" is called on it? const promise = new Promise((resolve, reject) => { console.log("working 1.0") setTimeout(() => { console.log("working 2.0") resolve([90, 70, 55]); }, 7000); }); console.log(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to sum the same index of element in each list of lists to flatten list of lists to single list? c# I have many Lists<(int item1, int item2)> List1....10, all of them contains 10 elements. Lists are combined into the single List<List<(int item1, int item2)>> listofLists how do I sum all of the lists by the same i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find elliptical anomalies using OpenCV? I'm trying to find elliptical anomalies on O-rings using Python's OpenCV. Let's define anomalies as scratches, ups and downs, and sudden color changes that aren't in the direction of the sides of the O-rings. Note that all of the pictures will be taken from above the o-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle CPQ to snowflake I'm looking for some advice on how to extract data from Oracle CPQ to snowflake. I do not have any idea about how Oracle CPQ works and not sure on the data model how the system works. Is there any way we can extract Oracle CPQ transactional data into snowflake? I see rest API's can be used. B...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No suitable driver found for JDBC Netbeans I just started learning java. I'm trying to make a MySql connection with JDBC, but I get the error "No suitable driver found" even though I add the Connector file to the library. here it is the image import java.sql.Connection; import java.sql.DriverManager; import java.sql...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Disable y-axis auto-fit in chart.js Good morning everyone, I am working with Chart.js, I have a need to get a line chart that does not auto-fit the y-axis. That is, I want that whatever value is loaded on the chart, the y-axis remains visible from value 0 to value 409. So that it does not auto-fit based on the min o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to manipulate files and folders in R? I am new to R and would like to learn how to perform basic batch manipulations of files and folders. Examples of the types of manipulations include: * *If I have multiple files in a folder, use an R tibble to identify a subset of those files to copy/move elsewhere *From a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Authentication Error Azure Parallel Step after Several Batches Execution I've executed a parallel step pipeline on Azure. Which runs for around and hours then throws an exception as below Timestamp: 2023-02-27 15:31:02Z InnerException None ErrorResponse { "error": { "message": "AADSTS70016: OAut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get members from a Custom AD role with MS Graph Powershell I'm trying to get the members from a custom role created in the portal with MS Powershell Graph. This custom role is active and has members assigned. I can't get a DirectoryRoleId from the custom role, if it even exists, to run the Get-MgDirectoryRole...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check for ec2 spot interruption notice from Lambda function I'm currently building an application that requires quite a lot of compute resources, making me use multiple EC2s. I am trying to reduce costs by using spot instances. What I would like to do is have 2 autoscaling groups, one with spot instances and the oth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reference a foreign key on a non-MVC Razor page I have the following model with a foreign key (public Agency Agency): using System.ComponentModel.DataAnnotations; namespace DWITracker.Model { public class Officer { [Key] public int Id { get; set; } [Display(Name ="Officer Name...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cant get client ip with nginx using flask Im trying to get client ip, im using flask and nginx. what i tried so far: request.environ['REMOTE_ADDR'] request.environ['HTTP_X_FORWARDED_FOR'] request.remote_addr socket.gethostbyname(socket.gethostname()) request.headers.get('X-Forwarded-For', request.remote_addr) I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Different getter methods for returning instance vs. instance variable based on position in dot notation? Is there a way to implement two different getter methods in Python, i.e. one that returns an instance and one that returns the instance attribute (depending on where the getter is called in dot notation)? My use ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SignalR hangs on IIS or website page - when more than 10 Clients access website We have a portal Build on ASP.NET MVC 4.NetFramework and for chat communication, we are using SignalR jquery.signalR-2.4.3.js <script src="~/Scripts/jquery.signalR-2.4.3.min.js"></script> @*<script src="~/signalr/hubs"></script>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: snapshot.data returns null even though the realtime database has values i am trying to build an IoT monitoring app to moniture temperature, soil humidity, etc. im keeping the data from the sensor in flutter realtime database but somehow it is returning null. Im posting the entire code incase i have errors somewhere....
{ "language": "en", "url": "https://stackoverflow.com/questions/75582850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Defining uncertainty intervals in an objective function I have an objective function to use in python scipy minimize or leastsq method. def residual(x): # Total population, N. return np.sum((infections(x) - 300) ** 2) Assume the function infections(x) returns the last value of an ODE trajectory array, whi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use ASTs with Rust derive macro? I want to create a derive Rust macro. I want to do all my work entirely in ASTs (without quote! macro, probably). The questions: * *How to transform TokenStream into an AST? *Which type the AST will be after this? *How to transform AST back into TokenStream? #[proc_macro_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Oracle forms ORA-12154 i've installed Oracle Forms 12.2.1.4.0 following this guide: ORACLE_BASE - Standalone Forms Builder 12c (12.2.1) Installation on Windows. Everything went fine until i've tried to connect to the oracle DB using Form Builder. I've modified the C:\Oracle\Middleware\Oracle_Home\forms1\tnsnames.ora...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 15 standalone + material + form causing valueAccessor errors? Fiddling with the new Angular 15 standalone components. I just wanted to try a "simple" app with only one standalone component, but with Angular Material styling. All went well, but then I added a formfield to it. Then I had to add ngDefaultContro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to close a Modal Dialog in Vue3 from another component PimeVue I'm trying to create a Dialog component and use it into another component. When I click the button, the Dialog opens, but I don't know how to close it. These are the components: Dialog: <template> <Dialog header="###" :visible="displayModal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Getting error instead of empty schema in Sanity I set up the project and everything went right but when I run the npm run dev command in vs code, in Sanity, I am getting an error. No document types Please define at least one document type in your schema. I was expecting an empty schema. Any idea why am I getting t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modules are not recognized on pytest after installing them I did the following: * *imported a pytest project *create a virtual environment for that poject *install the following modules: pdb, pytest, selenium *set the virtualenv python as the interpreter when typing 'import "module name" it shows pytest : The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Smarty only expands the default block once We use Smarty 4.0 with PHP 8.0. We have a default template from which everything else starts. This is followed by a custom template and a series of plugins that also change and extend template files from the default template. Now we have the problem that as soon as a Cutsom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing -connection parameter in Connect-PnPOnline The current Connect-PnPOnline documentation lists a -Connection parameter: https://pnp.github.io/powershell/cmdlets/Connect-PnPOnline.html#-connection but in PnP.PowerShell v1.12.0 I can't see that parameter. It looks like this is something that is due to be added a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wrong method invoked when using method reference to implement functional interface @FunctionalInterface interface MyIF { void init(); default void myTest() { System.out.println("myTest interface Method"); } } class A implements MyIF { @Override public void init() { myTest(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debugging React code in VSCode when running Playwright tests Even if I run both my React (next.js) application and Playwright tests from VSCode, I am unable to debug code running in the browser. Is there any way to achieve this? I think the problem is that when debugging a React app, VSCode launches it's own browser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unable to apply Kafka Timestamp transform twice on a field My debezium source connector produces timestamp field in different formats (same column) to kafka. Example:- * *"2023-02-26T18:30:00Z" *"2022-10-27T09:21:45.522779Z" So I want to apply the Kafka-TimestampConverter twice (since there are two formats of da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bokeh hover tool is showing ?? instead ColumnDataSource value I'm a ingenieering student and I have never used before Python and I'm trying to create some inteactive Bland-Altman plots in bokeh where I want to show some specific parameters when the mouse is over a point. I have tried in different ways, and it seems ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I slideToggle close other menus when current menu is open? I need some help with this navigation functionality. When a user clicks on a Menu item how can I close the other menus if they are open? Also, the active class needs to be disabled as well for the closed menus. I have this navigation working how I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python textual / rich: include python console on bottom half of window I would like to start using textual for GUI building. I would like the python command window (that shows python output with print() and accepts input()) on the bottom half of the window.
{ "language": "en", "url": "https://stackoverflow.com/questions/75582882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does a website is still vulnerable in terms of JavaScript attacks if we block to execute inline javascript We are scanning JS code of our application by using checkmarx and it found different kind of flaws in the application. My question is if we blocked execution of inline javascript by using content security polic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does image gets aligned at uppermost top but text not? In the following example i'm examining the behavior of the vertical-align property. And one oddity i have noticed is that when assigning the top value on a element inside the line box the image gets aligned at the absolute top but the text inside the <span> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to call a useState function inside React Functional Component I would like to call a useState function inside a component. I created a function named 'increase' and called useState function inside it to change the state value to 10. But when i call the function it throws error. Can anyone give me an explanation ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When allowing istio to manage authorization, how can I properly run and debug my application locally given istio only runs on kubernetes? I have recently starting switching some of my apps to abstract out the authorization to istio and it works great. I have been testing the application by deploying a kube cluster l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to double-click the same button for the function to be activated, how do I solve it? I created a function and added it to an HTML button element as an Onclick event, when I click just once it doesn't trigger, but when I click the second time it triggers the event, how do I make it trigger when I click for the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: node http/https library won't connect to some sites I'm trying to connect to some sites using the node http/https library. It works with some sites and it hangs with some others. All the websites open correctly inside a browser. Below the test code I used. const https = require('https'); const options = { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a built in way to get C# coverage output on the CLI? I've been looking through the coverage docs for C#: https://learn.microsoft.com/en-us/visualstudio/test/customizing-code-coverage-analysis?view=vs-2022#code-coverage-formats and it looks like the only formats it outputs are xml files? I'd really like to s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What are the prerequisites for learning Spring framework & Cassandra database? I am new to Spring framework. I have done core Java. I want to know what prerequisites are required to start learning Spring Framework? Also I am completely new to world of databases. Should Straight away start with Cassandra database to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to print kwargs when using default values I have a few functions that call each other with a bunch of parameters. Because my use case contains several parameters, I wanted to check that they are being passed correctly whenever I modify them (will wrap this in a verbose mode afterwards, but it's mainly for debug ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }