Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. When did Google get so weird? (sancho.bearblog.dev)
    369comments
  2. Ember-1 (fireworks.ai)
    176comments
  3. Lunar Terminator Paradox (secretsauce.net)
    25comments
  4. Alan Kay's answer to “Did the ENIAC have a BIOS”? (quora.com)
    27comments
  5. Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi (loficities.com)
    72comments
  6. The state of SIMD in Rust in 2026 (shnatsel.github.io)
    19comments
  7. There is more to code review than (automatable) detection (adaptivecapacitylabs.com)
    20comments
  8. Don't couple your Go code to GitHub (iain.rocks)
    66comments
  9. Imp is a full port of DSPy to the BEAM (github.com/deepfates)
    5comments
  10. What I did at Recurse Center (thill.me)
    16comments
  11. In an $80 motel room, a discovery to shed light on the origins of life (nytimes.com)
    79comments
  12. Oral history of John Chowning, inventor of FM synthesis [video] (youtube.com)
    7comments
  13. Self-Hosting on the Dark Web (alvarezrosa.com)
    14comments
  14. Replacing the old battery on rechargeable bike lights (jvns.ca)
    72comments
  15. S3 Is the Future, S3 Is the Past (btrblocks.com)
    34comments
  16. Previously unheard recordings of John Coltrane, captured by Frank Tiberi (jazzwise.com)
    18comments
  17. My Recent Woodworking Projects (notoriousbfg.com)
    7comments
  18. A New Experiment Meta-Strategy (chillphysicsenjoyer.substack.com)
    —discuss
  19. Writing Efficient C++ Code (2013) (asawicki.info)
    80comments
  20. Coltrane's Shadow (tabletmag.com)
    1comments
  21. The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers (generalroboticslab.com)
    9comments
  22. Flip Fluid on Flip Dots (mitxela.com)
    24comments
  23. Fragment of oldest known peace treaty found in Turkey (livescience.com)
    8comments
  24. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    58comments
  25. Video CDs Break Windows Explorer (clydesnotes.blogspot.com)
    33comments
  26. Faster prompt lookup drafting in llama.cpp (jadidbourbaki.github.io)
    10comments
  27. Show HN: TinyAIArena watch AI agents battle it out (tinyaiarena.com)
    40comments
  28. Hitachi to double US production of small and medium-sized power transformers (utilitydive.com)
    3comments
  29. Show HN: Cartopolis, interactive globe-sized 3D world (garage44.eu)
    —discuss
  30. The Normalization of Inexplicable Failures (ihatethefuture.com)
    97comments

Lunar Terminator Paradox

40 pointsby 3h agonotes.secretsauce.net
25 comments
2h agoHN ↗

Now, what happens if the moon is not at the horizon, but higher up at the sky?

Moon follows the sun to the west so to move moon "higher" up in the sky you need to rewind time (15deg/hour). In e.g. 4 hours moon barely moves in it's 28 day cycle so the moon will look exactly the same (you can take a picture and compare). It's the earth rotation that make moon "go down" or up. I've read your article 2 times and I still don't understand what is apparent problem, no wonder AI had trouble. Also it's hard to reason about up and down when moon move along ecliptic which is curve. Down at noon points elsewhere as down at sunset.

2h agoHN ↗

is this a bad moment to mention how weird it is that the moon is perfectly positioned to create eclipses?

I think its pretty incomprehensible odds if you ask google.

But I could be wrong I know literally nothing about astronomy, it just always surprised me its not common, but it be cool if someone could explain that

2h agoHN ↗

it was my vague understanding that what is weird is the apparent size matching. since the moon is slowly moving away, eventually we'll no longer have total solar eclipses, just annular and partial.

2h agoHN ↗

The relative sizes are approximate, not perfect, but close enough that our monkey brains interpret it as more than a coincidence.

2h agoHN ↗

Idk, one could come up with a hypothesis that eclipses provide the first tangible validation of a system of mathematics.

1h agoHN ↗

If there were greater significance to it, I’d have thought the the visual sizes of the Sun and Moon would have been perfectly matched, rather than to within a few percent, give-or-take.

Also since the Sun-Earth distance varies and so does the Earth-Moon distance, the coverage of the Sun varies. We sometimes get annular eclipses where the Sun is not totally covered.

2h agoHN ↗

The moon is 400 times smaller than the sun, but the sun is 400 times farther away, so they appear to be the same size. The solar eclipse we see, with the moon obscuring the sun but just allowing light around the edges the way it does, may be a very uncommon phenomena.

2h agoHN ↗

It’s more like, if the moon were much farther away then total solar eclipses wouldn’t happen at all. But the opposite is not true. If it were closer than total solar eclipses would be more common.

It is an interesting coincidence. But the statistician in me feels like calculating the probability is a bit spurious. For one, not all combinations of distance and size are equally likely, and running physical simulations to try and get decent Monte Carlo estimates of the odds feels a bit suspect - I imagine a decent chunk of what you’d be measuring is the influence of parameters whose values are empirically unknowable.

But, even more than that, it comes from the same place that requires me, when a cashier sees the total is exactly $50 and asks, “What are the chances of that?” to actively suppress the urge to say, “About the same as for $59.37.”

1h agoHN ↗

Im not trying to be mean but nothing you said made any sense, possibly because I wasnt clear.

I do appreciate your time and your feedback and Im not great at patience but Im going to try because I am dim in many subjects.

I meant an exact solar eclipse where the Sun and the moon seem to match perfectly.

As such the math odds are low.

Finally, if I ever went to a shop and I was charged a round number like $50, or in my case even $3 I would immediately assume I am being scammed, as that is rare given the context. ( which incidentally happened to me once in Barcelona due to a local spanish barman trying to charge me a tourist tax ).

But I am grumpy and it is late, please forgive coarseness of my reply.

1h agoHN ↗

I think it's easier to understand if you consider the opposite case: how could the moon never be on the Sun-Earth ray? It would have to orbit Earth around the Sun-Earth ray. But the Sun-Earth ray changes direction as Earth orbits the sun, so the Moon's orbit would have to change with it. People in the northern hemisphere would not be able to see the moon at the same time as people in the southern hemisphere for significant portions of the Lunar cycle, and we would always see a half-moon.

That the Earth-Moon orbital axis is not incidental with the Sun-Earth orbital ray means we'd always, eventually, have solar and lunar eclipses.

Perhaps if Earth were in a tidally locked orbit with the Sun, the Moon could be in a tidally locked orbit with the Sun while also orbiting the Earth. But then half the planet would be frozen and the other half would be completely baked and we wouldn't be having this conversation.

34m agoHN ↗

It’s also transient. In a few million years, the Moon will have drifted far enough away that it cannot fully eclipse the sun. Long ago, the Moon was so close you wouldn’t have been able to clearly see the Sun’s corona during a total eclipse.

50m agoHN ↗

It's simply a huge, beautiful coincidence. If the galaxy was teeming with life capable of interstellar travel, our planet would be famous for its perfect eclipses.

2h agoHN ↗

The sky is spherical, so straight lines in the sky aren’t straight lines on its 2D projection on the retina. Rather, straight lines are great circles. So if you trace the great circle that connects the sun and the moon, the moon should "point" along that great circle – which can be considerably off of what we think of as a straight line (which is curved in reality).

1h agoHN ↗

Well sure. Yeah. Do you find this explanation clear and satisfying though? Can you use it to answer a question like "at sunset, during a half-moon, can you see an upward-facing moon"? Maybe you're much smarter than me, but I had to write the simulator to figure out the answer. Claude and gemini never wrote the simulator, so they consistently answer that question incorrectly :)

47m agoHN ↗

Makes perfect sense to me. When starting the shortest path for a flight from San Francisco to Tokyo, you don't point the plane toward Japan, you point it towards Alaska.

2h agoHN ↗

Was expecting time travelling moon robots. :(

1h agoHN ↗

It’s cool and all, but I do worry about this instinctive reaching for AI to build convoluted answers to stuff like this, which is easily demonstrated by, say, two balls and a lamp, not to mention the myriad of astronomical simulators that already exist.

The software is being written to teach the user something, but it’s not novel software, or a novel problem, and the creator doesn’t actually care about the process of making the software, or actually thinking about how to solve the question. But they have access to an automatic wheel reinvention machine and so...

1h agoHN ↗

I think you're overstating your case. I never said this was novel. I didn't vibe code any of this. Two balls and a lamp were not sufficient to make this clear to me, but writing the simulator was.

The LLMs have read all of the internet, and are thus quite good at answering questions like this, and I have zero problems asking them about it. In THIS case, the answers available on the internet kinda suck, which made the LLM suck as well.

1h agoHN ↗

Perhaps I was too harsh, sorry. I’ve seen a huge amount of vibe coded solutions to more trivial questions than this and assumed it was more of the same.

1h agoHN ↗

is easily demonstrated by, say, two balls and a lamp,

...have done this many times for friends! A torch and a yoga ball work nicely ;)

1h agoHN ↗

To me, this article conflates lunar elevation and phase. Together with the use of ambiguous terms "up", "down", "above", and "below" makes it difficult to understand the author's intent and what their software is meant to visualise.

Lunar elevation (aka "altitude" in celestial coordinates) is sidereal, so the maximum range is determined by the viewer's latitude. The moon's orbital plane is not perfectly aligned with that of the sun-earth so there's another component there, but this only varies +/- 5 degrees of the sun's declination.

Lunar phase is synodic, so there's no significant variation in the observed illuminated portion with the moon's elevation over one night.

The full moon occurs when the moon is on the opposite side of the earth from the sun, so it rises at sunset, transits the meridian at midnight and sets at sunrise, (+/- a few minutes for seasonal variation).

Here's a nice visualisation of the lunar analemna - the figure described by the apparent position of the moon over a month - from Mt. Laguna at 32.8 degrees north. https://www.hpwren.ucsd.edu/news/20250212/

I also found this page with a decent explanation of the apparent effects of orbital cycles. https://www.cyclecalcs.com/learn/synodic-sidereal.html#faq

1h agoHN ↗

Omg this paradox has bothered me for so long. I’m thrilled to have it finally explained.

45m agoHN ↗

I understand less than before I read this article.

When has anyone ever noticed a full moon becoming less full during the night? Not that the effect doesn't happen, but it is minor. This effect also occurs during first and last quarter, despite what the article claims.

And what on earth is the first plot? A moon that rises to its zenith doesn't become half lit. And is the dark coloured part li?, Where is the 3/4 moon?

28m agoHN ↗

And what on earth is the first plot? A moon that rises to its zenith doesn't become half lit

If it rose to the zenith, it would. This is the paradox.