Bedrock Foundation Model ARNs have an empty account ID
Foundation Model ARNs use arn:aws:bedrock:region::foundation-model/... with no account ID. Replacing the ACCOUNT_ID placeholder from samples breaks the IAM policy.
Today I Learned — Daily learnings
Foundation Model ARNs use arn:aws:bedrock:region::foundation-model/... with no account ID. Replacing the ACCOUNT_ID placeholder from samples breaks the IAM policy.
The access entry auto-created by EKS Capabilities has no deploy permissions. Without associate-access-policy, ArgoCD Application sync silently fails.
Use gh api to get Dependabot vulnerability alert details — package name, severity, and fix version — without leaving the terminal.
SSH from Ghostty to Ubuntu causes broken input because the remote host lacks xterm-ghostty terminfo. Setting shell-integration-features to ssh-terminfo,ssh-env fixes it.
Accessing /ja/nonexistent redirects to /en instead of showing a Japanese 404 page. Both a [...slug] catch-all route and updating the root not-found.tsx to render a 404 UI are required.
Playwright E2E tests hang after completion in Codespaces or CI because the HTML reporter tries to open a browser. Setting open: never in playwright.config.ts fixes it.
Browser-default scrollbars on pre elements look bulky. scrollbar-width: thin for Firefox and ::-webkit-scrollbar for Chrome/Safari make them minimal.
AWS docs show Powertools code for both Python and TypeScript, but Python 3.25.0 lacks the lambda_metadata module (ModuleNotFoundError). TypeScript @aws-lambda-powertools/commons 2.32.0 works.
Wanted to open details on desktop and close on mobile. The open attribute is an HTML attribute, not a CSS property, so media queries don't work. useEffect with window.innerWidth is the solution.
Refactored src/lib/i18n.ts into src/lib/i18n/index.ts without changing any of the 50+ import statements using @/lib/i18n. Node.js module resolution falls back to index.ts automatically.