Skip to content

Instantly share code, notes, and snippets.

Avatar

Tamas Nagy lov

View GitHub Profile
View gist:fdb3de1683b292951c008b5fc0949f34
{
"FULL_PATH": "/mitti",
"DESCRIPTION": "root node"
"CONTENTS": {
"loopOn": {
"TYPE": "N",
"FULL_PATH": "/mitti/loopOn",
"DESCRIPTION": "Turns on Playlist Looping."
},
"triggerPrevCue": {
@lov
lov / gist:3357fd9d68863a453a6651c82343fcb2
Last active Dec 30, 2017
Vezér JSON Import Format
View gist:3357fd9d68863a453a6651c82343fcb2
{
"keyframes": [{
"time": "0",
"value": 0.3
}, {
"time": "1:03",
"value": 0.122323,
"colorValue": [128, 72, 255]
}, {
"time": "2:00",
View NDI compatible software
* Mitti (http://imimot.com/mitti/)
* MixEmergency (http://www.inklen.com/mixemergency)
* Millumin (http://www.millumin.com/v2/index.php)
* AI (https://www.avolites.com)
* d3 (http://www.d3technologies.com)
* TouchDesigner (http://www.derivative.ca)
* Resolume (http://resolume.com)
@lov
lov / gist:8cfa6d36a4d7c6f0f8f46de8dd6dc841
Last active Feb 13, 2018
Vezér Interpolation types
View gist:8cfa6d36a4d7c6f0f8f46de8dd6dc841
"none"
"linear"
"quadratic-in"
"quadratic-out"
"quadratic-in-out"
"cubic-in"
"cubic-out"
@lov
lov / libdispatch-efficiency-tips.md
Created Sep 17, 2020 — forked from tclementdev/libdispatch-efficiency-tips.md
Making efficient use of the libdispatch (GCD)
View libdispatch-efficiency-tips.md

libdispatch efficiency tips

The libdispatch is one of the most misused API due to the way it was presented to us when it was introduced and for many years after that, and due to the confusing documentation and API. This page is a compilation of important things to know if you're going to use this library. Many references are available at the end of this document pointing to comments from Apple's very own libdispatch maintainer (Pierre Habouzit).

My take-aways are:

  • You should create very few, long-lived, well-defined queues. These queues should be seen as execution contexts in your program (gui, background work, ...) that benefit from executing in parallel. An important thing to note is that if these queues are all active at once, you will get as many threads running. In most apps, you probably do not need to create more than 3 or 4 queues.

  • Go serial first, and as you find performance bottle necks, measure why, and if concurrency helps, apply with care, always validating under system pressure. Reuse

You can’t perform that action at this time.