Anthony Daniel Martin

I make things. Software, music, sometimes research.

Software

GeoLocation

PHP · 2012

A library for geospatial calculations—bounding boxes, distances, point-in-polygon. Ported from Java code by Jan Matuschek.

usage.php
use AnthonyMartin\GeoLocation\GeoPoint;

$geopoint = GeoPoint::fromAddress('New York, NY 10001', $apiKey);
$boundingBox = $geopoint->boundingBox(3, 'miles');

// Distance between two points
$a = new GeoPoint(40.5187154, -74.4120953);
$b = new GeoPoint(40.65, -73.95);
$distance = $a->distanceTo($b, 'miles');

~900k Packagist installs. Still ~12k/month thirteen years later.

GitHub →

aws-acl-fail2ban

PHP · ~2016

Makes fail2ban work behind AWS load balancers by pushing blocked IPs to VPC ACLs instead of local iptables.

GitHub →

TimeSeriesAggregator

TypeScript · 2018

Bucket data by time periods, run calculations on subsets. Fluent API.

Written before I knew about pandas.

usage.ts
const data = new TimeSeriesAggregator()
  .setCollection(events)
  .setPeriod(30)
  .setGranularity('day')
  .aggregate();

const lastWeek = data.select(0, 7).count();
GitHub →

@myelastic/indexer

TypeScript · 2019

ETL tool for indexing MySQL and MongoDB data into Elasticsearch. Two required fields for the simple case.

index.ts
// That's it. Two fields.
new Indexer({
  index: 'invoices',
  query: 'select * from invoices'
}).start();

// With transformations
new Indexer(config)
  .addMutator(row => { row.geo = geolocate(row.ip); })
  .start();
GitHub →

hardhat-secure-signer

TypeScript · ~2021

Hardhat plugin that encrypts private keys at rest and prompts for credentials when signing.

GitHub →

Music & Art

Performing at Funkhaus Berlin
Funkhaus, Berlin · 2017
Piano Day performance in Ireland
Piano Day, Waterford · 2018

I make music under a few names—Anthony Daniel (piano), AM Atlas (neo-classical, ambient), Juno Rhodes (electronic, downtempo, house). I still play every day. The public part is on pause.

AM Atlas — Nocturne Invention No. 1

This piece is a musical fractal. It is built with pieces of itself. The piano and cello form the foundation. The cello part morphs into violin and viola—each playing the same cello part but at different inversions—one part is actually the cello part being played in reverse, a retrograde inversion. This was a fun discovery after several years sitting with the piece. Recorded at UFO Sound Studios in Berlin with Natasha Jaffe on cello.

AM Atlas — Nocturne Invention No. 3

AM Atlas — Air

AM Atlas — Tropea

Piano Day at Funkhaus Berlin, Germany, 2017. Nils Frahm, Poppy Ackroyd, Henrik Schwarz, Malakoff Kowalski. After his set, Frahm invited the audience to play. I was the first to go up.

Live at Funkhaus, 2017

Phyllotaxis—the golden angle spiral found in sunflowers and pinecones. Laser-cut acrylic mask with diffusion substrate, custom programmed LEDs with Arduino and Processing.

Phyllotaxis

Products

Memrail

Current

Memory and decision infrastructure for AI systems.

memrail.com →

Ultidash

75k registered users (now defunct)

ultidash.net →

Cadenzai

AI research company working on self-organizing systems, recursive optimization, and adaptive memory architectures.

Research

RKDO (Recursive KL Divergence Optimization), SOMA (Self-Organizing Memory Architecture).

GitHub →