Example code: class Foo: def __init__(self: object) -> None: pass def __call__(self: object) -> None: print("Called!") f = Foo() f() Result: Called! Do classes has the __call__ method as well? What for? What _ is used for in Python? Translation lookup in i18n ...
Infrastructure as code: Terraform Orchestrator: Mage Cloud storage: Google Cloud Storage Cloud database: BigQuery Cloud compute: Cloud Run Transformations: dbt Language: Python Dashboard: Looker Design Decisions In this postmortem, I reflect on the decisions made regarding the pipeline and infrastructure...
1. Single-config generators (e.g. default = `Unix Makefiles`; note that they just ignore the `--config` flag): ```bash cmake -B build -DCMAKE_BUILD_TYPE=Debug cmake --build build ``` ```bash cmake -B build -DCMAKE_BUILD_TYPE=Debug cmake --build build ``` 2. Multi-con...
Why using generators? What is yeild? When would you use it? Explain the following types of methods and how to use them: Static method Class method instance method How to reverse a list? How to combine list of strings into one string with spaces between the strings You have the following...
Note: for Debug builds, there are two cases: Single-config generators (e.g. default = Unix Makefiles; note that they just ignore the --config flag): cmake -B build -DCMAKE_BUILD_TYPE=Debug cmake --build build Multi-config generators (-G param set to Visual Studio, XCode...): c...
Why using generators? What is yeild? When would you use it? Explain the following types of methods and how to use them: Static method Class method instance method How to reverse a list? How to combine list of strings into one string with spaces between the strings You have the ...
How do you handle argument parsing in Python?What is a generator? Why using generators?What would be the output of the following block? for i in range(3, 3): print(i) What is yeild? When would you use it?Explain the following types of methods and how to use them: Static method...
The kernel is part of the operating system and is responsible for tasks like: Allocating memory Schedule processes Control CPU True or False? Some pieces of the code in the kernel are loaded into protected areas of the memory so applications can't overwrite them. True What...
The kernel is part of the operating system and is responsible for tasks like: Allocating memory Schedule processes Control CPU True or False? Some pieces of the code in the kernel are loaded into protected areas of the memory so applications can't overwrite them. True What...
The kernel is part of the operating system and is responsible for tasks like: Allocating memory Schedule processes Control CPU True or False? Some pieces of the code in the kernel are loaded into protected areas of the memory so applications can't overwrite them. True What...