External Service Testing in Phoenix How to implement your own :timer.sleep in Elixir

Odometex, simple distance comparisons

Just published Odometex v0.1.0, simple distance comparisons for Elixir! 🌍🚶‍♂️🏃‍♀️

iex> Odometex.compare(7000)
# => [
  %Odometex.Result{label: "Central Park, New York", meters: 4000, times: 1.75},
  %Odometex.Result{
    label: "Champs-Élysées, Paris",
    meters: 1910,
    times: 3.664921
  },
  %Odometex.Result{
    label: "Passeig de Gràcia, Barcelona",
    meters: 1300,
    times: 5.384615
  },
  %Odometex.Result{label: "Football pitch", meters: 105, times: 66.666667},
  %Odometex.Result{label: "Basketball court", meters: 28, times: 250.0}
]

Any feedback or distance request is more than welcome!

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.