smimou changed the topic of #ocaml to: OCaml 3.08.3 available! | Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
mauke has quit [Remote closed the connection]
mauke has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
Herrchen has quit [Read error: 110 (Connection timed out)]
cjohnson has quit ["KVIrc 3.2.0 'Realia'"]
vodka-goo has joined #ocaml
vodka-goo has quit []
Smerdyakov has quit ["use phone!"]
Smerdyakov has joined #ocaml
wpaulson has joined #ocaml
totaln00b has joined #ocaml
<Smerdyakov> totaln00b, are you EXPERT?
vezenchio has quit ["ni shi wei yi de shen hua -- wo zhi ai ni You are my super star"]
<totaln00b> no, I'm an idiot
<totaln00b> I have a pipe over which an ocaml and a C program communicates; is there a way so taht I can tell ocaml to sent out doubles and ints in such a way that the bit patterns is the same in C and in Ocaml?
<totaln00b> lol no response?
<totaln00b> haha; back to scheme I go
wpaulson has quit []
ulfdoz_ has joined #ocaml
wpaulson has joined #ocaml
<Smerdyakov> There are some marshalling functions that might be helpful.
wpaulson has quit []
ulfdoz has quit [Read error: 110 (Connection timed out)]
wpaulson has joined #ocaml
Enveigler_ has joined #ocaml
<ulfdoz_> re
<ulfdoz_> g'morning Smerdyakov :)
<Smerdyakov> remorning ulfdoz_
totaln00b has quit ["Leaving"]
Smerdyakov has quit ["sleep"]
wpaulson has quit []
Herrchen has joined #ocaml
_shawn has joined #ocaml
rossberg has joined #ocaml
shawn_ has quit [Client Quit]
Enveigler_ has quit [Read error: 110 (Connection timed out)]
Enveigler_ has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
Enveigler_ has quit [Read error: 104 (Connection reset by peer)]
vodka-goo has joined #ocaml
vodka-goo has quit []
batdog has quit [brown.freenode.net irc.freenode.net]
batdog has joined #ocaml
Demitar has joined #ocaml
Demitar has quit [Client Quit]
Demitar has joined #ocaml
Demitar has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
Demitar has joined #ocaml
Enveigler_ has joined #ocaml
vodka-goo has joined #ocaml
vezenchio has joined #ocaml
vincenz has quit ["Lost terminal"]
vincenz has joined #ocaml
Enveigler_ has quit [Read error: 110 (Connection timed out)]
skowron has joined #ocaml
<skowron> Hi!
<skowron> how can i send private message to only one person ?
<TaXules> /msg person msg
Smerdyakov has joined #ocaml
skowron has left #ocaml []
Enveigler_ has joined #ocaml
Smerdyakov has quit ["work"]
totaln00b has joined #ocaml
<totaln00b> how can I get ocaml to marshall the data in such a way that it's sotred in the same way that C would store it?
Enveigler_ has quit [Read error: 110 (Connection timed out)]
<vodka-goo> totaln00b: I see no trivial solution
<vodka-goo> cause caml doesn't represent the data the same way
<vodka-goo> but if you code your marshall function in C you can convert your data to the C style
<totaln00b> is there a way
<totaln00b> I can instruct ocaml to just print out the bit pattern of an int32?
<vodka-goo> you can print it byte by byte at least
<vodka-goo> but I was thinking of coding your function in C
<vodka-goo> and then bind it into caml
<totaln00b> in ocaml
<totaln00b> how do I print it byte by byte?
<vodka-goo> print_byte ..
<vodka-goo> output_byte
<totaln00b> I see this neither in the ocaml ref nor in /usr/local/lib/ocaml/*.mli
<totaln00b> where is this documented?
<totaln00b> also, my ocaml does not recognize it
<totaln00b> which module is this in?
pango has quit ["Leaving"]
<vodka-goo> dbaelde@igloo ~ $ ocaml
<vodka-goo> Objective Caml version 3.08.3
<vodka-goo> # output_byte ;;
<vodka-goo> - : out_channel -> int -> unit = <fun>
<vodka-goo> it's in pervasives
<vodka-goo> man pervasives, or www doc
<vodka-goo> man Pervasives, sorry
<totaln00b> (Int32.bits_of_float -12.5));;
<totaln00b> This expression has type float -> int32 but is here used with type int
<totaln00b> what's wrong with that?
<vodka-goo> add parenthesis around -12.5
<vodka-goo> otherwise - is understood as integer substraction
<totaln00b> ah
<totaln00b> and it wants 2 ints
<vodka-goo> that stinks, I know :(
<totaln00b> I see
<totaln00b> cool
<totaln00b> thanks
mrsolo has joined #ocaml
Enveigler_ has joined #ocaml
Skal has joined #ocaml
totaln00b has left #ocaml []
Purice has joined #ocaml
Purice has quit [Remote closed the connection]
Enveigler_ has quit [Read error: 110 (Connection timed out)]
pango has joined #ocaml
Enveigler_ has joined #ocaml
totaln00b has joined #ocaml
totaln00b has quit [Client Quit]
Enveigler_ has quit [Read error: 104 (Connection reset by peer)]
vodka-goo has quit []
<ulfdoz_> bye
Enveigler_ has joined #ocaml
Skal has quit [Remote closed the connection]
Enveigler has joined #ocaml
Enveigler_ has quit [Read error: 110 (Connection timed out)]
Enveigler has quit [Read error: 60 (Operation timed out)]