News for hackers. Stuff that matters.
Re:Hammerspoon – Powerful automation of OS X with Lua by sdegutis on Thursday July 14, 2016 @06:09PM (#12097567)
Hammerspoon is amazing, and even more impressively, it's amazingly well maintained and its API is incredibly well thought out by its really talented development team. It really is a must-have for anyone who wants ultimate programmatic control over OS X.

Check out the really gentle follow-along tutorial:

http://www.hammerspoon.org/go/

Re:Hammerspoon – Powerful automation of OS X with Lua by cmsj on Thursday July 14, 2016 @06:23PM (#12097653)
You're too kind :)

I think we made some terrible API decisions, but we'll fix them up eventually!

(Also for those following along at home, sdegutis is the author of a long line of OS X automation tooling, up to and including Mjolnir, which we forked to make Hammerspoon. He is awesome)

Re:Hammerspoon – Powerful automation of OS X with Lua by jasonm23 on Thursday July 14, 2016 @10:43PM (#12098661)
That's right. Sdegutis built Zephyros (Ruby OSX automation, also other Lang support), then Phoenix (JavaScript OSX Automation), then Hydra (Lua based) which became Mjolnir, which is forked to Hammerspoon.

Phoneix lives on as Phoenix 2.2 https://github.com/kasper/phoenix

Re:Hammerspoon – Powerful automation of OS X with Lua by hacker42 on Friday July 15, 2016 @05:20AM (#12099738)
I'm sticking to Phoenix. Are there any advantages in using Lua script instead of JavaScript?
Re:Hammerspoon – Powerful automation of OS X with Lua by jasonm23 on Friday July 15, 2016 @06:34AM (#12099984)
If you prefer Lua there is. I don't see any advantages myself. Phoneix is a permanent fixture on all my macs.
Re:Hammerspoon – Powerful automation of OS X with Lua by khirviko on Saturday July 16, 2016 @06:04PM (#12108053)
It’s nice we have great options to choose from. Everyone has their own preferences. :)
Re:Hammerspoon – Powerful automation of OS X with Lua by swsieber on Thursday July 14, 2016 @06:56PM (#12097812)
I'm curious - what do you think were terrible API decisions?