Latest Questions

Filter my select options by department and location

I have a problem in my website, I have 2 dropdown selects that are Departments and Locations, my problem is when I select a certain department and start typing

Is this pointer always a runtime construct

I am learning about the this pointer in C++. And i came across the following statement from the standard: An expression e is a core constant expression unless

Java JDK 18 in IntelliJ prints question mark "?" when I tried to print unicode like "\u1699"

tldr: I downgraded to JDK 17 (17.0.2) and now it works... I was watching a beginners Java tutorial by Kody Simpson on YT (youtube.com/watch?v=t9LP9Nt9Nco), and

one button function does not work on mobile but it works on pc correctly?

actually, it is a mini project about cart-shopping, clear button in cart section works correctly on pc and also works when I resize it to mobile screen on pc bu

Maximization of portfolio return by implementing the portfolio variance constraint in MATLAB

I have solved the minimization of portfolio variance problem many times, using fmincon or quadprog (of course, quadprog is much faster). The formulation of the

How to access functional component inside a function from an external JS file?

export default function HorizontalLabelPositionBelowStepper() { const [activeStep, setActiveStep] = React.useState(0); const [completed, setCompleted] = Rea

Expo publish fails in github actions but works locally

I am trying to automatically publish my app on expo when pushing on the main branch. When I try locally my app gets published correctly, but the build fails on

Queryset filter to filter response that exactly contains the value as substring in django views

I have created filters that filter API responses, if the response contains at least one letter in the value as substring, I need to create a filter to filter re

Idris2: Nested WITH clause

My Code My piece of code, i.e.: equal_suffix: Eq a => List a -> List a -> List a equal_suffix u v with (snocList u) equal_suffix _ _ | Empty = []

ModuleNotFoundError: No module named 'scikits.talkbox'

i am importing from scikits.talkbox.features import mfcc from scipy.io import wavfile but getting this error: ModuleNotFoundError: No module named 'scikits.tal

can't start solana validator node,can't connect

I have used SSR, and the viewer can access the node get_cluster_shred_version failed: 108.160.170.41:8001, connection timed out ..... [2022-05-07T01:25:37.98495

Redux toolkit useselector doesn't grab the state properly

I'm trying to store my current user using redux toolkit. I'm dispatching the action in the Login page and it looks like when I try to grab the user state on tha

inputing a list of tuples into a dictionary - python programming

I'm taking a MOOC on introduction to python programming, and have no idea how to proceed with one of the problem sets on dictionaries. Could you please provide

Improperly configured error says I'll have to define env variable DJANGO_SETTINGS_Module .Please help me solving this problem [closed]

So I m just a newbie trying to learn django .. i was just trying to copy what Harry did(a youtuber who teaches code) but I got stuck right aft

AR-vos - Unity based app does not start on Android-12 when built with Unity 2018

Ar-vos (https://ar-vos.com), my Unity - ARCore - based app does not start on Android-12 anymore after solving the android:exported="true" issue. In particular I

IOCelot Builder does not contain definition for AddAdministration

I'm using .Net core 6 and i get an error on the AddAdministration("/administration","secret") when trying to supports changing configuration during runtime on m

Do these two snippets return the same value?

I'm not sure how to title this question, but it's concerning a pattern where the || operator is used to resolve a sequence of undefined values to the first defi

How to convert YYYYMM to YYYY-MM datetime format without day?

I have two datasets that have monthly frequencies. For one of them,df, I had to aggregate some data to turn it from daily to monthly using the following code: d

Codeigniter - foreach form input table

I have a foreach loop contained within a form there an input is required. I want to submit these all of input values to the database. Currently it only submits

Get multiple times current time on single Button

I have a button showing text START when I click on it I shows me current time in textview.(I consider this time as start time). Than convert the text on Button

Creating a batch script which takes inputs from the user and creates folder structures

Cobra kai_______Season 01_______S01E01 | |______S01E02 |____Season 02 |______S01E03 | |______S01E04

Finding Error in android studio java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT

I am new to Android studio. I am trying to connect to brother label printer QL-820NMB with the new Android APK (SDK 31) with android version 12 and the device

ESLint rules for no-unused-enums

There's a no-unused-vars eslint rule that can warn/error if a variable is unused: https://eslint.org/docs/rules/no-unused-vars If I want to ensure that there ar

List unique years from a set of dates in google sheets

I am currently achieving the process of extracting unique years from a range of dates with the use of helper columns shown here: Is it possible to achieve the

Python Telegram Bot: How to measure interaction time/response time of user?

how can I measure the time the user uses to interact with the bot? E.g. The bot sends a message. We want to measure the time from the reception of the message t

ReferenceError: Routes is not defined Discord

client.once("ready", () =>{ console.log("Bot is online"); const CLIENT_ID = client.user.id; const rest = new REST({ version: "9"

How to check set_fact in molecule?

I've created a simple task which creates a fact (new variable): --- - name: Define internal user based on prefix set_fact: role_user_uid: "{{ lookup('vars

nodemon server is giving this error when i am starting the server with npm run start-dev

MongoServerSelectionError: getaddrinfo EAI_AGAIN cluster0-shard-00-01.qvjmj.mongodb.net at Timeout._onTimeout (/media/alax/New Volume/Programming Hero/Assignmen

GET not able to find URL

I have made a basic Laravel project and had configured my api.php file to have a GET route when I want to fetch data for my project, but whenever I try to load

Write files to azure function

I have an azure function that take some files from storage account and write them inside the function , whene I run locally it works but whene I deply it shows