Git Product home page Git Product logo

tether's People

Contributors

aarexer avatar maximtar avatar romanwayne avatar

Watchers

 avatar  avatar  avatar

tether's Issues

Satellite model

Create model of Satellite and use it in project.

For first glance Satellite should use:

  1. Mass.
  2. Coordinates.
  3. Velocity projections on axis.

After when we create model - we should rewrite all parts when it should be used.

Skeleton of model is in Model
Any additions?

Resource files as CSV

All files in resource folder such as ExpModelDens and etc - have tab as delimiter.
It's bad practice - in our current case we can use comma as delimiter and work with CSV files.
CSV - is a standard file type, which have a lot of libs for parsing and using in prod.

For example CSV - it's a excel file basis.

Check it - CSV.

Why we should use it:

  1. We can get external library for parsing it
  2. We can use HEADERS in files and simple work with it.
  3. We don't have tabs and spaces problem.

To solve this issue you can write script on Python or Java which converts our resource files to the CSV files.

UPDATE: @RomanWayne try to convert files to csv format.
Use ; - as delimiter.

Creating error/Warning message ui box

Sometimes when we have error or warning and it will be really great if we show warning or error messagebox in that case. Unfortunately in javafx standard library we don't have ui messageboxes.

As i see we have two variants:

  1. Write our own ui interface for it.
  2. Find and use external library - it's common problem and i am sure that somebody wrote it.

I think we should start from second variant.

Add README.md file to the project

We can add README.md file - it's a description of our project.
In this file should be some sections/paragraphs like:

  1. About.
  2. How to use.
  3. Libs and languages which we used.
  4. Screenshot of application in work.

For example we can use:
README.md or README_2.md

Working with Constants

In project there is a lot of constants in methods.
In every class we can see bunches of numbers and strings.

It's very bad approach - all constants should not be in methods.

I suggest to move all of this constants to static classes.
As example how-it-works:
Classes for constants

To sum up:
We should write something like:

public final class Constants {
   public static class Gravity {
            public static final String G = "9.8";
   }
}

And use it:

Constants.Gravity.G;

Refactoring of Main.class in animation

Package: com.github.qcha.animation
Class: Main
Problems:

  1. All private methods in this class are duplicated each other.
  2. Method start() is very messy.
  3. All label or button names should be constants of Main class.
  4. All numbers(window size and etc) should be constants of Main.class.
  5. Main window should not be resizable - we need to draw usual window with fixed size, size of buttons should be equals each other.

Logging in Project

Add logging with log configs to the project.

Remove all System.out.println debug scopes.

Working with matrix

We should try to use special library for linear algebra.

First of all we can try to use:

  1. la4j - (Dec, 2015), vers. - 0.6.0
  2. Jblas -(May, 2015), vers. - 1.2.4
  3. Efficient Java Matrix Library - (Jun, 2014), vers. - 0.25
  4. JAMA - (Jun, 2013), vers. - 1.0.3

We need to compare speed, api and convenience in using.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.