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
sam@deb9:~/Downloads/powertabeditor/build$ make -k >> output_log.txt | |
/home/sam/Downloads/powertabeditor/source/score/voiceutils.cpp: In function ‘const Voice* VoiceUtils::getAdjacentVoice(const ScoreLocation&, int)’: | |
/home/sam/Downloads/powertabeditor/source/score/voiceutils.cpp:34:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (systemIndex >= 0 && systemIndex < location.getScore().getSystems().size()) | |
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/sam/Downloads/powertabeditor/source/score/voiceutils.cpp:37:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (staffIndex < nextSystem.getStaves().size()) | |
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/sam/Downloads/powertabeditor/source/score/utils/scoremerger.cpp: In function ‘int importNotes(ScoreLocation&, ScoreLocation&, bool, bool, int&, std::function<int(ScoreLocation&, ScoreLocation&)>)’: | |
/home/sam/Dow |
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
sam@deb9:~/Downloads$ git clone --recursive git://github.com/powertab/powertabeditor.git | |
Cloning into 'powertabeditor'... | |
remote: Counting objects: 17959, done. | |
remote: Compressing objects: 100% (7/7), done. | |
remote: Total 17959 (delta 0), reused 3 (delta 0), pack-reused 17952 | |
Receiving objects: 100% (17959/17959), 4.40 MiB | 1.33 MiB/s, done. | |
Resolving deltas: 100% (14112/14112), done. | |
Submodule 'external/Catch' (git://github.com/philsquared/Catch.git) registered for path 'external/Catch' | |
Submodule 'external/pugixml' (git://github.com/zeux/pugixml.git) registered for path 'external/pugixml' | |
Submodule 'external/rapidjson' (git://github.com/miloyip/rapidjson.git) registered for path 'external/rapidjson' |
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
using DSP, Base.Test | |
include("fir2_filter.jl") | |
# `freq` and `gain` have different lengths. | |
@test_throws ErrorException firwin2(50, [0, 0.5, 1], [0.0, 1.0]) | |
## # `nfreqs` is less than `ntaps`. | |
@test_throws ErrorException firwin2(50, [0, 0.5, 1], [0.0, 1.0, 1.0], nfreqs=33) | |
## # Decreasing value in `freq` | |
@test_throws ErrorException firwin2(50, [0, 0.5, 0.4, 1.0], [0, .25, .5, 1.0]) |
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
using DSP | |
## using PyCall | |
## @pyimport numpy | |
function interp1d{T<:Real, S<:Real, P<:Real}(grid::AbstractVector{T}, xp::AbstractVector{S}, yp::AbstractVector{P}) | |
if grid[1] < xp[1] | |
error("cannot extrapolate to lower values than x") | |
end | |
if grid[end] > xp[end] | |
error("cannot extrapolate to higher values than x") |
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
strace julia -e 'dlopen("libgettextlib")' 2>&1 | grep open | |
execve("/home/sam/bin/julia", ["julia", "-e", "dlopen(\"libgettextlib\")"], [/* 41 vars */]) = 0 | |
open("/home/sam/bin/juliaLang/julia/usr/bin/../lib/julia/tls/x86_64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/home/sam/bin/juliaLang/julia/usr/bin/../lib/julia/tls/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/home/sam/bin/juliaLang/julia/usr/bin/../lib/julia/x86_64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/home/sam/bin/juliaLang/julia/usr/bin/../lib/julia/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/home/sam/bin/juliaLang/julia/usr/bin/../lib/tls/x86_64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/home/sam/bin/juliaLang/julia/usr/bin/../lib/tls/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/home/sam/bin/juliaLang/jul |