To Handle Quantum Machines in the Future

Humans made it in half a century to reduce the size of computer from mainframe to minicomputer to personal computer and to mobile device computer. A quantum processing unit is currently in 2022 at the size of a mainframe and possible the most in half a millennium to be the size of a mobile device computer. A humanoid machine can then possess a brain with quantum capability. This is the danger. Quantum machines function with huge processing of possibility and probability, similar to GANs, ...
Read post

Popular Web Servers

Major player: Node.js Express Convenient, JS & JSON Performance with JIT compiling to native code Classic players: Python Tornado, Flask Convenient, but old techs New player: Python aiohttp Convenient, modern with new Python 'async', 'await' keywords ...
Read post

Paste Large Text into Micro

Micro is a powerful code editor in terminal with shortcut keys similar to GUI apps. However, pasting large texts into Micro isn't just right-click on terminal. Here's how to: Enable paste instead of mimicking input Ctrl+E, type set paste true, Enter Ctrl+E, type set autoindent false, Enter Set autoindent back for coding Ctrl+E, type set autoindent true, Enter. ...
Read post

Free CAPTCHA Services

reCAPTCHA Free, fast, the most popular one Works on localhost thru' IP or localhost-based domains hCaptcha Free, fast, less popular Won't work on localhost ...
Read post

Vision about Computer Vision in Near Future

Classic CRT Computer Displays They had rounded corners due to the ray scan was from a single point and it makes an ellipse. LCD/LED Displays Perfectly rectangular due to pixels are squares UI have changed into utilising corners and usually have icons or those kinds of stuff there. Modern Mobile Displays Lots are having rounded corners now Fits something about near future of 3D projection below. Near Future 3D Projection Seems to have rounded corners and even blurry rim. UI should cha...
Read post

Ubuntu 22 WSL Fails to Install

The failure happened on Windows 10, but possibly also on Windows 11. Ubuntu 22 WSL after installation from Windows Store: Got app to pin to Start Menu, launched okay Further installation steps inside Ubuntu 22 WSL report failure as: The app didn't start in the required time. Uninstall it, and go back to Windows Store to install, however, it doesn't even install from right in Windows Store this time. The fix: https://askubuntu.com/a/1406700/489566 Bottom line comment: Better wait until it...
Read post

Move Apps Installed from Windows Store to Another Drive

Apps installed from Windows Store will be default installed on drive C: which usually has limited space for system only. In order to move to another drive, eg. D:, to free up space of C:, do these: After installing from Windows Store Open Windows Settings >> Apps On the app list, click the app to move Click button 'Move', choose a new Drive to move to. Reference: https://answers.microsoft.com/en-us/windows/forum/all/how-to-move-apps-location-folder-in-windows-10/446d7e0f-ee2e-4bab-849...
Read post

Linking .so Shared Object File with Relative Path in GCC (G++)

These options must be together for finding the .so files: -Wl,-rpath,RELATIVE_PATH_FROM_DOT -LRELATIVE_PATH_FROM_DOT -l:DSO_FILE_NAME For example: g++ -shared -o file.so file.cpp -fPIC -Wl,-rpath,. -L. -l:mylib.so g++ -shared -o file.so file.cpp -fPIC -wl,-rpath,./libs -L./libs -l:mylib.so The -Wl,-rpath and -L must be together, and the -l must come with colon after to specify the exact file name. ...
Read post

Standard async/await and C++

JavaScript, Python: async: Make a promise (future) await: Wait for the promise Similar concept in C++: future: Make a promise (future) co_await: Wait for the promise Another concept in C++: std::async: Make a promise (future) in a thread .wait(): Wait for the thread to finish(?) ...
Read post

Async vs Threading for Web Servers

Consideration Number of possible requests at the same time: 10,000 Async Single thread 10k requests in async mode jam processing but that is slow down instead of running out of CPU capacity Multi-threading Multiple threads 10k requests make 10k threads, this is uncontrollable and isn't good for CPU thread management Conclusion Web server should run in async mode instead of multi-threading mode. ...
Read post

Browser Engine Survivors in 2022

Browser Engines Many web browser engines existed in the past, but by present 2022, only these survive: Gecko: Firefox Blink (forked from WebKit, WebKit forked from KHTML): Chromium Chromium-based Chromium-based browsers: Vivaldi (best for features) Edge (best for readiness on Windows) Chrome (best for popularity) Chromium (base browser) Frameworks Frameworks with Chromium as base: Electron ...
Read post

The Future of Regular Browsers

It is now mid 2022. Chrome Is just a Chromium inside out, will lose popularity to Edge Edge Readily available on Windows, more features than Chrome Will gain more popularity to kinda par with Chrome Firefox Nothing changes, will stay the same. Notable mention: Vivaldi Top browser by all means: privacy, encryption, feature-packed, convenient, cross-platform, etc. Market share is unpredictable. ...
Read post