News for hackers. Stuff that matters.
Re:The ancient monuments saluting the winter solstice by franze on Monday December 22, 2025 @05:43AM (#46353021)
my modern equivalent(I needed last year for surfing (after i needed to cut a surf trip short as it became night))

https://daylight.franzai.com/

Re:The ancient monuments saluting the winter solstice by pbalau on Monday December 22, 2025 @07:58AM (#46353792)
Doesn't really work on my setup (0). I am curious if it does more than the PhotoPills app, quite a useful thing for city scapes photography.

0. https://drive.google.com/file/d/1FB3Ofl4mUvOO4gGqARro9cO_kjJ...

/edit: Looks like noscript blocks the p5 thing.

Re:The ancient monuments saluting the winter solstice by noosphr on Monday December 22, 2025 @07:08AM (#46353522)
Ha, amazing, I build the same 24 hour clock with night time for daily planning.

You can use an js SVG animation to have it run in real time: https://tomchen.github.io/animated-svg-clock/clock.svg

I have no idea why we stuck with the 12 hour clocks once we stopped using sundials and variable hours: https://en.wikipedia.org/wiki/Unequal_hours

Re:The ancient monuments saluting the winter solstice by franze on Monday December 22, 2025 @05:44AM (#46353029)
and yes, the maths fails when you are super super high north or south
Re:The ancient monuments saluting the winter solstice by srean on Monday December 22, 2025 @06:23AM (#46353273)
Hey! nice little useful web page. I like the minimalism of it.

Does the math fail because of not considering (i) equation of time and (ii) oblateness of the Earth ?

Re:The ancient monuments saluting the winter solstice by franze on Monday December 22, 2025 @01:12PM (#46356825)
because mathematically a day can have more than 24h daylight and less than 0

fixed it

Re:The ancient monuments saluting the winter solstice by srean on Monday December 22, 2025 @02:23PM (#46357786)
Got it. Will happen whenever the latitude is complement of the declination.

Thanks for replying.

Re:The ancient monuments saluting the winter solstice by JKCalhoun on Monday December 22, 2025 @08:38AM (#46354007)
You should try to address the latitude issue. (Says the guy who has only to spend a few seconds typing that.)
Re:The ancient monuments saluting the winter solstice by franze on Monday December 22, 2025 @01:13PM (#46356849)
done
Re:The ancient monuments saluting the winter solstice by busfahrer on Monday December 22, 2025 @09:01AM (#46354165)
For a modern equivalent, the first thing that came to my mind was Manhattanhenge:

https://en.wikipedia.org/wiki/Manhattanhenge

Re:The ancient monuments saluting the winter solstice by psunavy03 on Monday December 22, 2025 @11:06AM (#46355232)
The street I live on also has a "henge," and it's annoying as all get-out because I have to drive up a big hill with the setting sun in my face to get home.
Re:The ancient monuments saluting the winter solstice by aworks on Monday December 22, 2025 @09:51AM (#46354548)
With your app, it seems daylight today in Chicago is the same length as yesterday's solstice, although it starts and ends 30 seconds later.

today - 07:18:59 → 16:24:29 = 9:5:30. yesterday - 7:18:23 → 16:23:53 = 9:5:30

Re:The ancient monuments saluting the winter solstice by masfuerte on Monday December 22, 2025 @10:29AM (#46354884)
Sunrise and sunset aren't in phase (or exactly out of phase). The latest sunrise and the earliest sunset don't happen on the same day and neither happens on the solstice. Not at this northern latitude anyway.
Re:The ancient monuments saluting the winter solstice by KineticLensman on Monday December 22, 2025 @01:19PM (#46356941)
Where I am the sunset is already three minutes later than its earliest time but it will be another two weeks until the sunrises start getting earlier
Re:The ancient monuments saluting the winter solstice by mmooss on Monday December 22, 2025 @11:30PM (#46362437)
??? Why?
Re:The ancient monuments saluting the winter solstice by mos_basik on Monday December 22, 2025 @02:13PM (#46357644)
Love it, bookmarked.

I first saw this idea at https://jmw.name/projects/linear-clock/ and then later I wrote a TUI version for myself

I had tickmarks for stuff (when to go to bed to sleep for 7.5h and wake up near sunrise, things like that). I was working on adding a config file format.

Then I lost the project due to a mishap with a pipx flag... https://github.com/pypa/pipx/issues/1324#issuecomment-211885... ;_; o7

One day maybe I'll come back and do it in Rust.