Questions tagged [cyclic]

119 questions
3
votes
1 answer

CRC calculating and BCH encoding [THEORY]

I have question about BCH Encoding. Is BCH Encoding is the same operation like CRC remainder calculation? M(x) mod G(x) = R(x) and R(x) is my BCH code?
3
votes
3 answers

How to check if a string is a cyclic rotation of another?

How can one check if a given string is a cyclic rotation of another given string in R? Ex: 1234 is a cyclic rotation of 3412 by two shifts. But I'd like to check if a string is cyclically equivalent to another string or not, by any number of shifts…
user251385
  • 31
  • 2
3
votes
1 answer

C# Drawing Libraries

I'm looking for a library which will enable me to visualize some xml entities I have, and manipulate them graphically (something similar to a UML design package, but simpler), like a cyclic flow graph. Anybody have any ideas where I should start?…
Jamie
  • 876
  • 1
  • 10
  • 28
3
votes
2 answers

using cut for cyclic data

i am trying to analyse wind data using the 'cut' command, i want to set 16 wind directions how can i cut directions 348.75 till 11.25 to a "0" label? thank you eliav
eliavs
  • 2,306
  • 4
  • 23
  • 33
3
votes
2 answers

Update database table cyclically every 5 minutes

I have to populate and update one of my MySql database table using a complex and expensive query, based on selection from other table's data. This table doesn't need to be always fully updated when i make a query on it, but i'd like to have a cyclic…
lubilis
  • 3,942
  • 4
  • 31
  • 54
3
votes
2 answers

Why is my type definition rejected as cyclic when declared as a variant, but accepted otherwise?

I was messing around with using OCaml implementing some of the data structures in Chris Okasaki's Purely Functional Data Structures and came across this type definition: type tree = Node of int * int * tree list;; I didn't think it needed the tag…
superlizardmo
  • 333
  • 1
  • 11
2
votes
1 answer

Encrypting a message using a cyclic cypher

Here is an example: Plain: ABCDEFGHIJKLMNOPQRSTUVWXYZ Shift = 4 Cipher:DEFGHIJKLMNOPQRSTUVWXYZABC Here is the code: print ("This is a cyclic cipher program that will encrypt messages.") #phrase = input("Please enter a phrase to encrypt.") phrase…
Mavvy1981
  • 23
  • 1
  • 3
2
votes
1 answer

Express routes time out when trying to use MongoDB with cyclic.sh

Sometimes my DB Connection fails (MongoDB Atlas). Once I re-deployed the application it's working. It's happening frequently. Any specific reasons or suggestions to solve this issue? Everything is running fine locally, but when deploying, my routes…
Korostelevm
  • 25
  • 1
  • 4
2
votes
1 answer

How To convert JSON data To Cyclic Object Value?

I am able to convert cyclic Object to JSON. Now, i want to convert JSON to cyclic Object //Cyclic to JSON conversion which works fine