Skip to content

Instantly share code, notes, and snippets.

View jdangerx's full-sized avatar
🐢
writing slow code slowly

Dazhong Xia jdangerx

🐢
writing slow code slowly
  • Catalyst Cooperative
  • Cambridge, MA
View GitHub Profile
FFEFFFEFFFEFFFEFFFEFFEFFEFFEFFEFFEFFEFFEFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFEFFEFFEFFFFE.FEE........FFEFFEFFEFFEFFEFFEFFEFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFFEFFEFFEFFEFFEFFEFFEFFEFFEEFEEFEEFEFFEFFEFFFEFFEFFEFFEFFEFFE
======================================================================
ERROR: test_basic.test_results
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/john/.virtualenvs/pyne/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/john/openmc/tests/test_basic/test_basic.py", line 33, in test_results
call(['python', 'results.py', statepoint[0]])
IndexError: list index out of range
.d88888b. 888b d888 .d8888b.
d88P" "Y88b 8888b d8888 d88P Y88b
888 888 88888b.d88888 888 888
888 888 88888b. .d88b. 88888b. 888Y88888P888 888
888 888 888 "88b d8P Y8b 888 "88b 888 Y888P 888 888
888 888 888 888 88888888 888 888 888 Y8P 888 888 888
Y88b. .d88P 888 d88P Y8b. 888 888 888 " 888 Y88b d88P
"Y88888P" 88888P" "Y8888 888 888 888 888 "Y8888P"
__________________888______________________________________________________
@jdangerx
jdangerx / gist:df8cb80e2b8ee0b0e492
Created August 12, 2014 16:54
Pocketsphinx.js test failures
With living recognizer: Recognizing audio (18, 16, 34)Rerun97 ms
Recognizer instantiated successfully
Recognizer should process successfully
Recognizer should stop successfully
Recognizer should recognize the correct utterance
Segmentation should be initialized empty
okay
Segmentation should not be empty after filled in
Value stored in Segmentation should be the correct one
@jdangerx
jdangerx / gist:98797f22ba045009b6d2
Created October 8, 2014 01:17
pyne test failure
EEEEEEE................................SEEEEEE.............................ESSEESEE..................E..............S
======================================================================
ERROR: Failure: ImportError (/home/john/.virtualenvs/cnerg/lib/python3.4/site-packages/pyne/nucname.cpython-34m.so: undefined symbol: _ZN4pyne7nucname7zz_nameE)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/john/.virtualenvs/cnerg/lib/python3.4/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/john/.virtualenvs/cnerg/lib/python3.4/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/home/john/.virtualenvs/cnerg/lib/python3.4/site-packages/nose/importer.py", line 47, in importFromPath
@jdangerx
jdangerx / gist:f67e64c3f64c92a08e55
Created October 9, 2014 03:59
new pyne test failures
.............................................................................EESS.SSSSSS.................................S....EEEE....................................................................../home/john/pyne/tests/test_endf.py:842: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
obs = library.integrate_tab_range(1, exp_Eint, exp_xs)
...............................................................................................................................................E.EF................................SSSSSSS.........................................................................................................................................................................................S.............................................................................................................S
======================================================================
ERROR: test_ace.test_read_c12_ascii
--------------------------------------
@jdangerx
jdangerx / log
Last active August 29, 2015 14:07
new new pyne test failures
E.....................................E.................................EEESS.SSSSSS...................................................S.E.EEEEE.................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEE.E............./home/john/pyne/tests/test_endf.py:842: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
obs = library.integrate_tab_range(1, exp_Eint, exp_xs)
...........................................................................E........................SSSSSSS................................................................................................................FE..........................................................EEEE................S.....................................................................S.....................................................................S
======================================================================
ERROR: test suite for <module 'transmute.test_chainsolve' from '/home/john/pyne/tests/transmute/test_c
@jdangerx
jdangerx / geometry
Last active August 29, 2015 14:10
openmc failure with code -9
<?xml version="1.0"?>
<geometry>
<cell id="1" fill="5" surfaces="1 -2 3 -4" />
<cell id="101" universe="1" material="1" surfaces="-5" />
<cell id="102" universe="1" material="void" surfaces="5 -6" />
<cell id="103" universe="1" material="3" surfaces="6 -7" />
<cell id="104" universe="1" material="2" surfaces="7" />
<cell id="201" universe="2" material="2" surfaces="8" />
<cell id="302" universe="3" material="3" surfaces="9" />
<lattice id="5">
@jdangerx
jdangerx / full_output
Last active August 29, 2015 14:10
segfaulting openmc tallies.xml
.d88888b. 888b d888 .d8888b.
d88P" "Y88b 8888b d8888 d88P Y88b
888 888 88888b.d88888 888 888
888 888 88888b. .d88b. 88888b. 888Y88888P888 888
888 888 888 "88b d8P Y8b 888 "88b 888 Y888P 888 888
888 888 888 888 88888888 888 888 888 Y8P 888 888 888
Y88b. .d88P 888 d88P Y8b. 888 888 888 " 888 Y88b d88P
"Y88888P" 88888P" "Y8888 888 888 888 888 "Y8888P"
__________________888______________________________________________________
@jdangerx
jdangerx / geometry.xml
Created December 2, 2014 17:20
Fortran runtime error in OpenMC tallies
<?xml version="1.0"?>
<geometry>
<cell id="1" fill="5" surfaces="1 -2 3 -4" />
<cell id="101" universe="1" material="1" surfaces="-5" />
<cell id="102" universe="1" material="void" surfaces="5 -6" />
<cell id="103" universe="1" material="3" surfaces="6 -7" />
<cell id="104" universe="1" material="2" surfaces="7" />
<cell id="201" universe="2" material="2" surfaces="8" />
<cell id="302" universe="3" material="3" surfaces="9" />
<lattice id="5">
@jdangerx
jdangerx / townhall.md
Last active August 29, 2015 14:21
some thoughts about scav townhall

Overarching points

  • we need captains by the end of this year, and house reps would be great also. I think we're all agreed on this.
  • continuing workshops / build nights next year is very important to me personally and I think would do wonders for recruitment, sense of community, and skill training. To make sure this happens, we need a point person, since I won't be around physically. Whoever does this will have my full remote support.
  • in my opinion, team organization doesn't make a huge difference in