This week's tooling news splits neatly into two themes: pricing traps disguised as savings, and a quiet consolidation of agentic infrastructure under Vercel's AI Gateway umbrella. Both deserve more scrutiny than the headlines suggest. Claude Haiku 5.5 drops per-token pricing by 90% for requests under 100k tokens. That number will pull people into a migration without reading the footnotes—and the footnotes matter. The new tokenizer inflates token counts roughly 30% per request, and the effort dial (think: compute intensity per task) can swing your actual bill in either direction. List price is a floor, not a ceiling. Why it matters now: If you're running Haiku 4.5 workloads in production, you're probably doing rough napkin math on whether to migrate. That math is wrong until you recount tokens against Haiku 5.5's tokenizer and stress-test the effort dial against your actual task distribution. Cost modeling on the old tokenizer will underestimate spend. Verdict: Ship—but gate it first. The included TypeScript utility validates jobs against Haiku 5.5's pricing tiers before the API call hits. It forces you to declare task type, effort level, and token count upfront, replacing ad hoc mental math. Requires Node 22+, zero dependencies. Run it against your existing Haiku 4.5 workloads before touching production config. StepFun's Step 5 Preview is now routable through Vercel's AI Gateway, bringing a 1M-token context window into the same unified API layer as Claude Code and standard chat completions. The integration follows the standard gateway pattern: swap model names, keep your client code. Why it matters now: A 1M-token context window is a qualitatively different tool than a 200k window. Entire codebases, full document stacks, long conversation histories—these fit in a single request, which eliminates a class of context-chunking logic that's currently living in your application layer. If you're writing retrieval or chunking code to work around context limits, this is wort
A lot of solo developers find out about the privacy policy requirement at the worst moment: the app is built, the closed test is about to start, and Play Console shows a red mark next to App content. "My app doesn't collect anything" feels like a good reason to skip it. It usually isn't. Here's what Google Play asks for, what a small app's policy actually needs to say, and the hosting mistakes that cause trouble in review. This isn't legal advice, and Google's policy pages change, so check the current Play Console Help article before you publish. Does a small app really need one? Also, your app probably collects more than you think. If you use Firebase Analytics, Crashlytics, AdMob or almost any ad or analytics SDK, data such as device identifiers, crash logs and usage events leaves the phone. That counts, even if you never see it yourself. PeerPlay is a Flutter and Firebase app, and the analytics data Firebase collects was detailed enough that a Firebase analytics export is how I tracked down a real bug, which is a good reminder of how much these SDKs record. What the policy should cover Who you are and how to contact you: your name or business name and an email address that works. What data the app collects, both what the user types in and what is collected automatically, including by third-party SDKs. Why you collect it, for example to run the app, fix crashes or show ads. Who it's shared with: name the services involved, such as Firebase or your ad network, and link to their privacy policies. How long you keep data and how users can ask for it to be deleted. How you protect it, in general terms. And a date, so readers know which version they're looking at. If your app truly collects nothing and uses no SDKs that do, say exactly that. A clear "this app does not collect or share personal data" is better than a generic template full of things you don't do. Where to host it Avoid links that change or break: a shared Google Doc can be edited and can lose its sharing
A year into a project, one agent's memory holds three instructions that should no longer win. It says to install packages with npm, and since June it also says to use pnpm; both are still there, and either can come back first. It holds a workaround for a library bug that was fixed in the spring, and nothing has needed it for months. It says to retry a failing integration test until it passes, and the last time the agent did that, the retries hid a real regression. Each one matches the question it answers exactly as well as on the day it was written. The short answer: forgetting stale or incorrect instructions takes three operations, and decay is only one of them. Close an instruction when a newer one replaces it: keep it, mark the date it stopped applying and what replaced it, and make reads prefer open instructions. Decay the ones that go unused and unconfirmed for a long time, lowering their ranking with time so they stop competing at full strength. Push down an instruction that misled when the agent acted on it, with an explicit negative mark. None of the three deletes anything. Deletion stays for secrets, personal data on request, and noise nothing ever depended on. A vector store ranks by closeness in embedding space, and age, deprecation and replacement are not dimensions of that space. Similarity has no age and no status: last year's convention matches today's query exactly as well as it ever did, and nothing in cosine distance says deprecated. The store is not broken. It answers "what is most similar?", while the agent needs "what is currently true?". Diligence makes this worse: the more carefully agents write memory, the more retired instructions the store holds, and the higher the odds that a recall surfaces one. Context decay lowers an entry's recall priority as time passes without it being used or confirmed, so it drifts down the ranking instead of competing at full strength. It changes ranking, not storage. Each of the three operations answers a differe
Notifio is a £20 one-time purchase. Not £20 in the UK and something else elsewhere: every Checkout Session is created in GBP pence, the webhook records GBP, the licence is GBP. There is exactly one currency in this business. There are twenty-four currencies on the website, though, because a visitor in Berlin reading "£20" has to do a conversion in their head before they can decide whether that is cheap, and they have to do it at the precise moment they are deciding whether to buy. So prices are displayed in an approximate local figure. That introduces a number that is not true, which needs a rule, and the rule is the only interesting thing in the module: The number we display is never lower than the amount the customer will be asked for. Everything below is in service of that one sentence. Mid-market times amount is the obvious implementation and it under-quotes every single time. Whoever actually performs the conversion takes a cut: Stripe, if Adaptive Pricing quotes a local figure at checkout, or the customer's own card issuer if it does not. That is 2 to 4 percent, and it lands after our number is on screen. Under-quoting is the exact failure we are trying to fix. A visitor who reads €23.39 and gets charged €24.10 has had the same surprise as the one who had to convert in their head, just smaller and later, which is worse because now it looks like a trick. /** * Multiplier covering the 2-4% card/Adaptive-Pricing conversion fee plus a * little headroom for rate drift. Set at the top of that band so the displayed * price stays an upper bound rather than a best case. */ const CONVERSION_FEE_BUFFER = 1.04; Top of the band, not the middle. The whole point is that the error has a sign. This is the bug I would have shipped. Converting pence to minor units and assuming two decimal places is wrong for three currencies already in the table: /** * How many decimal places this currency is written with, according to Intl. * * Read from Intl rather than assumed to be 2, becaus
Most hotels treat pricing as a math problem. Load last year's data, run a model, push a number live. Done. Occupancy looks fine. Profit quietly bleeds. Pricing isn't one number. It's four conversations happening at the same time. With time. Last year happened — same property, same week, twelve months ago. If you were 92% last Labor Day weekend, you already know what this Labor Day is going to do. Holiday demand is inelastic. Don't test discount. Most days rhyme with last year. Price off the rhyme. With competitors. You're pricing against 10 to 15 hotels watching the same signals. Watch them — but don't copy them. Watch the comp set as a band, not a single dot. The leader drops 30% on a soft Tuesday? Let them bleed. You don't need to bleed with them. With your own inventory. At 7 days out, less than 30% sold? Hold. The market hasn't decided. At 3 days out, still under 30%? Drop meaningfully, or accept you'll undersell. Half-measures don't move a Tuesday in February. And 7 days out, only 20% left? Opposite — scarcity. Don't drop. Raise. You were already selling too cheap. Hotels panic too early. They drop at day 14, demand doesn't come, and they're still discounting through arrival. By the time check-in hits, you've trained the customer to wait. With the channels. Same room, different buyers, different doors. Some price-sensitive and comparison-driven. Some business-intent, loyalty-driven. Some impulse, 90-second decisions. They behave nothing like each other. Flash promotions without a hard use-by node just generate bookings that never show up. Your direct channel needs a reason, not a matching number. Treat each channel as a different conversation, and pricing stops being a single number and starts being a portfolio. And then there's the floor. When a guest sees your hotel at ¥299 on a Saturday, that number gets locked into their head. Three months later you push to ¥899 and they think: wait, I just stayed there for ¥299. They book somewhere else for ¥799 instead. Y
Introduction: The Critical Imperative of AI Agent Security in Production Systems As AI agents increasingly integrate with production systems, the security of their access has become a paramount concern. The central issue lies in default permission inheritance, where AI agents automatically acquire full user permissions. This mechanism creates a systemic vulnerability: AI agents, lacking human-like contextual judgment, may execute unintended or unauthorized actions with the same authority as human users. The risk materializes through the combination of over-permissioned access and absence of real-time oversight, culminating in a critical failure pathway that can lead to catastrophic outcomes. Consider the analogy of an industrial robot programmed to tighten bolts but granted access to all tools in a factory. While the robot may mistakenly use a hammer instead of a wrench, the immediate consequences are subtle—a deformed bolt head. However, repeated misuse propagates systemic failures downstream. Similarly, AI agents with unrestricted permissions may execute actions that appear benign in isolation but accumulate latent risk. For instance, an agent deleting temporary files—perceived as unnecessary—may inadvertently disrupt a critical backup process, resulting in system failure during recovery and irreversible data loss. Teams face a critical decision when managing unexpected AI actions: immediate blocking or flagging for review. Blocking prevents immediate harm but risks disrupting legitimate operations, akin to a circuit breaker halting a system during a minor anomaly. In contrast, flagging introduces latency, during which the action may propagate through the system, causing irreversible damage. For example, an agent initiating an erroneous database migration increases data corruption risk with each passing second. The causal sequence is unambiguous: unreviewed action → system processes the action → data integrity compromised. Edge cases highlight the limitations of c
Compare CDC pricing models from Estuary, Airbyte, Datastream, AWS DMS, Hevo, Fivetran, Confluent, and Debezium, and learn how to forecast CDC costs at scale.
The "end of apps" argument is everywhere this month: AI agents will eat the interface, software will dissolve into tasks, and the stack you pay for every month will shrink to almost nothing. It makes great conference material. If you run a small business, you don't need a thesis about the future of software — you have renewals sitting on your desk this quarter. But one piece of that argument genuinely changes your renewal math, and it's the only piece worth acting on: the switching cost is moving from the tool to the trained agent. Software held businesses the same way for two decades. Your data lived inside the tool. Your workflows were configured in its settings screens. Your team learned its menus. Switching meant exporting what you could, rebuilding what you couldn't, and retraining everyone — so you renewed, and the friction, not the feature list, was the real product. Agents dissolve that friction from the outside. A capable agent learns a new tool roughly the way a sharp new hire does, and your process no longer has to live inside any one app's settings. It can live in instructions you carry anywhere: a one-page writeup of how you quote jobs, how you follow up, which leads go where. When the workflow lives in the agent's context instead of the app's configuration, the app underneath starts looking like a commodity. That's the inversion: the hard-to-replace asset is no longer the subscription. It's the agent trained on your business. A subscription cancels in an afternoon. An agent that knows your clients, your pricing logic, your exceptions, and your tone is months of accumulated context — and replacing that is the expensive thing now. This is not "cancel everything." Most of your stack keeps earning its price — but for a new reason: agents need systems of record to work through. Run one pass over the stack and ask three questions per app. Does other work depend on the data living there — accounting, CRM, job management, scheduling? Then it earns its seat by
TL;DR A personal agent is a software assistant that runs continuously for one user, executes tasks through tools and files, and needs its own machine; AMD is the chip company whose EPYC processors are among the CPUs that host those machines. AMD closed at $649.42 on 6 October 2026 after a move of almost 3%, carrying the company past a trillion dollars in market value on demand for general-purpose server processors. Both flagship personal agents publish the hardware they run on. Meta's Muse reports an AMD-powered computer; OpenAI's Dots reports a virtual computer powered by AMD's EPYC-branded CPU. The measured shape of an agent machine is small: two cores for a Muse sandbox, nine cores for a Dots virtual machine, against AMD EPYC parts that carry up to 192 cores. The division of labour is the mechanism. GPUs run the model that decides the next step, and CPUs execute the workflow that follows: tools, files, browser sessions, credentials. Futurum estimates $118 billion of CPU sales in 2027, close to double its own May forecast, and AMD forecasts a $220 billion CPU market by 2030. For a team running agents internally, the planning question is how many concurrent user machines a cluster holds and how much of the day each of them sits idle. Both vendors describe their CPU suppliers as replaceable: Meta says it is largely CPU-agnostic by design and OpenAI uses multiple CPU providers, which keeps the agent layer written against a portable target. CNBC reported on 6 October 2026 that AMD jumped almost 3% to a fresh high of $649.42, enough to put the company into the trillion-dollar market capitalisation club. The run is not a single day: over the past month, AMD gained 32% and Intel 21%, ahead of every megacap technology peer. Revenue from AMD's data centre business more than doubled to $6.7 billion in the quarter ended in June, accounting for almost 60% of total sales. Netics editorial diagram built from the source reporting: an agent deployment is one long-running machine
This week my colleague Antonio Regalado had an interesting update on GLP-1 weight-loss drugs. According to research presented at an aging meeting in Boston, these drugs seem to affect at least some measures of biological age. Overweight and diabetic people who take GLP-1s have a biological age around two to three years younger than similar…
The moment Trevor Wischnewsky heard that drones were delivering pizza and sushi around his Texas neighborhood, his mind was made up. “It was super fascinating,” he says. “I just immediately wanted to be a part of it.” Wischnewsky is now an RPIC, or “remote pilot in command,” at a company called FlyTrex. An RPIC is…
Ever since people first seriously contemplated giving machines an intelligence modeled on our own, there has never been any question that they would, like us, be able to say no. The sci-fi canon is full of stories of robotic disobedience. Most of these capers are, of course, cautionary. But recently, the idea that AI shouldn’t…
লিখেছে: Rakib Ahasan প্রজেক্ট শুরু করলে ফাইল থাকে হাতে গোনা ৫-৬টা। দুই মাস পর সেটা হয়ে যায় ২০০টা। তখন হঠাৎ payment-এ একটা bug ধরতে হবে, আর তুমি বুঝতেই পারছ না কোন ফোল্ডারে ঢুকবে। অনেকেই এই জায়গায় ১০ মিনিট শুধু ফাইল খুঁজে সময় নষ্ট করে। টিমে নতুন কেউ এলে তো তার অবস্থা আরও খারাপ। তাই আমি folder structure-কে বলি প্রজেক্টের map। map ঠিক থাকলে যেকোনো জায়গায় ২ সেকেন্ডে পৌঁছে যাওয়া যায়। Clean Architecture-এ ৪টা layer থাকে। পেঁয়াজের খোসার মতো ভাবো, একটার ভেতরে আরেকটা। ┌─────────────────────────────────┐ │ Presentation (API) │ │ ┌───────────────────────────┐ │ │ │ Infrastructure │ │ │ │ ┌─────────────────────┐ │ │ │ │ │ Application │ │ │ │ │ │ ┌───────────────┐ │ │ │ │ │ │ │ Domain │ │ │ │ │ │ │ └───────────────┘ │ │ │ │ │ └─────────────────────┘ │ │ │ └───────────────────────────┘ │ └─────────────────────────────────┘ মূল নিয়ম: বাইরের layer ভেতরের layer-কে চেনে। ভেতরের layer বাইরের কাউকে চেনে না। মানে Domain জানেই না SQL Server কী জিনিস। Application জানে না Controller কী। কিন্তু API সবাইকে চেনে। এভাবে করার কারণ সোজা। Database বদলাবে, UI বদলাবে, কিন্তু business logic মোটামুটি একই থাকবে। তাই সেটাকে আলাদা করে সুরক্ষিত রাখি। প্রজেক্টের কেন্দ্র। Business-এর আসল ধারণাগুলো এখানে থাকে। থাকে: Entities: যেমন Student, Course, Enrollment। দেখতে table-এর মতো, কিন্তু business rule সহ Value Objects: যেগুলোর আলাদা id লাগে না, যেমন Money, Address Enums: EnrollmentStatus.Active, PaymentStatus.Paid Domain Events: StudentEnrolled, PaymentCompleted থাকে না: database, API, DbContext, HttpContext, আর প্রায় কোনো NuGet package-ই না। এখানে ঠিক হয় কী হবে আর কীভাবে হবে। থাকে: Services: EnrollmentService, PaymentService Interfaces: IEnrollmentRepository, IEmailSender DTOs: EnrollmentRequestDto, PaymentResponseDto Validators (FluentValidation) আর Mappings (AutoMapper) থাকে না: database connection, HTTP call, কোনো concrete implementation। একটা প্রশ্ন সবাই করে: IEnrollmentRepository এখানে, তাহলে implementation কোথায়? উত্তর, Infrastructure-এ। এটাই Dependency Inversion। বাইরের জগতের সাথে সব যোগ
What I Built Trailside is a bird call identifier built to get you outside — and keep you outside. Open the PWA, tap record, stand still for 5–20 seconds, and it tells you what you heard out loud: the species, the confidence, and a short spoken field note. No account, no app-store install, no staring at a screen mid-trudge. name without stopping to fiddle with a phone. Try it live: https://trailside-0hlr.onrender.com Verified end-to-end from the deploy: a 34-second American Robin recording returned American Robin @ 90% (plus Song Sparrow and House Finch hints) with an ElevenLabs-narrated field note in ~15 seconds. Open source: https://github.com/madhavgupta07/trailside Python/FastAPI backend, plain-JS dependency-free PWA frontend (no build step) onnxruntime CPU inference — no TensorFlow, no GPU needed Async job flow so a 30-second clip never trips a slow gateway timeout 10 unit/integration tests, including a real-audio classification test (american_robin.mp3 → American Robin @ 90.1% locally) The whole experience is built around open-weight AI — the species engine is the core, and the narrator is a second open-weight model on top: Piece Role License BirdNET v3.0 (Cornell / TU Chemnitz, via tphakala/BirdNET-v3.0-Models) 11,560-species bioacoustics classifier; I use the 800-class north-america-east regional ONNX slice (~150 MB) CC BY-SA 4.0 Gemma 4 (Google) writes the 2–3 sentence spoken field note; served via an OpenAI-compatible endpoint (OpenRouter, free google/gemma-4-26b-a4b-it:free by default) Gemma Terms (open weights) ElevenLabs narrates the note back so the result is heard, not read — Render Blueprint (render.yaml) deploys FastAPI; startCommand downloads and checksum-verifies the model at boot — Pipeline: mic → browser WAV encode (16-bit PCM) → FastAPI → BirdNET (32 kHz, 5 s windows, running max-aggregate) → top-5 species → Gemma field note → ElevenLabs MP3, played back in the page. Resilience was a real constraint, not a checkbox: the free Gemma endpoint rate-
The System One Mosaic Benchmark (S1MB, by hotchpotch) compares 102 models across 137 specialized benchmarks in three task families: Noul (assess a condition), Choice (select an option), and Score (rate on a scale). This is a measurement note on how it scores and why its top position is informative. S1MB ranks by a Borda score. Instead of averaging raw task numbers, which lets one easy benchmark dominate the mean, Borda converts each of the 137 benchmarks into a rank and sums rank-based points. That rewards broad, consistent strength over a spike on a few favorable tasks. It is a deliberately conservative aggregation, and it makes a top position harder to manufacture: you cannot buy first place by overfitting a handful of suites. Darwin-27B-ZTC-v2 leads with Borda 89.58, ahead of OpenJev-27B (87.50) and AutoJev-27B (87.07). The margin is widest on the Score family (60.21 vs 54.83), which is the ordinal-judgment task where most judges weaken. Leading where the task is hardest, rather than on an easy split, is the signal worth reading. A zero-token judge emits a probability distribution in a single forward pass. No sampling means no output variance, so the reported numbers are exact values rather than sample estimates. There is no standard-deviation term to carry and no decoding hyperparameters (temperature, top-p, length) to confound cross-model comparison. The same input reproduces the same score. On a related board, typed-decisions, the same approach is also #1 at accuracy 0.743 (zero-shot), with calibration KL 0.204 and Brier 0.097. Brier is a strictly proper scoring rule, so confidence cannot be gamed by inflating or deflating it. Leaderboard: https://huggingface.co/spaces/hotchpotch/S1MB-leaderboard Model: https://huggingface.co/FINAL-Bench/Darwin-27B-ZTC-v2 Disclosure: Darwin-27B-ZTC is built by VIDRAFT, a technology partner of QuantID. Public leaderboard standings move as new models are added; numbers reflect the board at the time of writing.
I used to think that checking whether a website worked was fairly straightforward: send a request, get a successful response, and move on. The more I work on web tooling, the less useful that definition feels. An HTTP 200 OK response answers one narrow question: did the server successfully handle this particular HTTP request? It does not tell you whether the website is secure, accessible, fast, searchable, or even useful to a visitor. That distinction is part of what interests me about building Zenith, a project focused on monitoring and improving websites. A meaningful website check needs to look beyond a green status indicator. Here are five layers I would examine, and how I'd begin testing them. Try: curl -I https://example.com The response can tell you about status codes and headers. It cannot tell you whether a sign-in button works, whether a critical API fails after the page loads, or whether a JavaScript error prevents users from completing an action. In fact, curl -I makes a HEAD request. Some servers handle HEAD differently from GET, so it's useful as a quick inspection tool, not as complete proof of normal page behaviour. For a more realistic picture, check more than one endpoint and include an actual browser journey. For example: Can the homepage load? Can a visitor navigate to an important page? Can a non-destructive form validation flow complete? Does the browser report failed requests or JavaScript errors? An uptime check is a starting point, not a quality score. A padlock indicates that a connection is protected by TLS under the browser's trust rules. That's important. It isn't a certificate of application security. Look at response headers: curl -sSI https://example.com Things worth reviewing include: Strict-Transport-Security: helps instruct browsers to use HTTPS for future connections. Content-Security-Policy: can reduce the impact of certain injection attacks when configured carefully. X-Content-Type-Options: with nosniff, can prevent some MIME-ty
The public leaderboard says Model X is #1. Your production traffic disagrees. Here’s how to build the benchmark that actually predicts which model works for you. Here’s a pattern we see constantly. A team needs to pick an LLM for a real product. They open a public leaderboard, see a model sitting proudly at the top, and reason, quite sensibly, “well, that’s the best one.” They wire it in. And then in production it’s mediocre at the one thing they actually needed it to do, while a model ranked eighth quietly would have crushed it. The leaderboard wasn’t lying. It just wasn’t measuring your problem. This isn’t a knock on public benchmarks. They’re genuinely useful for what they are: a broad, standardized signal about general capability. But “generally capable” and “good at extracting line items from your suppliers’ weirdly-formatted invoices” are different questions, and only one of them pays your bills. If you’re selecting a model for an enterprise workload, the benchmark that matters is the one you build yourself. Let me walk through how to actually do that, what to measure, how to build the harness, and the traps that quietly ruin the result. Why the Public Leaderboard Can’t Answer Your Question Start with the uncomfortable truth about why a general LLM benchmark leaderboard can’t make your decision for you. It measures the average task, not your task. A leaderboard score is an aggregate across a broad set of general challenges, reasoning, coding, trivia, writing. Your actual workload is narrow and specific: classify support tickets, draft compliance summaries, pull structured data from PDFs. A model can be excellent on average and weak on your narrow slice, and the aggregate score will never tell you which. Your data isn’t in the test set, and might be the opposite of it. Public benchmarks run on public data, clean, well-formed, English-heavy, general-domain. If your inputs are messy internal documents, domain jargon, mixed languages, or formats no benchmark ever
🌱 Green AI: Turning Screen Time into Real-World Adventures My submission for the Hacktoberfest Open-Source AI Challenge — Week 1: Touch Grass. 🌿 What I Built I built Green AI, an application designed to encourage people to spend less time staring at screens and more time experiencing the real world. The idea is simple: instead of spending free time endlessly scrolling, users can generate quests that encourage them to step outside, explore their surroundings, and complete real-world activities. Green AI makes offline activities feel more engaging by turning them into small adventures. My goal is to explore how AI can be used not just to help people do things online, but also to encourage them to disconnect and participate in the world around them. 🎬 Demo I've included a video demonstration of Green AI above. The demo shows the application and its quest experience. 💻 Code The project is an opportunity for me to learn about application development, AI integration, debugging, and building practical tools with AI-assisted coding. 🛠️ How I Built It I developed Green AI with the help of AI-assisted coding and prompts. During development, I worked on the application structure, frontend-backend integration, and testing. I also explored the challenges involved in connecting an application to an AI system and verifying that its functionality works as expected. Building this project helped me understand that developing an application involves more than generating code. It also requires testing, debugging, and verifying that the complete application works. 🌍 Why Does Open Innovation Matter? Open innovation gives developers opportunities to experiment, learn, collaborate, and build technology that addresses real-world problems. For Green AI, the broader idea is to explore how AI can encourage healthier digital habits rather than simply keeping people engaged with their screens. Open-source tools can also help developers understand how software works, adapt it to their needs
The home screen of XNeuronal, an Android memory assistant, is a brain. Every note, reminder or contact you dictate becomes a neuron placed inside it, linked to the others by thin curved fibres, drawn with React Native Skia and animated by Reanimated worklets. This week I needed that brain as a vertical video: empty at first, then filling up neuron by neuron, the way graph timelapses of note-taking apps grow, and full exactly on the drop of the music. Three obvious routes, all wrong. A screen recording shows a real person's memory (out of the question), drops frames, and cannot time 320 births to a beat. A motion design tool means drawing a second brain by hand, which drifts from the app the first time someone moves a lobe. Porting the drawing code to a video library means two copies of the geometry to keep in sync forever. What shipped is a Node script that imports the app's own geometry, redraws it on a canvas and streams frames to ffmpeg. A 21 second video (630 frames at 1080x1920) renders in about 45 seconds on a laptop. Here is how it is wired, and the details that took the most thought. Every excerpt is copied from the repository and lightly trimmed. The brain on the phone lives in two kinds of files. brainModel.ts knows where things are: the shape of the brain as a dozen ellipsoids, where each neuron sits, the camera, the projection. brainDraw.ts knows how to paint: Skia paths, drawAtlas stamps, paints, blend modes. Only the second one imports @shopify/react-native-skia. That split was made a week earlier for a different reason: tests. The model's header says it is "pure and free of Skia, so jest pins the geometry", and the specs do exactly that ("is stable: the same neuron always lands on the same spot", "keeps the whole brain inside the square", "gives a depth between 0 (far) and 1 (near)"). A neuron's spot comes from a hash of its id, so nothing is simulated and nothing moves between two openings of the app. The projection is typical of what lives on the pu
A user types «احمد» (Ahmad) into your search box and gets nothing, even though the page says «أحمد». Or they search for «مدرسه» (school) and the text has «مدرسة». Or they search «محمد» and the text is vowelled, «مُحَمَّد», or stretched with tatweel, «مـحـمـد». To the user it's the same word every time. JavaScript's string matching doesn't treat these spellings as equivalent. This post covers four traps when searching Arabic text in JavaScript, then builds a search-normalization function, a function that finds match positions so you can highlight them, and finally when you should not normalize. Disclosure: I work on an open-source Arabic text library that has normalization functions; I mention it briefly at the end. Everything before that is plain JavaScript, no libraries. 'محمد أحمد'.includes('احمد'); // false 'مُحَمَّد'.includes('محمد'); // false 'مـحـمـد'.includes('محمد'); // false includes, indexOf and regular expressions do exact matching, with no Arabic-specific normalization. «أ» (alef with hamza, U+0623) is not «ا» (bare alef, U+0627); the vowel marks (harakat) are separate characters between the letters, and so is the tatweel «ـ» (U+0640). People also spell hamza forms, teh marbuta «ة» and alef maksura «ى» inconsistently, so literal search fails a lot. const a = 'أحمد'; const b = 'ا\u0654حمد'; // alef + separate hamza above (U+0654) a === b; // false a === b.normalize('NFC'); // true «أ» can arrive as one code point, or as two: a bare alef followed by a combining hamza. They render the same, but they don't compare equal. This shows up in text copied from some programs and in file names from some systems; normalize('NFC') unifies these canonically equivalent forms. There's a second case NFC doesn't cover. Text copied from some PDFs arrives in Arabic "presentation forms": dedicated code points for certain letter shapes and ligatures. const fromPdf = '\uFEE3\uFEA4\uFEE4\uFEAA'; // «محمد» in presentation forms fromPdf === 'محمد'; // false fromPdf.normalize('NFC'
Build a small, useful workflow with Claude Haiku 5.5, understand its pricing bands, and learn what to check before moving an existing integration. Claude Haiku 5.5 is Anthropic's compact model for workloads that make many requests and need responsive results. Anthropic positions it for tasks such as classification, extraction, summaries, and focused subagent work. More demanding agentic coding remains a reason to evaluate Sonnet 5.5 or Opus 5.5. [1] For a developer, the first useful question is which part of an application has a clear input and a checkable output. A support ticket classifier, a document extraction step, or a conversation summary is a sensible place to begin. This guide uses support triage as a worked example so you can test a complete task rather than send an empty greeting. Haiku 5.5 is available on SynStar AI as claude-haiku-5-5. Start with a small request, inspect the response and usage, and then decide whether the model belongs in your workflow. The official specifications help define what you can test. They do not establish the limits or optional features exposed by every gateway route. [2][3] Item Official specification Practical implication Model ID claude-haiku-5-5 Use the exact ID in your request. Input and output Text and image input; text output It can analyze visual input; it does not generate images. Context window 1M tokens Long inputs fit, but still need cost and relevance checks. Maximum standard output 128K tokens Set a budget suitable for the task, including thinking. Reasoning Adaptive thinking; medium effort by default Compare effort settings where your route supports them. The larger context window is useful when a task needs more source material. For a ticket classifier, a compact policy excerpt will usually be easier to evaluate than a full company knowledge base. Include the context needed to make the decision and test how the result changes when you add more. Give the model a ticket and a small set of allowed categories. Ask
Most developers think of a command-line interface as a simple way to run a program. You type a command, receive some output, and move on. But consider what happens when someone uses your tool inside a shell script, connects it to another program, or adds it to a CI/CD pipeline. Suddenly, your CLI is no longer just an interface for humans. It is an interface that other software depends on. That makes your CLI an API. And like any API, it needs predictable behavior, clear contracts, and thoughtful design. Consider a command that analyzes a project and returns a JSON report. A developer might run: project-analyzer --format json > report.json They expect report.json to contain valid JSON. Now imagine your application writes this to standard output: Analyzing 42 files... Found 3 warnings. {"files": 42, "warnings": 3} The human can understand the output, but a JSON parser cannot. The problem isn't the JSON. The problem is that the program mixed informational messages with machine-readable data. A better design separates the two streams: stdout: The requested result, suitable for piping or redirection. stderr: Progress indicators, warnings, diagnostics, and errors. For example, in Rust: fn main() { println!(r#"{{"files":42,"warnings":3}}"#); eprintln!("Analysis completed successfully."); } This is a simplified illustration, but it demonstrates the principle: output intended for another program should not be polluted by human-oriented messages. A useful rule is simple: Anything you expect another program to parse should have a predictable format. Suppose your tool detects a problem but still exits with status code 0. A shell script might interpret the operation as successful and continue running. That can turn a small reporting mistake into a much larger automation problem. Use exit codes intentionally: Exit code Meaning 0 The operation succeeded Nonzero The operation failed or encountered a defined problem For example, a project validator might return 0 when everything pas
Enterprise AI needs more than capable models. Legacy systems, disconnected data, security requirements, and integration challenges can stall deployment.
A WEF report proposes a larger role for philanthropy and private capital in conservation, raising questions about financial incentives and accountability.
One AI agent's hallucination can influence an entire multi-agent system. Explore semantic blast radius, error propagation, and ways to contain unreliable info.
Learn how Length Extension Attacks work by exploring MD5 internals, message padding, internal states, and how attackers can extend signed data without knowing t