Skip to content

Instantly share code, notes, and snippets.

View ehermes's full-sized avatar

Eric Hermes ehermes

View GitHub Profile
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.12.5-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
if gt(G.x * G.y * G.z, 0):
# Procedure A3
i = 2 * gt(G.x, 0) - 1
j = 2 * gt(G.y, 0) - 1
k = 2 * gt(G.z, 0) - 1
# i = -1 if G.x < -G.epsilon else 1
# j = -1 if G.y < -G.epsilon else 1
# k = -1 if G.z < -G.epsilon else 1
else:
# Procedure A4
if dict1.keys() != dict2.keys():
return False
for key, value in dict1.items():
if np.any(item != dict2[key]):
return False
{"1": {
"calculator": "unknown",
"calculator_parameters": {},
"cell": [[8.26593717, 0.0, 0.0], [4.13296858, 7.15851157, 0.0], [0.0, 0.0, 21.65956919]],
"constraints": [{"name": "FixAtoms", "kwargs": {"indices": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]}}],
"ctime": 17.530074879038683,
"data": {"D": null, "rhoref": 1.0, "dE": 0.0, "freqs": [], "sites": [], "symm": 1, "ts": null, "S": null, "thermo": "Adsorbate", "spin": 0.0},
"energy": -229.83410778,
"forces": [[6.48e-06, -1.832e-05, -0.10367754], [-7.088e-05, -6.676e-05, -0.10367723], [-7.025e-05, -7.165e-05, -0.10371559], [-6.323e-05, -5.182e-05, -0.10374024], [-4.98e-06, -8.58e-06, -0.10372935], [-6.919e-05, -8.475e-05, -0.10371545], [-9.086e-05, -0.00010699, -0.10374267], [-6.644e-05, -7.412e-05, -0.1036684], [2.437e-05, -3.866e-05, -0.10369047], [-0.00024234, -0.00051789, 0.10378848], [-0.0001369, -0.0004146, 0.10392784], [-4.999e-05, -0.00018735, 0.10385908], [-0.00010537, -6.711e-05, 0.10409156], [-0.00016727, -8.539e-05, 0.
2014-01-08 19:10:26 Temporal what did you just say about mai waifu
2014-01-08 19:10:33 Faux you're waifu is shit
2014-01-08 19:11:35 infinityb >anime original waifu
2014-01-08 19:11:37 infinityb top kek
2014-01-08 19:12:30 plus shouldn't it be kik
2014-01-08 19:12:34 plus why kek
2014-01-08 19:12:38 Faux kek
2014-01-08 19:12:40 Temporal kek
2014-01-08 19:13:11 Temporal plus, its a thing from wow where lol from opposing races translated to kek
2014-01-08 19:13:38 plus oh
extern crate rand;
extern crate pbr;
use rand::distributions::{IndependentSample, Range};
use pbr::ProgressBar;
// N = size of the board
const N: usize = 4;
// highest temperature for parallel tempering
const T_HIGH: f32 = 20f32;
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 1M of event 'cycles:u'
# Event count (approx.): 1001722297353
#
# Overhead Command Shared Object Symbol
# ........ ........ .................. ................................................................................
extern crate rand;
extern crate pbr;
use rand::distributions::{IndependentSample, Range};
use pbr::ProgressBar;
// N = size of the board
const N: usize = 8;
// B is beta, 1/kB T
const B: f64 = 1f64/0.1f64;
#!/usr/bin/env python
from __future__ import division, print_function
import numpy as np
np.random.seed(0)
n = 8
T = 0.01
maxsteps = 100000
execve("/usr/bin/curl", ["curl", "-v", "google.com"], [/* 84 vars */]) = 0
brk(NULL) = 0xa06000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2a5ca4a000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/ehermes/build/torch/install/lib/tls/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/ehermes/build/torch/install/lib/tls/x86_64", 0x7ffcab26e9c0) = -1 ENOENT (No such file or directory)
open("/home/ehermes/build/torch/install/lib/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/ehermes/build/torch/install/lib/tls", 0x7ffcab26e9c0) = -1 ENOENT (No such file or directory)
open("/home/ehermes/build/torch/install/lib/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/ehermes/build/torch/install/lib/x86_64", 0x7ffcab26e9c0) = -1 ENOENT (No such file or directory)