AJAchal Jaininachal-jain.hashnode.devFree Cloud Platforms for ML — Colab, Kaggle & Hugging Face (What Nobody Tells You)If you read Part 1, you already know why your laptop struggles with ML. Now let’s actually fix that. When I was building my Disease Prediction System, my laptop gave up mid-training. Not metaphoricall8h ago·5 min read
MMatheusinreleaserun.hashnode.devPython asyncio Reference: Coroutines, TaskGroup, Queue, Semaphore & run_in_executorasyncio patterns I keep using in every async Python project. create_task for actual concurrency # Sequential (slow): u1 = await fetch_user(1) u2 = await fetch_user(2) # Concurrent (fast): task1 = asyncio.create_task(fetch_user(1)) task2 = asyncio.cr...49m ago·2 min read
MMatheusinreleaserun.hashnode.devFastAPI Reference: Pydantic Models, JWT Auth, Async SQLAlchemy & Production SetupFastAPI patterns I find myself writing in every new Python API. Pydantic v2 validation (the best part of FastAPI) class UserCreate(BaseModel): name: str = Field(min_length=1, max_length=100) email: EmailStr # validates emai...1h ago·2 min read
MMatheusinreleaserun.hashnode.devPython Packaging Reference: pyproject.toml, uv, pip-compile & PyPI PublishingModern Python packaging patterns that have replaced the old setup.py/requirements.txt chaos. pyproject.toml is the new standard [project] name = "my-package" version = "1.0.0" requires-python = ">=3.10" dependencies = [ "httpx>=0.26.0", "pyda...1h ago·2 min read
KGklement Gunnduinklementgunndu1.hashnode.devYour LLM API Call Retries Forever When the Provider Goes Down — Here's the FixYour AI agent sends a request to Claude. The API returns a 529 (overloaded). Your retry logic kicks in. It retries. 529 again. Retries harder. 529. Retries with exponential backoff — but the backoff caps at 60 seconds, so after a minute it starts ham...2h ago·9 min read
JJebitokinsharonjebitok.commacOS Forensics: Artefacts (TryHackMe)This writeup covers a macOS Forensics: Artefacts challenge on TryHackMe involving the analysis of a 25GB disk image from a macOS 15.1.1 (Sequoia) system. The investigation required extracting user act3h ago·51 min read
MMatheusinreleaserun.hashnode.devpytest Reference: Fixtures and Scope, Parametrize, Mock vs Monkeypatch, --lf and Coveragepytest patterns worth memorising — especially the fixture and mock patterns that eliminate boilerplate. Fixture scope — the right choice matters # function (default) — new fixture per test (slowest but safest) # class — shared within test class # mod...3h ago·2 min read
MMatheusinreleaserun.hashnode.devPython asyncio Reference: gather, TaskGroup, to_thread, aiohttp, Queue with Backpressureasyncio patterns that come up constantly in real async Python code. gather vs TaskGroup — which to use import asyncio # asyncio.gather — concurrent tasks, results in order results = await asyncio.gather( fetch_user(1), fetch_posts(1), fe...3h ago·2 min read
MMatheusinreleaserun.hashnode.devPython Reference: Pattern Matching, Dataclasses, Walrus Operator, and PathlibModern Python patterns — the ones that replaced old approaches. Pattern matching (Python 3.10+) — not just switch/case match command: case {"action": "create", "user": str(name)}: # structural matching create_user(name) case {"action...4h ago·2 min read
SJSubhahu Jaininlldcoding.comDesign (LLD) Tic Tac Toe - C++📌 1. Problem Statement Design a Tic Tac Toe game that: Supports configurable board size (N × N) Supports 2 players Validates moves Detects win efficiently Detects draw Logs moves Is extensible6h ago·8 min read