Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simscitizen
on Aug 30, 2013
|
parent
|
context
|
favorite
| on:
Mac OS X Sudo Password Bypass
On OS X, use mach_absolute_time() to get a monotonic clock. A lot of APIs in OS X use the monotonic clock, e.g. CoreAnimation wraps mach_absolute_time() as CACurrentMediaTime() and uses that to calculate animation start times and delays.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: