NewThe Detector Was Not Impressed cloudmark

Themes

  1. 013 posts

    Event logs

    An ordered log, read three ways, folded into state.

    See all

    Latest posts

    • EventStore: From Log to State, and Into Production

      Part 3 of 3 Folding Wile's orders into a per-customer dashboard, with snapshots that shrug off a kill -9. Then the practical side of production: watching lag, raising alerts and archiving old messages to BigQuery.

    • EventStore: Reading the Log by Pulling, Pushing and Sharding

      Part 2 of 3 Reading the log by pulling with your own bookmark, pushing over AMQP, or sharding across readers. You learn exactly when Wile can be charged twice, and why nothing is lost on restart.

    • EventStore: One Ordered Log for Everything

      Part 1 of 3 Billing, notifications and a dashboard all need to hear about Wile E. Coyote's orders. EventStore gives them one ordered log with one index and one writer, and a precise at-least-once guarantee.

  2. 026 posts

    Actors

    Messages, mailboxes and supervision, from Akka to Cats-Actors.

    See all

    Latest posts

    • Cats-Actors 2.2.0: Taking Control of Time

      Part 4 of 4 Cats-Actors 2.2.0 hands your tests the clock, so scheduled work, receive timeouts and supervision windows need no sleeps. Tests that were slow, flaky or impossible now run instantly and the same way every time.

    • Cats-Actors 2.1.0 Goes Cross-Platform

      Part 3 of 4 Cats-Actors 2.1.0 runs one actor codebase on the JVM, as a native binary and in the browser. A token races round a ring of actors, then eight monkeys throw bananas right on the page.

    • Typed Actors in Action - Exploring Cats-Actors with Alice and Bob

      Part 2 of 4 Alice sends Bob money through wallet actors and a transaction actor, built with the typed actors in Cats-Actors 2.0. Messages are checked at compile time, so fewer mistakes are left waiting for runtime.

  3. 038 posts

    Functional programming

    From closures to lambda calculus to ZIO.

    See all

    Latest posts

    • Functional Programming to the max

      A small number guessing game, rewritten step by step from procedural code into a functional program with its own IO type. The aim is not purity for its own sake, but more principled code.

    • Performant Functional Programming to the max with ZIO

      Wile E. Coyote wants a purchase summary for every ACME customer. The same program is built imperatively, then with monad transformers, then with ZIO, which keeps it pure without paying for it at runtime.

    • Computation Context - Walk the Line

      Pierre the tightrope walker and his birds, simulated with exceptions, nulls and finally an Option. Functional programming turns out to be more than a refactor: a computation context gives you honest types and safe sequencing.

  4. 043 posts

    Infrastructure

    Containers and Kubernetes, the parts I actually used.

    See all

    Latest posts

    • Node Management in GKE

      What happens to your pods when GKE upgrades its nodes, from our Google Cloud Summit talk in Milan. Three takeaways keep disruptions small: redundancy, protection and giving Kubernetes insight through probes.

    • Why Kubernetes? Google Cloud Event Follow-up

      Why we moved to Kubernetes, from my talk at the first Google Cloud Event in Malta. Reactive microservices need scheduling, scaling, rolling updates and supervision, and Kubernetes handles all four.

    • Dockerise, Deploy, Update Code, Repeat

      A Spring Boot Hello World, packaged with Docker, pushed to a private registry and run on Kubernetes in Google Container Engine. Then a rolling update ships new code without taking the app down.

  5. 056 posts

    Machine learning

    Small models, built by hand.

    See all

    Latest posts

    • The Detector Was Not Impressed

      One rewrite by the voice model still scores as fully AI, and ten rounds start bending the facts. Guards, a judge and rollbacks got the same text rated human in five runs out of five.

    • 80,000 Words of Me

      Training a small model on about 80,000 words of my own writing, and why one pass beats three. Its loss, and habits like how often I say we, show how close it gets.

    • I Didn't Write This Post

      Give a chat model 22 of my old posts and it rewrites plain text close to my voice, for cents. A detector still calls it all AI, and the unchanged words show why.

  6. 066 posts

    Web

    Front-end tricks from the Angular years.

    See all

    Latest posts

    • An efficient headless CMS on top of Wordpress - a.k.a the ACF Compiler!

      WordPress with ACF makes a free headless CMS, until the n+1 queries pile up. The ACF Compiler turns annotated classes into an efficient query plan, cutting our bootstrap times from a minute to seconds.

    • Angular 2 - Define Routes Dynamically using UIRouter

      Angular routes are usually fixed at configuration time, which hurts when every language has its own URLs. UIRouter can declare states on the fly from a CMS sitemap, giving fully multilingual routes.

    • TypeScript Json Mapper

      JSON rarely arrives in camelCase, so it cannot simply be cast onto a TypeScript class. A generic mapper driven by decorators does the conversion, handles arrays, and plugs into the AngularJS http service.