Latest Questions

Trying to make my BigCartel product page look better but there is a problem with where the display of the price is

I'm trying to figure how to move the price on the product page to be on top of the description of the product. enter image description here enter image descript

Best practice to manage entities values and value changing events

Little introduction: we have a complex entity and overgrown business logic related to it. With various fields that we can change and fields that updates from ex

How to Add Multiple JSON_BUILD_OBJECT entries to a JSON_AGG

I am using PostgreSQL 9.4 and I have a requirement to have an 'addresses' array which contains closed JSON objects for different types of address (residential a

Invalid Argument Error / Graph Execution Error

I'm having multiple errors while running this VGG training code (code and errors shown below). I don't know if its because of my dataset or is it something else

Nginx does not respond to specific client-public-ip

I'm configuring two Domains to host two websites: dev.example.com and test.example.com I'm using Nginx as a webserver and my websites, dev and test, are configu

How to generate a range of numbers between two numbers then duplicate entries from that range?

I would love some help with a query to expand an Access Table I'm working with. I need to generate a range between the min and max numbers and then duplicate th

Configuring reticulate to use conda environment

I'm trying to get R's reticulate package to detect the Python interpreter in one of my conda-environments. Following several posts and questions, I've attempted

Htaccess doesn't let access to sub directories with parameters

I am trying to create a htaccess for seo urls, I created my htaccess all urls works fine exclude subfolder with parameters, they redirects to sitefolder. sitefo

"no main manifest attribute, in server.war" not using a main class

What I'm trying to do is have Docker run a TomEE 8.0.0 application with Maven. However when compiling the application, it gives me the error from the title no m

Laravel custom validator returns page instead of json

I made a controller to store tasks, it looks like: public function store(StoreTaskRequest $request) { $validated = $request->validated();

best method to require passwords for some pages in a web site

I have a site with most material publicly available but about 10% should be password protected. The site is published using NGINX on a Debian system. What is th

How can I change the pool ball detection code to OpenCV to remove the shaking?

I'm using pool ball detection with the HoughCircles function in OpenCV. import numpy as np import cv2 as cv cap = cv.VideoCapture(1) if not cap.isOpened():

Removing trailing newline character from fgets() input

I am trying to get some data from the user and send it to another function in gcc. The code is something like this. printf("Enter your Name: "); if (!(fgets(Na

How do I monitor a different folder (than the default) within Outlook for new mail (and then fire an event) with Python

I have the below code import win32com.client import pythoncom import time class Handler_Class(object): def OnNewMailEx(self, receivedItemsIDs)

Webclient DownloadFileAsync is way slower than downloading same file from Browser

So I wrote a program which downloads mp3 files from a website. They are about 17mb and if I download them using my browser, each file takes 2 seconds. However u

Unity NetCode IsLocalPlayer false client dosent have control (Host - Client Control Problem)

I am using netcode for multiplayer solution but there is a problem that I haven't been able to solve for a long time. In the past, my problem was that both clie

Plotly adding two sliders in python

I have read plotly slider instruction:https://plotly.com/python/sliders/, but still can't find a way to create two sliders in one graph. I'm new to plotly so an

Is the async keyword required to create asynchronous functionality? Did this functionality change in the recent past?

I'm attempting to show that it is possible for my team to add asynchronous functionality to a currently "fully-syncrhonous" program. Are there any reasons, such

Django Limit the Number of objects in a model

i am working on a django-cms project and (i have to make a image model which can only make 3 objects not more than that if someone tries there should be a messa

Google recaptcha not rendering properly

When I implemented google recaptcha for my site using the instructions given by Google everything works fine but the div itself renders a bit oddly: I am using

Applying weights to KNN dimensions

When doing a KNN searches in ES/OS it seems to be recommended to normalize the data in the knn vectors to prevent single dimensions from over powering the the f

Integrate Django and ReactJS with Kafka to generate some analytical data for users?

I'm implementing a Django web service, which is about to have different platform apps, Reactjs for computers, a swift app for ios, and Kotlin for android device

Office Add-in hangs on context.sync() when using wildcards in search

I'm trying to write an office plugin to find all telephone numbers and highlight them. I used the code template from the official documentation to write the fol

can I generate listenKey binance in app script

I try a lot of think to create listenKey in app script but nothing work. the binance URL: https://binance-docs.github.io/apidocs/spot/en/#user-data-streams this

Query with Elasticsearch and Return source field only

I have some data on Elasticsearch and retrieve data using Fastapi GET call. i used below code to GET data from Elasticsearch main.py @app.get("/get_all") def ge

How to use CPU only for Embedding?

I need to avoid this error: tensorflow.python error.framework.errors_impl.InternalError: Failed copying input tensor from /job:localhost/replica:0/task:0/device

How would you manually test a SwiftUI Framework?

I was applying for QA position and the SDET asked me this question: How would you manually test a SwiftUI Framework? I wasn't sure I answered it correctly. Just

Testcontainers works locally but fails on build server (DinD)

Our recent move to a jenkins in a docker-image has not been so smooth. We have a (over?)complicated setup where one docker container starts a new one and, previ

Why does Intellij idea warn about nullpointer in that if condition?

Here is my code if (!multipartFile.isEmpty() && multipartFile.getOriginalFilename() != null && !multipartFile.getOriginalFilename().isBlank()) {

Pyscf install error: failed building wheel

I keep getting this error after entering pip install pyscf pi@node0:~ $ pip install pyscf Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/