lapinou changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Public logs at http://tunes.org/~nef/logs/ocaml/
ousado has quit [Ping timeout: 265 seconds]
NoNNaN has quit [Remote host closed the connection]
bjkeller has quit []
NoNNaN has joined #ocaml
nikki93 has joined #ocaml
tianon has quit [Quit: brb]
tlockney is now known as tlockney_away
q66 has quit [Quit: Leaving]
tianon has joined #ocaml
nikki93 has quit [Remote host closed the connection]
Muzer has quit [Ping timeout: 252 seconds]
Muzer has joined #ocaml
ollehar has quit [Ping timeout: 265 seconds]
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
flux has quit [Remote host closed the connection]
f[x] has joined #ocaml
flux has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
manizzle has quit [Ping timeout: 245 seconds]
tlockney_away is now known as tlockney
divyanshu has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
divyanshu has joined #ocaml
zzing has joined #ocaml
talzeus has joined #ocaml
keen_ has joined #ocaml
f[x] has quit [Ping timeout: 264 seconds]
tlockney is now known as tlockney_away
f[x] has joined #ocaml
aurynj has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
breakds has joined #ocaml
lopex has quit [Quit: Connection closed for inactivity]
claudiuc has quit [Remote host closed the connection]
claudiuc has joined #ocaml
_5kg has quit [Read error: Connection reset by peer]
gambogi has quit [Ping timeout: 265 seconds]
_5kg has joined #ocaml
gambogi has joined #ocaml
breakds has quit [Remote host closed the connection]
claudiuc has quit [Remote host closed the connection]
gambogi has quit [Ping timeout: 255 seconds]
yacks has joined #ocaml
divyanshu has joined #ocaml
divyanshu has quit [Client Quit]
gambogi has joined #ocaml
divyanshu has joined #ocaml
ggole has joined #ocaml
axiles has joined #ocaml
_5kg has quit [Quit: WeeChat 0.4.3]
_5kg has joined #ocaml
mort___ has quit [Quit: Leaving.]
_5kg has quit [Quit: WeeChat 0.4.3]
_5kg has joined #ocaml
_5kg has quit [Client Quit]
angerman has joined #ocaml
angerman has quit [Read error: Connection reset by peer]
angerman has joined #ocaml
angerman has quit [Remote host closed the connection]
angerman has joined #ocaml
_5kg has joined #ocaml
angerman has quit [Ping timeout: 240 seconds]
willy_ has joined #ocaml
angerman has joined #ocaml
michel_mno_afk is now known as michel_mno
f[x] has quit [Ping timeout: 255 seconds]
ousado has joined #ocaml
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
_5kg has quit [Remote host closed the connection]
Hannibal_Smith has joined #ocaml
_5kg has joined #ocaml
jao has quit [Ping timeout: 268 seconds]
maattdd has joined #ocaml
willy_ has quit [Ping timeout: 255 seconds]
f[x] has joined #ocaml
maattdd has quit [Ping timeout: 255 seconds]
maattdd has joined #ocaml
avsm has joined #ocaml
maattdd has quit [Ping timeout: 246 seconds]
maattdd has joined #ocaml
avsm has quit [Ping timeout: 264 seconds]
avsm has joined #ocaml
Simn has joined #ocaml
maattdd has quit [Ping timeout: 240 seconds]
Yoric has joined #ocaml
ikaros has joined #ocaml
avsm has quit [Ping timeout: 245 seconds]
yacks has quit [Quit: Leaving]
syntropy has joined #ocaml
avsm has joined #ocaml
avsm1 has joined #ocaml
Kakadu has joined #ocaml
nikki93 has quit [Remote host closed the connection]
yacks has joined #ocaml
avsm1 has quit [Read error: Connection reset by peer]
Hannibal_Smith has quit [Quit: Sto andando via]
avsm1 has joined #ocaml
jonludlam has joined #ocaml
rand000 has joined #ocaml
avsm2 has joined #ocaml
avsm2 has quit [Client Quit]
avsm1 has quit [Ping timeout: 265 seconds]
avsm has quit [Ping timeout: 265 seconds]
Yoric has quit [Ping timeout: 255 seconds]
nikki93 has joined #ocaml
angerman has quit [Read error: Connection reset by peer]
angerman has joined #ocaml
<Kakadu> about js_of_ocaml
<Kakadu> I have found example where I can mutate property and make it available on Javascript side
<Kakadu> But how should I expose Caml function to Javascript ?
pyon has joined #ocaml
lopex has joined #ocaml
<Kakadu> Ah, It seems that I have found something about it
zpe has joined #ocaml
Yoric has joined #ocaml
talzeus has quit [Remote host closed the connection]
ollehar has joined #ocaml
<Kakadu> problem fixed.
elfring has joined #ocaml
avsm has joined #ocaml
talzeus has joined #ocaml
avsm has quit [Ping timeout: 255 seconds]
keen_ has left #ocaml []
maurer has quit [Ping timeout: 240 seconds]
maurer has joined #ocaml
talzeus has quit [Remote host closed the connection]
<Kakadu> Btw, can I disable some warnings of merlin?
<Kakadu> I have no idea why this one appears... http://wstaw.org/m/2014/04/02/plasma-desktopbs2243.png
<Drup> merlin doesn't handle ##
<mrvn> what is ##?
<Drup> js_of_ocaml's syntax extension for js object method calls
<Kakadu> Drup: https://github.com/the-lambda-church/merlin/blob/master/README.md see Misc section. What does it mean?
shinnya has joined #ocaml
<mrvn> can't fault merlin for not knowing syntax extensions.
<Kakadu> I don't fault merlin
<Kakadu> I want just to disable this warning. Is it possible?
<Drup> mrvn: me neither :)
<Drup> but apparently, def-lkb implemented support for js_of_ocaml, I didn't know about it
<Drup> Kakadu: try adding "EXT js" in your .merlin
<Kakadu> It's better now!
<Drup> no idea
<Drup> it's possible merlin's implementation is restricted to method calls
<Drup> you are doing assignations
<nicoo> Kakadu: Do you get the warning when running the compiler directly ?
struktured has quit [Ping timeout: 246 seconds]
<Kakadu> nicoo: nope
_andre has joined #ocaml
<nicoo> Kakadu: Then complain about it to def-lkb :>
avsm has joined #ocaml
jonludlam has quit [Ping timeout: 245 seconds]
avsm has quit [Read error: Operation timed out]
struktured has joined #ocaml
ollehar has quit [Ping timeout: 265 seconds]
jonludlam has joined #ocaml
f[x] has quit [Ping timeout: 252 seconds]
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
acieroid` has joined #ocaml
acieroid has quit [Ping timeout: 240 seconds]
beurks has quit [Quit: leaving]
rom1504 has quit [Ping timeout: 240 seconds]
rom1504 has joined #ocaml
AltGr has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
ollehar has joined #ocaml
avsm has joined #ocaml
avsm has quit [Ping timeout: 252 seconds]
ollehar has quit [Quit: ollehar]
claudiuc has joined #ocaml
jonludlam has quit [Ping timeout: 245 seconds]
Muzer has quit [Excess Flood]
breakds has joined #ocaml
divyanshu has joined #ocaml
Muzer has joined #ocaml
<companion_cube> o/
beurks has joined #ocaml
breakds has quit [Remote host closed the connection]
ollehar has joined #ocaml
jonludlam has joined #ocaml
yacks has quit [Ping timeout: 255 seconds]
oriba has joined #ocaml
pyon has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
avsm has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
avsm has quit [Ping timeout: 255 seconds]
yacks has joined #ocaml
nlucaroni has joined #ocaml
divyanshu has joined #ocaml
darkf has quit [Quit: Leaving]
shinnya has quit [Ping timeout: 265 seconds]
michael_lee has quit [Ping timeout: 240 seconds]
f[x] has joined #ocaml
lordkryss has joined #ocaml
avsm has joined #ocaml
madroach has quit [Quit: leaving]
oriba has quit [Quit: Verlassend]
avsm has quit [Ping timeout: 268 seconds]
<hcarty> mk270: No hard deadline, but a fix in oasis is hopefully coming in 0.4.6 (two releases from now)
rta has joined #ocaml
madroach has joined #ocaml
michael_lee has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
talzeus has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
divyanshu has quit [Quit: Computer has gone to sleep.]
keen_ has joined #ocaml
divyanshu has joined #ocaml
lostcuaz has joined #ocaml
ocp has joined #ocaml
pyon has joined #ocaml
ocp has quit [Ping timeout: 265 seconds]
mreca has joined #ocaml
angerman has quit [Remote host closed the connection]
angerman has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
ikaros has quit [Quit: Ex-Chat]
AltGr has left #ocaml []
AltGr has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
avsm has joined #ocaml
avsm has quit [Ping timeout: 268 seconds]
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
divyanshu has quit [Quit: Computer has gone to sleep.]
angerman has quit [Read error: Connection reset by peer]
angerman has joined #ocaml
angerman_ has joined #ocaml
angerman_ has quit [Client Quit]
angerman has quit [Ping timeout: 268 seconds]
teiresias has quit [Ping timeout: 246 seconds]
maattdd has joined #ocaml
teiresias has joined #ocaml
ocp1 has joined #ocaml
divyanshu has joined #ocaml
divyanshu has quit [Client Quit]
teiresias has quit [Ping timeout: 246 seconds]
teiresias has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
maattdd has quit [Ping timeout: 268 seconds]
divyanshu has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
tlockney_away is now known as tlockney
zpe has quit [Ping timeout: 240 seconds]
rand000 has quit [Ping timeout: 255 seconds]
jonludlam has quit [Ping timeout: 240 seconds]
syntropy has quit [Quit: Page closed]
avsm has joined #ocaml
AltGr has left #ocaml []
lostcuaz has joined #ocaml
lostcuaz has quit [Read error: Connection reset by peer]
lostcuaz has joined #ocaml
lostcuaz has quit [Read error: Connection reset by peer]
lostcuaz has joined #ocaml
avsm has quit [Ping timeout: 255 seconds]
jwatzman|work has joined #ocaml
yacks has quit [Ping timeout: 268 seconds]
rand000 has joined #ocaml
<adrien> gasche: oh... well, fits me :P
divyanshu has quit [Quit: Computer has gone to sleep.]
<adrien> gasche: but have you seen the change in typing/includemod.ml?
Kakadu has quit [Ping timeout: 245 seconds]
elfring has quit [Quit: Konversation terminated!]
yacks has joined #ocaml
q66 has joined #ocaml
Philippa has joined #ocaml
Philippa has left #ocaml []
tane has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
q66 has quit [Ping timeout: 252 seconds]
Yoric has joined #ocaml
Hannibal_Smith has joined #ocaml
q66 has joined #ocaml
ollehar has joined #ocaml
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
maattdd has joined #ocaml
travisbrady has joined #ocaml
trystero has joined #ocaml
maattdd_ has joined #ocaml
jwatzman|wor has joined #ocaml
tristero has quit [Ping timeout: 255 seconds]
pyon` has joined #ocaml
avsm has joined #ocaml
Yoric has quit [Ping timeout: 255 seconds]
adrien_o1w has joined #ocaml
lostcuaz_ has joined #ocaml
lostcuaz_ has quit [Read error: Connection reset by peer]
Snark_ has joined #ocaml
lostcuaz_ has joined #ocaml
maattdd_ has quit [Ping timeout: 240 seconds]
angerman has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
maattdd_ has joined #ocaml
pyon` has left #ocaml []
iZsh has joined #ocaml
tizoc` has joined #ocaml
tizoc` is now known as tizoc_
tizoc has quit [Disconnected by services]
tizoc_ is now known as tizoc
tizoc has quit [Changing host]
tizoc has joined #ocaml
maattdd has quit [*.net *.split]
yacks has quit [*.net *.split]
jwatzman|work has quit [*.net *.split]
lostcuaz has quit [*.net *.split]
ocp1 has quit [*.net *.split]
mreca has quit [*.net *.split]
pyon has quit [*.net *.split]
iZsh_ has quit [*.net *.split]
Snark has quit [*.net *.split]
adrien_oww has quit [*.net *.split]
cantstanya has quit [*.net *.split]
cdruzac has quit [*.net *.split]
IbnFirnas_ has quit [*.net *.split]
n0v has quit [*.net *.split]
jonludlam has joined #ocaml
cantstanya has joined #ocaml
cdruzac has joined #ocaml
yacks has joined #ocaml
pyon has joined #ocaml
ocp has joined #ocaml
Thooms has joined #ocaml
nikki93 has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
nikki93 has quit [Remote host closed the connection]
Kakadu has joined #ocaml
travisbrady has quit [Quit: travisbrady]
manizzle has joined #ocaml
nikki93 has joined #ocaml
travisbrady has joined #ocaml
avsm has joined #ocaml
n0v has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
michel_mno is now known as michel_mno_afk
IbnFirnas_ has joined #ocaml
jonludlam has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
Yoric has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
Yoric has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
Thooms has quit [Read error: No route to host]
Thooms has joined #ocaml
avsm has quit [Ping timeout: 255 seconds]
willy_ has joined #ocaml
ocp has quit [Ping timeout: 255 seconds]
ocp has joined #ocaml
f[x] has quit [Ping timeout: 252 seconds]
Yoric has joined #ocaml
claudiuc_ has joined #ocaml
claudiuc has quit [Ping timeout: 253 seconds]
claudiuc_ has quit [Remote host closed the connection]
<j0sh> lwt_io stops reading packets under high load (~500 lwt sockets/channels, 500 messages/sec per channel), has anyone seen similar behavior in the past?
<smondet> j0sh: by "stop" we mean something hangs or packets are dropped?
ggole has quit []
<j0sh> smondet: seems to hang at Lwt_io.read_char, and socket's rx queue fills up (when checked with netstat)
struktured has quit [Quit: Konversation terminated!]
struktured has joined #ocaml
<smondet> j0sh: are you using the libev or select engine?
<j0sh> smondet: should be libev, but i'm not sure how to verify that (conf-libev is installed, lwt is compiled with libev support)
<j0sh> running ldd on the binary shows a dependency on libev, but i don't know if that's being used at runtime
<j0sh> the other thing is, sending packets still works (being sent at the same rate, 1/sec/socket, or ~500 packets/sec for the entire process)
<smondet> there was a function in `Lwt_engine` i think to check engine is running
<smondet> or Lwt_main
<j0sh> there's Lwt_engine.get : unit -> Lwt_engine.t where t is a class
<j0sh> how do you find the subclass type of a class in ocaml?
<smondet> i think you cannot do that
<mrvn> find?
<j0sh> well strace gives a bunch of epoll calls, so we can probably assume it's that
<smondet> there is a function returning true or false for a bunch of possible "features" (incl. Libev)
<smondet> ok, so it's not a select limitation :)
_andre has quit [Quit: leaving]
claudiuc has joined #ocaml
<j0sh> it might have something to do with my code... the reading seems to stop after all the sockets have connected
<j0sh> even though all lwt threads with sockets are started through Lwt.async
axiles has quit [Remote host closed the connection]
avsm has joined #ocaml
<smondet> (I cannot try stuff now but) I don't think you need Lwt.async
<j0sh> yeah i've also tried simply starting the threads via Lwt_list.iter_p and friends, basically the same result
<j0sh> working on a reduced test case now, will see if that still happens there
avsm has quit [Ping timeout: 252 seconds]
tlockney is now known as tlockney_away
jao has quit [Ping timeout: 240 seconds]
_tca has joined #ocaml
travisbrady has quit [Quit: travisbrady]
angerman has quit [Quit: Gone]
mreca has joined #ocaml
tobiasBora has joined #ocaml
jonludlam has joined #ocaml
willy_ has quit [Ping timeout: 240 seconds]
michael_lee has quit [Remote host closed the connection]
AltGr has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
<j0sh> smondet: reduced test case seems to work fine, i guess the problem is somewhere else in my code. thanks anyway
tautologico has joined #ocaml
ocp has quit [Ping timeout: 268 seconds]
<tautologico> is there any documentation for the new ppx stuff? will it land on the next release?
avsm has joined #ocaml
<Drup> afaik, it will land on next release, yes
<Drup> actually, ppx is already there
<Drup> but not the extension points
<Drup> as far as documentation goes, there is a document and some examples in the sources of the compiler, under experimental/frisch
<tautologico> cool, thanks
maattdd_ has quit [Ping timeout: 268 seconds]
yacks has quit [Read error: Operation timed out]
avsm has quit [Ping timeout: 268 seconds]
Yoric has quit [Ping timeout: 240 seconds]
<Drup> (there is no support for ppx in ocamlfind yet)
maattdd_ has joined #ocaml
rand000 has quit [Quit: leaving]
maattdd_ has quit [Ping timeout: 240 seconds]
mreca has quit [Read error: Connection reset by peer]
AltGr has left #ocaml []
WraithM has quit [Remote host closed the connection]
Simn has quit [Quit: Leaving]
WraithM has joined #ocaml
Thooms has quit [Ping timeout: 240 seconds]
nlucaroni has quit [Quit: leaving]
avsm has joined #ocaml
<tautologico> now that camlp4 is no longer part of the distribution, I wonder if camlp5 would be a better option for syntax extension
<Drup> no
<Drup> use ppx
<tautologico> I don't know if the extension I have in mind is possible with ppx
<Drup> what do you have in mind ?
<jpdeplaix> tautologico: nobody use camlp5 AFAIK (except coq)
<tautologico> matlab-style matrix indexing
zzing has joined #ocaml
<Drup> x[3..10] ?
avsm has quit [Read error: Operation timed out]
<tautologico> m[2:, 1:5]
<adrien> jpdeplaix: there are a few ones actually
<tautologico> could be a more ocamly version like m.(1:, 2:5)
trystero has quit [Ping timeout: 255 seconds]
<Drup> tautologico: that's hackable
<Drup> keep in mind that ppx is AST transformer
WraithM has quit [Ping timeout: 255 seconds]
<Drup> as long as you can make it parse, you can use it
<Drup> x.(3, 3) do parse
<Drup> for :, it does not, but, be creative :p
<tautologico> 2-5 would parse, but not something like 1-
<Drup> indeed
trystero has joined #ocaml
tane has quit [Quit: Verlassend]
WraithM has joined #ocaml
<Drup> of course, you could just use an extension point too
<Drup> it would be easier to implement, at the cost of a less pretty syntax
<tautologico> in that case I'd have to use a bracketed syntax, right?
<Drup> yes
<tautologico> [%mat ...]
<Drup> (but a better readibility and compatibility with editors)
<tautologico> something like that
<tautologico> it's not too bad
<Drup> [@foo ...] actually
<Drup> it's attached to a node (the matrix) so it's @
<Drup> (iirc)
<Drup> (I checked, and indeed, it's @)
<tautologico> can it change the type? indexing can result in a single element, a vector/slice or another matrix
<Drup> I'm not sure it would help you all that much, actually, since the content of the node must be a correct ocaml expression
<tautologico> yes
<Drup> all this is before typing
<tautologico> I noticed that
<Drup> so typing is irrelevent for now, you can do whatever you want :p
nikki93 has quit [Remote host closed the connection]
shinnya has joined #ocaml
<Drup> tautologico: a good way to explore the posibility of the parse tree is to launch "ocaml -dparsetree" with the trunk compiler
teiresias has quit [Ping timeout: 265 seconds]
teiresias has joined #ocaml
<Drup> tautologico: there is a weird solution ... just use a space.
<Drup> hum, it wouldn't be able to make the difference between a- and a, not nice then
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maattdd_ has joined #ocaml
maattdd_ has quit [Ping timeout: 240 seconds]
<tautologico> yes
<Drup> it's not stable yet, so it's still time to propose alain frisch some syntax extension that are not covered well enough by extension points
jonludlam has quit [Ping timeout: 240 seconds]
<tautologico> lwt complains about libev on this machine, but is being configured with --disable-libev anyway
maattdd_ has joined #ocaml
S11001001 has quit [Disconnected by services]
madroach has quit [Ping timeout: 252 seconds]
<tautologico> why is it complaining about pthreads?
madroach has joined #ocaml
maattdd_ has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
avsm has quit [Read error: Operation timed out]
tobiasBora has quit [Quit: Konversation terminated!]
tmcm has joined #ocaml
<tmcm> hello all
<tmcm> has anyone had luck installing lwt under cygwin?
darkf has joined #ocaml
<tautologico> I'm not having luck installing lwt on OS X mavericks
<tmcm> brb
tmcm has quit [Quit: bye]