Nov 11, 2026
One may be worried that the assumption of constant speed of light is in principle not verifiable from experiment because we can only measure the roundtrip average speed of light but not the single-trip speed of light. It turns out to be fine because we can always redefine the time coordinates to make the speed of light constant if the roundtrip average speed of light does not depend on the path.
/physics
#special relativity
#differential geometry
Nov 10, 2026
By dynamically redefining singleton methods on an object and instance methods on an extended module, we can achieve polymorphism on a single object based on the context. With the new Proc#refined method in Ruby 4.1, this can be done in a simpler way.
/programming
#ruby
#metaprogramming