00:14
tlockney is now known as tlockney_away
00:55
rgrinberg has quit [Quit: Leaving.]
01:09
cr409 has joined #mirage
01:13
cr409 has quit [Ping timeout: 265 seconds]
02:10
rgrinberg has joined #mirage
03:10
cr409 has joined #mirage
03:15
cr409 has quit [Ping timeout: 264 seconds]
03:25
NoNNaN has quit [Remote host closed the connection]
03:39
NoNNaN has joined #mirage
03:40
tlockney_away is now known as tlockney
04:10
tlockney is now known as tlockney_away
04:13
tlockney_away is now known as tlockney
04:44
djs55 has joined #mirage
04:48
djs55 has quit [Ping timeout: 252 seconds]
04:57
NoNNaN has quit [Ping timeout: 272 seconds]
05:03
NoNNaN has joined #mirage
05:13
cr409 has joined #mirage
05:18
cr409 has quit [Ping timeout: 255 seconds]
05:27
tlockney is now known as tlockney_away
06:23
rgrinberg has quit [Quit: Leaving.]
06:45
djs55 has joined #mirage
06:49
djs55 has quit [Ping timeout: 240 seconds]
07:08
cr409 has joined #mirage
07:12
cr409 has quit [Ping timeout: 240 seconds]
07:58
thomasga has joined #mirage
08:14
djs55 has joined #mirage
08:21
djs55 has quit [Quit: Leaving.]
08:35
djs55 has joined #mirage
08:43
cr409 has joined #mirage
08:45
avsm has joined #mirage
08:53
cr409 has quit [Ping timeout: 240 seconds]
08:53
cr409 has joined #mirage
09:00
<
avsm >
thomasga: need to apply it to the openbsd port as aspcud porting chance there is low
09:00
thomasga has quit [Quit: Leaving.]
09:01
thomasga has joined #mirage
09:03
<
thomasga >
avsm: I'll take a look
09:21
<
avsm >
thomasga: awesome!
09:27
dsheets has quit [Ping timeout: 264 seconds]
09:44
dsheets has joined #mirage
10:01
mort___ has joined #mirage
10:05
<
avsm >
thomasga: gah, it writes to /home on install
10:05
<
avsm >
thomasga: openbsd catches every bug
10:05
<
thomasga >
though it was fixed
10:06
<
avsm >
none of this backports cleanly
10:06
* avsm
wishes for a bugfix branch that was maintained instead of large-step releases
10:06
<
avsm >
also that fix is a bit broken, just leaks into /tmp
10:06
<
avsm >
oh ho I know
10:06
<
avsm >
I can set OPAMROOT during the fake installation :-)
10:06
* avsm
pats himself on the back
10:08
<
thomasga >
hum indeed
10:08
mort___ has quit [Ping timeout: 240 seconds]
10:11
<
avsm >
grr, /opam-1.1.1_writes_to_HOME/.ocp/ocp-build.prefs
10:11
<
avsm >
thomasga: I like that even a rough and ready script outputs COLOR
10:12
<
thomasga >
avsm: even if you compile with with-ocamlbuild ?
10:12
<
avsm >
thomasga: that only works if i port allll the dependent libraries
10:12
<
avsm >
using opam-full
10:12
<
thomasga >
well, a command-line tool without color is so boring
10:14
<
thomasga >
ocp-build -no-user-prefs ?
10:45
thomasga has quit [Quit: Leaving.]
10:49
thomasga has joined #mirage
10:51
smondet_ has joined #mirage
10:54
yastero_ has joined #mirage
10:55
yastero has quit [Ping timeout: 252 seconds]
10:55
smondet has quit [Ping timeout: 252 seconds]
11:07
thomasga has quit [Quit: Leaving.]
11:18
thomasga has joined #mirage
11:23
djs55 has quit [*.net *.split]
11:30
cr409 has quit [Ping timeout: 258 seconds]
11:30
cr409 has joined #mirage
11:32
avsm has quit [Ping timeout: 250 seconds]
11:39
thomasga has quit [Quit: Leaving.]
11:40
djs55 has joined #mirage
12:03
vbmithr has quit [*.net *.split]
12:03
bsb has quit [*.net *.split]
12:03
tlockney_away has quit [*.net *.split]
12:03
dsheets has quit [*.net *.split]
12:03
yomimono has quit [*.net *.split]
12:03
bnwr_ has quit [*.net *.split]
12:03
dezzy has quit [*.net *.split]
12:03
IbnFirnas has quit [*.net *.split]
12:03
cr409 has quit [*.net *.split]
12:03
so has quit [*.net *.split]
12:03
hannes has quit [*.net *.split]
12:03
whitequark has quit [*.net *.split]
12:03
cebka has quit [*.net *.split]
12:03
smondet_ has quit [*.net *.split]
12:03
NoNNaN has quit [*.net *.split]
12:03
yastero_ has quit [*.net *.split]
12:04
djs55 has quit [*.net *.split]
12:04
eren has quit [*.net *.split]
12:04
tizoc has quit [*.net *.split]
12:04
jonludlam has quit [*.net *.split]
12:04
def-lkb has quit [*.net *.split]
12:04
hnrgrgr has quit [*.net *.split]
12:04
yetanotherion has quit [*.net *.split]
12:04
noddy has quit [*.net *.split]
12:04
bnwr has quit [*.net *.split]
12:19
djs55 has joined #mirage
12:19
yastero_ has joined #mirage
12:19
cr409 has joined #mirage
12:19
NoNNaN has joined #mirage
12:19
dsheets has joined #mirage
12:19
smondet_ has joined #mirage
12:19
IbnFirnas has joined #mirage
12:19
jonludlam has joined #mirage
12:19
tlockney_away has joined #mirage
12:19
hannes has joined #mirage
12:19
eren has joined #mirage
12:19
bsb has joined #mirage
12:19
dezzy has joined #mirage
12:19
bnwr_ has joined #mirage
12:19
yomimono has joined #mirage
12:19
whitequark has joined #mirage
12:19
cebka has joined #mirage
12:19
hnrgrgr has joined #mirage
12:19
so has joined #mirage
12:19
def-lkb has joined #mirage
12:19
bnwr has joined #mirage
12:19
noddy has joined #mirage
12:19
yetanotherion has joined #mirage
12:19
vbmithr has joined #mirage
12:19
tizoc has joined #mirage
12:30
mort___ has joined #mirage
12:33
cr409 has quit [Ping timeout: 264 seconds]
12:33
cr409 has joined #mirage
12:39
thomasga has joined #mirage
12:44
thomasga has quit [Ping timeout: 258 seconds]
12:55
djs55 has quit [Quit: Leaving.]
12:59
mort___ has quit [Ping timeout: 252 seconds]
13:08
thomasga has joined #mirage
13:39
avsm has joined #mirage
14:01
djs55 has joined #mirage
14:28
rgrinberg has joined #mirage
15:00
tlockney_away is now known as tlockney
15:15
cr409 has quit [Quit: leaving]
15:16
cr409 has joined #mirage
15:24
djs55 has quit [Quit: Leaving.]
15:25
avsm has quit [Quit: Leaving.]
15:34
djs55 has joined #mirage
15:36
avsm has joined #mirage
15:40
<
thomasga >
avsm: 'ogit push' works!
15:40
<
thomasga >
now need to make it use ssh
15:41
<
avsm >
thomasga: woooot!
15:44
djs55 has quit [Quit: Leaving.]
15:45
philtor has joined #mirage
15:51
<
dsheets >
ugggh cooperatively-threaded filesystems....
16:23
djs55 has joined #mirage
16:24
<
philtor >
dsheets: can you elaborate?
16:25
<
avsm >
djs55: vagrant osx running now, but can you run multiple instances?
16:26
<
dsheets >
philtor, i have a server functor which uses normal unix syscalls for reading/writing to a fuse fd. now, i'm writing a simple irminsule/fuse fs and irminsule wraps most values in Lwt.t
16:26
<
dsheets >
there are a lot of solutions... for now i just reinstantiate the event loop in each served call
16:28
<
dsheets >
could have some sublibraries to provide lwt/async interfaces to the server infrastructure somewhat like cohttp or could describe irminsule ops as a protocol and put it in another thread/process
16:28
<
djs55 >
avsm: I believe your Vagrantfile can have multiple VMs in it
16:29
<
avsm >
djs55: but i want travis to spin up a separate Vagrant for each run
16:29
<
djs55 >
you would "vagrant init <boxname>" each time?
16:29
<
avsm >
djs55: maybe i should serialize these. get travis to commit requests into a github, and then something else can pick these up and commit back logs
16:29
<
avsm >
from a base box
16:29
<
avsm >
or isnt that what i should do?
16:29
<
djs55 >
the "vagrant init .." generates a Vagrantfile which you can "vagrant up" "vagrant destroy"
16:29
<
djs55 >
I think that's fine
16:30
<
avsm >
oh so just have a vagrant file per directory
16:30
<
avsm >
lemme try this
16:30
<
avsm >
office is overheating with the load
16:39
<
noddy >
avsm: i'm not sure how to actually hook tls into mirage
16:40
<
noddy >
i'm consuming a TCPV4 (lwt)
16:40
<
avsm >
noddy: that'll give you a flow interface you can read/write from
16:40
<
noddy >
yeah, but larger scale
16:40
<
avsm >
noddy: we dont have a FLOW module type yet, so can add that
16:40
<
noddy >
-> for now i'm using TCP.input to create a `listen_ssl`-type function
16:41
<
avsm >
noddy: i would initially just hook in TLS over TCPv4 — yeah , via a listen_ssl
16:41
<
noddy >
but what interface do i *expose*?
16:41
<
avsm >
but we can functorize it after so that it returns a FLOW to the application code
16:41
<
avsm >
expose a SSL_FLOW that matches TCPV4.Flow
16:41
<
avsm >
with a SSL_Flow.t
16:42
<
noddy >
i can't match the sig
16:42
<
avsm >
what's the mismatch?
16:42
<
noddy >
connection parameters
16:42
<
noddy >
i need much more than an address
16:42
<
noddy >
i was looking at the V1.TCPV4 sig for a loong time
16:43
<
noddy >
and it would be pretty contorting to try to match that
16:43
<
dsheets >
functor to produce a flow?
16:43
<
avsm >
yeah, so the intention is that all the connect details move into a resolver
16:44
<
noddy >
consumes tcpv4
16:44
<
noddy >
produces a module that seems vaguely similar
16:44
<
avsm >
val create_connection : t -> ipv4addr * int ->
16:44
<
avsm >
[ `Ok of flow | `Error of error ] io
16:44
<
avsm >
so we need to have something like
16:44
<
avsm >
type endpoint = ipv4addr * int
16:44
<
noddy >
t -> params -> ipv4addr * int
16:45
<
avsm >
if params and endpoint and combined, we could then build SSL over shared memory or other variants
16:45
<
noddy >
there is a number of ways to cut that out ofc
16:45
<
noddy >
all tcpv4's can have an abstract type of connection parameters
16:45
<
noddy >
or i can try to fit that into TCVP4.t
16:46
<
noddy >
or many other ways i can think of
16:46
<
noddy >
but the question is.. if
_you_ did this, what would you do?
16:46
<
avsm >
djs55: jonludlam: that doesnt look too FLOW like atm :-) (vchan)
16:46
<
avsm >
i'd write the most convenient connect function for SSL, without worrying about the module interface
16:46
<
avsm >
when we have a collection of these, we make the functor/module type
16:47
<
noddy >
that is precisely what's on github :D
16:47
<
avsm >
the key missing component is the smart resolver that can take a name, some policies, and return a set of FLOWs to the requester
16:47
<
avsm >
noddy: yeah, that works for me!
16:47
<
djs55 >
hm yeah, the vchan signature is … preliminary
16:47
<
avsm >
so after a basic TLS/TCPv4 is working, we can combine it into:
16:47
<
avsm >
TLS/TCPV4, TLS/vchan (interdomain)
16:48
<
avsm >
so that's the matrix of combinations we can test
16:49
<
noddy >
avsm: ok, so if i export a random interface, how do i hook that into a client app?
16:50
<
noddy >
if it fixes an implementation it can apply the functor itself
16:50
<
noddy >
but that is not what mirage apps do
16:50
<
noddy >
( fixes a tcpv4 impl )
16:52
<
noddy >
iow not sure how to make mirage feed the ssl layer into an app, and using ssl directly from the app looks hairy
16:52
<
jonludlam >
I believe the vchan implementation is strongly based on the c library
16:53
dsheets has quit [Ping timeout: 276 seconds]
17:03
avsm has quit [Quit: Leaving.]
17:04
avsm has joined #mirage
17:04
<
avsm >
noddy: i dont get it — the mirage app would just listen as normal on TCP, and then manually call listen_ssl
17:05
<
avsm >
noddy: (and then we can later on make the ssl bits more integrated)
17:05
AltGr has joined #mirage
17:12
<
noddy >
avsm: yeah, that's the hairy option :)
17:12
<
avsm >
noddy: when in doubt, pick that one first ;-)
17:12
<
avsm >
we always try to have the 'low level' test cases work with manual assembly
17:12
<
avsm >
and then add the modular abstraction
17:13
<
avsm >
e.g. the manual stack example vs using STACKV4
17:13
<
rgrinberg >
avsm: how's ocamlmakefile coming along?
17:13
<
avsm >
rgrinberg: uh, yeah, well, hm
17:13
<
avsm >
rgrinberg: just rewriting it
17:13
<
avsm >
i hate build systems i hate build systems i hate build systems
17:13
<
avsm >
packed files have to be in a separate directory
17:14
<
rgrinberg >
the solution is to write another one
17:14
<
avsm >
i shall call it…ocamlmakebuildajenga
17:14
avsm has quit [Quit: Leaving.]
17:22
yastero_ is now known as yaster
17:22
yaster is now known as yastero
17:26
thomasga has quit [Quit: Leaving.]
17:38
djs55 has quit [Quit: Leaving.]
17:40
mort___ has joined #mirage
18:21
mort___ has quit [Quit: Leaving.]
18:29
mort___ has joined #mirage
18:37
tlockney is now known as tlockney_away
18:45
philtor has quit [Ping timeout: 240 seconds]
19:12
rektide has joined #mirage
19:22
cr409 has quit [Ping timeout: 255 seconds]
19:29
thomasga has joined #mirage
19:30
rgrinberg has quit [Quit: Leaving.]
19:37
rgrinberg has joined #mirage
19:38
dsheets has joined #mirage
19:44
djs55 has joined #mirage
19:55
thomasga has quit [Quit: Leaving.]
20:04
tlockney_away is now known as tlockney
20:04
philtor has joined #mirage
20:32
AltGr has left #mirage [#mirage]
20:45
cr409 has joined #mirage
20:49
cr409 has quit [Ping timeout: 252 seconds]
20:50
cr409 has joined #mirage
20:52
djs55 has quit [Quit: Leaving.]
21:26
mort___ has quit [Quit: Leaving.]
21:39
cr409 has quit [Ping timeout: 264 seconds]
21:40
cr409 has joined #mirage
21:44
cr409 has quit [Ping timeout: 240 seconds]
21:45
cr409 has joined #mirage
22:27
cr409 has quit [Ping timeout: 240 seconds]
23:27
thomasga has joined #mirage
23:28
thomasga has quit [Client Quit]
23:40
NoNNaN has quit [Remote host closed the connection]
23:40
NoNNaN has joined #mirage
23:55
cr409 has joined #mirage
23:59
tlockney is now known as tlockney_away