These determine the assumed/default size of instruction operands, and restricts which opcodes are available, and how they are used.
Modern operating systems, booted inside Real mode,
| Name | Description | Exceptions |
|---|---|---|
| Avoid async void | Prefer async Task methods over async void methods | Event handlers |
| Async all the way | Don't mix blocking and async code | Console main method |
| Configure context | Use ConfigureAwait(false) when you can |
Methods that require context |
Picking the right architecture = Picking the right battles + Managing trade-offs
uwsgi --socket 0.0.0.0:5000 --plugin python --protocol=http --wsgi-file wsgi.py
open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
!!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
uwsgi: unrecognized option '--wsgi-file'
getopt_long() error
Solution:
Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...
then the windows does not pop out
Solution:
| # Convert nested model object to dict | |
| def my_dict(obj): | |
| if not hasattr(obj,"__dict__"): | |
| return obj | |
| result = {} | |
| for key, val in obj.__dict__.items(): | |
| if key.startswith("_") and key == 'metadata': | |
| continue | |
| element = [] |