tether's People
tether's Issues
Satellite model
Create model of Satellite
and use it in project.
For first glance Satellite
should use:
- Mass.
- Coordinates.
- 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:
- We can get external library for parsing it
- We can use
HEADERS
in files and simple work with it. - 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:
- Write our own ui interface for it.
- 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:
- About.
- How to use.
- Libs and languages which we used.
- 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:
- All private methods in this class are duplicated each other.
- Method
start()
is very messy. - All label or button names should be constants of Main class.
- All numbers(window size and etc) should be constants of Main.class.
- 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:
- la4j - (Dec, 2015), vers. - 0.6.0
- Jblas -(May, 2015), vers. - 1.2.4
- Efficient Java Matrix Library - (Jun, 2014), vers. - 0.25
- JAMA - (Jun, 2013), vers. - 1.0.3
We need to compare speed, api and convenience in using.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.