rpg – Need to create a track editor for the rhythm game

I'm doing Garfield-rpg. In short, it's similar to Undertale, the main difference being that it's with Garfield and his friends. And instead of a hellish segment between turns (as in the subtitle), there is a rhythm game, similar to guitar-hero / DDR

To see what I mean in action. You can watch this short video here

The tracks are really just a little table like this:

var track = (
"0/0 p d 4d",
"2/0 p r 4d#",

"0/1 p l 4e",

"0/2 p d 4d",
"1/2 p r 4d#",
"3/2 p l 43",

"3/3 p d 4d",

"1/4 p d 4d",
"2/4 p r 4d#",

"0/5 p l 4e",
"2/5 p x 3b",

"0/6 p d 4e",
"1/6 p r 4e#",
"3/6 p l 4d",
);

"2/4 for 4d #"

  • 2/4 being the time when it is generated
  • p being the type of granule. (so far it may be pellets or fish)
  • r being the button to press (arrow keys or x button)
  • 4d # being the note sound to play.

I need to create a small editor. Similar to mario-paint where I can efficiently grade notes and export a small table file as above. So far, I have tried to create a webApp, using Tone.js and javascript. But I'm having trouble making a pianoroll / stepsequencer. I would really appreciate suggestions for this.

trace – Track a moving peak on a periodic ListAnimate trace

I have a ListAnimate plot and I want to track the position of the peak as it moves.

Is there a way to do this that takes into account that the peak of the wave passes in front of the plot window on the right side.

ListAnimate[Table[ListLinePlot[Table[Sin[2*Pi*i/100 - j], {i, 0, 100}]], {j,0,10}]]

Any help is greatly appreciated!

Return ranking of user points track week, month, year from multiple tables with mySQL

Here is the structure of my tables:

User

|--------|------------|
| id     | name       |
|--------|------------|
| 1      | Name1      |
| 2      | Name2      |
| 3      | Name3      |
|--------|------------|

Publish

|--------|------------|-------------|--------------------|
| id     | content    | user_id     |   created_at       | 
|--------|------------|-------------|--------------------|
| 1      | Content1   |  1          |2020-01-17 14:03:31 |
| 2      | Content2   |  1          |2020-01-17 16:18:23 |
| 3      | Content3   |  2          |2020-01-17 16:29:13 | 
|--------|------------|-------------|--------------------|

Comment

|--------|------------|-------------|----------|---------------------|
| id     | comment    | user_id     | post_id  |   created_at        |
|--------|------------|-------------|----------|---------------------|
| 1      | Comment1   |  1          |   1      | 2020-01-20 18:29:19 |
| 2      | Comment2   |  1          |   1      | 2020-01-22 17:25:49 |
| 3      | Comment3   |  2          |   2      | 2020-01-28 11:37:59 | 
|--------|------------|-------------|----------|---------------------|

Vote

|--------|-------------|----------|-----------------------|
| id     |  user_id    | post_id  |    created_at         |
|--------|-------------|----------|-----------------------|
| 1      |   1         |   1      | 2020-01-20 15:08:55.0 |
| 2      |   1         |   2      | 2020-01-20 15:13:29   |
| 3      |   2         |   2      | 2020-01-20 15:13:32   |
|--------|-------------|----------|-----------------------|

I want to find the best score of 10 users per week, month, year according to the formula:

A user creating 1 position will have 10 points.
A user creates 1 comment in a post that will have 5 points.
A user votes in a post that will have 2 points.
Someone could help me, please!

Thank you so much.

windows 10 – How to track device transfer to users?

I have a problem with a device transfer. Our company provides laptops and monitors for each employee. So we have to keep track of each device for which it was given and update the Excel file all the time like. So my question, can anyone suggest a program or software that could make my life easier? Thank you for your reply!

unit – Different travel speeds for the same track

I have a small problem with different travel speeds. A card moves from Draw -> Display -> Board. The user can add another destination while the map is still moving (to Home). If he moves it later (once the movement to the board is finished), the speed of movement is faster from the board at home. Any movement itself works, I just don't understand why there is a difference in speed. The following script is attached to the card itself.

private Transform _fromPos;
private Transform _toPos;
private List _toPosList = new List();

private float _timeCountMove = 0.0f;
private float _speed = 0.50f;

void Update() {
   if (_isMoving) {
      MoveWithRotation();
   }
}

public void MoveFromTo(Transform from, Transform to) {
   _fromPos = from;
   _toPos = to;
   _timeCountMove = 0f;
   _isMoving = true;
}

public void MoveFromTo(Transform from, List to) {
   _toPosList = new List(to);
   MoveFromTo(from, _toPosList(0));
}

void MoveWithRotation() {
   _timeCountMove = _timeCountMove + Time.deltaTime * _speed;
   transform.position = Vector3.Lerp(_fromPos.position, _toPos.position, _timeCountMove);
   transform.rotation = Quaternion.Slerp(_fromPos.rotation, _toPos.rotation, _timeCountMove);
   transform.localScale = Vector3.Lerp(_fromPos.localScale, _toPos.localScale, _timeCountMove);
   if (_timeCountMove >= 1f) {
      _isMoving = false;
      if (_toPosList.Count > 1) {
         MoveFromTo(_toPosList(0), _toPosList(1));
         _toPosList.RemoveAt(0);
      }
   }
}

public void AddWaypoint(Transform waypoint) {
    _toPosList.Add(waypoint);
}

It is called either with an array of transformations (all segments have the same speed in this case) or with only two transformations (much faster speed in this case). If AddWaypoint is called while the card is still moving, the added segment continues to fly at the same speed.

My question is, what is causing the difference between the waypoint list speeds versus two waypoints?

Selling on the Amazon Platform – How Do You Track Changes to Your Ads? Is there a viable application?

How do you track changes on your ads? Is there a viable application? How can you track if the changes lead to more sales / sessions?

Hi everyone,
This has been a problem for me for quite some time now. I am using a regular Excel spreadsheet to track list changes manually for now, which is unachievable and time consuming as you know if you do the same.
SEMrush

I was looking for different seller apps, but couldn't find anything substantial. All different apps, follow specific things like reviews, comments, bindwise apps also track different changes in titles, descriptions and the like. However, they send you these change alerts in an email, which is an unusable format. Also, one very important thing that we would need to track is the "Amazon choice" and its modifications, as well as other badges and active promotions, for which I can't find anything.
Ideally, I would like to be able to export this information to a csv file so that I can import it into Excel.

In the end, the goal is of course to increase / maintain sales. Tracking changes is therefore only the first step. Ideally I would like an app that also correlates list changes with sales changes, trying to find the changes that are most correlated with sales and also to see if the sales changes are statistically significant, or just a normal daily deviation.

Right now, I'm tracking both the changes and the correlation with the sales changes, which is incredibly long and frustrating. The "Amazon choice" badge has a huge influence on our sales, but I only do it manually, which means that I sometimes get a few days late to notice the change.

Also, when I'm trying to see if the change was statistically significant for better or worse, it's hard to see it from the normal graph, so I have to use Excel and plug everything in. At the end of the day, we just don't have the time to do it for all the announcements all the time.

Has any of you tried to do it / solve it? Any suggestions for apps / how you do it?

I'm so frustrated with this that I'm thinking of having an application programmed for it … It won't be cheap though … :( Does any of you have a similar problem and would like to potentially participate in this effort?

Thank you for all suggestions!

After Trump steps down, should we de-program, deport or behead his cult members to get the country back on track?

No, we are not a country of savages. We will give Trump supporters the best care during their 2 days at the Betrayal Camp and one of the BEST final meals of all time. Even the lobster. Go against it, you know you would send us with one last way of ramen noodles. At least your belly will be full.

Git continues to track junk files

Morning
I had a "project" composed of independent files, when I move it to Visual Studio, the IDE creates many unnecessary files for the repository.
The Vs project is inside the git folder, got didn't follow this folder until my last commit

C: repository / visualstudiofolder / anyvssubfolder

Now I have my. git ignores the file with this line as I saw it before C: repository / visualstudiofolder / anyvssubfolder /

And I used git rm –cached C: repository / visualstudiofolder / anyvssubfolder

It returns a fatal: C: the repository is outside the repository and continues to follow these directories

I tried the ignore file and the remove command using / or / ** at the end of the sense, still useless

How do I get rid of these directories, I pushed the changes to confirm it and all the junk files are now on the repo website
Thank you

How to track / incorporate errata against printed rule books without having to memorize or constantly check the errata?

I bought myself a brilliant new regulation for a relatively new system and, of course, there is already a full errata document!

To make it easier for me, I sat down with a pen and sticky notes to mark the places in the book that had been misplaced. I found that the pen tended to stain and I don't want to wait for each sticky note to dry before advancing through the document.

Is there a good way to point errata from a rulebook without risk of damage? I'm basically looking for a method that:

  • Incorporates short errata directly into the book
  • Summarizes longer errata to be incorporated directly into the book
  • Marks where errata document should be referenced
  • Does it legibly or easily understood
  • Does all of this with minimal damage to the book itself and does not diminish the longevity of the books. (Stain, page wear, stickers starting to peel off, etc.)

Relevant meta: I want to ask about the methods of incorporating errata into a rulebook, but I'm not sure of its subjectivity

mysql – Pattern for keeping track of record evolution history

I have encountered many different answers regarding my questions but I am not yet satisfied.

In my team we have a table representing a list of requirements.
Table "Requirements" has a req_id and many other free fields.

Sometimes a new list of requirements is distributed and we need to check if some requirements have changed.
Since the requirements evolve with the versions, we would like to keep their history, so that in the future we can consult a previous version of a specific requirement.

The first solution that came to my mind was to use a composite primary key to make the "Requirements" table look like:

REQUIREMENTS
------------
req_id
version_id
field1
field2
field3
...

where is the primary key (req_id, version_id).

Sounds good to me, because it will consider all developments of a specific requirement as new.
At the same time I am fighting because I "break" the meaning of the table: a new version of requirements is not in fact a new requirement …

I took a look at solution 2: dedicated data tracking table, but I don't think it will be very useful to us. A new requirement version can evolve many fields and seems difficult to recover.

Also, since we don't know a priori if and how a requirement has changed, we need to check for the latest versions.

In view of this, I thought of modifying the previous concept by using 2 tables instead of 1:

LAST_REQUIREMENTS
-----------------
req_id
version_id
f1
f2
f3
...

where is the PK req_id

OLD_REQUIREMENTS
----------------
req_id
versions_id
f1
f2
f3
...

where is the pk (req_id,versions_id)

This way, we will look for the differences after a query made on a smaller table (LATEST REQUIREMENTS).

Consider that there are thousands of requirements and each can easily have more than 10 versions. The number is expected to increase in the future, so my personal concern also relates to performance.

I have a feeling that there are smarter solutions …

P.S .: We are using a MySQL database, out of curiosity, I would like to know if a nosql database could better serve the problem.