TabLyricFm
Trending
Top Tracks
Top Artists
TabLyricFm
Listen & view mCoding's lyrics & tabs
...
read more
Similar Artists of mCoding
Fireship
Low Level Learning
3Blue1Brown
Veritasium
Programmers are also human
Top Tracks of mCoding
25 nooby Python habits you need to ditch
Python dataclasses will save you HOURS, also featuring attrs
Every PROOF you've seen that .999... = 1 is WRONG
Intro
The Single Most Useful Decorator in Python
Python's creator wishes this feature never existed
The Fastest Way to Loop in Python - An Unfortunate Truth
Python's sharpest corner is ... plus equals? (+=)
any use of reinterpret cast
casting away const
not using structured bindings
You should put this in all your Python scripts
str/int: Controversial breaking change added to Python
Restrict explanation
Zero inverse
Localization
31 nooby C++ habits you need to ditch
Type params
You should put this in all your Python scripts | if __name__ == '__main__': ...
Efficient Exponentiation
Faster CPython
Immortal objects
Better error locations
basicConfig
For loops are redundant
modifying a container while looping over it
forgetting to mark destructor virtual
Actually, you CAN divide by zero.
super, Python's most misunderstood feature.
returning std move of a local
not knowing about default vs value initialization
Comprehension inlining
Vector add example
Variable Lookup Weirdness in Python
4 Only providing io functions taking a path
Unlocking your CPU cores in Python (multiprocessing)
Exception Groups
not using unique ptr and shared ptr
thinking std move moves something
thinking raw pointers are bad
thinking evaluation order is left to right
Bye bye setuptools
Python Generators
__new__ vs __init__ in Python
Python lists remember what you did to them
logging is the standard
First Missing Int, faster than 100%! (C++ remake)
any manual resource management
TypedDict annotating kwargs
typing override decorator
Buffer protocol in Python
Correctness fib example
The real purpose of Python's match statement, feat. CSTs
Python's staticmethod and classmethod, what are they for?
Bit Arrays
Bloom filter implementation
Why bloom filters?
How does it work?
Where to get k hashes?
Bloom filter interface
Analyzing the False Positve Rate
Running the example code
11 Not knowing about properties
14 Any use of filter or map
mixing up const ptr vs ptr to const
Asyncio Task Groups
Every Python dev falls for this (name mangling)
Diagnose slow Python code. (Feat. async/await)
1 + 0.2 is NOT 0.3 in Most Programming Languages
Sudoku Solver in 7 minutes using Recursive Backtracking
the complete logging picture
dictConfig
Python 3.12 is HERE!
Example setup
Matching the CST
Library logging?
Log off the main thread with QueueHandler
logging4p
Why the lambda in a loop is bad
Why I prefer attrs over dataclasses
18 Thinking super means parent
Switch case?
Literal Strings
Unlocking your CPU cores in Python (feat. multiprocessing)
Positional-only and keyword-only arguments in Python
Which Python @dataclass is best? Feat. Pydantic, NamedTuple, attrs...
Time to Hack - Cracking passwords using only timing information
The Hottest New Feature Coming In Python 3.10 - Structural Pattern Matching / Match Statement
Modern Python logging
sum(range(n)) != n(n+1)/2
Custom filter
JSON logs
What is a code smell?
It's time... for PYTHON 3.11!
0.1 + 0.2 is NOT 0.3 in Most Programming Languages
The symptoms
A glaring flaw
Coding
Bloom Filters
Addressing complexity
ASTs and CSTs
Async for loops in Python
Why Zero times Anything is Zero
Exceptions to the rule
Exceptions to the rule
str vs bytes in Python
The trick
Does Python have a ternary operator?
Dataclass transforms
Traversing a tree
Decoupling
A forbidden Python technique to put ANYTHING in a dict or set.
Better defaults
21 MORE nooby Python habits
Independent versioning
Features
More complex example with max depth
Mind-bending metaclasses - adding function overloads to Python
How to use Python features from future versions!
Python staticmethod and classmethod
Python's most DISLIKED __dunder__ (and what to use instead)
Method Chaining Classes in Python
Mathematically Perfect Tongue Twisters
Binary Search - A Different Perspective
Python 3.12 is HERE
Should you use "not not x" instead of "bool(x)" in Python?
It's time... for PYTHON 3.11
Why I don't like Python's chained comparisons
Your code could be 2x faster! Gains from cache locality and branch predictability (C++)
Multiple Assignments in Python
Binary Search - A Different Perspective | Python Algorithms
restrict: the only C keyword with no C++ equivalent
using namespace std
C++17 mandatory copy elision
Pyimgui's core
When can copies be elided?
Watch out for this (async) generator cleanup pitfall in Python
You can pip install directly from GitHub
Where do the copies come from?
Return Value Optimization
Restrict in C
Why
The ONLY C keyword with no C++ equivalent
Result
Iterators and Range
Best practices, memcpy and memmove
File processing
Visiting the CST
Defining generators
True, True, True
Wait, it's real?
Generator pipelines
Generator comprehensions
Lazy sequences and Collatz
The import system
Prevent this before it ever happens
Lazy sequences and Collatz
Intro to chained comparisons
The import system
Prevent this before it ever happens
Python's comma equals ,= operator?
Fast pow
C++ Sudoku Solver in 7 minutes using Recursive Backtracking
Getting around the recursion limit
Exception Notes
Typing features
Why does Python even allow this? Chained comparison jank.
Should you use "not not x" instead of "bool(x)" in Python? (NO!)
Python Weirdness - The comma equals ,= operator?
How To Install Python for Data Science
Find why your Python code is slow using this essential tool. (Feat. async/await)
Benefits of salting, peppering, and hashing passwords | Secure Python
any use of new and delete
Return Value Optimization and Copy Elision in C++
Binary Search
Multiple assignment example
Two arg iter
Python's secret second argument to iter()
Writing zip, but for dictionaries
Async for syntax and purpose
Algorithm
The cleanup question
Async iterator protocols
Run an AI Large Language Model (LLM) at home on your GPU
Prerequisites
Tricky example
Async generators
Debugging in PyCharm
Running an model
Main purpose, subclassing immutable types
The async case
Abstract base classes
Simplest possible metaclass
super/MRO, Python's most misunderstood feature.
What is a metaclass
Singleton example
Async web app
All 71 built-in Python functions
New vs init
Function overloads
Client caching example
Let's fork and clone
Sorting
Metaclasses in Python
Motivating example
Avoiding import loops in Python
Encrypted file example
Load time metaclass
The meta path
Thanks
Don't make this big O mistake!
Running an model
thinking class members init in order of init list
Main purpose, subclassing immutable types
The async case
Abstract base classes
Simplest possible metaclass
Arithmetic operations
super/MRO, Python's most misunderstood feature.
What is a metaclass
The downside
Singleton example
5 __dict__
Async web app
type(obj) vs. obj.__class__ in Python, and changing an object's class.
attrs
Single arg iter
How to use type(obj)
All 71 built-in Python functions
not using constexpr
Reassign
Sponsoring myself!
New vs init
2 properties
Function overloads
Bad use cases
Client caching example
Speed comparison
Sponsored message
dict
Resurrecting
Let's fork and clone
Sorting
Metaclasses in Python
Motivating example
Bad List
Conclusion
Structuring your project
Avoiding import loops in Python
Encrypted file example
Load time metaclass
Salting, peppering, and hashing passwords
Python's permutations function (deep dive & implementation)
Coroutines
Good use cases
How to flatten a list | Basic Python Recipes
What are Python __future__ imports?
Static reflection
Python bool len rule
Find the Skyline Problem with C++ Solution Explained
AC/DC
Stevie Wonder
Spoon
Jay-Z
Fall Out Boy
The Flaming Lips
The Doors
Ariana Grande
Taylor Swift
Bruce Springsteen
Beach House
Johnny Cash
Top Tracks
Top Artists