cjeris changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
mikeX has quit ["leaving"]
<mc__>
i googled but i couldnt find any usefull information on OCaml and OpenAL,are there bindings?
<mc__>
or what would be the best way for audio playback with OCaml?
<esdee>
never done anything audio related with ocaml, but the only thing that comes to mind is ocamlsdl
pantsd has quit ["Leaving."]
joshcryer has quit [Client Quit]
joshcryer has joined #ocaml
hsfb has joined #ocaml
<hsfb>
hello.. anyone tried last example from ffc, balls?
hsfb has left #ocaml []
gim_ has quit ["dodo"]
oracle1 has quit [zelazny.freenode.net irc.freenode.net]
Oatmeat|umn has quit [zelazny.freenode.net irc.freenode.net]
haelix has quit [zelazny.freenode.net irc.freenode.net]
Oatmeat|umn has joined #ocaml
eroyf has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
gim has joined #ocaml
eroyf has joined #ocaml
clog has joined #ocaml
ppsmimou has joined #ocaml
pattern has joined #ocaml
haelix has joined #ocaml
oracle1 has joined #ocaml
_blackdog_away has quit [Remote closed the connection]
screwt8 has joined #ocaml
pango has joined #ocaml
Demitar has quit [Read error: 113 (No route to host)]
Smerdyakov has quit ["Leaving"]
pantsd has joined #ocaml
ygrek has joined #ocaml
ygrek has quit [Client Quit]
slipstream has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
pantsd has quit ["Leaving."]
ygrek has joined #ocaml
pantsd has joined #ocaml
love-pingoo has joined #ocaml
vital303 has joined #ocaml
mc___ has joined #ocaml
mc__ has quit [Connection reset by peer]
mc___ is now known as A
A is now known as mc__
vital304 has joined #ocaml
vital304 has quit ["Leaving."]
vital304 has joined #ocaml
vital303 has quit [Read error: 110 (Connection timed out)]
bluestorm_ has joined #ocaml
_JusSx_ has joined #ocaml
LeCamarade has joined #ocaml
vital304 has left #ocaml []
gim_ has joined #ocaml
_blackdog has joined #ocaml
Cygal has joined #ocaml
jlouis has quit [Remote closed the connection]
jlouis has joined #ocaml
ygrek has quit [Remote closed the connection]
bluestorm_ has quit ["Konversation terminated!"]
ita|evil is now known as ita
<LeCamarade>
Okay, who can give me a list of the unsafe modules in OCaml? I want to create a sandbox. Unsafe modules and functions.
<LeCamarade>
I'll not be including unix.cma, so that's pretty much a lot of danger hidden.
<mrvn>
Persvasis, Obj, Unix
<mrvn>
and Thread
<LeCamarade>
Pervasives must survive, because all expressions depend on it.
<LeCamarade>
I'm talking of the sandbox for this channels evaluating bot.
LeCamarade has left #ocaml []
LeCamarade has joined #ocaml
<LeCamarade>
I'll replace some functions in Pervasives (the ones that deal with IO).
<LeCamarade>
I mean in Sys.
<mrvn>
I would restrict any file IO.
<LeCamarade>
Yeah, I'm actually removing all IO except stdout IO, which we need.
<LeCamarade>
All IO.
* ita
slaps LeCamarade with external keywords and marshalling functions
descender has joined #ocaml
<LeCamarade>
ita: Hmm ...
<LeCamarade>
ita: How would I skirt those?
<ita>
LeCamarade: have fun :-)
<LeCamarade>
Yeah. Little else to do. :o)
<ita>
id rather make my own lisp interpreter or javascript than filtering stuff
<ita>
as a security principle, it is easier to give priviledges than trying to revoke them
<LeCamarade>
I'll just replace whole modules. Like writing an empty Sys, and then putting the line to be evaluated in a file, and pushing that to ocaml.
<LeCamarade>
If the line talks of Sys, it is not going to get the original Sys. :o) I hope it works.
<ita>
yeah, sure
pango has quit [Remote closed the connection]
pango has joined #ocaml
<flux>
I think the dynlink module has some concept of 'safe modules'
<flux>
like, modules that don't do for example "extern"
<flux>
but I could be totally wrong :)
<LeCamarade>
But how could I use dynlink to run a line from here?
* LeCamarade
doesn't even ever get to use Dynlink.
<LeCamarade>
Only time I tried it was for this self-same bot, and I opted for invoking. :o(
Smerdyakov has joined #ocaml
_blackdog has quit [Remote closed the connection]
LeCamarade has quit [Read error: 110 (Connection timed out)]
mc__ has quit [Read error: 104 (Connection reset by peer)]
mc__ has joined #ocaml
<flux>
well, you could possibly use the both.. but perhaps not trying to use Dynlink in the first step will be easier
benny_ has joined #ocaml
ygrek has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
Oxylin has joined #ocaml
Demitar has quit [Read error: 110 (Connection timed out)]
mc__ has quit [Read error: 104 (Connection reset by peer)]
_JusSx_ has quit [Read error: 113 (No route to host)]
bluestorm_ has joined #ocaml
ygrek has quit []
<mbishop>
Mmm, just saw 3.10.0 was released
Riesz has joined #ocaml
<bluestorm_>
« A new experimental tool, ocamlbuild: a compilation manager that automates the building of OCaml applications and libraries. See the draft documentation. »
<bluestorm_>
kewl
Cygal is now known as Cygal_aw
Sysop_fb has joined #ocaml
postalchris has joined #ocaml
blizz has joined #ocaml
<blizz>
hello
<blizz>
how can i deal with sockets in ocaml?
<blizz>
tcp/ip sockets to be specific
<esdee>
Unix.socket
<blizz>
wonderful, thanks
Oxylin has quit [Client Quit]
postalchris has quit [Read error: 113 (No route to host)]
<blizz>
the documentation is really nice.
* ita
prefers the javadoc
Riesz has quit ["Leaving.."]
Cygal_aw is now known as Cygal
_JusSx_ has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
<blizz>
imho it's much better than ruby and most python documentation :-)
<ita>
python is messy
<ita>
and ruby is .. rubbish
<blizz>
ruby is really messy :P
<blizz>
not even the ruby people like rdoc
slipstream-- has joined #ocaml
<blizz>
python needs google to navigate the docs
<ita>
haha yes
<ita>
or reading the source code
<ita>
(i do
Cygal has quit [Remote closed the connection]
slipstream has quit [Read error: 110 (Connection timed out)]
<pango>
that's an O'Reilly conspiracy to sell more books ;)
<mbishop>
ML languages typically have great docs
<ita>
if operator overloading is so evil, why does String in java do it?