Remix.run Logo
franze 9 hours ago

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/

mos_basik an hour ago | parent | next [-]

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.

noosphr 8 hours ago | parent | prev | next [-]

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

busfahrer 6 hours ago | parent | prev | next [-]

For a modern equivalent, the first thing that came to my mind was Manhattanhenge:

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

psunavy03 4 hours ago | parent [-]

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.

pbalau 7 hours ago | parent | prev | next [-]

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.

aworks 5 hours ago | parent | prev | next [-]

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

masfuerte 5 hours ago | parent [-]

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.

KineticLensman 2 hours ago | parent [-]

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

franze 9 hours ago | parent | prev [-]

and yes, the maths fails when you are super super high north or south

JKCalhoun 7 hours ago | parent | next [-]

You should try to address the latitude issue. (Says the guy who has only to spend a few seconds typing that.)

franze 2 hours ago | parent [-]

done

srean 9 hours ago | parent | prev [-]

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 ?

franze 2 hours ago | parent [-]

because mathematically a day can have more than 24h daylight and less than 0

fixed it

srean an hour ago | parent [-]

Got it. Will happen whenever the latitude is complement of the declination.

Thanks for replying.