News for hackers. Stuff that matters.
Re:Show HN: Tiny Moon – Swift library to calculate the moon ... by shainvs on Thursday July 25, 2024 @01:50PM (#41071376)
Is there a plan to add this for linux / windows? Either way, super cool project
Re:Show HN: Tiny Moon – Swift library to calculate the moon ... by mannylopez on Thursday July 25, 2024 @03:09PM (#41072253)
Good news! According to Swift Package Index [0], Tiny Moon is already compatible with Linux environments.

0. https://swiftpackageindex.com/mannylopez/TinyMoon/

Re:Show HN: Tiny Moon – Swift library to calculate the moon ... by robsh on Thursday July 25, 2024 @04:24PM (#41072983)
The following formula will return the closest moon phase emoji in Excel:

=LET(phase,MOD(ROUND(MOD(NOW(),29.5275)/3.691,0)-2,8)+1,UNICHAR(127760+phase)))

Re:Show HN: Tiny Moon – Swift library to calculate the moon ... by ginko on Friday July 26, 2024 @07:14AM (#41077660)

  $ curl wttr.in/Moon