Skip to content

Instantly share code, notes, and snippets.

17-04-24 14:14:26 DEBUG (MainThread) [bellows.ezsp] Application frame 35 (childJoinHandler) received
17-04-24 14:14:27 DEBUG (MainThread) [bellows.ezsp] Application frame 36 (trustCenterJoinHandler) received
17-04-24 14:14:27 INFO (MainThread) [bellows.zigbee.application] Device 0xf016 (00:0b:57:ff:fe:2b:37:71) joined the network
17-04-24 14:14:27 INFO (MainThread) [bellows.zigbee.device] [0xf016] Discovering endpoints
17-04-24 14:14:27 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
17-04-24 14:14:27 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
17-04-24 14:14:27 DEBUG (MainThread) [bellows.ezsp] Application frame 98 (incomingSenderEui64Handler) received
17-04-24 14:14:27 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
17-04-24 14:14:27 DEBUG (MainThread) [bellows.zigbee.zdo] [0xf016:zdo] ZDO request 0x0013: [61462, 00:0b:57:ff:fe:2b:37:71, 128]
17-04-24 14:14:27 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomin
DEBUG:bellows.ezsp:Application frame 35 (childJoinHandler) received
DEBUG:bellows.ezsp:Application frame 36 (trustCenterJoinHandler) received
INFO:bellows.zigbee.application:Device 0x36b0 (00:0d:6f:00:0b:bc:8e:b6) left the network
DEBUG:bellows.ezsp:Application frame 35 (childJoinHandler) received
DEBUG:bellows.ezsp:Application frame 36 (trustCenterJoinHandler) received
INFO:bellows.zigbee.application:Device 0x631c (00:0d:6f:00:0b:bc:8e:b6) joined the network
INFO:bellows.zigbee.device:[0x631c] Discovering endpoints
DEBUG:bellows.ezsp:Send command sendUnicast
DEBUG:bellows.ezsp:Application frame 52 (sendUnicast) received
DEBUG:bellows.ezsp:Application frame 69 (incomingMessageHandler) received
@rcloran
rcloran / japh.py
Last active August 29, 2015 14:00
japh2
#!/usr/bin/env python
print open(__file__).read(),
import random
RUNS = 10**4
APPLICANTS = 124000
ACCEPTED_1 = 20000
ACCEPTED_2 = 65000
FRIENDS = 4
import random
RUNS = 10**3
APPLICANTS = 124000
ACCEPTED_1 = 20000
ACCEPTED_2 = 65000
FRIENDS = 4
import random
RUNS = 10**6
APPLICANTS = 124000
ACCEPTED_1 = 20000
ACCEPTED_2 = 65000
FRIENDS = 4
from avltree import AVLTree
class AVLMap(object):
def __init__(self):
self._store = AVLTree()
def __setitem__(self, key, value):
self._store.insert((key, value))
def __getitem__(self, key):
class Empty:
pass
class AVLTree(object):
value = None
left = None
right = None
def __init__(self, value=Empty, left=None, right=None, parent=None):
if value is Empty and parent:
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
stroke-linejoin: round;
}
.land {
fill: #ddd;