Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12111 articles
Browse latest View live

can login succesfully but as soon visir=t new page asks to login again

app.get("/", (req, res) => { res.render("index", { isAuthenticated: !!req.user });});app.get("/tutorial", (req, res) => { if (req.user) { // Display tutorial page with authenticated user content...

View Article


React State Update Not Triggering Modal in Tanstack onMutate Callback

I want to create a Dapp and am trying to add transaction tracking. For now, I want to show a modal window when an approval setting process starts. I try to change the modal isOpen state from inside the...

View Article


Image may be NSFW.
Clik here to view.

Asp .net core project build fails showing all nuget packages not signed by a...

Build failed of an asp.net core project showing the all nuget packages not signed by a trusted signer.Tried to build the asp.net core project. Expected the build to succeed, but failed with all nuget...

View Article

Async Api: Generate Java Client using Schema Registry and AVRO messages

I´m using [Confluent Async Api Tool] (https://docs.confluent.io/cloud/current/stream-governance/async-api.html#using-the-confluent-cli-asyncapi-tool) to export the topic / schema definitions to a...

View Article

Question about failure in Kafka Stream where repartition topic is not...

There is a problem in the Kafka repartition topic where lag continues to increase and is not automatically resolved.Looking at the log, rebalancing occurred at a certain time, so thread number 19 ↔︎...

View Article


Refreshing Select tag

basically I'm calling the below JavaScript function from a classMethod to add Options to an html tag (Dropdown) and after adding all options I would like to set a specific value or index to be...

View Article

Python issue with importing from submodule including scripts that also import...

My Python project has the following file structure.module/├── __init__.py├── main.py│└── sub_module/├── __init__.py├── foo1.py└── foo2.pyMy goal is to import a class Bar from foo1.py in main.py:from...

View Article

wiht cube generating duplicate rows

A 'with cube' clause is generating duplicate rows, and I don't understand why. Here is an example:CREATE TABLE venta_mes_hist ( tienda_id INT, empresa_id INT, dia_id DATE, total_linea_brut DECIMAL(18,...

View Article


How can I add a Separator to a UniformGrid in WPF?

I'm writing an application in C# with WPF. I have a List of Objects in my code that I want to map to a Grid. The List resembles data from a 2D field. The width (x-coordinate) and height (y-coordinate)...

View Article


Get top results for each group (in Oracle)

How would I be able to get N results for several groups inan oracle query.For example, given the following table:|--------+------------+------------|| emp_id | name | occupation...

View Article

Use matplotlib.pyplot.rcparams with a custom font which is not installed

I'm trying to use a custom ttf font not installed in the system for text element in the matplotlib figure.with plt.style.context('mplparams.mplstyle'): plt.plot(np.sin(np.linspace(0, 3 * np.pi)),...

View Article

How to send URL scheme to telegram so user can click it

I am making a bot, and bot needs to send user a URL scheme : appname://product?pId=(blahblah)I was tring using as Markdown, I have send Like this : [Open App](appname://product?pId=(blahblah) and what...

View Article

How to fix "The analyzer assembly references version '4.7.0.0' of the...

I opened my Visual Studio 2022 project this morning and cannot get it to run any more due to the following error:CS9057 The analyzer assembly...

View Article


Image may be NSFW.
Clik here to view.

Using VS C++ functions in Inno Setup

I'm trying to replace some functions made in LazarusLib with functions written in C++ for Inno Setup installer.So I created a Dynamic-Link Library (DLL) project in Visual studio and added the following...

View Article

TypeScript › Update Imports On File Move: Enabled not working in VS Code

I've been encountering an issue with Visual Studio Code where the 'TypeScript › Update Imports On File Move: Enabled' setting seems to no longer work as expected.Previously, I could move a file and the...

View Article


Using hxselect Command in Bash: How to Store Output in Arrays?

I'm trying to use curl in Bash to fetch data from a web page using this script.#!/bin/bash# Define variables for URL and...

View Article

Streamlit database access error from snowflake native apps

I have made streamlit under snowflake native apps, and the streamlit is working fine locally, but while going through snowflake native apps, it is not working, like it is not able to use the desired...

View Article


issue with withColumn/withColumnRenamed in spark

we have two columns with same column names but different cases+----------+----------+|clientId$_|clientID$_|+----------+----------+| 1| 1|| 2| 3|| 3| 4|+----------+----------+we are cleaning column...

View Article

VSCode(1.90.0) crashes when starting up in Ubuntu 22.04

Vscode was actively working on my ubuntu machine. Suddenly after a system restart the vscode started crashing on startup.vscode version:vscode version:code verbose:I tried uninstalling & re...

View Article

NuxtJS + keycloak-js: frontend doesn't render the correct value

I have a Nuxt3 app which I want to secure with Keycloak.For the integration, I use the keycloak-js library, which is defined as a plugin:plugins/keycloak.client.tsimport Keycloak from...

View Article
Browsing all 12111 articles
Browse latest View live