More from John Wiseman
I have a collection of prompts and tools that I give to LLMs to generate daily aviation briefings. The briefings are supposed to be a summary of everything interesting that’s happened in the air in the past several hours, either globally or in a region of interest. The model should contextualize aircraft activity in terms of behavioral analysis, historical patterns, geography, and current events: The fire west of Piñon Hills stood at roughly 2,700 acres and 0% containment in the latest reports, with cooler overnight conditions helping crews strengthen lines. This morning’s air picture is recon and rotary rather than Saturday’s tanker parade: N8PQ, the Aero Commander 690A, is back overhead at 8,000 ft, K-MAX N107MW is working the fire at 4,200 ft, Bell 205 N33HX is staging at Fox Field, and Tanker 104, an Erickson Aero Tanker MD-87, sits on the ramp at San Bernardino International. Writing a worthwhile briefing is a challenging task. It’s agentic, with models using 15-20 tools including querying databases, searching the web, and writing and executing scripts to process data. It also requires judgment from a model on what to include in the briefing and how to put together separate pieces of data to tell a story without overstating a conclusion. The agents filter through a large amount of data looking for interesting items, find corroborating sources, take screenshots, and edit it all into a short (less than 6000 characters) report. I’ve tried Claude Opus 4.8, Fable 5, OpenAI GPT-5.6-Sol, and Kimi K3 on this task. The tl;dr if you’re paying retail API token prices: Opus 4.8 is cheap, fast, and its output is good. Kimi K3 costs about the same as Opus 4.8 and its output is of similar quality (it’s saved by the fact-checker) but it takes 5-6x as long as Opus 4.8. Fable 5 costs 2-5x as much as Opus 4.8 or Kimi K3. I like the feel of its output best, but it needs to be reined in by the fact-checker almost as much as Kimi K3. GPT-5.6-Sol is cheap and fast and makes few mistakes, but its briefings are too short and boring. I think GPT-5.6-Sol is the smartest model available at the moment, but for this task Fable 5 does better, and Opus 4.8 does almost as well for far cheaper. Some numbers The initial prompt for the task is about 25 K - 30 K tokens, depending on whether the briefing is for the world or just Southern California. (All token calculations are done with the OpenAI tokenizer; others may be different.) Runbook Tokens briefing-runbook-common 16,516 briefing-runbook-world 13,635 briefing-runbook-socal 8,039 The custom tools to give the models access to aircraft and geospatial data, and the guides on how to best use them consume another 50 K tokens. Custom MCP Tokens MCP Description 433 Tool Descriptions (10 tools) 3533 Resources (13 documents) 45713 I’ve done six briefings with Fable 5 and two briefings with each of the other models. The following table lists time and cost for a single briefing, for each model. Time includes the total time for research, review, corrections and posting. Costs are API-equivalent estimates based on current pricing with token caching included. Model # Briefings Median time (minutes) Median cost Opus 4.8 2 24.8 $10.06 Fable 5 6 31.5 $30.33 Kimi K3 2 132.4 $10.43 GPT-5.6-Sol 2 40.0 $15.63 After a model writes the first draft of a briefing it sends it and the supporting material to an adversarial fact-checker powered by GPT-5.6-Sol. The model then rewrites the report based on the fact-checker’s findings. For each briefing I classified the fact-checker’s findings into “major”, more substantive corrections, and “minor”, softer issues. The table below shows the median number of writer tool calls and the mean number of corrections per report for each model. Model # Tool calls Major corrections Minor corrections Opus 4.8 66 0.0 4.0 Fable 5 93.5 2.5 7.0 Kimi K3 125 2.5 7.5 GPT-5.6-Sol 116 1.0 2.0 The GPT-5.6-Sol reports used separate GPT-5.6-Sol reviewer sessions, following the same adversarial process as the other models. The review step added a median $1.95 worth of GPT-5.6-Sol tokens to the cost of a report, and review costs are already included in the costs listed above. Report quality Opus 4.8 Opus 4.8 did a good job of creating rich reports with strong themes, and it showed good editorial judgment by removing weak leads not supported by further research. As an example, it might lead with a developing emergency: N969WR … was cruising at FL450 across the Oklahoma/Texas panhandle when it squawked 7700 at ~2204Z and began a continuous descent, averaging around 2,300 ft/min. It combined that lead with a large firefighting mobilisation, an EA-37B, an E-6B, allied tanker movements and forward-looking airspace notices. This was varied and interesting without feeling like a list of unrelated aircraft. The fact-checker didn’t refute any of Opus 4.8’s conclusions, and didn’t find any unsupported claims. Corrections were mostly wording changes to avoid implying unwarranted precision. Fable 5 Fable 5 produced the most detailed and ambitious reports. It was strongest when it could connect several observations into a larger story. For example, the 15 July world report described a shared GPS spoofing pattern near Smolensk: Three airliners (Turkish, Belavia, Air Serbia) each plotted flying an impossible 1.2-nm, 55-kt circle around the same fixed point southwest of Smolensk while MLAT put the real aircraft 400 km away. The 14 July SoCal report turned an anonymous military track into a strong lead: A silent visitor working W-291 — ae685e, a US military hex with no callsign, came down from Oregon overnight at FL270 and has flown a broad 21,000-ft circuit off the San Diego/northern Baja coast for hours. Fable 5 also followed stories across several days. It tracked tanker relays, airlift movements, range activity and unusual aircraft between reports. Fable 5’s reports were detailed, visual, and interesting. They also needed significant corrections, an average of 2.5 substantive and 7 minor problems per report. Its main weakness was overprecision. Codex regularly corrected: exact start and end times track boundaries aircraft counts claims about every member of a group statements that joined events across an anchor time mission interpretations that went beyond the observed movement An example of a significant error (that GPT-5.6-Sol let pass but that I found on review) was its report on a Russian Be-200 amphibious aircraft. Its published heading said: A Russian EMERCOM Be-200ChS scooping the Donbas. The report described the aircraft as working “a 300-km chain of fire sites”, but when I saw the map that seemed implausible. I asked Fable 5 about it, and eventually it posted an update: The evidence now says ‘repeated brief landings at unmapped sites, purpose unknown’. I still don’t know what that aircraft was doing, but it’s an example of Fable 5 going significantly off course. Kimi K3 Kimi K3 is really slow, and the fact-checker had to correct it more than any other model, but the quality of its (corrected) output once it was finally done was excellent–as good as Opus 4.8. KC-135 declares an emergency over the Irish Sea, home safe at Mildenhall. Fox Field staged and scattered — seven fire aircraft on the ramp on the fire squawk all morning; the 737 Fireliner and RJ-85 launched ~10am and ferried north without a drop run. There’s just no reason to use Kimi K3 since it costs as much as Opus 4.8, is about as good, but much slower. GPT-5.6-Sol GPT-5.6-Sol shows so much restraint that its briefings are boring: dry, no flavor, and not particularly interesting. LATTE18 / N650RX, a trustee-registered Global 6500, flew roughly 4 broad clockwise circuits at FL360 from 01:28 to 02:14Z, then departed southwest. The direct ADS-B track measured about 38 by 16 nautical miles. Public aviation reporting associates this tail with SNC’s Army ATHENA-S fleet; SNC confirms its 2 ATHENA aircraft support US Army airborne ISR, but SNC does not name the tails. The same offshore block appears repeatedly in the recent archive. I generally like GPT-5.6-Sol but its briefings were just too dull.
More in technology
They talk about how wonderful the Macintosh is and what software Microsoft was making for it.
I am here to perform the forbidden comparison. Everyone says that JavaScript has nothing to do with Java, even though their names are similar: “The two languages are entirely distinct.” “Java is to JavaScript as ham is to hamster.” JavaScript’s name was “an attempt to piggyback on the popularity of Java, an entirely unrelated language.” This long-held belief is, in my opinion, inaccurate. Java and JavaScript have a lot in common. Wake up to the truth!!! They have similar syntax According to JavaScript’s creator, “the diktat from upper engineering management was that the language must ’look like Java’.” This happened! JavaScript looks like Java! A lot of code works identically in the two languages. Comments are identical: // Single-line comments are the same. /** Block comments are also the same. */ Many expressions work the exact same way: "Hello world" 12 + 34 true && false myObject.myMethod(1, 2, 3); Conditionals are also identical: if (coinflip()) { return "heads"; } else { return "tails"; } Variable declaration can be the same. This line works in both languages: var foo = "bar"; Many code snippets aren’t identical, but they’re similar. And they’re even more similar if you put TypeScript in the mix: Java TypeScript for (var age : ages) { System.out.println(age); } for (const age of ages) { console.log(age); } class Person { private String name; public Person(String name) { this.name = name; } public String getName() { return name; } } class Person { private name: string; constructor(name: string) { this.name = name; } public getName(): string { return this.name; } } list.stream() .filter(x -> x > 5) .map(x -> x * 2) .collect(Collectors.toList()); list .filter(x => x > 5) .map(x => x * 2); Many programming languages share C’s syntax—you’ll see these similarities with other languages, too—but the connections run deeper. Their type systems are similar I know what you’re thinking: Java has a static type system, and JavaScript does not. But! TypeScript augments JavaScript with static types, and is the de facto way to write modern JS. So yes—JavaScript doesn’t technically have static types, but it does in practice. Even without static typing, their type systems have many other similarities. They use primitive and reference types According to the Java spec, “There are two kinds of types in the Java programming language: primitive types and reference types.” This is exactly the same as JavaScript. Both languages also have wrappers around primitive types. Though the specific types are different, the behavior is similar. They have (auto)boxing In Java, you can have a primitive type or an object wrapper around one. Converting a primitive type to a wrapper type is called “boxing”. // Java var primitive = 123; var reference = Integer.valueOf(123); JavaScript also has primitive values and explicit wrapper objects: // JavaScript const primitive = 123; const reference = new Number(123); You often encounter these wrapper objects through “autoboxing”. Autoboxing implicitly converts primitives to objects. The conversion contexts and semantics differ, but they both work similarly: // Java var primitive = true; Boolean reference = primitive; // Autoboxing happens here. reference.toString(); // JavaScript const primitive = true; primitive.toString(); // Autoboxing happens here. Strings use UTF-16 and share methods Strings work very similarly in both languages. In addition to being immutable in both, they have a number of similar methods: .toUpperCase(), .toLowerCase(), .substring(), .indexOf(), .split(), and many more. They also both use UTF-16, so they have weird behavior like this: // In JavaScript... "🌸".length; // => 2 // In Java... "🌸".length(); // => 2 (For more on UTF-16, see “Why does ‘👩🏾🌾’ have a length of 7 in JavaScript?”.) If you know how to use strings in one language, you probably know how to use them in the other. They’re really not that different. Numbers and Math are similar, too Java has a bunch of numeric primitives where JavaScript only has the number type. (JS also has bigint, which is rarely used.) But Java’s double and JavaScript’s number are both 64-bit IEEE 754 floating-point values: // Java or JavaScript (identical) 0.1 + 0.2 // => 0.30000000000000004 Their Math APIs are also very similar: Math.max(3, 7); // => 7 Math.sqrt(81); // => 9 Math.PI; // => 3.141592653589793 They both have classes and inheritance Though Java is the Kingdom of Nouns, both languages support classes and inheritance: class syntax, constructors, instance and static members, new, this, extends, super, and method overrides. TypeScript adds even more similarity with abstract classes, implements, and private/public access modifiers. Their internals are different, but you can ignore that most of the time. If you know how classes work in Java, you can probably apply that to JavaScript, or vice versa. They have similar runtimes The two languages’ runtimes also have a lot in common: Garbage collection: Neither the programmer nor compiler deallocates memory. This is in contrast to languages like C, Rust, and Swift, which have different memory management strategies. Just-in-time (JIT) compiled: Mainstream engines compile hot paths to native machine code. Fairly ubiquitous: I think Java fell short of its “write once, run anywhere” slogan. But I can’t deny that the JVM is widely available and powers a massive number of computer systems—just like JavaScript. Compile targets for other languages: There are a number of JVM languages like Clojure, Kotlin, and Scala. JavaScript’s most popular counterpart is probably TypeScript, but there are others like PureScript and ReScript. The languages have been separated from their runtimes, at least somewhat. They have DOM support (!!) I came across a package called org.w3c.dom when researching this post. It turns out that Java also supports Document Object Model APIs, just like JavaScript does in the browser. Here’s some code that is identical in both languages: // Add a new <li> element to the first <ul>. var ul = document.getElementsByTagName("ul").item(0); var li = document.createElement("li"); li.appendChild(document.createTextNode("wake up sheeple")); ul.appendChild(li); This surprised me! I know that JavaScript is the language of the web, but it turns out that Java is competitive! They have improved a lot in the last decade I don’t know what’s more popular: hating on JavaScript or hating on Java. (Another similarity!) But many of these haters last used the language in the early 2000s, when these languages were, broadly speaking, pretty bad. They’re way better now! In JavaScript, we got classes, modules, a big package registry, a bigger standard library, and better versions of common constructs like variable and function declarations. In Java, we got var, records, text blocks, pattern matching and switch expressions, and virtual threads. If you dislike these languages but you haven’t tried them recently, you might be pleasantly surprised. You’ll almost certainly acknowledge that they’ve improved (even if you’re still a hater). Wake up to the truth!!! I understand the benefit of saying things like, “Java and JavaScript have nothing in common.” Many of us have been approached by someone (well-meaning, usually) who doesn’t know the difference, and it causes some confusion. But these languages are actually pretty similar! Certainly a lot more similar than C and C#, in my opinion. I think it’s inaccurate to say “Java is to JavaScript as ham is to hamster.” My suggestion: Java is to JavaScript as the guitar is like the bass guitar.
In his last Thanksgiving message, Warren chose to emphasize just one thought: kindness – offered when it is not owed, with nothing expected in return. Kindness, he wrote, “compounds, and at a better rate than anything Charlie and I ever bought.” He was writing about his own teachers, and about everything they had given him … Continue reading RIP Warren Buffett →
Plus what I thought of Ocarina of Time, and science communicators denying... science.
Setting up a remote monitoring and control project means choosing variables linking dashboard widgets, and deciding how to keep track of your device. Expanding an existing project might mean making the same change across dozens of sensors. In either case, you have a goal in mind – and a series of steps to get there. […] The post Build and manage IoT projects with AI using the Arduino Cloud MCP appeared first on Arduino Blog.