Upgrade
3 Responses to Upgrade
Leave a Reply Cancel reply
Current Top Ten
- 1. The Internet
- 2. Faux Pas
- 3. Direction
- 4. Meteor
- 5. Reassurance
- 6. Trouble Sleeping
- 7. The Art of Setting Realistic Goals
- 8. The Right Amount
- 9. No Gifts
- 10. Return of Tarp Ghost
Categories
Popular Topics
3x4 3x5 3x6 3x7 3x8 3x9 3x10 Battle Bear Cat Christmas Communication Danger Death Dog Doug Savage Drinking Fear Food Goals Internet Language Lazy Life Love Management Meeting Movies Music Nature Optimism Parenting Pirate Productivity Psychology Robot Science Sleep Star Wars Superhero Television Time Tree Work ZombieAdventures in Comics
To see what else I'm up to, visit me at www.dougsavage.com.
Is this just a time span of a fraction of a millisecond, or is this robot kind of slow?
(Even slow JavaScript can count to about 4 million within one second on my machine.)
Obligatory programmer’s joke:
while ( !is_asleep() ) { sheepCount++; }
Obligatory xkcd reference:
https://xkcd.com/571/
(btw, with 64 bit integer and 1 count per nanosecond, overflow/rollover expected after about 292 years)
An excellent comment!
You’d think it would just call sleep(28800)
It should switch to counting in binary! 😀