flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.03.0 announced http://ocaml.org/releases/4.03.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
btbytes has joined #ocaml
silver_ has quit [Read error: Connection reset by peer]
btbytes has quit [Quit: Leaving.]
btbytes has joined #ocaml
btbytes has quit [Client Quit]
myst|fon has quit [Ping timeout: 264 seconds]
mattg has quit [Ping timeout: 264 seconds]
chenglou has quit [Ping timeout: 264 seconds]
emmanueloga has quit [Ping timeout: 264 seconds]
yminsky has quit [Ping timeout: 264 seconds]
fUD has quit [Ping timeout: 264 seconds]
l1x has quit [Ping timeout: 264 seconds]
bigs has quit [Ping timeout: 264 seconds]
aphprentice has quit [Ping timeout: 264 seconds]
mattg has joined #ocaml
adelbertc has quit [Ping timeout: 264 seconds]
mankyKitty has quit [Ping timeout: 264 seconds]
yunxing has quit [Ping timeout: 264 seconds]
chenglou has joined #ocaml
btbytes has joined #ocaml
aphprentice has joined #ocaml
l1x has joined #ocaml
myst|fon has joined #ocaml
fUD has joined #ocaml
emmanueloga has joined #ocaml
bigs has joined #ocaml
yminsky has joined #ocaml
mankyKitty has joined #ocaml
adelbertc has joined #ocaml
yunxing has joined #ocaml
<seangrove> And how do you locally alias a module? like `let open Lwt.Infix in`, but `let module Client = Cohttp_lwt_unix.Client in`
<Drup> well, exactly like that
<seangrove> Drup: I swear, merlin was complaining before!
<seangrove> But not now. PEBKAC
btbytes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<seangrove> And is there a tutorial on how to periodically run things with Lwt? I want to run a function every N seconds
yunxing_ has quit [Remote host closed the connection]
benwbooth has quit [Ping timeout: 250 seconds]
copy` has quit [Quit: Connection closed for inactivity]
benwbooth has joined #ocaml
Algebr has quit [Ping timeout: 250 seconds]
btbytes has joined #ocaml
SomeDamnBody has joined #ocaml
SpiceGuid has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.40/20160120202951]]
zRecursive has joined #ocaml
Orion3k has quit [Ping timeout: 250 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
Orion3k has joined #ocaml
btbytes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeffmo has joined #ocaml
jeffmo has quit [Client Quit]
btbytes has joined #ocaml
<rgrinberg> seangrove: Lwt_unix.sleep + recursion?
<rgrinberg> let rec every m f = f () >>= fun _ -> Lwt_unix.sleep m >>= fun () -> every m f
<rgrinberg> something like that?
btbytes has quit [Client Quit]
kushal has joined #ocaml
zRecursive has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
pierpa has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
kushal has quit [Ping timeout: 246 seconds]
seangrove has quit [Ping timeout: 250 seconds]
circ-user-vkmXT_ has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
kushal has joined #ocaml
SomeDamnBody has quit [Remote host closed the connection]
jonasen has joined #ocaml
kushal has quit [Ping timeout: 260 seconds]
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sh0t has quit [Remote host closed the connection]
tane has joined #ocaml
rgrinberg has quit [Ping timeout: 246 seconds]
yunxing_ has joined #ocaml
tane has quit [Ping timeout: 258 seconds]
yunxing_ has quit [Read error: Connection reset by peer]
yunxing_ has joined #ocaml
jonasen has joined #ocaml
Mercuria1Alchemi has joined #ocaml
tane has joined #ocaml
atbagautdinov has joined #ocaml
uriznik has joined #ocaml
sepp2k has joined #ocaml
tmtwd has joined #ocaml
kolko has joined #ocaml
atbagautdinov has quit [Quit: atbagautdinov]
f[x] has joined #ocaml
tane has quit [Quit: Verlassend]
dexterph has joined #ocaml
FreeBirdLjj has joined #ocaml
yunxing_ has quit [Ping timeout: 250 seconds]
p_nathan has quit [Ping timeout: 276 seconds]
sepp2k has quit [Quit: Leaving.]
A1977494 has joined #ocaml
tmtwd has quit [Ping timeout: 276 seconds]
Simn has joined #ocaml
danieli has quit [Changing host]
danieli has joined #ocaml
tane has joined #ocaml
dhil has joined #ocaml
AltGr has joined #ocaml
rand__ has joined #ocaml
AltGr has left #ocaml [#ocaml]
atbagautdinov has joined #ocaml
tmtwd has joined #ocaml
ia0 has quit [Quit: reboot]
ia0 has joined #ocaml
jonasen has quit [Ping timeout: 272 seconds]
AltGr has joined #ocaml
jontyy has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
dexterph has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
jonasen has joined #ocaml
f[x] has quit [Ping timeout: 264 seconds]
larhat has joined #ocaml
<flux> and then add precise period, then ability to cancel, handling exceptions.. :)
tmtwd has quit [Ping timeout: 258 seconds]
adelbertc has quit [Quit: Connection closed for inactivity]
dexterph has joined #ocaml
tane has quit [Quit: Verlassend]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ocaml
yomimono has joined #ocaml
manizzle has quit [Ping timeout: 244 seconds]
manizzle has joined #ocaml
Intensity has quit [Remote host closed the connection]
nojb has joined #ocaml
nojb has quit [Quit: nojb]
nojb has joined #ocaml
darkf has quit [Quit: Leaving]
sdothum has joined #ocaml
Kakadu has joined #ocaml
f[x] has joined #ocaml
jontyy has quit [Remote host closed the connection]
saruta has quit [Ping timeout: 244 seconds]
uriznik has quit [Quit: Leaving.]
saruta has joined #ocaml
rgrinberg has joined #ocaml
Cypi has quit []
rossberg has quit [Remote host closed the connection]
deavidsedice has quit [Remote host closed the connection]
yomimono has quit [Ping timeout: 244 seconds]
larhat has quit [Read error: Connection reset by peer]
larhat1 has joined #ocaml
SpiceGuid has joined #ocaml
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kushal has joined #ocaml
Cypi has joined #ocaml
yomimono has joined #ocaml
TheVoid has quit [Ping timeout: 260 seconds]
TheVoid has joined #ocaml
rossberg has joined #ocaml
al-damiri has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 276 seconds]
sh0t has joined #ocaml
jonasen has joined #ocaml
leyyin has joined #ocaml
hbar_ has quit [Ping timeout: 246 seconds]
larhat has joined #ocaml
larhat1 has quit [Read error: Connection reset by peer]
hbar_ has joined #ocaml
dexterph has quit [Ping timeout: 260 seconds]
rand__ has quit [Quit: leaving]
labs has joined #ocaml
<labs> Hey folks
<labs> How should I usually fix error like `Unbound module Ocamlbuild_plugin`
<labs> Which opam package should I install?
<Khady> it is supposed to come with ocamlbuild IIRC
<labs> Installing ocmalfind did help
octachron has joined #ocaml
A1977494 has quit [Quit: Leaving.]
<octachron> labs, does this happen with a "myocamlbuild.ml" file?
slash^ has joined #ocaml
BitPuffin has joined #ocaml
seangrove has joined #ocaml
shinnya has joined #ocaml
<seangrove> I'm having a tough time getting Unix.create_process to pass args in the way I'd like
<seangrove> In bash, I'd do: `./Chromium --proxy-server="socks5://myproxy:8080" --proxy-bypass-list="*.google.com;*foo.com;127.0.0.1:8080"`
<seangrove> (cleaning up the OCaml invocation for comparison)
<seangrove> So `Unix.create_process browser_location [|""; (Printf.sprintf "--proxy-server=%s" proxy); url |] Unix.stdin Unix.stdout Unix.stderr` works, but this does not:
<seangrove> `Unix.create_process browser_location [|(Printf.sprintf "--proxy-server=%s" proxy); url |] Unix.stdin Unix.stdout Unix.stderr`
<seangrove> I've noticed that with other processes I've tried to launch - it seems like args aren't properly recognized unless there's an empty string as the first entry in the array
<Drup> pretty sure the first args is always the command name
<Drup> so arg parsing starts at index 1, not index 0
<seangrove> Drup: That's a bit confusing for me though, since the browser_location is the path to the binary. Can that and the command name differ?
<def`> seangrove: man unix(7)
<def`> (just kidding)
<Drup> yeah, it's not an OCaml behavior, it's a unix one
<def`> man exec(3) is the right answer
<def`> and it is actually a common pattern to dispatch based on the command name (that's how works busybox for instance)
<def`> (or look at all symbolic links in your $PATH)
<seangrove> def`: Thanks, I'll read up on it. I'm aware I'm showing some extreme ignorance here, so thanks for the pointer
<def`> seangrove: busybox provides replacement for shell utils like ls, ln, ...
<def`> it is usually distributed as a single binary which adapts it's behavior according to the command name
f[x] has quit [Ping timeout: 240 seconds]
<def`> a bit arbitrary but not absurd.
jeffmo has joined #ocaml
ncthom91 has joined #ocaml
benwbooth has quit [Ping timeout: 250 seconds]
<seangrove> Kind of interesting though
octachron has quit [Ping timeout: 250 seconds]
benwbooth has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
benwboot_ has joined #ocaml
FreeBirdLjj has joined #ocaml
A1977494 has joined #ocaml
benwbooth has quit [Ping timeout: 246 seconds]
labs has quit [Quit: Konversation terminated!]
adelbertc has joined #ocaml
Sorella has joined #ocaml
malc_ has joined #ocaml
yunxing_ has joined #ocaml
larhat1 has joined #ocaml
larhat has quit [Read error: Connection reset by peer]
Simn has quit [Read error: Connection reset by peer]
yomimono has quit [Ping timeout: 250 seconds]
AltGr has left #ocaml [#ocaml]
seangrove has quit [Ping timeout: 246 seconds]
loocash has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
yunxing_ has quit [Remote host closed the connection]
kushal has quit [Quit: Leaving]
yunxing_ has joined #ocaml
Intensity has joined #ocaml
struk|work has joined #ocaml
struk|work has quit [Client Quit]
struktured has joined #ocaml
AltGr has joined #ocaml
Kakadu has quit [Quit: Page closed]
AltGr has left #ocaml [#ocaml]
larhat1 has quit [Quit: Leaving.]
Orion3k has quit [Quit: Leaving]
pierpa has joined #ocaml
_y has quit [Ping timeout: 244 seconds]
loocash has quit [Quit: Leaving]
tobiasBora has quit [Ping timeout: 276 seconds]
_y has joined #ocaml
tobiasBora has joined #ocaml
octachron has joined #ocaml
Orion3k has joined #ocaml
th5 has joined #ocaml
seangrove has joined #ocaml
sh0t has quit [Remote host closed the connection]
octachron has quit [Ping timeout: 240 seconds]
SpiceGuid has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.40/20160120202951]]
Kakadu has joined #ocaml
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
two_wheels has joined #ocaml
octachron has joined #ocaml
seangrove has quit [Ping timeout: 244 seconds]
groovy2shoes has quit [Remote host closed the connection]
groovy2shoes has joined #ocaml
Algebr has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
darkf has joined #ocaml
sepp2k has quit [Quit: Leaving.]
jeffmo has quit [Quit: jeffmo]
shinnya has quit [Ping timeout: 260 seconds]
BitPuffin has quit [Ping timeout: 260 seconds]
AltGr has joined #ocaml
seangrove has joined #ocaml
AltGr has left #ocaml [#ocaml]
rgrinberg has quit [Ping timeout: 244 seconds]
seangrove has quit [Ping timeout: 240 seconds]
yunxing_ has quit [Remote host closed the connection]
yunxing_ has joined #ocaml
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
seangrove has joined #ocaml
jeffmo has joined #ocaml
yunxing_ has quit [Remote host closed the connection]
jeffmo has quit [Client Quit]
matason has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
Orion3k has quit [Quit: Leaving]
malc_ has joined #ocaml
Orion3k has joined #ocaml
seangrove has quit [Ping timeout: 252 seconds]
f[x] has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 258 seconds]
seangrove has joined #ocaml
th5 has quit []
shinnya has joined #ocaml
ygrek_ has joined #ocaml
f[x] has quit [Ping timeout: 250 seconds]
ncthom91 has quit [Quit: Textual IRC Client: www.textualapp.com]
atbagautdinov has quit [Quit: atbagautdinov]
yunxing_ has joined #ocaml
AltGr has joined #ocaml
ncthom91 has joined #ocaml
AltGr has left #ocaml [#ocaml]
yunxing_ has quit [Remote host closed the connection]
StrykerKKD has joined #ocaml
octachron has quit [Quit: Leaving]
ygrek_ has quit [Ping timeout: 244 seconds]
Denommus has joined #ocaml
<Kakadu> Folks, I remeber some change about ocaml or ocamlbuild about -o argument
<Kakadu> In my curent situation I invoke ocaml on .c file with `-o src/asdf.o` but file `./asdf.o` is created
<Kakadu> recently this code was compilable
<Kakadu> but now -o option is not passed to G++
matason has quit [Ping timeout: 244 seconds]
Denommus has quit [Quit: going home]
benwboot_ has quit [Ping timeout: 246 seconds]
sternenseemann has left #ocaml [#ocaml]
matason has joined #ocaml
benwbooth has joined #ocaml
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has quit [Ping timeout: 260 seconds]
benwbooth has quit [Max SendQ exceeded]
benwbooth has joined #ocaml
Algebr` has joined #ocaml
benwbooth has quit [Ping timeout: 272 seconds]
rgrinberg has joined #ocaml
Algebr` has left #ocaml [#ocaml]
Algebr has quit [Remote host closed the connection]
A19774941 has joined #ocaml
A1977494 has quit [Ping timeout: 252 seconds]
benwbooth has joined #ocaml
malc_ has quit [Remote host closed the connection]
Kakadu has quit [Ping timeout: 260 seconds]
A19774941 has quit [Quit: Leaving.]
yunxing_ has joined #ocaml
yunxing_ has quit [Remote host closed the connection]
yunxing_ has joined #ocaml
matason has quit [Ping timeout: 244 seconds]
sh0t has joined #ocaml
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
atbagautdinov has joined #ocaml
atbagautdinov has quit [Remote host closed the connection]
atbagautdinov has joined #ocaml
atbagautdinov has quit [Quit: Hermes - Material IRC Client - https://numixproject.org/]
yunxing_ has quit [Remote host closed the connection]
yunxing_ has joined #ocaml
StrykerKKD has quit [Quit: Leaving]
two_wheels has quit [Ping timeout: 240 seconds]
madroach has quit [Ping timeout: 244 seconds]
madroach has joined #ocaml
manizzle has quit [Ping timeout: 250 seconds]
manizzle has joined #ocaml
yunxing_ has quit [Remote host closed the connection]