Latest Questions

error gradle when update to bumblebee android studio version

today, i update to bumblebee android version, and i create new project and i import some lib, include dagger-hilt. in build.gradle (module) i insert: plugins {

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified

App crashes at runtime with the following error : java.lang.IllegalArgumentException: maa.abc: Targeting S+ (version 31 and above) requires that one of FLAG_IM

C# access to stack object property

How can I access the objects property in this situation? Araba araba = new Araba(); araba.Renk = "mavi"; araba.fiyat = 12345; // I created this class and it wo

random an infinite generated grid of pictures

I have some trouble with this web app I'm making, I need to make an infinite and random grid, but I don't know how to make it random, in that way that either it

useSession not returning data as expected

UPDATE It works now. All I had to change is session: { jwt: true, strategy: "jwt" } I am new in next-auth. I was practicing next-auth sign-in with credenti

Is there any reason to keep array length -1 in iterations of a loop using arrays?

private static void SortArray(List<int> nums) { int buffer = 0; for(int i = 0; i < nums.Count - 1; i++) {

onclick() event is not working in javascript and span tag

I have written the below code to display textarea in the form but it is not working in javaascript. the real requirement is when i click on reply in span tag a

Memory error when running scipy with multiprocess under Windows 10

I write a program that will use concurrent futures ProcessPoolExecutor. When I set the worker number to 2, it runs smooth. But after I increase the worker numbe

Handle Notification Bidirectional Body Text in the Correct Way

I have a notification service that sends a notification to the client according to its language. The notification body language can be either Arabic or English.

File reading in C with fgets entering into a never ending loop

I'm attempting to do basic file reading in C with fgets. It should read one line, pass it to the tokeniser function which should split it at every ' ' and add

how to parsing web socket response (JSON) in flutter

I have a task, I want to take the data through the web socket, and display them on the screen of the application. But I did not even find a normal example to do

In D3.js, what is the difference the graphing function required to make a line graph and one required to make an area graph?

I have an application which renders a line graph from programmatically created datasets. I would like to allow users to swap between different visualization mod

Eloquent Where using CASE WHEN and withMin()

I have a query like this: Product::withMin('promotions as promotion_price', 'promotion_products.price') ->orderByRaw('CASE WHEN promotion_price IS NULL THE

CPU Percentage Scan

I need to scan through all running processes and filter the ones with high usage. I currently have the code bellow but is taking too long to scan through them.

How to capture names of clicked folders in the right pane of a GtkFileChooserWidget (GTK4)?

My box runs Ubuntu 21.10. I use GTK4, C-language and XML description of the GUI. I am new to GUIs in general, and to GTK4 in particular. The program uses a GtkF

how do I delete a Gerrit account in version 2.10?

I am trying to delete a user account on our Gerrit 2.10 server. I found this article here on StackOverflow, but it applies to version 3.0 and references branche

How to nest formatted strings in XAML?

Is it possible to nest formatted strings in XAML without creating a custom class? Here is an example of what I want to achieve: Format a string, e.g. "inner sta

Test functions cannot both take a 'done' callback

I'm trying to create a simple test with nestjs, and I'm get this error Test functions cannot both take a 'done' callback and return something. Either use a 'do

I was Getting below error when i'm to import csv file using Logstash 8.1

I'm getting below error when I was executing below command in my cmd prompt C:\Program Files\Elk Stack\logstash-8.1.2\bin>logstash -f ./logstach.conf Logstac

vuejs basic conditional rendering issue

I simply just want to show the span if the name is found in the data. If its not found in the data, I want the span to hide. I am using simply v-if or v-else.It

shape '[1]' is invalid for input of size 2048

I am trying the extract features from images using resnet 152 model. It was working just fine with resnet18 model but when I try to use resnet152 model, it show

c# Cefsharp how to make correct sequence of JavaScript actions on the web site

These sequences of actions work with Thread.Sleep, somewhere in 1 second, somewhere in 2 seconds. I think using Thread.Sleep/Task.Delay is not good. Because it

Command failed: adb shell am start

Getting error while trying to run this command npx react-native run-android for my react native android app

Rails 7 css assets are not working in production, need help understanding how the asset pipeline works without webpacker

Trying out rails 7, with tailwind and postcss. I have a few stylesheets in assets/stylesheets, which I import through a file called imports.css in the same fold

Dependencies issue while installing model card toolkit

Model Card --> Model Card toolkit I want to install a model card toolkit in my python virtual environment through this command: pip install model-card-toolk

Count and list all values

I'm trying to loop through cells of a specific column, find new values in those cells, count how many times a specific value is found and return the values alon

Challenge: Short-Circuiting a Loop - Interview Practice

Question: Complete the function holidays that accepts an array of strings and iterates through the array. If the array contains the string "October", return "Ha

Blender to unity animation issues

I have a model with animations in blender, which I then put into my unity file as a FBX file. Anyone know what I did wrong?

OS X: #include <CoreFoundation/CoreFoundation.h> leads to error: unknown type name 'dispatch_block_t'

$ cat t1.c #include <CoreFoundation/CoreFoundation.h> $ gcc t1.c In file included from /usr/include/dispatch/dispatch.h:51, from /System

How to test getters in a state class using bloc_test?

Say I have a state class class MyState extends Equatable { final bool isSaving; final String errorMsg; const MyState({ this.isSaving = false, thi