I built a world map to demo my own library: 418 timezones, each dot lit by the brightness the library reports.
Seeing them all at once found 5 bugs I'd already shipped.
Perth sat in the Southern Ocean. Kyiv threw. The midnight sun read as night.
1
99
And the sun never set on Longyearbyen in June, while the library insisted it was night.
The astronomy was already there. The upstream flags that tell polar day from polar night had been sitting commented out the whole time.
1
9
Fixed in 4.2.0. 418 of 418 timezones resolve now, up from 398.
The demo is the whole pitch: drag the slider, watch the terminator move. Every dot is a real call, 418 per frame, ~10ms.
22KB, one file, and it never asks the visitor for anything.
romanyanke.github.io/daynighβ¦
7
Roman retweeted
ChatGPT π€ VS Code, Xcode, Terminal, iTerm2
ChatGPT for macOS can now work with apps on your desktop. In this early beta for Plus and Team users, you can let ChatGPT look at coding apps to provide better answers.
ChatGPT for macOS can now work with apps on your desktop.
ChatGPT π€ VS Code, Xcode, Terminal, iTerm2
Roman retweeted
This is great ββ when you enable dark mode on your phone, the lights on the plane turn on!
























