<mrvn>
Is anyone using google protocol buffers with python3?
<mrvn>
ups, sorry.
<Algebr`>
any crypto experts around?
Distortion has joined #ocaml
<Algebr`>
infinity0: maybe have insight? I have these two sample points, I'm looking for any insight as to how they're made http://pastebin.com/EWMPBq8G slightly strange cause they end in PET, which I take to be some kind of token?
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
Orion3k has joined #ocaml
regnat[m] has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rgrinberg has joined #ocaml
sdothum has joined #ocaml
adelbertc has joined #ocaml
bruce_r has quit [Ping timeout: 250 seconds]
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Denommus has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 240 seconds]
Simn has quit [Ping timeout: 264 seconds]
agarwal1975 has quit [Quit: agarwal1975]
sepp2k has joined #ocaml
ahf has quit [Ping timeout: 252 seconds]
Simn has joined #ocaml
ahf has joined #ocaml
M-martinklepsch has joined #ocaml
M-jimt has joined #ocaml
Bluddy[m] has joined #ocaml
M-ErkkiSeppl has joined #ocaml
barkmadley[m] has joined #ocaml
M-pesterhazy has joined #ocaml
srenatus[m] has joined #ocaml
M-Illandan has joined #ocaml
Denommus has joined #ocaml
AlexDenisov has joined #ocaml
ygrek has joined #ocaml
axiles has quit [Ping timeout: 265 seconds]
axiles has joined #ocaml
govg has joined #ocaml
shinnya has quit [Ping timeout: 252 seconds]
Xizor has joined #ocaml
Anarchos has joined #ocaml
LiamGoodacre has joined #ocaml
rgrinberg has quit [Ping timeout: 244 seconds]
ggole has quit []
TheLemonMan has joined #ocaml
<orbitz>
companion_cube: is the `count` parameter to `QCheck.Test.make` respected? I tried upping it to 10k and my tests don't take any longer to run
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
bruce_r has joined #ocaml
<orbitz>
Hrm, is there a cap, perhaps
freusque has quit [Read error: Connection reset by peer]
<orbitz>
Looks like aroudn 300 is th elimit
<companion_cube>
not it's not, there is a bug report
<orbitz>
ah, max_gen
<companion_cube>
I don't have much time for it :s (sorryyyy)
<orbitz>
companion_cube: If I up max_gen then I can get my 10000 runs, is that a reasoanble workaround?
<companion_cube>
well, try it
<companion_cube>
ah yeah, count must be capped by max_gen, something like that
<orbitz>
It does my 10k
<orbitz>
Ok, what's the purpsoe of max_gen?
<companion_cube>
it's because you can generate more than `count` inputs
<companion_cube>
in case some of them do not satisfy preconditions
<companion_cube>
but there is to be a limit somewhere, otherwise you would loop forever on unsatisfiable preconditions
<orbitz>
right
<orbitz>
So would a reasonable fix to be that when max_gen < count, max_gen = count * 3?
<companion_cube>
meh, I think this is documented :p
<companion_cube>
hmm, maybe not
bruce_r has quit [Remote host closed the connection]
<orbitz>
There seems to be an obvious palce to insert a little bit of code to ensure max_gen is some value relative to count. I'm just not sure what you intend that relative value to be :)
<companion_cube>
hmm, PR accepted :p
<orbitz>
I'll write something up later this week, adding to my todo list :)
ewanas has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
<TheLemonMan>
any reason why opam_installer.sh still installs 4.02 ?
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
bruce_r has joined #ocaml
Xizor has quit [Ping timeout: 244 seconds]
Xizor has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
shinnya has joined #ocaml
zv has joined #ocaml
malc_ has joined #ocaml
bungoman has quit [Ping timeout: 250 seconds]
ydl has joined #ocaml
sh0t has quit [Remote host closed the connection]
<ydl>
is there a way to debug interactive executables like utop? also should i expect to need to recompile from source myself or can i debug opam-installed executables?
_andre has quit [Quit: leaving]
<Algebr`>
could run it under ocamldebug
<Algebr`>
I assume
Anarchos has joined #ocaml
ewanas has quit [Quit: Leaving]
kakadu has joined #ocaml
orbifx has joined #ocaml
orbifx has quit [Ping timeout: 255 seconds]
orbifx has joined #ocaml
tane has quit [Ping timeout: 244 seconds]
<orbifx>
rgrinberg: does opium have any sanitation functions for parameters?
<rgrinberg>
orbifx: you mean route params?
<orbifx>
yeah
<rgrinberg>
i don't think so, what kind of sanitation functions are you thinkinf of?
<orbifx>
removing .. from paths for example
<rgrinberg>
hmm I thought we were talking about path parameters (or route parameters)
<rgrinberg>
the only restriction on a parameter of the form /xxx/:param is that it can't have a / i believe
<orbifx>
so a malicious user could sumbit /xxx/../../etc/passwd If I have a file printing response?
<rgrinberg>
nope. because only a route that is explicitly added may be matched.
<rgrinberg>
a file will only be served from the FS using the static middleware. That middleware *will* do sanitation on the paths it accepts
tane has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
<rgrinberg>
orbifx: i may have missed a message from you.
d0nn1e has quit [Ping timeout: 244 seconds]
d0nn1e has joined #ocaml
Xizor has quit [Read error: Connection reset by peer]
<orbifx>
rgrinberg: no, haven't responded yet to your last
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #ocaml
<orbifx>
rgrinberg: what do you mean by static middleware?
<rgrinberg>
it won't quite work for you since you want the extensions stripped, so you're right that you should sanitize your paths
<orbifx>
so it there a handy function or should I look at another library when it comes to path handling?
<orbifx>
like Filename
<rgrinberg>
core has something useful for this. But it's rather heavy for this use.
<rgrinberg>
in your particular case it seems like there's no nesting, so a simple re where you test for . or slashes (and backslashes) should be enough
<rgrinberg>
or you can just rip off that path handling bit from the static middleware
<orbifx>
I'll just escape dots for now
<orbifx>
I think that is safe, right?
<rgrinberg>
on unix, it should be.
<orbifx>
which file does the middlewhere sanisations?
manizzle has quit [Ping timeout: 252 seconds]
ydl has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]