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
In [13]: %cpaste | |
Pasting code; enter '--' alone on the line to stop or use Ctrl-D. | |
:In [1]: df = pd.DataFrame({'A' : ['foo', 'bar', 'foo', 'bar', | |
: ...: 'foo', 'bar', 'foo', 'foo'], | |
: ...: 'B' : ['one', 'one', 'two', 'three', | |
: ...: 'two', 'two', 'one', 'three'], | |
: ...: 'C' : np.random.randn(8), | |
: ...: 'D' : np.random.randn(8)}) | |
:-- |
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
File "/root/miniconda/envs/boldmetrics/lib/python2.7/site-packages/flask/app.py" line 1817 in wsgi_app [args] | |
response = self.full_dispatch_request() | |
2 | |
File "/root/miniconda/envs/boldmetrics/lib/python2.7/site-packages/flask/app.py" line 1477 in full_dispatch_request [args] | |
rv = self.handle_user_exception(e) | |
3 | |
File "/root/miniconda/envs/boldmetrics/lib/python2.7/site-packages/flask/app.py" line 1381 in handle_user_exception [args] | |
reraise(exc_type, exc_value, tb) | |
4 |
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
Verifying that +aterrel is my blockchain ID. https://onename.com/aterrel |
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
data = [ | |
{ | |
"key_as_string": "1980-01-01T00:00:00.000Z", | |
"key": 315532800000, | |
"doc_count": 1 | |
}, | |
{ | |
"key_as_string": "1981-01-01T00:00:00.000Z", | |
"key": 347155200000, | |
"doc_count": 1 |
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
import bokeh.plotting as plt | |
words = ['air', 'atm', 'atm', 'complexes', 'internal', 'oxidizer'] | |
topics = ['b', 'a', 'b', 'a', 'a', 'b'] | |
sizes = [0.17070214219087501, | |
0.20783267646346201, | |
0.17070214219087501, | |
0.20783267646346201, | |
0.20783267646346201, |
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
from __future__ import division | |
import numpy as np | |
# "cimport" is used to import special compile-time information | |
# about the numpy module (this is stored in a file numpy.pxd which is | |
# currently part of the Cython distribution). | |
cimport numpy as np | |
# We now need to fix a datatype for our arrays. I've used the variable | |
# DTYPE for this, which is assigned to the usual NumPy runtime | |
# type info object. | |
DTYPE = np.int |
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
$ cat /etc/redhat-release | |
Scientific Linux release 6.3 (Carbon) | |
$ module --version | |
Modules based on Lua: Version 3.4.1 2012-05-23 13:21 | |
by Robert McLay [email protected] | |
$ ls -l `which modulecmd` | |
lrwxrwxrwx 1 aterrel chg 33 Mar 22 21:15 /workspace/opt/apps/easybuild/1.2.0/bin/modulecmd -> /usr/local/lmod/lmod/libexec/lmod |
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
| [10-30 13:26] aterrel@172-30-28-152:~/scratch (13.996 Mb) | |
$ hg clone http://petsc.cs.iit.edu/petsc/BuildSystem | |
destination directory: BuildSystem | |
requesting all changes | |
adding changesets | |
adding manifests | |
adding file changes | |
added 2876 changesets with 4053 changes to 208 files | |
updating to branch default | |
119 files updated, 0 files merged, 0 files removed, 0 files unresolved |
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
c210-104$ ./src/benchmarks/benchmarkExample.py --events IntegBatchCPU IntegBatchGPU IntegGPUOnly --num 52 DMComplex --refine 0.0625 0.00625 0.000625 0.0000625 0.00003125 0.000015625 0.0000078125 0.00000390625 --blockExp 4 --order 1 CPU='dm_view show_residual=0 compute_function batch' GPU='dm_view show_residual=0 compute_function batch gpu gpu_batches=8' | |
Namespace(batch=False, blockExp=['4'], dim=2, events=['IntegBatchCPU', 'IntegBatchGPU', 'IntegGPUOnly'], library='SNES', module='summary', num=52, operator='laplacian', order=1, refine=['0.0625', '0.00625', '0.000625', '0.0000625', '0.00003125', '0.000015625', '0.0000078125', '0.00000390625'], runs=['CPU=dm_view show_residual=0 compute_function batch', 'GPU=dm_view show_residual=0 compute_function batch gpu gpu_batches=8'], stage='Main_Stage') | |
./bin/pythonscripts/PetscGenerateFEMQuadrature.py 2 1 1 16 laplacian /home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52.h | |
[{(-1.0, -1.0): [(1.0, ())]}, {(1.0, -1.0): [(1.0, ())]}, {(-1.0, 1.0): [(1.0, ())]}] |
NewerOlder