Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 16hvjxcuYu3K1Af9qTqhThDKa8xjBqVvC6 https://explorer.blockstack.org/address/16hvjxcuYu3K1Af9qTqhThDKa8xjBqVvC6
@benbu
benbu / uvcdat profile cumtime
Created November 22, 2013 17:30
python profile of uvcdat startup, sorted by cumulative time
~/src/uvcdat$ python -m cProfile -o profile_dump vistrails/vistrails/uvcdat.py
~/src/uvcdat$ python -m pstats
% read profile_dump
profile_dump% sort cumtime
profile_dump% stats 50
Fri Nov 22 10:23:41 2013 profile_dump
6055258 function calls (5987660 primitive calls) in 19.721 seconds
Ordered by: cumulative time
@benbu
benbu / VisIt-configure-err.log
Created November 8, 2013 17:03
Configure error log for VisIt built inside UV-CDAT
CMake Warning (dev) in CMakeLists.txt:
Syntax Warning in cmake code at
/home/benbu/src/uvcdat/build/build/VisIt/CMakeLists.txt:721:38
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Syntax Warning in cmake code at
@benbu
benbu / gist:7306332
Created November 4, 2013 17:38
ESMF build error log for UVCDAT 1.4 on Ubuntu 12.04
Make Errors detected:
--------------------------------------------------------------
Make version:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
@benbu
benbu / esgf_geoweb
Created October 15, 2013 21:17
xml from an esgf query
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">34</int>
<lst name="params">
<str name="fl">*,score</str>
<str name="echoParams">all</str>
<str name="tie">0.01</str>
<str name="qf">text</str>
@benbu
benbu / vgl ctest output
Created October 15, 2013 15:17
vgl ctest output
~/src/climatepipes/vgl_build$ ctest
Test project /Users/benbu/src/climatepipes/vgl_build
Start 1: jslint-/Users/benbu/src/climatepipes/vgl/src/init.js
1/39 Test #1: jslint-/Users/benbu/src/climatepipes/vgl/src/init.js ....................... Passed 0.10 sec
Start 2: jslint-/Users/benbu/src/climatepipes/vgl/src/timestamp.js
2/39 Test #2: jslint-/Users/benbu/src/climatepipes/vgl/src/timestamp.js .................. Passed 0.09 sec
Start 3: jslint-/Users/benbu/src/climatepipes/vgl/src/object.js
3/39 Test #3: jslint-/Users/benbu/src/climatepipes/vgl/src/object.js ..................... Passed 0.09 sec
Start 4: jslint-/Users/benbu/src/climatepipes/vgl/src/command.js
4/39 Test #4: jslint-/Users/benbu/src/climatepipes/vgl/src/command.js .................... Passed 0.09 sec
@benbu
benbu / uvcdat startup profile dump
Created October 3, 2013 14:55
A cProfile dump of uvcdat startup. (which commands to reproduce at the top)
~/src/uvcdat$ python -m cProfile -o profile_dump vistrails/vistrails/uvcdat.py
~/src/uvcdat$ python -m pstats
% read profile_dump
profile_dump% sort time
profile_dump% stats
Thu Oct 3 10:33:49 2013 profile_dump
6295159 function calls (6228619 primitive calls) in 21.119 seconds
Ordered by: internal time
@benbu
benbu / gist:6001292
Created July 15, 2013 16:19
Segfault dump uvcdat issue 51 animation bug
Process: Python [61491]
Path: /Users/USER/*/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: org.python.python
Version: 2.7.3 (2.7.3)
Code Type: X86-64 (Native)
Parent Process: bash [30337]
User ID: 501
Date/Time: 2013-07-15 12:13:29.640 -0400
OS Version: Mac OS X 10.8.4 (12E55)
@benbu
benbu / gist:5364738
Created April 11, 2013 16:10
Segfault dump uvcdat issue 158
[macbookpro-5f35:21241] *** Process received signal ***
[macbookpro-5f35:21241] Signal: Segmentation fault: 11 (11)
[macbookpro-5f35:21241] Signal code: Address not mapped (1)
[macbookpro-5f35:21241] Failing at address: 0x58
[macbookpro-5f35:21241] [ 0] 2 libsystem_c.dylib 0x00007fff918538ea _sigtramp + 26
[macbookpro-5f35:21241] [ 1] 3 ??? 0x4089000000000000 0x0 + 4650248090236747776
[macbookpro-5f35:21241] [ 2] 4 Python 0x000000010ce11082 PyErr_SetString + 50
[macbookpro-5f35:21241] [ 3] 5 _vcs.so 0x00000001190910df generate_auto_fill_range + 175
[macbookpro-5f35:21241] [ 4] 6 _vcs.so 0x0000000118fc9cfd isofills + 4013
[macbookpro-5f35:21241] [ 5] 7 _vcs.so 0x0000000118fc56e9 vcs_canvas_update + 2617