News for hackers. Stuff that matters.
Re:Show HN: Swiss Army Knife for Mac OS X by paxswill on Thursday July 14, 2016 @10:06PM (#12098551)
The basic command for keeping the machine awake is `caffeinate`, and has a few other nice options like changing what kind of sleep is prevented (disk, display, system) and also waiting on a PID (looks like that was added in 10.10).

Related to that is `pmset -g assertions` which will list all the various things that are keeping your machine from sleeping.

Re:Show HN: Swiss Army Knife for Mac OS X by therealmarv on Friday July 15, 2016 @06:55AM (#12100062)
strange, I always used `pmset noidle` instead of `caffeinate`. But seems it does the same. I somehow assumed `caffeinate` is the same as this app store thing called Caffeine.
Re:Show HN: Swiss Army Knife for Mac OS X by paxswill on Saturday July 16, 2016 @12:29PM (#12106873)
Using `pmset noidle` is now deprecated in favor of `caffeinate` according to the pmset man page.
Re:Show HN: Swiss Army Knife for Mac OS X by therealmarv on Wednesday July 20, 2016 @01:28PM (#12130818)
Good to know!