I hereby claim:
- I am jd on github.
- I am jdanjou (https://keybase.io/jdanjou) on keybase.
- I have a public key whose fingerprint is 5361 BD40 015B 7438 2739 101A 611B A950 8B78 A5C2
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| import uuid | |
| import logging | |
| import os | |
| import random | |
| import sys | |
| from keystoneauth1.identity import v3 | |
| from keystoneauth1 import session | |
| from keystoneclient.v3 import client as ks |
| # -*- encoding: utf-8 -*- | |
| # | |
| # Copyright © 2016 Red Hat, Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); you may | |
| # not use this file except in compliance with the License. You may obtain | |
| # a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| def count_lead_and_trail_zeroes(d): | |
| """Count the number of leading and trailing zeroes in an integer.""" | |
| b = "{:064b}".format(d) | |
| try: | |
| return as_str.index("1"), 63 - as_str.rindex("1") | |
| except ValueError: | |
| return 64, 64 | |
| def count_lead_and_trail_zeroes(d): | |
| # https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightLinear |
| import math | |
| import time | |
| import random | |
| import pandas | |
| import datetime | |
| from gnocchi import carbonara | |
| points = 14400 | |
| sampling = 5 | |
| compress_times = 10 |
| Bio: | |
| Julien est un développeur OpenStack depuis 4 ans, et des principaux développeurs de Ceilometer | |
| depuis son incubation au sein d'OpenStack. Il travaille comme Principal Software Engineer chez Red Hat. | |
| Pitch: | |
| L'année dernière, un nouveau projet à fait son apparition au sein de Ceilometer: Gnocchi. | |
| Il répond à la problématique de stockage des métriques à grande échelle, problème rencontré | |
| par Ceilometer depuis sa création. Pour se faire, il fournit une API REST d'indexation de | |
| resources et de stockage de séries temporelles. | |
| Durant cette présentation, je vous présenterais les raisons de créations de ce projet, |
| !/usr/bin/env python | |
| from github import Github | |
| USERNAME = "myusername" | |
| PASSWORD = "mypassword" | |
| USERS = ("openstack", "stackforge", "openstack-dev", "openstack-infra") | |
| g = Github(USERNAME, PASSWORD) | |
| me = g.get_user() |
I hereby claim:
To claim this, I am signing this object:
| # Current | |
| __TOOZ_GROUP_LIST = [ group list ] | |
| _TOOZ_GROUP_<foo> = { "member": { "last_seen": <time>, "capabilities": "foobar" } } | |
| create_group => WRITE,(READ,WRITE,RETRY) => O(1) | |
| get_groups => READ => O(1) | |
| join_group => (READ,WRITE,RETRY) => O(1) | |
| leave_group => (READ,WRITE,RETRY) => O(1) | |
| get_members => READ => O(1) |
| Python 2.7.6 (default, Dec 9 2013, 18:09:21) | |
| [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> import base64 | |
| >>> base64.b64decode('lol') | |
| Traceback (most recent call last): | |
| File "<stdin>", line 1, in <module> | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/base64.py", line 76, in b64decode | |
| raise TypeError(msg) | |
| TypeError: Incorrect padding |