Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12231 articles
Browse latest View live
↧

Appears errors : element invalid

The code: it's appears element invalid but idk : so, how appears error: import { StyleSheet, Text, View } from 'react-native' import { SplashScreen, Stack , Sta} from 'expo-router'; import { useFonts }...

View Article


Why might a discriminator (for a modified WGAN architecture) with a...

The following are the Generator and Discriminator model architectures for a (modified) WGAN model that I have come up with for downsampling rainfall data by a factor of 4 (only as a test). The input...

View Article


rolling weighted mean by group with zoo and dplyr

I need to calculate the moving, weighted average by group in R.Below is a sample of my code:df %>% arrange(Type, Year)group_by(Type) %>% mutate("weighted.rolling.mean" = rollapplyr( df %>%...

View Article

Why does OpenCV C++ have a worse accuracy than Python-OpenCV?

Hey so i found a python code on the internet, and i found it runs really good, but i wanted it to be faster so i tried to translate it to C++. I did and it works , it draws rectangles on a separate...

View Article

new Date() validation of string with number

When inputing string with number the new Date() is missbehaving, is there another way how to achieve this without regex?let string = 'some string 1';let invalid = new Date(string);it is still parsing...

View Article


Finding the space

I performed this operation in Excel: =FIND(''", A1). The result shows VALUE! Error.I was trying to find a space in my date-time value 2017-09-01 00:02:01 and the result keeps coming as #Value.I don't...

View Article

Challenges in generating Perl standalone exe using Par-Packer

I am tasked to generate standalone perl executables. The structure of the project is like below--Composition--Input--Modules----tree.pm----log.pm----util.pm--Output--WorkingDir--dpp.pl--rpt.plTo...

View Article

Gitlab: Can I add the wiki to the original non-wiki repository, or achieve...

I have created a Wiki using the Gitlab web application. But I never have to commit anything to the repository to add the Wiki- it got added automatically.When I do git pull in my IDE, nothing gets...

View Article


ResultSet cursor to move to specific position or one step upward in row

i want to check if the username given by user is my database (Mysql workbench) or not thus i wrote the method like { while(rs.next()) { if(rs.getString(1).equals(username)) {...

View Article


error makes the SDL2 visual studio 2022 project cannot run because error...

The error that cannot open file 'SDL2.lib' why isn't working bruuuh ???I try to run the freaking SDL2 visual studio project but it wont wooorrk >:(IM RAGING RIGHT NOW AND SMASH MY KEYBOARD SO BADLY...

View Article

Hurdle in launching a Flask application on AWS Lightsail

The original project code is on VS Code. Pushed the application to DockerHub.com and from there pushed to AWS Lightsail.Here is the status on Amazon CLI:Last login: Mon Jun 17 10:13:58 2024 from...

View Article

Laravel reverb in production : should i run php artisan reverb:start on my vps.?

I downloaded Laravel with Reverb on my local server and everything is working perfectly.but laravel reverb dont work without php artisan reverb:start in production envirement .. should i run php...

View Article

What is the best architecture for a clustering task using neural networks?

I am currently working on a task in which I have to perform unsupervised clustering using a neural network.My architecture involves an autoencoder to derive a latent space representation for the input...

View Article


Getting an error com.google.inject.internal.util.$ComputationException:...

I'm using Windows laptop with Java version of 21.0.2, while starting the Browsermobproxy by running browsermob-proxy.bat ,getting the below errorRunning BrowserMob Proxy using LittleProxy...

View Article

I want pyspark to throw error, not fill column with null

Say one is reading a csv file.It has a column, UnitPrice, that has decimals.In Pyspark, code was constructed in error withStructField("UnitPrice", IntegerType())The data frame is loading the file when...

View Article


nginx comparing length of variables in config files

I need to compare the length of variables, for example,if ( strlen($query_string) < 16 ) { return 301;}I could find nginx documentation on string and other comparison but could not find about the...

View Article

Twilio Studio - Time of day routing split in call flow

Does any one have any experience, or could share an example of the best way to build in a day of day split to a callflow that would allow for a recorded message to play first if a call comes in during...

View Article


Static method 'buildExpression' requires that 'Button' conform to...

I am trying to create a button at Index 0 of LazyVGrid and on other indexes I want to show data from the api, but I am encountering this errorStatic method 'buildExpression' requires that 'Button'...

View Article

Using Playwright - how to test SVG image by d values?

In the website I'm automating, there are SVG images with icons.In once scenario, the SVG has a special arrow that points up and right.<svg class="SecretClass" focusable="false" viewBox="0 0 640 640"...

View Article

How do I select only a specific key's value from jsonb type in Postgres

I have a jsonb column which has data as below.[ {"key": "unit_type", "value": "Tablet", "display_name": "Unit Type"}, {"key": "pack_type", "value": "Packet", "display_name": "Pack Type"}, {"key":...

View Article
Browsing all 12231 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>