News for hackers. Stuff that matters.
Re:Show HN: RetroClip – Instant Replay for Your Mac by archagon on Wednesday January 24, 2018 @09:44PM (#16228357)
Hi! I’m also working on a side project that has to capture screen data in real-time. Do you by chance know if there’s a way to exclude a window from the capture without resorting to the slow CGWindowListCreateImage API?

[1]: https://github.com/archagon/degausser

Re:Show HN: RetroClip – Instant Replay for Your Mac by TheTon on Wednesday January 24, 2018 @10:16PM (#16228479)
Sorry, I don’t. I mean, you could of course identify the unobscured area of the window and paint over it pretty quickly, but if you wanted to draw what’s behind that I don’t know of a way to do that efficiently.
Re:Show HN: RetroClip – Instant Replay for Your Mac by archagon on Wednesday January 24, 2018 @10:38PM (#16228547)
Bummer! Just thought I'd ask.

Really neat project, by the way: I love seeing technically elegant solutions to these kinds of singular problems! Did you run into any Mac App Store sandboxing restrictions with respect to capturing the screen?

Re:Show HN: RetroClip – Instant Replay for Your Mac by TheTon on Thursday January 25, 2018 @12:17AM (#16228945)
No sandbox problems to report :)
Re:Show HN: RetroClip – Instant Replay for Your Mac by Operyl on Thursday January 25, 2018 @01:36AM (#16229227)
Dunno if I should be impressed or going “what the hell?” Seems kind of absurd that they enforce the sandbox pretty heavily in the MAS just to let things like that get by pretty easily. Apple confuses me.