Hi, what do you want to do?
Curated Video
Multi-Paradigm Programming with Modern C++ - Adding Syntactic Sugar
We now can write coroutines that run on executor threads and produce values. Let’s see if we can make working with them a little bit more pleasant. We will also implement await_transform to allow co_awaiting a different type....
Curated Video
Multi-Paradigm Programming with Modern C++ - A Brief History with C++
Every new C++ standard adds support for different programming styles. Understanding the evolution of C++ can improve programming skills.
• How C++ sta
rted?
• Overview of features added in each ne
w standard
•...
• How C++ sta
rted?
• Overview of features added in each ne
w standard
•...
Curated Video
Learning PHP 7 (Video 7)
PHP is back and is faster and more lightweight than ever. The world of web technology is seamlessly evolving, and PHP 7's simplicity and prowess addresses the requirements of current and future web and mobile application...
Curated Video
Multi-Paradigm Programming with Modern C++ - Thread Pools
Thread pool is a collection of threads that execute incoming jobs or tasks. Clients push tasks on the queue, and threads pick them one at a time. This provides an abstraction for background tasks. In addition, there is a single...
Curated Video
Multi-Paradigm Programming with Modern C++ - Enforcing the Guidelines
Guidelines are, first and foremost, a collection of rules. If the rules are not enforced, they will not be followed. The guidelines are intended as specification for static code analysis tools. In this video we will learn how to...
Brian McLogan
Master Write a conditional statement, its inverse, converse and contrapositive
Master Write a conditional statement, its inverse, converse and contrapositive
Curated Video
Multi-Paradigm Programming with Modern C++ - Synchronization with Mutexes
Mutex is an object that lets us protect a resource from being accessed from multiple threads simultaneously. Mutex is one of many synchronization primitives. It’s easy to use, but there are a few caveats.
• Example of a mutex:...
• Example of a mutex:...
Curated Video
Multi-Paradigm Programming with Modern C++ - Searching and Sorting
Search is the most common operation we perform on data. There are three common types of search: Linear, sorted (binary), and by hash.
• Linear search is the simplest way to find things, and often the fa
stest
• Overview...
• Linear search is the simplest way to find things, and often the fa
stest
• Overview...
Curated Video
Multi-Paradigm Programming with Modern C++ - Organizing Source Files
In this video, we learn how to organize source code of a small project.
• Overview of the daytime pr
oject
• Organize code int
o packages
• Separate package interface from
i
mplementation
This clip is from...
• Overview of the daytime pr
oject
• Organize code int
o packages
• Separate package interface from
i
mplementation
This clip is from...
Curated Video
Multi-Paradigm Programming with Modern C++ - What Is a Coroutine?
Coroutine is a function whose execution can be suspended and resumed. Suspension saves the state of the function, then the caller can execute as if the function has returned. Resumption loads the saved state back and continues...
Brian McLogan
How to write the contrapositive from a conditional statement
👉 Learn how to find the contrapositive of a statement. The contrapositive of a statement is the switching of the hypothesis and the conclusion of a conditional statement and negating both. If the hypothesis of a statement is represented...
Curated Video
Multi-Paradigm Programming with Modern C++ - Grouping Tasks with Fork/Join
Fork/Join builds on top of continuation. The idea is that not one, but multiple parallel tasks can consume results of the previous one. And after those tasks are finished, another task aggregates the results. In this video we will...
Curated Video
Multi-Paradigm Programming with Modern C++ - Task Continuation
Continuation is when an asynchronous task consumes results of the previous one. In this video we will implement and use such pattern. Additionally, we will see how to handle exceptions and propagate them to the caller of a...
Curated Video
Multi-Paradigm Programming with Modern C++ - Coroutines on a Thread Pool
We had implemented a concurrent tasks framework in Section 9. Back then we observed that threads had to wait on each other, which reduces concurrency. In this section, we will create a tasks framework that uses coroutines to achieve...
Curated Video
Multi-Paradigm Programming with Modern C++ - Copy and Move
Copy creates a duplicate of an object. Move transfers ownership of resources. We can control the behaviors of copy and move by writing copy and move constructors (and operators).
• Rules for implementing copy constructors and...
• Rules for implementing copy constructors and...
Curated Video
Multi-Paradigm Programming with Modern C++ - Providing a Good Abstraction
Abstraction hides complexity and preserves only the information that is relevant in the context. We create leaky abstractions when we fail to hide information that is irrelevant. This video is an exercise in creating an...
Curated Video
Multi-Paradigm Programming with Modern C++ - Modules in C++ 2a
In this video, we learn about the biggest change to C++ in decades.
• Writing our first m
odule
• Consuming
the module
• Visibility a
nd
reachability
This clip is from the chapter "Structuring Projects in...
• Writing our first m
odule
• Consuming
the module
• Visibility a
nd
reachability
This clip is from the chapter "Structuring Projects in...
Curated Video
Multi-Paradigm Programming with Modern C++ - General Guidelines
Some guidelines cannot be enforced efficiently. They are still important, especially the guidelines concerning Philosophy, Architectural Ideas, and Non-Rules and myths.
• Express ideas directly in code, because compilers don’t...
• Express ideas directly in code, because compilers don’t...
Curated Video
Multi-Paradigm Programming with Modern C++ - When to Use Templates
Templates are one of the distinctive features of C++, and arguably the most complex one. When used correctly, templates make your code less complicated, and this is not a contradiction.
• Use templates to raise the level of...
• Use templates to raise the level of...
Curated Video
Multi-Paradigm Programming with Modern C++ - Class and Structs
What is the difference between struct and class, and which one to use? What’s an invariant and why is it important? Where to put error checking code?
• Struct versus class: Which one to
use?
• Class invariants
by...
• Struct versus class: Which one to
use?
• Class invariants
by...
Curated Video
Multi-Paradigm Programming with Modern C++ - Passing Things Around
Most languages offer a couple of ways of passing data, e. g. by value and by reference. C++ offers many more. How to choose the right way in every case?
• Ground rules for passing argu
ments
• When to pass/return by...
• Ground rules for passing argu
ments
• When to pass/return by...
Curated Video
Multi-Paradigm Programming with Modern C++ - Coroutine Machinery
C++ does not specify semantics for coroutines. Instead, the language provides some low-level constructs. The promise is an interface for a coroutine’s state machine, and there are also a few primitives for suspending and resuming a...
Curated Video
Python for Data Analysis: Step-By-Step with Projects - Subsetting Both Rows and Columns
This video introduces you to subsetting both rows and columns.<br/<br/>>
This clip is from the chapter "Exploring Data" of the series "Python for Data Analysis: Step-By-Step with Projects".This section introduces you to exploring data.
This clip is from the chapter "Exploring Data" of the series "Python for Data Analysis: Step-By-Step with Projects".This section introduces you to exploring data.
Curated Video
Multi-Paradigm Programming with Modern C++ - Running Asynchronous Tasks
In this video, we will use promise, future, and a lambda to create a version of std::async that uses our thread pool. Then we will learn some design patterns for efficient concurrent programming.
• Overview of the task class...
• Overview of the task class...