gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
groovy2shoes has joined #ocaml
groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #ocaml
groovy2shoes has quit [Changing host]
groovy2shoes has joined #ocaml
groovy2shoes has left #ocaml []
lamawithonel has quit [Remote host closed the connection]
Edward__ has quit []
banisterfiend has joined #ocaml
groovy2shoes has joined #ocaml
Yoric has quit [Quit: Yoric]
smerz has quit [Read error: Connection reset by peer]
groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
mfp has joined #ocaml
banisterfiend has quit [Ping timeout: 240 seconds]
myu2 has quit [Remote host closed the connection]
Amorphous has quit [Ping timeout: 272 seconds]
Amorphous has joined #ocaml
myu2 has joined #ocaml
pheredhel has quit [Ping timeout: 276 seconds]
pheredhel has joined #ocaml
banisterfiend has joined #ocaml
ulfdoz has joined #ocaml
almaisan-away is now known as al-maisan
groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #ocaml
groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #ocaml
groovy2shoes has quit [Changing host]
groovy2shoes has joined #ocaml
ulfdoz has quit [Ping timeout: 250 seconds]
groovy2shoes has quit [Quit: groovy2shoes]
Snark has joined #ocaml
banisterfiend has quit [Ping timeout: 250 seconds]
edwin has joined #ocaml
ygrek has joined #ocaml
ttamttam has joined #ocaml
banisterfiend has joined #ocaml
ikaros has joined #ocaml
myu2 has quit [Remote host closed the connection]
Yoric has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
banisterfiend has quit [Ping timeout: 240 seconds]
_andre has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
banisterfiend has joined #ocaml
ftrvxmtrx has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
myu2 has joined #ocaml
lamawithonel has joined #ocaml
albacker has quit [Remote host closed the connection]
jm_ocaml has joined #ocaml
Fullma has joined #ocaml
banisterfiend has quit [Ping timeout: 265 seconds]
lamawithonel has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
humasect has joined #ocaml
unkanon2 has quit [Quit: Lost terminal]
jsk has joined #ocaml
humasect has quit [Remote host closed the connection]
jm_ocaml has quit [Quit: Konversation terminated!]
jm_ocaml has joined #ocaml
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 276 seconds]
<rwmjones> gildor: what's the destdir install command for oasis?
<rwmjones> gildor: never mind, I see you have to set it on configure command line ... that sucks a bit
<thelema> rwmjones: did you notice my message on bitstring?
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 264 seconds]
smerz has joined #ocaml
ttamttam has quit [Remote host closed the connection]
<rwmjones> thelema: on the mailing list? I don't see it
<thelema> no, here on IRC - a matching problem with computed 0-width strings
<rwmjones> nope
<thelema> well, that's basically it - { x:4; y: (x-5)*32 } doesn't match if x=5
<thelema> I worked around it by using an extra match case for x=5 that doesn't have any y, but it wouldn't hurt to fix if it's not intended.
<rwmjones> thelema: hmm it does look like a bug. Not sure if the code really knows about 0-width matches.
<thelema> Is the bug tracker on google code the best place to report this officially?
<rwmjones> thelema: best to send a note to the mailing list I think
<rwmjones> even better w/ patch ...
<thelema> a patch is very unlikely
jsk has quit [Remote host closed the connection]
jsk has joined #ocaml
_andre has quit [Quit: leaving]
al-maisan is now known as almaisan-away
Yoric has quit [Quit: Yoric]
jonathandav has quit [Read error: Operation timed out]
mikemc has quit [Ping timeout: 240 seconds]
mikemc has joined #ocaml
jonathandav has joined #ocaml
jonathandav has quit [Read error: Operation timed out]
mikemc has quit [Ping timeout: 272 seconds]
ftrvxmtrx_ is now known as ftrvxmtrx
mikemc has joined #ocaml
jonathandav has joined #ocaml
avsm1 has quit [Quit: Leaving.]
ftrvxmtrx has quit [Quit: Leaving]
ulfdoz has joined #ocaml
ygrek has joined #ocaml
eye-scuzzy has joined #ocaml
eye-scuzzy has quit [Client Quit]
ftrvxmtrx has joined #ocaml
eye-scuzzy has joined #ocaml
jsk has quit [Ping timeout: 265 seconds]
ygrek has quit [Ping timeout: 240 seconds]
<thelema> hmm, my threads are randomly dying on uncaught Unix_error related to select, just because I add a "Thread.delay 1." call
<adrien> EINTR?
* thelema looks up # 11
<thelema> yes
<adrien> interrupted by a signal, calls with that should be retried with the remaining time
<thelema> high-level ocaml fix?
<adrien> 'man select' has some more info, but iirc ocaml won't let you use what is described there
<thelema> Unix.handle_unix_error?
<thelema> me tries just catching the exception - actual delay isn't critical
<thelema> I just don't want to saturate my cpu with 250 threads
<adrien> don't know, when I had that, I ended up not having to fix that (might have started using lwt at that time, can't remember)
<thelema> hmm, seems to work
<thelema> at least no more notification of threads dying
<thelema> :( except I'm back to saturating my cpu
<adrien> well, would lwt help?
<thelema> I don't know - can I run an infinite loop in many threads and delay enough to not saturate my cpu?
WonTu has joined #ocaml
WonTu has left #ocaml []
ygrek has joined #ocaml
<thelema> List.init num (fun _ -> Lwt_preemptive.detach (main_pcap fn) (-1)) |> Lwt.join |> ignore
<thelema> I'm missing something still, notably, how to get this computation to actually start
<thelema> even [|> ignore_result] doesn't work...
<edwin> thelema: why don't you use mutexes and conditional variables to wakeup the thread only when there IS work to be done
<thelema> I'm doing a very simple benchmarking - running x threads at a specific rate and monitoring memory usage to see how much memory each thread needs on average
<asmanur> thelema: do you have a Lwt_unix.run somewhere to start the whole thing ?
<thelema> asmanur: no, that may help.
<thelema> asmanur: thanks, capping with a |> Lwt_unix.run seems to be doing something
almaisan-away is now known as al-maisan
myu2 has quit [Remote host closed the connection]
ftrvxmtrx has quit [Read error: Connection reset by peer]
Snark has quit [Quit: Ex-Chat]
Edward__ has joined #ocaml
jeddhaberstro has joined #ocaml
al-maisan is now known as almaisan-away
ftrvxmtrx has joined #ocaml
Edward__ has quit []
jm_ocaml has quit [Quit: Konversation terminated!]
jm_ocaml has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
jeddhaberstro has quit [Quit: jeddhaberstro]
jsk has joined #ocaml
jm_ocaml has quit [Quit: Konversation terminated!]
jm_ocaml has joined #ocaml
vk0 has quit [Ping timeout: 265 seconds]
jm_ocaml has quit [Remote host closed the connection]
vk0 has joined #ocaml
edwin has quit [Remote host closed the connection]
ulfdoz has quit [Ping timeout: 255 seconds]
ttamttam has joined #ocaml
mnabil_ has joined #ocaml
jeddhaberstro has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
ttamttam has quit [Remote host closed the connection]
banisterfiend has joined #ocaml
tautologico has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
jonafan has quit [Ping timeout: 240 seconds]
tautologico has quit [Quit: tautologico]
tautologico has joined #ocaml
jonafan has joined #ocaml
jonafan_ has joined #ocaml
jonafan has quit [Ping timeout: 240 seconds]
jonafan_ has quit [Ping timeout: 255 seconds]
Fullma has quit [Read error: Connection reset by peer]
jonafan has joined #ocaml