Latest Questions

Django / Create HTMl file from a form

In my Models.py class Scenes(models.Model): name = models.SlugField('Scene name', max_length=60,unique=True) description = models.TextField(blank=True)

Getting "Couldn't find class" error in mule application 4.3.0 after deployment

I have created a Mule 4.3 application which invokes a non static Java method. The application is getting built and deployed successfully but I'm getting a "Coul

Split / Explode a column of dictionaries into separate columns with pandas

I have data saved in a postgreSQL database. I am querying this data using Python2.7 and turning it into a Pandas DataFrame. However, the last column of this dat

Variable not displaying on Screen

I've set condition for when a user enters numbers into a text box depending on what the numbers entered start with on screen it should display the name of the c

Identity Server 4 connect/token works when self hosted but not when deployed

I built an .NET Core 3.1 IdentityServer4 to protect some API endpoints: public static class Config { public static IConfiguration Configuration { get; }

ASP.NET Core 5.0 MVC : CS1061 error using Html.RenderAction

I am working on a project using ASP.NET Core 5.0 to build a web app (MVC). I tried to use the Html.RenderAction extension method but I get the following error.

Web app suffers slow performance after upgrading to Oracle 19c

I have a c# MVC web application (.NET 4.52) using an older version of Devart LinqConnect to scaffold the database etc. The app has been around for 10 years wit

How to write custom select/checkmark logic for material-table, to include selected rows inside of detail panel nested material-table

I have a material-table component where I am rendering a nested materiel-table in the detail panel of each row. I would like to know if there is a way to includ

Generate deterministic Namespace based md5 UUID from a string in java and ruby

I am trying to create a deterministic UUID in java to generate same UUID as we have in our ruby codebase but unable to do so and need help. #ruby code using uui

endpoint don't work, doesn't return anything

¿can you help me to understand this? If I have an endpoint in a specific route it will display in the browser the expected content, but with the same cod

Can double checked locking be abstracted/simplified?

My company uses double checked locking all over the place in our code. Because it is so pervasive - and so verbose - I was wondering if there is a good way to a

How do I detect when User has reached the bottom of the ScrollView?

I used the following code as a reference: SwiftUI - Get size of child? SwiftUI - How to get size (height) of ScrollView content Get the current scroll position

how to create a user in postgres to connect to nodejs?

It is my first time using postgres and I am trying to use it with node. I installed postgres in Ubuntu and created the user admin sudo -i -u postgres createuser

Maven dependency commanted jars are generated in war file

I'm trying to generate the war file , war generated successfully but when i decompress and check the jars inside lib , the commented Maven dependencies also app

microdnf shows librhsm-WARNING Found 0 entitlement certificates

Problem I am trying to install nmap-ncat package into a container created with this image by microdnf pkg-manager. I run microdnf update microdnf -y install nma

API Platform with alternative Runtime, Caddy, Vulcain, Cache ecosystem

Currently I'm investigating a setup backed by api-platform with the following goals: the PHP backend MUST yield minimal resource payloads, thus I do not want to

Does Arkit update constantly the mesh of a Reconstructed Scene or can it be static?

Similarly, is it possible to disable mesh update of a reconstructed scene ? I'm new to Arkit and have not started an app yet. I'm searching for as much info as

Add shortcode to WooCommerce product description

I am trying to auto-add some shortcode at the end of every woo product description. (not after short description). The code with which I am trying is: add_filte

How to make an arrow function in react so that it executes only once and saves the data in sessionStorage

I am developing an application in react.js and I need to implement a request to Active directory to extract the information of the logged in user, through Micro

Cronjob Script not working for Graviton based EC2 instance with encryption enabled on EBS volume

I have one Ubuntu 18.04.6 LTS EC2 Instance having Graviton2 arm64 Architecture. I have also enabled encryption on EBS volume. I configured some cronjob bash scr

Integrate bootstrapVue using TypeScript and Vue3

use(BootstrapVue as any) can correct the following error but still in browser it doesn't work. main.ts : import { createApp }from 'vue'; import App from './App.

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined... issue

import firebase from 'firebase/compat/app'; import "firebase/compat/storage"; import 'firebase/compat/auth'; import 'firebase/compat/firestore'; const firebase

convert matplotlib figure to 2-D Array to show in pyqtgraph.ImageItem

i find an example in this Link which show 2-D array in pyqtgraph.ImageItem. import matplotlib.pyplot as plt import numpy as np import pyqtgraph as pg def main(

MatLab textscan(), from messy format with missing lines

I'm not familiar with MatLab textscan(). Any help you could provide would be much appreciated. The text file that I want to read looks as follows: test.0.xml my

Enterprise search timeout for Elasticsearch create index

I am using ECK to deploy Elasticsearch cluster on Kubernetes. My Elasticsearch is working fine and it shows green as cluster. But when Enterprise search start a

How to install specified framework in Teamcity server as a build step

I have dotnet project built using dotnetcore v2.0 which was working fine in Teamcity pipeline. I have updated the project to use dotnetcore v3.0 and re-run the

ERROR: The argument type 'Object?' can't be assigned to the parameter type 'String?'

I have a TextFormField widget wrapped inside a StreamBuilder, in TextFormField widget, inside the decoration, when is pass snapshot.error to the errorText argum

Fetching 1000s of employees with BambooHR API

Summary The BambooHR API documentation makes no mention of pagination. It's difficult to test with 1000s of records. How can this endpoint be used to fetch 1000

Avoid incrementing primary key if insert is not successful?

I have a 'locations' table as follows: Using an API, if I send a valid record, the table will start normally with index 1. If I send something that won't be ac

Convert processed format with stm into dtm (Structural topic modeling)

I have used the textProcessor and the prepDocuments functions from the stm package to clean a corpus. Now I would like to convert the resulting object (list of