Latest Questions

Sarama Cluster Admin - Broker Connected method return false

Versions Sarama - v1.32.0 Kafka - 5.4.6-2.12 Go - v1.16.2 sarama.Logger = log.New(os.Stderr, "[Sarama] ", log.LstdFlags) brokers := []string{ "kafka1

error :- ProgrammingError: Attempt to use a closed connection

hi all im trying to run a stored procedure using python however im getting an error below is my code import pyodbc import sqlalchemy from urllib.parse import qu

Trying to build react native app for Android on Mac M1 - Error: No emulators found as an output of `emulator -list-avds`

I have installed Android Studio on my mac M1 I have added a virtual device in Android Studio using Device Manager The app builds fine from inside Android Studio

Problem with my response in Postman : i keep receiving the response in xml format

I keep receiving my response in xml i dont know why and i want it to be by default json, once i used jackson-dataformat-xml but i delete it and update it the pr

How to resolve jasper 1.8.0 dependency into Grails 4?

I've successfully installed jasper 1.8.0 into build.gradle. However, after installation, I'm getting this error. My project developed by Grails 4 with java 11 E

powershell TCPclient timeout per connection try

I am trying to create a timeout for a socket in powershell and I have encountered a problem that I do not know how to solve even after many hours of Google sear

"The GET method is not supported for this route. Supported methods: POST ."

I'm trying to add a new Post but whenever i submit i get the above error message. This is Route: Route::get('/p/create' , [App\Http\Controllers\PostsController:

I am trying to merge two dataframes

I have this dataframe firm formtype Date_Filed GameStop Corp. 8-K 2021-04-01 I want to change the Date_Filed to 2021-04-01 00:00:00. I am using

Display a specific route in a different router-view

I've got a Vue 3 app with Vue Router 4 and I want to achieve this: <template> <v-app> <router-view></router-view> //This is where

How to create a screenshot taking application using Flutter?

I am thinking of making a Screenshot application using Flutter. The features of the screenshot application will be: Creating a floating button, that can float/d

Extra padding above table view headers in iOS 15

How to change the extra padding above UITableView section headers that has started to appear in iOS 15?

Trouble Accessing Solidity on VSCode

When I do Ctrl+Shift+P on VSCode, I am unable to see Solidity as an option. If unfamiliar with Solidity, it is a language for writing smart contracts on the Eth

Is it necessary to use null two times at the end of the code?

I have one question. Help me, please. I have code in my teaching proggram: alert(user.address ? user.address.street ? user.address.street.name : null : null);

Unable to load DLL 'CpuMathNative' on published website

I just deployed my ASP.net website which uses ML.net on a free web host called Somee. Before deploying the solution, everything was working fine and all was pub

Sidekiq - SearchService::Errors::DefaultSearchException

While running Sidekiq I am getting this error: #<SearchService::Errors::DefaultSearchException: SearchService::Errors::DefaultSearchException> This is o

Extract value from ArrayType column in Scala and reshape to long

I have a DataFrame that consists of Column that is ArrayType, and the array may have a different length in each row of the data. I have provide some example cod

Object at controller suddenly become array at view

anyone can explain why this happen? i cant access my data at view because it suddenly change to array. I try to check it using var_dumb at controller public fun

How to use next() function in Next JS API like Express JS?

While making an API in Next JS, where I pass three parameter to my API function (req, res, next) here is the code : import catchAsyncErrors from "../../../middl

Why won't my SpringBoot Project program populate tables in the database?

I have tried connecting to my Spring Boot project to a PostgreSQL database for the past few days and I have no errors running this project but when I open up my

Why does GCP Cloud Functions log two blank lines?

I created a trivial GoLang 1.16 GCP CloudFunction and deployed it. When I make a request to the endpoint, I see two blank lines in the log output. I can't figur

Automatize code in QTDesigner for objects

I would like to take names and values from 2 list to my QTDesigner text labels and QLineEdit, this is the code which I get: from PyQt5 import QtCore, QtGui, QtW

Command not found on gitlab ci using cat

I have a Gitlab job in which I get a value from a .txt file. This value (v100322.1) was written into the text file in a previous stage and passing by to the job

Terraform: How to add ad group "admin_users "

resource "azurerm_analysis_services_server" "server" { name = "analysisservicesserver" location = "northeurope" resource

why does python3.6 container uses the /usr/lib of python 3.9

I start a docker contain with FROM python:3.6 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN apt-get install -y apt-utils vim curl apache2 apache2-ut

SQL: select all depending nodes from a list of parent

let's take a table called users like this id name ... path 22 John ... 2/8/11/22/ 23 Mark ... 1/3/9/15/21/23/ where the path rapresents the hierarchy parent-c

Constraint Flow widget ignores max width attributes

I have multiple layouts that I want to display in a different location depending on screen size. If the screen is wide enough (tablet), I want the layouts to di

Evaluate before frame renders on playwright

I have a series of async page.evaluate() functions that I want to run before each page starts executing its own javascript. The page class provides something si

Beginform jquery submit function not working

so I have a partial view for adding a contact like this (contactaddpopup.cshtml): @using (Html.BeginForm("Validation", "Contacts", FormMethod.Post, new { id =

Loop through an array of strings in Bash?

I want to write a script that loops through 15 strings (array possibly?) Is that possible? Something like: for databaseName in listOfNames then # Do somethi

python package equivalent in C

I'm kind of a beginner in c, and I would like to know if there's a way of making a package like in python, for example: . ├── main.py └&