Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
raldi
on July 1, 2012
|
parent
|
context
|
favorite
| on:
How Google handle leap seconds
I wonder why it's a cosine-based formula, rather than linear.
shalmanese
on July 1, 2012
|
next
[–]
Cosines are smooth at every level of differentiation.
kentonr
on July 1, 2012
|
prev
|
next
[–]
Maybe they chose it because they wanted to "ease" in the change to prevent the machines from distrusting the time server?
anothermachine
on July 1, 2012
|
prev
[–]
For smoothness, I presume, to avoid a sudden change in the rate of time passage at the start and end of the day.
raldi
on July 1, 2012
|
parent
[–]
I don't follow -- wouldn't a linear approach yield a maximally even rate of adjustment?
BHSPitMonkey
on July 1, 2012
|
root
|
parent
[–]
No, there would be continuity breaks at the beginning and end of the window where the smear occurs if purely linear. I think the goal here is a kind of "ease-in-out" transition.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: