开发者
编程技术、框架工具、最佳实践
共 7493 篇 · 第 329/375 页
Redis 8.8: New array data structure, rate limiter, performance improvements
Best Apple 3-in-1 Travel Chargers (2026): Anker, ESR, Satechi
Keep your trio of Apple gadgets powered up wherever you go with these compact folding chargers.
Japan declines to join movement to ban youth from social media
Enclayve Is a Drab Black Box for Your Private Group Chats
I put my family on a private social network, and all I got was this lousy group chat. At least it’s secure.
Exact UNORM8 to Float
Björn Fahller: I talk too much
submitted by /u/_a4z [link] [留言]
It is an amazing time for programmers
Ten Years of Franz
Building an Edge REST API with Hono.js + TypeScript — From Bun Local Server to Cloudflare Workers
If you've ever built a REST API with Express, you've probably felt it. Middleware registration, type definitions, body parser setup, connecting Joi or Zod... the structure is simple, but the boilerplate is excessive. When I first saw Hono, I was skeptical. "Another Express clone," I thought. That changed when I actually ran it. Bottom line: Hono v4 is more than just lightweight and fast. TypeScript type inference flows naturally all the way to route handlers. Zod validation connects via a single official package. On Bun, response times are noticeably faster than Express. Everything in this post is based on what I ran in a sandbox in June 2026. Why Hono — Compared to Express and Fastify Understanding where Hono fits means answering three questions. Bundle size : Hono v4 core is about 12KB. Express is 58KB, Fastify is 77KB. The gap might not sound dramatic, but in edge environments like Cloudflare Workers or Deno Deploy, bundle size directly affects cold start time. Edge functions sometimes initialize a new runtime per request — smaller means faster first response. Runtime compatibility : Express is Node.js-only. Fastify targets Node.js by default. Hono was designed from the start to "run anywhere." The same code deploys to Bun, Deno, Cloudflare Workers, Node.js, and AWS Lambda Edge. TypeScript support : Express requires @types/express as a separate install, and properties added to req via middleware don't get type inference. Hono is written in TypeScript from the ground up, and the Hono<{ Bindings: Env; Variables: Variables }> generic gives you type-safe access to environment variables and middleware state. I'm not saying Hono is the right choice for every situation. If your team is deeply invested in Express, or you need a mature plugin ecosystem, there's no compelling reason to switch. But if edge deployment is the goal, or you want type safety from day one, Hono is the most convincing TypeScript API framework right now. Installation and First Server — Response in
Missing worker at Los Alamos National Laboratory found dead in remote forest
Poland wants to ban phones and smartwatches in schools
The Polish government has approved several bills, including one that would ban phones in the classroom.
Recovering Eric Graham's 1987 Amiga Juggler raytracer source code
Cooldown Support for Ruby Bundler
AT&T Promo Codes: $50 Off This June 2026
Whether you’re looking to upgrade your internet or get the latest phone, we’ve got you covered with our selection of AT&T coupons and deals.