mfurr changed the topic of #ocaml to: OCaml 3.08.2 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/
gim has joined #ocaml
_JusSx_ has quit ["leaving"]
Sonarman has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
gim has joined #ocaml
shawn_ has joined #ocaml
shawn has quit [Read error: 110 (Connection timed out)]
kinners has quit ["leaving"]
mattam has quit [Read error: 110 (Connection timed out)]
Svrog has joined #ocaml
zzorn is now known as zzorn_sleep
zzorn_sleep has quit ["They are coming to take me away, ha ha"]
Svrog has quit []
m3ga has joined #ocaml
<KrispyKringle> hmm. I wnat to open a socket and transmit (possibly binary) data by it. Should I just read the source file in as a string and write it to the socket (using Unix library), or is there some other recommended way?
monochrom has joined #ocaml
m3ga has quit [Read error: 110 (Connection timed out)]
m3ga has joined #ocaml
m3ga has quit [Read error: 110 (Connection timed out)]
m3ga has joined #ocaml
m3ga has quit [Client Quit]
humasect has joined #ocaml
humasect has quit ["Leaving.."]
zzorn has joined #ocaml
<mflux> that would work
<mflux> maybe you should read the file in parts though
<mflux> if it can be big
<mflux> or use streams, although you still need to read it blocks but the code to read and send can be separate
monochrom has quit ["Few people understand "understanding"."]
Sonarman has quit ["leaving"]
vezenchio has joined #ocaml
jeff2 has joined #ocaml
zzorn is now known as zzorn_afk
zzorn_afk is now known as zzorn_away
juhammed has joined #ocaml
juhammed_ has quit [Read error: 104 (Connection reset by peer)]
Msandin has joined #ocaml
smimou has joined #ocaml
_JusSx_ has joined #ocaml
Msandin has quit [Read error: 110 (Connection timed out)]
Msandin has joined #ocaml
shawn_ has quit [Read error: 110 (Connection timed out)]
gim has quit ["brb"]
shawn has joined #ocaml
mattam has joined #ocaml
Msandin has quit [Read error: 110 (Connection timed out)]
mayhem has quit ["[BX] Time wasted: all of it"]
Msandin has joined #ocaml
vegai has joined #ocaml
gim has joined #ocaml
Msandin has quit [Read error: 110 (Connection timed out)]
Skal has joined #ocaml
zzorn_away is now known as zzorn
senko has joined #ocaml
zzorn is now known as zzorn_afk
Mike_L has joined #ocaml
* Mike_L wanders in
<Mike_L> does ocaml have tcp/ip capabilities on Win32?
<pango> probably, mldonkey for example also runs on Win32...
<Mike_L> I see that sockets are implemented in the Unix library
<Mike_L> smlnj sockets are apparently not documented anywhere
<Mike_L> or they are documented in an online book whose web server is broken
<Mike_L> i want to learn ml and write a network server process
<pango> Unix module is also implemented on Win32
<Mike_L> excellent
<Mike_L> are there large differences between ocaml and smlnj?
<pango> I only know ocaml for now
<Mike_L> ok
<pango> for high performances servers, the Unix module may not be enough (epoll(), fibres...)
<Mike_L> i'm not concerned with performance right now
<Mike_L> i really just want a fun project to work on while learning how to code in ml
<pango> ok
<Mike_L> hmm I finally found sml Basis library docs... www.standardml.org/Basis/
Submarine has joined #ocaml
Msandin has joined #ocaml
<Mike_L> pango: thanks for your help
_JusSx__ has joined #ocaml
<vegai> nice to see that the ocamlnet project is alive
_JusSx_ has quit [Read error: 110 (Connection timed out)]
Mike_L has left #ocaml []
tintin has quit [Remote closed the connection]
ejt has joined #ocaml
ejt has quit [Client Quit]
Submarine has quit [Read error: 104 (Connection reset by peer)]
Submarine has joined #ocaml
vodka-goo has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
gim has joined #ocaml
pango_ has joined #ocaml
pango has quit [Read error: 60 (Operation timed out)]
Msandin has quit [Read error: 104 (Connection reset by peer)]
<mflux> hm, at some point of incoming data, which I'm offering to ocamllex-lexer to lex, I would like to retrieve a large chunk of binary, and then hand over parsing back to the lexer
<mflux> any suggestions on how to go about it?
<mflux> infact I would like the lexer to return that part of binary data as a stream, which I will implement, so that it'll work nicely with ocamlyacc
<mflux> hm, maybe offering the lexer my own from_function-kind of data generator would be able to do it
_fab has quit [Remote closed the connection]
tautologico has joined #ocaml
budjet has joined #ocaml
_kd has joined #ocaml
Gueben has joined #ocaml
<Gueben> salut
<tautologico> salut
<_kd> 'lu
<Gueben> on parle plutôt français ou anglais par ici ?
<tautologico> anglais
<_kd> moi je sais pas, c'est ma première, mais il me semble que c'est plus du genre anglais
<Gueben> ok
_fab has joined #ocaml
<Gueben> first, i don't understand why "quit;;" does not quit the toplevel
<tautologico> tried #quit;;
<tautologico> ?
<Gueben> oh, hehe, i thought that the # was there for the prompt, ok :)
<tautologico> nop :)
<tautologico> #use
<tautologico> #quit
<tautologico> #loag
<tautologico> ops
<tautologico> #load
<tautologico> etc
<_JusSx__> tautologico: italian?
<tautologico> _JusSx__: brazilian
<_JusSx__> mah
<tautologico> no parlo italiano
<Gueben> ok i've forgotten this detail
_kd has quit [Read error: 60 (Operation timed out)]
<Gueben> and my second question is about the graphic library
<_JusSx__> forgot it
<Gueben> how can i use it ?
<_JusSx__> forgetting it
<Gueben> :)
<Smerdyakov> Gueben, read the manual?
<Gueben> that's what i did
<_JusSx__> read and forget
<tautologico> Gueben: are you reading the book by cosineau & mauny ?
<Gueben> nope
<Gueben> chailloux manoury and pagano
<tautologico> is it about caml light or ocaml ?
<Smerdyakov> Gueben, you read the OCaml manual section on the graphics library, but you still don't know how to use it?
<Gueben> that's right
<Smerdyakov> Gueben, then I guess you need to learn more about OCaml in general, if you are unable to understand the information there.
<Gueben> i need to find the information before understanding it
<Smerdyakov> The OCaml manual should contain enough information.
<Smerdyakov> What I saying is that you must understand the language before you can hope to undestand the documentation for individual libraries. Make sense?
<Gueben> sure, but i was reading a manual, and now i'm in this chapter... but i can't do the examples
<Smerdyakov> Which chapter?
<Smerdyakov> (There is only one "OCaml manual," and that is the one called that on the caml.inria.fr site. If you are reading something else, all bets are off.)
<tautologico> I think he means the chapter from the book
vezenchio has quit ["I live in a yurt on the steppes of Sheepfuckistan. That's why."]
<Smerdyakov> I have no experience with that, but the actual _manual_ contains a tutorial, and is also likely to be more up-to-date.
budjet has quit [Remote closed the connection]
vodka-goo has quit []
Submarine has quit ["Leaving"]
Gueben has quit ["Leaving"]
_fab has quit [Remote closed the connection]
zzorn_afk has quit ["They are coming to take me away, ha ha"]
tautologico has quit []
matt___ has joined #ocaml
matt___ is now known as Sonarman
Skal has quit ["Client exiting"]
<Nutssh> mflux: You'd need to make the rest of your code handle lexbuf's. The lexbuf may grab more data than is available and you can't 'push back'
_JusSx__ has quit ["leaving"]