GithubHelp home page GithubHelp logo

smerkousdavid / netpile Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 31 KB

A Java server to client sequential compiler to distribute applications easily

License: GNU General Public License v3.0

Java 100.00%

netpile's People

Contributors

liavt avatar smerkousdavid avatar

Watchers

 avatar  avatar  avatar

Forkers

hackerhome5

netpile's Issues

thoughts and problems

I looked over the current code, and I have some comments

  1. your server needs to store every one who connects. when i do TCP servers, i create an client class, which contains a socket. then, in the server class, i have an array list, and a thread that constantly checks for incoming connections. when a connection is found, it adds a new client to the arraylist. now, you can send messages
  2. why does the server need a username and password? passwords are unneccasary unless we want to have a large database which is constantly running, which means we need to have a remote server
  3. if you do want to have passwords, dont fill it up until 16 with ! and *. fill it up with null terminator strings or spaces.
  4. we need to add support for all distros of linux, not just ubuntu
  5. NEVER put 'throws Exeception' or 'throws Throwable' only throw from methods and classes specific exceptions. that is incredibly bad practice. i can explain to you later why it is.
  6. instead of trying to create your own serializer, use java.lang.Serializable. it does all the work for you. that might be why your streams aren't serializiing as intended.
  7. where is the server intended to be run? is it going to be a remote database, or is the client going to have to use it? if its the latter, i think we should just do a direct client-client system for ease of access
  8. please use static sometimes. some stuff can be declared static to save memory

know why it isn't working

it isn't the encryption. its the compiler. we need to specify every single class and dependency for the compiler, plus the directory its all located in. we simply can't get all that info from the user. so maybe, instead of compiling it in the program, the user can supply an already compiled jar file to send out to everyone. we can have command parameters (like netpile -send blah.java)

what i think we should do, is write it in java, and then write a c program for the command line which executes the java. that way, people can script it in bash or batch or whatever they want to do

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.