Questions tagged [cyclic]
119 questions
0
votes
0 answers
build failed in Cyclic during deployment
Frontend package.
Backend package.json
server.js backend
T tried to deploy the website on cyclic but its saying sh: react-scripts: command not found
build failed
0
votes
0 answers
My Deployed Mern App 404 issue with api call but fine on Local Computer
Hello Every one I have just deployed my mern app on cyclic and i am wonder that i am getting an issue that my client side is working fine but my api call get me an issue while database is working fine and working fine on my local computer
404 error…

MohsinRahman
- 1
- 5
0
votes
1 answer
How to upload files to read-only file system on cyclic.sh?
Unable to upload files from my UI when running express server on cyclic.sh.
The same code was working on heroku, using the mkdirp module.
https://www.npmjs.com/package/mkdirp
Getting the following error:
2022-11-23 14:04:30.748:…

Korostelevm
- 25
- 1
- 4
0
votes
0 answers
/var/task/node_modules/mkdirp/index.js:93 throw err0;
I dont know why my website keeps saying error when trying to launch on cyclic

yea
- 1
0
votes
0 answers
Visualizing a Directed Cyclic Graph (or Directed Graph with cycles)
I have some data that is directed and cyclical. (photo attached).
It seems that all javascript libraries I have found that can visualize Directed Graphs are all acyclic in nature.
I can use a force directed graph, but I don't like the layout and the…

MH7086
- 131
- 2
0
votes
2 answers
[data-structure]: the tail pointer of cyclic queue
In the implementation of Cyclic Queue, the tail pointer points to the position 1 past the last element in the queue:
|1|2|3|4|5| | |
^ ^
front tail
why?
I think I can implement the Cyclic Queue with the tail pointer pointing to the…

Alcott
- 17,905
- 32
- 116
- 173
0
votes
1 answer
Custom Function Using Column As Parameter
I have a custom function created in the Power Query Editor that accepts two parameters. One parameter should be dynamic based upon the value in a column. When tested with static parameters, the function works correctly as far as using a static…

j_wedll
- 1
0
votes
1 answer
Algorithm to determine if two graphs are the same
Given a graph the root node of which is defined by a Node object:
class Node:
def __init__(self, val = 0, neighbors = None):
self.val = val
self.neighbors = neighbors if neighbors is not None else []
def __eq__(self,…

SigKill
- 87
- 5
0
votes
1 answer
Cyclic dependencies on multi-module maven project with AspectJ and Lombok
I am working with a third-party application, whose code is available, and I am trying to use AspectJ to get some additional behavior on a particular module (lets say A module) of such application. The application has more modules (lets suppose B and…

Bea Pérez Valle
- 33
- 8
0
votes
3 answers
How can I check if two cyclic sequences that are stored in arrays are equal (Java)?
For my class, I have been tasked with writing a program in Java that tells you whether 2 DNA sequences each of length 8, stored in an array, are the same. However, the sequences can be cyclic. For example, these two are the same:
A T G C G T A T
A T…

Ceri Barnes
- 1
- 1
0
votes
6 answers
understanding the cyclic rotation codility challenge?
I want to start by saying thank you for the help first.
I am tackling the cyclic rotation problem where you have to shift the contents of an list/array to the right and effectively wrapping the elements around so for example:
For example, given
A…

user2152012
- 161
- 1
- 4
- 17
0
votes
4 answers
How to create cyclic range of numbers C++
I want a range of numbers (lets say 30-50) to be cyclic. So if you do 50 + 1 = 30, OR 49 + 3 = 31. How would I do this in C++? I believe I would do it with the % operator but I'm having trouble wrapping my head around it.

EthanR
- 139
- 9
0
votes
1 answer
Swapping array indices based on indices in python
I am trying to set up cyclic sort, where the range of numbers are known ahead of time
def cyclic_sort(nums):
# TODO: Write your code here
i = 0
while i < len(nums):
while nums[i] - 1 != i:
nums[i], nums[nums[i] - 1] = nums[nums[i]…
user9371926
0
votes
2 answers
Matplotlib: Cyclic angle plot with large error bars
here is my problem:
_I have some physical data representing an angle between -90 and 90 degrees. There is a known error associated with this data. I'm working in python3 with numpy and matplotlib.
_I want to plot the data with its error bars for…

Azireo
- 145
- 1
- 5
0
votes
1 answer
Count frequencies of string - using only stdio.h - C
We have got some exercise in C (We must use only stdio.h library):
Write a function that receives two strings and returns the number of occurences of the second in the first one, there could be overlapping dependent on cyclic parameter.
But I…

HelpMe
- 91
- 10