Latest Questions

Change node style based on name / label

I'm using vis.js to visualise a network. The network is created based on the DOT language (Directed graphs). An example: 1 -> 1 -> 2; 2 -> 3; 2 -- 4; 2

Confusing brackets in MASM32

I am trying to get to grips with MASM32 and am confused by the following: I thought that brackets were used for indirection so if I have the a pre-defined vari

quotas are exceeded error while deploying Vertex AI Matching Engine Index

I am following this example notebook and used custom word embeddings of my own. i am getting the following error while deploying the index at this step r = inde

Is it possible to have an 'IF' conditional statement nested within a 'CASE' conditional statement? (pseudocode)

I'm designing a pseudocode version of a programme thingy I made, in which one of the sections is someone inputting a number to select an option. When someone in

Open Browser with a specific url on sending request on API (.Net core MVC)

Working on .Net Core MVC and IText7, I'm filling a Pdf form (empty form PDF is already saved on server). What I want is, Whenever I send request to the link (ca

How can I make executable file from jar with embedded JVM?

For example, I have someFile.jar. I can run it simply using java -jar someFile.jar. But I want to create some files (for example .deb file) to install this jar

Array of structures, file opening, distance comparison

I'm trying to make an array of structures using data from a file, and then calculate the distance from a user inputted point to the closest data point. I am los

fish shell + omf + git plugin: how to customize the prompt in the terminal

I have fish shell with omf with agnoster theme and git-plugin installed. I would like to tune my prompt a bit. Does anyone here know where/how I do that. I ran

How to add instantaneous force onto drake ball

I'm working on a juggling robot iiwa, and am looking to add disturbances onto the ball every now and then to see how well the controller works. Is there an easy

QML Row "fill" / auto-spacing?

Instead of assigning a fixed spacing between items, it is possible to evenly spread the items along the (parent's) width, so as to maximize spacing? What I curr

How to get(extract) year, month or day from datetime.datetime(2021, 1, 25, 21, 20, 46) format? Python

could you please advice on this one? How to get(extract) year, month or day from datetime.datetime(2021, 1, 25, 21, 20, 46) format? For ex from the date (2021,

Unable to show the Y axis value in bar tooltip by default using fl_chart package

I am working on bar chart view using fl_chart package and i able to show the bar chart but unable to show the Y-axis value in each bar by default the way i expe

Why am I getting this MySQL error with node?

I have connected to the database on MySQL, and was able to input data to a table. However, I am not able to input data to another table when it seems that I'm u

How can I store my .o files in a sepparate folder?

INCDIR=include SRCDIR=src SRC = $(wildcard $(SRCDIR)/*.cpp) DEPS = $(wildcard $(INCDIR)/*.h) OBJ = $(SRC:.cpp=.o) CFLAGS = -I$(INCDIR) -Wall -Weffc++ -Wextr

Is it possible to use string literal types in AssemblyScript?

Is it possible to create a string literal type in AssemblyScript that resembles the type keyword used in TypeScript? TypeScript example: export type MyType = 'f

Programming STM32H747 ADC in continuous mode using registers only

Within a project of mine I use DMA to share data between the two cores of the STM32H747, the data comes from an ADC controlled by the core M7. While testing my

How to validate Azure Blob Storage Shared Access Signature (SAS) URL?

My application allows users to enter an Azure Blob Storage SAS URL. How would I go about validating it? I'm using the Azure Storage Blobs client library, and th

How to force Jaws to read modal content the same every time?

I have a modal that triggers after 10 mins of user inactivity and am working to make the modal more accessible. The issue is that the first time the modal rende

How To Access Repository Secret

I've made a repository on GitHub and have added a Repository secret. However, I can't seem to grab the secret's value. Any help would be greatly appreciated!

Generating files in Docker vs. Docker Compose

I am learning Docker and have a little confusion that I would greatly appreciate some advice on. When creating a new rails application. Following the guidelines

mysqli::real_connect(): (HY000/1049): Unknown database error in codeigniter

I'm new to Codeigniter PHP framework. When I'm testing my application I get 'Unknown database db_name' error. I have browsed through several sites but didn't fo

Django Image upload issue Cloundinary

I'm learning Django at present and just about getting to the deployment stage at hit a problem serving static/media with Cloudinary, following guides how to do

Registering Class Settings into Azure Function App via Dependency Injection

I'm in the process of upgrading one of our Azure Function Apps from .NET Core 3.1 to .NET 6. As a result, I need to implement dependency injection. Our project

Add custom text 'per item' based on product category in WooCommerce email notifications

How to add a custom text 'per item' based on product category on all WooCommerce emails? Therefore I tried to modify Add a custom text for a particular product

Strange behavior of AWS SQS FIFO with multiple producers per single message group

Given: App:Spring Boot, AWS SDK v2, SqsAsyncClient AWS:SQS FIFO with high throughput enabled, delivery delay = 0, visibility timeout = 30sContent-based deduplic

Grab the first entry from json [duplicate]

I apologize ahead im really bad at explaining things. I have a variable with json data in it, the first entry in this json data will change bu

How to call tostring method on all objects

I have a school project where I have to make every tostring method appear on every object. Does anyone know how to do it? enter image description here enter ima

In C, I'm having trouble getting an Index sorted High to Low and vice versa

I'm working on a project involving a preset array: primaryArray[8] = {8, 4, 2, 16, 32, 124, 64, 256}; Im calling a function before the main, its not quite worki

XPath/XSLT select only where count is less than number

Given the structure below. How would you go about selecting only those elements where the number of elements of same group is less than - let's say six. In this

Parallel traveling salesman problem solver finishes prematurely

Good time of the day. I'm doing an assignment which involves writing a program that solves Traveling Salesman Problem in parallel using brute-force method. I ma