Articles tagged with: Development

YouTube video summarizer script

Summary: Developed a Python script to summarize YouTube videos, using ChatGPT.


Word prediction using a trie data structure

Summary: Explores word prediction/autocomplete using a trie data structure. Includes a demo and the source code of the trie implementation.


Python Imports 101

Summary: Explains Python import basics, relative vs. absolute imports, import resolution, and provides examples to clarify common import scenarios.


Two Testing Anti-Patterns

Summary: Discusses the anti-patterns of testing private methods and mocking class under test methods. It emphasizes the importance of focusing on behaviour, refactoring when necessary, and testing in line with production conditions.


Markov Model Python Example

Summary: A Python example of a Markov model. How to implemented a Markov chain to generate sentences based on a given text file. Describes the process of building a dictionary of word chains and demonstrate how the model can generate sentences.