Skip to content

Instantly share code, notes, and snippets.

View matejaputic's full-sized avatar

Mateja Putic matejaputic

  • University of Virginia
  • New York, NY
View GitHub Profile
@matejaputic
matejaputic / Error log
Last active August 29, 2015 14:13
object has no attribute 'new_objects' error when saving related objects
AttributeError at /admin/paxriver/dataset/3/
'DatapointFormFormSet' object has no attribute 'new_objects'
Request Method: POST
Request URL: http://localhost:8000/admin/paxriver/dataset/3/
Django Version: 1.7.1
Exception Type: AttributeError
Exception Value:
'DatapointFormFormSet' object has no attribute 'new_objects'
Exception Location: /usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py in construct_change_message, line 994
Python Executable: /usr/bin/python
This file has been truncated, but you can view the full file.
[ 1%] [ 1%] Building CXX object CMakeFiles/gtest.dir/if21/mp3t/nupic.core/external/common/src/gtest/gtest-all.cpp.o
Compiling Cap'n Proto schema nupic/proto/VectorFileSensorProto.capnp
[ 4%] [ 4%] [ 5%] [ 6%] [ 6%] [ 6%] Compiling Cap'n Proto schema nupic/proto/ClaClassifier.capnp
Compiling Cap'n Proto schema nupic/proto/ConnectionsProto.capnp
Compiling Cap'n Proto schema nupic/proto/BitHistory.capnp
Compiling Cap'n Proto schema nupic/proto/Map.capnp
Compiling Cap'n Proto schema nupic/proto/LinkProto.capnp
[ 8%] [ 8%] Compiling Cap'n Proto schema nupic/proto/RandomProto.capnp
Compiling Cap'n Proto schema nupic/proto/NetworkProto.capnp
Compiling Cap'n Proto schema nupic/proto/RegionProto.capnp
@matejaputic
matejaputic / CMakeCache.txt
Created September 8, 2015 03:59
Building nupic.core without root
# This is the CMakeCache file.
# For build in directory: /if21/mp3t/nupic.core/build/scripts
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
@matejaputic
matejaputic / CodeXL-mputic.log
Created September 15, 2015 17:07
CodeXL Teapot demo SIGPIPE error log
2015.09.15 09:32:53.067 #1442334773067 #INFO #0 #140673145891328 #outputLogFileHeader #/data/jenkins/workspace/CodeXL-1.8-Linux/release/CodeXL/1.8/CommonProjects/AMDTOSWrappers/src/common/osDebugLog.cpp #663 #This File contains debug printouts. Advanced Micro Devices, Inc. http://developer.amd.com/
2015.09.15 09:32:53.067 #1442334773067 #INFO #0 #140673145891328 #outputSessionHeader #/data/jenkins/workspace/CodeXL-1.8-Linux/release/CodeXL/1.8/CommonProjects/AMDTOSWrappers/src/common/osDebugLog.cpp #717 #OpenGL Renderer:
2015.09.15 09:32:53.067 #1442334773067 #INFO #0 #140673145891328 #outputSessionHeader #/data/jenkins/workspace/CodeXL-1.8-Linux/release/CodeXL/1.8/CommonProjects/AMDTOSWrappers/src/common/osDebugLog.cpp #717 # - Renderer Vendor: ATI Technologies Inc.
2015.09.15 09:32:53.067 #1442334773067 #INFO #0 #140673145891328 #outputSessionHeader #/data/jenkins/workspace/CodeXL-1.8-Linux/release/CodeXL/1.8/CommonProjects/AMDTOSWrappers/src/common/osDebugLog.cpp #717 # - Renderer Name: AMD Radeon R9 200 S
depbase=`echo src/capnp/compiler/capnpc-c++.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR='"/usr/local/include"' -pthread -fPIC -std=c++11 -m64 -fvisibility=hidden -Wall -Wreturn-type -Wunused -Wno-unused-parameter -pthread -MT src/capnp/compiler/capnpc-c++.o -MD -MP -MF $depbase.Tpo -c -o src/capnp/compiler/capnpc-c++.o src/capnp/compiler/capnpc-c++.c++ &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/capnp/compiler/module-loader.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR='"/usr/local/include"' -pthread -fPIC -std=c++11 -m64 -fvisibility=hidden -Wall -Wreturn-type -Wunused -Wno-unused-parameter -pthread -MT src/capnp/compiler/module-loader.o -MD -MP -MF $depbase.Tpo -c -o src/capnp/compiler/module-loader.o src/capnp/compiler/module-loader.c++ &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/ca
depbase=`echo src/capnp/compiler/capnpc-c++.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR='"/usr/local/include"' -pthread -fPIC -m64 -Wall -Wreturn-type -Wunused -Wno-unused-parameter -pthread -MT src/capnp/compiler/capnpc-c++.o -MD -MP -MF $depbase.Tpo -c -o src/capnp/compiler/capnpc-c++.o src/capnp/compiler/capnpc-c++.c++ &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/capnp/compiler/module-loader.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR='"/usr/local/include"' -pthread -fPIC -m64 -Wall -Wreturn-type -Wunused -Wno-unused-parameter -pthread -MT src/capnp/compiler/module-loader.o -MD -MP -MF $depbase.Tpo -c -o src/capnp/compiler/module-loader.o src/capnp/compiler/module-loader.c++ &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/capnp/compiler/capnp.o | sed 's|[^/]*$
[ 0%] [ 1%] [ 1%] [ 2%] Scanning dependencies of target gtest
Compiling Cap'n Proto schema nupic/proto/BitHistory.capnp
Compiling Cap'n Proto schema nupic/proto/VectorFileSensorProto.capnp
[ 3%] Compiling Cap'n Proto schema nupic/proto/ClaClassifier.capnp
[ 4%] Compiling Cap'n Proto schema nupic/proto/ConnectionsProto.capnp
Building CXX object CMakeFiles/gtest.dir/home/mputic/Documents/nupic.core/external/common/src/gtest/gtest-all.cpp.o
Compiling Cap'n Proto schema nupic/proto/LinkProto.capnp
[ 4%] [ 5%] Compiling Cap'n Proto schema nupic/proto/NetworkProto.capnp
[ 6%] [ 6%] [ 7%] Compiling Cap'n Proto schema nupic/proto/Map.capnp
Compiling Cap'n Proto schema nupic/proto/RandomProto.capnp
running develop
running egg_info
writing requirements to src/nupic.egg-info/requires.txt
writing src/nupic.egg-info/PKG-INFO
writing namespace_packages to src/nupic.egg-info/namespace_packages.txt
writing top-level names to src/nupic.egg-info/top_level.txt
writing dependency_links to src/nupic.egg-info/dependency_links.txt
reading manifest file 'src/nupic.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/nupic.egg-info/SOURCES.txt'
@matejaputic
matejaputic / develop.log
Created October 30, 2015 04:46
With static capnproto libs
/if21/mp3t/.local/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/if21/mp3t/.local/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/if21/mp3t/.local/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/if21/mp3t/.local/include/nupic/math/SparseBinaryMatrix.hpp:491: Warning 325: Nested struct not currently supported (lexicographic_order ignored)
nupic/bindings/algorithms.i:727: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition.
nupic/bindings/algorithms.i:757: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2.
/if21/mp3t/.local/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored.
/if21/mp3t/.local/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/if21/mp3t/.l
@matejaputic
matejaputic / _temp_4_Hawaii.cl
Created November 20, 2015 19:13
OpenCL sgemm returns -nan
typedef union GPtr {
__global float *f;
__global float2 *f2v;
__global float4 *f4v;
__global float8 *f8v;
__global float16 *f16v;
} GPtr;
typedef union LPtr {
__local float *f;