Latest Questions

DockerHub Build fails

I have a Dockerfile that looks like that: FROM ubuntu:latest RUN apt-get update && \ apt-get -y install sudo RUN apt-get update; apt-get install

Excel case-sensitive COUNTIF with wildcards: native function?

I'm trying to find a native Excel function (or combination thereof) which will behave precisely in the manner of COUNTIF (i.e will handle wildcards), but is cas

Can't see implementation of protected abstract functions in Android package

I have been going over the android package a bit. I am using sdk 30 and for example in SensorManager.java there is a function protected abstract List<Sensor&

Is it possible to write different types of elements in the array?

I learn C programing now. Is it possible to write both numbers and letters in an array? Can you give an example if possible?

Broadcast message to multiple Multiprocessing processes

I have a Multiprocessing application with a bunch of processes, I want the control thread to broadcast a message to multiple processes. If I used a pipe pair fo

Binding keyboard.on_press_key inside a For Loop in Python

I'd like to set up on_press_key binds using Python's Keyboard module through a For loop that's iteration through dictionary items. However, the binds do not see

Content-Language metadata field in GCS object not allowing ISO-639-2 from API

While trying to update the Content-Language metadata field of an object to ISO-639-2 field from the UI works fine, when trying to do the same from http API, it

How can I multyply spaces and repair my code in haskell?

Specify the function that appends a text to a given length by appending a sufficient amount of space to the beginning of the text! If the text is not shorter th

How can I disable 'MonthCalendar' and Datetimepicker 's visual style for VB.NET?

enter image description here I want to fill monthcalendar for my form.. but it didn't work, I figured out the problem is 'Visual style'. So, I tried Application

connection error when trying to connect postgres database to vscode

I have an issue when I try to establish a connection with my Heroku database through the PostgreSQL extension in VScode. I type in all the credentials informati

Google Indexing API in Opencart

I wanted to integrate Google Indexing API on my E-Commerce Site for Better indexing. It's my first experience working on Opencart. I have worked on WordPress be

Friend classes and header files

I am writing a C++ program where I wish to use a friend class in order to access protected members of another class. Here is the header for the class I wish to

holder.itemView.rowLayout.setOnClickListener

I have created the following adapter class for recyclerview but there is a compilation error while building in layout section "holder.itemView.rowLayout.setOnCl

Detect any USB device activity using C#

How to detect usb activity using C#? I want to use it to trigger a function. In my case the device was detected as USB composite device.

VBA PPT: How to add an image and send it behind the text or add it as a background image?

So we are trying to create some ppt report based on excell data. I'd like for the first slide to have a background image or just an image that is set behind the

Google People API: reading "other contacts" with addresses

I need to read addresses of "other contacts". Docs say that in order to do this, READ_SOURCE_TYPE_PROFILE should be set. However, when doing it like this: servi

How to select multiple class class with same name in JS

I use PHP to dynamically render these lists that I fetched from the database, and each one has the same class, because I can't change it, it renders dynamically

Arch Linux just started randomly opening 3 terminals every time I start up. How do I stop this?

My Arch Linux install opens 3 terminal windows at startup all of a sudden. This started happening after I updated using yay. The operation I did previous to tha

Flutter and audioplayer: cannot stop playing audio between 2 classes

**Hello, I am new to Flutter, I hope you will be able to understand my problem. I am using “AudioPlayers” and would like to play audio from a define

createAsyncThunk redux toolkit with typescript rejecWithValue and Payload types error

I'm trynig to implement authentifiaction slice in redux toolkit with typescript, but typescript is complaining about rejectWithValue error type and the action p

Counting pixels of same value in R

I need help with counting pixels of the same value in R. I'm doing a master thesis and part of it is calculating the NDWI of an area before and after floods so

Increase div id number with new div fields

The following script creates new input fields up to 4. I need to know how can I increase the ID also as follows.. with first click, "var fieldHTML" generate : &

PostgreSQL query slow when adding EXTRACT ISODOW

I have a large table(117 899 162 rows) the query below is very slow but if I remove EXTRACT(ISODOW FROM l2.starttime) IN (1) the performance is alot better. I g

Scala argument upper type bounds and overriding

I am trying to understand and incorporate upper bound types with overriding in my system, but have not been able to achieve it without some ugly code. I have th

`useTheme` must be used within `NativeBaseConfigProvider`

In my project I faced the above error can anyone tell me how to solve this error. The error I faced is: Error: useTheme must be used within NativeBaseConfigProv

Hide custom field depending on the page

I need to hide a custom field created by a theme only in a specific page. I am using a code that works perfect in another site but in wordpress seems to not wor

Can't group employees list without years

my issue is that when I want to group a set of employees according to the month of their birth date, Odoo separates the months by years, which I want to avoid b

Is there any sollution or code to find wsdl all methods and which type this methods GET or POST etc

I have a wsdl : https://www.lb.lt/webservices/ExchangeRates/ExchangeRates.asmx?WSDL I want to extract all methods and defined types of methods GET,POST etc. Is

Cron Expression to trigger every previous Month File

I am trying to schedule a cronjob to get triggered on the 4th of every month at 9 AM, which is fine. But I want to schedule a cronjob to run on every previous m

Why "for i in q" makes the result different from "for i in range(len(q))"?

I have code for calculating max depth using BFS, which works fine, but I couldn't figure out why it fails if I replaced for i in range(len(q)): with for i in q: