-
LLM Logic Distillation: Extracting Python Rules from LLMs
A pattern I'm using lately is extracting logical (Pythonic) rules from LLMs. Example 1: Extracting HTML Content Let's say you have a business process where LLM helps a lot. For example, extracting text content from... -
Expert Trajectory RAG: Claude Code-Level Quality with Internal Models
How to achieve Claude Code-level quality using internal coding models? Disclosure: This approach is for specific scenarios and requires significant pre-computation (tokens). When to Use This This is for you if: You have code you... -
"Mini-Firewall" Over EC2 Machines, AKA use Lambda function to update SecGroup with your IP address
Automatically update AWS Security Groups with your dynamic IP address using Lambda functions and API Gateway. Perfect for securing EC2 instances when working from home with changing IP addresses. -
Batch Processing in SQLite: A Deep Dive into Database Field Updates
Learn efficient techniques for updating millions of SQLite records using batch processing and smart indexing to avoid database locks. Includes performance benchmarks and strategies for handling large-scale database operations. -
Fine-Tuning Bert using LoRA, hosting on Cloudflare using Cloudflare AI Workers
Build and deploy a custom content moderation model by fine-tuning BERT with LoRA on spam detection, then serving it efficiently through Cloudflare AI Workers. -
BFS, DFS, PageRank, AKA — How to run embeddings only on important parts of a website
Optimize web scraping and embedding generation by using PageRank algorithm to prioritize important pages, ensuring you process the most valuable content first. -
There are more than 2 UUID types — UUIDv4, 7, ULID, etc…
Explore UUID alternatives including UUIDv7, ULID, and HashIDs to solve common problems like database performance, ID ordering, and preventing information leakage in your applications. -
Python — PDB usage and reproducing program execution
Master Python debugging with PDB by capturing and reproducing program execution state, including command-line arguments and environment variables for complex debugging scenarios. -
Data Ingestion — Build Your Own “Map Reduce”?
Build a lightweight custom map-reduce system in Python for small teams and startups, avoiding the complexity of Hadoop while efficiently processing large datasets with multiprocessing.
subscribe via RSS