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},
    label: "Champs-Élysées, Paris",
    meters: 1910,
    times: 3.664921
    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!

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.