<thelema_>
well, it's better than not working. good night.
<gildor>
good night
<olasd>
gildor: I don't see a simple way to limit parallelism in Lwt_list (the implementation there looks quite trivial)... maybe you could split your list into a reasonable number of sublists, and parallelly do a sequential map on each sublist?
<gildor>
olasd: I can create a pool of () and use it
<gildor>
but the problem is the complexity of a single function
<gildor>
I need to rework this function to call it only once
ssbr has quit [Quit: Missingno, I choose you! ... wait, no, shi-]
ssbr` is now known as ssbr
* gildor
offline
BiDOrD_ has joined #ocaml
BiDOrD has quit [Ping timeout: 240 seconds]
emmanuelux has quit [Ping timeout: 252 seconds]
iago has joined #ocaml
Yoric has quit [Ping timeout: 264 seconds]
iago has quit [Quit: Leaving]
ssbr- has joined #ocaml
ssbr- has quit [Client Quit]
ssbr- has joined #ocaml
ssbr has quit [Quit: Leaving]
ssbr- is now known as ssbr
emmanuelux has joined #ocaml
destrius has joined #ocaml
avsm has quit [Quit: Leaving.]
Progster has joined #ocaml
Hussaind has joined #ocaml
Hussaind has left #ocaml []
pcavs has joined #ocaml
pcavs has left #ocaml []
ankit9 has joined #ocaml
Progster has quit [Ping timeout: 260 seconds]
mjonsson has quit [Quit: Leaving]
emmanuelux has quit [Quit: @+]
r126f has quit [Ping timeout: 246 seconds]
ankit9 has quit [Ping timeout: 246 seconds]
r126f has joined #ocaml
ulfdoz has quit [Ping timeout: 246 seconds]
Xizor has joined #ocaml
cdidd has quit [Ping timeout: 246 seconds]
<diml>
gildor: a mutex + a counter: incr n; (if !n >= !max then Lwt_mutex.lock m else Lwt.return ()) >>= Lwt.finalize (... work ...) (fun () -> decr n; Lwt_mutex.unlock m; Lwt.return ())
Kakadu has joined #ocaml
pango is now known as pangoafk
thomasga has joined #ocaml
thomasga has quit [Client Quit]
ankit9 has joined #ocaml
eni has joined #ocaml
Xizor has quit [Ping timeout: 260 seconds]
avsm has joined #ocaml
avsm has quit [Client Quit]
edwin has joined #ocaml
silver has joined #ocaml
Yoric has joined #ocaml
thomasga has joined #ocaml
Cyanure has joined #ocaml
ftrvxmtrx has joined #ocaml
mika1 has joined #ocaml
<orbitz>
diml: I've taken to doing message passing in Async, I don't have enough experience yet to know how well it will work but it will avoid the mutexes at least.
<diml>
orbitz: sure, but don't think of mutexes in Lwt or Async as mutexes in preemptive threading, they really are just thin wrappers around wakeup (or whatever it is called)
<orbitz>
diml: It's not the thinnesse I'm not a fan of, it's the model
<diml>
orbitz: well, you can do both with both libraries, so it is just a matter of taste
avsm has joined #ocaml
thomasga has quit [Remote host closed the connection]
thomasga has joined #ocaml
rossberg has quit [Remote host closed the connection]
osa1 has quit [Read error: Operation timed out]
osa1 has joined #ocaml
rossberg has joined #ocaml
edwin has left #ocaml []
Drakken has quit [Ping timeout: 265 seconds]
caligula has quit [Ping timeout: 244 seconds]
ankit9 has quit [Remote host closed the connection]
Sablier has quit [Quit: Kat]
Sablier has joined #ocaml
caligula has joined #ocaml
Drakken has joined #ocaml
<Drakken>
Anybody else have a net connection prob for the last few minutes?
<Drakken>
It's still missing the performance optimizations, but it seems to work.
Yoric has quit [Ping timeout: 264 seconds]
<orbitz>
What is the big benefit to PEG parsers? I don't know much about them.
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
<flux>
they don't need a lexer phase
<pippijn>
and they have infinite lookahead, if I remember correctly
<flux>
but they are offline, that is, they cannot parse stream (say, a standard input), it needs to be loaded fully first
<orbitz>
Ah ok
<Drakken>
so a syntax extension can actually have different lexical rules
<Drakken>
which tends to mess up editing tools...
<pippijn>
yes, annoying
Sablier has quit [Quit: Kat]
<pippijn>
but you can edit your editing tool's syntax rules, too
Sablier has joined #ocaml
sepp2k has joined #ocaml
Yoric has joined #ocaml
destrius has quit [Quit: Leaving.]
osa1 has quit [Quit: Konversation terminated!]
eni has quit [Ping timeout: 255 seconds]
_andre has joined #ocaml
gasche_ is now known as gasche
Ptival has quit [Read error: Connection reset by peer]
ocp has joined #ocaml
ocp has left #ocaml []
gnuvince has quit [Ping timeout: 250 seconds]
Ptival has joined #ocaml
Ptival has quit [Read error: Connection reset by peer]
Ptival has joined #ocaml
gnuvince has joined #ocaml
Ptival has quit [Read error: Connection reset by peer]
lamawithonel has joined #ocaml
cdidd has joined #ocaml
Ptival has joined #ocaml
<_andre>
say i'm writing stubs for a C library "libfoo" and i want to call the ocaml library "foo". when i build the project with oasis/ocamlbuild, it'll create a libfoo.a, which causes problems with the original libfoo
jaar has joined #ocaml
<_andre>
is there a way around this, like using a different .a name?
<K_F>
ocamlmklib -custom -o foobar stub.o ?
Kakadu has quit [Ping timeout: 248 seconds]
<_andre>
K_F: do you know how to tell oasis/ocamlbuild to do this?
<K_F>
not really, I just specify it in the Makefile
Ptival has quit [Ping timeout: 265 seconds]
mika1 has quit [Quit: Leaving.]
Snark has joined #ocaml
Submarine has quit [Ping timeout: 264 seconds]
bsingh has joined #ocaml
eni has joined #ocaml
jaar has quit [Ping timeout: 250 seconds]
avsm has quit [Quit: Leaving.]
Ptival has joined #ocaml
Ptival has quit [Client Quit]
Yoric has quit [Ping timeout: 250 seconds]
eni has quit [Ping timeout: 264 seconds]
silver has quit [Read error: Connection reset by peer]
ftrvxmtrx has quit [Quit: Leaving]
bzzbzz has joined #ocaml
bsingh has quit [Remote host closed the connection]
eni has joined #ocaml
Ptival has joined #ocaml
Ptival has quit [Client Quit]
thomasga has quit [Ping timeout: 244 seconds]
tbrady has joined #ocaml
Cyanure has quit [Ping timeout: 246 seconds]
<vext01>
are any of you guys involved in the new beta ocaml release?
<thelema_>
vext01: some bug you want fixed?
<vext01>
i saw a link to a mailing list post asking for tests on unusual platforms
<vext01>
just wondering if that is someone here
<thelema_>
report anything on mantis.
<tbrady>
hcarty: ocamlbrew worked for me. I've been happily using utop since. Thank you.
<vext01>
thelema_: i dont have a bug :P
<vext01>
but i do have a sparc64 and sgi machine running openbsd :P
thomasga has joined #ocaml
mcstar has joined #ocaml
Xizor has joined #ocaml
mfp has quit [Ping timeout: 246 seconds]
Yoric has joined #ocaml
Anarchos has joined #ocaml
Cyanure has joined #ocaml
wagle has quit [Read error: Operation timed out]
wagle has joined #ocaml
mfp has joined #ocaml
<wmeyer>
vext01: We are interested in weird architectures
<wmeyer>
vext01: please use mantis to file your findings, it would be very appreciated
eni has quit [Ping timeout: 244 seconds]
<vext01>
wmeyer: ill give it a go over the next few days
Ptival has joined #ocaml
<wmeyer>
vext01: thanks
Ptival has quit [Quit: leaving]
Ptival has joined #ocaml
Cyanure has quit [Ping timeout: 244 seconds]
Submarine has joined #ocaml
wmeyer has quit [Read error: Connection reset by peer]
wmeyer has joined #ocaml
ftrvxmtrx has joined #ocaml
pangoafk is now known as pango
wmeyer has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<hcarty>
tbrady: You're welcome - I'm glad to hear that it worked for you.
eni has joined #ocaml
<Anarchos>
vext01 what kind of weird architectures are you looking for ?
osa1 has joined #ocaml
<vext01>
Anarchos: nothing in particular
<vext01>
the ocaml project is looking for odd platforms for testing
eni has quit [Ping timeout: 240 seconds]
<Drakken>
Repeating this morning's post for all you Americanos: