mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
piggybox_ has quit [Read error: 104 (Connection reset by peer)]
tty56_ has joined #ocaml
smimou has quit ["bli"]
tty56 has quit [Read error: 110 (Connection timed out)]
piggybox has joined #ocaml
seafoodX has joined #ocaml
Abo-Marwan14 has quit [Remote closed the connection]
screwt840 has quit [Remote closed the connection]
yminsky has joined #ocaml
buluca has quit [Read error: 113 (No route to host)]
[azoic] has joined #ocaml
seafoodX has quit []
mordaunt has joined #ocaml
yminsky has quit []
seafoodX has joined #ocaml
seafoodX_ has joined #ocaml
seafoodX has quit [Read error: 104 (Connection reset by peer)]
qazwsx has joined #ocaml
<qazwsx> does ocaml have a good binridng for mozembed?
qazwsx has quit ["leaving"]
jonafan has joined #ocaml
jonathanv has quit [Read error: 113 (No route to host)]
ramki has quit [Remote closed the connection]
[azoic1 has joined #ocaml
Jedai has joined #ocaml
[azoic] has quit [Read error: 110 (Connection timed out)]
Torment has quit [Read error: 110 (Connection timed out)]
mordaunt has quit [Read error: 104 (Connection reset by peer)]
flux-_ has quit [Remote closed the connection]
flux has joined #ocaml
Nutssh has joined #ocaml
screwt840 has joined #ocaml
Abo-Marwan14 has joined #ocaml
[azoic] has joined #ocaml
tomppa has joined #ocaml
[azoic] has quit [Client Quit]
[azoic1 has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
seafoodX_ has quit [Read error: 104 (Connection reset by peer)]
<flux> funny, apparently no one's written an ocaml interface for memcached
<tsuyoshi> what is memcached
<flux> it's a server that takes key value pairs in and returns them on-demand
<flux> most common usage is a distributed (or just intersession) cache for web-applications
<flux> it's of the facebook fame
<tsuyoshi> works over tcp?
<flux> and udp
<flux> it also provides some simple operations like data expiration and incrementing
<flux> /decrementing values
<flux> apparently it's quite effective in all its simplicity
<tsuyoshi> hmm.. simple protocol
<tsuyoshi> you could do it in ocaml in a day, if that
<flux> yes, one could, especially if one considers only a single-threaded user-app without much need for concurrent requests
smimou has joined #ocaml
<tsuyoshi> why not just open more connections for concurrent requests?
<flux> you would do that, but that doesn't just work this way: let value = lookup_key mc "foo" - if you don't go multithreaded
<tsuyoshi> I don't understand... how would you do concurrent requests without threads?
<flux> some mechanism to defer values could be nice: let value = lookup_key mc "foo" in .. code here .. output_string (force value)
<flux> that could be concurrent by simply: let v1, v2 = lookup_key mc1 "foo1", lookup_key mc2 "foo2" in (* keys are looked up concurrently *) output_string (force v1); output_string (force v2)
<tsuyoshi> hrm... I don't know, it seems like the whole point of this is to reduce latency
<tsuyoshi> it seems to me the bottleneck would be the network
<tsuyoshi> flux: what exactly do you have in mind to cache?
<flux> you might have something useful to do in the meanwhile; perhaps database queries you _need_ to do
<flux> but realistically, I doubt the advantage of doing the cache queries in a non-blocking fashion wouldn't help a lot; perhaps in extreme cases :)
<tsuyoshi> I guess you could provide the file descriptor and an input-consumer for select/poll
<tsuyoshi> that should interoperate with the better ocaml concurrency libraries
<tsuyoshi> I need to go eat
<tsuyoshi> I used to think it was the one enjoyable thing about this country, but I've gotten diarrhea so many times I've had to revise my opinion a bit
Tetsuo has joined #ocaml
<flux> :). which country?
<tsuyoshi> thailand
<tsuyoshi> I was actually reading this guidebook that said the best thing about laos was that it was still undeveloped, in comparison to thailand
<tsuyoshi> and I thought, my god, thailand is primitive enough
<flux> work trip?
tomppa has quit ["Ex-Chat"]
seafoodX has quit [Read error: 104 (Connection reset by peer)]
Tetsuo has quit [Remote closed the connection]
netx has quit [Read error: 110 (Connection timed out)]
Mr_Awesome has quit ["aunt jemima is the devil!"]
netx has joined #ocaml
piggybox has quit [Connection timed out]
piggybox has joined #ocaml
Tetsuo has joined #ocaml
seafoodX has joined #ocaml
buluca has joined #ocaml
seafoodX has quit [Read error: 104 (Connection reset by peer)]
seafoodX has joined #ocaml
krumms has joined #ocaml
joshcryer has quit [Read error: 104 (Connection reset by peer)]
buluca has left #ocaml []
buluca has joined #ocaml
seafoodX has quit []
[azoic] has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
bluestorm__ has joined #ocaml
[azoic] has quit ["Leaving."]
kelaouchi has joined #ocaml
ramki has joined #ocaml
buluca has quit [Read error: 113 (No route to host)]
gene9 has joined #ocaml
gene9 has quit [Client Quit]
jdavis has left #ocaml []
crathman has joined #ocaml
psnively has joined #ocaml
joshcryer has joined #ocaml
bluestorm__ has quit ["Konversation terminated!"]
ulfdoz has quit [kubrick.freenode.net irc.freenode.net]
ulfdoz has joined #ocaml
kelaouchi has quit [Client Quit]
kelaouchi has joined #ocaml
crathman has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.7/2007091417]"]
Torment has joined #ocaml
Mr_Awesome has joined #ocaml
Jedai has quit [Read error: 110 (Connection timed out)]
Demitar has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
piggybox has quit [Read error: 104 (Connection reset by peer)]
jonathanv has joined #ocaml
kelaouchi has quit ["leaving"]
jonafan has quit [Read error: 110 (Connection timed out)]
netx has quit [Connection timed out]
ita has joined #ocaml
sioraiocht has joined #ocaml
Tetsuo has quit ["Leaving"]
buluca has joined #ocaml
seafoodX has joined #ocaml
ita has quit [Remote closed the connection]
anders__ has joined #ocaml
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
seafoodX has quit []