Latest Questions

Update indexes mongodb using Spring

Does someone know what Spring application properties need to be specified so that the index is overwritten (if already been created) with new parameters. For ex

Foreign key 'FK_NhanVien.....' references invalid table 'PhongBan". Why invalid?

Foreign key 'FK_NhanVien.....' references invalid table 'PhongBan". Why is it invalid? create table NhanVien( MaNV varchar(9) not null primary key foreign k

Vector layer being drawn before the Openlayers map?

this is my code for the drawing const drawLines = () => { const points = [[-89.8802, 32.5804], [44.419834, -97.568073]]; const featureLine = new F

How to use SearchView with fragment

I am using a RecyclerView and on the top of the RecyclerView I am using a SearchView but the SearchView is not focusable. I have tried with EditText too, but th

Flutter: Voice Detection Trigger Phrase

I am currently using the speech_to_text package to add voice control to my Flutter app. This voice detection is triggered by a button click. Is there any way to

Jekyll generate html code with newline problem

I use jekyll to generate my blog, and there is the code: ## 🤹🏽 Skills ### **Familiar with** <img align="left" alt="python" height="35px" sty

Check if value exists on one date missing on next

I have one table with below column Table I want to find missing nodes Missing node definition: node present on day and missing the next day will be missing node

openssl_encrypt does not return anything

function encrypt($text,$key){ $method = 'AES-256-CBC'; $size = openssl_cipher_iv_length($method); $iv = substr($key, 0, $size); $openssl = open

How to solve thymeleaf template parsing error

I'm trying to present a html to screen but I'm getting template parser error from thymeleaf. Here is my code and error: index.html: <body> <h2>M

Django Migration from Github actions

Hello I have a database in Google Cloud Platform and I am trying to figure out how to run a django migration from github actions once I have deployed my app to

Why bottom sheet not work with bottom navigation in jetpack compose?

I try to learn jetpack compose these days, and I have a simple project in jetpack compose, bottom sheet work in my project, but when I use bottom navigation, it

XML is not storing completely in Azure Storage Account via java

public void createAzureBlob(File file) { // System.out.println("AccountName : "+configuration.getAccountName()); String storageConnectionString =

LibeCharts WPF - binding to a Series

I am struggling in very beginning with WPF and LiveCharts. I am trying to implement the Starting Example (https://lvcharts.net/App/examples/v1/Wpf/Components) b

cURL same server from a inside docker container

I saw a lot of similar problem but not exactly like mine... I have a classic architecture, A server with docker, a stack with Traefik to dispatch request, and f

Why does machine-to-machine interaction in OAuth2 disallow the refresh_token grant without providing the client_secret?

We are implementing JWT-based authentication for our APIs, using Keycloak as an identity provider and token endpoint. We found the idea of OAuth2 attractive, as

When Importing Self Made Vue 3 Library Into Vue 3 Project: "Uncaught TypeError: Cannot read properties of null (reading 'isCE')"

I created a custom component library using Vue 3, and after installing it locally thru yarn and registering the components, I kept getting the following error i

Combine list of dataframes into one dataframe and summarize in one step

I want to combine/reduce a list of dataframes into one dataframe, but I also want to summarize the data in one step. The output is from a simulation; therefore,

Excel Add Rows and Value from Excel Table to Specific Word Table Template

Thank you in advance, I need help in completing the below code, the code currently works to add the number of rows in the Table(3) of my word template as per th

VSTO Project: 'Sub Main' not found after changing Project Assembly Name

I received above mentioned error after changing my project assembly name in Project > Properties > Application > Assembly Name Any Ideas how to solve

Exporting data from power query to csv in sharepoint using R

I hope to get a solution here. I am completely new to R and really all i need it for is to extract data from power query and append it to an existing csv file.

How to disable tabpanel in the app deployed on shinyapps.io?

I have a problem disabling tabpanel in my shiny app. To do so, I tried the following code: library(shiny) library(shinyjs) ui <- navbarPage("Hello",

Append column of arrays in Pandas

I have a dataframe of arrays such as: | A | B | C | |:---- |:------:| -----:| | [0,1,2,3] | [1,2,5,6] | [0,1,4,5] | | [0,0,6,3] | [0,2,0,4] | [3,8,7,1]

Is it good practice to use razor pages directives inside javascript <script> tags to pass model property values?

I'm developing a web app using asp.net core MVC and I've found my self using razor pages directives to pass model property values to javascript for further mani

how can I solve this circular dependent imports in order to execute many to one insert

I have the following two models in several files: routes/camera/model.py from services.db import db from dataclasses import dataclass from routes.project.models

Should we be using the unsubscribe method returned by Auth.onAuthStateChanged() in firebase to clean up memoery leaks?

Here is my code: import React, {useState, useRef, useEffect} from 'react'; import { getAuth, onAuthStateChanged } from 'firebase/auth'; import { useNavigate } f

jQuery Performance Long Running Tasks

var data = response.Data; var table = $('#' + tableId).dataTable(); table.fnClearTable()

How to pass a cookie value as a parameter with multiple rewrite conditions in htaccess

I want to first check if the request URI is an image and then check for a cookie and pass both the values as parameters to a file in the multiple rewrite condit

Django converting isoformat string datetime to tuple and rising error

I'm trying to update two datetimefields for the Skill entity in my db. I'm sure I'm passing an isoformat datetime string. When creating instead of updating ever

Dynamic Tabs content wont display simple data

Hi everyone i dont know what i am doing wrong the content in the tabs are not displaying the links menu works fine Just i dont know why the content is not loadi

.NET Azure sdk resource manager - NuGet package: Stable release

I'm planning to handle some Azure ARM code in .NET 6 and want to use Azure libraries. I found that there are 2 NuGet packages (old and new) available: Microsoft