First of all you have to trust the charger, that it will provide exactly the described power. Alternatively you can
Continue readingCategory: Computer
USB standards
USB is used everywhere today. Its main applications are charging and data transfer (MSD, MTP, A&V). It started with flash
Continue readingReturn value optimization (RVO)
It’s a part of the copy elision, which is a compiler optimization strategy defined in the C++ standard. Scenario 1
Continue readingFunction – declaration vs. expression (JS)
Function declaration They are hoisted, which means the declaration is “moved” to the top of the scope. Function expression They
Continue readingCallback vs. Promise (JS)
They are used to handle asynchronous (single-threaded) execution. Callback (Old school) A Callback is a function … that gets injected
Continue readingScript tag attributes (JS)
Sync (without keyword) If during HTML parsing a JS element is found, the parsing gets stopped until the script is
Continue readingAJAX (XHR vs. Fetch API)
AJAX – stands for “Asynchronous JavaScript and XML” – allows asynchronous communications with the server – is used to update
Continue readingSOP and CORS
Comparison (of SOP and CORS) SOP (Same-origin policy) CORS (Cross-origin resource sharing) What? A Security feature enforceable by the web
Continue readingWebRTC
1. Mesh /—> Peer_1 Peer_4
Continue reading