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
thelema has quit [Remote host closed the connection]
thelema has joined #ocaml
ikaros has quit [Remote host closed the connection]
rn114_ has quit [Remote host closed the connection]
joewilliams is now known as joewilliams_away
rfg has joined #ocaml
fraggle_ has quit [Ping timeout: 260 seconds]
fraggle_ has joined #ocaml
Modius_ has joined #ocaml
gnuvince_ has quit [Ping timeout: 240 seconds]
gnuvince has quit [Ping timeout: 245 seconds]
gnuvince has joined #ocaml
albacker__ has quit [Max SendQ exceeded]
albacker__ has joined #ocaml
willb has quit [Ping timeout: 240 seconds]
willb has joined #ocaml
hyperboreean has quit [Ping timeout: 272 seconds]
hyperboreean has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 264 seconds]
Tobu has quit [Quit: Leaving.]
rfg has quit [Quit: rfg]
ftrvxmtrx has quit [Ping timeout: 250 seconds]
ulfdoz has joined #ocaml
ftrvxmtrx has joined #ocaml
zubeen has joined #ocaml
<zubeen> ocamlfind: `cil' not found
<zubeen> can anyone help me fix this issue?
<zubeen> is this the right place to ask?
Modius__ has joined #ocaml
Modius_ has quit [Ping timeout: 240 seconds]
Modius_ has joined #ocaml
Modius__ has quit [Ping timeout: 240 seconds]
Modius__ has joined #ocaml
Modius_ has quit [Ping timeout: 240 seconds]
ftrvxmtrx has quit [Ping timeout: 276 seconds]
ulfdoz has quit [Ping timeout: 255 seconds]
ftrvxmtrx has joined #ocaml
Tianon has quit [Read error: Operation timed out]
ftrvxmtrx has quit [Read error: Connection reset by peer]
Snark has joined #ocaml
gnuvince has quit [Ping timeout: 255 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
gnuvince has joined #ocaml
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
rwmjones_afk is now known as rwmjones
zubeen has quit [Ping timeout: 276 seconds]
Yoric has joined #ocaml
ttamttam has joined #ocaml
rwmjones is now known as rwmjones_mtg
ftrvxmtrx has joined #ocaml
diml has quit [Ping timeout: 245 seconds]
_andre has joined #ocaml
rwmjones_mtg is now known as rwmjones
rgrig has joined #ocaml
diml has joined #ocaml
ikaros has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
ttamttam has quit [Remote host closed the connection]
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
Amorphous has quit [Ping timeout: 272 seconds]
Amorphous has joined #ocaml
rfg has joined #ocaml
junis has joined #ocaml
<junis> julm ?
little_owl1 has joined #ocaml
<julm> junis: ?
<junis> what does obama inside mean ?
<julm> read the previous line
<junis> thank you julm ... i get it now
junis has left #ocaml []
little_owl1 has left #ocaml []
ezyang has joined #ocaml
<ezyang> Is it safe to assume that the size of the range of 'int' will always be a power of two?
<flux> I would easily make that assumption :)
<flux> ezyang, add a test to your build process if you're paranoid
<ezyang> flux: Then my second question is, can I programmatically get the max and min values of int from OCaml?
oriba has joined #ocaml
avsm has quit [Ping timeout: 255 seconds]
<ezyang> oh, max_int. heh
<ezyang> hur, where are my unsigned ints.
avsm has joined #ocaml
Modius__ has quit [Quit: "Object-oriented design" is an oxymoron]
thieusoai has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
oriba has quit [Quit: Verlassend]
<thelema> ezyang: no have
mfp has joined #ocaml
jsk has quit [Remote host closed the connection]
yezariaely has joined #ocaml
yezariaely has left #ocaml []
thomasga has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml
joewilliams_away is now known as joewilliams
thomasga has quit [Ping timeout: 260 seconds]
thomasga has joined #ocaml
ftrvxmtrx_ has quit [Quit: Leaving]
init1 has joined #ocaml
thomasga has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
<kaustuv> Is anyone aware of some library that exports something like this?
Yoric has quit [Quit: Yoric]
joewilliams is now known as joewilliams_away
ulfdoz has joined #ocaml
rgrig has quit [Quit: Leaving]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 265 seconds]
ulfdoz_ is now known as ulfdoz
avsm has quit [Quit: Leaving.]
rfg has quit [Quit: rfg]
Yoric has joined #ocaml
redfire has joined #ocaml
<redfire> hi all
<redfire> i'm trying to use the lib bitstring to analyse a stream and draw some figures
<redfire> the code compiles but nothing happens...
<redfire> can anyone tell me if I do something wrong in this piece of code
_andre has quit [Quit: leaving]
<redfire> I use input chan from a socket
<flux> hm, has bitstring been able to parse from channels for long?
<flux> maybe it is waiting end of line?
<flux> and what do you mean by 'nothing happens'?
<redfire> it's like if there is nothing in the channel
<redfire> I took this functionnality from the doc with the libpcap
<flux> so, it exits immediately?
<flux> or it keeps waiting?
<redfire> keeps waiting
<redfire> nothing happens after the bitstring_of_input_chan :-(
<redfire> but it works if I use input_line from Pervasives and then bitstring_from_string
<redfire> but it's ugly for my use :S
<flux> I haven't used that bitstring_of_chan, but clearly it is a superior solution, if it works ;)
<flux> rwmjones, any ideas?
Snark has quit [Quit: Ex-Chat]
fraggle_ has quit [Remote host closed the connection]
<redfire> :'(
rfg has joined #ocaml
fraggle_ has joined #ocaml
<flux> redfire, now it's time to learn how to fix bugs in ocaml programs ;)
<flux> or atlesat inspect if it indeed is a bug or not..
<redfire> yeah...
<redfire> I hope I'm doing something wrong :S
<redfire> because this feature can save me for a school project
<redfire> but I'm still looking for why it doesn't work
<flux> redfire, so what exactly do you try to do when it keeps waiting for more input?
<flux> redfire, do you run it like ./proggy < input ?
<redfire> no, I have a server daemon in java wich sends some orders and this is the client
<redfire> it's a game with some targets
<flux> redfire, what I'm after is does your input stream end with an EOF, or do you intend to have an online parser, parsing continuously incoming data?
<redfire> online parser parsing continuously incoming data :-)
<redfire> (don't tell me it's not possible :S)
<flux> well, I'm guessing there is a possibility it's not possible with bitstring..
<flux> but I didn't know there was .. of_chan anyway
<redfire> and it seems to do something similar (with EOF but there are treatments before), isn't it ?
<flux> redfire, have you noticed what the type of Bitstring.t is..
<redfire> no
<flux> it's string * int * int
<flux> in other words, it cannot possibly accomodate for an online parser
<flux> I wish someone did make it possible for bitstring to do that, though
<redfire> thank you for this
<flux> but not all is lost
<flux> you could build an online-parser based on that interface
Anarchos has joined #ocaml
<flux> because the whole state is exposed
<redfire> well as soon as my project is over I think I'm going to look into the source code of this library
<flux> well, there would be trouble at the 'edges' of the buffer
<flux> whenever matching data that is
<Anarchos> adrien my first order verifier is in good shape :)
<Anarchos> i just miss the function to unify formula with a schema
<redfire> ok so I'm going to reuse my hack
<flux> actually that'd be the biggest task as far as I can see.. the refactoring of the rest of the code would be routine.
<redfire> As soon as I can I will see if it's possible to make this possible
<redfire> thank you for your help ;-)
<flux> good luck with your project
<redfire> ;-)
<Anarchos> redfire what kind of project ?
<redfire> A part of the project consists of analysing a stream from the network
<redfire> and for this I wanted to use the lib bitstring to parse a continuous stream
<redfire> but it does'nt seem possible without a modification for the moment
<redfire> so I'm just going to use input_line and then the lib, I will see later how this lib works internally
mfp has quit [Ping timeout: 245 seconds]
rfg has quit [Ping timeout: 245 seconds]
rfg has joined #ocaml
mfp has joined #ocaml
bzzbzz has joined #ocaml
aklt has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
* palomer is about to use his first for loop in ocaml
Yoric has quit [Quit: Yoric]
rfg has quit [Ping timeout: 245 seconds]
init1 has quit [Quit: Quitte]
rfg has joined #ocaml
strlen has quit [Ping timeout: 276 seconds]
ikaros has quit [Quit: Leave the magic to Houdini]
ulfdoz has quit [Ping timeout: 240 seconds]
lpereira has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
Anarchos has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
redfire has quit [Quit: Lost terminal]
lpereira has quit [Quit: Leaving.]
ikaros has joined #ocaml
rfg has quit [Quit: rfg]
rfg has joined #ocaml
aklt has quit [Quit: leaving]