text
string
meta
dict
Q: Why is my while loop not getting broken when condition is met within try-except statement? I have some code which I would like to run into infinity unless a specific condition has been met. Within a try-except statement this condition is actually met and therefore I assumed the while loop would be broken, but appare...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Working with RedwoodJS and Jest. "SYNTAX ERROR : Jest encountered an unexpected token" I was trying to write some test for my Redwoodjs project. I am using the FullCalendar.io package and jest complains when it encounters the import statements for this package. Here's what it says: Jest encountered an unexpected tok...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to read property from project referenced by ProjectReference Is it possible to read any arbitrary property(or somehow to push property) from one project to another via ProjectReference? As one of build tasks I want to execute executable from project referenced by ProjectReference, but its name depends...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Git: find the original branch of feature branch Currently using Azure DevOps repo. We have 2 main branches: develop and master. develop is for development work and feature branches are created from develop. master is used for deploying to higher environments, mostly merged from develop and the occasional fixes. Fix...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MVC Kendo Spreadsheet local data bidding Create/Update/Delete I use Kendo Spreadsheet widget with local data binding in MVC. How can I set the datasource to the spreadsheet to do create, update and delete operation? I know this example, https://demos.telerik.com/aspnet-mvc/spreadsheet/datasource but ajax remote bind...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to link javascript and python variables in jinja2 so suppose that I want to keep track of weather the user has dark mode enabled or not. if it is user's first time, the theme is set to be system preferences. in my python code, I am simply keeping track of the state. it is set to None by default, since we don't k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: document scrolls over html height I am using vue router , and by some reasons(i dont know why its happen) when i route from one component with some height to another , the scroll in document exist even the html tag height is over. I dont use any css overrides. The html tag wraps the body element by default. But the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to mark all,checkbox It doesn't delete more than 300. How can you help me? $sayfasayisi = "30"; $num_rows = @mysqli_num_rows($result); $deger = $num_rows / $sayfasayisi; // sayfa no yaz $deger_sonuc = (integer)$deger; if ($num_rows != $deger_sonuc \* $sayfasayisi) { // sayfa no yaz $deger_sonuc = $deger_sonuc + ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: how to show multi dataframe as nested dataframe using pandas table 1 table1 = df.groupby('year').agg( Total_Brands=('brand_name', 'nunique'), Total_Users=('user_id', 'nunique'), Total_Stories=('story_id', 'nunique'), Total_Sessions=('video_id', 'nunique'), Total_Nodes=('node_key', 'nunique') ) t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the difference between the different Authentication types in GraphQL AWS? In the Amplify GraphQl docs, there are different types of authentication modes: * *API_KEY *AWS_IAM *OPENID_CONNECT *AMAZON_COGNITO_USER_POOLS *AWS_LAMBDA I don't quite understand the difference and usages of each mode. Here is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP | How to add authorization/authentication to api I have access to premium hosting service and it's secured with SSL certificate. I managed to build api to add users in sql table but stuck in how to make the api secure by providing api authentication/authorization key. Based on a project I worked on with a team, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stacked bar graph for time series of multiple events with ggplot I'd like to create a bar chart showing elapsed time of a series of events. Time displayed in the Y axis and Date in the X axis. I'd like y axis limits range from 6 am day 1 to 6 am day 2. My data looks something like: TS<- data.frame(Date = c("01/07/19...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: find keyword in multiple array arrangement php Ok... I have the next array arrangement $pets = array(array("cat","The Cat"),array(dog","The Dog"),array("turtle","The Turtle")); I have $value = "turtle"; So, based on it, I would like to return "The Turtle" I tried using array_search() function, but it returns e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: forge pour les débutant bonjour a tous comment puis-je réglé mon problème suivant dans l'image j'ai essayer avec le cdm ça ne fonctionne pas non plus .si quelqu'un connais le code Minecraft-forge ,si il peux me contacter sur discord Mexox#0171
{ "language": "fr", "url": "https://stackoverflow.com/questions/75619911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I access UVC-Camera from USB (set/get -commands) while it is "videoinput" device for ReactCam in Windows environment? I have several UVC-Cameras. When I plug them in they appear as "videoinout" into device manager and I can see them thru browser when I try to access them via navigator: // Just driven straigh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get all headers response in flutter? I have the request var request = http.Client(); request.get(...) in the browser the answer comes complete with the headers HTTP/1.1 200 OK Set-Cookie: ARRAffinity=4abc9718421126a1b44f1844fadb7a0118e66fbcc19301252f949e791b74fgf34;Path=/;HttpOnly;Secure;Domain=xxx Set-Cooki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to save objects that are in render window as separate objects in one file and reopen later, like save project tool I have developed a program in python using vtk which is used for 3D image processing. In this app user import some stl files or create widgets like contour widget or sphere widget and etc. Now I wan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java Lang No Class Error: InlineContentView I am working with the custom keyboard where am having an issue with the InlineContentView in Android Studio that says: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/widget/inline/InlineContentView; at com.android.bodo.InlineContentClipView.clipDescendantI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Randomly generate a new list of items but not select previous item that has been selected? I'm creating some new algorithms for my project (Food App Generator) and I run into this problem of generating random new list from a pre-set dictionary of amount of same item I want to appear through out a week while n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does cmake set INTERNAL apply FORCE? From the CMake set() command's documentation: If is INTERNAL, the cache variable is marked as internal, and will not be shown to the user in tools like cmake-gui. This is intended for values that should be persisted in the cache, but which users should not normally change. INTE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring batch 5 and spring boot 3 meta data tables not created when using programmatic way of extending DefaultBatchConfiguration When using the programmatic way of extending DefaultBatchConfiguration, the meta tables are not created even when the property spring.batch.jdbc.initialize-schema is set to always. Is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Home Assistant: solar production graph not working I have today added the FusionSolar integration through HACS so I can monitor my solar panel production in HA. Under Settings > Dashboards > Energy under solar panels I've added the sensor for today's production. However, when I go to the Energy dashboard, I only see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DataTables rowGroup not grouping every item correctly I have a table with 4 columns grouped by the second one, when rendering the page, not every group contains every row with that name, I checked that they share the same grouping name because when uncollapsing the group every group of the same name performs this ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: iOS WidgetKit - two dynamic Intents for one widget I have one widget and would like to have two dynamic inputs using searchbar. Is that possible? Using ios14, widgetKit. I could create two CustomIntents and the IntentHandler has two provideOptionsCollection, like so func provideIntent1Collection(for intent: Intent1,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: module 'utils' has no attribute 'svmTrain' I am not sure why I got errors every time I use utils "AttributeError: module 'utils' has no attribute 'plotData'" and also "AttributeError: module 'utils' has no attribute 'svmTrain'" import os import numpy as np import re from matplotlib import pyplot fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sanity- Next.js real time updating content I am making a social media app with next.js and sanity as cms. I want a feature that if someone on other computer likes a post, it gets automatically live updated at someone else screen, just like twitter I saw that sanity supports live update, but I can't understand its do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can a number be formatted so the position of the decimal point varies with magnitude? I have different types of numbers of type float and/or double. I want to set these numbers to a specific format of 6 digits. Examples: 1.01234 10.1234 101.234 1012.34 10123.4 101234 1.10000 1.33000 Regardless of how a number l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting Connection timed out with flysystem-ftp even when the file appears in FTP We have some logic in my project to put files in an FTP server, we are getting this error: ErrorException: ftp_fput(): Connection timed out in /var/www/vendor/league/flysystem-ftp/FtpAdapter.php:163. Despite the error, the files are ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a bounce in and out on scroll effect? I am developing an art website inspired by : monopo.london However after several days of development I still can't create a bouncing effect on scroll, like this one : the effect i am trying to recreate So, i tried to create a zoom in and out animation using : Tween...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Making a histogram out of groupby() data using Pandas in Python I want to make a histogram of data out of the groupby method in Pandas. Here's the piece of code that I wrote: df['Total Revenue'] = df['Quantity'] * df['UnitPrice'] df.groupby('Country')['Total Revenue'].sum().sort_values(ascending=False) which produc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RunTimeValueProvider not being accepted during Batch Dataflow Job run from Google Workspace API I am submitting a Dataflow batch job using the Google Workspace API. This dataflow job does data processing from multiple BQ tables. I am attempted to make one of the queries that is submitted to BQ a RuntimeValueProivder...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to get Selenium set up for Javascript in Windows: require statement not working I have installed the basics (nodejs, npm, selenium, python), which all claim to be there. I'm not using (haven't installed) Eclipse or other IDE -- just trying to make sure the infrastructure is working first. So I am trying a Ja...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Group Pandas DataFrame by multiple columns with connected IDs I have a dataframe which contains several ids in various columns. Some of those IDs are missing or could be duplicated. The goal is to group the DataFrame by those ids and keep properties in a list. To show an example that I would like to get: import pand...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Grouped data training and prediction While passing time-series grouped data to a scikit RandomForestRegressor model, should the group id be mandatorily included in the dataset for training? For reference, we are dealing with pipe segments. Each pipe segment has an id, its general characteristics, and a bunch of defe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to disable the submit button in react js with conditions? i would like to enable/disable the save button when any of the input value changes. What's wrong in my code? Now the button work properly only if i change the password input, if i change the email input and/or the name input then the button it stay disabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Playwright: is there a selector for the text *inside* an ? I'm trying to do some automated testing in Dynamics 365, whose tables look like this . Each 'cell' here is an <input> element. Inside that element is a link of some kind that directs you to another page. It's not an anchor <a>, or a <button>, but it nonethe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iterate over a array type object in Angular I need to iterate over an array-type object. I printed that object into the browser console. I am getting this value from a third-party UI control. Here is the image : Now how can I iterate this controls array? I tried with the below code. But nothing comes: element.formG...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hover in a button not changing background-color I have two problems, but the main one is that the hover I am doing on a button changes the color of the text but does not change the background color and I do not understand how to fix it. The second problem is that I have had to put its own background and it does not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NuGet Error NU5030 - The license file 'LICENSE.txt' does not exist in the package I have an error in Visual Studio 17.5.1. My Visual Studio is up to date. The error The license file "LICENSE.md" does not exists in the package. NuGet Error NU5030 My project file (.csproj) The files are located in a parent folder. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Future and Recurring Notifications Can we schedule notifications in Flutter to start firing sometime in Future and also be recurring like for eg reminding a user to take medicines from 6th march 9:00 AM and then everyday on 9:00 AM and the date and time currently is 3rd March 10:00 AM? If I do this with flutter_loca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: File relocator in C# I want to move from the folder named Main a file and it should go to Folder 1 every 15 seconds and from Main to Folder 2 every 60 seconds. The problem is that folders 1 and 2 will conflict on 60 seconds tick. For Folder 1 it would be 4th time ticking and taking files from Folder Main and for Fol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I enlarge the video in "Bino 3D"? (more inches) I am very happy with the "Bino 3D" app on my Windows operating system, but when I display a side-by-side video in anaglyph, it is nicely centred, three-dimensional and has a good aspect ratio. But I always have to go close to the screen to see the film well. Is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does the Firebase Cloud Functions instance Lifecycle look like? does my caching even make sense? This is my caching mechanism to "make sure" that I don't have to connect to mongoDB several times. let cachedClient async function makeDB() { if (cachedClient) { return cachedClient.db('invoice') } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to resolve Unit test for this method whit Assertions or mocks? I'm working on this method and trying to add a unit test for it. However, I don't have any idea about result, so I'm trying to verify the variable cantidad with assertNotNull to resolve the distinct condition, but can not continue. cantidad = mapsCod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Obtaining a 3D point from an image obtained with Unity PhotoCapture and Hololens 2 I'm using PhotoCapture API with Unity 2021. After extracting the image and spatial data, how can I obtain the respective 3d point from the image pixel coordinate? I use this class for acquiring the image from Hololens2 Webcam. It's si...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implement User Claims, Blazor WASM I have a page and I want to allow only users with a certain claim (CanViewContract) to access it. The api controller works as expected but the blazor side cannot read that claim, and always gives me an unauthorized error. I use this attribute at the top of the page: @attribute [Aut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Write a function in php doing exactly what array_filter does PHP function array_filter accepts an anonymous function <?php $numbers = [12, 18, 5, 11, 10, 95, 3]; $multiple_five = array_filter($numbers, function($n) { return $n%5 == 0; }); Is it possible to write a functionin in PHP doing exactly what array_filt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Formula to Use VLOOKUP on the filtered Data only I have been trying to use VLOOKUP between 2 Excel files Where i need to search the value of a specific column from Another Excel file, in the Another sheet (Sheet2), I am suppose to use filter based on a specific value. For Eg: Excel 1 Col1 Col2 ID223 Active I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to spy on a function which is inside an object created by a module in Jest? I am using TypeScript and just started unit testing. I am using mysql2 package to connect with mysql database. As a best practice I created a wrapper class around the mysql2 package and now I am testing the functions in that class to mak...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Partial Label Subset data on Cifar10 erroing while using 'from keras.utils.np_utils import to_categorical ' Given Import Statements import pandas as pd import numpy as np import tensorflow as tf import tensorflow.keras as keras from tensorflow.keras.models import Sequential from tensorflow.keras import layers from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Laggy/Choppy React CSS Filter on Safari I am trying to achieve a morphing text effect using CSS, Tailwind, and Javascript in my React app. I do this with the use of a ColorMatrix and a filter, to overlay and subtract the differences between two of the same texts. Unfortunately, while this works well on Google Chrome...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EC2 .bashrc and .bash_profile re-setting Reason I'm asking: pycurl requires both libcurl-devel and openssl-devel. To install these, I have these two lines the my .bash_profile: sudo yum install libcurl-devel sudo yum install -y openssl-devel Previously, I just ran those commands in the terminal while ssh'd into the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i convert from 03MAR23 format to yyyy-mm-dd in python I wanted to convert from 03FEB23 format to yyyy-mm-dd in python how can I do it? Use the below code: from pyspark.sql.functions import * df=spark.createDataFrame([["1"]],["id"]) df.select(current_date().alias("current_date"), \ date_format("03MAR23"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create flatten dates sequence in Google Sheets in one column (without using MACRO FUNCTIONS) I have a table in Google Sheets with the following structure: Start Date End Date Start Date 1 End Date 1 Start Date 2 End Date 2 Start Date 3 End Date 3 I'm using the following formula: IFERROR(FLATTEN( SEQU...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VM azure restarting by itself I have a different problem! I created a VM on azure, it has the windows 10 image, and with a GPU, it was created correctly! The problem is when I connect to the VM it starts and then restarts, does anyone have a solution? espero uma solução!..
{ "language": "en", "url": "https://stackoverflow.com/questions/75619998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: SemanticsNode tried to set a non-finite rect Getting this exception while attempting to animate a button inside a sliver list. SemanticsNode#5(Rect.fromLTRB(1.0, 1.0, 392.0, 18.0), tags: [RenderViewport.twoPane], label: "hello", textDirection: ltr) (with SemanticsOwner#0852b) tried to set a non-finite rect. 'packag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: from jsondoc comments to OpenAPI 3 Specification code My question is, Is there Any other tools, packages other than express-jsdoc-swagger to create OpenAPI 3 Specification code from jsondoc comments. I want to read jsondoc comments from files and get compiled OpenAPI 3 code. I dont need ui or anything, just code
{ "language": "en", "url": "https://stackoverflow.com/questions/75620002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CS0029 Cannot convert Type to Type with JsonConvert.DeserializeObject This is a recurring theme. I'm trying to return an object (in this case a list of NpiResponseModel) with JsonConvert, what would be the proper way to do this? In the below scenario I receive that cannot convert type NpiResponseModel to Generic.Li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Download json from datatable automatically I am developing a script in python using selenium, what it does is that it runs automatically enter a login insert username and password and submit, finally it reaches a page that shows a datatable, I need to download this datatable I don't know if I can use selenium or is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not load config for namespace application-yaml from Apollo, please check whether the configs are released in Apollo I am using ctrip apollo to manage the application config, now I want to switch the application config from properties format to yaml format. First I added the yaml namespace called application-ya...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: apply involving array and matrix Suppose I have data, P, that is a 3x3x10 array and a matrix, q, that is a 10x3 matrix. A function, pv_fun, takes P[,,i] as an input and q[i,] as an input: P=array(runif(90,0,1),c(3,3,10)) q=matrix(runif(30,0,1),nrow = 10) pv.fun<-function(Prob,Prev){ solve(diag(as.vector(Prob%*%Pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does webrtcbin's jitter buffer size affect latency when there is no jitter? Just wondering if anyone knows why there is sometimes a linear correlation between the latency value (jitter buffer size in ms) in webrtcbin as added latency on a smooth network? It seems that with some downstream elements, it adds laten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter Stock status from "Out of Stock" to "Backorder" when quantity reaches zero in Woocommerce I have the following Snippet that changes Woo default behaviour and makes everything purchasable. As soon as stock quantity reaches zero it goes to "Backorder". // Change all products stock statuses to 'instock' a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (VS2022) .Net MAUI and gRPC service: Failing Issue I have few mobile applications (.NET Maui) consuming gRPC Services. All these mobile apps started crashing after a VS2022 update (ver. 17.5.1) release. see pic below. VS2022 Preview (17.6.0 preview 1.0) shows same error. I am trying to Rollback VS2022 to previous...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Head or Tails code - Beginner Python developing In my Heads or Tails code, randomly it will yield incorrect results. For example, I will type in Heads and the computer will choose Tails and the display would say You Win! instead of You lose! or both inputs can be Heads and the display will say You lose! Below is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Enemy don't attack in Unity 2D I set up a simple enemy in my unity 2D platformer game but it should move towards the player after a little bit of time but that doesn't happen. I post the code below; the problem is that "transform.position = Vector2.MoveTowards(transform.position, playerPosition, JumpAttackSpeed * Ti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use different module names based on defines I tried to define the module name based on parameters or defines imported from a package, but got the following error in Vivado: module `ifdef DEFINE1 ModuleName1 ( `elsif DEFINE2 ModuleName2 ( `endif input CLK, .... message ERROR: [IP_Flow 19-264] [HDL Pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do i access a key from my azure keyvault in Azure ad b2c custom IEF policy? I have an API subscription key which is used to access API. I need to provide the subscription key in header. I have stored the subscription key in Key Vault and need to access it in my custom policy IEF azure ad b2c. It is important to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting child attributes in Laravel 9x blades I have two components, tab.blade.php and tab-content.blade.php where tab must be the parent tag having one or many nested tab-contents. Inside tab.blade.php I need to have a list of all tab-content child id attributes before calling {{ $slot }}. <x-tab> <x-tab-conten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620025", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to make a button enabled only at specific time. How to do it <div className='external-btn-cont'> <button className='external-score-btn' onClick={SENDSCORE}>Submit</button> </div> How to do it? A: We can use Date.now() to get access to the current time since Epoch. If you are unfa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why are variables in functions passed from one module to another? script1.js let log = "log"; function a() { console.log(log); } export { a }; script2.js import { a } from "./script1.js"; a(); // log console.log(log) // Uncaught ReferenceError: log is not defined Why does this work? Why does the function know...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Blob Storage: Image sharing configuration I'm new to Azure and not totally sure if I my assumptions are correct. I've got the following requirement: I need to provide public access to images but it should not be possible to have access to the folder structure and list all files there. Also the link should be a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bringing forward objects while spawning UI-objects in Unity2D I'm creating a flappy bird-game as a start up-project to learn the basics of Unity. I've created pipes that spawn upon starting the game, and these pipes always spawn in the front of everything else, which means that my score text falls behind the pipes, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: in Typescript, how do I determine the return type of a function based on a parameter? In Typescript, I want to determine the return type of a function based on its arguments. In the example below, if getPropsForComponentKey is called with an argument of type ComponentKey.A, its return type should be AProps. I should...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: NVIDIA Drivers Linux ~$ sudo ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00001C81sv00003842sd00006152bc03sc00i00 vendor : NVIDIA Corporation model : GP107 [GeForce GTX 1050] driver : nvidia-driver-525 - distro non-free recommended ~$ sudo ubuntu-driv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to know(using javascript) when a Thrid Party Cookie is being used? I want to avoid some behavior from my web app when it is being used in an Iframe. The app use cookies for auth and I want to avoid authenticate the user automatically (using the cookies) when the app is inside an Iframe and the user ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fatal error: Uncaught Error: Call to a member function prepare() on null when checking my php using postman I am getting Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\xampp\htdocs\Android\includes\DbOperations.php:18 Stack trace: #0 C:\xampp\htdocs\Android\v1\registerUser.php(15): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: how to make a tie in tic tac toe in react? I'm making a tic-tac-toe game in react,so here i have my formula to search winner const lines = [ [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 4, 8], [2, 4, 6], ]; for (let i = 0; i < lines.length; i++) { co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Php apache wont load images on virtual machine We have decided to use open source project from Open assestment Tao company https://www.taotesting.com/ Project is written in php it uses apache and mariadb. I must emphasis none of us has ever worked with php and xampp environment. We implemented some features that we ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there a solution how to import pyrebase and firebase_admin in Raspberry Pi 4 model B without errors? I tried to upload data from Raspberry Pi 4 to firebase Realtime database and storage . I want to use but I got this error . I am a new in Raspberry Pi . Please help me and tell me links . I can't found tutorial...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: WP_query for products with specific ACF field - orderby attribute I'm trying to make a download page with the summary of all files added to products. I've already made a loop that outputs all the products with ACF fields I created to store file urls. Added necessary data like product name, sku, producer (atribute). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity new Input System, detect which key was pressed In my game i have six spells. I don't want to create an action for each spell to activate it. With the old input system I would have created a class with an attribute that specifies which button should be clicked. Like this. public class SpellInput : MonoBehavior ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use netcat to provide input to DPDK examples? I'm running the DPDK Skeleton example from here: https://doc.dpdk.org/guides/sample_app_ug/skeleton.html Getting this output: sudo ./dpdk-skeleton -l 1 -n 4 EAL: Detected CPU lcores: 4 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Reducer update another component of the list I am self-training in React, and I have a problem that I can't find any solution, I hope you can help me. Here is my problem: I have a component that contains a list of products, this list is managed with a reducer (add, delete and modify). This list can contain simple it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I normalize a dataframe colum with categorical data when to use NLP? I have a df with: laufendeNr., Zielgruppe, Anforderungsbeschreibung In the column Zielgruppe I have categorical data per laufendeNr like: Schüler, Lehrer, Referendare in one row. I want to work with NLP and the text in column Anforde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent deletion of entity if another entities has foreign key reference to it? I have a user entity which is connected to other entities with foreign keys. For now, if I try to delete a user entity which has references, I get this SQL error: DELETE statement conflicted with the REFERENCE constraint My goal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: TinyMCE strips out javascript when it contains HTML tags TinyMCE seems to strip out Javascript in a specific case of the content. In my test, I view a page with the editor and open the editor's Source Code window to manually insert the following code: <script> document.getElementById('test').innerHTML = 'Replacement...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python list methods pop() In the belove program list = [1, 2, 3, 4, 5, 6, 7] for i in list: list.pop() print(list) print(list) I am getting output as [1, 2, 3, 4, 5, 6] [1, 2, 3, 4, 5] [1, 2, 3, 4] [1, 2, 3] and why not [1, 2, 3, 4, 5, 6] [1, 2, 3, 4, 5] [1, 2, 3, 4] [1, 2, 3] [1, 2] [1]
{ "language": "en", "url": "https://stackoverflow.com/questions/75620070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to split a .mp3 file into low, medium, and high notes using Python? I have a project where I would like to split a file into separate files of low, medium, and high notes (This would be .mp3 files that are music). For example, splitting a piano song into notes on different sections of the piano. I've ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL database query to do an exact match if available I am using a mySQL database and have values in a table that look like this.. id | room | name ---------------------- 22 | 38 | john doe 4 | 837 | jane doe 94 | 993 | joe blogs I am trying to write a query that will do an exact match on the ID if it exi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When inserting a phone number from the buffer or shared preference, the numbers after the prefix disappear I have a custom edit text for entering a phone number. Prefix +77 added for number. When inserting a number with subsequent digits not equal to 7, the number is inserted well as soon as the number contains the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am I seeing an Excel #REF error WITHIN formula I inherited a spreadsheet I'm working right now to understand. I know what it means to have a #REF error show in a cell. However, I'm seeing it within the actual formula. Any idea what this means and if it's fixable? Thanks a lot, Reese Just trying to make sense of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "No Module Named x" error with PyWebView and termcolor my idles error is with these packages and the error is "No module named 'x'" but those are already installed as i check them in cmd (Requirement already satisfied), what should i do? this also happened with some other modules before. Here's where i imported the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to select a value, which is optional - using jq This is how I am trying to ouput the message of an array element using jq echo '{ errors: [{ "code": "INVALID", "message": "message" }] }' | jq -r '.errors[0].message' But errors is an optional value. If there is no error, the field is missing. How do I have to ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trino: Create a dynamic list of dates to fill values I was looking for a way to dynamically create a list of dates to join a table against, so that missing dates would be filled in. Something like: SELECT dt.date_col , ot.* FROM date_table AS dt -- Table with all dates? LEFT JOIN orig_table AS ot ON ot.dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native: All RN components are throwing TS errors TS2786: 'SafeAreaView' cannot be used as a JSX component.   Its instance type 'SafeAreaView' is not a valid JSX element. Is just one example of a react native component getting this TS error in my code, I also get it on View, Text etc... I think it has somethin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get screenshots of video with subtitles I'm trying to get a single frame from a video at every 50 seconds with ffmpeg including the subtitles The code I know of that will output a frame every 50 seconds is ffmpeg -i “movie.mkv” -vf fps=1/50 img%03d.bmp and the only code I know of that will take a snapshot of the fra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculating descriptive stats on categorical grouped variables in large dataset (R) I am working with a large (~500,000) dataset on the sex, parentage, and species of a group of animals. I need to calculate the median sex ratio per species. Each row in my dataset is an individual animal’s ID (AnonID), the species na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AutoFill textbox on userform with exact value I want to auto fill two textboxes on my userform ,from a data of a sheet i have, but i want the code to find with the exact value and not just one part of it. Ex: if i put the number "33" it returns a value, when the column have like "202409334", i want to assume a value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Function to trim a list and calculate mean of remaining numbers I need a function that takes a list of numbers as the input and an optional integer keyword argument trim (that takes on values of 0 or larger). * *I want to remove the largest and smallest numbers from the list and *Return the mean of the numbers le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75620099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }