text
string
meta
dict
Q: Choose only one from 2 args with Python ArgumentParser I use ArgumentParser to parse some arguments for function. I want to limit that that user can use or count or show, he can't use then both. How can I limit that? parser = argparse.ArgumentParser( formatter_class=argparse.RawTextHelpFormatter, description...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ArrayList shopping list with input I am new to programming and have trouble creating a shopping list using an ArrayList and the Scanner method because I can't figure out how to print more than one input. My code: import java.util.ArrayList; import java.util.Scanner; public class einkaufsliste { public stat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to stop open browser on server with react-app? I'm facing an issue on remote development always opening the browser on Server side while I'm developing on client side. The setup is : * *a project created with create-react-app on my server machine. *a vscode-server remote ssh setup on the same server *vscode ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Big change in computational time if I store the ggplot object before saving the plot Please have a look at the reprex below. Even on a very seasoned laptop, it takes about one minute to get the job done and save a large colored scatterplot as a png file using ggplot2. What puzzles me is that if I change slightly the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use Google Place Api in Unity input field? How to use Google Place Api Autocomplete in Unity input field. https://developers.google.com/maps/documentation/places/android-sdk/autocomplete I searched in Google Documentation, but all is JavaScript not Unity C# I want to try to build project like user input addre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What are the disadvantage of using C or C++ while never using pointers or shared pointers? I avoid using pointers to avoid crashes entirely, and I prefer using STL containers instead like map or vector or others. I don't use polymorphism either (I prefer data oriented programming, but that's another story). I still ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: marginal effects in R not producing std. error or confidence interval for first variable value I am trying to calculate the average prediction for a regression that includes an interaction term. I am using the avg_prediction command from the marginal_effects package to do this. However, when I run the command with b...
{ "language": "hr", "url": "https://stackoverflow.com/questions/75627174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when posting a request using Ok http I get error when post my request invalid character 'S' looking for beginning of value I use format (.add) not " "OrgId": 121,\r\n "BId": 4956,\r\n " + " "Date": "2023-03-02T08:57:58.006Z",\r\n " + in order to put variables to my request body that retrieve erlier. My cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trouble with ending while loop by using getchar() != EOF I'm new to C and I'm making a simple function that will count the number of characters the program receives from user input (newline also counts as a valid character, I want to be able to do multiple instead of ending the program once user enters \n). The prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How should I traverse the object to create jsx using the form of the object as shown below? I want to create the HTML syntax below. How do I make an element corresponding to the title with the key of the object, and make a list of details while traversing the array to value? { products: { "women": [ {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Image Processing: Separate Yellow and Blue Channels in Lab Color Space I'm new to image processing, and I was given a task to separate the yellow (+ve values) and blue (-ve values) colors by a white edge from an image that contains only blue and yellow colors. Unfortunately, I don't know how should I separate both c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run Multi-Configuratio Project builds on multiple nodes at once? In Jenkins, I have a "Multi-Configuration Project" that builds a project for a dozen clients, using client specific ENV files for each build. On the built-in node, it will run 4 at a time, until all are complete. I have now added a new remote agent nod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular unit testing disable button attribute when form is invalid I am disabling button when the form is invalid. When form is filled in properly button is enabled. It works, but I have problems with testing it: I wrote the test like this: it('should have enabled button when title was provided', () => { fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Copy files embedded in an Excel Worksheet and pasting it in a folder? I have a small Macro with a Selection Window where you can check different options. The goal is that when you click "Create PDF". It will create a pdf with all your choices and copy a specific file that changes with your selections (embedde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alembic - how to create hypertable How to generate hypertable using Alembic? Some custom call must be added I suppose, but where? I tried event.listen but Alembic does not register it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75627197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do process/modify multi-value, highly categorical data for machine learning I have a large dataset that looks something like this (this is only a representation, the real one is much bigger): Target Attributes X A, B, C Y C, D, E, F, G, H, Z A, F, H, I There are hundreds of different Targets, and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using org.springframework.data.jdbc.core.convert.SqlGenerator in my own package throw composition design I'm currently working on a project that utilizes Spring Data JDBC custom repository. In my custom repository, I have implemented my own DataAccessStrategy, AggregateRoot, AggregateExecutor, and SqlParameterSource...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: have call post api into get data and then print but my var userdata = [user]() recived data empty func fetchMovies(completion: @escaping(Data) -> Void) { guard let url = URL(string: "https://jsonplaceholder.typicode.com/todos") else { return } let dataTask = URLSession.shared.dataTask(wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating an AR-based measurement app with automatic shape detection I am working on an AR-based measurement app that will allow users to measure distances and dimensions in real-world environments using their smartphone camera. I have tried a few approaches, but I'm not sure what the best way to implement this is. A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How show to optional text in Mat Select in angular I am using angular material design for my angular project. My question is how we can show optional text in mat select dropdowns [This is my dropdown image i have tried conditional span for extra text] (https://i.stack.imgur.com/gG7mx.png) [But the issue i am getting...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bevy - Render to wgpu::Texture I am looking for an elegant and hopefully bevy-esque way of rendering to a wgpu::Texture. The reason is that I'm am implementing a WebXR libary and the WebXRFramebuffer must be rendered to in immersive XR. let framebuffer = //get framebuffer from web_sys let texture: wgpu::Texture = un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Manual deeplink not working on android device GeneXus 18 Version: 18.0.169539 U2 I use this code in the main object of type menu: Event deeplink.Handle( &URL, &IsHandled) Composite msg( &URL) &IsHandled = true EndComposite EndEvent And when I click on a link related to de app, the app open a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Entering svg's dynamically is failing I am trying to dynamically insert a svg into a component but it is not displaying. The name of the svg comes from an object and in my component i am mapping over that object and inserting svg name as a string literals. Component: import React from "react"; import { SocialPlatfor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to call informix stored proc using spring data jpa How to call informix stored proc with list of params using spring data jpa @Query(value = "CALL db.fn_getnamedetlist(:p_id::LIST(INTEGER NOT NULL))", nativeQuery = true) List< String> getNameDetlist(@Param("p_id") List< Integer> ids); But I am getting below erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flex doesn't seem to be recognising my defintions correctly I am trying to match comments ({comment ends and starts with curtly brackets}) using this code com ^"\{"(.|\n)*"\}"$ %option noyywrap %% [^{com}] ; {com} printf("%s",yytext); %% void main() { yylex(); } on this piece of text: first line {first comment}...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript: Type unwrapping properties of specific generic type I want to achieve a type that extracts the inner-type of all properties being a Model<infer T>, but leaves others untouched; something like this: MyType<{ a: number, b: Model<string> }> // => { a: number, b: string } I thought it would be as simple as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to recover exFAT formatted hard drive contents I have an exFAT formatted external drive and am running Ubuntu from a CD. I have mounted the drive but when I go into it I can only see the recycle bin and system volume information folders. I know there are other folders and files because they were showing when ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set a graph as input and value as output in r-shiny I have a yearly data in a continuous line graph in R using plotly or ggplot. I have a widget to indicate the 'rate' in every month. If there is a way I could in R shiny app, change vertically one data point in a month by literally using cursor to drag it, but the w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL resultset "POST PROCESSING" result into composite keyed like representation for commonly occurring (left) join that ends up with rows repeated I can not find any satisfactory answer on this seemingly common issue with rows repeating for join queries. Note I am looking for a very particular answer, but I know t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get request not running with axios While fetching products from database the Axios get request doesn't work and shows Axios error. I'm confused why is it not working. If I try to see if api is working or not, api is working well in postman but it doesn't works in axios. Axios doesn't send query to backend to fetch d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I train a ready-made model on my data? I use a ready-made model - https://github.com/bhky/opennsfw2#preprocessing-details It has ready weights(open_nsfw_weights.h5). The model is trained on pics with 256x256 resolution. I have my own dataset with 640x480 resolution photos, how can I train the model? I tried ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to remove spaces before and after the comma in java I have an input mismatch error. used regular expression ("//s*,//s*",",") but it doesn't work. A: You should use \\ instead of // String input = "a , b , c , d"; String output = input.replaceAll("\\s*,\\s*", ","); System.out.println(output); // output: "a,b,c,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to mock appSelector with dummy data in React redux-toolkit tests I have the following react function component: const AssetsPage = () => { const [filteredAssets, setFilteredAssets] = useState<Asset[]>([]); const assetsState = useAppSelector(selectAssets); ... useEffect(() => { setF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to allow a service account to receive the entire list of courses that are in the Classroom domain? I'm a Google Admin super admin and when I try to get a list of all courses I get all the courses that are in my domain. Is there a way to allow another account to get a list of courses that are in the domain, but w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: typescript interface is not mapping to response I am trying to map a typescript interface to my axios response. In the dev tools I see the token in the response {"token":"f8ad0dc6-6092-4b26-be9b-a891aa856eef"} but I get a undefined when I try to console.log(token). I have tried it two ways. One with just json and t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do i always get redirected to "#blocked" in javascript and expressjs? I am trying to replace the form actions with for loop and but there is a problem. I replaced them but when I press the "add-to-the-basket-button" system redirects me somewhere called "#blocked" even the action is set to the normal value(I chec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add custom entity properties from config with Entity Framework I am searching for an easy way to build a web app with Entity Framework where a customer can add custom attributes (with customizable SQL Server field types) to existing entities. I have a prototype that manages books (title, publisher, published ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does conan handle universal builds on MacOS I am googling but unable to find some definitive answer. How does conan handle universal builds for x86 and arm64 on MacOS? We are developping an application and use conan to build a depednency for our project. Then we redistribute that with the application. I would li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why when I move file %GOROOT%\tour.exe to foo\tour.exe , Go tour cannot run? * *I read https://go.dev/tour/welcome/3 *My environment Microsoft Windows [Version 10.0.22621.1265] (c) Microsoft Corporation. All rights reserved. C:\Users\donhu>go env set GO111MODULE= set GOARCH=amd64 set GOBIN= set GOCACHE=C:\Users...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Loading class `com.mysql.jdbc.Driver' - deprecated with Spring Boot 3, Hibernate 6 and Hibernate Search 6 First to mention - this one is new: it's not about spring.datasource.driver-class-name or log4jdbc.drivers because I have both set to com.mysql.cj.jdbc.Driver which should fix the warning according to previous a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jooq and Hibernate (n+1) problem while map into Dtos We want to integrate together with Hibernate, so idea is to use Jooq as a complex query generator. I saw a lot of examples that is describe in JOOQ Official example But I didn't manage to solve the n+1 problem and mapping into the DTO projections(we want the same ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android BLE application I'm new to developing android application. I'm trying yo develop one BLE based android application(ANDROID 7.0 version) to pair the multiple BLE devices, to send and receive the data. Is there any sample BLE based android application which will be helpful for my development? Any tips on this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Quarkus dependency injection not discriminating on uriInfo being injectable or not I am not sure this is a bug, I think that this is more me not knowing how to properly use Dependency Injection within Quarkus. I have the following setup in Kotlin with Quarkus 2.16.3: interface Resolver { fun getInfo(): String } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cronjob with crontab fails to get access to my sqlite3 database in Django4 I want to use cronjobs to write data in my database. I use crontab do manage that. I hav setup the setting.py file like this: CRONJOBS = [ ('*/2 * * * *', 'someapp.cron.my_cron_test', ) ] the actual cron.py is in the app folder and looks like...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Amplify Federated Signin fails when app is deployed I'm using federated login for my Amplify hosted React web app. When I run it locally I can log in successfully, but when I publish to Amplify I'm getting an access denied error. I also have a "Login With Cognito User" button that accepts a user/pwd combination of a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update map widget location in Thingsboard based on device activity status? How can I configure a map widget in Thingsboard to zoom in on the location of an inactive device on my dashboard? I have a dashboard in Thingsboard that displays the locations of several devices on a map using a map widget. When a devi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Load balancer in java how do i create a load balancer and working node in java for a project?this has to be around round robin, i’ve already created a client. I’m unsure how to create a working node so the client can send the load balancer jobs for the node to do, this has to be around round robin. I have got some s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Flutter Dio Body parameters in GET Method I want to send body params in dio get request
{ "language": "en", "url": "https://stackoverflow.com/questions/75627274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: JsonArrayRequest returning null? I am trying to write a get request using the volley library for frontend and spring boot for backend. I've tested the backend and it works just fine but the response on the volley is null, any ideas as to why this may be? heres my volley request: RequestQueue queue = Volley.newReques...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP, update code that uses the deprecated each() function I am trying to move some PHP scripts from a PC running PHP version 7 to a PC running PHP version 8. There is problem with following each() query: do { $Tabelle->SetLine(array_values($Line)); foreach($Line as $Spalte => $Kapitel) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Converting time data units in NetCDF into days instead of seconds Ive got timeseries data from a single month, units are days since 1950-01-01 00:00:00 UTC. When trying to convert the units to days, it instead converted it to seconds. So as to give me a range of "1950-01-01 06:00:40 UTC" "1950-01-01 06:01:10 UTC" ti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show Updated List from Database everytime on QLineEdit textChanged Signal in Python I am populating a list fetched from database on a QLineEdit using QCompleter While working on that QLineEdit, User has to update the database record using another window So, I want the fetched list to be updated on QLineEdit's textch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access variables of Gui callback event in AHK v2? I am trying to get the content of a edit control in a Gui i create in AHK v2, triggered after pressing a submit button, as the following code: myGui:=Gui() myGui.addEdit("vInput") myGui.addButton(,"Submit").onEvent("click",(*)=>output:=myGui.submit()) myGui.sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when trying to connect to the google auth api I'm trying to create a vocal assistant using the google API but I continue to get a bad request when trying to run my code when connecting to the google API. I'm using python in VScode on a mac and in the past it had worked until it blocked my account when i mistak...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I change a pandas row value, for a certain column, for a certrain date (datetimeindex) in a dataframe? I have a pd like this: DATE delivery 2020-01-01 1 2020-01-01 11 2020-01-01 10 2020-01-01 9 2020-01-01 8 .. 2023-03-02 5 2023-03-02 4 2023-03-02 3 2023-03-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Gather stats on Large table We have very large table with almost 80 Billion records with one hash paritition. any suggestions how to gather stats on this table as it is taking a week to get completed or failed in between with snapshot too old error. I am using below parameter to gather stats: BEGIN  dbms_stats.gathe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot embed button with a link in Telegram Bot I'm trying to make a function in telegram bot which will add a button with a link to any text message, here is a main part of a code: message_user_send = {} name_of_url = {} url_user_send = {} ############################ @bot.message_handler(commands=['aaa']) def se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPF Memory Leak - view referenced by WindowCollection I am experiencing a memory leak in my WPF application. I have profiled the app using ANTS Memory Profiler which reveled this: I am not sure I understand this. It looks that the WindowCollection holds a reference to my view. The weird thing is this view was not e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to give two decimal point of double which converted from String value in android java I Have String Value. then how to convert in float value and then give it two decimal points? A: Get String value from Source of Value. Then Convert it in double after declare DecimalFormat Method. and follow bellowed step. Str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Compose Custom Progress Animation With Pause/Resume I want to make a progress bar with pause and play, like this. How can I got this output with compose ? I tried a lot of animations but couldn't handle with the start/stop operations. What is the most elegant way to do this? A: The easiest way is this one I think:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Not able to run this code. After two levels, the code seems to fail, in retrieving the values required to run the next level I have made a GUI for selecting different floors. The user has to mention the plot, after which the output is shown for the levels/clusters and then in the next level, an option is given to se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I create a blurred-bottom effect on a panel? How do I draw a smooth blurred-bottom effect on a panel and with the bottom button ? enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75627301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Getting the same validation accuracy for all the epochs When I'm training my CNN model I'm getting improved training accuracy but validation accuracy is 48.5 in all the epochs.ps-im using data augmentation using .flow() method of imagedatagenrator of keras I thought of getting accuracy improved but it's got worse by...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automatically add commas on Command+Enter in WebStorm When I am in the middle of the line, I can press Command + Enter to go to the next line. How can I do that it also automatically was adding commas if I do this in arrays? For example, I want to add two plugins in the following ESLint config: extends: [ 'airbn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why i am recieving null at itemsnapShot present in FutureBuilder in news list tile i am getting output like "Still Loading Item 54621" This is class where i have problem.i have checked api twice api recieving data properly but its not reaching to news list tile ''' //News List Tile File import 'package:flutter/mater...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Request user location via Chrome extension (Manifest V3) I'm currently trying to simply request the users location for a weather widget provided by the extension's content script. The issue I'm facing is that while this would otherwise be doable via navigator.geolocation.getCurrentPosition(success, error, options); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i intialize firebaseui with angular fire I am having trouble using the firebaseui in combination with angular fire. My code for setting up the ui is the following constructor(private afAuth: AngularFireAuth) { } ngOnInit(): void { const uiConfig = { signInOptions: [ firebase.auth.Goog...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to move from wide to long format with groups of measurement variables in one case (not single variables)? I have a dataset in a wide format: each case corresponds to one person. Each person has a number of measurements, and these measurements belong together: There are nine time points and different things are m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Increased data in one table is impacting performance of other Step 1: Small amount of data in all tables (around 10) select * from table1; This query takes 40-50ms. This table has only 1 record Step 2: We load a million records in table2, table3...table7. We run the same query on table1. select * from table1; This...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How Can I Make Form Under Box? Hello I want to make form under the box (new referral) how can I do it? I wanna add first name last name date of birth, phone, email, addres sections under the box but i could not solve it out. Any help appreciated. I shared my codes on code snippet. I wanna add icon and write First na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: setText on textview without replacing sketchware I need to edit the textview without replacing the all text, for example myText : Hi Like if i click the button it will add "Hello" , so it should be like this "Hi Hello" without replacing the all text. Sorry for bad English. I used setText and it replace all text
{ "language": "en", "url": "https://stackoverflow.com/questions/75627320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python -Pandas- How to return speicfic rows based on conditions and return the specific column rows only Have a dateframe and based on muliple conditions need to return the rows and to create a new column to store these rows. Example record = { 'Name': ['Ankit', 'Amit', 'Aishwarya', 'Priyanka', 'Priya', 'Shaurya' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Convert text to float in redshift with same output My view returns text field output since I concatenate my field with '%' symbol. When I push this data into excel using to_excel, it inserts as text and not numbers. Is there a way to fix this problem so that my excel sheets has numbers instead of text? redshift code...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Encountered error(s) while parsing pipeline YAML: /azure-pipelines.yml: Object reference not set to an instance of an object variables: ${{ if eq(environment, 'dev') }}: - group: 'newgroupa' ${{ else }}: - group: 'newgroupb' The above lines in yml gives me object not set to reference error. I even ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to initiate a remote repository on GitHub from the Git Bash command line? If it is not possible, is there any way to do it without entering the browser and manually creating one, which then has to be synced to the local one? A: You can create a GitHub repository using the command line. You can use th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Openlayers styles not applying correctly So im trying to color some features in an openlayers vector, for that im using a function in the vectorlayer style property. Said function uses a constant style defined above as a starting point and according to the feature properties it should either apply the color the feat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix HTTP 400 Bad Request error when accessing WordPress I am on a WordPress site hosted on Google Compute Engine with an Apache server. The problem I am facing is that when I try to connect to my site using HTTP, I get a 400 Bad Request error. There is no problem with HTTPS, and I have an SSL certificate. Whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot run program "/system/bin/ping" in Unit test I have written a method to get the ping which looks like: fun ping(host: String): String { return try { val ip = Inet4Address.getByName(host) val ping = ip.hostAddress?.let { executePing(it) } Log.d(TAG, "Executed: $pi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Helm to deploy MariaDB to cluster ended up with FORBIDDEN error I am deploying MariaDB on my k8s cluster (Docker-desktop version) running on MacBook (M2 chip). Since the M2 chip is an ARM64 architecture, so I try to find the matching MariaDB image. I found this one. So, I use Helm to deploy it by: * *Add the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to create a custom checkout page in Paypal for variable amount one time payments and recurring payments? When a user make a custom amount payment, I need to show a Paypal checkout page with different fields like tax, total amount etc. I want to add multiple fields like sales tax, total amount etc. How will I ach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: ES6 `import/export` syntax with `dotenv` yields error `cannot find module`, why? In my Node.js project I need to use import/export syntax. Before that I've used CommonJs require() and everything worked. Now I am assuming there is problem with how I use dotenv in my project. So every time I try to run an app I get an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a relationship with a calculated field I am trying to create a relationship between 2 tables in Access. In one table I have customers, in another I have areas by postal region. In the customers table I have all the usual address information and a simple calculated field which is just the country code and th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parameter 0 of method listenerAdapter in "package/class" required a bean of type 'com.example.messagingrabbitmq.Receiver' that could not be found Hеllo, all, I am building a simple RabbitMQ AMQP server with Spring/Docker to run the server itself and I am following this guide: https://spring.io/guides/gs/messaging-ra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I access the desktop visible Windows in swift? I am using this below code for accessing the mac open windows: let options = CGWindowListOption(arrayLiteral: .excludeDesktopElements, .optionOnScreenOnly) let windowsListInfo = CGWindowListCopyWindowInfo(options, CGWindowID(0)) let infoList = window...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React native : How to get country, state and city from pincode field I want only three data county, state and city from pincode field that enter by user, how to do this with example, actually I am new in react native.
{ "language": "en", "url": "https://stackoverflow.com/questions/75627350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Listing all uses of own directive in Angular I'm looking for way to list all instance of used my own directive [app-feature]='1' in whole application without visiting all sub pages. * *Angular 14
{ "language": "en", "url": "https://stackoverflow.com/questions/75627351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to populate a vector / matrix of int / size_t with NAN in C As far as I understood, NAN can be allocate to a double type variable but not necessarily to int / size_t Is there still a way to populate a vector/matrix of type int / size_t with NAN? #include <stdio.h> #include <stdlib.h> #include <math.h> typedef s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Strange Security Error in Spring Boot 3.0.2 I have a very strange security issue in Spring Boot 3.0.2 When I try to secure a REST service with @PreAuthorize and the method contains parameters I get the following error message: Name for argument of type [int] not specified, and parameter name information not found in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to fix error message "php parse error" when you have a function call? I have created a function that sends pdf but when i look at the stack trace, saw this message is coming from line 4 [03-Mar-2023 12:34:35 UTC] PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting ',' or ';' in /home/a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: VueJS3, how to pass data from view01.vue to view02.vue i want to pass a data from a view (.vue file) to another view (.vue file). Not from a component to a view or from a view to a component. here my view05.vue code <script setup lang="ts"> import { ref } from "vue"; import { useRouter } from 'vue-router'; import {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem of nodejs version for a nuxt application under docker I am in the process of docking a web application with Nuxt that I made. It is a little old so I have to import nodejs 14.0.1. But unfortunately it gives me this error: => ERROR [internal] load metadata for docker.io/library/node:14.0.1 The console Here i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a Typescript library for pub/sub without event names? Instead of `on(eventName, listener)` I am looking for `observable.add(listener)` I have implemented my own version: /** A broadcastable list of event listeners. */ export class Observable<F extends (...args: unknown[]) => unknown = () => void> { #liste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: modifying a JavaScript backend code for generating OTP and password which is added to HTML code if anyone could help me out by modifying the code or highlighting the mistake in this code : <script> $(document).ready(function() { $('form').on('submit', function(e) { e.preventDefault(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Azure Functions Python error - no job functions I am trying to run locally my Azure Functions using python and the error message I get is the following: [2023-03-03T11:34:59.832Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to run react on Docker Hi I am working in react application. Below is my dockerfile FROM node:alpine as builder ENV NODE_ENV=production ARG NODE_AUTH_TOKEN ARG NEXUS_AUTH_TOKEN WORKDIR /src ENV PATH /src/node_modules/.bin:$PATH COPY .npmrc ./ COPY package.json ./ COPY ./ ./ RUN npm install --production...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Jupyter kernel keeps dying after some time I'm currently trying to implement a genetic algorithm that works with Decision Trees in order to make an AI play a game of Geometry Dash. I made a function to combine trees (see below) that seems to work well, but after a few calls to that function the kernel dies. I don't ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React: fetch() method breaks whole application I'm experiencing really weird issue and have tried everything (ChatGPT, asked my front-end colleagues) to find out what is going on, but nothing helped me so far. So, this place is my last hope. Here is my Main.js file: import React, { Component } from 'react'; export ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jupyterlab giving warnings in --collaborative mode and not opening notebooks I'm trying to run jupyter lab --collaborative It starts correctly but as soon as I connect to the server (open the url in my browser), I start getting warnings of this kind [W 2023-03-03 13:41:26.430 ServerApp] 404 GET /api/yjs/JupyterLab:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding values by row and have them apply to a single row variable while preserving other variables and rows I have a dataframe that looks like, df <- data.frame(num1 = c('a','b','c','d') ,num2 = c(1,2,3,4) ,num3 = c(5,6,7,8) ,num4 = c('x','y','b','d')) And would li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Jest outputs that a class constructor is not a constructor I have a class called Server with a function initRoutes and a bunch of others: export class Server { app: Express; checklistRouter: ChecklistRouter; dateRouter: ChecklistRouter; <...> constructor(){ this.app = express(); this.ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }