Skip to content

Instantly share code, notes, and snippets.

INFO 11-08 17:12:59 ETHPeerPool Adding ETHPeer <Node(0x9140@35.198.39.201)> to pool
DEBUG 11-08 17:12:59 ETHProtocol Sending ETH/Status msg: {'protocol_version': 63, 'network_id': 1, 'td': 5699707424982088372716, 'best_hash': b'\x84\xd4\xa7\x1fZD\xbf\xfb&>u\x85\x8f\xf4\x9f\x1b^\xb3\xc0nb\xb9\x7f\xb7T\xd8RJ\x82\xe0\xbb\xc7', 'genesis_hash': b'\xd4\xe5g@\xf8v\xae\xf8\xc0\x10\xb8j@\xd5\xf5gE\xa1\x18\xd0\x90j4\xe6\x9a\xec\x8c\r\xb1\xcb\x8f\xa3'}
DEBUG 11-08 17:12:59 ETHPeerPool Could not complete handshake with <Node(0xaaf2c1049abeeb96a15bcfc29a1d333b34a3a699b4bc233ddf88855f6f23fde2801fbb49d64c0e84acf6b112408dfdd2935e2c391246f5b00058099051509f06@198.13.47.234:30303)>: HandshakeFailure('ETHPeer <Node(0xaaf2@198.13.47.234)> disconnected before completing sub-proto handshake: too_many_peers',)
DEBUG 11-08 17:12:59 FastChainSyncer Got a NewBlock or a new peer, but already syncing so doing nothing
WARNING 11-08 17:12:59 PeerHeaderSyncer Timeout waiting for h
Verifying my identity on Peepeth.com 0x903ddd91207f737255ca93eb5885c0e087be0fc3
$ sphinx-build -T -b doctest . _build/html
Running Sphinx v1.7.6
loading pickled environment... done
loading intersphinx inventory from https://docs.python.org/3.5/objects.inv...
loading intersphinx inventory from http://eth-account.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from http://hexbytes.readthedocs.io/en/latest/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 25 source files that are out of date
updating environment: [config changed] 28 added, 0 changed, 0 removed
reading sources... [100%] web3.version
$ grep -r -C5 0x1003 ~/.local/share/trinity/mainnet/logs/
/home/cburgdorf/.local/share/trinity/mainnet/logs/trinity.log- DEBUG 07-11 12:53:06 peer Disconnecting from remote peer; reason: useless_peer
/home/cburgdorf/.local/share/trinity/mainnet/logs/trinity.log- DEBUG 07-11 12:53:06 peer Could not complete handshake with <Node(0x288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@149.202.183.162:30303)>: HandshakeFailure('ETHPeer <Node(0x288b@149.202.183.162)> network (90513) does not match ours (1), disconnecting',)
/home/cburgdorf/.local/share/trinity/mainnet/logs/trinity.log- DEBUG 07-11 12:53:07 peer Could not complete handshake with <Node(0x3381d485d267ac823f3e6e5abbd14e239c901ec78c2be48d44ff4742a62b83c1c0d650553cab116ce3464afa21dc42f5d635353d44191fbdbf1cb700e61a9a0b@165.227.69.122:30303)>: HandshakeFailure('ETHPeer <Node(0x3381@165.227.69.122)> disconnected before completing handshake: too_many_

Keybase proof

I hereby claim:

  • I am cburgdorf on github.
  • I am cburgdorf (https://keybase.io/cburgdorf) on keybase.
  • I have a public key ASDmnJw9apcdSgFJkT9fnasYfMH-Ba1F2ugDbWgPefxnfwo

To claim this, I am signing this object:

@cburgdorf
cburgdorf / gist:ae20bea3f3407a3efa86a73483c01fba
Created October 18, 2017 14:21
/usr/share/X11/xorg.conf.d/51-synaptics-userdefined.conf
Section "InputClass"
Identifier "touchpad restrict area"
Driver "synaptics"
MatchIsTouchpad "on"
Option "AreaLeftEdge" "200"
Option "AreaRightEdge" "1000"
EndSection
@cburgdorf
cburgdorf / xor_keras.py
Last active November 18, 2020 11:23
Comparing XOR between tensorflow and keras
import numpy as np
from keras.models import Sequential
from keras.layers.core import Activation, Dense
training_data = np.array([[0,0],[0,1],[1,0],[1,1]], "float32")
target_data = np.array([[0],[1],[1],[0]], "float32")
model = Sequential()
model.add(Dense(32, input_dim=2, activation='relu'))
model.add(Dense(1, activation='sigmoid'))
* test
* test
* second level
* second level
* third level
* third level
@cburgdorf
cburgdorf / gist:9713936
Last active March 3, 2020 00:42
A simple example of how to use async/await with hack-lang to perform non-blocking async tasks.
<?hh
async function helloAfter($name, $timeout) {
// sleep asynchronously -- let other async functions do their job
await SleepWaitHandle::create($timeout * 1000000);
echo sprintf("hello %s\n", $name);
}
async function run() {
$joe = helloAfter('Joe', 3);
var express = require("express");
var app = express();
var http = require("http");
var url = require('url');
var gunzip = require('zlib').createGunzip();
app.use(express.logger());
var http = require("http");