Introduction to Huffman Trees
How Huffman coding trees compress data, and how to build a small compression tool with one in Python, from counting characters to writing the bits to a file and reading them back.
The posts I'd point you to first. Each one takes a single idea and works through it step by step.
How Huffman coding trees compress data, and how to build a small compression tool with one in Python, from counting characters to writing the bits to a file and reading them back.
What Model Context Protocol servers are, what they're useful for, and how to write one in Python and test it with an LLM.
Waiting with sleep makes a test suite slower with every test you add. Poll with a timeout instead, shown with a small Go example of a tip from Software Engineering at Google.
Four ways to speed up a Go service that sends Kafka messages to an HTTP sink. Request batching alone took it from 100 to about 4,000 messages a second.
Python context managers work a lot like decorators, which makes them a neat way to add caching, logging and error handling around code without mixing those concerns into it.
Looking for something else? Browse every post by category or start from the newest posts.