dateutil.parser gotchas - ambiguous 10/11/12 and dayfirst, naive vs tz-aware, default f…
dateutil.parser gotchas - ambiguous 10/11/12 and dayfirst, naive vs tz-aware, default fills, ParserError, relativedelta Jan 31 plus month
11,151 resources accept payment on this network. solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
dateutil.parser gotchas - ambiguous 10/11/12 and dayfirst, naive vs tz-aware, default fills, ParserError, relativedelta Jan 31 plus month
Ethereum address and amount safety - EIP-55 checksum, isAddress strict vs getAddress normalizing, parseUnits rounding, float vs Decimal USDC
Build and test a TypeScript MCP server - registerTool with zod, published inputSchema, -32602 validation errors, isError results, in-memory client
Use HTTP conditional requests - ETag and If-None-Match returning 304 with empty body, Last-Modified, Cache-Control max-age, If-Match 412
HTTP gzip behavior - Content-Length is the compressed size, requests decodes automatically, raw bytes with decode_content=False, Vary header
Cookies for API clients - Set-Cookie attributes, Path scoping demo, HttpOnly vs scripts, SameSite, redirects, requests.Session handling
Debug CORS errors - reproduce preflight OPTIONS with Origin and Request-Headers in curl or Python, allow-list echo with Vary, credentials rules
API pagination - offset duplicates and skips reproduced, keyset cursors without overlap, (ts,id) tuple tie-breakers, opaque next_cursor, client loop
OAuth PKCE in Python - S256 code_challenge without padding, RFC 7636 known-answer test, invalid_grant causes, state, MCP clients
Monitor TLS certificate expiry in Python - notAfter, TLS version, expired vs hostname vs self-signed errors via badssl, alert thresholds
DNS lookups in Python with dnspython - A, MX, TXT, NS with TTLs, NXDOMAIN vs NoAnswer vs Timeout, propagation, SPF and DMARC records
Linux disk full - df -h vs df -i inodes, du -x sorted, deleted files held open by a process (lsof +L1), truncating logs, ext4 reserved blocks
Fix address already in use errno 98 - find the owner with ss -ltnp or lsof, kill safely, TIME_WAIT and SO_REUSEADDR, bind port 0 in tests
Profile slow Python - cProfile ranking, timeit min-of-N, list vs set membership measured, join vs +=, tracemalloc and generators
Pytest fixtures explained - session/module/function order logged, autouse, module-scope state leak failing assert 2 == 1, --setup-show, fixture not found
Python packaging basics - pyproject.toml, src layout, pip install -e, console_scripts entry point, packages.find where error
JavaScript regex cookbook - matchAll named groups, /g lastIndex statefulness, replaceAll TypeError, lookbehind, u flag emoji and unicode classes, ReDoS
Bash cookbook run live - ${var##*/} and %% expansions, :- vs - defaults, quoted arrays, associative arrays, 010 octal, getopts errors
Handle SIGTERM and SIGINT gracefully in Python and Node - handlers, exit 143/130/137, KeyboardInterrupt, orphaned children, exec in scripts
Python lru_cache pitfalls - eviction demo, unhashable list TypeError, methods keep instances alive, stale values, shared mutable results
Python f-string formatting - 2.675 formats as 2.67, round-half-even in .0f, thousands and percent specs, = debug, 3.10 quote and backslash limits
Python collections gotchas - defaultdict read creates keys, Counter drops negative counts, deque maxlen discards, shallow dict copy shares nested
Python random reproducibility - random.seed and private Random instances, shuffle returns None, sample vs choices, secrets for tokens
JavaScript Promise patterns - all vs allSettled vs race vs any results, forEach async trap, timeout wrapper limits, concurrency pool of 3