Articles tagged “ruby”
-
-
Astronoby v0.10.0: Lunar eclipses & observational events
A tour of Astronoby v0.10.0: lunar eclipses, planetary phenomena, deep lunar observation data, groundwork for satellite tracking, and IERS integration for even greater accuracy.
-
Introducing Caelus
It's not often you finally build something you've been dreaming about for more than a decade. Caelus is my open-source astronomical tool where every sunrise time, Moon phase, and planet position can be traced back to the source data and the logic that produced it.
-
How to calculate the best days for planetary observation
Finding the perfect night to observe a planet doesn't have to be guesswork. Here's how to compute the best observation dates for the Sun, planets, and Moon using the Astronoby Ruby gem.
-
Where on Earth do shadows disappear? Finding the sub-solar point with Ruby
There's always a place on Earth where you'd cast no shadow, where the Sun sits directly overhead. Here's how to find that sub-solar point with a few lines of Ruby.
-
Astronoby v0.7.0: Planets and ephemerides
The v0.7.0 release of the Astronoby Ruby library adds support for all major planets and ephemeris-based positions accurate to under 10 arc seconds.
-
Between immutability and memoization, you might have to choose
It is not always possible to have frozen AND performant objects in Ruby.
-
Introducing Ephem
A new Ruby gem for astronomy: Ephem produces high-precision ephemerides from NASA's JPL Development Ephemeris series.
-
-
I counted the number of visible sunsets with Ruby
How many times can you watch the sunset from your sofa? Ruby can give you the answer.
-
Numeric data types in Ruby and when to use them
Ruby supports multiple numeric data types in its core and standard libraries. What are they made for and how to use them properly?
-
-
Get consistent data from your LLM with JSON Schema
How to parse content from a tool that is made to speak in human sentences.
-
-
A journey towards better Ruby on Rails testing practices
Testing Ruby on Rails and avoiding RSpec and FactoryBot anti-patterns.
-
-
-
-
-
-
-