Def : A distributed system consists of hardware and software components located in a network of computers that communicate and coordinate their actions only by passing messages. Consequences of distributed systems Concurrency 多台電腦同時工作 網路延遲不是不變的所以同步化困難(Network delays are not constant make synchronization difficult.) No Global Clock
10/9/2022Basic Concept JavaScript Types are Dynamic This means that the same variable can be used to hold different data types var x; (undefined) x = 5; (Number) x = "abc" (String); <script></script>Placing scripts at the bottom of the element improves the display speed, because script interpretation slows down the display. Using document.write() after an HTML document is loaded, will delete all existing HTML. (should only be used for testing) window keyword is optional (wondow.alert() => alert()) print() : literally call a printer to print avoid code lines longer than 80 characters.
10/9/2022取代換行 ctrl+H search mode 'Extended' Replace with \r\n 取代字首 ctrl+H search mode 'Regular expression' Find what ^ replace with
10/9/2022or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up