Latest Questions

Android with Libgdx: cannot resolve symbol GoogleSignInOptions

I'm developing a game on Libgdx. And I can not set up GoogleSignIn in the application. I'm using this instructions: https://developers.google.com/identity/sign-

How to export all the pages to CSV in MUI DataGrid?

I hava a DataGrid table from Material UI with more than 3000 rows, each page contains max 50 rows per page. What I want is to be able to export all the rows to

How can you graph multiple overlapping 18 month periods with daily data?

I am doing an exploratory data analysis for data that is collected at the daily level over many years. The relevant time period is about 18 - 20 months from the

Django Queryset annotate based on unique value

I am trying to write a queryset operation that transforms the first table into the second table as efficiently as possible This is the criteria: For each name,

How to fix jagged line from predict_gam in ggplot2?

Data: structure(list(ID = c(19903L, 28185L, 28207L, 28429L, 28522L, 29092L, 29127L, 29219L, 29304L, 30981L, 31166L, 31411L, 32010L, 33231L, 33640L, 33714L, 34

Add delay in consuming messages in rabbitmq stream

i'm using rabbitmq stream and i need to add a delay between messages because the stream handles messages very fast. how can I do that?

Fix wait time for Selenium Form using Python

I'm new to Python and am trying to automate a form fill up. I have done all the work but when trying to "Submit" it's not reading the XPATH and hence not clicki

How to get TF-IDF value of a word from all set of documents?

I need a TF-IDF value for a word that is found in number of documents and not only a single document or a specific document. For example, Consider this corpus c

React Material UI Autocomplete, prevent OnInputChange, after selecting value from dropdown

How do I prevent React Material UI to not trigger onInputChange, when a person selects a option from the dropdown? After using the dropdown, it retriggers the A

Firebase SDK crashes on FBLPromise with unrecognized selector

I've followed the Firebase docs for integrating my iOS app with Google Sign-in authentication, and now that I have the "sign-in with google" button showing up i

How do you make button save form data on a csv file and redirect you to a new page at the same time?

I am trying to make a button that saves form data on a file and redirects you afterwards, but although the save function works just fine, the redirection doesn

Convert date format from a 'yfinance' download

I have a yfinance download that is working fine, but I want the Date column to be in YYYY/MM/DD format when I write to disk. The Date column is the Index, so I

DB default column value null while saving with Spring Data JPA

I have a JPA entity with the following fields: @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "modified_by_user_id") private User modifiedByUser; @Conve

Placeholder is not showing up

echo "<label class=\"control-label col-sm-5\" for=\"badgeid\" style=\"margin-left: -50px;\">Recipient:</label>"; echo "<div class=\"col-s

CSV adding values to an existing column and calling from a dictionary (no pandas)

I need to add some additional values to an existing column for my CSV file. So this is what I have so far: Sample input CSV file: Alfa,Beta,Charlie,Delta,Echo,F

How to sign Multiple Flavor APK's with a Single Keystore

I have 11 flavors for an app and one Keystore for an app. I hoped to use one keystore to sign multiple product flavors like below. signingConfigs { release

Firefox (geckodriver): How do I inject JavaScript functions into a page so that they persist upon return from 'executeScript'?

I have a Selenium Java library that includes a JavaScript "glue" library that enables JavaScript functions to throw serialized Java exceptions. This enables muc

Is it possible to check Kafka broker and the topic which Im sending message is healthy before sending message

I have a batch application which needs to send message to two different Kafka topic on two different clusters. I want to make sure my kafka broker in which my p

Using Count + STRING_AGG, to display distinct values

I am trying to use COUNT with STRING_AGG. The problem is that in a subquery it counts as needed and I have count 1 when it's 1 employee that is taking the cours

Flutter: I can't pull data with Mysql1

I recently started Flutter. I want to make a simple contacts application with "mysql1" but I failed to pull the data. I installed the MySQL plugin in VS Code an

mongodb - combining multiple collections, but each individual query might not need all columns

Here is the scenario : We have 2 tables (issues, anomalies) in BigQuery, which we plan to combine into a single document in MongoDB, since the 2 collections (is

Assertion Failed in afxwin2.inl, Line 160 - Having trouble finding cause of error

The assertion failure happens in line 160 of afxwin2.inl, and the break point takes me to line 1394 of dbgheap.c - "_ASSERTE(pHead->nBlockUse == nBlockUse);"

Install OroCommerce 5.0 community error 500 Internal Server Error

I have a problem with nginx config when start server nginx: This is my site upload to host my nginx config in etc/nginx/nginx.conf,I try to use phpinfo() into i

Don't understand OpenSSL API error handling

I'm implementing a little HTTP client using OpenSSL, and I'm trying to handle "connection timed out" errors gracefully. By gracefully, I mean I want to print a

Add a custom fee for percentage and fixed cost to specific payment gateway in WooCommerce

In WooCommerce I need to apply a custom handling fee for a specific payment gateway. A custom handling fee for percentage cost and a custom handling for per fix

How to construct a string where every char is doubled?

TL;DR: I am asking you to tell me what would be the most efficient approach to double my strings and print them out? Full story: I had trouble with the title,

How to fetch only CH_PAY_MODE loan_id from this table?

loan_id coll_date coll_pay_mode 8007571771 APR-2022 CH 8007571771 FEB-2022 CH 8007571771 JAN-2022 CH 8007571771 MAR-2022 CH 8007571771 MAR-2022 CL 8007571771 M

getting NoSuchWindowException while scrapping twitter usernames using Selenium

I have been trying to scrape twitter usernames by going inside the followers page but the issue is if I leave my pc there after some time I get this exception a

Is Visual Studio Code v.1.66 available on Rasberry Pi OS?

I use Visual Studio Code on Rasberry Pi. I tried to sync data today and received an error asking me to upgrade to VSC v.1.66 (currently on v.1.65). I can't see

Jetpack compose, bring nth item in column to top of the screen like Twitter Comment section

if you can notice here, as soon as i opened the screen the UI first focused on comment composable on the screen and i was able to scroll up for top composables.