Remarkable code samples - Andrei G. Hondrari
Data processing
- graph representation - https://stackoverflow.com/questions/55505389/how-to-build-this-graph-in-python/55517614#55517614
- detection of anomalous values within a signal, hence a series of values - https://stackoverflow.com/questions/53895442/finding-anomalous-values-from-sinusoidal-data/53900407#53900407
- binary/byte low level operations - https://stackoverflow.com/questions/55523234/efficient-way-to-append-bytes-to-a-word-and-reverse-them/55523858#55523858
- large text processing - https://stackoverflow.com/questions/53795266/iterate-over-huge-text-file-read-chunks-between-two-reoccurring-patterns-using/53795333#53795333
- multiprocessing of large datasets - https://stackoverflow.com/questions/53894014/how-to-efficiently-perform-row-wise-operations-using-pandas/53897491#53897491
- search algorithm within time-complexity bounds - https://stackoverflow.com/questions/55405236/search-in-rotated-sorted-array-in-olog-n-time/55406388#55406388
- acronym pattern detection - https://stackoverflow.com/questions/55404558/matching-acronyms-to-their-long-form/55405436#55405436
Math
- combinatorics - https://stackoverflow.com/questions/53908138/having-problems-with-python-permutations/53908206#53908206
- multiples (from project euler) - https://github.com/AndreiHondrari/algorithms_and_data_structures_exploration/blob/master/project_euler/s001_multiples_of_3_and_5.py
- prime factors (from project euler) - https://github.com/AndreiHondrari/algorithms_and_data_structures_exploration/blob/master/project_euler/s003_prime_factors.py
Code structure
-
advanced class definitions - https://stackoverflow.com/questions/55525463/python-public-and-private-methods/55525523#55525523
-
argument parsing - https://stackoverflow.com/questions/53803168/add-an-argument-that-starts-with-h/53803184#53803184
-
code enhancements - https://stackoverflow.com/questions/55421600/how-to-refactor-two-functions-that-require-all-of-the-same-but-one-parameter/55421630#55421630
-
game OOP and functionality - https://stackoverflow.com/questions/55543988/maze-screen-changing/55544019#55544019
Databases
- sample database manager - https://github.com/AndreiHondrari/python_exploration/blob/master/databases/db_manager/manager.py
Networking
- chat server - https://github.com/AndreiHondrari/python_exploration/blob/master/networking/chat_server.py
- echo server - https://github.com/AndreiHondrari/python_exploration/blob/master/networking/s1.py
Web animation, drawing and filters
- animation orchestration library - https://github.com/AndreiHondrari/animatic
- SVG, animejs, tween, 3D CSS - https://github.com/AndreiHondrari/web_exploration
Advanced Python features that I’ve explored extensively
as seen in: https://github.com/AndreiHondrari/python_exploration/tree/master/bare_python) include:
- coroutines
- mutability vs immutability
- function and class decorators, simple as well as parametrized
- context managers
- packaging
- function caching
- partials
- decimal vs floating point arithmetic and fractions
- multithreading and multiprocessing
- weakreferences
- type hinting
- dataclasses
- contextvars
- dynamic importing
- enums
- metaprogramming
- abstract inheritance, mixins and method resolution order
- argparse
- pickle – object serializatiion
- regex
- json and csv