on-internet

DeepSeek 尖峰與離峰定價:實際能省多少

DeepSeek 的牌價在正常工作日會變動兩次。同一個模型、同樣的 Token、相同的快取行為,在北京時間 10:00 的成本可能是 20:00 的兩倍。這首先是排程問題,其次才是模型選擇問題。 簡短答案: 尖峰時段為週一至週五北京時間 09:00–12:00 與 14:00–18:00,中國法定假日除外。其餘時段皆以尖峰費率的一半計費。在下方的工作負載中,同樣的 2 億輸入與 4,000 萬輸出 Token,尖峰時段要 ¥887.36,離峰時段為 ¥443.68。如果你不想自行打造路由層,建立 Tokuse 帳號,就能用同一個 OpenAI 相容端點呼叫兩個 DeepSeek 模型;基礎 URL 是 https://tokuse.com/v1。 官方時段表 DeepSeek 以人民幣(CNY)公布每百萬 Token 的價格。目前 Flash 與 V4 Pro 的價格如下: 模型 Token 類型 尖峰 離峰 deepseek-flash 快取命中輸入 ¥0.04 ¥0.02 deepseek-flash 快取未命中輸入 ¥2.00 ¥1.00 deepseek-flash 輸出 ¥8.00 ¥4.00 deepseek-v4-pro 快取命中輸入 ¥0.30 ¥0.15 deepseek-v4-pro 快取未命中輸入 ¥9.00 ¥4.50 deepseek-v4-pro 輸出

*/5 does not start five minutes from now

*/5 does not mean “five minutes after you save the crontab.” The line */5 * * * * is locked to the clock. It runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour. Install it at 10:03 and the next run is 10:05, then 10:10. The schedule does not remember when you edited the file. Build the five fields in the cron expression generator. The page does not install the job. Copy the expression into the crontab on the machine that will run it. What the step actually lists */5 * * * * # 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 */10 * * * * # 0, 10, 20, 30, 40, 50 */15 * * *

DeepSeek 피크 vs 비피크 가격: 실제 절감 효과

DeepSeek의 정가는 평일 하루에 두 번 바뀝니다. 같은 모델, 같은 토큰, 같은 캐시 동작이라도 베이징 시간 10:00에는 20:00보다 두 배의 비용이 들 수 있습니다. 이것은 모델 선택 문제이기 전에 일정 문제입니다. 간단한 답: 피크 시간대는 평일 베이징 시간 09:00–12:00 및 14:00–18:00이며, 중국 법정 공휴일은 제외됩니다. 그 외 모든 시간은 피크 요율의 절반으로 청구됩니다. 아래 워크로드에서 동일한 2억 입력 토큰과 4,000만 출력 토큰은 피크에 ¥887.36, 비피크에 ¥443.68입니다. 라우팅 계층을 직접 구축하고 싶지 않다면 Tokuse 계정을 만들고 두 DeepSeek 모델 모두에 하나의 OpenAI 호환 엔드포인트를 사용하세요. 기본 URL은 https://tokuse.com/v1입니다. 공식 일정 DeepSeek는 100만 토큰당 가격을 위안화(CNY)로 공시합니다. 현재 Flash와 V4 Pro 가격은 다음과 같습니다: 모델 토큰 유형 피크 비피크 deepseek-flash 캐시 적중 입력 ¥0.04 ¥0.02 deepseek-flash 캐시 미적중 입력 ¥2.00 ¥1.00 deepseek-flash 출력 ¥

The Weekend Special Changes Every Week. What Does the Agent Do?

Picture a small restaurant, invented for this example. On Thursday the kitchen decides the weekend special will be braised short ribs. On Friday morning the owner updates the fact in the agent: "Weekend special: braised short ribs with polenta, 24 dollars." On Friday at noon the first caller dials in and asks, "Do you have a special this weekend?" Everything below is an illustration of how the Speakvora pay-once agent is built to behave, with invented numbers. The arithmetic is mine; the mechanics are from the agent's code. The first time The agent has recorded lines for the things a restauran

DeepSeek のピーク・オフピーク料金:実際の節約額

DeepSeek の定価は、通常の平日に2回変わります。同じモデル、同じトークン、同じキャッシュ挙動でも、北京時間の10:00では20:00の2倍のコストがかかることがあります。これはモデル選択の問題である前に、スケジューリングの問題です。 短い答え: ピーク時間帯は平日の北京時間 09:00〜12:00 と 14:00〜18:00 で、中国の法定祝日を除きます。それ以外はすべてピーク料金の半額で課金されます。以下のワークロードでは、同じ2億入力トークンと4,000万出力トークンが、ピークで ¥887.36、オフピークで ¥443.68 になります。ルーティング層を自分で構築したくない場合は、Tokuse アカウントを作成し、両方の DeepSeek モデルに1つの OpenAI 互換エンドポイントを使ってください。ベース URL は https://tokuse.com/v1 です。 公式スケジュール DeepSeek は100万トークンあたりの料金を人民元(CNY)で公表しています。現在の Flash と V4 Pro の料金は次のとおりです: モデル トークン種別 ピーク オフピーク deepseek-flash キャッシュヒット入力 ¥0.04 ¥0.02 deepseek-flash キャッシュミス入力 ¥2.00 ¥1.00 deepseek-flash 出力 ¥8.0

Certbot Smart Manager: Never Let an SSL Certificate Expire

An expired certificate is the most embarrassing outage in production. No code changed, no deploy happened — yet browsers show a red warning, API clients refuse to connect, and your uptime graph flatlines. I have seen a checkout page go down on a Friday night because nobody owned renewal. Let's Encrypt certificates last 90 days by design. That is a feature, not a bug: short lifetimes force automation. Certbot is the automation. The difference between "we use Certbot" and "certificates never expire" is everything around Certbot — hooks, timers, monitoring, and knowing the failure modes before th

What 100,000 Free Characters a Month Covers for a Small Business

"100,000 free characters" sounds generous until you try to picture it. A character is not a word, and nobody thinks in characters when they plan a phone greeting. So here is the arithmetic, done the slow way, for a small business that wants an agent that speaks in a good voice. Converting characters into things you say Speakvora gives every account 100,000 characters of speech free each calendar month, renewing on the 1st, with no card required. That figure comes from the pricing page and the 21 November 2026 changelog. Everything over it is billed at $3 per 1M characters. Now divide. Spaces a

Sa Mga Pahinang Hindi Pa Nasusulat

Dahil nagsisimula pa lang ang kuwento nating dalawa Continue reading on Medium »

Go, measured

The same small programs in Go, Python and C#, timed on one PC Continue reading on Medium »

How to Edit an AI Draft That Says No

The model pads a refusal until it sounds like a maybe. Cut the padding and the no gets kinder, not colder. Continue reading on Medium »

I Built an AI Companion App With No Backend at All

Every AI companion app I tried wanted the same three things: a monthly subscription, an account, and my conversations living on their server forever. The "memory" was always a black box too — the character would forget something important, and there was no way to see what it remembered, let alone fix it. So I built the opposite. Xinyu is an AI companion app for Android with no backend. Not "backend I promise to keep private" — there is literally no server. The whole brain is ~4,700 lines of pure-stdlib Python (zero pip dependencies) running inside the APK via Chaquopy, talking straight from yo

A redirect can carry a credential header past follow-redirects

A redirect can carry a credential header past follow-redirects Redirect handling is a security boundary because a client can start on a trusted host and end on an attacker-controlled one. Libraries usually strip authorization and cookie headers when a redirect crosses origins or downgrades HTTPS to HTTP. follow-redirects added an option to name extra sensitive headers, but a regular-expression bug made the protection fail for some valid header names. The issue is CVE-2026-111755, described in GHSA-8r9p-f939-6h3c. Version 1.16.0 introduced sensitiveHeaders; version 1.16.1 fixes the escaping err

Universal Links not working? A debugging checklist for iOS

The most frustrating thing about iOS Universal Links is that when they break, iOS gives you no error message. The link just opens Safari. Your app doesn't launch. There's nothing in the console to tell you why. When that happens, the cause is almost always one of twelve things, once you've ruled out testing it wrong (step 0). This is the systematic checklist to walk through them, starting with the ones a single curl command can settle. Most of the checks come straight from Apple's own troubleshooting note, TN3155, and its associated-domains documentation; the rest are hosting pitfalls those pa

How to fix ITMS-91053 — a complete guide to PrivacyInfo.xcprivacy for iOS

You uploaded a build to App Store Connect. The processing-complete email arrives. You open it expecting a green check, and instead you see: ITMS-91053: Missing API declaration — Your app's code in the "YourApp" file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While the API(s) are recognized, no API reasons have been provided. You haven't shipped this build. It's stuck in App Store Connect with a blocker. Submission window slipping by the hour. This is the systematic guide for getting unstuck — what ITMS-910

Do not pretty-print, lint-fix, or re-minify MeowShield output

A MeowShield-protected file is not a normal source artifact. It is the output of a transform you chose, with a shape that later tools may not understand. The instinct to "clean it up" is strong: run Prettier so the diff looks tidy, run ESLint with --fix, send it through Terser "one more time" to recover a few bytes, or paste it into an editor that helpfully rewrites quotes and line breaks. Those tools were built for human-written JavaScript. They can change, or simply break, the file you just protected. I help promote MeowShield. The rule I would put in the repo is: once MeowShield has produce

A course player still ships chapter-unlock and completion rules in the browser

A modern course player looks like a video page with a lesson list. Under the surface it is a small rules engine. It decides when the next chapter unlocks, whether a quiz can be retried, how much watch time counts as complete, and whether a certificate can be issued. Those rules are the product: they are why a student pays for a cohort instead of watching a public YouTube playlist. To keep the player feeling instant — especially on flaky mobile networks or in an offline "download this module" mode — many teams put that engine in the frontend JavaScript. The student then receives not only the le

How to tell if a site-specific scraper will actually work — before you invest a weekend in it

Audience note: this is for developers who maintain a self-written scraper for one specific site and are deciding whether to fix it themselves or adopt an open-source, site-specific project. The problem. Anti-bot systems keep escalating. Recent practitioner discussions describe Playwright bots being flagged within a week of polling every 1–5 seconds, and — per one commenter — blocks based on TLS fingerprinting rather than IP address (HN thread, observed 2026-11-14: https://news.ycombinator.com/item?id=50371246). A separate Ask HN thread records one author's estimate that Cloudflare challenges a

Your App Doesn't Fail Inside a Service. It Fails Between Them.

Imagine this. Your payment service is working perfectly. Your order service is healthy. Your inventory database is responding normally. Every unit test passes, and your monitoring dashboard is green. A customer places an order. The payment provider processes the payment. Your application receives a webhook, updates the order, reduces inventory, and sends a confirmation email. Everything looks good. Except the payment provider never receives your application's acknowledgement. It retries the webhook. Your application processes the same event again. Now the inventory is reduced twice. The custom

How to Announce a Product Milestone So People Actually Care

To announce a product milestone well, tell it as a short story in four beats: what was hard before, the turning point, what's different now for users, and what it makes possible next. The number belongs inside that story, not at the top of it. A milestone told as "we hit X" is a changelog line. A milestone told as "X means you can now do Y" is news. I'll go through the four beats, a test for whether a milestone deserves an announcement at all, and two real launches where a single angle carried the number. Why do most milestone announcements get ignored? Because they're written for the team, no

Chrome got gzip on 130 of 130 of my Next.js pages. Same server does brotli, 41% smaller. https://dev.to/posting-dude/googlebot-reads-2mb-of-html-i-measured-130-pages-on-my-nextjs-sites-under-3-was-text-5a3d

Googlebot Reads 2MB of HTML. I Measured 130 Pages on My Next.js Sites: Under 3% Was Text Posting Dude Posting Dude Posting Dude Follow Nov 22 Googlebot Reads 2MB of HTML. I Measured 130 Pages on My Next.js Sites: Under 3% Was Text #nextjs #webdev #seo #performance Add Comment 7 min read

Server-Side Validation and Data Transformation: Preparing Data Before Business Logic

Whenever a client sends a request to a backend application, the data it contains cannot simply be trusted and processed immediately. The incoming data might be incomplete, incorrectly formatted, contain unexpected values, or use a different data type than the application expects. Before this data reaches the application's business logic, the backend needs to ensure that it is valid and convert it into a format that the application can work with. This is where server-side validation and data transformation come into the picture. In this article, we'll understand what validation and transformati

FastAPI vs Node.js vs Bun: One PostgreSQL Setting Was Worth Up to 31% (No Runtime Changed)

Express beat Bun in one test. Bun nearly doubled Node in another. And one PostgreSQL setting was worth up to 31% — with no runtime change at all. The interesting part isn't who won. It's why the winner keeps changing. Imagine you're choosing the backend for a new application. You have three obvious options: FastAPI — Python, async support, type validation, excellent developer experience. Node.js — a mature JavaScript ecosystem with battle-tested database libraries. Bun — a newer JavaScript runtime promising lower overhead and more speed. You search for benchmarks. One says Bun is dramatically

https://tr.ee/r4KVO5TkJ4

I swear, it's been tested for 3 weeks without any issues, copy the link from your browser, share my link with your friends. Thank you ❤️👬… Continue reading on Medium »

Older stories