Latest Questions

Extra operation button in django admin panel

I want to add some buttons to do a lot of database operations at once, and I want to place those button(s) at (1) place. How to do that? Extra explains: What I

Refactoring tabs according to react best practices

Here is a FAQ component with a child Accordion. As identifier I use anchor that I get from data, written for every element as tab1, tab2, tab3 etc. (instead of

Where and why do I have to put the "template" and "typename" keywords?

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway? I have the following code: t

GDB doesn't work: Cannot insert breakpoint 1. Cannot access memory at address [...]

I'm trying to setup my vscode to debug C++ programs using gdb from WSL. But I faced problem with gdb on my WSL 1 (Ubuntu 22.04 LTS). Whenever I try set a breakp

How to differentiate the data of one topic or another coming from Mercure hub if the client is suscribed to two topics

I have a a dashboard on a Symony app with two ChartJS graphs, one for temperature data, and the other for pressure data. I need update both on realtime; for tha

how to insert multiple checkbox values into database?

So, I have a form in that i have two check boxes and both can be checked but when i check both the data is not going into database only the first value is inser

Embedding issue / All messages send at once

I'm having this issue where all my embeds are together. How do I separate them? My issue is that every time I run the embeds send together, I know the issue bu

Ho to debug Go app with DLV and MODD on Docker

I'm running a Go app on the Docker and want to use VSCode to debug it via DLV at the same time using MODD for app rebuild. So far I cannot figure out how to con

/usr/include/GNUstepBase/GSVersionMacros.h:359:16: fatal error: 'objc/blocks_runtime.h' file not found

I am trying to build a objective-c library integrated to a swift project on linux. I have this Package.swift for my main project: // swift-tools-version:5.5 //

Kurdish is currently available in Google Translate, but has not yet been added to the flutter_localization

Kurdish is currently available in Google Translate , but has not yet been added to the flutter_localization package! How can I add Kurdish language ? Because we

Implementing a search query inside a filter

I've been trying to implement a search bar inside my application, but I don't know how to query for similar names inside my db. Here is my view.py queryprms

How to receive the IResult param in @after Hooks method in cucumber

How to receive the IResult param in @after Hooks method in cucumber at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:52) at

Adding class to element in v-for loop

I have a v-for loop, and I wanna make background: red; by adding a class. But when I click my action button it coloring all indexes. My goal is if I have 3 elem

preventing the item to add to the dictionary

In addition to this question: I want to create a hierarchical list in a 3 level category. My data are in the following ways: var appCategoryList = new List<A

How to validate a file starts with certain perfix format?

I have a list of files with names like this. ["TYBN-220422-257172171.txt", "TYBN-120522-257172174.txt", "TYBN-320422-657172171.txt", "TYBN-220622-237172174.txt

Seaborn boxplot for classification with pandas wide to long [duplicate]

I have data that I would like to train an ml classifier on. The data is in wide format. I'd like to do a boxplot with searborn sns.boxplot(x='

GAE Connection to SQL: password authentication failed for user 'postgres'

nodejs app on GAE flex deploys correctly, but won't connect to postgres, even though initial knex migration worked and the tables were created. Ive read through

TimeDistributed effect on LSTM performance

I have read in previous posts that using the TimeDistributed parameter in the LSTM model does not change the performance or how the layers work (It only gives a

Command prompt pops up and closes

My command prompt opens up randomly for like 10 seconds and then closes. The title says npm. I don't know what is causing it or how to solve it. Do you guys hav

Can you have an HTML list where you choose the number value of each individual bullet?

I need to be able to generate an HTML list like (1) sdkfljsdlkfj (4) lksdfjlksjdf (2) lksdjfklsdjf (7) sdklfjlskdfj (16) sdklfjhlskdjf The parentheses aren't ne

TypeError: cleanUrl is not a function while creating a React Project

Hey everybody I am getting this error after hosting a website on firebase or I am not sure about it. It's the replace-info.js screenshot. I am not able to fi

How to create single platform for all the api gateways used for Rest API

I have a requirement to design a single platform to onboard all the API gateways which are being used by different teams within the project to manage the REST A

How to check for network security config with Androguard in python script

I have an .apk file and want to check wheter the res/xml/network_security_config.xml [1] trusts user supplied certificates. I read into the androguard docuemnta

ModuleNotFoundError: No module named 'telebot' on heroku

This is the official document https://github.com/python-telegram-bot/python-telegram-bot. How do I using pip install python-telegram-bot --upgrade on heroku. Th

Debug Toolbar not showing

I installed: pip install django-debug-toolbar I have DEBUG=True in my settings I have django.contrib.staticfiles and debug_toolbar in INSTALLED_APPS i have STAT

How to use Performance Profiler with Instrumentation on Asp.net Core app in Visual Studio 2022

How do you get instrumentation performance data from an ASP.NET Core web app using VS 2022 tools? We now an app with an ASP.NET Core Web API and MVC app pair. T

Packer error with build from vmx file - "file was not found"

I have a problem that I can't figure out. I'm trying to make my first clone of a VM from Packer (Hashicorp) here is my HCL : source "vmware-vmx" "basic-example"

Azure SFTP server with multiple user accounts which could be managed

I need an SFTP server hosted on Azure. The important thing is that it should support multiple user accounts and their management at runtime ( via an interface o

bootstrap 5 on rails 6 (justify-content-center)

I am a newbie here, please avoid complex answers :) A row was created to center all of its content, it worked just fine. The form submit button and the link_to

Bar plots in dygraphs

I am trying to replicate the below graph to my dataset (df) dyBarChart <- function(dygraph) { dyPlotter(dygraph = dygraph, name = "BarChart",