Latest Questions

Letting one user login with multiple google accounts on one webpage

My team is building a loadboard for dispatchers. These dispatchers are loaned to a truck company and use their gmail account to send emails to brokers so they c

How to have v-for loop nested in an other v-for loop in vuejs working?

I have a types variable that is an array of objects. Each object has 2 properties name and content. The second property content is an array of object with only

Minimax Algorithm - Tic Tac Toe AI not selecting best move

I've been working on writing a minimax algorithm for my tictactoe game, but it doesn't seem to be choosing the correct move. It is possible to win against the c

Gradle test: println works, logger won't

I'm building a Gradle plugin that does a lot of stuff. I'm testing it. I added a lot of logs... None appear. Yet, if I add println statements instead of logs, t

Why the result of categorical cross entropy in tensorflow different from the definition?

I am testing outcomes of tf.keras.losses.CategoricalCrossEntropy, and it gives me values different from the definition. My understanding of cross entropy is: d

Leading zeros cut from JSON response when using enum

Essentially I am using enum to account for instances where code is either and int or string - but it appears when the JSON value is simply an int with leading 0

How to convert the image into qrcode in laravel?

convert the image into qr code

React native wont run after ejecting from expo

I developed an app using the managed expo workflow, however it's required to use a native apis (in this case WebRTC) and therefore I ran expo eject to switch to

Medical images, computing correlation of slices for a specific planes

What quantitative measure should I use to compute on stacked 2D images (slices of MR images) that should be specific to the plane (axial, saggital or coronal)?

Implementing React table expanded rows

It's my first time to use react-table librabry. I am struggling for the previous couple of days how to implement the expansion functionality using useExpanded h

How to resolve the following error in discord.py: "TypeError __init__() missing 1 required keyword-only argument: 'intents'"

I'm using Heroku as my server host of my Discord.py bot, but i am having a problem. the problem is: Traceback (most recent call last): File "test.py", line

How to write excel formula (SUM()) dynamically in a range of columns using openpyxl?

In my Excel spreadsheet I need to enter excel formula on a bottom that will summarize values. Number of rows can be different. But not columns. So in cell B10 s

Hibernate validation: Skip Constraint violation in specific situations(api calls)

I have an object User and as part of validation I have provided something like below: import javax.validation.constraints.NotBlank; public class User { pr

How to update multiple types appwidgets from the fragment of ConfigActivity by pressing one button?

I've made 2 different types of appwidgets showing some calendar data. Each type has it's own layout, AppWidgetProvider class, AppWidgetProviderInfo object, but

Why aren't knex migration not showing in psql database?

I created knexfile.js module.exports = { development: { client: 'pg', connection: { filename: 'postgres://localhost/myDB' } }, }; Then

How do I set the Program type?

I'm getting "ERROR: Targets with a unique build environment cannot be built in an installed engine.". This happens even when I build a new blank C++ project and

Is there a thirdparty or solution for get PWA or WEB Push notifications in IOS

I designed a website and I want to send it to its notified users but apparently iOS does not allow this Do you know any software (like a free messenger) that ca

how to get number of lines changed in a PR using gh cli command

I would like to find a number of lines changed for a PR using the gh cli command. Thank you for the help in advance.

How to remove Async storage warning from react native

Dependencies i used "dependencies": { "@react-native-async-storage/async-storage": "^1.16.1", "@react-native-community/netinfo": "^8.1.0", "@react-navigation/bo

Split blf-files in Python into smaller files

I'm wondering if it is possible to split BLF-files in Python? I know that there is a library (can) that supports BLF-files, but find no documentation on how to

I lose heroku authenticator app in which code generated

I lose google authenticator app in which Heroku two factor authentication sign-in.so how to recover two factor authentication code for login. Anyone help me

i want to use the turtle function to write out what i input

i have already made a turtle string to make every letter in the aphabet, and assigned them to functions, so i only have to print a() for it to write out an A fo

Orbeon form submitting empty body

I am trying to submit am Orbeon form to an endpoint (a power automate flow). However, all the endpoint is receiving are the headers. We're using a hosted versio

Account vs Block in Blockchain Solana

What is the difference between an Account and a Block in Solana Blockchain technology? As per solana docs, Block: A contiguous set of entries on the ledger cove

Normalise data where every second row is a column header

I have a system where you manually input data, for example data about people. Some fields are mandatory but majority are optional. When the data is outputted it

LateInitializationError: Field 'ques' has not been initialized

It shows this error although I have added late and required in the Question class constructor. It's repeatedly shows Exception caught by widgets library The fo

Can I dynamically generate boolean options on a custom Blender operator?

I'm trying to write a custom operator for Blender that: Gets the objects currently in the scene (may be lots) Filters them based on some criteria Prompts the us

Why do I get a heap buffer overflow simply by declaring a shared_ptr member variable?

Just ran into this very strange bug. I'm getting crashes due to memory errors after adding a new shared_ptr instance variable in an existing containing class.

Keep headphone jack powered on android device, even without music playing

I recently installed a tablet in my car (370z) I love the thing but the only problem I have is that when music isn't playing I get a static noise buzz. After do

Can't understand how to store values for each step

I am a beginner, trying to learn recursion and solve some problems (trying the subsequences problem). But before I could even attempt to get the recursion logic