From a senior to future senior Hackers

Measuring Real Cost per Agent Task on Muse Ember With a JavaScript Harness
Featured

Measuring Real Cost per Agent Task on Muse Ember With a JavaScript Harness

Build a JavaScript harness that models Muse Ember’s real cost per agent task by breaking down $0.10/M-token pricing, the 200K-context caveat, tool calls, retries, and context growth against frontier-model trade-offs.

pr0h0•
ai-agentsinference-economicsmuse-emberjavascriptllm-costs

Latest Posts

View all posts →

Latest Videos

View all videos →
Auditing Expo Exact's Runtime Boundaries on Web, macOS, iPhone, and Linux

Auditing Expo Exact's Runtime Boundaries on Web, macOS, iPhone, and Linux

A secondary report says Expo released a runtime called Exact that builds one TypeScript app for web, macOS, iPhone and Linux. That report is a headline: no SDK version, no module list, no packaging story. So this post doesn't review an architecture it can't see. What it does instead is give you an audit plan you can run against any candidate runtime: - Four boundaries worth testing separately: the render surface, the native API surface, the lifecycle and process model, and the build artifact graph. - A capability matrix with the four targets as columns and nine capability classes as rows, so disagreement between platforms shows up as a cell rather than a surprise in production. - A probe harness that records six statuses per cell, and catches the worst one: a native call that resolves to undefined and looks like a bug in your app instead of a gap in the runtime. - The cheapest signal of all, the web target. If you can select text and find it in the page, you're on the DOM and accessibility comes mostly free. If you can't, you're on canvas and you budget for remediation. Also covered: AppKit versus UIKit assumptions such as menu bars, window lifecycle, hover states and safe-area insets, plus the Linux questions about Wayland, X11 and distribution format that set your support burden. The point is not to score the release. It's to replace a platform count with a matrix you can fill in on a real build. Full write-up: https://hackyjs.com/posts/auditing-expo-exacts-runtime-boundaries-on-web-macos-iphone-and-linux

exporeact-nativetypescript
Instrumenting Agent Loops for Cost per Successful Task

Instrumenting Agent Loops for Cost per Successful Task

Cost per token is a vendor metric. Cost per request is an infrastructure metric. This walkthrough instruments an agent loop so the number on the dashboard is cost per successful task instead. What the video covers: - Why input tokens grow roughly quadratically with step count when every call re-sends the whole transcript - A hand-computed ledger at a placeholder price sheet: 3 steps at about 2.07 cents per run, 9 steps at about 9.45 cents, a 4.6x multiplier - Why failed runs belong in the numerator: at a 30% failure rate, cost per success is about $0.135 against $0.023 for the short loop - The instrumentation plan: one span per model call and one per tool call, a three-level token budget with reserve and settle semantics, a cache-key scheme, a model-routing ladder with an explicit stop condition, and an NDJSON harness that turns a synthetic workload into a cost-per-success figure with p50/p95 spread The post also separates the reported claim about token usage doubling monthly from your own measured baseline, covers the tool-output term you don't control, and includes the jq and PromQL queries that turn spans into an alert when cost per success regresses. Read it here: https://hackyjs.com/posts/instrumenting-agent-loops-for-cost-per-successful-task

agentic-aiinference-costtoken-economics
Tracing the @ethersphere/bee-js 13.3.0 Compromise Into Downstream Builds

Tracing the @ethersphere/bee-js 13.3.0 Compromise Into Downstream Builds

Step Security published a write-up titled "@ethersphere/bee-js 13.3.0 Compromised", and the feed entry carrying it is dated 9 November 2026. That is roughly the whole confirmed record: the post does not state a payload, an intrusion vector, a last known-good version, or the current registry state of 13.3.0. So this short works from npm mechanics instead of incident specifics. It separates the repository you review from the tarball your build installs, then walks the trace: enumerate the resolved tree with npm ls so a deduped copy can't hide behind a wrapper package, grep the lockfiles directly for workspaces a resolver skipped, diff a packed 13.3.0 tarball against a prior release, and read the lockfile entry as evidence — the integrity digest pins the exact bytes, resolved names the host that served them, and the install-script flag records whether the package declares install scripts. It also covers why a caret range is a standing authorisation to accept future publishes, and why the absence of a provenance attestation means a signature check had nothing to verify. Everything beyond the confirmed facts is labelled as inference in the post, and the terminal output shown is from a synthetic project, not the real package. Full write-up: https://hackyjs.com/posts/tracing-the-etherspherebee-js-1330-compromise-into-downstream-builds

npmsupply-chain-securityjavascript