Author: Richard Cox

  • How Rust Powers GeoLog’s Core Calculations

    How Rust Powers GeoLog’s Core Calculations


    Introduction

    GeoLog started with a simple premise: what’s near me right now? Every feature in the app flows from that question — the gallery sorts by proximity, the nearby locations list updates as you move, and the whole workflow is built for the moment before you grab your gear and head out the door.

    That premise worked fine early on. Then my test library grew past 100 locations, and I started noticing something on my iPhone 11 test device: the Nearby Locations list was getting sluggish. Not broken — just slow enough to feel wrong.

    The naive approach — sorting by latitude and longitude directly — doesn’t actually measure distance. It’s fast, but it’s wrong. A degree of longitude in Texas is not the same distance as a degree of longitude in Alaska. The app’s entire reason for existing is proximity, so sorting by proximity correctly isn’t optional. I needed geodesic distance calculations — the real math — running fast enough that a growing location library wouldn’t penalize the user.

    That’s what led me to Rust.

    (more…)
  • Meeus in Practice: A Worked Example

    Meeus in Practice: A Worked Example


    The previous article — The Math Behind GeoLog’s Ephemeris — walked through the equations Jean Meeus uses to compute celestial positions. This article works through those equations with real numbers, step by step, for a specific location and date.

    (more…)
  • The Math Behind GeoLog’s Ephemeris

    The Math Behind GeoLog’s Ephemeris


    GeoLog’s Ephemeris: Reading the Compass Rose

    The screenshot above shows GeoLog’s Ephemeris view for Nubble Light, York County, Maine — April 24, 2014 at 9:30 AM Eastern Time. Before diving into the mathematics that make it work, it helps to understand what each element of the display represents.

    (more…)
  • Getting Started with Flutter

    Getting Started with Flutter

    If you’ve been curious about cross-platform mobile development — building one codebase that runs on both iOS and Android — Flutter is one of the most compelling options available today. This guide covers what Flutter and Dart are, how they fit together, how to create your first project, and — critically — where Flutter shines and where it falls short.

    (more…)