This file contains hidden or 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
jb@zlogin5:~/s/g/i/telegraf $ make | |
go get github.com/sparrc/gdm | |
gdm restore | |
======= Go Dependency Manager ======= | |
= working dir: /home/jb/src/github.com/influxdata/telegraf | |
= GOPATH: /home/jb | |
===================================== | |
> Restoring /home/jb/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git to 617c801af238c3af2d9e72c5d4a0f02edad03ce5 | |
> Restoring /home/jb/src/github.com/Shopify/sarama to 8aadb476e66ca998f2f6bb3c993e9a2daa3666b9 | |
> Restoring /home/jb/src/github.com/Sirupsen/logrus to 219c8cb75c258c552e999735be6df753ffc7afdc |
This file contains hidden or 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
[I6KAH] 2016/03/11 08:50:58.817883 protocol.go:430: DEBUG: decompressed to 652 bytes | |
[I6KAH] 2016/03/11 08:50:58.817938 protocol.go:439: DEBUG: message data: | |
00000000 00 00 00 02 73 32 00 00 00 00 00 09 73 79 6e 63 |....s2......sync| | |
00000010 74 68 69 6e 67 00 00 00 00 00 00 1b 76 30 2e 31 |thing.......v0.1| | |
00000020 33 2e 30 2d 62 65 74 61 2e 30 2b 31 31 35 2d 67 |3.0-beta.0+115-g| | |
00000030 37 31 30 64 64 66 37 00 00 00 00 02 00 00 00 07 |710ddf7.........| | |
00000040 64 65 66 61 75 6c 74 00 00 00 00 03 00 00 00 20 |default........ | | |
00000050 47 94 03 ff de f4 96 b5 f5 e5 bc 9c 0a 15 22 1e |G.............".| | |
00000060 70 07 31 64 50 9f a3 07 61 af 63 09 4f 6f 94 5c |p.1dP...a.c.Oo.\| | |
00000070 00 00 00 02 73 31 00 00 00 00 00 01 00 00 00 15 |....s1..........| |
This file contains hidden or 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 ( | |
"reflect" | |
"testing" | |
) | |
// This implements a flatten function for arbitrarily nested integer lists. | |
// I've chosen Go as the implementation language as it's the one I'm most | |
// comfortable in right now, but in a way this problem is a bad fit for the |
This file contains hidden or 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
[4OODC] 10:13:50 INFO: Enabled debug data for "connections" | |
[4OODC] 10:16:12 DEBUG: connect from [2001:7a0:8000:1002:f4ef:752f:4fd2:2c9f]:59259 | |
[4OODC] 10:16:14 DEBUG: Switching connections 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA | |
[4OODC] 10:16:14 INFO: Connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA closed: switching connections | |
[4OODC] 10:16:14 INFO: Connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA closed: EOF | |
[4OODC] 10:16:16 INFO: Established secure connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA at [2001:470:deeb:32::26]:22000-[2001:7a0:8000:1002:f4ef:752f:4fd2:2c9f]:59259 (direct-accept) | |
[4OODC] 10:16:16 DEBUG: cipher suite: C02F in lan: false | |
[4OODC] 10:16:16 INFO: Device 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA client is "syncthing v0.13.0-beta.0+175-g287066b-dirty-logo" named "syno" | |
[4OODC] 10:16:16 INFO: Connection to 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S |
This file contains hidden or 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
Frame 1: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0 | |
Interface id: 0 (eth0.100) | |
Encapsulation type: Ethernet (1) | |
Arrival Time: Apr 28, 2016 11:33:23.725565244 CEST | |
[Time shift for this packet: 0.000000000 seconds] | |
Epoch Time: 1461836003.725565244 seconds | |
[Time delta from previous captured frame: 0.000000000 seconds] | |
[Time delta from previous displayed frame: 0.000000000 seconds] | |
[Time since reference or first frame: 0.000000000 seconds] | |
Frame Number: 1 |
This file contains hidden or 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
commit ba7243d9be98dcbc66a7d108ceae21203c81ee91 | |
Author: Jakob Borg <[email protected]> | |
Date: Tue May 31 22:11:35 2016 +0200 | |
wip | |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md | |
index 0ab98ba..30b78ef 100644 | |
--- a/CONTRIBUTING.md | |
+++ b/CONTRIBUTING.md |
This file contains hidden or 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
lib/events/events.go | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git a/lib/events/events.go b/lib/events/events.go | |
index 5d44bb4..8923aef 100644 | |
--- a/lib/events/events.go | |
+++ b/lib/events/events.go | |
@@ -255,6 +255,7 @@ func NewBufferedSubscription(s *Subscription, size int) BufferedSubscription { | |
} | |
This file contains hidden or 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
Intel(R) Atom(TM) CPU D510 @ 1.66GHz | |
[email protected]:~# ./gohashcompare | |
Build: go1.7rc1 linux-amd64 | |
testing: warning: no tests to run | |
Blake2b 256-2 300 3666414 ns/op 35.75 MB/s 32 B/op 1 allocs/op | |
Blake2b 256 Modified-2 1000 1502475 ns/op 87.24 MB/s 32 B/op 1 allocs/op | |
Blake2b 256 SIMD-2 500 2760274 ns/op 47.49 MB/s 32 B/op 1 allocs/op 1.10x | |
Blake2b 512-2 1000 1504312 ns/op 87.13 MB/s 64 B/op 1 allocs/op | |
Blake2b 512 Modified-2 1000 1509428 ns/op 86.84 MB/s 64 B/op 1 allocs/op |
This file contains hidden or 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
Go 1.6.3: | |
2016/08/16 13:29:21 Result: Wall time: 6.740987566s | |
2016/08/16 13:29:21 Result: 303.8 MiB/s synced | |
2016/08/16 13:29:21 Receiver: Utime: 25.591915s | |
2016/08/16 13:29:21 Receiver: Stime: 3.667778s | |
2016/08/16 13:29:21 Receiver: MaxRSS: 42048 KiB | |
2016/08/16 13:29:21 Sender: Utime: 13.977881s | |
2016/08/16 13:29:21 Sender: Stime: 3.158603s | |
2016/08/16 13:29:21 Sender: MaxRSS: 34168 KiB |
This file contains hidden or 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
[I6KAH] 2016/08/18 20:32:06.466050 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun1.voiceeclipse.net:3478: write udp 127.0.0.1:22001->64.24.35.201:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.466632 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun.ekiga.net:3478: write udp 127.0.0.1:22001->217.10.68.152:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.467369 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun1.voiceeclipse.net:3478: write udp 127.0.0.1:22001->64.24.35.201:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.469232 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun.ekiga.net:3478: write udp 127.0.0.1:22001->217.10.68.152:3478: sendto: can't assign requested address (<nil>) | |
[I6KAH] 2016/08/18 20:32:06.471193 kcp_listen.go:202: DEBUG: kcp://127.0.0.1:22001 stun discovery on stun1.voiceeclipse.net:3478: write udp 127.0. |