Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)Dimitris Psounis
Α. Θεωρία
1. Κλάσεις
1.1 Γενικά
1.2 Ορισμός Κλάσης
1.3 Δημόσια (public) στοιχεία της κλάσης
1.4 Ιδιωτικά (private) στοιχεία της κλάσης
1.5 Παράδειγμα (προδιαγραφές)
2 Περισσότερα για τις κλάσεις
2.1 Ορισμός Συναρτήσεων έξω από την Κλάση
2.2 Παρουσίαση Ιδιωτικών – Δημόσιων Μέλων μιας κλάσης
2.3 Χωρισμός σε Αρχεία
3. Ειδικές Μεθόδοι Κλάσεων
3.1 Γενικά
3.2 Κατασκευαστής (constructor)
3.3 Καταστροφέας (destructor)
3.4 Ελεγκτές Πρόσβασης (accessors)
B. Ασκήσεις
Modeling the effect of surface roughness on slip flow in nanoscale polymer filmsNikolai Priezjev
The slip phenomena in thin polymer films confined by either flat or periodically corrugated surfaces are investigated by molecular dynamics and continuum simulations. For atomically flat surfaces and weak wall-fluid interactions, the shear rate dependence of the slip length has a distinct local minimum which is followed by a rapid increase at higher shear rates. For corrugated surfaces with wavelength larger than the radius of gyration of polymer chains, the effective slip length decays
monotonically with increasing corrugation amplitude. At small amplitudes, this decay is reproduced accurately by the numerical solution of the Stokes equation with constant and rate-dependent local slip length. When the corrugation wavelength is comparable to the radius of gyration, the continuum predictions overestimate the effective slip length obtained from molecular dynamics simulations. The analysis of the conformational properties indicates that polymer chains tend to stretch in the direction of shear flow above the crests of the wavy surface.
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)Dimitris Psounis
Α. Θεωρία
1. Κλάσεις
1.1 Γενικά
1.2 Ορισμός Κλάσης
1.3 Δημόσια (public) στοιχεία της κλάσης
1.4 Ιδιωτικά (private) στοιχεία της κλάσης
1.5 Παράδειγμα (προδιαγραφές)
2 Περισσότερα για τις κλάσεις
2.1 Ορισμός Συναρτήσεων έξω από την Κλάση
2.2 Παρουσίαση Ιδιωτικών – Δημόσιων Μέλων μιας κλάσης
2.3 Χωρισμός σε Αρχεία
3. Ειδικές Μεθόδοι Κλάσεων
3.1 Γενικά
3.2 Κατασκευαστής (constructor)
3.3 Καταστροφέας (destructor)
3.4 Ελεγκτές Πρόσβασης (accessors)
B. Ασκήσεις
Modeling the effect of surface roughness on slip flow in nanoscale polymer filmsNikolai Priezjev
The slip phenomena in thin polymer films confined by either flat or periodically corrugated surfaces are investigated by molecular dynamics and continuum simulations. For atomically flat surfaces and weak wall-fluid interactions, the shear rate dependence of the slip length has a distinct local minimum which is followed by a rapid increase at higher shear rates. For corrugated surfaces with wavelength larger than the radius of gyration of polymer chains, the effective slip length decays
monotonically with increasing corrugation amplitude. At small amplitudes, this decay is reproduced accurately by the numerical solution of the Stokes equation with constant and rate-dependent local slip length. When the corrugation wavelength is comparable to the radius of gyration, the continuum predictions overestimate the effective slip length obtained from molecular dynamics simulations. The analysis of the conformational properties indicates that polymer chains tend to stretch in the direction of shear flow above the crests of the wavy surface.
How we scaled git lab for a 30k employee companyMinqi Pan
GitLab, the open source alternative to GitHub written in Rails, does not scale automatically out of the box, as it stores its git repositories on a single filesystem, making storage capabilities hard to expand. Rather than attaching a NAS server, we decided to use a cloud-based object storage (such as S3) to replace the FS. This introduced changes to both the Ruby layer and the deeper C layers. In this talk, we will show the audience how we did the change and overcame the performance loss introduced by network I/O.
The document provides an overview of Ruby on Rails and its key components. It discusses how Rails is made up of several gems including Rails, ActiveSupport, ActionPack, ActiveRecord, ActiveResource and ActionMailer. It summarizes the purpose and functionality of each gem. For example, it states that ActiveRecord connects classes to database tables for persistence, while ActionPack handles routing, controllers and views.
Tracing a Memory-leak in a Long Running Eventmachine Application旻琦 潘
Slide: In Huanteng Smart we manufacture smart household gadgets which all connect to a single long running eventmachine application to receive and send instructions with the server. This eventmachine application is a single Linux process holding all TCP connections never closes them. One day, we found that this process was leaking memory, and here is how we managed to trace its cause.