Hero Image
Til

Checklist Design Tuxedo No.2 - A Cocktail Companion MangaMillion debloat.dev — replace the junk 台灣罪犯圖鑑 直轄市及各縣市短期補習班資訊管理系統 各運動種類不適任教練名單 — 案源比對工作表 運動部 - 涉及違法事件不適任教練資訊專區 運動部 - 教練證照查詢系統 CRC 聯合國兒童權利公約資訊網 - 違反兒少法 衛生福利部 - 醫事人員性別事件資訊專區 全國教保資訊網 - 裁罰紀錄查詢 Article We replaced Redis with MySQL for inventory reservations—and it scaled How we tracked down a 16-year-old SQLite bug Database cr-sqlite - Convergent, Replicated, SQLite Dbmate is a database migration tool that will keep your database schema in sync across multiple developers and your production servers. Diagram Turn a codebase or system description into a polished, interactive system map — directly in chat. Editorial diagrams your designer won’t hate. Github Gemma 4 26B-A4B inference in ~2 GB of RAM on any M-series MacBook claude-tap is a local proxy and trace viewer for AI coding agents. Bark is an iOS App which allows you to push custom notifications to your iPhone macOS menu bar app that tells you, in plain English, what each USB-C cable plugged into your Mac can actually do Rebuild the object in a reference image as a code-only, procedural Three.js model. MALWARE RESEARCH HUB Pumpkin is a Minecraft server built entirely in Rust, offering a fast, efficient, and customizable experience. Lody: A shared workspace for the coding agents your team already uses. Boot a virtual iPhone via Apple’s Virtualization.framework using PCC research VM infrastructure. The largest Open-Source UI Library! Community-made and free to use. Made with either CSS or Tailwind. Data intensive science for everyone. MCP fff: A file search toolkit for humans and AI agents. Pre-indexed code knowledge graph, auto syncs on code changes. Present PPT Master — AI generates native PowerPoint from any document Bento — the office suite that fits in a file The slide framework built for agents. Self-Hosted CertMate - Certificate Lifecycle Management Skill Skills for Designers and Engineers. Test Generator Agent Skills for Real Engineers. Straight from my .agents directory. Autonomous game development for Godot, Bevy, and Babylon.js with Claude Code and Codex Taste-Skill - gives your AI good taste. stops the AI from generating boring, generic slop Comprehensive production pipeline for quad-modal AI filmmaking with Seedance 2.0 skill to create best prompts for generating videos with seedance2.0

Hero Image
Articles

SingleFlight macOS 奇怪的安全扫码机制 Agentic Design Patterns 你不知道的 Claude Code:架构、治理与工程实践 你不知道的 Agent:原理、架构与工程实践 rtk: CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies difftastic: a structural diff that understands syntax I Ditched Elasticsearch for Meilisearch. Here’s What Nobody Tells You. 策展島嶼的深度敘事: https://github.com/frank890417/taiwan-md Linux 中网络包的一生 Gitingest: Turn any Git repository into a prompt-friendly text ingest for LLMs. 7 More Common Mistakes in Architecture Diagrams Use Cases Superpowers: Superpowers is a complete software development workflow for your coding agents, built on top of a set of composable “skills” and some initial instructions that make sure your agent uses them. everything-claude-code: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. Agency Agents: A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables. MiroFish: A Simple and Universal Swarm Intelligence Engine, Predicting Anything. Lightpanda Browser: the headless browser designed for AI and automation Anatomy of the .claude/ Folder Cocoa-Way: Native macOS Wayland Compositor written in Rust using Smithay. Experience seamless Linux app streaming on macOS without XQuartz. Pretext: Fast, accurate & comprehensive text measurement & layout Ghostmoon.app: A Swiss Army Knife for your macOS menu bar CodingFont: A game to help you pick a coding font The Git Commands I Run Before Reading Any Code Winhance: Application designed to optimize, customize and enhance your Windows experience. Native Instant Space Switching on MacOS FluidCAD: Write CAD models in JavaScript. See the result in real time. Awesome DESIGN.md: Copy a DESIGN.md into your project, tell your AI agent “build me a page that looks like this” and get pixel-perfect UI that actually matches. graphify: AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, GitHub Copilot CLI, OpenClaw, Factory Droid, Trae, Google Antigravity). Turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph SingleFlight package analyzer import ( "context" "sync" "golang.org/x/sync/singleflight" "github.com/nathan/stock_bot/internal/storage" ) type AnalysisService struct { genai *GenAIClient d1Client *storage.D1Client stockCache map[string]*StockAnalysisResult mu sync.RWMutex sf singleflight.Group } func (s *AnalysisService) analyzeStock(ctx context.Context, code, name string) (*StockAnalysisResult, error) { // 1. 第一層防護:檢查記憶體快取 (L1 Cache) s.mu.RLock() if result, ok := s.stockCache[code]; ok { s.mu.RUnlock() return result, nil } s.mu.RUnlock() // 2. 第二層防護:Singleflight (請求合併) key := "stock:" + code v, err, _ := s.sf.Do(key, func() (interface{}, error) { // 3. 執行昂貴的邏輯 (DB + Gemini API) result, err := s.doAnalyzeStock(ctx, code, name) if err != nil { return nil, err } // 4. 寫入快取 (務必在 singleflight 內部完成,防止下一波瞬間擊穿) s.mu.Lock() s.stockCache[code] = result s.mu.Unlock() return result, nil }) if err != nil { return nil, err } return v.(*StockAnalysisResult), nil } func (s *AnalysisService) doAnalyzeStock(ctx context.Context, code, name string) (*StockAnalysisResult, error) { // 建立一個子 Context 用於內部的多個非同步任務 g, ctx := errgroup.WithContext(ctx) var dbData string var aiResult string // 任務 1:查資料庫 g.Go(func() error { // 隨時檢查 Context 是否已取消 select { case <-ctx.Done(): return ctx.Err() default: // 模擬資料庫查詢 dbData = "Historical Data" return nil } }) // 任務 2:呼叫 Gemini API g.Go(func() error { // 將 ctx 傳入 API 客戶端,讓它能跟隨整體的超時控制 res, err := s.genai.Generate(ctx, "Analyze this: "+code) if err != nil { return err } aiResult = res return nil }) // 等待所有任務完成或其中一個出錯 if err := g.Wait(); err != nil { return nil, err } return &StockAnalysisResult{Data: dbData, Analysis: aiResult}, nil } func (s *AnalysisService) analyzeStockWithMetrics(ctx context.Context, code string) (*StockAnalysisResult, error) { key := "stock:" + code v, err, shared := s.sf.Do(key, func() (interface{}, error) { return s.doAnalyzeStock(ctx, code, "Name") }) // 紀錄監控指標:分辨是「原始呼叫」還是「共享結果」 status := "original" if shared { status = "shared" } s.sfCounter.Add(ctx, 1, metric.WithAttributes( attribute.String("stock_code", code), attribute.String("type", status), )) if err != nil { return nil, err } return v.(*StockAnalysisResult), nil } macOS 奇怪的安全扫码机制 # 查看最近的 syspolicyd 扫描记录 log show --predicate 'subsystem == "com.apple.syspolicy.exec"' --last 5m --style compact | grep performScan System Settings → Privacy & Security → Full Disk Access,给 VS Code 完全磁盘访问权限有效