The notebook is viewable as such here. The storage isn't strictly as efficient as it could be, but it's pretty darn good. And the size of that storage only goes as jmax**2
.
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
#! /usr/bin/env python | |
import sys | |
import h5py | |
for filename in sys.argv[1:] : | |
with h5py.File(filename, 'r+') as f : | |
for group in list(f) : | |
f[group+'.dir'] = f[group] | |
del(f[group]) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Remove trailing whitespace, and replace tabs with the appropriate number of spaces | |
for file in `find . -name "*.?pp"`; do | |
echo "$file"; /usr/local/bin/emacs --batch "$file" \ | |
--eval '(setq-default indent-tabs-mode nil)' \ | |
--eval '(whitespace-cleanup)' \ | |
-f 'save-buffer' | |
done |
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
g++ -pthread -shared build/temp.linux-x86_64-2.7/Quaternions/Quaternions.o build/temp.linux-x86_64-2.7/Quaternions/IntegrateAngularVelocity.o build/temp.linux-x86_64-2.7/Quaternions/Utilities.o build/temp.linux-x86_64-2.7/PostNewtonian/C++/PNEvolution.o build/temp.linux-x86_64-2.7/PostNewtonian/C++/PNEvolution_Q.o build/temp.linux-x86_64-2.7/PostNewtonian/C++/PNWaveformModes.o build/temp.linux-x86_64-2.7/SphericalFunctions/Combinatorics.o build/temp.linux-x86_64-2.7/SphericalFunctions/WignerDMatrices.o build/temp.linux-x86_64-2.7/SphericalFunctions/SWSHs.o build/temp.linux-x86_64-2.7/SpacetimeAlgebra/SpacetimeAlgebra.o build/temp.linux-x86_64-2.7/Utilities.o build/temp.linux-x86_64-2.7/Waveforms.o build/temp.linux-x86_64-2.7/PNWaveforms.o build/temp.linux-x86_64-2.7/Scri.o build/temp.linux-x86_64-2.7/SWIG/GWFrames_wrap.o -Lspinsfast/lib -L/usr/local/gsl/1.16/lib -L/usr/local/fftw3-3.2.2/lib -lgsl -lgslcblas -lfftw3 -lspinsfast -o build/lib.linux-x86_64-2.7/_GWFrames.so -fPIC | |
build/temp.linux-x86_64-2.7/Wavefo |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
The notebook is viewable as such here. The storage isn't quite as efficient as it could be, but I think it's about as good as can be expected with simple indexing. The size of that storage only goes as jmax**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
#! /usr/bin/env python | |
"""Generate a sequence of random words for use in a password/passphrase | |
On my Mac, the `words` file referenced in the script has 235886 (roughly 2**18) | |
entries. If you select N of those words randomly, you get roughly 18*N bits of | |
entropy for a password. | |
I like to generate a list about 10 words long, then choose about 6 of them to | |
form a sentence -- a ridiculous sentence, but still a sentence. You might have |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer