The following compares the output of several creative hash functions designed for human readability.
sha1's are merely used as arbitrary, longer, distributed input values.
input | 1 word output | 2 word output | 3 word output |
---|
#!/usr/bin/gawk -f | |
BEGIN{ | |
# Printing header! | |
print "<!DOCTYPE html>\n\ | |
<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"\" xml:lang=\"\">\n\ | |
<head>\n\ | |
<meta charset=\"utf-8\" />\n\ | |
<style type=\"text/css\">\n\ | |
body{\n\ |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
creationTimestamp: null | |
name: n8n | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: |
The following compares the output of several creative hash functions designed for human readability.
sha1's are merely used as arbitrary, longer, distributed input values.
input | 1 word output | 2 word output | 3 word output |
---|
Um gitlab auf ubuntu 16.04 oder debian 8.5 zu installieren | |
(und wohl auch auf anderen ubuntus, debian hat noch zusätliche Probleme, dafür funktioniert aber z.B. top, htop, usw...) | |
müssen folgende Einstellungen in /etc/gitlab/gitlab.rb gesetzt sein: | |
postgresql['shared_buffers'] = "512MB" # recommend value is 1/4 of total RAM, up to 14GB. | |
postgresql['effective_cache_size'] = "128MB" | |
Beim ersten wird in der Config zum Start 256MB angeboten, reicht ggf. auch | |
Beim zweiten ist in der Config nur 1MB eingetragen, das kommt mir ggü. dem Standardwert von postgresql (128MB) zu wenig vor. |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |