Vvoiddo·1h agoHTML to image API: fields, sample output and cost per 1,000 rowsReference for HTML to image API: output fields, a sample record and what a run costs. Render an HTML snippet to a PNG, JPEG or WEBP image at any width, with retina scaling and transparent background.4 min read·voiddo.hashnode.dev
Ddafili·1h agoThe Zero Was True. The Denominator Was Missing.My watcher watched 12 posts. The blog had 13. The first real reply sat there for ten hours while four patrols reported zero — all of them correct.5 min read·mediaforge-studio.hashnode.dev
HHaoJie Luo (Fone)·1h agoBuild Exact RWA Subscription and Redemption Quotes in PythonCalculate exact RWA subscription and redemption quotes in Python. Test fees, rounding, expiry and changed terms with twelve runnable tests.8 min read·0xfone.hashnode.dev
RRabii Slimane·2h agoOne Python script for government tenders from SAM.gov, TED, the UK, Canada and the World BankOpen government tenders from SAM.gov, TED (EU), UK, Canada and the World Bank in one list with Python: the free API way and a one-feed way.5 min read·rabroubx.hashnode.dev
MMin SiThu·2h agoWhat Is Object-Oriented Programming? Classes, Objects, and Why They Stuck AroundThe blueprint-and-house idea that quietly runs most of the software you use7 min read·itsmeminsithu.hashnode.dev
JJaden Vo·2h agoPython's robotparser Doesn't Read robots.txt Like Google Does. Here's a Stdlib Checker That Follows RFC 9309Longest-match rules, * and $ wildcards, user-agent groups, and a CI mode that fails the build when a deploy accidentally blocks your important pages10 min read·jadenvo259.hashnode.dev
AAbdus Salam·3h agoRotary Positional Embeddings, Worked Through in NumPyMost explanations of rotary positional embeddings stop at the formula. A query vector gets rotated by an angle that depends on its position, a key vector gets rotated by its own angle, and the dot pro9 min read·aheadkit.hashnode.dev
Aanders lee·3h agoUS duty rates are not numbers: parsing 747 rate formats from the tariff schedule in PythonThe duty rate column of the US tariff schedule looks like the easy part. It reads like a percentage: 6.5%, 3.7%, Free. Try float(rate.rstrip("%")) on it, though, and it fails on the very first declara7 min read·anders.hashnode.dev
LLinh Fish Dev·12h agoDjango in Production #18: Zero-Downtime Deploys — Blue-Green/Rolling, Migration Order and RestartsEpisode 17 built the CI/CD pipeline: push code to main, tests run, then the deploy goes to the server automatically. But an automatic deploy isn't necessarily a zero-downtime one — restart the app whi5 min read·linhfishdev.hashnode.dev1D
Wwang vball·4h agoBuild a Python Stock Quote Snapshot with Explicit Missing-Data StatesBuild a Python stock snapshot with HTTP and business-code checks, symbol reconciliation, and missing-data states instead of zero defaults.8 min read·tickdb.hashnode.dev