text
string
meta
dict
Q: how to use between condition for 2 different tables in gorm and golang I have a table by the name of Service and a table by the name of service_pricing. and there is a relationship between them . I want to select all the services by date(which is a column in service_pricing)between start_date and end_date. can someo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReactNative onDestroy event not allways fired When I close the Android program in the emulator or in a device, not fire allwais the onDestroy event or just not show messages in console. In the MainActivity I put the onDestroy method as follows: public class MainActivity extends ReactActivity { private static final...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to turn off discord bot from app with python? I want to make app, where RUN button will run the bot and END button will turn off the bot, but I have problem... When I click on END button it won't turn off... Please ignore that messages, which aren't in english, It's not important. app.py: import tkinter import c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Remove rows with duplicate combinations of factor levels in two columns After bind_rows() a number of large data.frames, i end up with a data.frame like this: tmp <- data.frame(Query=c("A", "B", "C", "D", "A"), target=c("D", "A", "A", "A", "B"), values=runif(5)) tmp Query target values 1 A D 0.0607532...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Mono - System.Web.UI.WebControls.EntityDataSource We have a few Entity Framework projects, that we would love to get converted to Mono for mainly cross platform development purposes (as opposed to running on cross platform machines). But there appears to be a few things missing on the implementation, such as: System...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Icon C# Linux Console Exe I have a project which can be build for both windows and Linux. It has the following CSproj configuration for Linux: <OutputType>Exe</OutputType> <Configuration>PI</Configuration> <TargetFramework>net6.0</TargetFramework> <RuntimeIdentifier>linux-arm64</RuntimeIdentifier> <ApplicationIcon>....
{ "language": "en", "url": "https://stackoverflow.com/questions/75593585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I identify users in front of an information screen to depict user related data using BLE? If so, how? I have an information screen application implemented in java. When a user is in a certain range of the information screen, I want to depict user related data on the information screen. It should also work for mu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REST Controller Not found in Spring Boot 3.0.3 applications. I did not find any good solutions I have a small toy example with spring boot 3.0.3. These are my two simple classes: package org.crea.water4agrifoodmock; import org.crea.water4agrifoodmock.controller.ModelMockerController; import org.springframework.boo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: access both params and query with zod the documentation for zod-middleware gives this example: export async function endpointCode(req: TypedRequestBody<typeof bodySchema>, res: Response) { const typedBody = req.body; return res.json(typedBody); } it give nice access to body through req.body HOWEVER i need to ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hibernate ConcurrentModificationException problem in Stress testing There is an application with the following configuration: 1- HK2 for DI 2- Hibernate for ORM and 3- GrizzlyHttpServer and the its hibernate configuration is : import org.hibernate.*; import org.hibernate.boot.*; import org.hibernate.boot.registry.St...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate sequence number in asp.net core using ef core 6 I want to generate "BAN001" this number using ef core in asp.net core and store in database and on every new client is added it should be increment to "BAN002" and so on. I want to generate "BAN001" this number using ef core in asp.net core and store in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do i make sure the changes i made in my JFrame stay even when i exit the frame So I'm making a seat reservation system in Java using swing and i want to save the seats reserved by a user so that when another user opens the The seat reservation window he cant choose already chosen seats. This is my first time ask...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to validate mat input text field inside a mat table in angular 6? I have a mat table in where Im getting values from backend and displaying. Now Im trying to add a new typeable field "cmnts", where it should be a text field and have validations. My issue here is validation is applying to every row & whatever tex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can add custom bytes to net.Conn struct or make one I have some bytes which I want to add to a net.Conn or make a new net.Conn with those bytes. I have a func that proxy 2 conn and i want to insert custom data in that proxy. var data = []byte("Hello") // Create My Conn With Custom Data conn := net.Conn{ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSIS - Loop through variable in API post body request The API cannot return the whole request without me setting some filters in the post body request. It times out. Therefor I want make a loop where I load data for each year in different dataflows by a variable in the "fromValue". Can you help? Would also like to k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: table state not compatible with columns reordering when using the table component? I'm using version 12.2.3 of PrimeNg and the p-table component. I need to resize columns and to reorder them, this is running perfectly. But I also need to be able to save table state and as soon as I enable it, I can still drag column...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (Solved) Why is smtp not sending email on published Blazor Server app? I have an smtp (System.Net.Mail) issue. On debug mode (developing) my smtp code runs perfectly. No errors. But when I publish the Blazor App an error occurs. Upon investigation I got this error Object reference not set to an instance of an object...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alpha Transparence in unity particle systems I want music nodes to get out of my boombox in unity. For that I created 4 notes, which I gave a transparent backround. Now I want these sprites to be used by the particle system in unity. For some reason though unity gives it a backround every time. If I enable Alpha is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VIES SOAP Request I am using vb.net and i want to make a soap request for getting data from VIES website I am using this code: Dim wc As New System.net.WebClient() Dim req As String req = "<soapenv:Envelope xmlns:soapenv=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:urn=""urn:ec.europa.eu:taxud:vies:services:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multi-container deployment to azure app service through GitHub actions I have recently started with GitHub actions and I am stuck at seemingly trivial thing. I will appreciate your help with my question. I am trying to deploy multiple images on Azure App Service through Github action. For sake of simplicity, I am on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a file available at url using uWSGI, Django and nginx I'm attempting to have Django/nginx serve a specific file under a specific URL, unrelated to the Django app itself. I have a .php file I'd like to serve and be displayed as a normal PHP. The PHP file I'm using: <!DOCTYPE html> <html lang="en"> <head> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bash script string manipulation So I have a array of file names, that contain some tar files, So for example there are 2 file names in the array, acceptance-tests-0.0.134.tar and grafana-9.3.2-debian-11-r11.tar. How to we write a bash command that gets us, 0.0.134 from the first but 9.3.2-debian-11-r11 from the seco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to restart GStreamer pipeline or Argus Camera API without restarting the system? My goal is to restart the Argus Camera API or Gstreamer pipeline restarting the system. This is because sometimes the C++ app crash and will not restart. The only known solution now is to restart the system. My expected result is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load a tensorflow .yaml config file now that model_from_yaml is depricated? I am trying to load an object detection model from the official tensorflow model zoo. I have one problem however. They all seem to use the old config + checkpoint system. The config files are saved in .yaml format, but the model_from_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unix timestamp to Excel datetime How to convert the Unix timestamp(1662091200) to Windows timestamp format in Excel? VBA code might be helpful. A: UNIX time can be expressed in two ways (10 and 13 digits). Try the next function, able do deal with both cases: Function FromUNIX(uT) As Date If Len(uT) = 10 Then ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: UFT One AIUtil Wildcard I am using the AIUtil functionality to select an option in a pop up and then click the ok button. The issue is interacting with the options within the popup. The code is: AIUtil.FindTextBlock("some text").Click Some text is variable based on the user but he beginning of the text always start...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What's be the maximum number of floating-point arguments that can be passed to functions in XMM registers? What would be the maximum number of floating-point arguments that can be passed between functions using the multimedia registers (%xmm0 to %xmm15)? According documentation up to 16 floating-point arguments can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: eksct error unmarshaling JSON during processing YAML file I am getting error during applying YAML config to AWS K8s cluster: Error: couldn't create node group filter from command line options: loading config file "K8s-nodegroups/group_test.yaml": error unmarshaling JSON: while decoding JSON: json: unknown field "f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lookup in Flutter I am learning on how to use lookup in Flutter, this is an example that I came across. void main() { Map<List<String>, String> lookup = { ['foo', 'bar']: 'foobar', ['baz', 'qux']: 'bazqux', ['hello', 'world']: 'helloworld', }; List<String> key = ['foo', 'bar']; String? result =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making interdependent and auto-updating attributes in a Python class I'm trying to make a class with 2 or more mutually dependent attributes (e.g. a and a-plus-1). The idea is to be able to initialize an object with one and only one of these 2 attributes and the other is updated simutaneously. Here is a minimal exam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can not get morningstar to work with puppeteer page: https://www.morningstar.com/funds/xnas/VTWIX/portfolio It has a class named square-text. Which gives result when I query it from the browser console; document.querySelectorAll(".square-text") But I am getting Error: Evaluation failed: TypeError: Cannot read proper...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which stream should I choose to getting data from the database? I'd like to ask you about using "hot" Flow streams in the android app. Let's start with simple, example scenario. We have an app, with Room database, MVVM architecture pattern, and Flow with Coroutines for manipulating data from database. There are a co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Export results of Macrobenchmark in bitrise I am trying to run macrobenchmark in bitrise and I could do it with only gradle task which is: benchmark:connectedAndroidTest after I run this gradle task I can not see benchmark results in bitrise but in my local I can see that result file is inside of the: benchmark/bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does twilio modify audio message to make it browser/device compatible? I want to implement voice message functionlaity in a web chat that uses twilio. And have issue with it not playing in Mac Safari and ios app (the same app that uses twilio as well) devices. I suppose the problem might be in the mime type of the r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a nested route parent not accessible remix I am creating a page in remix for a user. In this page I want to have the user access routes "/users/123/about" and "/users/123/feedback", and not allow the user access to the route "/users/123". My file structure currently looks like: users |-->$userId | |->...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Query the parent table from child table in laravel I don't know if the term or title is right but here is what i want to achieve. I want to get the data of the parent from child table: lets say Location hasmany Store, and Store hasmany Products My goal is how i can get the data of location thru the product data? In ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: product search not working properly in solr 8.11 with SAPCommerceCloud 2205.7 I am using solr 8.11 with hybris 2205.7 and sapmachine jdk 17 product search not working when searching with complete product code. Ex: If my product code is 12345 I am getting results when searching with 123 but Not getting result when ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What implementations of Go exist beside the Google implementation and gccgo? The Go language has a specification. I'm aware of two implementations of that specification: the Google implementation and gccgo. Are there others?
{ "language": "en", "url": "https://stackoverflow.com/questions/75593667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: How to configure webpack so that it does not bundle JSON files in a specific folder We have a project where there are some mock JSON files inside the src/test/mock directory, some of them are pretty large and can not be deleted or moved elsewhere. I recently started using webpack-bundle-analyzer plugin it shows that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to use image as button (html, css, js), not working I am trying the make a page with a number of clickable images, when user clicks one of the images a popup (related to said image) should appear. When i only add 1 image the code works and the popup is shown, but as soon as i add a second image (with differen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the preffered way of writing media queries in SASS / SCSS? In the company we are not yet in agreement on what is the better way to write media queries in SCSS, we have 2 following possibilities: VERSION 1 .page { &__logo { img { height: 50px; @include media-breakpoint-dow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: animation of matrix code in the background please tell me how to make an animated matrix code so that there is animation in the background. I can't figure out how to work with js
{ "language": "en", "url": "https://stackoverflow.com/questions/75593672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Flutter integration test doesn't let me enter OTP into a textfield while running the automated test I have written an integration test for my flutter project where I have three screens, 1 where user input his email (i.e login screen) , second OTP verification screen, third is home screen, I wrote a test for login sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to re-architect slow web pages pulling lots of data I run an ASP.NET (C#) Web Forms ecommerce website hosted in Azure as an auto scale-out WebApp, using an AzureSQL database. Each of the 300k product pages displays a significant amount of data that's pulled from the database. Retrieving the necessary data requir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: group table by column and select the minimum date and corresponding value I have the next problem. I need to obtain by grouping and aggregating the following: tabA<-data.frame(nro=c(1,1,2,2,3,3), date=c("2020-10-01","2021-10-05","2022-12-10", "2022-11-01","2020-11-14","2019-10-11"), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Add a Scrollbar To a DIV When Height Is Unknown? I have a div with significant content that needs a scroll bar. This div is inside a "flex" layout that is in turn displayed by an Angular MatDialog component. In other words, there is no fixed height and no way (that I've found) to specify such in a dynamic w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to superscript variable using raw string in python I am using pyplot and numpy in python to show the plots of x^s where s = {2,3,4,5} and iterating for x^s and x^s. When using 'fr' to import my variable 'x' and its negative value, the superscript is only working for '-' and not '-2' for example. My code is as fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get os-default non-unicode text encoding on Windows? I need to consume serialized strings produced on the local computer by a third-party unmanaged DLL. The DLL was compiled by other company without UNICODE macro defined, and the serialized strings are using the OS-default encoding. On legacy .NET 4, the Encoding.De...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform: each.value is object with 5 attributes even after adding 6th and 7th attributes I'm trying to add a couple of settings, is_hns_enabled and account_kind, to 2 existing storage accounts while creating a third. The 2 exisint just need the defaults for these settings stated explicitly. Running into the below ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dependencies in pom file Please, explain, I try to add jstl. I do everycing according manual. But jstl still remains red. <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency> and jstl and 1.2 becane red and server gives me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flag accounts on the basis of Previous entry I'm doing a case study for which I need some help. A person is applying for Visa and can apply through any medium. We would like to understand which method did person opt for before coming to Office (Medium of application). I have the information here in the table below -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add client credentials or from email credentials in PHPmailer I set the from in PHPmailer configuration to an email different than the username, and I had this error "Client does not have permissions to send as this sender" I have the credentials of the from email (port, host, password) but I didn't find how to add ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saving invoice numbers in multitenant table raises a "Deadlock found when trying to get lock; try restarting transaction" I have found an error in an invoice/orders application that needs to calculate the next concurrent invoice number for each tenant and then save the invoice. I'm using the MySQL "FOR UPDATE" optio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Create diagonal extrusion mapboxgl I've been trying to come up with a simulator for buildings based on zoning codes, I can measure most values, create floors, etc, but I cant find a way to extrude diagonally, or creating a perpendicular plane to the floor, so I can evaluate the angle form the street to limit buildin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Allowing passing a function as an argument with an optional kwarg in Python I have a function that takes in another function as a parameter, and then runs it when a condition is met. However, some of the function passed in will have a keyword argument, and if it is present, I want it to be filled. This should also w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I check a successful write on a binary file with c++? I have seen these two methods to check if a written was successful on a binary file: if (!file.write(reinterpret_cast<char*>(&variablle), sizeof(variable))) { return false; } and if(!file.good()) { cout << "Error occurred at writing time!" << end...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to subscribe to ActivatedRoute change event and get URL and params from it? I'm trying to clear input text by pressing buttons which send routing event. So, if I'm getting specific route and no parameters (see green buttons on screen below), then text box should be cleared. If route is incorrect, or correct but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flight Reservation Static Web can you help me to fix (https://i.stack.imgur.com/z7yQj.png) I wanna make flight reservation like this (https://i.stack.imgur.com/3oCZK.png) this is just static website for my school project, help my please :) Here is my code HTML (https://i.stack.imgur.com/dr5VZ.jpg) CSS (https://i.sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: i was given a task. Comt is in German. i got syntax error for div. can someone help me out ; Manh Le, 1503230, 28.02.2023 ; Hauptprogramm (Einsprung nach RESET) main: ; Aufruf der Subroutine zur Initialisierung call INITA ; Alternative INITB oder INITC ; Berechnungen ; Minimum finden mov R0, #10h ; Adresse des erst...
{ "language": "de", "url": "https://stackoverflow.com/questions/75593711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to invoke a parent class constructor in php 7? I have a php code as shown below in which I want to know how to invoke a class constructor at Line A in the code below: class HelloWorld extends GoodWorld { public function __construct($label, $name) { AwesomeWorld::AwesomeWorld($label, $name); /...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to count the elements in an Array in Ruby result= [ { "range_id": 18, "id": 1, "start": 1863, "end": 1875, }, { "range_id": 12, "id": 2, "start": 1820, "end": 1844, }, { "range_id": 19, "id": 3, "start": 1875, "end": 1887, }, { "range_id": 12, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: gradle - get output binary path from build.gradle My gradle project output .apk at below path: app/build/outputs/apk/debug/app-debug.apk How can I get the same from build.gradle? it maybe output to release folder for release build. so I do not want to hardcode it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75593714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove lower subnet values in a python list I have a list of subnets as below ['10.10.0.0/16', '54.214.0.0/16', '0.0.0.0/5', '54.214.50.0/24', '54.214.30.0/24'] Here '54.214.50.0/24' and '54.214.30.0/24' subnets will also fall under '54.214.0.0/16' subnet. So, I need a final list as below. how can this be achieved u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to center antd Card in Col in React? I want a card to in the center of the screen. I have written the below code: import React from "react"; import "./index.css"; import { Card, Col } from "antd"; const App = () => ( <Col style={{height: '500px'}}> <Card style={{marginTop: '70%'}}> <p>Card content Ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mapping c# string with entity framework to sqlite I'm committing a dotnetcore identity model to my sqlite database but it's having trouble mapping a text field to the sqlite text data type for some reason. This is out of the box - nothing special about this at all: public partial class CreateIdentitySchema : Migrati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure nginx to serve Django at a different endpoint? I separated my frontend (NextJS) and my backend (Django). I want to serve my Django app at /api using Nginx. events {} http { server { listen 80; gzip on; server_name $HOST; location /api/ { proxy_pass http://backend:8000/; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GDB 7.11.1: error: call to undefined function 'wcwidth' I want to build gdb 7.11.1. I run a command: ../gdb-7.11.1/configure CC=/home/syrmia/Radni/llvm-13/build_llvm-13/bin/clang CXX=/home/syrmia/Radni/llvm-13/build_llvm-13/bin/clang++ CFLAGS="-g -O2 -Wno-error" CXXFLAGS="-g -O2 -Wno-error" --enable-werror=no, (1) w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: V2: Sleep until webpage updates via ajax? My setup and why V2: I have a simple macro that utilizes mousemove/click. I am using V2 because I hope it will be more reliable than V1 for this; however, in V1 I don't know if it's AHK's fault because the pixel locations of things on the screen seem to change irrespective o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can i fix my codes? (bitget ccxt create_order takeProfitPrice) ccxt is the newest version. My code: order = exchange.create_order('BTCUSDT_UMCBL', 'market', 'buy', 0.001, params={'takeProfitPrice': 25000}) Results: Traceback (most recent call last): File "D:\Anaconda3\Lib\site-packages\ccxt\base\exchange.py",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run Rails.application in a module I have a simple ruby file that is in the root directory defined as: module MyFile require 'rails' ... end This file needs to access certain credentials, but the following returns an error: Rails.application.credentials.dig(:service, :password) => undefined method `credentials' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: livewire: public variable must not be accessed before initialization I'm calling the reset() method once.a modal is closed. One of the public properties is an Object of Class Owner. I have type hinted it during definition like this: public Owner $owner; In the mount method I also initialised this property $this->ow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filebeat not collecting all logs I have issue with filebeat. I'm using autodiscover for kubernetes. Filebeat is collecting logs and sending them to elastic and they are visible in kibana. Some logs are not sending and I don't understand why. I see in Kibana log: Starting Application using Java 17.0.5 on.... but I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue 3 does not select the first option in a select as the default one I have a Vue3 application, where I'm showing some select boxes. The options are we getting from JSON data. Except the first option in the select, which is a default one with a text for the users to see. My issue is that when the page is loaded, th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JsonUnsupportedObjectError i can't solve the error I'm new to Flutter. I am trying to perform insert operation with api. While performing this operation, I want to take the current date and save it with the api. But I am getting error. How can I solve it as soon as possible here are my codes var myinsert={"ID":say...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modal form not being responsive on mobile screen Requirement: There is Card. On click of Play Video button an YouTube video will appear in a modal form. I have written the CSS for button as follows: <!-- CSS to style the button --> <style> .close { border: none; background-color: #fff; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error with combineLatest after updating rxjs from 6.x to 7.x After updating rxjs from version 6.6.6 to 7.4.0 I got an error in my combineLatest function. searchQuery = new FormControl(null); searchStatus = new FormControl<UserStatus>('ALL'); searchParams$ = combineLatest( this.searchQuery.valueChanges.pipe(startW...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read csv file in python for only last 10 years I am working on stock market data set. I am reading Apple stock data. In the csv I have 22 years of data, but I only want to read 10 years of data. In Date column, the date starts with 1999-12-31 and latest date is 2022-10-28. How should I do it. I have to read 100 stoc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Web browser - Function Key on physical keyboard not working We have a SAP Fiori web application. On each transaction, shortcut to function key are available on web pages. When we access to the web pages with a browser on a computer, function key are working. We are planning to deploy mobile computer under an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Changing Size of IconButton in React The code below creates a grid of icon buttons. import * as React from 'react'; import Background from '../components/Background' import { Alert, View, FlatList, Text, StyleSheet } from 'react-native' import { IconButton } from "@react-native-material/core"; import Icon from "@exp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Images rotating when uploaded only on iOS flutter the images are randomly rotating when being uploaded. For android it's not an issue but it is for iOS so I tried this to fix it. but it doesn't work on most pictures: changeAvatarImage() async { XFile? pickedFile = await ImagePicker().pickImage( source: I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "testfcm" site work with Android device and not with iOS device I'm trying to test push notification on mobile devices, for that I use https://testfcm.com/ On an Android device, I see the test notification but not on an iOS device (even if a green popup saying "successfully Notified OK"), in production the push noti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot publish an ASP. Net application using Visual Studio as I cannot find password in website summary page on Somee.com I am trying to publish an ASP.Net web application using Visual Studio. While I am trying to publish using Visual Studio, VS is asking user id, password, and other details. I can find other detail...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update the xamarin app on a button click from the app itself I have a xamarin application and using Appcenter for the publish, we have a settings page in our App and need to enable an update button if a new release available in appcenter. And also need to update the app when the user clicks on that update but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IPOPT error: only size-1 arrays can be converted to Python scalars Good morning, I am trying to run a non-linear optimization problem by using IPOPT solver in python. However, when I run it, displays the following error: only size-1 arrays can be converted to Python scalars. I tried changing in the minimize_ipopt f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the most efficient way to wrap C++ with Python to create a simple ray tracer? I want to create a simply ray tracer in C++ based on Peter Shirley's book series and add a Python wrapper for it so the user can create the scene in Python, rather than C++. I've looked into Cython and PyBind, along with native C A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Flutter SliverPersistentHeader intercept touch events GoogleMap ignore the touch events in SliverPersistentHeader. Although I wrap it with GestureDetector to manipulate GoogleMap, it doesn't work properly. I have to use SliverPersistentHeader to make UI what I want. class MyPlanDetailPage extends StatelessWidget { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Associating function egress with a static IP address I have followed the instructions on how to associate function egress with a static IP address. I want to secure the API keys used by my cloud functions. This is working for some APIs but does not work with Google Maps APIs, specifically Directions and Places. I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: many to many condition in eager loading with sequelize I want to load a User with all its Organisation and all the Team of the user via RelUserTeam for the organisation of the user: const user = await User.findOne({ where: { _id: "x-y-z-a-b" }, include: [ Organisation, { model: Team, where: { or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Text inside a chartjs doughnut has value but becomes undefined in runtime I have a chartjs doughnut that I want to have text inside the ring/middle of it. I have created/registered a plugin for it. If I hardcode the value it will work. If I pass a value from the doughnut chart to the plugin, I can see the plugin has...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: RabbitMQ: Publish more than one item? I wrote a quick wrapper around RabbitMQ, but struggling to publish more than 1 message? If I have a batch of 1,000 messages that need to be added at a random time, I use PublishBatch which just looops BasicPublish. For some reason, I'm ending up with sometimes half, sometimes 90...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is my indentation breaking my code? How do I work around this? I am working on a simple coding assignment for my grade 11 computer science class. The instructions tell me to properly indent/use whitespace in order to get full marks. I looked up how to do this (putting blocks of code at the same level of indentat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: amqp rhea connect to virtual host node I'm using rhea to connect a NestJS application to a AMQP 1.0 server using the following code. const host = <some url>; // I from some external source const port = <some port number>; // I get from external source const target = <some queue name>; // I get from external source ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send emails via Gmail SMTP with PHP script (without PHPMailer or any third-party package) I'm trying to send emails from my application via Gmail without using any third-party package like PHPMailer. I wrote this PHP script email.php: <?php if ($_POST) { // if all informations are filled if (($_P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to render pdf content in react.js app I have a specific use case where I have to fetch the pdf content using axios.get and then render the content explicitly on UI On front end I am using React.js and having Express.js server in backend. My front end React app cannot call cross domain apis (third party apis) so,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: StorageAccountList request works locally but not when deployed in dotnet app I have a web-api which is an App Service 'instance' and is deployed on Azure. This web-api is dotnet-core based and it uses version 6. I have another resource, Storage Accounts, where I have a couple of storage accounts which I use for my g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Refactor this function to reduce its Cognitive Complexity from 19 to the 14 allowed I am creating a project using angular and node, In my project i have written one function where lot of if and else if statements with multiple conditions. i am getting cognitive complexity issue. I went through some links, but I am n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Compare dataTable with List of strings I'm using Selenium & Cucumber and I'm trying to use DataTables functionality. The idea is to test all footer links with schema like: Scenario: I verify footer links * I verify that links section inside the footer are visible | Colofon | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Vue 3 v-model binding not working when passing filtered data I have a situation where a change in some data which is filtered before being passed to a child component using the v-model binding is not detected. I'm using the multiple v-model binding syntax coming from Vue 3 (v-model:myObject="myObject"). Here is a mi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSS Selectos witch Classes and HTML Elements I want to add CSS for an option Element in a select Element that is a Class. But I in a certain way, because of my code. I wanna use Selectors to edit the CSS of the first option Element. Imagine my code would look like this: `<div class ="one"> <select name="red-dropdown...
{ "language": "en", "url": "https://stackoverflow.com/questions/75593792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the Python3 equivalent to Excel's =NORMDIST(100,200,25,0) In Excel =NORMDIST(100,200,25,0) puts out 0.000535321%. How do I get that same value in Python? I have tried using scipy.stats.norm but it gives different results.
{ "language": "en", "url": "https://stackoverflow.com/questions/75593793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }