eabatalov / spbau-data-backup Goto Github PK
View Code? Open in Web Editor NEWTraining project for SpbAU students where they develop data backup software
Training project for SpbAU students where they develop data backup software
To make debug version: make debug
To run under valgrind: make mem_check
To run on the test: make; bin//main <folder_name>
Changes are made in this period: 9079510...3206f66
Let's make it in form of console command
collect_file_tree path
Let's make two applications. One is client and another one is a server.
Server application is started first. Server opens socket on specific TCP port. Let's choose port #5000.
Then server listens for client connections on it.
After that client is able to connect to server. So it connects and sends some string. Server receives it and sends that string back. That's the concept of echo client and server that we want to implement.
Please create dedicated directories for client and server code. Use POSIX API for now. Target OS: Linux. Client is a command line app for now.
We need to be able to collect tree of all the files in the system. Each tree node should be able to store at least one user provided pointer to user provided data. (we'll associate arbitrary information with each tree node ex. file hash).
Also we need a set of helper functions for convenient traversal of collected FS tree.
Special handling of hard and soft links is required. It is special tree nodes that have pointers to file/dir nodes.
Use POSIX API for now.
Let's discuss library design at a whiteboard first.
Create new app fs_diff in root of repository.
Use fs_tree library as a source of FS tree information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.