今日已更新 282 条资讯 | 累计 31960 条内容
关于我们

今日精选

HOT

最新资讯

共 31960 篇
第 1125/1598 页
开发者 Reddit r/programming

Polynomial Fitting: a rabbit hole

This one is bit math heavy. I started of building a small timeseries compression library, and ended up digging through some numerical algorithms, linear algebra. I learnt through a hose during last week and found something genuinely beautiful. If you stick through it I suppose you can see what I saw. submitted by /u/ennamo_po_madhava [link] [留言]

/u/ennamo_po_madhava 2026-06-16 21:14 5 原文
开发者 Reddit r/programming

Stop exposing your S3 bucket URLs. a dead simple image proxy with CDN caching

How I replaced all the ugly S3 URLs on my Laravel blog with clean /storage/media/... and /storage/og-images/... paths. The setup: Laravel + Octane + Traefik + Cloudflare. Two buckets -- a private one for uploaded media and a public one for auto-generated OG images. What's in the post: - MediaUrlBusiness helper class that centralizes URL generation (replaced 6+ blade templates of raw Storage::url() calls) - ObjectProxyController that streams files directly from S3 using readStream() + response()->stream() -- no memory buffering - Cache-Control: public, max-age=86400, immutable so Cloudflare caches aggressively - Route setup in routes/static.php with a middleware tweak that doesn't overwrite the proxy's own cache headers One gotcha: Storage::download() and streamDownload() buffer the whole file into memory. Switching to readStream() sends it directly from S3 to the client. submitted by /u/HolyPad [link] [留言]

/u/HolyPad 2026-06-16 21:13 5 原文
AI 资讯 InfoQ

Presentation: Automating the Web With MCP: Infra That Doesn’t Break

Paul Klein discusses the distributed systems challenges of scaling cloud-hosted browser infra for AI agents. He explains how to manage bursty, stateful multi-tenancy and secure Chromium environments against remote code execution using Firecracker. He also shares how to leverage the Model Context Protocol (MCP) to turn complex websites into accessible agentic tools. By Paul Klein

Paul Klein 2026-06-16 21:13 11 原文