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 python3 | |
import faulthandler; faulthandler.enable() | |
import numpy as np | |
import cairocffi as cairo | |
UNITS = { | |
'in': 1, | |
'cm': 1 / 2.54, | |
'mm': 1 / 25.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
package main | |
import ( | |
"database/sql" | |
"fmt" | |
"time" | |
_ "github.com/seehuhn/sqlite3" | |
) |
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
Entropy = 8.000000 bits per byte. | |
Optimum compression would reduce the size | |
of this 1073741824 byte file by 0 percent. | |
Chi square distribution for 1073741824 samples is 252.69, and randomly | |
would exceed this value 52.91 percent of the times. | |
Arithmetic mean value of data bytes is 127.4990 (127.5 = random). | |
Monte Carlo value for Pi is 3.141597894 (error 0.00 percent). |