I hereby claim:
- I am robert-zaremba on github.
- I am robert_zaremba (https://keybase.io/robert_zaremba) on keybase.
- I have a public key ASCnd30tlnxWvIH1Ntou7aVdoR-MduQi-j_fKtthCDCiNQo
To claim this, I am signing this object:
package pkg | |
import "testing" | |
var a []int | |
var N = 200000000 | |
func init() { | |
l := 10000 | |
a = make([]int, l, l) |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
r "github.com/dancannon/gorethink" | |
"log" | |
) | |
type valT struct { | |
V float64 | |
} |
import calendar | |
from datetime import datetime as dt | |
import rethinkdb as r | |
r.connect( "localhost", 28015).repl() | |
table = r.db('test').table('test') | |
print table.delete().run() | |
docs = [{'t': i} for i in range(20)] | |
print table.insert(docs).run() | |
start, end = 10, 12 |
// RethinkDB utilities functions for gorethink driver | |
package rdbu | |
import ( | |
"fmt" | |
rdb "github.com/dancannon/gorethink" | |
"reflect" | |
) |
import tornado.web | |
from tornado import gen | |
from mongotor.database import Database | |
from bson import ObjectId | |
class Handler(tornado.web.RequestHandler): | |
def initialize(self): | |
self.db = Database.connect('localhost:27017', 'regisys') |
# Author: Robert Zaremba | |
# Date: 2011.06.22 | |
# This is the code to present rpyc bug | |
# The bug comes when one wants to manage 1017 sequenced connections to rpyc.utils.server.ThreadedServer with SSL Authenticator. | |
# the errors are: | |
# ssl.SSLError: [Errno 8] _ssl.c:499: EOF occurred in violation of protocol trying 1016 connection request | |
# or ssl.SSLError: [Errno 185090050] _ssl.c:336: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib trying 1017 connection request | |
# | |
# The code below contains ssl_connect function with bugfix to CERT_REQIURED flag | |
# so the ssl certificate is required now. |