Latest Questions

502 BAD Gateway | ingress nginx with cert-manager

I am using nginx ingress v1.1.3 in azure AKS v1.21. My traffic is getting terminated at nginx ingress for all other domains and it is working as expected. Recen

WordPress Loop Post Counter Never Changes

I want to style the first post differently so I am trying to use a simple counter that will add a class to the first post. First, on index.php I have this if (

Laravel 9: Auth::user() / auth()->user() null after successfull login

I made a manual login system in a Laravel 9 API that it's works correctly, but when I try to use Auth::user() in another controller, I get it as null, but when

How to only change selected state value from useDispatch function in redux

I am using google OAuth for authentication in the nextJS project with next-auth and on login, I store the name, email in the store. but in the initial state, I

How to programmatically segue after successful authentication with Firebase?

I'm just starting to code with Swift and I need help! I have authentication with firebase with email, I would like that after this login to show another view co

Is their a way to know if there’s a way to trace your problem

After using the nav tag to wrap my navbar code,so I’ll be able to style it. Now I made a mistake at the button close to the nav bar how can I trace my st

How to solve Matrix Riccati ODE in python

I want to solve the following Matrix Riccati ODE. My Matrix Riccati ODE After searching on the Internet, I found that there is something called continuous-time

Django processing form input name

I have changed the input's name attribute to some custom name, but the view calls form_invalid method. Why my Form isn't saving (validating)? html: <tr>

CodingBat - Java - Warmup-2 - "stringYak" algorithm

I'm presently trying to understand a particular algorithm at the CodingBat platform. Here's the problem presented by CodingBat: *Suppose the string "yak" is unl

Powershell batch renaming files with index

for a personal project I want to prefix folder and file names with an index. The goal is to have every childitem name remain the same except for the prefix. My

Vite outDir outside of the project root

I am building Vue3 project with Vite and I am using Vite build.outDir option to build the project outside of the Vue3 app root. This is my project structure, wh

Adding a column of totals using dplyr in a dataframe

how would you add a column to this dataset showing the number of individuals of each species?. install.packages("ggplot") library(ggplot) library(ggplot2) star

Google Coral Dev Linux kernel v5.x support

Currently Google coral dev runs on Mendel OS which supports Linux kernel v4.14 https://coral.googlesource.com/linux-imx/ linux-imx already support v5.4 for i.M

Pinia: $reset alternative when using setup syntax

I have a pinia store created with setup syntax like: defineStore('id', () => { const counter = ref(0) return { counter } }) Everything has been worki

Why I am getting "unbalanced parenthesis" error in flex

I was testing something with lexer, and wrote this regex rule:[0-9([a-b])[c-f]] ; According this docs, this is equivalent to:[0-9a-f()] ; For example, the foll

DataInputStream stuck when initialized

I have been trying to send a byte[] array across my client / server application using Sockets, DataInputStream and DataOutputStream, but on the server side, the

get list of lists from dict of lists by grouping elements at same index in every key-value pair [duplicate]

I have a dictionary a = {'a':[1,2,3],'b':[4,5,6]} Now, I wish to convert it into a list of lists such that [[1,4],[2,5],[3,6]] i.e. the

Whats missing on my Ruby 'Inverse Of' relationship

I know this topic has been addressed, but I have been at this for 2 days and I'm just stuck. I know inverse of does not create a new query, so should I use anot

Google Sign-In button > How to logout user if he clicks on the google buttons

I'm new here I'm stuck on a functionality that I want to implement into my website : the Sign-In button using Google For now, the following code add the Google

How to find double data type in range.find

Input: Sub RangeFindWithDoubleType() Dim strResult As range With ActiveSheet.range("A2:A11") On Error Resume Next Set str

count how many people who buy the same item at second time and how many people who did not buy the second item at second time (compare to firsttime)

Here is the question:count how many people who buy the same item at second time and how many people who did not buy the second item at second time (compare to b

How can I style option hover background?

I made select-option. But option:hover does not work. How can I fix it or what do you prefer? Style must be like this My codes <select> <optgrou

golang access values from map inside a map

I am leveraging Avi Go SDK to fetch avi healthmonitor configuration as below var healthmonitormap map[string]interface{} err = aviClient.AviSession.GetObjectByN

Content not from webpack is served from /opt/app/public directory

i have a simple application with react and typescript that display hello world on localhost:8080. When i run my application on command line it works and i see t

cls-hooked: AssertionError [ERR_ASSERTION]: context not currently entered; can't exit

I'm currently deploying an express app to Heroku. I'm using cls-hooked to set request ids for each request. This works perfectly on my local machine and inside

Create function that takes in IP or DNS name and pings it

Having trouble writing a python script that will ping an IP or DNS name from the command line. The function needs to return the IP and the time to ping it as a

Slow count query with group

I have a common aggregation query: SELECT products.type, count(products.id) FROM products INNER JOIN product_colors

Get Elements of a webpage in a webview

I'm trying to get the Elements of a webpage in a webview. These are actually values of an odometer. I'm using sketchware. I've tried getting the class values wi

how to add a table row that have different size and display compare to other row

in this excercise, i create a table with 5 row in tr and i put the last row (1 input and 2 button) in a div class btn. the display of last row is ok but i expec

Having an issue plotting: Columns must be same length as key

I'm new to Python and I'm trying to adjust this code to my data: import random import pandas as pd import numpy as np import matplotlib.pyplot as plt import mat