43 articles

📰 Dev.to · Recca Tsai

Articles from Dev.to · Recca Tsai · 43 articles · Updated every 3 hours · View all reads

All ⚡ AI Lessons (10132) ArXiv cs.AIDev.to · FORUM WEBDev.to AIForbes InnovationOpenAI NewsHugging Face Blog
Typer: Build CLIs With Type Hints, No argparse API to Memorize
Dev.to · Recca Tsai 1w ago
Typer: Build CLIs With Type Hints, No argparse API to Memorize
Typer is a CLI framework by the FastAPI author, built on Click, but you don't need to learn Click's API. Type hints are the CLI specification — help text, shell
pytest: assert Is Enough, Forget self.assertEqual
Dev.to · Recca Tsai 1w ago
pytest: assert Is Enough, Forget self.assertEqual
The biggest difference between pytest and unittest isn't features — it's how comfortable it is to write. Plain assert works, failure messages expand automatical
polyfactory: Stop Hand-Writing Test Fixtures, Let Type Hints Do It
Dev.to · Recca Tsai 1w ago
polyfactory: Stop Hand-Writing Test Fixtures, Let Type Hints Do It
polyfactory generates test data automatically from Python type hints. Supports dataclasses, Pydantic v2, TypedDict, and msgspec. Pair it with pytest fixtures to
blinker: Python Signals for Decoupling Modules
Dev.to · Recca Tsai 1w ago
blinker: Python Signals for Decoupling Modules
blinker is a lightweight Python signal/event system — it's what Flask uses internally for request_started, request_finished, and other lifecycle events. Good fi
I Built a Global Developer Ranking Site with Vibe Coding
Dev.to · Recca Tsai 1w ago
I Built a Global Developer Ranking Site with Vibe Coding
How I vibe-coded CodeAtlas, a global developer ranking platform with Astro + Svelte 5 + Three.js, covering GitHub API data collection to 3D globe interaction.
Ditch Husky: Speed Up Git Hooks with Lefthook
Dev.to · Recca Tsai 1mo ago
Ditch Husky: Speed Up Git Hooks with Lefthook
Lefthook is a fast Git hooks manager written in Go. One YAML file replaces Husky + lint-staged, parallel execution cuts commit wait time in half, with built-in
sql.js + IndexedDB: Building an Offline-First Web App
Dev.to · Recca Tsai 1mo ago
sql.js + IndexedDB: Building an Offline-First Web App
Persist sql.js SQLite databases in the browser using IndexedDB to build offline-first web applications that work without a backend.
Query SQLite on GitHub Pages with sql.js-httpvfs
Dev.to · Recca Tsai 1mo ago
Query SQLite on GitHub Pages with sql.js-httpvfs
Use sql.js-httpvfs to query SQLite databases hosted on static sites via HTTP Range Requests — no need to download the entire database file.
Run SQLite in the Browser with sql.js: A Complete Guide from Install to CRUD
Dev.to · Recca Tsai 1mo ago
Run SQLite in the Browser with sql.js: A Complete Guide from Install to CRUD
Learn how to use sql.js to run SQLite entirely in the browser — from installation and initialization to CRUD operations, import/export, and Web Workers.
Browser Storage Comparison: sql.js vs IndexedDB vs localStorage
Dev.to · Recca Tsai 1mo ago
Browser Storage Comparison: sql.js vs IndexedDB vs localStorage
Compare browser-side storage solutions including sql.js, IndexedDB, and localStorage by capacity, query capabilities, performance, and use cases.
Install Docker CE on WSL2 Without Docker Desktop
Dev.to · Recca Tsai 1mo ago
Install Docker CE on WSL2 Without Docker Desktop
Install Docker CE in WSL2 without Docker Desktop: add your user to the docker group to run without sudo and enable systemd for automatic Docker startup on boot.
How to Install Windows 10 on AWS EC2 via VM Import
Dev.to · Recca Tsai 1mo ago
How to Install Windows 10 on AWS EC2 via VM Import
Build a Windows 10 VHD in VirtualBox, import it to AWS as an AMI using VM Import, and launch an EC2 instance. Covers IAM role setup, S3 upload, and RDP login.
VS Code PHPUnit & Pest Test Explorer: Setup Guide
Dev.to · Recca Tsai 1mo ago
VS Code PHPUnit & Pest Test Explorer: Setup Guide
Set up PHPUnit & Pest Test Explorer in VS Code with Docker Compose, Laravel Sail, SSH remotes, and Xdebug debugging. Supports PHPUnit 7–12 and Pest 1–4.
PHPUnit for VSCode 3.0: VS Code Testing API and Docker
Dev.to · Recca Tsai 1mo ago
PHPUnit for VSCode 3.0: VS Code Testing API and Docker
A complete rewrite of PHPUnit for VSCode using the VS Code Testing API for real-time sidebar results, now with Docker and SSH remote execution support.
Pass Python Requests to PHP via PSR-7 Message Format
Dev.to · Recca Tsai 1mo ago
Pass Python Requests to PHP via PSR-7 Message Format
Have Python output HTTP responses as PSR-7 message strings and parse them in PHP with Message::parseResponse — no manual header or body splitting needed.
PHPUnit: Mock sleep() in 2 Ways Without Waiting
Dev.to · Recca Tsai 1mo ago
PHPUnit: Mock sleep() in 2 Ways Without Waiting
When sleep() slows PHPUnit tests, extract a Clock class and use Mockery spy to replace it, or use php-mock to mock the built-in function with no code changes.
msw-fetch-mock: Undici-Style Fetch Mocking for MSW
Dev.to · Recca Tsai 1mo ago
msw-fetch-mock: Undici-Style Fetch Mocking for MSW
Compare msw-fetch-mock, MSW, nock, fetch-mock, and 3 other HTTP mocking libraries — with architecture analysis and concrete use-case recommendations for each.
LiVue: Use Vue 3 Directives in Laravel Blade Templates
Dev.to · Recca Tsai 1mo ago
LiVue: Use Vue 3 Directives in Laravel Blade Templates
LiVue lets you write Vue 3 directives in Blade templates without APIs or .vue files, merging Livewire server-driven architecture with the Vue ecosystem.
Fix S3 UnableToCheckFileExistence 403 Error in Laravel
Dev.to · Recca Tsai 1mo ago
Fix S3 UnableToCheckFileExistence 403 Error in Laravel
Without s3:ListBucket in the IAM policy, S3 returns 403 for missing files, making [Flysystem](https://flysystem.thephpleague.com) throw UnableToCheckFileExisten
Laravel Vite Assets Fail on Custom Domain? Set server.host
Dev.to · Recca Tsai 1mo ago
Laravel Vite Assets Fail on Custom Domain? Set server.host
Laravel Vite defaults to localhost, breaking assets on custom domains. Set server.host and server.hmr.host in vite.config.js, or use valetTls for Valet HTTPS.