Skip to content

Instantly share code, notes, and snippets.

View kscottz's full-sized avatar
💭
🐀 🐀 🐀 🐀 🐀 🐀

Katherine Scott kscottz

💭
🐀 🐀 🐀 🐀 🐀 🐀
View GitHub Profile
Katherine-Scotts-MacBook-Air:ecto_kitchen katherinescott$ make
[ 13%] Built target ecto
[ 26%] Built target ecto_ectomodule
[ 47%] Built target ecto_test_ectomodule
[ 54%] Built target ecto-test
[ 55%] Built target hello_ecto_ectomodule
[ 55%] Built target ecto_X_ectomodule
[ 59%] Built target ecto_examples_ectomodule
[ 62%] Built target ecto_overview_ectomodule
[ 63%] Built target functor
Katherine-Scotts-MacBook-Air:ecto_kitchen katherinescott$ cmake CMakeLists.txt
-- GCC version: 4.2.1
-- ecto_kitchen commit: 0cea0239996c5124da5c419ff895b4f28ed19d88
-- ecto_kitchen tag: 0cea023-dirty
-- ecto_kitchen last_mod: Mon, 15 Aug 2011 17:46:37 -0700
-- Initializing kitchen with projects ecto opencv
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- -~v/^\v~- ecto
-- Building ecto version: 0.1.0
-- Building ecto code name: ameoba-beta0
@kscottz
kscottz / OrangeEasyInstallFails
Created August 18, 2011 21:25
Orange easy_install fails on OSX
Katherine-Scotts-MacBook-Air:/ katherinescott$ easy_install orange
Searching for orange
Reading http://pypi.python.org/simple/orange/
Reading http://orange.biolab.si
Reading http://orange.biolab.si/svn/orange/trunk
Best match: Orange 2.0.0b
Downloading http://pypi.python.org/packages/source/O/Orange/Orange-2.0.0b.tar.gz#md5=04d628288122020c00bb9f90ea979c3a
Processing Orange-2.0.0b.tar.gz
Running Orange-2.0.0b/setup.py -q bdist_egg --dist-dir /var/folders/2j/2jXZn3b-FYyImpVMAyf4pE+++TI/-Tmp-/easy_install-EObnyP/Orange-2.0.0b/egg-dist-tmp-pLOrm2
package init file '__init__.py' not found (or not a regular file)
Katherine-Scotts-MacBook-Air:orange katherinescott$ ipython
WARNING: Configuration file ipythonrc not found. Ignoring request.
------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/ipython-0.10.2-py2.6.egg/IPython/ConfigLoader.py", line 66, in load
fname = filefind(fname,incpath)
File "/Library/Python/2.6/site-packages/ipython-0.10.2-py2.6.egg/IPython/genutils.py", line 554, in filefind
' not found in current or supplied directories:' + `alt_dirs`
IOError: File'ipythonrc' not found in current or supplied directories:u'/Users/katherinescott/.ipython'
Katherine-Scotts-MacBook-Air:~ katherinescott$ easy_install orange
Searching for orange
Reading http://pypi.python.org/simple/orange/
Reading http://orange.biolab.si
Reading http://orange.biolab.si/svn/orange/trunk
Best match: Orange 2.0.0b
Downloading http://pypi.python.org/packages/source/O/Orange/Orange-2.0.0b.tar.gz#md5=04d628288122020c00bb9f90ea979c3a
Processing Orange-2.0.0b.tar.gz
Running Orange-2.0.0b/setup.py -q bdist_egg --dist-dir /var/folders/2j/2jXZn3b-FYyImpVMAyf4pE+++TI/-Tmp-/easy_install-mc9Ybc/Orange-2.0.0b/egg-dist-tmp-Ffm4ty
package init file '__init__.py' not found (or not a regular file)
Katherine-Scotts-MacBook-Air:~ katherinescott$ easy_install orange
Searching for orange
Reading http://pypi.python.org/simple/orange/
Reading http://orange.biolab.si
Reading http://orange.biolab.si/svn/orange/trunk
Best match: Orange 2.0.0b
Downloading http://pypi.python.org/packages/source/O/Orange/Orange-2.0.0b.tar.gz#md5=04d628288122020c00bb9f90ea979c3a
Processing Orange-2.0.0b.tar.gz
Running Orange-2.0.0b/setup.py -q bdist_egg --dist-dir /var/folders/2j/2jXZn3b-FYyImpVMAyf4pE+++TI/-Tmp-/easy_install-mc9Ybc/Orange-2.0.0b/egg-dist-tmp-Ffm4ty
package init file '__init__.py' not found (or not a regular file)
Katherine-Scotts-MacBook-Air:cloudanimator katherinescott$ python cloudanimator.py
[01/Sep/2011:11:42:21] ENGINE Listening for SIGHUP.
[01/Sep/2011:11:42:21] ENGINE Listening for SIGTERM.
[01/Sep/2011:11:42:21] ENGINE Listening for SIGUSR1.
[01/Sep/2011:11:42:21] ENGINE Bus STARTING
[01/Sep/2011:11:42:21] ENGINE Started monitor thread '_TimeoutMonitor'.
[01/Sep/2011:11:42:21] ENGINE Started monitor thread 'Autoreloader'.
[01/Sep/2011:11:42:22] ENGINE Serving on 0.0.0.0:8000
[01/Sep/2011:11:42:22] ENGINE Bus STARTED
def integral_image(img):
gnp = img.toGray().getNumpy()[:,:,0]
retVal = np.zeros(gnp.shape);
for i in range(gnp.shape[0]):#width
for j in range(gnp.shape[1]): #height
if( i > 0 and j > 0):
retVal[i,j] = retVal[i,j-1]; #add the entry above us
retVal[i,j] += retVal[i-1,j] #add everything to our left
retVal[i,j] -= retVal[i-1,j-1] #subtract off everything we count twice
retVal[i,j] += gnp[i,j] #our value
# let f = Array.make 10 0;;
val f : int array = [|0; 0; 0; 0; 0; 0; 0; 0; 0; 0|]
# let f = f.(0) <- 5;;
val f : unit = ()
# f;;
objc[55192]: Class CVSlider is implemented in both /usr/local/Cellar/opencv/2.2/lib/libopencv_highgui.2.2.dylib and /usr/local/lib/libopencv_highgui.2.3.dylib. One of the two will be used. Which one is undefined.
objc[55192]: Class CVView is implemented in both /usr/local/Cellar/opencv/2.2/lib/libopencv_highgui.2.2.dylib and /usr/local/lib/libopencv_highgui.2.3.dylib. One of the two will be used. Which one is undefined.
objc[55192]: Class CVWindow is implemented in both /usr/local/Cellar/opencv/2.2/lib/libopencv_highgui.2.2.dylib and /usr/local/lib/libopencv_highgui.2.3.dylib. One of the two will be used. Which one is undefined.
objc[55192]: Class CaptureDelegate is implemented in both /usr/local/Cellar/opencv/2.2/lib/libopencv_highgui.2.2.dylib and /usr/local/lib/libopencv_highgui.2.3.dylib. One of the two will be used. Which one is undefined.