HNHacker News
TopNewBestAskShowJobs

mannylopez

346 karma · joined January 11, 2020

https://github.com/mannylopez/TinyMoon
submissionscomments
mannylopez··on Ask HN: Share your personal website
https://mannylopez.github.io/
mannylopez··on On finishing projects
Maybe “An App Can Be a Home-Cooked Meal”?

https://www.robinsloan.com/notes/home-cooked-app/

mannylopez··on Show HN: Tiny Moon – Swift library to calculate the moon phase
Thank you! I was a technical writer before learning how to program, so it's important for me to write well-documented and well-tested code.

Doing so also allowed me to completely remove and replace my first attempt at implementing the moon phase algorithm when it turned out to be not-accurate enough (the values were off by about 4 hours).

mannylopez··on Show HN: Tiny Moon – Swift library to calculate the moon phase
Yes, pretty much every good library I came across referenced Meeus' Astronomical Algorithms [0] book and formulas. Those were a bit dense for me to fully parse, but Dr. Louis Strous` page [1] on finding the position of the moon helped simplify it for me (although that implementation is less accurate, I think).

The algorithm in Moontool for Windows [2], which Tiny Moon is based off of, is based off of Meeus' algorithm.

0. https://www.agopax.it/Libri_astronomia/pdf/Astronomical%20Al...

1. https://aa.quae.nl/en/reken/hemelpositie.html#4

2. https://www.fourmilab.ch/moontoolw/

mannylopez··on Show HN: Tiny Moon – Swift library to calculate the moon phase
Good news! According to Swift Package Index [0], Tiny Moon is already compatible with Linux environments.

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

mannylopez··on Music for Programming
My go to music is the band Kiasmos. They're an Icelandic duo that plays atmospheric/minimal techno music. They're on hiatus now, so if anyone has any music that's like this, I'd love to hear your recommendation.

Kiasmos - Full Performance (Live on KEXP): https://youtu.be/liGXsloELpk?t=155

mannylopez··on The Sweden Solar System
Peoria, Illinois has one too and claims the "world's most complete large-scale model of the Solar System. The scale factor is 99,000,000:1, covering 6,000 square miles of Central Illinois."[0] and you can "become a part of the world's most complete large scale model of the Solar System by purchasing an Unnamed Comet Plaque in the Peoria Riverfront Museum Store. Unnamed comet plaques are located on all seven continents, stretching as far north as Barrow, Alaska, and as far south as South Pole Station, Antarctica."[1]

[0] https://www.peoriariverfrontmuseum.org/dome-planetarium/comm...

[1] https://www.peoriariverfrontmuseum.org/dome-planetarium/comm...

mannylopez··on Use shortcuts to create new Google Docs and more from the URL bar
I hate going to drive.google.com to create a new doc and was about to build a shortcut for myself, but it turns out that Chrome already has these built in!

    docs.new
    sheets.new
    slides.new
    forms.new
mannylopez··on Playdate – December 2019 Update
Unrelated to Playdate, but you can change the colors of Panic's sign in downtown Portland by visiting their site: https://sign.panic.com/

Google street view of the sign: https://www.google.com/maps/@45.5229525,-122.6819389,3a,25.7...