text
string
meta
dict
Q: How do i send an Image from JavaScript or HTML to PHP in a Moodle environment? I am trying to create an activity in Moodle where users can upload a picture of their driver's license. (Important to note: the user must take the picture immediately and does not have the option to upload it from a directory). The photo ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want loop data output on the screen using kivy I'm new to kivy and python. I'm working on an application to connect with the Elm327 later save the replies for debugging. I want start with getting the loop output on the screen after pressing the button. Unable to do that. I have tried searching but couldn't find a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Initialize MutableStateMapOf variable with a for loop in Kotlin I am using Kotlin and JetPack Compose to create an app and I have an issue. It could be a tiny one because I'm still a beginner with these technologies. The Problem: I would like to create a StateMap to track the states of several composables. I know I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to validate empty combobox with placeholder? Dim emptyField As Boolean Dim ctrl As Control emptyField = False Const groupName As String = "Status" If Not isOptBChecked(groupName) Then MsgBox "There must be one checked Option button in group " & groupName, vbCritical, "One checked Option button needed" Else ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dependency Injection Container returns nil if I use it for more than 1 dependency I tried to implement my own dependency injection container, here is the code - import Foundation class Container { static let shared = Container() var factoryDictionary : [String : () -> Any] = [:] init (){ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dataflow Job not running I have a Cloud SQL Server instance created in GCP with a private IP. I have a VPC created also. I am trying to load data from my sql server to GCS Bucket using dataflow , but when running the pipeline it is not getting started. the packages are not getting installed and giving below error: "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create English auction for a large amount of NFTs on Opensea? I'm trying to come up with a way to create an English auction for every NFT in my 10k collection on Opensea. Even though it says in their documentation that it is possible to do so through their API, it seems like it doesn't work. I'm using the giv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Chart.js only showing two datapoints in the middle of the data I could not get it going with code snippet so here is a JSFiddle https://jsfiddle.net/akmiecik/v562aghf/18/ Why is this only showing the two datapoints from the middle of the data? I tried deleting all points before and got nothing, same with all datapo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cancel a border-radius at a specific position I tried and I want to cancel the border radius of the class .title { border-radius: 0 } When the div hits its top position at 6.3vh. I tried, searched, but I can't find anything that works. I tried with media queries and pseudo class without results.. Only with, css or s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: why can't I pass the OJ text use c99 version Topic description Give two positive integers within 200 bits and sum them. Enter description Multiple sets of test data. Each group of test data includes two rows, one for each row. Output Description Each group of tests outputs one line, which is the sum of the two integ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How to open camera functionality in custom layout in flutter So, above picture is my custom layout. I want to open camera by custom toolbar and bottom button in flutter.
{ "language": "en", "url": "https://stackoverflow.com/questions/75604691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to delete 30 days older files from a directory in Python databricks I have a files in directory with name model/year(current year)/month(current month)/date(current date) Example model/2023/01/24/mm.parquet, model/25/02/1998/mm.parquet. so there are dozens of file there on my directory so i want to delete files ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SQL query that groups by one hour intervals starting from the current minute? I have a table that has a Created column and a Code column. And data is being inserted into it every 1 minute with a recurring job, so it shouldn't have any date gaps. I want to group it to 1 hour intervals, for the last 24 hours, starting...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Arduino value to netlogo I would to know how can I connect my Arduino with NetLogo I knew already that there was an extension. Should I combine the idea of Arduino with my NetLogo code????? Some of you explain to me the process and how can the value token by the Arduino card reacted in NetLogo. For example, I had th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does cv.glmnet in R return double MSE for binary data? I noticed that the minimized values for the MSE (mean of squared errors) and MAE (mean of absolute values of the errors) criteria returned by "$cvm" or "plot()" in cv.glmnet are twice the actual values when the outcome is binary. This is very confusing. There m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I plot box plot for multiple columns in pyspark? I have a pyspark dataframe (pyspark.sql.dataframe.DataFrame). I would like to plot the numeric columns in a boxplot to detect outliers. I started by selecting only the numeric columns with: numeric_columns = [item[0] for item in df.dtypes if item[1].startswith(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Value of Stacked column chart is not visible Please advice why the small values which are less then 1 is not visible here (0.25 or 0.50 is not visible on the chart) ? Can I make it visible somehow?
{ "language": "en", "url": "https://stackoverflow.com/questions/75604707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Undeclared identifier error - how to fix? (circular reference) I'll be trying to call a function from elsewhere in the program and I get the "Undeclared identifier" error. Here's an example: if GameParams.ClassicMode and not GameParams.GameResult.gSuccess then begin if not TGameBaseScreen.TryLoadReplay then ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send a formatted date in angular I have a form and one of the inputs type is a date, which is formatted as 'dd/MM/yyyy', but the API which I'm posting only accepts date as 'MM/dd/yyyy'. Can someone explain to me how can I transform this date before sending it to the API. I'm using angular 15. My component loo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update a slice, after reset_index from original df I´m trying to create a function that will receive a dataframe (with a timestamp index) and a predicate, and them reset_index, filter according to the predicate passed and be able to iterate throw both the original df and the filtered one . function: def trigger_even...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: arrow function in javscript const materials = [ 'Hydrogen', 'Helium', 'Lithium', 'Beryllium' ]; console.log(materials.map(material => (material.length, material))); // Expected output: Array [8, 6, 7, 9] I'm newbee JS, and I read this code on MDN, but when I copied and run it, it gave result not the sam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Native ad is not showing in full screen I implemented full screen native admob ad in side viewpager, after every 5 page will show full screen native ad. My problem is native ad is showing but it is not full screen. NativeAdOptions nativeAdOptions = new NativeAdOptions.Builder().setMediaAspectRatio(MediaAspectRatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Serilog file sink from multiple servers has interleaved messages I have a web app deployed across 10 web servers. They are all configured as such (note, the path below is a shared network path. So they are all pointing to the same log file): "Serilog": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cmake CMake Error at CMakeLists.txt:3 (add_executable):No SOURCES given to target: my_game enter image description here I tried to add my source files to an add_executable command. My file names have spaces in them. A: You need to quote your strings or else spaces between what you intend to be part of the same stri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Make a lot of colum in the same Line - Front End Bootstrap5 I try to get 10 colums responsive in the same line with Bootstrap 5. After 5 or 6 colums, they automaticaly return to the line. If i use something like the class "col-1", they stop the "responsive" and don't use the full width of the screen (screenshot belo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to extract the middle item or (Two Items in Middle) from an array regardless of Odd or Even Number of Items? When I extract middle item from odd number of elements: var givenArray = ['Maths','English', 'Social', 'Economics','Tech'] console.log(givenArray[((givenArray.length-1)/2)]) It provides output to be soc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing a JSON file as environment variable to aws lambda update-function-configuration cli I am looking for a solution to pass a JSON file as environment variable to aws lambda update-function-configuration cli. for example: aws lambda update-function-configuration --function-name "test" --environment var.json and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ExceptionHandler works in a controller but not in separate class I have a controller in Spring Boot 3, which looks like this: @PostMapping("/login") public ResponseEntity<Object> login(@Valid @RequestBody CustomUserDetails user) { ... } As you see, I am using @Valid because of annotations that I use, such as @Size...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 4D Input Vector - 3D output vector for CNN-(ANN-bLSTM) for forecast a profile under constant condition input I have define a code with an input a 4D-vector (num_samples,num_window,dim_widow,num_features_profile) combined with an input of constant data (num_samples,num_feature_constant_info) and output 3D-Vector (num...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i Stuck to Build GrapheneOS My machine is stuck/hang and generate OOM (Out-Of-Memory: process killed (xxxxxx)......) when i check "dmesg" in terminal. i try to build GrapheneOS for panther (pixel 7) in my Linux m/c 20.04 (16 GiB RAM, 500+ GiB internal storage). But my machine stuck/hang whenever i run "m -j4 vendorb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How api gateway should be handled with nestjs? I want to create an application frontend with microservices in the backend (with nestjs). In this example, I saw the API gateway expose endpoints and call to the services in order to return the and add some logic in the API gateway after the service response. https://gi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get user input in Node.js with callback functions? const readline = require('readline').createInterface({ input: process.stdin, output: process.stdout }); let greetings = (name) => { window.alert(`hello ${name}`); } let processUserInput = (callback) => { readline.question("Who are you? ", in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fill 2d array with random numbers in Kotlin? I have a 2d array: val table: Array<Array<Int>> = Array(3) { Array(9) { 0 } } How to populate it with random numbers from 1 to 90? I don't know how to do it. A: Actually, you are very close to the proper solution. You are using "array with initializer" which ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: crontab does not run properly Somehow my crontab script does not run like it should * * * * 1,3,5 cd /home/username/test/ && /usr/bin/ping -c 1 example.com &> /dev/null && (XDG_RUNTIME_DIR=/run/user/$(id -u) /usr/bin/notify-send "Updating Data" && /usr/bin/npx cypress run) || XDG_RUNTIME_DIR=/run/user/$(id -u) /usr/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to getting multiple array data inside object in flutter How to getting multiple array data inside object in flutter How to get array data from object in flutter
{ "language": "en", "url": "https://stackoverflow.com/questions/75604736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Order notification emails from specific customers in Woocommerce I have found myself a real headscratcher and am surprised that I am unable to find a solution for this. So we have a Woocommerce store, that sells baby/kids clothing to both B2B and B2C customers. The website operates from the same domain and all custo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to write PrivateRoute with new createBrowserRouter in react-router v6 I'm doing front-end project with little back-end for signup and registering user. I'm using firebase and I'm following one tutorial how to do it with PrivateRoute, but all videos are using Router and Routes convention and not new createBrowser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JBOSS Unable to connect with Oracle 19c using xa-datasource I'm having an issue connecting with Oracle 19c using JBoss datasource. I'm getting "ORA-01017: invalid username/password; logon denied". Configuration file: <xa-datasource jta="true" jndi-name="java:/jdbc/ORA_BMAPX001" pool-name="ORA_BMAPX001" enabled="true...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems on a request with filter I'm working on a filter for à request in mongodb, one of my filter doesn't work and i don't know why, i will show you the request, the filter and what i exept in the result. The filter : let idTypeProcede = await getTypeProcedeId(filtre.typeProcede); query = {procedes $elem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Constant subroutine being redefined due to module being loaded multiple times; how to debug? Well, I'm not new to Perl or Perl modules, but still I might have made some stupid bug that I cannot find: I'm developing some code consisting of multiple modules, and some modules are used multiple times in different module...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: react-router 6.0 - useLoaderData returns a promise. Cannot display data https://github.com/erAnusriM/react_router_trial The above is my github repository. How do I achieve to print the list of users returned from the API in App.jsx file When I print the value of result on console, it gives me a Response object. Expe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: API access To Specific Page My project build in Asp net framework... I am facing Issue To access API in newly created aspx Page and There is same page application With Same Code of Line... NO single Word Of Code Is Changed To Hit API But Still i Am getting error In Newly Created Page (Calling Same Http method To ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Execute equation from the elements of a list in python I have the following list and dataframe: import pandas as pd data = [[5, 10, 40], [2, 15, 70], [6, 14, 60]] df = pd.DataFrame(data, columns=['A', 'B', 'C']) lst = [5, '*', 'A', '+', 'C'] And I would like to create a code to execute the equation in the lst like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to run delegate based on dictionary (C#) I have Mock class with below: private readonly List<SomeObject> m_objectsList = new List<SomeObject>(); public Task<IList<Auto>> Todo(SomeParams params) { IEnumerable<Auto> matches = m_objectsList.Select(GetMyObject); return Task.FromResult<IList<Auto>>(matches.ToArray...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Drawing shape in react native ( rectangle with curved bottom line at the center ) Im building an app with react native expo and i need a shape for my cards. I already did the next one: what i have but i want to have more smooth radius next the circle like this one : what i want here is the code: import { View, S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My login form is redirecting to another form although it has empty inputs. How should I prevent this to happenning? I was testing my login form and when I double checked that my login button is redirecting although the textboxes are empty. I'm trying to figure this out tonight but I'm a beginner in it, actually a st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: There is no problem when I run the following code with jdk1.8, but it will block when I run it with jdk11 public class Test { public static int num = 0; public static void main(String[] args) { new Thread(Test::printer, "t0").start(); new Thread(Test::printer, "t1").start(); new Thre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Constructing (a) valid and (b) minimal size unicast, broadcast & multicast ethernet frames I have a "KSZ8851SNL eval board" (link) which is an ethernet device and is an "SPI slave" for my "SPI master" which is "ST Nucleo F429ZI" (link). I have written a driver that runs on "SPI master". With the driver I initialize ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to parse custom operators inside a evaluable python string? Having a formula as a string like: str_forumla = "x > 0 AND y < 5 AND 'this AND that' in my_string" Where the python operator "&" have been substituted by "AND" (but the string AND was not affected) how to revert the operation so we get the original fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel When condition in With callback function $certificates = Certificate::active()->where('certificates.is_downloadable',1) ->with('CertificateSurveyGroup',function($query){$query->when('CertificateSurveyGroup.type'==1,function($q){ $q->with('certificateSurveyAssociation.session');}); })->get(); is it possible t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use enviroment variable in java command line argument I have linux and enviroment variable $PASS, eg 123. I want to run java application and pass this variable. Example: java -jar -Djavax.net.ssl.trustStore=/certs -Djavax.net.ssl.trustStorePassword=$PASS my.jar And suspect that $PASS will be replaced to its...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Join two lists using list comprehension list1 = ['a', 'b', 'c', 'd'] list2 = [1, 2, 3, 4] # How can I get this result using list Comprehension list3 = ['a', 'b', 'c', 'd', 1, 2, 3, 4] list3 = [list1.append(x) for x in list2] print(list3) # returned [None, None, None, None] A: [*list1,*list2] #['a', 'b',...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-9" }
Q: Fastest way to randomly delete a lot of rows in Postgres I've made the grave mistake of using Postgres as a time series database and it's beginning to get quite slow. Right now I have 30 million rows in each table. So this question has been answered here, but the issue is that it scales very poorly for large sets o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML date input giving wrong date in PHP POST My code looks like this: <form action="uitdraai.php" method="post"> <select class="form-select" aria-label="Default select example" name="fiets"> <?php require 'db_con.php'; $query = "SELECT * FROM tbl_fietsen"; $query_run = mysqli_query($con, $query); if(mysqli_n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Underwater color correction using CoreImage in Swift I am building an iOS Camera App for scuba diving using Swift. I am implementing a live color correction for the underwater live preview. I decided to levearege on CoreImage filters. The problem is that I'm not able to gain a proper control of the color correction,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unit Testing unable to use mock setup for extension method namespace Producer.UnitTests.Controllers { public class ParticipantsControllerTests { private readonly Mock<IDbConnectionFactory> _mockDbConnectionFactory; private readonly Mock<ILogger<Participant>> _mockLogger; private reado...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I design rest controller with spring webflux so it is non-blocking? this is my first time trying to utilize Webflux. I have a controller that returns Mono object like this: @GetMapping(path = "/{resourceType}", produces = APPLICATION_JSON_VALUE) public Mono<String> getData(@NotBlank @PathVariable Reso...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getserversideprops providing component with undefined rather than data I have a Navbar component that I am trying to pull into every "page". I'd like to get the data for it from WPGraphql. I think I can sort that out myself once I have figured out why I'm currently getting: { data: undefined } rather than: { data: '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement occlusion in Autodesk Forge issues sample? I would like to implement issue system like this sample https://forge-digital-twin.autodesk.io/ In this sample, issues are not occluded when I see them from the opposite side. How can you implement occlusion in this issue sample? Thank you. A: In this spec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get a centered button to stay in a div depending on screen size? (The image explains more) Here's a picture of the website I am using button code from UIverse and I have them alligned to the center. My only issue here is that when I use another screensize the buttons come out of the div. The code I am using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error building a ROS2 container with docker I'm trying to use ROS2 on a Raspberry pi 4b following this tutorial: https://www.kevsrobots.com/learn/learn_ros/ but in this part: https://www.kevsrobots.com/learn/learn_ros/07_build_container.html when I try to use: docker build -t ros2 . I ger this error: This is the err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I set layout in the central widget of QMainWindow I have been trying to create an app where the GUI is handeled by PySide6 and use Qt Designer for easy widget designing. I have managed to make a MainWindow class which works just fine, however I would like to handle the contents of the main window's central wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create custom validator class for serializer in django python? I need to remake this validator method, create a custom validator class, check that it is impossible to subscribe to itself. I'm new to this, please help, according to the examples from the documentation, I could not do this. class FollowSerialize...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Global XState context using React useContext hook Having some issues to implement XState in my app. I want to use the useContext for global context management together with XState to manage different workflows of the app. I'm trying to implement a use case consisting in a Modal launching a fetch request on confirmat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to put data of the same type in an array? I want to make an array with data for a list of videogames and want it to be able to have multiple genres, how do i do that? { name: "The Last of Us", console: 'PS3', genre: 'Horror', genre: 'Stealth', genre: 'Survival', } it only takes the last genre, is there a way to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: To copy the content of a disabled textbox on click of a button using angular I have an angular app, in which I am trying to copy a text on click of a button. I need a function to help me do that. I don't want to use clipboard API. I have seen the clipboard API but I want to write it in pure typescript A: you need t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No module named PageObjects found Test2.py from selenium import webdriver from selenium.webdriver.chrome.options import Options import time from selenium.webdriver.chrome.service import Service as ChromeService from webdriver_manager.chrome import ChromeDriverManager from PageObjects.LoginPage import LoginPage from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML content Column Headers: Repeating Column headers for every row? I am trying to Create an HTML Table using a measure as my values input for the HTML Content Visual. The problem I am encountering is that I see my column headers repeating for every row I have when I add a measure for the granularity of the data. M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find with power bi measurement those abandoned calls which have from the same customer on the same day another, but successful call we have to count, collect those abandoned calls which have on the same day, from the same customer another call which was answered. I tried this: Abandon with call = Calculate( 'Qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: :Error Comperision between pointer and intergers #include <stdio.h> int main(){ // 2) Write a program to convert ferhenhite to celcius. double temp; char unit1,unit2,Ferhenhite[] = "Ferhenhite",Celcius[] = "Celcius",Kelvin[] = "Kelvin"; printf("Enter the degree temperature you want to convert:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to split path when a specific folder is met in C# I have a path problem, let's say I have a path that look like this: Example 1: C:\AAA\BBB\FolderOfInterest\CCC\file.txt but it could also be like this: Example 2: C:\AAA\BBB\CCC\FolderOfInterest\DDD\EEE\file.txt Basically the number of directories before and afte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What's the difference between flink application cluster and job cluster I am reading at https://nightlies.apache.org/flink/flink-docs-release-1.12/concepts/glossary.html#flink-application-cluster and https://nightlies.apache.org/flink/flink-docs-release-1.12/concepts/glossary.html#flink-job-cluster Flink Application...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Simulation of OAM modulation and demodulation The laser signal is simulated by matlab after OAM multiplexing, through modulation, into the ocean turbulence channel or atmospheric turbulence channel, and then demodulation analysis of transmission error Analog wireless optical communication system, using OAM to transm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No problem, just want some ideas to make better Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Jrurjfjeieurjf Dudjdurue eudjdb djfuehakau fyeuzkkejeieje8eje #!/bin/bash # Define the input file and backup directory input_file="ip_config.txt" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I create more transparency and accountability with React Native app development process I'm currently working with a bunch of React Native developers to develop an app. Tech stack- React Native, Nodejs, MongoDB As a non tech person I would like to know * *How can you detect any changes made by any develope...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Are there any tutorials or example code to get a drake simulator project running in c++ using a CmakeLists.txt file? I want to experiment with the new drake simulator, however I do not want to build projects exclusively in the drake install folder under "examples" using exclusively bazel, the reason for this is I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apply the same set of CSS classes to multiple elements using sass I am creating a responsive HTML page and have to apply the following classes to multiple elements ( around 50 divs ) in the HTML page. Is there a way to apply the same set of classes to multiple elements instead of repeating the same code 50 times. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to identify the next different value in a pandas column I have created a pandas dataframe using the following code: ds = {"col1":[1,1,1,1,2,3,4,4,4,4,4,5,4,4,5,6]} df = pd.DataFrame(data=ds) The dataframe looks like this: print(df) col1 0 1 1 1 2 1 3 1 4 2 5 3 6 4 7 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Scheduling task two times per business day at fixed time with check for "green light" I am working on automating a task in java that is being run manually 2 times per business day, at fixed times. This task has to check in database if it can run (if some other task is running, it cannot start). I've exported the tas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Superset Scheduled Reports sent multiple times We have a superset deployment on our EKS, with Alerts and Reports enabled. We haven't changed anything, and now suddenly superset sends the same scheduled report 6 times every time. For example, we have a report with CRON */15 * * * * (every 15 minutes), and the executi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import JavaScript from an external file I'm trying to import some functions from a HS file into my HTML file. This is the JavaScript file, called index.js import { Network } from "./node_modules/alchemy-sdk/dist/cjs/index.js"; import { Alchemy } from "./node_modules/alchemy-sdk/dist/cjs/index.js"; // Opt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dpkg: error processing archive /var/cache/apt/archives/kali-themes_2023.1.5_ I messed up something in my kali. It tells that a package is already found in another directory and hence couldnt unpack it. I also have some other probs please help me figure out i tried apt --fix-broken install Preparing to unpack .../kal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I dont now why, but in the end of a executed to create a new project with NX send me this answer in the terminal and don't instal the src npx create-nx-workspace NX Let's create a new workspace [https://nx.dev/getting-started/intro] √ Choose what to create · react √ Application name ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter Firebase : Show details of listTile in container I'm trying to create list of users with Flutter Web. The list is ready. But I want that when I click on the listTile it should show the details of that particular listTile in a container next to the list, but NOT to navigate to a new page. How do I do that? Ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is wrong with my Jump code? I've been looking at it for a while now I'm trying to get my player to jump but he's not doing anything. This is the code for it. This is for 2D. extends KinematicBody2D #Variables for Player var player_speed = 100 var velocity = Vector2() #Variables from Jumping Tutorial export va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass value in a Get request in React so I can apply filter on the backend? I would like to retrieve a list of filtered messages from my API to my React App. On the backend the view for the Message Model looks like this. class MessageView(viewsets.ModelViewSet): """View for the messages""" serializer_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LOAD DATA FROM S3 with Unknown system variable error using SET parameter I'm trying to fill Aurora MySQL DB from CSV in an S3 bucket using the manual Loading data into an Amazon Aurora MySQL DB cluster from text files in an Amazon S3 bucket. In general, everything works fine, but when I’m using SET to modify data fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run the ps command from a Jenkins pipeline? I am trying to run the ps command from a Jenkins pipeline as seen below: stages { stage('Check if auto-scale job is running') { steps { script{ sh '''#!/bin/bash set -x ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Log File for invalid cast exception in c# ( IX Developer 2.10) i have a project made with IX Developer 2.10 and sometimes it is causing shutdown exception on my application. I know that is an invalid cast but i can't find any use of specific convert to String from DateTime in any of my files. Can somebody help me? T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Maven publication 'maven' cannot include multiple components / Publication only contains dependencies and/or constraints without a version Here is my project structure: - snow - snow-lib - snow-base-util - snow-web-common - snow-web - snow-user This is the code, very simple. https://github.com/site-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Allowing a web api's e.g. GET request handler to accept either a jwt with roles or scopes Scenario: I have a web api coded in C#. The controller's base class is 'ControllerBase'. The web api works as a app service in Azure. But what I'm trying to do is configure an API Management to use send-request policy to gain a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extract hidden input text on javascript table when scraping a website with python and Beautifulsoup I'm trying to get the information of the table for this public website. It results when i run the code i get the information but i'm not able to extract some hidden input, where the data and values are stored. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sharing On Instragram From Reactnative And Pasting Link from clipboard Sharing on instagram and pasting copied link from the app at the same time is not working. Technically the instagram share relies on the UIpasteboard which the clipboard library also relies on so the linked copied is overwritten when the button t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fixed bottom position broke after animation - react-spring I have a component that appears whe user scrolls, and this component is meant to stick on the bottom right of the screen. It worked fine until I added an animation on all my pages. Now it stays on bottom of the app, not of the screen. I have to scroll all th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WordPress custom Gutenberg block: Get block markup and render using PHP I've written a custom Gutenberg block and corresponding plugin using register_block_type() and @wordpress/scripts / @wordpress/block-editor. The block itself is written React-style, like so (save.tsx): /** * React hook that is used to m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PostgreSQL: "ERROR: more than one row returned by a subquery used as an expression" I need to remove all events from event templates that are included in request groups of 1 or 3, depending on the type of the latter. The request fields and the templates included in them are connected in pairs (request 'id' field - t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Border parameter does not show a color,but enabledBorder parameter does Can anyone simply explain the difference between border and enabledBorder.When I give OutlineInputBorder to both of them and set a color inside of BorderSide class.Single border does not show anything,but enabled does.Actually before me someone ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Text Processing and Files I need to write a Python program that: Opens an input file, input.txt Processes this file to count: The number of lines The number of words (with repetitions) The number of words (with repetitions removed) The number of alphabetic characters (A-Z and a-z) The number of total characters The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: collect2.exe Id returned 1 exit status when adding header file in C I tried to write a code about whether an integer is a prime. I add my header file "prime.h" and then include it in main.c and prime.c. Below are the code in main.c: #include <stdio.h> #include <stdlib.h> #include "prime.h" /* run this program using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SSIS Execute SQL Task - Conditional execution within the SQL script itself, not a condition at the task level, using a variable from outside the task I have a ForEachLoop where I'm getting filepaths in a directory. I'm assigning those filepaths to a variable. The goal is to write a filepath to a SQL table, so I'm p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75604868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }