Live data from Hacker News

Hydra: A lightweight OS X window manager with a powerful API

github.com

101–110 of 157 posts

Re: Hydra: A lightweight OS X window manager with a powerful API

#101
post #47

Cool tool. Would be a good idea to get it on homebrew for one liner install. I noticed when checking whether it was on homebrew that there's another piece of software already by that name that could be worth avoiding (despite being an almost perfect name for what this does).

I think GUI apps only go in cask[1] not homebrew. But yeah, totally a good idea to put it in there. Thanks! Can you file an issue for this in Hydra?

[1]: http://caskroom.io/

Re: Hydra: A lightweight OS X window manager with a powerful API

#102
post #91

Earlier quoted context omitted.

I don't think "Must never use more than 10 MB of memory" is a reasonable standard to hold all software to.

Nope, but I would venture to guess that most software would be improved by sticking to that.

I don't even feel confident in that claim. If keeping memory usage under 10 MB requires a significant amount of developer effort, that is effort that isn't going into something else that I might value a lot more than, say, 20 MB of RAM.

Re: Hydra: A lightweight OS X window manager with a powerful API

#103

I have a somewhat related question for anyone with chrome devtools experience. Is it possible to control the size (width and height) of the chrome debugger panel using the devtools api? I want to build a chrome extension that provides window management like Hydra or spectacle, but for the developer tools window. Building hot keys that could do things like send the console window exactly half screen in any direction o…

Unfortunately, it doesn't appear to be possible. See https://groups.google.com/a/chromium.org/forum/#!topic/chrom...

Re: Hydra: A lightweight OS X window manager with a powerful API

#104
post #91

This looks great, but my favourite thing might be the Principles section: > Hydra must be stable. It should never crash > Hydra must be lightweight... never use more than 10 MB of memory > API should be completely transparent > API must not be bloated I think these principles should be the standard to which we all hold our software. Looking forward to testing this out! Edit to say: it would be really great to see som…

I don't think "Must never use more than 10 MB of memory" is a reasonable standard to hold all software to.

To put this in perspective, a full screen application running on a Retina display needs at least 40MB total for its front and back buffers.

Re: Hydra: A lightweight OS X window manager with a powerful API

#105

Earlier quoted context omitted.

I'm very glad to hear that. I was expecting a lot of people to be disappointed that it's not JS, but honestly I think Lua is a lot cleaner and simpler, and it is just so small and easy to integrate with in C, it's really hard not to use it in a project!

Put me on the list of disappointed that it's not JS.

Ugh, seriously.

This is pretty sad considering the immense capabilities of JS.

Re: Hydra: A lightweight OS X window manager with a powerful API

#107
post #103

I have a somewhat related question for anyone with chrome devtools experience. Is it possible to control the size (width and height) of the chrome debugger panel using the devtools api? I want to build a chrome extension that provides window management like Hydra or spectacle, but for the developer tools window. Building hot keys that could do things like send the console window exactly half screen in any direction o…

Unfortunately, it doesn't appear to be possible. See https://groups.google.com/a/chromium.org/forum/#!topic/chrom...

Thank you! I searched google groups but was unable to find something like this. I did try and code up a simple prototype and ran into the same scope issues as the author of the linked thread.

Re: Hydra: A lightweight OS X window manager with a powerful API

#108
post #56

I've been using Slate[1] for a while which may be worth considering as an alternative. Hydra does look pretty slick, though! [0] https://github.com/jigish/slate

I'm another Slate user -- looks like Hydra is a spiritual successor... I'll give it a go.

Second that. I’m still happy with Slate, but prefer an active developed solution.

Re: Hydra: A lightweight OS X window manager with a powerful API

#110

sdegutis: would it be possible to get spaces / mission control into the API? That is, if it's not already there; I looked in every module and couldn't find anything that looked applicable. Farthest I got was screen.mainscreen()["__screen"], which is a userdata.

Probably. I think Amethyst does this, so we should be able to too. Can you file an issue for this feature request? Thanks.

https://github.com/sdegutis/hydra/issues/116
Post reply on HN