More from John Wiseman
Two projects at the intersection of geospatial data and AI. First, a semantic search engine for aerial imagery, fine-tuned on OpenStreetMap-tagged data. Second, WARP—a custom neural model that learns embeddings of aircraft flight trajectories, trained on roughly a million aircraft tracks. Given any flight path, WARP can instantly retrieve the most similar trajectories from history. It enables applications from OSINT and anomaly detection to safety analysis and flight planning. The same latent structure that made word2vec transformative for language now becomes available for aircraft behavior. Presented at Spec.LA on December 18, 2025. I'm going to quickly show two things tonight. The past few years I've been working mostly in geospatial, aviation, and AI, and that's what these are. One is geospatial semantic search and the other is a foundation model for aircraft. I believe they're both extremely valuable and useful. # Both projects are about embeddings. Embeddings are points inside a latent or conceptual space. Parts of that space that are conceptually similar are closer together. There are neural models that will generate an embedding of an image or text or other things. With the right model, an embedding of a photo of a golden retriever is close to the embedding of the text "golden retriever" and far from the embedding of an image of an aircraft boneyard. # I showed an early version of PIMINTO at Spec a long time ago. I've refined it a lot since then. It uses a model that's fine tuned on satellite imagery and text describing the imagery based on OpenStreetMap tags. I'm going to give a live demo of the new site, which is public. piminto.obliscence.com | Demo video # Next is WARP, which is a model I'm building to create embeddings of aircraft paths. Back to aircraft, big surprise. # I trained the model on about a million aircraft tracks, pretty much everything that flew in the western U.S. over the course of a week. # At this point training takes 18 hours on a 4090 GPU. # I've come up with a custom architecture for this task. # I kept feeding the single file into GPT o3 or GPT 5, either asking it to critique the code or describing specific problems I was running into. Sometimes I'd paste a CSV of the loss curve. It would give me detailed descriptions of what to do next, and I'd paste those into Cline with Sonnet 4.5 doing the actual coding. # How does it do? # I hoped that if I took a few thousand trajectories and clustered their embeddings I would see clear separation and similarities. But that didn't really happen. A few extreme examples looked good, like skydiving aircraft being outliers, but otherwise I couldn't really make sense of it. But then I read someone who said sometimes clustering just looks nonsensical even if the embeddings are good at capturing similarity. # So I wrote an interface to let me compare any of the million trajectories. I can select one trajectory and it will almost instantly show me the other most similar trajectories in the database. In this screenshot the blue is the query trajectory and the red is the most similar trajectory it could find. This one isn't too bad. The altitude and speed profile are very similar but not exactly the same. Promising. # This is the signature of touch and go practice. This is a good match. # These are two different skydiving aircraft. They climb up to altitude, everyone jumps out, then they race back to the field. # These are two different flights by the same aircraft. But what does it really look like? # This is pretty cool. This looks like two training flights, by the same aircraft but on different days. Each time following the same route and including kind of a loop and then some tight circles. # These are two different Thales Watchkeeper drones, flying on different days over Fort Bliss. As a reminder, I chose the track on the left and then the system searched the database in a fraction of a second and determined that the track on the right was most similar to it. # This starts to hint at some potential uses. Both of these helicopters are doing some sort of utility work in forest. Hauling something maybe. Again, the track on the left is the query track, and the one on the right is the best match. # These are two different aircraft on two different days, dropping sterile fruit flies on different parts of Los Angeles. There are many other aircraft flying these sorts of lawnmower patterns, for example doing LIDAR collection, but it determined the one on the right is the most similar. # A useful aircraft embedding model unlocks a lot of interesting and valuable use cases, similar to how word2vec and text embeddings unlocked a whole class of semantic search, clustering, retrieval, anomaly detection, and analogy-style reasoning over language—except now the same kind of latent structure becomes available for aircraft behavior, trajectories, and operational patterns. # # { img.style.cursor = 'pointer'; img.addEventListener('click', () => { lightboxImg.src = img.src; lightbox.classList.add('active'); }); }); function closeLightbox() { lightbox.classList.remove('active'); } document.addEventListener('keydown', (e) => { if (e.key === 'Escape') closeLightbox(); });
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.