6,245 questions
Advice
0
votes
2
replies
33
views
DFS VS DSFVisit
I'm in college learning about DFS and BFS. I knew about this before, although what's throwing me in a loop is DFSVisit.
I just want to know what's the difference between DFS and DFSVisit. Is DFS just ...
0
votes
1
answer
60
views
Getting 413 for a large request node application running via PM2
A legacy application is running v12.18.0, and when presented with a large GET request it gives me
413 Request Header Fields Too Large
I have checked the same request by running it on a different ...
-2
votes
2
answers
146
views
Fetching of HTML li text content
I am working on an AI project, and I need to gather the contents of the li using JavaScript. There can be multiple of these li's
My HTML (just a small section)
<div>
<button id="...
0
votes
1
answer
30
views
Avoid counting waiting time before the first departure in DFS-based pathfinding graph
I have a graph-based travel system where each city has two stations: a bus station and a train station. Each station is represented as a node (Node), and each connection/departure is represented as an ...
0
votes
0
answers
60
views
n8n flow to shortlist materials and send them as a message on MS Teams
I am trying to create a flow in n8n that extracts data from raw materials excel sheet on Onedrive, the flow should send a Teams message with a shortlist of the raw materials which their current stock ...
1
vote
2
answers
67
views
vb.net - create xml from Data Table rows
I want to create/save some data in an xml format, which is saved in a 2 fields data table object (the second field "target" holds no data).
The final solution should look like this:
<?xml ...
1
vote
0
answers
38
views
Chart and some details not loaded on selenium grid, node-chrome
I have peculiar situation, i think. When I run tests locally, the chart is rendered properly but when I run it on selenium grid locally as container in hub-node model the chart doesnt come up. I have ...
0
votes
1
answer
74
views
TypeError: add_node() missing 1 required positional argument: 'self'
I'm trying to code a map that shows a graph of nodes and paths. I should be able to add a new node by clicking a button ('Add node') and then the graph, but the only message that pops up is this:
...
0
votes
0
answers
15
views
Node synchronization having delays in GridDB
New data appears instantly when queried from primary nodes but takes a few minutes to show up on secondary nodes. Restarting a node forces synchronization, but that’s not practical in production. ...
0
votes
1
answer
46
views
NodeJS ODBC library not returning affected/inserted rows as result
I am resorting to asking the minds of StackOverflow to help me identify what it is I'm doing wrong. I have written a NodeJS app that connects to a Microsoft Fabric database. I am using an ODBC ...
0
votes
0
answers
27
views
how to automate the process of uploading the style.grass file in neo4j desktop
I am currently using Neo4j and wanted to update the default captions and the colors of the nodes. For that purpose, I used the :style command on the Neo4j browser.
Then I downloaded the style.grass ...
0
votes
2
answers
158
views
How do scale down statefulset when it's spread between nodepools?
I have statefulset which is deployed accross 2 different nodepools in AKS. I have total of 4 replicas, 1 on nodepool1 and 3 on nodepool2. I need only 3 to be on nodepool2 and scale it down to just 3 ...
1
vote
1
answer
117
views
NodeJS Graphviz - trying to add image as label throws Error code 1
I am attempting to use an image as a node in Graphviz. I am using the npm grapghviz project to do this. However, despite numerous tutorials stating that you can do it via the menthods I have outlined ...
2
votes
2
answers
107
views
How do I delete a pointer after assigning another pointer to that memory in C?
#include <stdio.h>
#include <stdlib.h>
int main (void)
{
typedef struct node
{
int number;
struct node *next;
}node;
// create the pointer to the main ...
0
votes
1
answer
56
views
Create middle nodes on all interrelated other nodes
I'm having some troubles on creating a relationship-based program, what I need is to create a function to aggregate related nodes together, like this, if I have those 4 nodes:
A
B
C
D
If A -> B, ...
0
votes
1
answer
283
views
geom_sankey in R: Ordering Columns
I have created a Sankey image using ggplot + geom_sankey packages. The visual comes out as expected, but the columns are not in the order that I would like to see.
I would like to arrange the middle ...
1
vote
1
answer
424
views
Balkan family tree JS: how to show all element of the chart
I have a tree - https://codepen.io/igor-isaev/pen/XWLGVWM
//JavaScript
var options = getOptions();
var chart = new FamilyTree(document.getElementById("tree"), {
mouseScrool: FamilyTree....
0
votes
0
answers
202
views
Fix for "Attempt to read property "nodeValue" on null"
I'm using the following to get content from a list of feeds (in my example below only 2):
$urlarray = array(
array( 'name' => 'feed1', 'url' => 'https://example.com/feed1/rss'),
array( 'name' =&...
1
vote
0
answers
47
views
Why is the split statistic in the ranger package for R greater than 1?
In the ranger package for R, the node impurity is measured with the Gini index for classification trees. I would expect the Gini index to lie between 0 and 1, as
$$ Gini = 1-\sum_{i=1}^C p_i^2$$,
...
-2
votes
1
answer
71
views
Different formats for shortest path algorithm
Why do we see 2 different visualizations for the questions requiring Djikstras's algorithm as a solution?
In one case I see nodes connected to each other, the other format is a 2d array.
Is there a ...
1
vote
1
answer
123
views
Unable to identify OPC-UA variables
I'm working on a project aimed at reading sensor data from a CNC grinding machine via a OPC-UA interface. It has an integrated OPC server which is already configured. The software running on the ...
0
votes
2
answers
80
views
Recursive insert method on Binary Tree reaches the correct node but it doesn't save data
I'm trying to make a recursive insert method on a binary tree and while the recursive part of the function seems to do the job correctly (I tracked the code step by step with debug option) when time ...
0
votes
1
answer
812
views
Invalid Destination address in outbound message. Ton blockchain
i have problem with sending message to Ton blockchain but I'm sure my code is True and it should work
here is my code :
async def deposit(self, amount, to_address, comment=None, token=None, fee=0....
0
votes
1
answer
182
views
Godot on_body_entered wont trigger
Hello and thanks for your time :)
I have tried to make a simple sword that attacks and hits a mushroom, on hit the mushroom should play an animation. For some reason it wont ever interact with my ...
1
vote
1
answer
40
views
Powershell parse xml nodes and childnodes
My xml is something like this
<parent>
<somethingIamNotInterestedin>
....
</somethingIamNotInterestedin>
<body>
<event>
<eventid>1234</...