This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting program: /Applications/Pd-extended.app/Contents/Resources/bin/pdextended manta-help.pd | |
Reading symbols for shared libraries . done | |
Reading symbols for shared libraries . done | |
Reading symbols for shared libraries . done | |
StartNotification name = default | |
tk scaling is 0.999781005071 | |
Pt_Start() called | |
Reading symbols for shared libraries ++ done | |
Reading symbols for shared libraries + done | |
Reading symbols for shared libraries + done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/Manta.cpp b/core/Manta.cpp | |
index ebf4485..4e7f8a9 100644 | |
--- a/core/Manta.cpp | |
+++ b/core/Manta.cpp | |
@@ -48,37 +48,56 @@ void Manta::FrameReceived(int8_t *frame) | |
/* input frames have one reportID byte at the beginning */ | |
for(int i = 1; i < 53; ++i) | |
{ | |
+ /* | |
+ * overall pad logic: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Doppel2Serializer(serializers.HyperlinkedModelSerializer): | |
@property | |
def data(self): | |
'''If a collection was requested (self.many is True), then we want to | |
return the full collection resource, including its own URL. This is | |
mostly cribbed from the BaseSerializer definition''' | |
if self._data is None: | |
obj = self.object | |
if self.many: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function unwrap(v, inplace=false) | |
# currently assuming an array | |
unwrapped = inplace ? v : copy(v) | |
for i in 2:length(v) | |
while unwrapped[i] - unwrapped[i-1] >= pi | |
unwrapped[i] -= 2pi | |
end | |
while unwrapped[i] - unwrapped[i-1] <= -pi | |
unwrapped[i] += 2pi | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_links":{ | |
"self":{ | |
"href":"http://example.com/sensors/523" | |
}, | |
"curies":[ | |
{ | |
"name":"rel", | |
"href":"http://docs.example.com/relations/{rel}", | |
"templated":true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type BufContainer | |
inc_amt::Float32 | |
buf::Array{Float32} | |
BufContainer(inc_amt) = new(inc_amt, Array(Float32, 1024)) | |
end | |
function with_alloc(cont::BufContainer) | |
buf = Array(Float32, 1024) | |
for i in 1:length(buf) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function for_in!(arr::Array{Float32}) | |
l::Int = length(arr) | |
for i::Int in 1:l | |
arr[i] += 2pi | |
end | |
gc() | |
end | |
function while_loop!(arr::Array{Float32}) | |
i::Int = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"self": {"href":"/orders"}, | |
"rel-templates":[ | |
{ | |
"name":"ea", | |
"href":"http://example.com/docs/rels/{rel}", | |
"templated":true | |
} | |
], | |
"next":{"href": "/orders?page=2"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.j/RunTests git:master ❯❯❯ julia-debug test/runtests.jl ⏎ | |
WARNING: tty_cols() is deprecated, use tty_size() instead | |
in tty_cols at deprecated.jl:149 | |
in include at /Users/srussell/local/src/julia/julia-3e30c5ab5f/lib/julia/sys.dylib | |
in include_from_node1 at /Users/srussell/local/src/julia/julia-3e30c5ab5f/lib/julia/sys.dylib | |
in include at /Users/srussell/local/src/julia/julia-3e30c5ab5f/lib/julia/sys.dylib | |
in include_from_node1 at /Users/srussell/local/src/julia/julia-3e30c5ab5f/lib/julia/sys.dylib | |
in reload_path at loading.jl:152 | |
in _require at loading.jl:67 | |
in require at loading.jl:51 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-02-13 11:47:59 chain-api chain.websocketd[48142] INFO websocketd.py started | |
2015-02-13 11:48:04 chain-api chain.websocketd[48142] INFO ws client connected for tag "site-15" | |
2015-02-13 11:48:04 chain-api chain.websocketd[48142] INFO ws client connected for tag "site-7" | |
2015-02-13 11:48:50 chain-api chain.websocketd[48142] INFO ws client connected for tag "site-5" | |
2015-02-13 11:50:08 chain-api chain.websocketd[48142] INFO ws client connected for tag "site-5" | |
2015-02-13 11:53:59 chain-api chain.websocketd[48142] INFO ws client connected for tag "site-15" | |
2015-02-13 11:55:04 chain-api chain.websocketd[48142] INFO ws client connected for tag "site-15" | |
2015-02-13 11:55:53 chain-api chain.websocketd[48142] INFO Caught Error sending to client: Socket is dead | |
2015-02-13 11:55:53 chain-api chain.websocketd[48142] INFO Disconnecting ZMQ Socket for tag "site-15" | |
2015-02-13 11:55:53 chain-api chain.websocketd[48142] INFO Caught Error sending to client: Socket is dead |
OlderNewer